]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
Undeprecate wxGetNumberFromUser, add wxNumberEntryDialog
[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_wxMouseEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2546 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2547 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2549 #define SWIGTYPE_p_wxObject swig_types[83]
2550 #define SWIGTYPE_p_wxPCXHandler swig_types[84]
2551 #define SWIGTYPE_p_wxPNGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxPNMHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPageSetupDialog swig_types[87]
2554 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[88]
2555 #define SWIGTYPE_p_wxPaintEvent swig_types[89]
2556 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
2557 #define SWIGTYPE_p_wxPanel swig_types[91]
2558 #define SWIGTYPE_p_wxPaperSize swig_types[92]
2559 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[93]
2560 #define SWIGTYPE_p_wxPoint swig_types[94]
2561 #define SWIGTYPE_p_wxPopupWindow swig_types[95]
2562 #define SWIGTYPE_p_wxPreviewCanvas swig_types[96]
2563 #define SWIGTYPE_p_wxPreviewControlBar swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewFrame swig_types[98]
2565 #define SWIGTYPE_p_wxPrintData swig_types[99]
2566 #define SWIGTYPE_p_wxPrintDialog swig_types[100]
2567 #define SWIGTYPE_p_wxPrintDialogData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintPreview swig_types[102]
2569 #define SWIGTYPE_p_wxPrinter swig_types[103]
2570 #define SWIGTYPE_p_wxProgressDialog swig_types[104]
2571 #define SWIGTYPE_p_wxPyApp swig_types[105]
2572 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2573 #define SWIGTYPE_p_wxPyEvent swig_types[107]
2574 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[108]
2575 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPyPanel swig_types[110]
2577 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[111]
2578 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[112]
2579 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[113]
2580 #define SWIGTYPE_p_wxPyPrintPreview swig_types[114]
2581 #define SWIGTYPE_p_wxPyPrintout swig_types[115]
2582 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[116]
2583 #define SWIGTYPE_p_wxPySizer swig_types[117]
2584 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[118]
2585 #define SWIGTYPE_p_wxPyVListBox swig_types[119]
2586 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[120]
2587 #define SWIGTYPE_p_wxPyValidator swig_types[121]
2588 #define SWIGTYPE_p_wxPyWindow swig_types[122]
2589 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[123]
2590 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[124]
2591 #define SWIGTYPE_p_wxRect swig_types[125]
2592 #define SWIGTYPE_p_wxRegion swig_types[126]
2593 #define SWIGTYPE_p_wxSashEvent swig_types[127]
2594 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[128]
2595 #define SWIGTYPE_p_wxSashWindow swig_types[129]
2596 #define SWIGTYPE_p_wxScrollEvent swig_types[130]
2597 #define SWIGTYPE_p_wxScrollWinEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrolledWindow swig_types[132]
2599 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2600 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2601 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[135]
2602 #define SWIGTYPE_p_wxSize swig_types[136]
2603 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSizer swig_types[138]
2605 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2606 #define SWIGTYPE_p_wxSplashScreen swig_types[140]
2607 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2608 #define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2610 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2611 #define SWIGTYPE_p_wxStatusBar swig_types[145]
2612 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2613 #define SWIGTYPE_p_wxString swig_types[147]
2614 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2615 #define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2616 #define SWIGTYPE_p_wxTaskBarIcon swig_types[150]
2617 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151]
2618 #define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2619 #define SWIGTYPE_p_wxTipWindow swig_types[153]
2620 #define SWIGTYPE_p_wxToolBar swig_types[154]
2621 #define SWIGTYPE_p_wxTopLevelWindow swig_types[155]
2622 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2623 #define SWIGTYPE_p_wxValidator swig_types[157]
2624 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2625 #define SWIGTYPE_p_wxWindow swig_types[159]
2626 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2627 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2628 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2629 static swig_type_info *swig_types[164];
2630 static swig_module_info swig_module = {swig_types, 163, 0, 0, 0, 0};
2631 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2632 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2633
2634 /* -------- TYPES TABLE (END) -------- */
2635
2636 #if (PY_VERSION_HEX <= 0x02000000)
2637 # if !defined(SWIG_PYTHON_CLASSIC)
2638 # error "This python version requires to use swig with the '-classic' option"
2639 # endif
2640 #endif
2641 #if (PY_VERSION_HEX <= 0x02020000)
2642 # error "This python version requires to use swig with the '-nomodern' option"
2643 #endif
2644 #if (PY_VERSION_HEX <= 0x02020000)
2645 # error "This python version requires to use swig with the '-nomodernargs' option"
2646 #endif
2647 #ifndef METH_O
2648 # error "This python version requires to use swig with the '-nofastunpack' option"
2649 #endif
2650
2651 /*-----------------------------------------------
2652 @(target):= _windows_.so
2653 ------------------------------------------------*/
2654 #define SWIG_init init_windows_
2655
2656 #define SWIG_name "_windows_"
2657
2658 #define SWIGVERSION 0x010329
2659
2660
2661 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2662 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2663
2664
2665 #include <stdexcept>
2666
2667
2668 namespace swig {
2669 class PyObject_ptr {
2670 protected:
2671 PyObject *_obj;
2672
2673 public:
2674 PyObject_ptr() :_obj(0)
2675 {
2676 }
2677
2678 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2679 {
2680 Py_XINCREF(_obj);
2681 }
2682
2683 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2684 {
2685 if (initial_ref) Py_XINCREF(_obj);
2686 }
2687
2688 PyObject_ptr & operator=(const PyObject_ptr& item)
2689 {
2690 Py_XINCREF(item._obj);
2691 Py_XDECREF(_obj);
2692 _obj = item._obj;
2693 return *this;
2694 }
2695
2696 ~PyObject_ptr()
2697 {
2698 Py_XDECREF(_obj);
2699 }
2700
2701 operator PyObject *() const
2702 {
2703 return _obj;
2704 }
2705
2706 PyObject *operator->() const
2707 {
2708 return _obj;
2709 }
2710 };
2711 }
2712
2713
2714 namespace swig {
2715 struct PyObject_var : PyObject_ptr {
2716 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2717
2718 PyObject_var & operator = (PyObject* obj)
2719 {
2720 Py_XDECREF(_obj);
2721 _obj = obj;
2722 return *this;
2723 }
2724 };
2725 }
2726
2727
2728 #include "wx/wxPython/wxPython.h"
2729 #include "wx/wxPython/pyclasses.h"
2730
2731
2732 static const wxString wxPyEmptyString(wxEmptyString);
2733 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2734
2735
2736
2737 #include <limits.h>
2738 #ifndef LLONG_MIN
2739 # define LLONG_MIN LONG_LONG_MIN
2740 #endif
2741 #ifndef LLONG_MAX
2742 # define LLONG_MAX LONG_LONG_MAX
2743 #endif
2744 #ifndef ULLONG_MAX
2745 # define ULLONG_MAX ULONG_LONG_MAX
2746 #endif
2747
2748
2749 SWIGINTERN int
2750 SWIG_AsVal_long (PyObject* obj, long* val)
2751 {
2752 if (PyNumber_Check(obj)) {
2753 if (val) *val = PyInt_AsLong(obj);
2754 return SWIG_OK;
2755 }
2756 return SWIG_TypeError;
2757 }
2758
2759
2760 SWIGINTERN int
2761 SWIG_AsVal_int (PyObject * obj, int *val)
2762 {
2763 long v;
2764 int res = SWIG_AsVal_long (obj, &v);
2765 if (SWIG_IsOK(res)) {
2766 if ((v < INT_MIN || v > INT_MAX)) {
2767 return SWIG_OverflowError;
2768 } else {
2769 if (val) *val = static_cast< int >(v);
2770 }
2771 }
2772 return res;
2773 }
2774
2775
2776 SWIGINTERN int
2777 SWIG_AsVal_bool (PyObject *obj, bool *val)
2778 {
2779 if (obj == Py_True) {
2780 if (val) *val = true;
2781 return SWIG_OK;
2782 } else if (obj == Py_False) {
2783 if (val) *val = false;
2784 return SWIG_OK;
2785 } else {
2786 long v = 0;
2787 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2788 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2789 return res;
2790 }
2791 }
2792
2793
2794 #define SWIG_From_long PyInt_FromLong
2795
2796
2797 SWIGINTERNINLINE PyObject *
2798 SWIG_From_int (int value)
2799 {
2800 return SWIG_From_long (value);
2801 }
2802
2803
2804 SWIGINTERN int
2805 SWIG_AsVal_double (PyObject *obj, double* val)
2806 {
2807 if (PyNumber_Check(obj)) {
2808 if (val) *val = PyFloat_AsDouble(obj);
2809 return SWIG_OK;
2810 }
2811 return SWIG_TypeError;
2812 }
2813
2814
2815 #define SWIG_From_double PyFloat_FromDouble
2816
2817 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2818 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2819 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2820 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2821 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2822 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2823
2824
2825 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2826 wxRect r;
2827 self->GetFieldRect(i, r);
2828 return r;
2829 }
2830 static const wxString wxPySplitterNameStr(wxT("splitter"));
2831 static const wxString wxPySashNameStr(wxT("sashWindow"));
2832 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2833
2834 #include <wx/popupwin.h>
2835
2836
2837 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2838 {
2839 public:
2840 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2841 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2842 : wxPopupTransientWindow(parent, style) {}
2843
2844 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2845 DEC_PYCALLBACK__(OnDismiss);
2846 DEC_PYCALLBACK_BOOL_(CanDismiss);
2847 PYPRIVATE;
2848 };
2849
2850
2851 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2852 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2853 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2854
2855
2856 #include <wx/tipwin.h>
2857
2858 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2859 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2860 }
2861
2862 #include <wx/tipwin.h>
2863
2864
2865 #include <wx/vscroll.h>
2866
2867
2868 class wxPyVScrolledWindow : public wxVScrolledWindow
2869 {
2870 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2871 public:
2872 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2873
2874 wxPyVScrolledWindow(wxWindow *parent,
2875 wxWindowID id = wxID_ANY,
2876 const wxPoint& pos = wxDefaultPosition,
2877 const wxSize& size = wxDefaultSize,
2878 long style = 0,
2879 const wxString& name = wxPyPanelNameStr)
2880 : wxVScrolledWindow(parent, id, pos, size, style, name)
2881 {}
2882
2883 // Overridable virtuals
2884
2885 // this function must be overridden in the derived class and it should
2886 // return the height of the given line in pixels
2887 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2888
2889
2890 // this function doesn't have to be overridden but it may be useful to do
2891 // it if calculating the lines heights is a relatively expensive operation
2892 // as it gives the user code a possibility to calculate several of them at
2893 // once
2894 //
2895 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2896 // shouldn't rely on the latter being called for all lines in the interval
2897 // specified here. It is also possible that OnGetLineHeight() will be
2898 // called for the lines outside of this interval, so this is really just a
2899 // hint, not a promise.
2900 //
2901 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2902 // usual
2903 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2904
2905
2906 // when the number of lines changes, we try to estimate the total height
2907 // of all lines which is a rather expensive operation in terms of lines
2908 // access, so if the user code may estimate the average height
2909 // better/faster than we do, it should override this function to implement
2910 // its own logic
2911 //
2912 // this function should return the best guess for the total height it may
2913 // make
2914 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2915
2916
2917 // Also expose some other interesting protected methods
2918
2919
2920 // find the index of the line we need to show at the top of the window such
2921 // that the last (fully or partially) visible line is the given one
2922 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2923 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2924
2925 // get the total height of the lines between lineMin (inclusive) and
2926 // lineMax (exclusive)
2927 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2928 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2929
2930 // update the thumb size shown by the scrollbar
2931 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2932
2933 // remove the scrollbar completely because we don't need it
2934 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2935
2936 PYPRIVATE;
2937 };
2938
2939 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2940
2941 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2942 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2943 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2944
2945
2946 SWIGINTERN int
2947 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2948 {
2949 long v = 0;
2950 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2951 return SWIG_TypeError;
2952 }
2953 else if (val)
2954 *val = (unsigned long)v;
2955 return SWIG_OK;
2956 }
2957
2958
2959 SWIGINTERNINLINE int
2960 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2961 {
2962 unsigned long v;
2963 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2964 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2965 return res;
2966 }
2967
2968
2969 SWIGINTERNINLINE PyObject*
2970 SWIG_From_unsigned_SS_long (unsigned long value)
2971 {
2972 return (value > LONG_MAX) ?
2973 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2974 }
2975
2976
2977 SWIGINTERNINLINE PyObject *
2978 SWIG_From_size_t (size_t value)
2979 {
2980 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2981 }
2982
2983
2984 #include <wx/vlbox.h>
2985
2986 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2987
2988 class wxPyVListBox : public wxVListBox
2989 {
2990 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2991 public:
2992 wxPyVListBox() : wxVListBox() {}
2993
2994 wxPyVListBox(wxWindow *parent,
2995 wxWindowID id = wxID_ANY,
2996 const wxPoint& pos = wxDefaultPosition,
2997 const wxSize& size = wxDefaultSize,
2998 long style = 0,
2999 const wxString& name = wxPyVListBoxNameStr)
3000 : wxVListBox(parent, id, pos, size, style, name)
3001 {}
3002
3003 // Overridable virtuals
3004
3005 // the derived class must implement this function to actually draw the item
3006 // with the given index on the provided DC
3007 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3008 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3009
3010
3011 // the derived class must implement this method to return the height of the
3012 // specified item
3013 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3014 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3015
3016
3017 // this method may be used to draw separators between the lines; note that
3018 // the rectangle may be modified, typically to deflate it a bit before
3019 // passing to OnDrawItem()
3020 //
3021 // the base class version doesn't do anything
3022 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3023 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3024
3025
3026 // this method is used to draw the items background and, maybe, a border
3027 // around it
3028 //
3029 // the base class version implements a reasonable default behaviour which
3030 // consists in drawing the selected item with the standard background
3031 // colour and drawing a border around the item if it is either selected or
3032 // current
3033 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3034 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3035
3036
3037 PYPRIVATE;
3038 };
3039
3040 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3041
3042 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3043 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3044 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3045 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3046
3047
3048 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3049 unsigned long cookie = 0;
3050 int selected = self->GetFirstSelected(cookie);
3051 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3052 PyObject* tup = PyTuple_New(2);
3053 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3054 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3055 wxPyEndBlockThreads(blocked);
3056 return tup;
3057 }
3058 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3059 int selected = self->GetNextSelected(cookie);
3060 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3061 PyObject* tup = PyTuple_New(2);
3062 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3063 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3064 wxPyEndBlockThreads(blocked);
3065 return tup;
3066 }
3067
3068 #include <wx/htmllbox.h>
3069
3070
3071 class wxPyHtmlListBox : public wxHtmlListBox
3072 {
3073 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3074 public:
3075 wxPyHtmlListBox() : wxHtmlListBox() {}
3076
3077 wxPyHtmlListBox(wxWindow *parent,
3078 wxWindowID id = wxID_ANY,
3079 const wxPoint& pos = wxDefaultPosition,
3080 const wxSize& size = wxDefaultSize,
3081 long style = 0,
3082 const wxString& name = wxPyVListBoxNameStr)
3083 : wxHtmlListBox(parent, id, pos, size, style, name)
3084 {}
3085
3086 // Overridable virtuals
3087
3088 // this method must be implemented in the derived class and should return
3089 // the body (i.e. without <html>) of the HTML for the given item
3090 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3091
3092 // this function may be overridden to decorate HTML returned by OnGetItem()
3093 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3094
3095 // These are from wxVListBox
3096 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3097 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3098
3099 // TODO:
3100 // // this method allows to customize the selection appearance: it may be used
3101 // // to specify the colour of the text which normally has the given colour
3102 // // colFg when it is inside the selection
3103 // //
3104 // // by default, the original colour is not used at all and all text has the
3105 // // same (default for this system) colour inside selection
3106 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3107
3108 // // this is the same as GetSelectedTextColour() but allows to customize the
3109 // // background colour -- this is even more rarely used as you can change it
3110 // // globally using SetSelectionBackground()
3111 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3112
3113
3114 // This method may be overriden to handle clicking on a link in
3115 // the listbox. By default, clicking links is ignored.
3116 virtual void OnLinkClicked(size_t n,
3117 const wxHtmlLinkInfo& link);
3118
3119 PYPRIVATE;
3120 };
3121
3122
3123 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3124
3125 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3126 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3127 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3128 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3129
3130
3131 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3132 const wxHtmlLinkInfo& link) {
3133 bool found;
3134 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3135 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3136 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3137 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3138 Py_DECREF(obj);
3139 }
3140 wxPyEndBlockThreads(blocked);
3141 if (! found)
3142 wxPyHtmlListBox::OnLinkClicked(n, link);
3143 }
3144
3145
3146
3147
3148
3149 #ifndef wxHAS_TASK_BAR_ICON
3150 // implement dummy classes for platforms that don't have it
3151
3152 class wxTaskBarIcon : public wxEvtHandler
3153 {
3154 public:
3155 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3156 };
3157
3158
3159 class wxTaskBarIconEvent : public wxEvent
3160 {
3161 public:
3162 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3163 { wxPyRaiseNotImplemented(); }
3164 virtual wxEvent* Clone() const { return NULL; }
3165 bool IsOk() const { return false; }
3166 bool IsIconInstalled() const { return false; }
3167 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3168 bool RemoveIcon() { return false; }
3169 bool PopupMenu(wxMenu *menu) { return false; }
3170 };
3171
3172 enum {
3173 wxEVT_TASKBAR_MOVE = 0,
3174 wxEVT_TASKBAR_LEFT_DOWN = 0,
3175 wxEVT_TASKBAR_LEFT_UP = 0,
3176 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3177 wxEVT_TASKBAR_RIGHT_UP = 0,
3178 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3179 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3180 };
3181
3182
3183 #else
3184 // Otherwise make a class that can virtualize CreatePopupMenu
3185 class wxPyTaskBarIcon : public wxTaskBarIcon
3186 {
3187 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3188 public:
3189 wxPyTaskBarIcon() : wxTaskBarIcon()
3190 {}
3191
3192 wxMenu* CreatePopupMenu() {
3193 wxMenu *rval = NULL;
3194 bool found;
3195 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3196 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3197 PyObject* ro;
3198 wxMenu* ptr;
3199 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3200 if (ro) {
3201 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3202 rval = ptr;
3203 Py_DECREF(ro);
3204 }
3205 }
3206 wxPyEndBlockThreads(blocked);
3207 if (! found)
3208 rval = wxTaskBarIcon::CreatePopupMenu();
3209 return rval;
3210 }
3211
3212 PYPRIVATE;
3213 };
3214
3215 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3216
3217 #endif
3218
3219 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3220 self->RemoveIcon();
3221 delete self;
3222 }
3223 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3224 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3225 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3226 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3227 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3228 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3229
3230 // for compatibility only
3231 #define wxHIDE_READONLY 0
3232
3233 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3234 wxArrayString arr;
3235 self->GetFilenames(arr);
3236 return wxArrayString2PyList_helper(arr);
3237 }
3238 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3239 wxArrayString arr;
3240 self->GetPaths(arr);
3241 return wxArrayString2PyList_helper(arr);
3242 }
3243 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3244 return wxArrayInt2PyList_helper(self->GetSelections());
3245 }
3246 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){
3247 return new wxSingleChoiceDialog(parent, message, caption,
3248 choices, choices_array, NULL, style, pos);
3249 }
3250 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3251
3252 SWIGINTERNINLINE PyObject*
3253 SWIG_From_bool (bool value)
3254 {
3255 return PyBool_FromLong(value ? 1 : 0);
3256 }
3257
3258
3259 #include <wx/mdi.h>
3260
3261 // C++ version of Python aware wxWindow
3262 class wxPyWindow : public wxWindow
3263 {
3264 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3265 public:
3266 wxPyWindow() : wxWindow() {}
3267 wxPyWindow(wxWindow* parent, const wxWindowID id,
3268 const wxPoint& pos = wxDefaultPosition,
3269 const wxSize& size = wxDefaultSize,
3270 long style = 0,
3271 const wxString& name = wxPyPanelNameStr)
3272 : wxWindow(parent, id, pos, size, style, name) {}
3273
3274 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3275
3276 bool DoEraseBackground(wxDC* dc) {
3277 #ifdef __WXMSW__
3278 return wxWindow::DoEraseBackground(dc->GetHDC());
3279 #else
3280 dc->SetBackground(wxBrush(GetBackgroundColour()));
3281 dc->Clear();
3282 return true;
3283 #endif
3284 }
3285
3286 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3287 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3288 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3289 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3290
3291 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3294
3295 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3296 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3297
3298 DEC_PYCALLBACK__(InitDialog);
3299 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3300 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3301 DEC_PYCALLBACK_BOOL_(Validate);
3302
3303 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3304 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3305 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3306
3307 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3308 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3309
3310 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3311 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3312
3313 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3314
3315 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3316
3317 PYPRIVATE;
3318 };
3319
3320 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3321
3322 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3323 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3324 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3325 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3326
3327 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3330
3331 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3332 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3333
3334 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3335 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3336 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3337 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3338
3339 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3340 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3341 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3342
3343 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3344 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3345
3346 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3347 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3348
3349 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3350
3351 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3352
3353 // C++ version of Python aware wxPanel
3354 class wxPyPanel : public wxPanel
3355 {
3356 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3357 public:
3358 wxPyPanel() : wxPanel() {}
3359 wxPyPanel(wxWindow* parent, const wxWindowID id,
3360 const wxPoint& pos = wxDefaultPosition,
3361 const wxSize& size = wxDefaultSize,
3362 long style = 0,
3363 const wxString& name = wxPyPanelNameStr)
3364 : wxPanel(parent, id, pos, size, style, name) {}
3365
3366 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3367 bool DoEraseBackground(wxDC* dc) {
3368 #ifdef __WXMSW__
3369 return wxWindow::DoEraseBackground(dc->GetHDC());
3370 #else
3371 dc->SetBackground(wxBrush(GetBackgroundColour()));
3372 dc->Clear();
3373 return true;
3374 #endif
3375 }
3376
3377
3378 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3379 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3380 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3381 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3382
3383 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3384 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3386
3387 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3388 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3389
3390 DEC_PYCALLBACK__(InitDialog);
3391 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3392 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3393 DEC_PYCALLBACK_BOOL_(Validate);
3394
3395 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3396 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3397 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3398
3399 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3400 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3401
3402 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3403 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3404
3405 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3406
3407 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3408
3409 PYPRIVATE;
3410 };
3411
3412 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3413
3414 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3415 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3416 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3417 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3418
3419 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3420 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3422
3423 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3424 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3425
3426 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3427 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3428 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3430
3431 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3432 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3433 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3434
3435 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3436 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3437
3438 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3439 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3440
3441 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3442
3443 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3444
3445 // C++ version of Python aware wxScrolledWindow
3446 class wxPyScrolledWindow : public wxScrolledWindow
3447 {
3448 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3449 public:
3450 wxPyScrolledWindow() : wxScrolledWindow() {}
3451 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3452 const wxPoint& pos = wxDefaultPosition,
3453 const wxSize& size = wxDefaultSize,
3454 long style = 0,
3455 const wxString& name = wxPyPanelNameStr)
3456 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3457
3458 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3459 bool DoEraseBackground(wxDC* dc) {
3460 #ifdef __WXMSW__
3461 return wxWindow::DoEraseBackground(dc->GetHDC());
3462 #else
3463 dc->SetBackground(wxBrush(GetBackgroundColour()));
3464 dc->Clear();
3465 return true;
3466 #endif
3467 }
3468
3469 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3470 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3471 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3472 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3473
3474 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3475 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3477
3478 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3479 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3480
3481 DEC_PYCALLBACK__(InitDialog);
3482 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3483 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3484 DEC_PYCALLBACK_BOOL_(Validate);
3485
3486 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3487 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3488 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3489
3490 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3491 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3492
3493 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3494 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3495
3496 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3497
3498 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3499
3500 PYPRIVATE;
3501 };
3502
3503 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3504
3505 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3506 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3507 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3508 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3509
3510 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3511 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3513
3514 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3515 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3516
3517 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3518 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3519 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3521
3522 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3523 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3524 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3525
3526 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3527 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3528
3529 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3530 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3531
3532 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3533
3534 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3535
3536
3537 #include "wx/wxPython/printfw.h"
3538
3539
3540 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3541 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3542 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3543 PyObject* data;
3544 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3545 data = PyString_FromStringAndSize(self->GetPrivData(),
3546 self->GetPrivDataLen());
3547 wxPyEndBlockThreads(blocked);
3548 return data;
3549 }
3550 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3551 if (! PyString_Check(data)) {
3552 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3553 "Expected string object"));
3554 return /* NULL */ ;
3555 }
3556
3557 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3558 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3559 wxPyEndBlockThreads(blocked);
3560 }
3561
3562
3563 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3564
3565 // Since this one would be tough and ugly to do with the Macros...
3566 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3567 bool hadErr = false;
3568 bool found;
3569
3570 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3571 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3572 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3573 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3574 PyObject* val;
3575
3576 val = PyTuple_GetItem(result, 0);
3577 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3578 else hadErr = true;
3579
3580 val = PyTuple_GetItem(result, 1);
3581 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3582 else hadErr = true;
3583
3584 val = PyTuple_GetItem(result, 2);
3585 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3586 else hadErr = true;
3587
3588 val = PyTuple_GetItem(result, 3);
3589 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3590 else hadErr = true;
3591 }
3592 else
3593 hadErr = true;
3594
3595 if (hadErr) {
3596 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3597 PyErr_Print();
3598 }
3599 Py_DECREF(result);
3600 }
3601 wxPyEndBlockThreads(blocked);
3602 if (! found)
3603 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3604 }
3605
3606
3607
3608 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3609 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3610 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3611 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3612 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3613 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3614 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3615
3616
3617
3618
3619
3620 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3621 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3622
3623
3624 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3625 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3626 bool rval=false; \
3627 bool found; \
3628 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3629 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3630 PyObject* win = wxPyMake_wxObject(a,false); \
3631 PyObject* dc = wxPyMake_wxObject(&b,false); \
3632 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3633 Py_DECREF(win); \
3634 Py_DECREF(dc); \
3635 } \
3636 wxPyEndBlockThreads(blocked); \
3637 if (! found) \
3638 rval = PCLASS::CBNAME(a, b); \
3639 return rval; \
3640 }
3641
3642
3643
3644
3645 class wxPyPrintPreview : public wxPrintPreview
3646 {
3647 DECLARE_CLASS(wxPyPrintPreview)
3648 public:
3649 wxPyPrintPreview(wxPyPrintout* printout,
3650 wxPyPrintout* printoutForPrinting,
3651 wxPrintDialogData* data=NULL)
3652 : wxPrintPreview(printout, printoutForPrinting, data)
3653 {}
3654 wxPyPrintPreview(wxPyPrintout* printout,
3655 wxPyPrintout* printoutForPrinting,
3656 wxPrintData* data)
3657 : wxPrintPreview(printout, printoutForPrinting, data)
3658 {}
3659
3660 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3661 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3662 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3663 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3664 DEC_PYCALLBACK_VOID_INT(SetZoom);
3665 DEC_PYCALLBACK_BOOL_BOOL(Print);
3666 DEC_PYCALLBACK_VOID_(DetermineScaling);
3667
3668 PYPRIVATE;
3669 };
3670
3671 // Stupid renamed classes... Fix this in 2.5...
3672 #if defined(__WXMSW__)
3673 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3674 #elif defined(__WXMAC__)
3675 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3676 #else
3677 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3678 #endif
3679
3680 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3681 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3682 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3683 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3684 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3685 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3686 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3687
3688
3689 class wxPyPreviewFrame : public wxPreviewFrame
3690 {
3691 DECLARE_CLASS(wxPyPreviewFrame)
3692 public:
3693 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3694 const wxString& title,
3695 const wxPoint& pos = wxDefaultPosition,
3696 const wxSize& size = wxDefaultSize,
3697 long style = wxDEFAULT_FRAME_STYLE,
3698 const wxString& name = wxPyFrameNameStr)
3699 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3700 {}
3701
3702 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3703 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3704
3705 DEC_PYCALLBACK_VOID_(Initialize);
3706 DEC_PYCALLBACK_VOID_(CreateCanvas);
3707 DEC_PYCALLBACK_VOID_(CreateControlBar);
3708
3709 PYPRIVATE;
3710 };
3711
3712 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3713
3714 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3715 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3717
3718
3719 class wxPyPreviewControlBar : public wxPreviewControlBar
3720 {
3721 DECLARE_CLASS(wxPyPreviewControlBar)
3722 public:
3723 wxPyPreviewControlBar(wxPrintPreview *preview,
3724 long buttons,
3725 wxWindow *parent,
3726 const wxPoint& pos = wxDefaultPosition,
3727 const wxSize& size = wxDefaultSize,
3728 long style = 0,
3729 const wxString& name = wxPyPanelNameStr)
3730 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3731 {}
3732
3733 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3734
3735 DEC_PYCALLBACK_VOID_(CreateButtons);
3736 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3737
3738 PYPRIVATE;
3739 };
3740
3741 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3742 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3743 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3744
3745 #ifdef __cplusplus
3746 extern "C" {
3747 #endif
3748 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3749 PyObject *resultobj = 0;
3750 wxWindow *arg1 = (wxWindow *) 0 ;
3751 int arg2 = (int) (int)-1 ;
3752 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3753 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3754 wxSize const &arg4_defvalue = wxDefaultSize ;
3755 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3756 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3757 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3758 wxString *arg6 = (wxString *) &arg6_defvalue ;
3759 wxPanel *result = 0 ;
3760 void *argp1 = 0 ;
3761 int res1 = 0 ;
3762 int val2 ;
3763 int ecode2 = 0 ;
3764 wxPoint temp3 ;
3765 wxSize temp4 ;
3766 long val5 ;
3767 int ecode5 = 0 ;
3768 bool temp6 = false ;
3769 PyObject * obj0 = 0 ;
3770 PyObject * obj1 = 0 ;
3771 PyObject * obj2 = 0 ;
3772 PyObject * obj3 = 0 ;
3773 PyObject * obj4 = 0 ;
3774 PyObject * obj5 = 0 ;
3775 char * kwnames[] = {
3776 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3777 };
3778
3779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3781 if (!SWIG_IsOK(res1)) {
3782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3783 }
3784 arg1 = reinterpret_cast< wxWindow * >(argp1);
3785 if (obj1) {
3786 ecode2 = SWIG_AsVal_int(obj1, &val2);
3787 if (!SWIG_IsOK(ecode2)) {
3788 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3789 }
3790 arg2 = static_cast< int >(val2);
3791 }
3792 if (obj2) {
3793 {
3794 arg3 = &temp3;
3795 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3796 }
3797 }
3798 if (obj3) {
3799 {
3800 arg4 = &temp4;
3801 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3802 }
3803 }
3804 if (obj4) {
3805 ecode5 = SWIG_AsVal_long(obj4, &val5);
3806 if (!SWIG_IsOK(ecode5)) {
3807 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3808 }
3809 arg5 = static_cast< long >(val5);
3810 }
3811 if (obj5) {
3812 {
3813 arg6 = wxString_in_helper(obj5);
3814 if (arg6 == NULL) SWIG_fail;
3815 temp6 = true;
3816 }
3817 }
3818 {
3819 if (!wxPyCheckForApp()) SWIG_fail;
3820 PyThreadState* __tstate = wxPyBeginAllowThreads();
3821 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3822 wxPyEndAllowThreads(__tstate);
3823 if (PyErr_Occurred()) SWIG_fail;
3824 }
3825 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3826 {
3827 if (temp6)
3828 delete arg6;
3829 }
3830 return resultobj;
3831 fail:
3832 {
3833 if (temp6)
3834 delete arg6;
3835 }
3836 return NULL;
3837 }
3838
3839
3840 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3841 PyObject *resultobj = 0;
3842 wxPanel *result = 0 ;
3843
3844 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3845 {
3846 if (!wxPyCheckForApp()) SWIG_fail;
3847 PyThreadState* __tstate = wxPyBeginAllowThreads();
3848 result = (wxPanel *)new wxPanel();
3849 wxPyEndAllowThreads(__tstate);
3850 if (PyErr_Occurred()) SWIG_fail;
3851 }
3852 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3853 return resultobj;
3854 fail:
3855 return NULL;
3856 }
3857
3858
3859 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3860 PyObject *resultobj = 0;
3861 wxPanel *arg1 = (wxPanel *) 0 ;
3862 wxWindow *arg2 = (wxWindow *) 0 ;
3863 int arg3 = (int) (int)-1 ;
3864 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3865 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3866 wxSize const &arg5_defvalue = wxDefaultSize ;
3867 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3868 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3869 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3870 wxString *arg7 = (wxString *) &arg7_defvalue ;
3871 bool result;
3872 void *argp1 = 0 ;
3873 int res1 = 0 ;
3874 void *argp2 = 0 ;
3875 int res2 = 0 ;
3876 int val3 ;
3877 int ecode3 = 0 ;
3878 wxPoint temp4 ;
3879 wxSize temp5 ;
3880 long val6 ;
3881 int ecode6 = 0 ;
3882 bool temp7 = false ;
3883 PyObject * obj0 = 0 ;
3884 PyObject * obj1 = 0 ;
3885 PyObject * obj2 = 0 ;
3886 PyObject * obj3 = 0 ;
3887 PyObject * obj4 = 0 ;
3888 PyObject * obj5 = 0 ;
3889 PyObject * obj6 = 0 ;
3890 char * kwnames[] = {
3891 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3892 };
3893
3894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3896 if (!SWIG_IsOK(res1)) {
3897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3898 }
3899 arg1 = reinterpret_cast< wxPanel * >(argp1);
3900 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3901 if (!SWIG_IsOK(res2)) {
3902 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3903 }
3904 arg2 = reinterpret_cast< wxWindow * >(argp2);
3905 if (obj2) {
3906 ecode3 = SWIG_AsVal_int(obj2, &val3);
3907 if (!SWIG_IsOK(ecode3)) {
3908 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3909 }
3910 arg3 = static_cast< int >(val3);
3911 }
3912 if (obj3) {
3913 {
3914 arg4 = &temp4;
3915 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3916 }
3917 }
3918 if (obj4) {
3919 {
3920 arg5 = &temp5;
3921 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3922 }
3923 }
3924 if (obj5) {
3925 ecode6 = SWIG_AsVal_long(obj5, &val6);
3926 if (!SWIG_IsOK(ecode6)) {
3927 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3928 }
3929 arg6 = static_cast< long >(val6);
3930 }
3931 if (obj6) {
3932 {
3933 arg7 = wxString_in_helper(obj6);
3934 if (arg7 == NULL) SWIG_fail;
3935 temp7 = true;
3936 }
3937 }
3938 {
3939 PyThreadState* __tstate = wxPyBeginAllowThreads();
3940 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3941 wxPyEndAllowThreads(__tstate);
3942 if (PyErr_Occurred()) SWIG_fail;
3943 }
3944 {
3945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3946 }
3947 {
3948 if (temp7)
3949 delete arg7;
3950 }
3951 return resultobj;
3952 fail:
3953 {
3954 if (temp7)
3955 delete arg7;
3956 }
3957 return NULL;
3958 }
3959
3960
3961 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3962 PyObject *resultobj = 0;
3963 wxPanel *arg1 = (wxPanel *) 0 ;
3964 void *argp1 = 0 ;
3965 int res1 = 0 ;
3966 PyObject *swig_obj[1] ;
3967
3968 if (!args) SWIG_fail;
3969 swig_obj[0] = args;
3970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3971 if (!SWIG_IsOK(res1)) {
3972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3973 }
3974 arg1 = reinterpret_cast< wxPanel * >(argp1);
3975 {
3976 PyThreadState* __tstate = wxPyBeginAllowThreads();
3977 (arg1)->SetFocusIgnoringChildren();
3978 wxPyEndAllowThreads(__tstate);
3979 if (PyErr_Occurred()) SWIG_fail;
3980 }
3981 resultobj = SWIG_Py_Void();
3982 return resultobj;
3983 fail:
3984 return NULL;
3985 }
3986
3987
3988 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3989 PyObject *resultobj = 0;
3990 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3991 SwigValueWrapper<wxVisualAttributes > result;
3992 int val1 ;
3993 int ecode1 = 0 ;
3994 PyObject * obj0 = 0 ;
3995 char * kwnames[] = {
3996 (char *) "variant", NULL
3997 };
3998
3999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4000 if (obj0) {
4001 ecode1 = SWIG_AsVal_int(obj0, &val1);
4002 if (!SWIG_IsOK(ecode1)) {
4003 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4004 }
4005 arg1 = static_cast< wxWindowVariant >(val1);
4006 }
4007 {
4008 if (!wxPyCheckForApp()) SWIG_fail;
4009 PyThreadState* __tstate = wxPyBeginAllowThreads();
4010 result = wxPanel::GetClassDefaultAttributes(arg1);
4011 wxPyEndAllowThreads(__tstate);
4012 if (PyErr_Occurred()) SWIG_fail;
4013 }
4014 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4015 return resultobj;
4016 fail:
4017 return NULL;
4018 }
4019
4020
4021 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4022 PyObject *obj;
4023 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4024 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4025 return SWIG_Py_Void();
4026 }
4027
4028 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4029 return SWIG_Python_InitShadowInstance(args);
4030 }
4031
4032 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4033 PyObject *resultobj = 0;
4034 wxWindow *arg1 = (wxWindow *) 0 ;
4035 int arg2 = (int) (int)-1 ;
4036 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4037 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4038 wxSize const &arg4_defvalue = wxDefaultSize ;
4039 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4040 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4041 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4042 wxString *arg6 = (wxString *) &arg6_defvalue ;
4043 wxScrolledWindow *result = 0 ;
4044 void *argp1 = 0 ;
4045 int res1 = 0 ;
4046 int val2 ;
4047 int ecode2 = 0 ;
4048 wxPoint temp3 ;
4049 wxSize temp4 ;
4050 long val5 ;
4051 int ecode5 = 0 ;
4052 bool temp6 = false ;
4053 PyObject * obj0 = 0 ;
4054 PyObject * obj1 = 0 ;
4055 PyObject * obj2 = 0 ;
4056 PyObject * obj3 = 0 ;
4057 PyObject * obj4 = 0 ;
4058 PyObject * obj5 = 0 ;
4059 char * kwnames[] = {
4060 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4061 };
4062
4063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4065 if (!SWIG_IsOK(res1)) {
4066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4067 }
4068 arg1 = reinterpret_cast< wxWindow * >(argp1);
4069 if (obj1) {
4070 ecode2 = SWIG_AsVal_int(obj1, &val2);
4071 if (!SWIG_IsOK(ecode2)) {
4072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4073 }
4074 arg2 = static_cast< int >(val2);
4075 }
4076 if (obj2) {
4077 {
4078 arg3 = &temp3;
4079 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4080 }
4081 }
4082 if (obj3) {
4083 {
4084 arg4 = &temp4;
4085 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4086 }
4087 }
4088 if (obj4) {
4089 ecode5 = SWIG_AsVal_long(obj4, &val5);
4090 if (!SWIG_IsOK(ecode5)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4092 }
4093 arg5 = static_cast< long >(val5);
4094 }
4095 if (obj5) {
4096 {
4097 arg6 = wxString_in_helper(obj5);
4098 if (arg6 == NULL) SWIG_fail;
4099 temp6 = true;
4100 }
4101 }
4102 {
4103 if (!wxPyCheckForApp()) SWIG_fail;
4104 PyThreadState* __tstate = wxPyBeginAllowThreads();
4105 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4106 wxPyEndAllowThreads(__tstate);
4107 if (PyErr_Occurred()) SWIG_fail;
4108 }
4109 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4110 {
4111 if (temp6)
4112 delete arg6;
4113 }
4114 return resultobj;
4115 fail:
4116 {
4117 if (temp6)
4118 delete arg6;
4119 }
4120 return NULL;
4121 }
4122
4123
4124 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4125 PyObject *resultobj = 0;
4126 wxScrolledWindow *result = 0 ;
4127
4128 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4129 {
4130 if (!wxPyCheckForApp()) SWIG_fail;
4131 PyThreadState* __tstate = wxPyBeginAllowThreads();
4132 result = (wxScrolledWindow *)new wxScrolledWindow();
4133 wxPyEndAllowThreads(__tstate);
4134 if (PyErr_Occurred()) SWIG_fail;
4135 }
4136 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4137 return resultobj;
4138 fail:
4139 return NULL;
4140 }
4141
4142
4143 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4144 PyObject *resultobj = 0;
4145 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4146 wxWindow *arg2 = (wxWindow *) 0 ;
4147 int arg3 = (int) (int)-1 ;
4148 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4149 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4150 wxSize const &arg5_defvalue = wxDefaultSize ;
4151 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4152 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4153 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4154 wxString *arg7 = (wxString *) &arg7_defvalue ;
4155 bool result;
4156 void *argp1 = 0 ;
4157 int res1 = 0 ;
4158 void *argp2 = 0 ;
4159 int res2 = 0 ;
4160 int val3 ;
4161 int ecode3 = 0 ;
4162 wxPoint temp4 ;
4163 wxSize temp5 ;
4164 long val6 ;
4165 int ecode6 = 0 ;
4166 bool temp7 = false ;
4167 PyObject * obj0 = 0 ;
4168 PyObject * obj1 = 0 ;
4169 PyObject * obj2 = 0 ;
4170 PyObject * obj3 = 0 ;
4171 PyObject * obj4 = 0 ;
4172 PyObject * obj5 = 0 ;
4173 PyObject * obj6 = 0 ;
4174 char * kwnames[] = {
4175 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4176 };
4177
4178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4180 if (!SWIG_IsOK(res1)) {
4181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4182 }
4183 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4184 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4185 if (!SWIG_IsOK(res2)) {
4186 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4187 }
4188 arg2 = reinterpret_cast< wxWindow * >(argp2);
4189 if (obj2) {
4190 ecode3 = SWIG_AsVal_int(obj2, &val3);
4191 if (!SWIG_IsOK(ecode3)) {
4192 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4193 }
4194 arg3 = static_cast< int >(val3);
4195 }
4196 if (obj3) {
4197 {
4198 arg4 = &temp4;
4199 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4200 }
4201 }
4202 if (obj4) {
4203 {
4204 arg5 = &temp5;
4205 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4206 }
4207 }
4208 if (obj5) {
4209 ecode6 = SWIG_AsVal_long(obj5, &val6);
4210 if (!SWIG_IsOK(ecode6)) {
4211 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4212 }
4213 arg6 = static_cast< long >(val6);
4214 }
4215 if (obj6) {
4216 {
4217 arg7 = wxString_in_helper(obj6);
4218 if (arg7 == NULL) SWIG_fail;
4219 temp7 = true;
4220 }
4221 }
4222 {
4223 PyThreadState* __tstate = wxPyBeginAllowThreads();
4224 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4225 wxPyEndAllowThreads(__tstate);
4226 if (PyErr_Occurred()) SWIG_fail;
4227 }
4228 {
4229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4230 }
4231 {
4232 if (temp7)
4233 delete arg7;
4234 }
4235 return resultobj;
4236 fail:
4237 {
4238 if (temp7)
4239 delete arg7;
4240 }
4241 return NULL;
4242 }
4243
4244
4245 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4246 PyObject *resultobj = 0;
4247 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4248 int arg2 ;
4249 int arg3 ;
4250 int arg4 ;
4251 int arg5 ;
4252 int arg6 = (int) 0 ;
4253 int arg7 = (int) 0 ;
4254 bool arg8 = (bool) false ;
4255 void *argp1 = 0 ;
4256 int res1 = 0 ;
4257 int val2 ;
4258 int ecode2 = 0 ;
4259 int val3 ;
4260 int ecode3 = 0 ;
4261 int val4 ;
4262 int ecode4 = 0 ;
4263 int val5 ;
4264 int ecode5 = 0 ;
4265 int val6 ;
4266 int ecode6 = 0 ;
4267 int val7 ;
4268 int ecode7 = 0 ;
4269 bool val8 ;
4270 int ecode8 = 0 ;
4271 PyObject * obj0 = 0 ;
4272 PyObject * obj1 = 0 ;
4273 PyObject * obj2 = 0 ;
4274 PyObject * obj3 = 0 ;
4275 PyObject * obj4 = 0 ;
4276 PyObject * obj5 = 0 ;
4277 PyObject * obj6 = 0 ;
4278 PyObject * obj7 = 0 ;
4279 char * kwnames[] = {
4280 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4281 };
4282
4283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4285 if (!SWIG_IsOK(res1)) {
4286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4287 }
4288 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4289 ecode2 = SWIG_AsVal_int(obj1, &val2);
4290 if (!SWIG_IsOK(ecode2)) {
4291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4292 }
4293 arg2 = static_cast< int >(val2);
4294 ecode3 = SWIG_AsVal_int(obj2, &val3);
4295 if (!SWIG_IsOK(ecode3)) {
4296 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4297 }
4298 arg3 = static_cast< int >(val3);
4299 ecode4 = SWIG_AsVal_int(obj3, &val4);
4300 if (!SWIG_IsOK(ecode4)) {
4301 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4302 }
4303 arg4 = static_cast< int >(val4);
4304 ecode5 = SWIG_AsVal_int(obj4, &val5);
4305 if (!SWIG_IsOK(ecode5)) {
4306 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4307 }
4308 arg5 = static_cast< int >(val5);
4309 if (obj5) {
4310 ecode6 = SWIG_AsVal_int(obj5, &val6);
4311 if (!SWIG_IsOK(ecode6)) {
4312 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4313 }
4314 arg6 = static_cast< int >(val6);
4315 }
4316 if (obj6) {
4317 ecode7 = SWIG_AsVal_int(obj6, &val7);
4318 if (!SWIG_IsOK(ecode7)) {
4319 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4320 }
4321 arg7 = static_cast< int >(val7);
4322 }
4323 if (obj7) {
4324 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4325 if (!SWIG_IsOK(ecode8)) {
4326 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4327 }
4328 arg8 = static_cast< bool >(val8);
4329 }
4330 {
4331 PyThreadState* __tstate = wxPyBeginAllowThreads();
4332 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4333 wxPyEndAllowThreads(__tstate);
4334 if (PyErr_Occurred()) SWIG_fail;
4335 }
4336 resultobj = SWIG_Py_Void();
4337 return resultobj;
4338 fail:
4339 return NULL;
4340 }
4341
4342
4343 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4344 PyObject *resultobj = 0;
4345 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4346 int arg2 ;
4347 int arg3 ;
4348 void *argp1 = 0 ;
4349 int res1 = 0 ;
4350 int val2 ;
4351 int ecode2 = 0 ;
4352 int val3 ;
4353 int ecode3 = 0 ;
4354 PyObject * obj0 = 0 ;
4355 PyObject * obj1 = 0 ;
4356 PyObject * obj2 = 0 ;
4357 char * kwnames[] = {
4358 (char *) "self",(char *) "x",(char *) "y", NULL
4359 };
4360
4361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4363 if (!SWIG_IsOK(res1)) {
4364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4365 }
4366 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4367 ecode2 = SWIG_AsVal_int(obj1, &val2);
4368 if (!SWIG_IsOK(ecode2)) {
4369 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4370 }
4371 arg2 = static_cast< int >(val2);
4372 ecode3 = SWIG_AsVal_int(obj2, &val3);
4373 if (!SWIG_IsOK(ecode3)) {
4374 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4375 }
4376 arg3 = static_cast< int >(val3);
4377 {
4378 PyThreadState* __tstate = wxPyBeginAllowThreads();
4379 (arg1)->Scroll(arg2,arg3);
4380 wxPyEndAllowThreads(__tstate);
4381 if (PyErr_Occurred()) SWIG_fail;
4382 }
4383 resultobj = SWIG_Py_Void();
4384 return resultobj;
4385 fail:
4386 return NULL;
4387 }
4388
4389
4390 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4391 PyObject *resultobj = 0;
4392 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4393 int arg2 ;
4394 int result;
4395 void *argp1 = 0 ;
4396 int res1 = 0 ;
4397 int val2 ;
4398 int ecode2 = 0 ;
4399 PyObject * obj0 = 0 ;
4400 PyObject * obj1 = 0 ;
4401 char * kwnames[] = {
4402 (char *) "self",(char *) "orient", NULL
4403 };
4404
4405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4407 if (!SWIG_IsOK(res1)) {
4408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4409 }
4410 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4411 ecode2 = SWIG_AsVal_int(obj1, &val2);
4412 if (!SWIG_IsOK(ecode2)) {
4413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4414 }
4415 arg2 = static_cast< int >(val2);
4416 {
4417 PyThreadState* __tstate = wxPyBeginAllowThreads();
4418 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4419 wxPyEndAllowThreads(__tstate);
4420 if (PyErr_Occurred()) SWIG_fail;
4421 }
4422 resultobj = SWIG_From_int(static_cast< int >(result));
4423 return resultobj;
4424 fail:
4425 return NULL;
4426 }
4427
4428
4429 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4430 PyObject *resultobj = 0;
4431 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4432 int arg2 ;
4433 int arg3 ;
4434 void *argp1 = 0 ;
4435 int res1 = 0 ;
4436 int val2 ;
4437 int ecode2 = 0 ;
4438 int val3 ;
4439 int ecode3 = 0 ;
4440 PyObject * obj0 = 0 ;
4441 PyObject * obj1 = 0 ;
4442 PyObject * obj2 = 0 ;
4443 char * kwnames[] = {
4444 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4445 };
4446
4447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4449 if (!SWIG_IsOK(res1)) {
4450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4451 }
4452 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4453 ecode2 = SWIG_AsVal_int(obj1, &val2);
4454 if (!SWIG_IsOK(ecode2)) {
4455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4456 }
4457 arg2 = static_cast< int >(val2);
4458 ecode3 = SWIG_AsVal_int(obj2, &val3);
4459 if (!SWIG_IsOK(ecode3)) {
4460 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4461 }
4462 arg3 = static_cast< int >(val3);
4463 {
4464 PyThreadState* __tstate = wxPyBeginAllowThreads();
4465 (arg1)->SetScrollPageSize(arg2,arg3);
4466 wxPyEndAllowThreads(__tstate);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
4469 resultobj = SWIG_Py_Void();
4470 return resultobj;
4471 fail:
4472 return NULL;
4473 }
4474
4475
4476 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4477 PyObject *resultobj = 0;
4478 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4479 int arg2 ;
4480 int arg3 ;
4481 void *argp1 = 0 ;
4482 int res1 = 0 ;
4483 int val2 ;
4484 int ecode2 = 0 ;
4485 int val3 ;
4486 int ecode3 = 0 ;
4487 PyObject * obj0 = 0 ;
4488 PyObject * obj1 = 0 ;
4489 PyObject * obj2 = 0 ;
4490 char * kwnames[] = {
4491 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4492 };
4493
4494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4496 if (!SWIG_IsOK(res1)) {
4497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4498 }
4499 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4500 ecode2 = SWIG_AsVal_int(obj1, &val2);
4501 if (!SWIG_IsOK(ecode2)) {
4502 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4503 }
4504 arg2 = static_cast< int >(val2);
4505 ecode3 = SWIG_AsVal_int(obj2, &val3);
4506 if (!SWIG_IsOK(ecode3)) {
4507 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4508 }
4509 arg3 = static_cast< int >(val3);
4510 {
4511 PyThreadState* __tstate = wxPyBeginAllowThreads();
4512 (arg1)->SetScrollRate(arg2,arg3);
4513 wxPyEndAllowThreads(__tstate);
4514 if (PyErr_Occurred()) SWIG_fail;
4515 }
4516 resultobj = SWIG_Py_Void();
4517 return resultobj;
4518 fail:
4519 return NULL;
4520 }
4521
4522
4523 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4524 PyObject *resultobj = 0;
4525 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4526 int *arg2 = (int *) 0 ;
4527 int *arg3 = (int *) 0 ;
4528 void *argp1 = 0 ;
4529 int res1 = 0 ;
4530 int temp2 ;
4531 int res2 = SWIG_TMPOBJ ;
4532 int temp3 ;
4533 int res3 = SWIG_TMPOBJ ;
4534 PyObject *swig_obj[1] ;
4535
4536 arg2 = &temp2;
4537 arg3 = &temp3;
4538 if (!args) SWIG_fail;
4539 swig_obj[0] = args;
4540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4541 if (!SWIG_IsOK(res1)) {
4542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4543 }
4544 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4545 {
4546 PyThreadState* __tstate = wxPyBeginAllowThreads();
4547 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4548 wxPyEndAllowThreads(__tstate);
4549 if (PyErr_Occurred()) SWIG_fail;
4550 }
4551 resultobj = SWIG_Py_Void();
4552 if (SWIG_IsTmpObj(res2)) {
4553 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4554 } else {
4555 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4556 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4557 }
4558 if (SWIG_IsTmpObj(res3)) {
4559 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4560 } else {
4561 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4562 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4563 }
4564 return resultobj;
4565 fail:
4566 return NULL;
4567 }
4568
4569
4570 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4571 PyObject *resultobj = 0;
4572 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4573 bool arg2 ;
4574 bool arg3 ;
4575 void *argp1 = 0 ;
4576 int res1 = 0 ;
4577 bool val2 ;
4578 int ecode2 = 0 ;
4579 bool val3 ;
4580 int ecode3 = 0 ;
4581 PyObject * obj0 = 0 ;
4582 PyObject * obj1 = 0 ;
4583 PyObject * obj2 = 0 ;
4584 char * kwnames[] = {
4585 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4586 };
4587
4588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4590 if (!SWIG_IsOK(res1)) {
4591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4592 }
4593 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4594 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4595 if (!SWIG_IsOK(ecode2)) {
4596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4597 }
4598 arg2 = static_cast< bool >(val2);
4599 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4600 if (!SWIG_IsOK(ecode3)) {
4601 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4602 }
4603 arg3 = static_cast< bool >(val3);
4604 {
4605 PyThreadState* __tstate = wxPyBeginAllowThreads();
4606 (arg1)->EnableScrolling(arg2,arg3);
4607 wxPyEndAllowThreads(__tstate);
4608 if (PyErr_Occurred()) SWIG_fail;
4609 }
4610 resultobj = SWIG_Py_Void();
4611 return resultobj;
4612 fail:
4613 return NULL;
4614 }
4615
4616
4617 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4618 PyObject *resultobj = 0;
4619 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4620 int *arg2 = (int *) 0 ;
4621 int *arg3 = (int *) 0 ;
4622 void *argp1 = 0 ;
4623 int res1 = 0 ;
4624 int temp2 ;
4625 int res2 = SWIG_TMPOBJ ;
4626 int temp3 ;
4627 int res3 = SWIG_TMPOBJ ;
4628 PyObject *swig_obj[1] ;
4629
4630 arg2 = &temp2;
4631 arg3 = &temp3;
4632 if (!args) SWIG_fail;
4633 swig_obj[0] = args;
4634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4635 if (!SWIG_IsOK(res1)) {
4636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4637 }
4638 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4639 {
4640 PyThreadState* __tstate = wxPyBeginAllowThreads();
4641 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4642 wxPyEndAllowThreads(__tstate);
4643 if (PyErr_Occurred()) SWIG_fail;
4644 }
4645 resultobj = SWIG_Py_Void();
4646 if (SWIG_IsTmpObj(res2)) {
4647 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4648 } else {
4649 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4650 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4651 }
4652 if (SWIG_IsTmpObj(res3)) {
4653 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4654 } else {
4655 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4656 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4657 }
4658 return resultobj;
4659 fail:
4660 return NULL;
4661 }
4662
4663
4664 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4665 PyObject *resultobj = 0;
4666 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4667 double arg2 ;
4668 double arg3 ;
4669 void *argp1 = 0 ;
4670 int res1 = 0 ;
4671 double val2 ;
4672 int ecode2 = 0 ;
4673 double val3 ;
4674 int ecode3 = 0 ;
4675 PyObject * obj0 = 0 ;
4676 PyObject * obj1 = 0 ;
4677 PyObject * obj2 = 0 ;
4678 char * kwnames[] = {
4679 (char *) "self",(char *) "xs",(char *) "ys", NULL
4680 };
4681
4682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4684 if (!SWIG_IsOK(res1)) {
4685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4686 }
4687 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4688 ecode2 = SWIG_AsVal_double(obj1, &val2);
4689 if (!SWIG_IsOK(ecode2)) {
4690 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4691 }
4692 arg2 = static_cast< double >(val2);
4693 ecode3 = SWIG_AsVal_double(obj2, &val3);
4694 if (!SWIG_IsOK(ecode3)) {
4695 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4696 }
4697 arg3 = static_cast< double >(val3);
4698 {
4699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4700 (arg1)->SetScale(arg2,arg3);
4701 wxPyEndAllowThreads(__tstate);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 }
4704 resultobj = SWIG_Py_Void();
4705 return resultobj;
4706 fail:
4707 return NULL;
4708 }
4709
4710
4711 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4712 PyObject *resultobj = 0;
4713 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4714 double result;
4715 void *argp1 = 0 ;
4716 int res1 = 0 ;
4717 PyObject *swig_obj[1] ;
4718
4719 if (!args) SWIG_fail;
4720 swig_obj[0] = args;
4721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4722 if (!SWIG_IsOK(res1)) {
4723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4724 }
4725 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4726 {
4727 PyThreadState* __tstate = wxPyBeginAllowThreads();
4728 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4729 wxPyEndAllowThreads(__tstate);
4730 if (PyErr_Occurred()) SWIG_fail;
4731 }
4732 resultobj = SWIG_From_double(static_cast< double >(result));
4733 return resultobj;
4734 fail:
4735 return NULL;
4736 }
4737
4738
4739 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4740 PyObject *resultobj = 0;
4741 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4742 double result;
4743 void *argp1 = 0 ;
4744 int res1 = 0 ;
4745 PyObject *swig_obj[1] ;
4746
4747 if (!args) SWIG_fail;
4748 swig_obj[0] = args;
4749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4750 if (!SWIG_IsOK(res1)) {
4751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4752 }
4753 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4754 {
4755 PyThreadState* __tstate = wxPyBeginAllowThreads();
4756 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4757 wxPyEndAllowThreads(__tstate);
4758 if (PyErr_Occurred()) SWIG_fail;
4759 }
4760 resultobj = SWIG_From_double(static_cast< double >(result));
4761 return resultobj;
4762 fail:
4763 return NULL;
4764 }
4765
4766
4767 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4768 PyObject *resultobj = 0;
4769 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4770 wxPoint *arg2 = 0 ;
4771 wxPoint result;
4772 void *argp1 = 0 ;
4773 int res1 = 0 ;
4774 wxPoint temp2 ;
4775
4776 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4778 if (!SWIG_IsOK(res1)) {
4779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4780 }
4781 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4782 {
4783 arg2 = &temp2;
4784 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4785 }
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4789 wxPyEndAllowThreads(__tstate);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 }
4792 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4793 return resultobj;
4794 fail:
4795 return NULL;
4796 }
4797
4798
4799 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4800 PyObject *resultobj = 0;
4801 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4802 int arg2 ;
4803 int arg3 ;
4804 int *arg4 = (int *) 0 ;
4805 int *arg5 = (int *) 0 ;
4806 void *argp1 = 0 ;
4807 int res1 = 0 ;
4808 int val2 ;
4809 int ecode2 = 0 ;
4810 int val3 ;
4811 int ecode3 = 0 ;
4812 int temp4 ;
4813 int res4 = SWIG_TMPOBJ ;
4814 int temp5 ;
4815 int res5 = SWIG_TMPOBJ ;
4816
4817 arg4 = &temp4;
4818 arg5 = &temp5;
4819 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4821 if (!SWIG_IsOK(res1)) {
4822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4823 }
4824 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4825 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4826 if (!SWIG_IsOK(ecode2)) {
4827 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4828 }
4829 arg2 = static_cast< int >(val2);
4830 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4831 if (!SWIG_IsOK(ecode3)) {
4832 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4833 }
4834 arg3 = static_cast< int >(val3);
4835 {
4836 PyThreadState* __tstate = wxPyBeginAllowThreads();
4837 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4838 wxPyEndAllowThreads(__tstate);
4839 if (PyErr_Occurred()) SWIG_fail;
4840 }
4841 resultobj = SWIG_Py_Void();
4842 if (SWIG_IsTmpObj(res4)) {
4843 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4844 } else {
4845 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4846 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4847 }
4848 if (SWIG_IsTmpObj(res5)) {
4849 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4850 } else {
4851 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4852 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4853 }
4854 return resultobj;
4855 fail:
4856 return NULL;
4857 }
4858
4859
4860 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4861 int argc;
4862 PyObject *argv[4];
4863
4864 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4865 --argc;
4866 if (argc == 2) {
4867 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4868 }
4869 if (argc == 3) {
4870 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4871 }
4872
4873 fail:
4874 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4875 return NULL;
4876 }
4877
4878
4879 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4880 PyObject *resultobj = 0;
4881 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4882 wxPoint *arg2 = 0 ;
4883 wxPoint result;
4884 void *argp1 = 0 ;
4885 int res1 = 0 ;
4886 wxPoint temp2 ;
4887
4888 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4890 if (!SWIG_IsOK(res1)) {
4891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4892 }
4893 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4894 {
4895 arg2 = &temp2;
4896 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4897 }
4898 {
4899 PyThreadState* __tstate = wxPyBeginAllowThreads();
4900 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4901 wxPyEndAllowThreads(__tstate);
4902 if (PyErr_Occurred()) SWIG_fail;
4903 }
4904 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4905 return resultobj;
4906 fail:
4907 return NULL;
4908 }
4909
4910
4911 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4912 PyObject *resultobj = 0;
4913 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4914 int arg2 ;
4915 int arg3 ;
4916 int *arg4 = (int *) 0 ;
4917 int *arg5 = (int *) 0 ;
4918 void *argp1 = 0 ;
4919 int res1 = 0 ;
4920 int val2 ;
4921 int ecode2 = 0 ;
4922 int val3 ;
4923 int ecode3 = 0 ;
4924 int temp4 ;
4925 int res4 = SWIG_TMPOBJ ;
4926 int temp5 ;
4927 int res5 = SWIG_TMPOBJ ;
4928
4929 arg4 = &temp4;
4930 arg5 = &temp5;
4931 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4933 if (!SWIG_IsOK(res1)) {
4934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4935 }
4936 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4937 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4938 if (!SWIG_IsOK(ecode2)) {
4939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4940 }
4941 arg2 = static_cast< int >(val2);
4942 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4943 if (!SWIG_IsOK(ecode3)) {
4944 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4945 }
4946 arg3 = static_cast< int >(val3);
4947 {
4948 PyThreadState* __tstate = wxPyBeginAllowThreads();
4949 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4950 wxPyEndAllowThreads(__tstate);
4951 if (PyErr_Occurred()) SWIG_fail;
4952 }
4953 resultobj = SWIG_Py_Void();
4954 if (SWIG_IsTmpObj(res4)) {
4955 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4956 } else {
4957 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4958 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4959 }
4960 if (SWIG_IsTmpObj(res5)) {
4961 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4962 } else {
4963 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4964 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4965 }
4966 return resultobj;
4967 fail:
4968 return NULL;
4969 }
4970
4971
4972 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4973 int argc;
4974 PyObject *argv[4];
4975
4976 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4977 --argc;
4978 if (argc == 2) {
4979 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4980 }
4981 if (argc == 3) {
4982 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4983 }
4984
4985 fail:
4986 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4987 return NULL;
4988 }
4989
4990
4991 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4992 PyObject *resultobj = 0;
4993 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4994 void *argp1 = 0 ;
4995 int res1 = 0 ;
4996 PyObject *swig_obj[1] ;
4997
4998 if (!args) SWIG_fail;
4999 swig_obj[0] = args;
5000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5001 if (!SWIG_IsOK(res1)) {
5002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5003 }
5004 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5005 {
5006 PyThreadState* __tstate = wxPyBeginAllowThreads();
5007 (arg1)->AdjustScrollbars();
5008 wxPyEndAllowThreads(__tstate);
5009 if (PyErr_Occurred()) SWIG_fail;
5010 }
5011 resultobj = SWIG_Py_Void();
5012 return resultobj;
5013 fail:
5014 return NULL;
5015 }
5016
5017
5018 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5019 PyObject *resultobj = 0;
5020 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5021 wxScrollWinEvent *arg2 = 0 ;
5022 int result;
5023 void *argp1 = 0 ;
5024 int res1 = 0 ;
5025 void *argp2 = 0 ;
5026 int res2 = 0 ;
5027 PyObject * obj0 = 0 ;
5028 PyObject * obj1 = 0 ;
5029 char * kwnames[] = {
5030 (char *) "self",(char *) "event", NULL
5031 };
5032
5033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5035 if (!SWIG_IsOK(res1)) {
5036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5037 }
5038 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5039 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5040 if (!SWIG_IsOK(res2)) {
5041 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5042 }
5043 if (!argp2) {
5044 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5045 }
5046 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5047 {
5048 PyThreadState* __tstate = wxPyBeginAllowThreads();
5049 result = (int)(arg1)->CalcScrollInc(*arg2);
5050 wxPyEndAllowThreads(__tstate);
5051 if (PyErr_Occurred()) SWIG_fail;
5052 }
5053 resultobj = SWIG_From_int(static_cast< int >(result));
5054 return resultobj;
5055 fail:
5056 return NULL;
5057 }
5058
5059
5060 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5061 PyObject *resultobj = 0;
5062 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5063 wxWindow *arg2 = (wxWindow *) 0 ;
5064 void *argp1 = 0 ;
5065 int res1 = 0 ;
5066 void *argp2 = 0 ;
5067 int res2 = 0 ;
5068 PyObject * obj0 = 0 ;
5069 PyObject * obj1 = 0 ;
5070 char * kwnames[] = {
5071 (char *) "self",(char *) "target", NULL
5072 };
5073
5074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5076 if (!SWIG_IsOK(res1)) {
5077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5078 }
5079 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5080 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5081 if (!SWIG_IsOK(res2)) {
5082 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5083 }
5084 arg2 = reinterpret_cast< wxWindow * >(argp2);
5085 {
5086 PyThreadState* __tstate = wxPyBeginAllowThreads();
5087 (arg1)->SetTargetWindow(arg2);
5088 wxPyEndAllowThreads(__tstate);
5089 if (PyErr_Occurred()) SWIG_fail;
5090 }
5091 resultobj = SWIG_Py_Void();
5092 return resultobj;
5093 fail:
5094 return NULL;
5095 }
5096
5097
5098 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5099 PyObject *resultobj = 0;
5100 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5101 wxWindow *result = 0 ;
5102 void *argp1 = 0 ;
5103 int res1 = 0 ;
5104 PyObject *swig_obj[1] ;
5105
5106 if (!args) SWIG_fail;
5107 swig_obj[0] = args;
5108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5109 if (!SWIG_IsOK(res1)) {
5110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5111 }
5112 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5113 {
5114 PyThreadState* __tstate = wxPyBeginAllowThreads();
5115 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 }
5119 {
5120 resultobj = wxPyMake_wxObject(result, 0);
5121 }
5122 return resultobj;
5123 fail:
5124 return NULL;
5125 }
5126
5127
5128 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5129 PyObject *resultobj = 0;
5130 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5131 wxDC *arg2 = 0 ;
5132 void *argp1 = 0 ;
5133 int res1 = 0 ;
5134 void *argp2 = 0 ;
5135 int res2 = 0 ;
5136 PyObject * obj0 = 0 ;
5137 PyObject * obj1 = 0 ;
5138 char * kwnames[] = {
5139 (char *) "self",(char *) "dc", NULL
5140 };
5141
5142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5144 if (!SWIG_IsOK(res1)) {
5145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5146 }
5147 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5148 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5149 if (!SWIG_IsOK(res2)) {
5150 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5151 }
5152 if (!argp2) {
5153 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5154 }
5155 arg2 = reinterpret_cast< wxDC * >(argp2);
5156 {
5157 PyThreadState* __tstate = wxPyBeginAllowThreads();
5158 (arg1)->DoPrepareDC(*arg2);
5159 wxPyEndAllowThreads(__tstate);
5160 if (PyErr_Occurred()) SWIG_fail;
5161 }
5162 resultobj = SWIG_Py_Void();
5163 return resultobj;
5164 fail:
5165 return NULL;
5166 }
5167
5168
5169 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5170 PyObject *resultobj = 0;
5171 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5172 SwigValueWrapper<wxVisualAttributes > result;
5173 int val1 ;
5174 int ecode1 = 0 ;
5175 PyObject * obj0 = 0 ;
5176 char * kwnames[] = {
5177 (char *) "variant", NULL
5178 };
5179
5180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5181 if (obj0) {
5182 ecode1 = SWIG_AsVal_int(obj0, &val1);
5183 if (!SWIG_IsOK(ecode1)) {
5184 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5185 }
5186 arg1 = static_cast< wxWindowVariant >(val1);
5187 }
5188 {
5189 if (!wxPyCheckForApp()) SWIG_fail;
5190 PyThreadState* __tstate = wxPyBeginAllowThreads();
5191 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5192 wxPyEndAllowThreads(__tstate);
5193 if (PyErr_Occurred()) SWIG_fail;
5194 }
5195 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5196 return resultobj;
5197 fail:
5198 return NULL;
5199 }
5200
5201
5202 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5203 PyObject *obj;
5204 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5205 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5206 return SWIG_Py_Void();
5207 }
5208
5209 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5210 return SWIG_Python_InitShadowInstance(args);
5211 }
5212
5213 SWIGINTERN int FrameNameStr_set(PyObject *) {
5214 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5215 return 1;
5216 }
5217
5218
5219 SWIGINTERN PyObject *FrameNameStr_get(void) {
5220 PyObject *pyobj = 0;
5221
5222 {
5223 #if wxUSE_UNICODE
5224 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5225 #else
5226 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5227 #endif
5228 }
5229 return pyobj;
5230 }
5231
5232
5233 SWIGINTERN int DialogNameStr_set(PyObject *) {
5234 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5235 return 1;
5236 }
5237
5238
5239 SWIGINTERN PyObject *DialogNameStr_get(void) {
5240 PyObject *pyobj = 0;
5241
5242 {
5243 #if wxUSE_UNICODE
5244 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5245 #else
5246 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5247 #endif
5248 }
5249 return pyobj;
5250 }
5251
5252
5253 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5254 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5255 return 1;
5256 }
5257
5258
5259 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5260 PyObject *pyobj = 0;
5261
5262 {
5263 #if wxUSE_UNICODE
5264 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5265 #else
5266 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5267 #endif
5268 }
5269 return pyobj;
5270 }
5271
5272
5273 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5274 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5275 return 1;
5276 }
5277
5278
5279 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5280 PyObject *pyobj = 0;
5281
5282 {
5283 #if wxUSE_UNICODE
5284 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5285 #else
5286 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5287 #endif
5288 }
5289 return pyobj;
5290 }
5291
5292
5293 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5294 PyObject *resultobj = 0;
5295 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5296 bool arg2 = (bool) true ;
5297 void *argp1 = 0 ;
5298 int res1 = 0 ;
5299 bool val2 ;
5300 int ecode2 = 0 ;
5301 PyObject * obj0 = 0 ;
5302 PyObject * obj1 = 0 ;
5303 char * kwnames[] = {
5304 (char *) "self",(char *) "maximize", NULL
5305 };
5306
5307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5309 if (!SWIG_IsOK(res1)) {
5310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5311 }
5312 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5313 if (obj1) {
5314 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5315 if (!SWIG_IsOK(ecode2)) {
5316 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5317 }
5318 arg2 = static_cast< bool >(val2);
5319 }
5320 {
5321 PyThreadState* __tstate = wxPyBeginAllowThreads();
5322 (arg1)->Maximize(arg2);
5323 wxPyEndAllowThreads(__tstate);
5324 if (PyErr_Occurred()) SWIG_fail;
5325 }
5326 resultobj = SWIG_Py_Void();
5327 return resultobj;
5328 fail:
5329 return NULL;
5330 }
5331
5332
5333 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5334 PyObject *resultobj = 0;
5335 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5336 void *argp1 = 0 ;
5337 int res1 = 0 ;
5338 PyObject *swig_obj[1] ;
5339
5340 if (!args) SWIG_fail;
5341 swig_obj[0] = args;
5342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5343 if (!SWIG_IsOK(res1)) {
5344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5345 }
5346 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5347 {
5348 PyThreadState* __tstate = wxPyBeginAllowThreads();
5349 (arg1)->Restore();
5350 wxPyEndAllowThreads(__tstate);
5351 if (PyErr_Occurred()) SWIG_fail;
5352 }
5353 resultobj = SWIG_Py_Void();
5354 return resultobj;
5355 fail:
5356 return NULL;
5357 }
5358
5359
5360 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5361 PyObject *resultobj = 0;
5362 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5363 bool arg2 = (bool) true ;
5364 void *argp1 = 0 ;
5365 int res1 = 0 ;
5366 bool val2 ;
5367 int ecode2 = 0 ;
5368 PyObject * obj0 = 0 ;
5369 PyObject * obj1 = 0 ;
5370 char * kwnames[] = {
5371 (char *) "self",(char *) "iconize", NULL
5372 };
5373
5374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5376 if (!SWIG_IsOK(res1)) {
5377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5378 }
5379 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5380 if (obj1) {
5381 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5382 if (!SWIG_IsOK(ecode2)) {
5383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5384 }
5385 arg2 = static_cast< bool >(val2);
5386 }
5387 {
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 (arg1)->Iconize(arg2);
5390 wxPyEndAllowThreads(__tstate);
5391 if (PyErr_Occurred()) SWIG_fail;
5392 }
5393 resultobj = SWIG_Py_Void();
5394 return resultobj;
5395 fail:
5396 return NULL;
5397 }
5398
5399
5400 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5401 PyObject *resultobj = 0;
5402 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5403 bool result;
5404 void *argp1 = 0 ;
5405 int res1 = 0 ;
5406 PyObject *swig_obj[1] ;
5407
5408 if (!args) SWIG_fail;
5409 swig_obj[0] = args;
5410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5411 if (!SWIG_IsOK(res1)) {
5412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5413 }
5414 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5415 {
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5418 wxPyEndAllowThreads(__tstate);
5419 if (PyErr_Occurred()) SWIG_fail;
5420 }
5421 {
5422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5423 }
5424 return resultobj;
5425 fail:
5426 return NULL;
5427 }
5428
5429
5430 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5431 PyObject *resultobj = 0;
5432 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5433 bool result;
5434 void *argp1 = 0 ;
5435 int res1 = 0 ;
5436 PyObject *swig_obj[1] ;
5437
5438 if (!args) SWIG_fail;
5439 swig_obj[0] = args;
5440 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5441 if (!SWIG_IsOK(res1)) {
5442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5443 }
5444 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5445 {
5446 PyThreadState* __tstate = wxPyBeginAllowThreads();
5447 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5448 wxPyEndAllowThreads(__tstate);
5449 if (PyErr_Occurred()) SWIG_fail;
5450 }
5451 {
5452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5453 }
5454 return resultobj;
5455 fail:
5456 return NULL;
5457 }
5458
5459
5460 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5461 PyObject *resultobj = 0;
5462 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5463 bool result;
5464 void *argp1 = 0 ;
5465 int res1 = 0 ;
5466 PyObject *swig_obj[1] ;
5467
5468 if (!args) SWIG_fail;
5469 swig_obj[0] = args;
5470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5471 if (!SWIG_IsOK(res1)) {
5472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5473 }
5474 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5475 {
5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
5477 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5478 wxPyEndAllowThreads(__tstate);
5479 if (PyErr_Occurred()) SWIG_fail;
5480 }
5481 {
5482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5483 }
5484 return resultobj;
5485 fail:
5486 return NULL;
5487 }
5488
5489
5490 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5491 PyObject *resultobj = 0;
5492 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5493 wxIcon result;
5494 void *argp1 = 0 ;
5495 int res1 = 0 ;
5496 PyObject *swig_obj[1] ;
5497
5498 if (!args) SWIG_fail;
5499 swig_obj[0] = args;
5500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5501 if (!SWIG_IsOK(res1)) {
5502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5503 }
5504 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5505 {
5506 PyThreadState* __tstate = wxPyBeginAllowThreads();
5507 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5508 wxPyEndAllowThreads(__tstate);
5509 if (PyErr_Occurred()) SWIG_fail;
5510 }
5511 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5512 return resultobj;
5513 fail:
5514 return NULL;
5515 }
5516
5517
5518 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5519 PyObject *resultobj = 0;
5520 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5521 wxIcon *arg2 = 0 ;
5522 void *argp1 = 0 ;
5523 int res1 = 0 ;
5524 void *argp2 = 0 ;
5525 int res2 = 0 ;
5526 PyObject * obj0 = 0 ;
5527 PyObject * obj1 = 0 ;
5528 char * kwnames[] = {
5529 (char *) "self",(char *) "icon", NULL
5530 };
5531
5532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5534 if (!SWIG_IsOK(res1)) {
5535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5536 }
5537 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5538 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5539 if (!SWIG_IsOK(res2)) {
5540 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5541 }
5542 if (!argp2) {
5543 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5544 }
5545 arg2 = reinterpret_cast< wxIcon * >(argp2);
5546 {
5547 PyThreadState* __tstate = wxPyBeginAllowThreads();
5548 (arg1)->SetIcon((wxIcon const &)*arg2);
5549 wxPyEndAllowThreads(__tstate);
5550 if (PyErr_Occurred()) SWIG_fail;
5551 }
5552 resultobj = SWIG_Py_Void();
5553 return resultobj;
5554 fail:
5555 return NULL;
5556 }
5557
5558
5559 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5560 PyObject *resultobj = 0;
5561 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5562 wxIconBundle *arg2 = 0 ;
5563 void *argp1 = 0 ;
5564 int res1 = 0 ;
5565 void *argp2 = 0 ;
5566 int res2 = 0 ;
5567 PyObject * obj0 = 0 ;
5568 PyObject * obj1 = 0 ;
5569 char * kwnames[] = {
5570 (char *) "self",(char *) "icons", NULL
5571 };
5572
5573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5575 if (!SWIG_IsOK(res1)) {
5576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5577 }
5578 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5579 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5580 if (!SWIG_IsOK(res2)) {
5581 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5582 }
5583 if (!argp2) {
5584 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5585 }
5586 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5587 {
5588 PyThreadState* __tstate = wxPyBeginAllowThreads();
5589 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5590 wxPyEndAllowThreads(__tstate);
5591 if (PyErr_Occurred()) SWIG_fail;
5592 }
5593 resultobj = SWIG_Py_Void();
5594 return resultobj;
5595 fail:
5596 return NULL;
5597 }
5598
5599
5600 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5601 PyObject *resultobj = 0;
5602 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5603 bool arg2 ;
5604 long arg3 = (long) wxFULLSCREEN_ALL ;
5605 bool result;
5606 void *argp1 = 0 ;
5607 int res1 = 0 ;
5608 bool val2 ;
5609 int ecode2 = 0 ;
5610 long val3 ;
5611 int ecode3 = 0 ;
5612 PyObject * obj0 = 0 ;
5613 PyObject * obj1 = 0 ;
5614 PyObject * obj2 = 0 ;
5615 char * kwnames[] = {
5616 (char *) "self",(char *) "show",(char *) "style", NULL
5617 };
5618
5619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5621 if (!SWIG_IsOK(res1)) {
5622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5623 }
5624 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5625 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5626 if (!SWIG_IsOK(ecode2)) {
5627 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5628 }
5629 arg2 = static_cast< bool >(val2);
5630 if (obj2) {
5631 ecode3 = SWIG_AsVal_long(obj2, &val3);
5632 if (!SWIG_IsOK(ecode3)) {
5633 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5634 }
5635 arg3 = static_cast< long >(val3);
5636 }
5637 {
5638 PyThreadState* __tstate = wxPyBeginAllowThreads();
5639 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5640 wxPyEndAllowThreads(__tstate);
5641 if (PyErr_Occurred()) SWIG_fail;
5642 }
5643 {
5644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5645 }
5646 return resultobj;
5647 fail:
5648 return NULL;
5649 }
5650
5651
5652 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5653 PyObject *resultobj = 0;
5654 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5655 bool result;
5656 void *argp1 = 0 ;
5657 int res1 = 0 ;
5658 PyObject *swig_obj[1] ;
5659
5660 if (!args) SWIG_fail;
5661 swig_obj[0] = args;
5662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5663 if (!SWIG_IsOK(res1)) {
5664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5665 }
5666 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5667 {
5668 PyThreadState* __tstate = wxPyBeginAllowThreads();
5669 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5670 wxPyEndAllowThreads(__tstate);
5671 if (PyErr_Occurred()) SWIG_fail;
5672 }
5673 {
5674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5675 }
5676 return resultobj;
5677 fail:
5678 return NULL;
5679 }
5680
5681
5682 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5683 PyObject *resultobj = 0;
5684 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5685 wxString *arg2 = 0 ;
5686 void *argp1 = 0 ;
5687 int res1 = 0 ;
5688 bool temp2 = false ;
5689 PyObject * obj0 = 0 ;
5690 PyObject * obj1 = 0 ;
5691 char * kwnames[] = {
5692 (char *) "self",(char *) "title", NULL
5693 };
5694
5695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5697 if (!SWIG_IsOK(res1)) {
5698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5699 }
5700 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5701 {
5702 arg2 = wxString_in_helper(obj1);
5703 if (arg2 == NULL) SWIG_fail;
5704 temp2 = true;
5705 }
5706 {
5707 PyThreadState* __tstate = wxPyBeginAllowThreads();
5708 (arg1)->SetTitle((wxString const &)*arg2);
5709 wxPyEndAllowThreads(__tstate);
5710 if (PyErr_Occurred()) SWIG_fail;
5711 }
5712 resultobj = SWIG_Py_Void();
5713 {
5714 if (temp2)
5715 delete arg2;
5716 }
5717 return resultobj;
5718 fail:
5719 {
5720 if (temp2)
5721 delete arg2;
5722 }
5723 return NULL;
5724 }
5725
5726
5727 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5728 PyObject *resultobj = 0;
5729 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5730 wxString result;
5731 void *argp1 = 0 ;
5732 int res1 = 0 ;
5733 PyObject *swig_obj[1] ;
5734
5735 if (!args) SWIG_fail;
5736 swig_obj[0] = args;
5737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5738 if (!SWIG_IsOK(res1)) {
5739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5740 }
5741 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5742 {
5743 PyThreadState* __tstate = wxPyBeginAllowThreads();
5744 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5745 wxPyEndAllowThreads(__tstate);
5746 if (PyErr_Occurred()) SWIG_fail;
5747 }
5748 {
5749 #if wxUSE_UNICODE
5750 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5751 #else
5752 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5753 #endif
5754 }
5755 return resultobj;
5756 fail:
5757 return NULL;
5758 }
5759
5760
5761 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5762 PyObject *resultobj = 0;
5763 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5764 wxRegion *arg2 = 0 ;
5765 bool result;
5766 void *argp1 = 0 ;
5767 int res1 = 0 ;
5768 void *argp2 = 0 ;
5769 int res2 = 0 ;
5770 PyObject * obj0 = 0 ;
5771 PyObject * obj1 = 0 ;
5772 char * kwnames[] = {
5773 (char *) "self",(char *) "region", NULL
5774 };
5775
5776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5778 if (!SWIG_IsOK(res1)) {
5779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5780 }
5781 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5782 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5783 if (!SWIG_IsOK(res2)) {
5784 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5785 }
5786 if (!argp2) {
5787 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5788 }
5789 arg2 = reinterpret_cast< wxRegion * >(argp2);
5790 {
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 result = (bool)(arg1)->SetShape((wxRegion const &)*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_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5806 PyObject *resultobj = 0;
5807 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5808 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5809 void *argp1 = 0 ;
5810 int res1 = 0 ;
5811 int val2 ;
5812 int ecode2 = 0 ;
5813 PyObject * obj0 = 0 ;
5814 PyObject * obj1 = 0 ;
5815 char * kwnames[] = {
5816 (char *) "self",(char *) "flags", NULL
5817 };
5818
5819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5821 if (!SWIG_IsOK(res1)) {
5822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5823 }
5824 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5825 if (obj1) {
5826 ecode2 = SWIG_AsVal_int(obj1, &val2);
5827 if (!SWIG_IsOK(ecode2)) {
5828 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5829 }
5830 arg2 = static_cast< int >(val2);
5831 }
5832 {
5833 PyThreadState* __tstate = wxPyBeginAllowThreads();
5834 (arg1)->RequestUserAttention(arg2);
5835 wxPyEndAllowThreads(__tstate);
5836 if (PyErr_Occurred()) SWIG_fail;
5837 }
5838 resultobj = SWIG_Py_Void();
5839 return resultobj;
5840 fail:
5841 return NULL;
5842 }
5843
5844
5845 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5846 PyObject *resultobj = 0;
5847 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5848 bool result;
5849 void *argp1 = 0 ;
5850 int res1 = 0 ;
5851 PyObject *swig_obj[1] ;
5852
5853 if (!args) SWIG_fail;
5854 swig_obj[0] = args;
5855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5856 if (!SWIG_IsOK(res1)) {
5857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5858 }
5859 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5860 {
5861 PyThreadState* __tstate = wxPyBeginAllowThreads();
5862 result = (bool)(arg1)->IsActive();
5863 wxPyEndAllowThreads(__tstate);
5864 if (PyErr_Occurred()) SWIG_fail;
5865 }
5866 {
5867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5868 }
5869 return resultobj;
5870 fail:
5871 return NULL;
5872 }
5873
5874
5875 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5876 PyObject *resultobj = 0;
5877 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5878 bool arg2 ;
5879 void *argp1 = 0 ;
5880 int res1 = 0 ;
5881 bool val2 ;
5882 int ecode2 = 0 ;
5883 PyObject * obj0 = 0 ;
5884 PyObject * obj1 = 0 ;
5885 char * kwnames[] = {
5886 (char *) "self",(char *) "on", NULL
5887 };
5888
5889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5891 if (!SWIG_IsOK(res1)) {
5892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5893 }
5894 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5895 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5896 if (!SWIG_IsOK(ecode2)) {
5897 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5898 }
5899 arg2 = static_cast< bool >(val2);
5900 {
5901 PyThreadState* __tstate = wxPyBeginAllowThreads();
5902 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5903 wxPyEndAllowThreads(__tstate);
5904 if (PyErr_Occurred()) SWIG_fail;
5905 }
5906 resultobj = SWIG_Py_Void();
5907 return resultobj;
5908 fail:
5909 return NULL;
5910 }
5911
5912
5913 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5914 PyObject *resultobj = 0;
5915 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5916 bool result;
5917 void *argp1 = 0 ;
5918 int res1 = 0 ;
5919 PyObject *swig_obj[1] ;
5920
5921 if (!args) SWIG_fail;
5922 swig_obj[0] = args;
5923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5924 if (!SWIG_IsOK(res1)) {
5925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5926 }
5927 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5928 {
5929 PyThreadState* __tstate = wxPyBeginAllowThreads();
5930 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5931 wxPyEndAllowThreads(__tstate);
5932 if (PyErr_Occurred()) SWIG_fail;
5933 }
5934 {
5935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5936 }
5937 return resultobj;
5938 fail:
5939 return NULL;
5940 }
5941
5942
5943 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5944 PyObject *resultobj = 0;
5945 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5946 int arg2 = (int) wxBOTH ;
5947 void *argp1 = 0 ;
5948 int res1 = 0 ;
5949 int val2 ;
5950 int ecode2 = 0 ;
5951 PyObject * obj0 = 0 ;
5952 PyObject * obj1 = 0 ;
5953 char * kwnames[] = {
5954 (char *) "self",(char *) "dir", NULL
5955 };
5956
5957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
5958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5959 if (!SWIG_IsOK(res1)) {
5960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5961 }
5962 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5963 if (obj1) {
5964 ecode2 = SWIG_AsVal_int(obj1, &val2);
5965 if (!SWIG_IsOK(ecode2)) {
5966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5967 }
5968 arg2 = static_cast< int >(val2);
5969 }
5970 {
5971 PyThreadState* __tstate = wxPyBeginAllowThreads();
5972 (arg1)->CenterOnScreen(arg2);
5973 wxPyEndAllowThreads(__tstate);
5974 if (PyErr_Occurred()) SWIG_fail;
5975 }
5976 resultobj = SWIG_Py_Void();
5977 return resultobj;
5978 fail:
5979 return NULL;
5980 }
5981
5982
5983 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5984 PyObject *obj;
5985 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5986 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
5987 return SWIG_Py_Void();
5988 }
5989
5990 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5991 PyObject *resultobj = 0;
5992 wxWindow *arg1 = (wxWindow *) 0 ;
5993 int arg2 = (int) (int)-1 ;
5994 wxString const &arg3_defvalue = wxPyEmptyString ;
5995 wxString *arg3 = (wxString *) &arg3_defvalue ;
5996 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5997 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5998 wxSize const &arg5_defvalue = wxDefaultSize ;
5999 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6000 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6001 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6002 wxString *arg7 = (wxString *) &arg7_defvalue ;
6003 wxFrame *result = 0 ;
6004 void *argp1 = 0 ;
6005 int res1 = 0 ;
6006 int val2 ;
6007 int ecode2 = 0 ;
6008 bool temp3 = false ;
6009 wxPoint temp4 ;
6010 wxSize temp5 ;
6011 long val6 ;
6012 int ecode6 = 0 ;
6013 bool temp7 = false ;
6014 PyObject * obj0 = 0 ;
6015 PyObject * obj1 = 0 ;
6016 PyObject * obj2 = 0 ;
6017 PyObject * obj3 = 0 ;
6018 PyObject * obj4 = 0 ;
6019 PyObject * obj5 = 0 ;
6020 PyObject * obj6 = 0 ;
6021 char * kwnames[] = {
6022 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6023 };
6024
6025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6027 if (!SWIG_IsOK(res1)) {
6028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6029 }
6030 arg1 = reinterpret_cast< wxWindow * >(argp1);
6031 if (obj1) {
6032 ecode2 = SWIG_AsVal_int(obj1, &val2);
6033 if (!SWIG_IsOK(ecode2)) {
6034 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6035 }
6036 arg2 = static_cast< int >(val2);
6037 }
6038 if (obj2) {
6039 {
6040 arg3 = wxString_in_helper(obj2);
6041 if (arg3 == NULL) SWIG_fail;
6042 temp3 = true;
6043 }
6044 }
6045 if (obj3) {
6046 {
6047 arg4 = &temp4;
6048 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6049 }
6050 }
6051 if (obj4) {
6052 {
6053 arg5 = &temp5;
6054 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6055 }
6056 }
6057 if (obj5) {
6058 ecode6 = SWIG_AsVal_long(obj5, &val6);
6059 if (!SWIG_IsOK(ecode6)) {
6060 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6061 }
6062 arg6 = static_cast< long >(val6);
6063 }
6064 if (obj6) {
6065 {
6066 arg7 = wxString_in_helper(obj6);
6067 if (arg7 == NULL) SWIG_fail;
6068 temp7 = true;
6069 }
6070 }
6071 {
6072 if (!wxPyCheckForApp()) SWIG_fail;
6073 PyThreadState* __tstate = wxPyBeginAllowThreads();
6074 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6075 wxPyEndAllowThreads(__tstate);
6076 if (PyErr_Occurred()) SWIG_fail;
6077 }
6078 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6079 {
6080 if (temp3)
6081 delete arg3;
6082 }
6083 {
6084 if (temp7)
6085 delete arg7;
6086 }
6087 return resultobj;
6088 fail:
6089 {
6090 if (temp3)
6091 delete arg3;
6092 }
6093 {
6094 if (temp7)
6095 delete arg7;
6096 }
6097 return NULL;
6098 }
6099
6100
6101 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6102 PyObject *resultobj = 0;
6103 wxFrame *result = 0 ;
6104
6105 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6106 {
6107 if (!wxPyCheckForApp()) SWIG_fail;
6108 PyThreadState* __tstate = wxPyBeginAllowThreads();
6109 result = (wxFrame *)new wxFrame();
6110 wxPyEndAllowThreads(__tstate);
6111 if (PyErr_Occurred()) SWIG_fail;
6112 }
6113 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6114 return resultobj;
6115 fail:
6116 return NULL;
6117 }
6118
6119
6120 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6121 PyObject *resultobj = 0;
6122 wxFrame *arg1 = (wxFrame *) 0 ;
6123 wxWindow *arg2 = (wxWindow *) 0 ;
6124 int arg3 = (int) (int)-1 ;
6125 wxString const &arg4_defvalue = wxPyEmptyString ;
6126 wxString *arg4 = (wxString *) &arg4_defvalue ;
6127 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6128 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6129 wxSize const &arg6_defvalue = wxDefaultSize ;
6130 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6131 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6132 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6133 wxString *arg8 = (wxString *) &arg8_defvalue ;
6134 bool result;
6135 void *argp1 = 0 ;
6136 int res1 = 0 ;
6137 void *argp2 = 0 ;
6138 int res2 = 0 ;
6139 int val3 ;
6140 int ecode3 = 0 ;
6141 bool temp4 = false ;
6142 wxPoint temp5 ;
6143 wxSize temp6 ;
6144 long val7 ;
6145 int ecode7 = 0 ;
6146 bool temp8 = false ;
6147 PyObject * obj0 = 0 ;
6148 PyObject * obj1 = 0 ;
6149 PyObject * obj2 = 0 ;
6150 PyObject * obj3 = 0 ;
6151 PyObject * obj4 = 0 ;
6152 PyObject * obj5 = 0 ;
6153 PyObject * obj6 = 0 ;
6154 PyObject * obj7 = 0 ;
6155 char * kwnames[] = {
6156 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6157 };
6158
6159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6161 if (!SWIG_IsOK(res1)) {
6162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6163 }
6164 arg1 = reinterpret_cast< wxFrame * >(argp1);
6165 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6166 if (!SWIG_IsOK(res2)) {
6167 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6168 }
6169 arg2 = reinterpret_cast< wxWindow * >(argp2);
6170 if (obj2) {
6171 ecode3 = SWIG_AsVal_int(obj2, &val3);
6172 if (!SWIG_IsOK(ecode3)) {
6173 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6174 }
6175 arg3 = static_cast< int >(val3);
6176 }
6177 if (obj3) {
6178 {
6179 arg4 = wxString_in_helper(obj3);
6180 if (arg4 == NULL) SWIG_fail;
6181 temp4 = true;
6182 }
6183 }
6184 if (obj4) {
6185 {
6186 arg5 = &temp5;
6187 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6188 }
6189 }
6190 if (obj5) {
6191 {
6192 arg6 = &temp6;
6193 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6194 }
6195 }
6196 if (obj6) {
6197 ecode7 = SWIG_AsVal_long(obj6, &val7);
6198 if (!SWIG_IsOK(ecode7)) {
6199 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6200 }
6201 arg7 = static_cast< long >(val7);
6202 }
6203 if (obj7) {
6204 {
6205 arg8 = wxString_in_helper(obj7);
6206 if (arg8 == NULL) SWIG_fail;
6207 temp8 = true;
6208 }
6209 }
6210 {
6211 PyThreadState* __tstate = wxPyBeginAllowThreads();
6212 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6213 wxPyEndAllowThreads(__tstate);
6214 if (PyErr_Occurred()) SWIG_fail;
6215 }
6216 {
6217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6218 }
6219 {
6220 if (temp4)
6221 delete arg4;
6222 }
6223 {
6224 if (temp8)
6225 delete arg8;
6226 }
6227 return resultobj;
6228 fail:
6229 {
6230 if (temp4)
6231 delete arg4;
6232 }
6233 {
6234 if (temp8)
6235 delete arg8;
6236 }
6237 return NULL;
6238 }
6239
6240
6241 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6242 PyObject *resultobj = 0;
6243 wxFrame *arg1 = (wxFrame *) 0 ;
6244 void *argp1 = 0 ;
6245 int res1 = 0 ;
6246 PyObject *swig_obj[1] ;
6247
6248 if (!args) SWIG_fail;
6249 swig_obj[0] = args;
6250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6251 if (!SWIG_IsOK(res1)) {
6252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6253 }
6254 arg1 = reinterpret_cast< wxFrame * >(argp1);
6255 {
6256 PyThreadState* __tstate = wxPyBeginAllowThreads();
6257 (arg1)->SendSizeEvent();
6258 wxPyEndAllowThreads(__tstate);
6259 if (PyErr_Occurred()) SWIG_fail;
6260 }
6261 resultobj = SWIG_Py_Void();
6262 return resultobj;
6263 fail:
6264 return NULL;
6265 }
6266
6267
6268 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6269 PyObject *resultobj = 0;
6270 wxFrame *arg1 = (wxFrame *) 0 ;
6271 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6272 void *argp1 = 0 ;
6273 int res1 = 0 ;
6274 void *argp2 = 0 ;
6275 int res2 = 0 ;
6276 PyObject * obj0 = 0 ;
6277 PyObject * obj1 = 0 ;
6278 char * kwnames[] = {
6279 (char *) "self",(char *) "menubar", NULL
6280 };
6281
6282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6284 if (!SWIG_IsOK(res1)) {
6285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6286 }
6287 arg1 = reinterpret_cast< wxFrame * >(argp1);
6288 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6289 if (!SWIG_IsOK(res2)) {
6290 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6291 }
6292 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6293 {
6294 PyThreadState* __tstate = wxPyBeginAllowThreads();
6295 (arg1)->SetMenuBar(arg2);
6296 wxPyEndAllowThreads(__tstate);
6297 if (PyErr_Occurred()) SWIG_fail;
6298 }
6299 resultobj = SWIG_Py_Void();
6300 return resultobj;
6301 fail:
6302 return NULL;
6303 }
6304
6305
6306 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6307 PyObject *resultobj = 0;
6308 wxFrame *arg1 = (wxFrame *) 0 ;
6309 wxMenuBar *result = 0 ;
6310 void *argp1 = 0 ;
6311 int res1 = 0 ;
6312 PyObject *swig_obj[1] ;
6313
6314 if (!args) SWIG_fail;
6315 swig_obj[0] = args;
6316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6317 if (!SWIG_IsOK(res1)) {
6318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6319 }
6320 arg1 = reinterpret_cast< wxFrame * >(argp1);
6321 {
6322 PyThreadState* __tstate = wxPyBeginAllowThreads();
6323 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6324 wxPyEndAllowThreads(__tstate);
6325 if (PyErr_Occurred()) SWIG_fail;
6326 }
6327 {
6328 resultobj = wxPyMake_wxObject(result, 0);
6329 }
6330 return resultobj;
6331 fail:
6332 return NULL;
6333 }
6334
6335
6336 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6337 PyObject *resultobj = 0;
6338 wxFrame *arg1 = (wxFrame *) 0 ;
6339 int arg2 ;
6340 bool result;
6341 void *argp1 = 0 ;
6342 int res1 = 0 ;
6343 int val2 ;
6344 int ecode2 = 0 ;
6345 PyObject * obj0 = 0 ;
6346 PyObject * obj1 = 0 ;
6347 char * kwnames[] = {
6348 (char *) "self",(char *) "winid", NULL
6349 };
6350
6351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6353 if (!SWIG_IsOK(res1)) {
6354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6355 }
6356 arg1 = reinterpret_cast< wxFrame * >(argp1);
6357 ecode2 = SWIG_AsVal_int(obj1, &val2);
6358 if (!SWIG_IsOK(ecode2)) {
6359 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6360 }
6361 arg2 = static_cast< int >(val2);
6362 {
6363 PyThreadState* __tstate = wxPyBeginAllowThreads();
6364 result = (bool)(arg1)->ProcessCommand(arg2);
6365 wxPyEndAllowThreads(__tstate);
6366 if (PyErr_Occurred()) SWIG_fail;
6367 }
6368 {
6369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6370 }
6371 return resultobj;
6372 fail:
6373 return NULL;
6374 }
6375
6376
6377 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6378 PyObject *resultobj = 0;
6379 wxFrame *arg1 = (wxFrame *) 0 ;
6380 int arg2 = (int) 1 ;
6381 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6382 int arg4 = (int) 0 ;
6383 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6384 wxString *arg5 = (wxString *) &arg5_defvalue ;
6385 wxStatusBar *result = 0 ;
6386 void *argp1 = 0 ;
6387 int res1 = 0 ;
6388 int val2 ;
6389 int ecode2 = 0 ;
6390 long val3 ;
6391 int ecode3 = 0 ;
6392 int val4 ;
6393 int ecode4 = 0 ;
6394 bool temp5 = false ;
6395 PyObject * obj0 = 0 ;
6396 PyObject * obj1 = 0 ;
6397 PyObject * obj2 = 0 ;
6398 PyObject * obj3 = 0 ;
6399 PyObject * obj4 = 0 ;
6400 char * kwnames[] = {
6401 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6402 };
6403
6404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6406 if (!SWIG_IsOK(res1)) {
6407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6408 }
6409 arg1 = reinterpret_cast< wxFrame * >(argp1);
6410 if (obj1) {
6411 ecode2 = SWIG_AsVal_int(obj1, &val2);
6412 if (!SWIG_IsOK(ecode2)) {
6413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6414 }
6415 arg2 = static_cast< int >(val2);
6416 }
6417 if (obj2) {
6418 ecode3 = SWIG_AsVal_long(obj2, &val3);
6419 if (!SWIG_IsOK(ecode3)) {
6420 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6421 }
6422 arg3 = static_cast< long >(val3);
6423 }
6424 if (obj3) {
6425 ecode4 = SWIG_AsVal_int(obj3, &val4);
6426 if (!SWIG_IsOK(ecode4)) {
6427 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6428 }
6429 arg4 = static_cast< int >(val4);
6430 }
6431 if (obj4) {
6432 {
6433 arg5 = wxString_in_helper(obj4);
6434 if (arg5 == NULL) SWIG_fail;
6435 temp5 = true;
6436 }
6437 }
6438 {
6439 PyThreadState* __tstate = wxPyBeginAllowThreads();
6440 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6441 wxPyEndAllowThreads(__tstate);
6442 if (PyErr_Occurred()) SWIG_fail;
6443 }
6444 {
6445 resultobj = wxPyMake_wxObject(result, (bool)0);
6446 }
6447 {
6448 if (temp5)
6449 delete arg5;
6450 }
6451 return resultobj;
6452 fail:
6453 {
6454 if (temp5)
6455 delete arg5;
6456 }
6457 return NULL;
6458 }
6459
6460
6461 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6462 PyObject *resultobj = 0;
6463 wxFrame *arg1 = (wxFrame *) 0 ;
6464 wxStatusBar *result = 0 ;
6465 void *argp1 = 0 ;
6466 int res1 = 0 ;
6467 PyObject *swig_obj[1] ;
6468
6469 if (!args) SWIG_fail;
6470 swig_obj[0] = args;
6471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6472 if (!SWIG_IsOK(res1)) {
6473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6474 }
6475 arg1 = reinterpret_cast< wxFrame * >(argp1);
6476 {
6477 PyThreadState* __tstate = wxPyBeginAllowThreads();
6478 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6479 wxPyEndAllowThreads(__tstate);
6480 if (PyErr_Occurred()) SWIG_fail;
6481 }
6482 {
6483 resultobj = wxPyMake_wxObject(result, (bool)0);
6484 }
6485 return resultobj;
6486 fail:
6487 return NULL;
6488 }
6489
6490
6491 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6492 PyObject *resultobj = 0;
6493 wxFrame *arg1 = (wxFrame *) 0 ;
6494 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6495 void *argp1 = 0 ;
6496 int res1 = 0 ;
6497 void *argp2 = 0 ;
6498 int res2 = 0 ;
6499 PyObject * obj0 = 0 ;
6500 PyObject * obj1 = 0 ;
6501 char * kwnames[] = {
6502 (char *) "self",(char *) "statBar", NULL
6503 };
6504
6505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6507 if (!SWIG_IsOK(res1)) {
6508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6509 }
6510 arg1 = reinterpret_cast< wxFrame * >(argp1);
6511 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6512 if (!SWIG_IsOK(res2)) {
6513 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6514 }
6515 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6516 {
6517 PyThreadState* __tstate = wxPyBeginAllowThreads();
6518 (arg1)->SetStatusBar(arg2);
6519 wxPyEndAllowThreads(__tstate);
6520 if (PyErr_Occurred()) SWIG_fail;
6521 }
6522 resultobj = SWIG_Py_Void();
6523 return resultobj;
6524 fail:
6525 return NULL;
6526 }
6527
6528
6529 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6530 PyObject *resultobj = 0;
6531 wxFrame *arg1 = (wxFrame *) 0 ;
6532 wxString *arg2 = 0 ;
6533 int arg3 = (int) 0 ;
6534 void *argp1 = 0 ;
6535 int res1 = 0 ;
6536 bool temp2 = false ;
6537 int val3 ;
6538 int ecode3 = 0 ;
6539 PyObject * obj0 = 0 ;
6540 PyObject * obj1 = 0 ;
6541 PyObject * obj2 = 0 ;
6542 char * kwnames[] = {
6543 (char *) "self",(char *) "text",(char *) "number", NULL
6544 };
6545
6546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6548 if (!SWIG_IsOK(res1)) {
6549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6550 }
6551 arg1 = reinterpret_cast< wxFrame * >(argp1);
6552 {
6553 arg2 = wxString_in_helper(obj1);
6554 if (arg2 == NULL) SWIG_fail;
6555 temp2 = true;
6556 }
6557 if (obj2) {
6558 ecode3 = SWIG_AsVal_int(obj2, &val3);
6559 if (!SWIG_IsOK(ecode3)) {
6560 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6561 }
6562 arg3 = static_cast< int >(val3);
6563 }
6564 {
6565 PyThreadState* __tstate = wxPyBeginAllowThreads();
6566 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6567 wxPyEndAllowThreads(__tstate);
6568 if (PyErr_Occurred()) SWIG_fail;
6569 }
6570 resultobj = SWIG_Py_Void();
6571 {
6572 if (temp2)
6573 delete arg2;
6574 }
6575 return resultobj;
6576 fail:
6577 {
6578 if (temp2)
6579 delete arg2;
6580 }
6581 return NULL;
6582 }
6583
6584
6585 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6586 PyObject *resultobj = 0;
6587 wxFrame *arg1 = (wxFrame *) 0 ;
6588 int arg2 ;
6589 int *arg3 = (int *) 0 ;
6590 void *argp1 = 0 ;
6591 int res1 = 0 ;
6592 PyObject * obj0 = 0 ;
6593 PyObject * obj1 = 0 ;
6594 char * kwnames[] = {
6595 (char *) "self",(char *) "widths", NULL
6596 };
6597
6598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6600 if (!SWIG_IsOK(res1)) {
6601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6602 }
6603 arg1 = reinterpret_cast< wxFrame * >(argp1);
6604 {
6605 arg2 = PyList_Size(obj1);
6606 arg3 = int_LIST_helper(obj1);
6607 if (arg3 == NULL) SWIG_fail;
6608 }
6609 {
6610 PyThreadState* __tstate = wxPyBeginAllowThreads();
6611 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6612 wxPyEndAllowThreads(__tstate);
6613 if (PyErr_Occurred()) SWIG_fail;
6614 }
6615 resultobj = SWIG_Py_Void();
6616 {
6617 if (arg3) delete [] arg3;
6618 }
6619 return resultobj;
6620 fail:
6621 {
6622 if (arg3) delete [] arg3;
6623 }
6624 return NULL;
6625 }
6626
6627
6628 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6629 PyObject *resultobj = 0;
6630 wxFrame *arg1 = (wxFrame *) 0 ;
6631 wxString *arg2 = 0 ;
6632 int arg3 = (int) 0 ;
6633 void *argp1 = 0 ;
6634 int res1 = 0 ;
6635 bool temp2 = false ;
6636 int val3 ;
6637 int ecode3 = 0 ;
6638 PyObject * obj0 = 0 ;
6639 PyObject * obj1 = 0 ;
6640 PyObject * obj2 = 0 ;
6641 char * kwnames[] = {
6642 (char *) "self",(char *) "text",(char *) "number", NULL
6643 };
6644
6645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6647 if (!SWIG_IsOK(res1)) {
6648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6649 }
6650 arg1 = reinterpret_cast< wxFrame * >(argp1);
6651 {
6652 arg2 = wxString_in_helper(obj1);
6653 if (arg2 == NULL) SWIG_fail;
6654 temp2 = true;
6655 }
6656 if (obj2) {
6657 ecode3 = SWIG_AsVal_int(obj2, &val3);
6658 if (!SWIG_IsOK(ecode3)) {
6659 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6660 }
6661 arg3 = static_cast< int >(val3);
6662 }
6663 {
6664 PyThreadState* __tstate = wxPyBeginAllowThreads();
6665 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6666 wxPyEndAllowThreads(__tstate);
6667 if (PyErr_Occurred()) SWIG_fail;
6668 }
6669 resultobj = SWIG_Py_Void();
6670 {
6671 if (temp2)
6672 delete arg2;
6673 }
6674 return resultobj;
6675 fail:
6676 {
6677 if (temp2)
6678 delete arg2;
6679 }
6680 return NULL;
6681 }
6682
6683
6684 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6685 PyObject *resultobj = 0;
6686 wxFrame *arg1 = (wxFrame *) 0 ;
6687 int arg2 = (int) 0 ;
6688 void *argp1 = 0 ;
6689 int res1 = 0 ;
6690 int val2 ;
6691 int ecode2 = 0 ;
6692 PyObject * obj0 = 0 ;
6693 PyObject * obj1 = 0 ;
6694 char * kwnames[] = {
6695 (char *) "self",(char *) "number", NULL
6696 };
6697
6698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6700 if (!SWIG_IsOK(res1)) {
6701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6702 }
6703 arg1 = reinterpret_cast< wxFrame * >(argp1);
6704 if (obj1) {
6705 ecode2 = SWIG_AsVal_int(obj1, &val2);
6706 if (!SWIG_IsOK(ecode2)) {
6707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6708 }
6709 arg2 = static_cast< int >(val2);
6710 }
6711 {
6712 PyThreadState* __tstate = wxPyBeginAllowThreads();
6713 (arg1)->PopStatusText(arg2);
6714 wxPyEndAllowThreads(__tstate);
6715 if (PyErr_Occurred()) SWIG_fail;
6716 }
6717 resultobj = SWIG_Py_Void();
6718 return resultobj;
6719 fail:
6720 return NULL;
6721 }
6722
6723
6724 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6725 PyObject *resultobj = 0;
6726 wxFrame *arg1 = (wxFrame *) 0 ;
6727 int arg2 ;
6728 void *argp1 = 0 ;
6729 int res1 = 0 ;
6730 int val2 ;
6731 int ecode2 = 0 ;
6732 PyObject * obj0 = 0 ;
6733 PyObject * obj1 = 0 ;
6734 char * kwnames[] = {
6735 (char *) "self",(char *) "n", NULL
6736 };
6737
6738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6740 if (!SWIG_IsOK(res1)) {
6741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6742 }
6743 arg1 = reinterpret_cast< wxFrame * >(argp1);
6744 ecode2 = SWIG_AsVal_int(obj1, &val2);
6745 if (!SWIG_IsOK(ecode2)) {
6746 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6747 }
6748 arg2 = static_cast< int >(val2);
6749 {
6750 PyThreadState* __tstate = wxPyBeginAllowThreads();
6751 (arg1)->SetStatusBarPane(arg2);
6752 wxPyEndAllowThreads(__tstate);
6753 if (PyErr_Occurred()) SWIG_fail;
6754 }
6755 resultobj = SWIG_Py_Void();
6756 return resultobj;
6757 fail:
6758 return NULL;
6759 }
6760
6761
6762 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6763 PyObject *resultobj = 0;
6764 wxFrame *arg1 = (wxFrame *) 0 ;
6765 int result;
6766 void *argp1 = 0 ;
6767 int res1 = 0 ;
6768 PyObject *swig_obj[1] ;
6769
6770 if (!args) SWIG_fail;
6771 swig_obj[0] = args;
6772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6773 if (!SWIG_IsOK(res1)) {
6774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6775 }
6776 arg1 = reinterpret_cast< wxFrame * >(argp1);
6777 {
6778 PyThreadState* __tstate = wxPyBeginAllowThreads();
6779 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6780 wxPyEndAllowThreads(__tstate);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 }
6783 resultobj = SWIG_From_int(static_cast< int >(result));
6784 return resultobj;
6785 fail:
6786 return NULL;
6787 }
6788
6789
6790 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6791 PyObject *resultobj = 0;
6792 wxFrame *arg1 = (wxFrame *) 0 ;
6793 long arg2 = (long) -1 ;
6794 int arg3 = (int) -1 ;
6795 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6796 wxString *arg4 = (wxString *) &arg4_defvalue ;
6797 wxToolBar *result = 0 ;
6798 void *argp1 = 0 ;
6799 int res1 = 0 ;
6800 long val2 ;
6801 int ecode2 = 0 ;
6802 int val3 ;
6803 int ecode3 = 0 ;
6804 bool temp4 = false ;
6805 PyObject * obj0 = 0 ;
6806 PyObject * obj1 = 0 ;
6807 PyObject * obj2 = 0 ;
6808 PyObject * obj3 = 0 ;
6809 char * kwnames[] = {
6810 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6811 };
6812
6813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6815 if (!SWIG_IsOK(res1)) {
6816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6817 }
6818 arg1 = reinterpret_cast< wxFrame * >(argp1);
6819 if (obj1) {
6820 ecode2 = SWIG_AsVal_long(obj1, &val2);
6821 if (!SWIG_IsOK(ecode2)) {
6822 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6823 }
6824 arg2 = static_cast< long >(val2);
6825 }
6826 if (obj2) {
6827 ecode3 = SWIG_AsVal_int(obj2, &val3);
6828 if (!SWIG_IsOK(ecode3)) {
6829 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6830 }
6831 arg3 = static_cast< int >(val3);
6832 }
6833 if (obj3) {
6834 {
6835 arg4 = wxString_in_helper(obj3);
6836 if (arg4 == NULL) SWIG_fail;
6837 temp4 = true;
6838 }
6839 }
6840 {
6841 PyThreadState* __tstate = wxPyBeginAllowThreads();
6842 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
6843 wxPyEndAllowThreads(__tstate);
6844 if (PyErr_Occurred()) SWIG_fail;
6845 }
6846 {
6847 resultobj = wxPyMake_wxObject(result, (bool)0);
6848 }
6849 {
6850 if (temp4)
6851 delete arg4;
6852 }
6853 return resultobj;
6854 fail:
6855 {
6856 if (temp4)
6857 delete arg4;
6858 }
6859 return NULL;
6860 }
6861
6862
6863 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6864 PyObject *resultobj = 0;
6865 wxFrame *arg1 = (wxFrame *) 0 ;
6866 wxToolBar *result = 0 ;
6867 void *argp1 = 0 ;
6868 int res1 = 0 ;
6869 PyObject *swig_obj[1] ;
6870
6871 if (!args) SWIG_fail;
6872 swig_obj[0] = args;
6873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6874 if (!SWIG_IsOK(res1)) {
6875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6876 }
6877 arg1 = reinterpret_cast< wxFrame * >(argp1);
6878 {
6879 PyThreadState* __tstate = wxPyBeginAllowThreads();
6880 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
6881 wxPyEndAllowThreads(__tstate);
6882 if (PyErr_Occurred()) SWIG_fail;
6883 }
6884 {
6885 resultobj = wxPyMake_wxObject(result, (bool)0);
6886 }
6887 return resultobj;
6888 fail:
6889 return NULL;
6890 }
6891
6892
6893 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6894 PyObject *resultobj = 0;
6895 wxFrame *arg1 = (wxFrame *) 0 ;
6896 wxToolBar *arg2 = (wxToolBar *) 0 ;
6897 void *argp1 = 0 ;
6898 int res1 = 0 ;
6899 void *argp2 = 0 ;
6900 int res2 = 0 ;
6901 PyObject * obj0 = 0 ;
6902 PyObject * obj1 = 0 ;
6903 char * kwnames[] = {
6904 (char *) "self",(char *) "toolbar", NULL
6905 };
6906
6907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
6908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6909 if (!SWIG_IsOK(res1)) {
6910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6911 }
6912 arg1 = reinterpret_cast< wxFrame * >(argp1);
6913 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
6914 if (!SWIG_IsOK(res2)) {
6915 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6916 }
6917 arg2 = reinterpret_cast< wxToolBar * >(argp2);
6918 {
6919 PyThreadState* __tstate = wxPyBeginAllowThreads();
6920 (arg1)->SetToolBar(arg2);
6921 wxPyEndAllowThreads(__tstate);
6922 if (PyErr_Occurred()) SWIG_fail;
6923 }
6924 resultobj = SWIG_Py_Void();
6925 return resultobj;
6926 fail:
6927 return NULL;
6928 }
6929
6930
6931 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6932 PyObject *resultobj = 0;
6933 wxFrame *arg1 = (wxFrame *) 0 ;
6934 wxString *arg2 = 0 ;
6935 bool arg3 ;
6936 void *argp1 = 0 ;
6937 int res1 = 0 ;
6938 bool temp2 = false ;
6939 bool val3 ;
6940 int ecode3 = 0 ;
6941 PyObject * obj0 = 0 ;
6942 PyObject * obj1 = 0 ;
6943 PyObject * obj2 = 0 ;
6944 char * kwnames[] = {
6945 (char *) "self",(char *) "text",(char *) "show", NULL
6946 };
6947
6948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6950 if (!SWIG_IsOK(res1)) {
6951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6952 }
6953 arg1 = reinterpret_cast< wxFrame * >(argp1);
6954 {
6955 arg2 = wxString_in_helper(obj1);
6956 if (arg2 == NULL) SWIG_fail;
6957 temp2 = true;
6958 }
6959 ecode3 = SWIG_AsVal_bool(obj2, &val3);
6960 if (!SWIG_IsOK(ecode3)) {
6961 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6962 }
6963 arg3 = static_cast< bool >(val3);
6964 {
6965 PyThreadState* __tstate = wxPyBeginAllowThreads();
6966 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
6967 wxPyEndAllowThreads(__tstate);
6968 if (PyErr_Occurred()) SWIG_fail;
6969 }
6970 resultobj = SWIG_Py_Void();
6971 {
6972 if (temp2)
6973 delete arg2;
6974 }
6975 return resultobj;
6976 fail:
6977 {
6978 if (temp2)
6979 delete arg2;
6980 }
6981 return NULL;
6982 }
6983
6984
6985 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6986 PyObject *resultobj = 0;
6987 wxFrame *arg1 = (wxFrame *) 0 ;
6988 wxMenu *arg2 = (wxMenu *) NULL ;
6989 void *argp1 = 0 ;
6990 int res1 = 0 ;
6991 void *argp2 = 0 ;
6992 int res2 = 0 ;
6993 PyObject * obj0 = 0 ;
6994 PyObject * obj1 = 0 ;
6995 char * kwnames[] = {
6996 (char *) "self",(char *) "menu", NULL
6997 };
6998
6999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7001 if (!SWIG_IsOK(res1)) {
7002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7003 }
7004 arg1 = reinterpret_cast< wxFrame * >(argp1);
7005 if (obj1) {
7006 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7007 if (!SWIG_IsOK(res2)) {
7008 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7009 }
7010 arg2 = reinterpret_cast< wxMenu * >(argp2);
7011 }
7012 {
7013 PyThreadState* __tstate = wxPyBeginAllowThreads();
7014 (arg1)->DoMenuUpdates(arg2);
7015 wxPyEndAllowThreads(__tstate);
7016 if (PyErr_Occurred()) SWIG_fail;
7017 }
7018 resultobj = SWIG_Py_Void();
7019 return resultobj;
7020 fail:
7021 return NULL;
7022 }
7023
7024
7025 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7026 PyObject *resultobj = 0;
7027 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7028 SwigValueWrapper<wxVisualAttributes > result;
7029 int val1 ;
7030 int ecode1 = 0 ;
7031 PyObject * obj0 = 0 ;
7032 char * kwnames[] = {
7033 (char *) "variant", NULL
7034 };
7035
7036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7037 if (obj0) {
7038 ecode1 = SWIG_AsVal_int(obj0, &val1);
7039 if (!SWIG_IsOK(ecode1)) {
7040 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7041 }
7042 arg1 = static_cast< wxWindowVariant >(val1);
7043 }
7044 {
7045 if (!wxPyCheckForApp()) SWIG_fail;
7046 PyThreadState* __tstate = wxPyBeginAllowThreads();
7047 result = wxFrame::GetClassDefaultAttributes(arg1);
7048 wxPyEndAllowThreads(__tstate);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
7051 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7052 return resultobj;
7053 fail:
7054 return NULL;
7055 }
7056
7057
7058 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7059 PyObject *obj;
7060 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7061 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7062 return SWIG_Py_Void();
7063 }
7064
7065 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7066 return SWIG_Python_InitShadowInstance(args);
7067 }
7068
7069 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7070 PyObject *resultobj = 0;
7071 wxWindow *arg1 = (wxWindow *) 0 ;
7072 int arg2 = (int) (int)-1 ;
7073 wxString const &arg3_defvalue = wxPyEmptyString ;
7074 wxString *arg3 = (wxString *) &arg3_defvalue ;
7075 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7076 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7077 wxSize const &arg5_defvalue = wxDefaultSize ;
7078 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7079 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7080 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7081 wxString *arg7 = (wxString *) &arg7_defvalue ;
7082 wxDialog *result = 0 ;
7083 void *argp1 = 0 ;
7084 int res1 = 0 ;
7085 int val2 ;
7086 int ecode2 = 0 ;
7087 bool temp3 = false ;
7088 wxPoint temp4 ;
7089 wxSize temp5 ;
7090 long val6 ;
7091 int ecode6 = 0 ;
7092 bool temp7 = false ;
7093 PyObject * obj0 = 0 ;
7094 PyObject * obj1 = 0 ;
7095 PyObject * obj2 = 0 ;
7096 PyObject * obj3 = 0 ;
7097 PyObject * obj4 = 0 ;
7098 PyObject * obj5 = 0 ;
7099 PyObject * obj6 = 0 ;
7100 char * kwnames[] = {
7101 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7102 };
7103
7104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7106 if (!SWIG_IsOK(res1)) {
7107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7108 }
7109 arg1 = reinterpret_cast< wxWindow * >(argp1);
7110 if (obj1) {
7111 ecode2 = SWIG_AsVal_int(obj1, &val2);
7112 if (!SWIG_IsOK(ecode2)) {
7113 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7114 }
7115 arg2 = static_cast< int >(val2);
7116 }
7117 if (obj2) {
7118 {
7119 arg3 = wxString_in_helper(obj2);
7120 if (arg3 == NULL) SWIG_fail;
7121 temp3 = true;
7122 }
7123 }
7124 if (obj3) {
7125 {
7126 arg4 = &temp4;
7127 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7128 }
7129 }
7130 if (obj4) {
7131 {
7132 arg5 = &temp5;
7133 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7134 }
7135 }
7136 if (obj5) {
7137 ecode6 = SWIG_AsVal_long(obj5, &val6);
7138 if (!SWIG_IsOK(ecode6)) {
7139 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7140 }
7141 arg6 = static_cast< long >(val6);
7142 }
7143 if (obj6) {
7144 {
7145 arg7 = wxString_in_helper(obj6);
7146 if (arg7 == NULL) SWIG_fail;
7147 temp7 = true;
7148 }
7149 }
7150 {
7151 if (!wxPyCheckForApp()) SWIG_fail;
7152 PyThreadState* __tstate = wxPyBeginAllowThreads();
7153 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7154 wxPyEndAllowThreads(__tstate);
7155 if (PyErr_Occurred()) SWIG_fail;
7156 }
7157 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7158 {
7159 if (temp3)
7160 delete arg3;
7161 }
7162 {
7163 if (temp7)
7164 delete arg7;
7165 }
7166 return resultobj;
7167 fail:
7168 {
7169 if (temp3)
7170 delete arg3;
7171 }
7172 {
7173 if (temp7)
7174 delete arg7;
7175 }
7176 return NULL;
7177 }
7178
7179
7180 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7181 PyObject *resultobj = 0;
7182 wxDialog *result = 0 ;
7183
7184 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7185 {
7186 if (!wxPyCheckForApp()) SWIG_fail;
7187 PyThreadState* __tstate = wxPyBeginAllowThreads();
7188 result = (wxDialog *)new wxDialog();
7189 wxPyEndAllowThreads(__tstate);
7190 if (PyErr_Occurred()) SWIG_fail;
7191 }
7192 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7193 return resultobj;
7194 fail:
7195 return NULL;
7196 }
7197
7198
7199 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7200 PyObject *resultobj = 0;
7201 wxDialog *arg1 = (wxDialog *) 0 ;
7202 wxWindow *arg2 = (wxWindow *) 0 ;
7203 int arg3 = (int) (int)-1 ;
7204 wxString const &arg4_defvalue = wxPyEmptyString ;
7205 wxString *arg4 = (wxString *) &arg4_defvalue ;
7206 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7207 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7208 wxSize const &arg6_defvalue = wxDefaultSize ;
7209 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7210 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7211 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7212 wxString *arg8 = (wxString *) &arg8_defvalue ;
7213 bool result;
7214 void *argp1 = 0 ;
7215 int res1 = 0 ;
7216 void *argp2 = 0 ;
7217 int res2 = 0 ;
7218 int val3 ;
7219 int ecode3 = 0 ;
7220 bool temp4 = false ;
7221 wxPoint temp5 ;
7222 wxSize temp6 ;
7223 long val7 ;
7224 int ecode7 = 0 ;
7225 bool temp8 = false ;
7226 PyObject * obj0 = 0 ;
7227 PyObject * obj1 = 0 ;
7228 PyObject * obj2 = 0 ;
7229 PyObject * obj3 = 0 ;
7230 PyObject * obj4 = 0 ;
7231 PyObject * obj5 = 0 ;
7232 PyObject * obj6 = 0 ;
7233 PyObject * obj7 = 0 ;
7234 char * kwnames[] = {
7235 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7236 };
7237
7238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7240 if (!SWIG_IsOK(res1)) {
7241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7242 }
7243 arg1 = reinterpret_cast< wxDialog * >(argp1);
7244 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7245 if (!SWIG_IsOK(res2)) {
7246 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7247 }
7248 arg2 = reinterpret_cast< wxWindow * >(argp2);
7249 if (obj2) {
7250 ecode3 = SWIG_AsVal_int(obj2, &val3);
7251 if (!SWIG_IsOK(ecode3)) {
7252 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7253 }
7254 arg3 = static_cast< int >(val3);
7255 }
7256 if (obj3) {
7257 {
7258 arg4 = wxString_in_helper(obj3);
7259 if (arg4 == NULL) SWIG_fail;
7260 temp4 = true;
7261 }
7262 }
7263 if (obj4) {
7264 {
7265 arg5 = &temp5;
7266 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7267 }
7268 }
7269 if (obj5) {
7270 {
7271 arg6 = &temp6;
7272 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7273 }
7274 }
7275 if (obj6) {
7276 ecode7 = SWIG_AsVal_long(obj6, &val7);
7277 if (!SWIG_IsOK(ecode7)) {
7278 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7279 }
7280 arg7 = static_cast< long >(val7);
7281 }
7282 if (obj7) {
7283 {
7284 arg8 = wxString_in_helper(obj7);
7285 if (arg8 == NULL) SWIG_fail;
7286 temp8 = true;
7287 }
7288 }
7289 {
7290 PyThreadState* __tstate = wxPyBeginAllowThreads();
7291 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7292 wxPyEndAllowThreads(__tstate);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 }
7295 {
7296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7297 }
7298 {
7299 if (temp4)
7300 delete arg4;
7301 }
7302 {
7303 if (temp8)
7304 delete arg8;
7305 }
7306 return resultobj;
7307 fail:
7308 {
7309 if (temp4)
7310 delete arg4;
7311 }
7312 {
7313 if (temp8)
7314 delete arg8;
7315 }
7316 return NULL;
7317 }
7318
7319
7320 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7321 PyObject *resultobj = 0;
7322 wxDialog *arg1 = (wxDialog *) 0 ;
7323 int arg2 ;
7324 void *argp1 = 0 ;
7325 int res1 = 0 ;
7326 int val2 ;
7327 int ecode2 = 0 ;
7328 PyObject * obj0 = 0 ;
7329 PyObject * obj1 = 0 ;
7330 char * kwnames[] = {
7331 (char *) "self",(char *) "returnCode", NULL
7332 };
7333
7334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7336 if (!SWIG_IsOK(res1)) {
7337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7338 }
7339 arg1 = reinterpret_cast< wxDialog * >(argp1);
7340 ecode2 = SWIG_AsVal_int(obj1, &val2);
7341 if (!SWIG_IsOK(ecode2)) {
7342 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7343 }
7344 arg2 = static_cast< int >(val2);
7345 {
7346 PyThreadState* __tstate = wxPyBeginAllowThreads();
7347 (arg1)->SetReturnCode(arg2);
7348 wxPyEndAllowThreads(__tstate);
7349 if (PyErr_Occurred()) SWIG_fail;
7350 }
7351 resultobj = SWIG_Py_Void();
7352 return resultobj;
7353 fail:
7354 return NULL;
7355 }
7356
7357
7358 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7359 PyObject *resultobj = 0;
7360 wxDialog *arg1 = (wxDialog *) 0 ;
7361 int result;
7362 void *argp1 = 0 ;
7363 int res1 = 0 ;
7364 PyObject *swig_obj[1] ;
7365
7366 if (!args) SWIG_fail;
7367 swig_obj[0] = args;
7368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7369 if (!SWIG_IsOK(res1)) {
7370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7371 }
7372 arg1 = reinterpret_cast< wxDialog * >(argp1);
7373 {
7374 PyThreadState* __tstate = wxPyBeginAllowThreads();
7375 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7376 wxPyEndAllowThreads(__tstate);
7377 if (PyErr_Occurred()) SWIG_fail;
7378 }
7379 resultobj = SWIG_From_int(static_cast< int >(result));
7380 return resultobj;
7381 fail:
7382 return NULL;
7383 }
7384
7385
7386 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7387 PyObject *resultobj = 0;
7388 wxDialog *arg1 = (wxDialog *) 0 ;
7389 int arg2 ;
7390 void *argp1 = 0 ;
7391 int res1 = 0 ;
7392 int val2 ;
7393 int ecode2 = 0 ;
7394 PyObject * obj0 = 0 ;
7395 PyObject * obj1 = 0 ;
7396 char * kwnames[] = {
7397 (char *) "self",(char *) "affirmativeId", NULL
7398 };
7399
7400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7402 if (!SWIG_IsOK(res1)) {
7403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7404 }
7405 arg1 = reinterpret_cast< wxDialog * >(argp1);
7406 ecode2 = SWIG_AsVal_int(obj1, &val2);
7407 if (!SWIG_IsOK(ecode2)) {
7408 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7409 }
7410 arg2 = static_cast< int >(val2);
7411 {
7412 PyThreadState* __tstate = wxPyBeginAllowThreads();
7413 (arg1)->SetAffirmativeId(arg2);
7414 wxPyEndAllowThreads(__tstate);
7415 if (PyErr_Occurred()) SWIG_fail;
7416 }
7417 resultobj = SWIG_Py_Void();
7418 return resultobj;
7419 fail:
7420 return NULL;
7421 }
7422
7423
7424 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7425 PyObject *resultobj = 0;
7426 wxDialog *arg1 = (wxDialog *) 0 ;
7427 int result;
7428 void *argp1 = 0 ;
7429 int res1 = 0 ;
7430 PyObject *swig_obj[1] ;
7431
7432 if (!args) SWIG_fail;
7433 swig_obj[0] = args;
7434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7435 if (!SWIG_IsOK(res1)) {
7436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7437 }
7438 arg1 = reinterpret_cast< wxDialog * >(argp1);
7439 {
7440 PyThreadState* __tstate = wxPyBeginAllowThreads();
7441 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7442 wxPyEndAllowThreads(__tstate);
7443 if (PyErr_Occurred()) SWIG_fail;
7444 }
7445 resultobj = SWIG_From_int(static_cast< int >(result));
7446 return resultobj;
7447 fail:
7448 return NULL;
7449 }
7450
7451
7452 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7453 PyObject *resultobj = 0;
7454 wxDialog *arg1 = (wxDialog *) 0 ;
7455 int arg2 ;
7456 void *argp1 = 0 ;
7457 int res1 = 0 ;
7458 int val2 ;
7459 int ecode2 = 0 ;
7460 PyObject * obj0 = 0 ;
7461 PyObject * obj1 = 0 ;
7462 char * kwnames[] = {
7463 (char *) "self",(char *) "escapeId", NULL
7464 };
7465
7466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7468 if (!SWIG_IsOK(res1)) {
7469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7470 }
7471 arg1 = reinterpret_cast< wxDialog * >(argp1);
7472 ecode2 = SWIG_AsVal_int(obj1, &val2);
7473 if (!SWIG_IsOK(ecode2)) {
7474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7475 }
7476 arg2 = static_cast< int >(val2);
7477 {
7478 PyThreadState* __tstate = wxPyBeginAllowThreads();
7479 (arg1)->SetEscapeId(arg2);
7480 wxPyEndAllowThreads(__tstate);
7481 if (PyErr_Occurred()) SWIG_fail;
7482 }
7483 resultobj = SWIG_Py_Void();
7484 return resultobj;
7485 fail:
7486 return NULL;
7487 }
7488
7489
7490 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7491 PyObject *resultobj = 0;
7492 wxDialog *arg1 = (wxDialog *) 0 ;
7493 int result;
7494 void *argp1 = 0 ;
7495 int res1 = 0 ;
7496 PyObject *swig_obj[1] ;
7497
7498 if (!args) SWIG_fail;
7499 swig_obj[0] = args;
7500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7501 if (!SWIG_IsOK(res1)) {
7502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7503 }
7504 arg1 = reinterpret_cast< wxDialog * >(argp1);
7505 {
7506 PyThreadState* __tstate = wxPyBeginAllowThreads();
7507 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7508 wxPyEndAllowThreads(__tstate);
7509 if (PyErr_Occurred()) SWIG_fail;
7510 }
7511 resultobj = SWIG_From_int(static_cast< int >(result));
7512 return resultobj;
7513 fail:
7514 return NULL;
7515 }
7516
7517
7518 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7519 PyObject *resultobj = 0;
7520 wxDialog *arg1 = (wxDialog *) 0 ;
7521 wxString *arg2 = 0 ;
7522 wxSizer *result = 0 ;
7523 void *argp1 = 0 ;
7524 int res1 = 0 ;
7525 bool temp2 = false ;
7526 PyObject * obj0 = 0 ;
7527 PyObject * obj1 = 0 ;
7528 char * kwnames[] = {
7529 (char *) "self",(char *) "message", NULL
7530 };
7531
7532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7534 if (!SWIG_IsOK(res1)) {
7535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7536 }
7537 arg1 = reinterpret_cast< wxDialog * >(argp1);
7538 {
7539 arg2 = wxString_in_helper(obj1);
7540 if (arg2 == NULL) SWIG_fail;
7541 temp2 = true;
7542 }
7543 {
7544 PyThreadState* __tstate = wxPyBeginAllowThreads();
7545 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
7549 {
7550 resultobj = wxPyMake_wxObject(result, (bool)0);
7551 }
7552 {
7553 if (temp2)
7554 delete arg2;
7555 }
7556 return resultobj;
7557 fail:
7558 {
7559 if (temp2)
7560 delete arg2;
7561 }
7562 return NULL;
7563 }
7564
7565
7566 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7567 PyObject *resultobj = 0;
7568 wxDialog *arg1 = (wxDialog *) 0 ;
7569 long arg2 ;
7570 bool arg3 = (bool) false ;
7571 int arg4 = (int) 0 ;
7572 wxSizer *result = 0 ;
7573 void *argp1 = 0 ;
7574 int res1 = 0 ;
7575 long val2 ;
7576 int ecode2 = 0 ;
7577 bool val3 ;
7578 int ecode3 = 0 ;
7579 int val4 ;
7580 int ecode4 = 0 ;
7581 PyObject * obj0 = 0 ;
7582 PyObject * obj1 = 0 ;
7583 PyObject * obj2 = 0 ;
7584 PyObject * obj3 = 0 ;
7585 char * kwnames[] = {
7586 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7587 };
7588
7589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7591 if (!SWIG_IsOK(res1)) {
7592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7593 }
7594 arg1 = reinterpret_cast< wxDialog * >(argp1);
7595 ecode2 = SWIG_AsVal_long(obj1, &val2);
7596 if (!SWIG_IsOK(ecode2)) {
7597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7598 }
7599 arg2 = static_cast< long >(val2);
7600 if (obj2) {
7601 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7602 if (!SWIG_IsOK(ecode3)) {
7603 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7604 }
7605 arg3 = static_cast< bool >(val3);
7606 }
7607 if (obj3) {
7608 ecode4 = SWIG_AsVal_int(obj3, &val4);
7609 if (!SWIG_IsOK(ecode4)) {
7610 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7611 }
7612 arg4 = static_cast< int >(val4);
7613 }
7614 {
7615 PyThreadState* __tstate = wxPyBeginAllowThreads();
7616 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7617 wxPyEndAllowThreads(__tstate);
7618 if (PyErr_Occurred()) SWIG_fail;
7619 }
7620 {
7621 resultobj = wxPyMake_wxObject(result, (bool)0);
7622 }
7623 return resultobj;
7624 fail:
7625 return NULL;
7626 }
7627
7628
7629 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7630 PyObject *resultobj = 0;
7631 wxDialog *arg1 = (wxDialog *) 0 ;
7632 long arg2 ;
7633 wxStdDialogButtonSizer *result = 0 ;
7634 void *argp1 = 0 ;
7635 int res1 = 0 ;
7636 long val2 ;
7637 int ecode2 = 0 ;
7638 PyObject * obj0 = 0 ;
7639 PyObject * obj1 = 0 ;
7640 char * kwnames[] = {
7641 (char *) "self",(char *) "flags", NULL
7642 };
7643
7644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7646 if (!SWIG_IsOK(res1)) {
7647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7648 }
7649 arg1 = reinterpret_cast< wxDialog * >(argp1);
7650 ecode2 = SWIG_AsVal_long(obj1, &val2);
7651 if (!SWIG_IsOK(ecode2)) {
7652 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7653 }
7654 arg2 = static_cast< long >(val2);
7655 {
7656 PyThreadState* __tstate = wxPyBeginAllowThreads();
7657 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7658 wxPyEndAllowThreads(__tstate);
7659 if (PyErr_Occurred()) SWIG_fail;
7660 }
7661 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7662 return resultobj;
7663 fail:
7664 return NULL;
7665 }
7666
7667
7668 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7669 PyObject *resultobj = 0;
7670 wxDialog *arg1 = (wxDialog *) 0 ;
7671 bool result;
7672 void *argp1 = 0 ;
7673 int res1 = 0 ;
7674 PyObject *swig_obj[1] ;
7675
7676 if (!args) SWIG_fail;
7677 swig_obj[0] = args;
7678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7679 if (!SWIG_IsOK(res1)) {
7680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7681 }
7682 arg1 = reinterpret_cast< wxDialog * >(argp1);
7683 {
7684 PyThreadState* __tstate = wxPyBeginAllowThreads();
7685 result = (bool)((wxDialog const *)arg1)->IsModal();
7686 wxPyEndAllowThreads(__tstate);
7687 if (PyErr_Occurred()) SWIG_fail;
7688 }
7689 {
7690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7691 }
7692 return resultobj;
7693 fail:
7694 return NULL;
7695 }
7696
7697
7698 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7699 PyObject *resultobj = 0;
7700 wxDialog *arg1 = (wxDialog *) 0 ;
7701 int result;
7702 void *argp1 = 0 ;
7703 int res1 = 0 ;
7704 PyObject *swig_obj[1] ;
7705
7706 if (!args) SWIG_fail;
7707 swig_obj[0] = args;
7708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7709 if (!SWIG_IsOK(res1)) {
7710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7711 }
7712 arg1 = reinterpret_cast< wxDialog * >(argp1);
7713 {
7714 PyThreadState* __tstate = wxPyBeginAllowThreads();
7715 result = (int)(arg1)->ShowModal();
7716 wxPyEndAllowThreads(__tstate);
7717 if (PyErr_Occurred()) SWIG_fail;
7718 }
7719 resultobj = SWIG_From_int(static_cast< int >(result));
7720 return resultobj;
7721 fail:
7722 return NULL;
7723 }
7724
7725
7726 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7727 PyObject *resultobj = 0;
7728 wxDialog *arg1 = (wxDialog *) 0 ;
7729 int arg2 ;
7730 void *argp1 = 0 ;
7731 int res1 = 0 ;
7732 int val2 ;
7733 int ecode2 = 0 ;
7734 PyObject * obj0 = 0 ;
7735 PyObject * obj1 = 0 ;
7736 char * kwnames[] = {
7737 (char *) "self",(char *) "retCode", NULL
7738 };
7739
7740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7742 if (!SWIG_IsOK(res1)) {
7743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7744 }
7745 arg1 = reinterpret_cast< wxDialog * >(argp1);
7746 ecode2 = SWIG_AsVal_int(obj1, &val2);
7747 if (!SWIG_IsOK(ecode2)) {
7748 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7749 }
7750 arg2 = static_cast< int >(val2);
7751 {
7752 PyThreadState* __tstate = wxPyBeginAllowThreads();
7753 (arg1)->EndModal(arg2);
7754 wxPyEndAllowThreads(__tstate);
7755 if (PyErr_Occurred()) SWIG_fail;
7756 }
7757 resultobj = SWIG_Py_Void();
7758 return resultobj;
7759 fail:
7760 return NULL;
7761 }
7762
7763
7764 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7765 PyObject *resultobj = 0;
7766 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7767 SwigValueWrapper<wxVisualAttributes > result;
7768 int val1 ;
7769 int ecode1 = 0 ;
7770 PyObject * obj0 = 0 ;
7771 char * kwnames[] = {
7772 (char *) "variant", NULL
7773 };
7774
7775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7776 if (obj0) {
7777 ecode1 = SWIG_AsVal_int(obj0, &val1);
7778 if (!SWIG_IsOK(ecode1)) {
7779 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7780 }
7781 arg1 = static_cast< wxWindowVariant >(val1);
7782 }
7783 {
7784 if (!wxPyCheckForApp()) SWIG_fail;
7785 PyThreadState* __tstate = wxPyBeginAllowThreads();
7786 result = wxDialog::GetClassDefaultAttributes(arg1);
7787 wxPyEndAllowThreads(__tstate);
7788 if (PyErr_Occurred()) SWIG_fail;
7789 }
7790 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7791 return resultobj;
7792 fail:
7793 return NULL;
7794 }
7795
7796
7797 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7798 PyObject *obj;
7799 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7800 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7801 return SWIG_Py_Void();
7802 }
7803
7804 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7805 return SWIG_Python_InitShadowInstance(args);
7806 }
7807
7808 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7809 PyObject *resultobj = 0;
7810 wxWindow *arg1 = (wxWindow *) 0 ;
7811 int arg2 = (int) (int)-1 ;
7812 wxString const &arg3_defvalue = wxPyEmptyString ;
7813 wxString *arg3 = (wxString *) &arg3_defvalue ;
7814 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7815 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7816 wxSize const &arg5_defvalue = wxDefaultSize ;
7817 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7818 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
7819 wxString const &arg7_defvalue = wxPyFrameNameStr ;
7820 wxString *arg7 = (wxString *) &arg7_defvalue ;
7821 wxMiniFrame *result = 0 ;
7822 void *argp1 = 0 ;
7823 int res1 = 0 ;
7824 int val2 ;
7825 int ecode2 = 0 ;
7826 bool temp3 = false ;
7827 wxPoint temp4 ;
7828 wxSize temp5 ;
7829 long val6 ;
7830 int ecode6 = 0 ;
7831 bool temp7 = false ;
7832 PyObject * obj0 = 0 ;
7833 PyObject * obj1 = 0 ;
7834 PyObject * obj2 = 0 ;
7835 PyObject * obj3 = 0 ;
7836 PyObject * obj4 = 0 ;
7837 PyObject * obj5 = 0 ;
7838 PyObject * obj6 = 0 ;
7839 char * kwnames[] = {
7840 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7841 };
7842
7843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7845 if (!SWIG_IsOK(res1)) {
7846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7847 }
7848 arg1 = reinterpret_cast< wxWindow * >(argp1);
7849 if (obj1) {
7850 ecode2 = SWIG_AsVal_int(obj1, &val2);
7851 if (!SWIG_IsOK(ecode2)) {
7852 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7853 }
7854 arg2 = static_cast< int >(val2);
7855 }
7856 if (obj2) {
7857 {
7858 arg3 = wxString_in_helper(obj2);
7859 if (arg3 == NULL) SWIG_fail;
7860 temp3 = true;
7861 }
7862 }
7863 if (obj3) {
7864 {
7865 arg4 = &temp4;
7866 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7867 }
7868 }
7869 if (obj4) {
7870 {
7871 arg5 = &temp5;
7872 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7873 }
7874 }
7875 if (obj5) {
7876 ecode6 = SWIG_AsVal_long(obj5, &val6);
7877 if (!SWIG_IsOK(ecode6)) {
7878 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7879 }
7880 arg6 = static_cast< long >(val6);
7881 }
7882 if (obj6) {
7883 {
7884 arg7 = wxString_in_helper(obj6);
7885 if (arg7 == NULL) SWIG_fail;
7886 temp7 = true;
7887 }
7888 }
7889 {
7890 if (!wxPyCheckForApp()) SWIG_fail;
7891 PyThreadState* __tstate = wxPyBeginAllowThreads();
7892 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7893 wxPyEndAllowThreads(__tstate);
7894 if (PyErr_Occurred()) SWIG_fail;
7895 }
7896 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
7897 {
7898 if (temp3)
7899 delete arg3;
7900 }
7901 {
7902 if (temp7)
7903 delete arg7;
7904 }
7905 return resultobj;
7906 fail:
7907 {
7908 if (temp3)
7909 delete arg3;
7910 }
7911 {
7912 if (temp7)
7913 delete arg7;
7914 }
7915 return NULL;
7916 }
7917
7918
7919 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7920 PyObject *resultobj = 0;
7921 wxMiniFrame *result = 0 ;
7922
7923 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
7924 {
7925 if (!wxPyCheckForApp()) SWIG_fail;
7926 PyThreadState* __tstate = wxPyBeginAllowThreads();
7927 result = (wxMiniFrame *)new wxMiniFrame();
7928 wxPyEndAllowThreads(__tstate);
7929 if (PyErr_Occurred()) SWIG_fail;
7930 }
7931 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
7932 return resultobj;
7933 fail:
7934 return NULL;
7935 }
7936
7937
7938 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7939 PyObject *resultobj = 0;
7940 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
7941 wxWindow *arg2 = (wxWindow *) 0 ;
7942 int arg3 = (int) (int)-1 ;
7943 wxString const &arg4_defvalue = wxPyEmptyString ;
7944 wxString *arg4 = (wxString *) &arg4_defvalue ;
7945 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7946 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7947 wxSize const &arg6_defvalue = wxDefaultSize ;
7948 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7949 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
7950 wxString const &arg8_defvalue = wxPyFrameNameStr ;
7951 wxString *arg8 = (wxString *) &arg8_defvalue ;
7952 bool result;
7953 void *argp1 = 0 ;
7954 int res1 = 0 ;
7955 void *argp2 = 0 ;
7956 int res2 = 0 ;
7957 int val3 ;
7958 int ecode3 = 0 ;
7959 bool temp4 = false ;
7960 wxPoint temp5 ;
7961 wxSize temp6 ;
7962 long val7 ;
7963 int ecode7 = 0 ;
7964 bool temp8 = false ;
7965 PyObject * obj0 = 0 ;
7966 PyObject * obj1 = 0 ;
7967 PyObject * obj2 = 0 ;
7968 PyObject * obj3 = 0 ;
7969 PyObject * obj4 = 0 ;
7970 PyObject * obj5 = 0 ;
7971 PyObject * obj6 = 0 ;
7972 PyObject * obj7 = 0 ;
7973 char * kwnames[] = {
7974 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7975 };
7976
7977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
7979 if (!SWIG_IsOK(res1)) {
7980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7981 }
7982 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
7983 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7984 if (!SWIG_IsOK(res2)) {
7985 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7986 }
7987 arg2 = reinterpret_cast< wxWindow * >(argp2);
7988 if (obj2) {
7989 ecode3 = SWIG_AsVal_int(obj2, &val3);
7990 if (!SWIG_IsOK(ecode3)) {
7991 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7992 }
7993 arg3 = static_cast< int >(val3);
7994 }
7995 if (obj3) {
7996 {
7997 arg4 = wxString_in_helper(obj3);
7998 if (arg4 == NULL) SWIG_fail;
7999 temp4 = true;
8000 }
8001 }
8002 if (obj4) {
8003 {
8004 arg5 = &temp5;
8005 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8006 }
8007 }
8008 if (obj5) {
8009 {
8010 arg6 = &temp6;
8011 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8012 }
8013 }
8014 if (obj6) {
8015 ecode7 = SWIG_AsVal_long(obj6, &val7);
8016 if (!SWIG_IsOK(ecode7)) {
8017 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8018 }
8019 arg7 = static_cast< long >(val7);
8020 }
8021 if (obj7) {
8022 {
8023 arg8 = wxString_in_helper(obj7);
8024 if (arg8 == NULL) SWIG_fail;
8025 temp8 = true;
8026 }
8027 }
8028 {
8029 PyThreadState* __tstate = wxPyBeginAllowThreads();
8030 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8031 wxPyEndAllowThreads(__tstate);
8032 if (PyErr_Occurred()) SWIG_fail;
8033 }
8034 {
8035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8036 }
8037 {
8038 if (temp4)
8039 delete arg4;
8040 }
8041 {
8042 if (temp8)
8043 delete arg8;
8044 }
8045 return resultobj;
8046 fail:
8047 {
8048 if (temp4)
8049 delete arg4;
8050 }
8051 {
8052 if (temp8)
8053 delete arg8;
8054 }
8055 return NULL;
8056 }
8057
8058
8059 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8060 PyObject *obj;
8061 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8062 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8063 return SWIG_Py_Void();
8064 }
8065
8066 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8067 return SWIG_Python_InitShadowInstance(args);
8068 }
8069
8070 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8071 PyObject *resultobj = 0;
8072 wxBitmap *arg1 = 0 ;
8073 wxWindow *arg2 = (wxWindow *) 0 ;
8074 int arg3 ;
8075 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8076 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8077 wxSize const &arg5_defvalue = wxDefaultSize ;
8078 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8079 long arg6 = (long) wxNO_BORDER ;
8080 wxSplashScreenWindow *result = 0 ;
8081 void *argp1 = 0 ;
8082 int res1 = 0 ;
8083 void *argp2 = 0 ;
8084 int res2 = 0 ;
8085 int val3 ;
8086 int ecode3 = 0 ;
8087 wxPoint temp4 ;
8088 wxSize temp5 ;
8089 long val6 ;
8090 int ecode6 = 0 ;
8091 PyObject * obj0 = 0 ;
8092 PyObject * obj1 = 0 ;
8093 PyObject * obj2 = 0 ;
8094 PyObject * obj3 = 0 ;
8095 PyObject * obj4 = 0 ;
8096 PyObject * obj5 = 0 ;
8097 char * kwnames[] = {
8098 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8099 };
8100
8101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8102 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8103 if (!SWIG_IsOK(res1)) {
8104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8105 }
8106 if (!argp1) {
8107 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8108 }
8109 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8110 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8111 if (!SWIG_IsOK(res2)) {
8112 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8113 }
8114 arg2 = reinterpret_cast< wxWindow * >(argp2);
8115 ecode3 = SWIG_AsVal_int(obj2, &val3);
8116 if (!SWIG_IsOK(ecode3)) {
8117 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8118 }
8119 arg3 = static_cast< int >(val3);
8120 if (obj3) {
8121 {
8122 arg4 = &temp4;
8123 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8124 }
8125 }
8126 if (obj4) {
8127 {
8128 arg5 = &temp5;
8129 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8130 }
8131 }
8132 if (obj5) {
8133 ecode6 = SWIG_AsVal_long(obj5, &val6);
8134 if (!SWIG_IsOK(ecode6)) {
8135 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8136 }
8137 arg6 = static_cast< long >(val6);
8138 }
8139 {
8140 if (!wxPyCheckForApp()) SWIG_fail;
8141 PyThreadState* __tstate = wxPyBeginAllowThreads();
8142 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8143 wxPyEndAllowThreads(__tstate);
8144 if (PyErr_Occurred()) SWIG_fail;
8145 }
8146 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8147 return resultobj;
8148 fail:
8149 return NULL;
8150 }
8151
8152
8153 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8154 PyObject *resultobj = 0;
8155 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8156 wxBitmap *arg2 = 0 ;
8157 void *argp1 = 0 ;
8158 int res1 = 0 ;
8159 void *argp2 = 0 ;
8160 int res2 = 0 ;
8161 PyObject * obj0 = 0 ;
8162 PyObject * obj1 = 0 ;
8163 char * kwnames[] = {
8164 (char *) "self",(char *) "bitmap", NULL
8165 };
8166
8167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8169 if (!SWIG_IsOK(res1)) {
8170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8171 }
8172 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8173 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8174 if (!SWIG_IsOK(res2)) {
8175 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8176 }
8177 if (!argp2) {
8178 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8179 }
8180 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8181 {
8182 PyThreadState* __tstate = wxPyBeginAllowThreads();
8183 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8184 wxPyEndAllowThreads(__tstate);
8185 if (PyErr_Occurred()) SWIG_fail;
8186 }
8187 resultobj = SWIG_Py_Void();
8188 return resultobj;
8189 fail:
8190 return NULL;
8191 }
8192
8193
8194 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8195 PyObject *resultobj = 0;
8196 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8197 wxBitmap *result = 0 ;
8198 void *argp1 = 0 ;
8199 int res1 = 0 ;
8200 PyObject *swig_obj[1] ;
8201
8202 if (!args) SWIG_fail;
8203 swig_obj[0] = args;
8204 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8205 if (!SWIG_IsOK(res1)) {
8206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8207 }
8208 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8209 {
8210 PyThreadState* __tstate = wxPyBeginAllowThreads();
8211 {
8212 wxBitmap &_result_ref = (arg1)->GetBitmap();
8213 result = (wxBitmap *) &_result_ref;
8214 }
8215 wxPyEndAllowThreads(__tstate);
8216 if (PyErr_Occurred()) SWIG_fail;
8217 }
8218 {
8219 wxBitmap* resultptr = new wxBitmap(*result);
8220 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8221 }
8222 return resultobj;
8223 fail:
8224 return NULL;
8225 }
8226
8227
8228 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8229 PyObject *obj;
8230 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8231 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8232 return SWIG_Py_Void();
8233 }
8234
8235 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8236 return SWIG_Python_InitShadowInstance(args);
8237 }
8238
8239 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8240 PyObject *resultobj = 0;
8241 wxBitmap *arg1 = 0 ;
8242 long arg2 ;
8243 int arg3 ;
8244 wxWindow *arg4 = (wxWindow *) 0 ;
8245 int arg5 = (int) -1 ;
8246 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8247 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8248 wxSize const &arg7_defvalue = wxDefaultSize ;
8249 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8250 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8251 wxSplashScreen *result = 0 ;
8252 void *argp1 = 0 ;
8253 int res1 = 0 ;
8254 long val2 ;
8255 int ecode2 = 0 ;
8256 int val3 ;
8257 int ecode3 = 0 ;
8258 void *argp4 = 0 ;
8259 int res4 = 0 ;
8260 int val5 ;
8261 int ecode5 = 0 ;
8262 wxPoint temp6 ;
8263 wxSize temp7 ;
8264 long val8 ;
8265 int ecode8 = 0 ;
8266 PyObject * obj0 = 0 ;
8267 PyObject * obj1 = 0 ;
8268 PyObject * obj2 = 0 ;
8269 PyObject * obj3 = 0 ;
8270 PyObject * obj4 = 0 ;
8271 PyObject * obj5 = 0 ;
8272 PyObject * obj6 = 0 ;
8273 PyObject * obj7 = 0 ;
8274 char * kwnames[] = {
8275 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8276 };
8277
8278 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8279 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8280 if (!SWIG_IsOK(res1)) {
8281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8282 }
8283 if (!argp1) {
8284 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8285 }
8286 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8287 ecode2 = SWIG_AsVal_long(obj1, &val2);
8288 if (!SWIG_IsOK(ecode2)) {
8289 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8290 }
8291 arg2 = static_cast< long >(val2);
8292 ecode3 = SWIG_AsVal_int(obj2, &val3);
8293 if (!SWIG_IsOK(ecode3)) {
8294 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8295 }
8296 arg3 = static_cast< int >(val3);
8297 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8298 if (!SWIG_IsOK(res4)) {
8299 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8300 }
8301 arg4 = reinterpret_cast< wxWindow * >(argp4);
8302 if (obj4) {
8303 ecode5 = SWIG_AsVal_int(obj4, &val5);
8304 if (!SWIG_IsOK(ecode5)) {
8305 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8306 }
8307 arg5 = static_cast< int >(val5);
8308 }
8309 if (obj5) {
8310 {
8311 arg6 = &temp6;
8312 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8313 }
8314 }
8315 if (obj6) {
8316 {
8317 arg7 = &temp7;
8318 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8319 }
8320 }
8321 if (obj7) {
8322 ecode8 = SWIG_AsVal_long(obj7, &val8);
8323 if (!SWIG_IsOK(ecode8)) {
8324 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8325 }
8326 arg8 = static_cast< long >(val8);
8327 }
8328 {
8329 if (!wxPyCheckForApp()) SWIG_fail;
8330 PyThreadState* __tstate = wxPyBeginAllowThreads();
8331 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8332 wxPyEndAllowThreads(__tstate);
8333 if (PyErr_Occurred()) SWIG_fail;
8334 }
8335 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8336 return resultobj;
8337 fail:
8338 return NULL;
8339 }
8340
8341
8342 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8343 PyObject *resultobj = 0;
8344 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8345 long result;
8346 void *argp1 = 0 ;
8347 int res1 = 0 ;
8348 PyObject *swig_obj[1] ;
8349
8350 if (!args) SWIG_fail;
8351 swig_obj[0] = args;
8352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8353 if (!SWIG_IsOK(res1)) {
8354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8355 }
8356 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8357 {
8358 PyThreadState* __tstate = wxPyBeginAllowThreads();
8359 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8360 wxPyEndAllowThreads(__tstate);
8361 if (PyErr_Occurred()) SWIG_fail;
8362 }
8363 resultobj = SWIG_From_long(static_cast< long >(result));
8364 return resultobj;
8365 fail:
8366 return NULL;
8367 }
8368
8369
8370 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8371 PyObject *resultobj = 0;
8372 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8373 wxSplashScreenWindow *result = 0 ;
8374 void *argp1 = 0 ;
8375 int res1 = 0 ;
8376 PyObject *swig_obj[1] ;
8377
8378 if (!args) SWIG_fail;
8379 swig_obj[0] = args;
8380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8381 if (!SWIG_IsOK(res1)) {
8382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8383 }
8384 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8385 {
8386 PyThreadState* __tstate = wxPyBeginAllowThreads();
8387 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8388 wxPyEndAllowThreads(__tstate);
8389 if (PyErr_Occurred()) SWIG_fail;
8390 }
8391 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8392 return resultobj;
8393 fail:
8394 return NULL;
8395 }
8396
8397
8398 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8399 PyObject *resultobj = 0;
8400 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8401 int result;
8402 void *argp1 = 0 ;
8403 int res1 = 0 ;
8404 PyObject *swig_obj[1] ;
8405
8406 if (!args) SWIG_fail;
8407 swig_obj[0] = args;
8408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8409 if (!SWIG_IsOK(res1)) {
8410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8411 }
8412 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8413 {
8414 PyThreadState* __tstate = wxPyBeginAllowThreads();
8415 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8416 wxPyEndAllowThreads(__tstate);
8417 if (PyErr_Occurred()) SWIG_fail;
8418 }
8419 resultobj = SWIG_From_int(static_cast< int >(result));
8420 return resultobj;
8421 fail:
8422 return NULL;
8423 }
8424
8425
8426 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8427 PyObject *obj;
8428 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8429 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8430 return SWIG_Py_Void();
8431 }
8432
8433 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8434 return SWIG_Python_InitShadowInstance(args);
8435 }
8436
8437 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8438 PyObject *resultobj = 0;
8439 wxWindow *arg1 = (wxWindow *) 0 ;
8440 int arg2 = (int) -1 ;
8441 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8442 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8443 wxString *arg4 = (wxString *) &arg4_defvalue ;
8444 wxStatusBar *result = 0 ;
8445 void *argp1 = 0 ;
8446 int res1 = 0 ;
8447 int val2 ;
8448 int ecode2 = 0 ;
8449 long val3 ;
8450 int ecode3 = 0 ;
8451 bool temp4 = false ;
8452 PyObject * obj0 = 0 ;
8453 PyObject * obj1 = 0 ;
8454 PyObject * obj2 = 0 ;
8455 PyObject * obj3 = 0 ;
8456 char * kwnames[] = {
8457 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8458 };
8459
8460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8462 if (!SWIG_IsOK(res1)) {
8463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8464 }
8465 arg1 = reinterpret_cast< wxWindow * >(argp1);
8466 if (obj1) {
8467 ecode2 = SWIG_AsVal_int(obj1, &val2);
8468 if (!SWIG_IsOK(ecode2)) {
8469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8470 }
8471 arg2 = static_cast< int >(val2);
8472 }
8473 if (obj2) {
8474 ecode3 = SWIG_AsVal_long(obj2, &val3);
8475 if (!SWIG_IsOK(ecode3)) {
8476 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8477 }
8478 arg3 = static_cast< long >(val3);
8479 }
8480 if (obj3) {
8481 {
8482 arg4 = wxString_in_helper(obj3);
8483 if (arg4 == NULL) SWIG_fail;
8484 temp4 = true;
8485 }
8486 }
8487 {
8488 if (!wxPyCheckForApp()) SWIG_fail;
8489 PyThreadState* __tstate = wxPyBeginAllowThreads();
8490 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8491 wxPyEndAllowThreads(__tstate);
8492 if (PyErr_Occurred()) SWIG_fail;
8493 }
8494 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8495 {
8496 if (temp4)
8497 delete arg4;
8498 }
8499 return resultobj;
8500 fail:
8501 {
8502 if (temp4)
8503 delete arg4;
8504 }
8505 return NULL;
8506 }
8507
8508
8509 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8510 PyObject *resultobj = 0;
8511 wxStatusBar *result = 0 ;
8512
8513 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8514 {
8515 if (!wxPyCheckForApp()) SWIG_fail;
8516 PyThreadState* __tstate = wxPyBeginAllowThreads();
8517 result = (wxStatusBar *)new wxStatusBar();
8518 wxPyEndAllowThreads(__tstate);
8519 if (PyErr_Occurred()) SWIG_fail;
8520 }
8521 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8522 return resultobj;
8523 fail:
8524 return NULL;
8525 }
8526
8527
8528 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8529 PyObject *resultobj = 0;
8530 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8531 wxWindow *arg2 = (wxWindow *) 0 ;
8532 int arg3 = (int) -1 ;
8533 long arg4 = (long) wxST_SIZEGRIP ;
8534 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8535 wxString *arg5 = (wxString *) &arg5_defvalue ;
8536 bool result;
8537 void *argp1 = 0 ;
8538 int res1 = 0 ;
8539 void *argp2 = 0 ;
8540 int res2 = 0 ;
8541 int val3 ;
8542 int ecode3 = 0 ;
8543 long val4 ;
8544 int ecode4 = 0 ;
8545 bool temp5 = false ;
8546 PyObject * obj0 = 0 ;
8547 PyObject * obj1 = 0 ;
8548 PyObject * obj2 = 0 ;
8549 PyObject * obj3 = 0 ;
8550 PyObject * obj4 = 0 ;
8551 char * kwnames[] = {
8552 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8553 };
8554
8555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8557 if (!SWIG_IsOK(res1)) {
8558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8559 }
8560 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8561 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8562 if (!SWIG_IsOK(res2)) {
8563 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8564 }
8565 arg2 = reinterpret_cast< wxWindow * >(argp2);
8566 if (obj2) {
8567 ecode3 = SWIG_AsVal_int(obj2, &val3);
8568 if (!SWIG_IsOK(ecode3)) {
8569 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8570 }
8571 arg3 = static_cast< int >(val3);
8572 }
8573 if (obj3) {
8574 ecode4 = SWIG_AsVal_long(obj3, &val4);
8575 if (!SWIG_IsOK(ecode4)) {
8576 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8577 }
8578 arg4 = static_cast< long >(val4);
8579 }
8580 if (obj4) {
8581 {
8582 arg5 = wxString_in_helper(obj4);
8583 if (arg5 == NULL) SWIG_fail;
8584 temp5 = true;
8585 }
8586 }
8587 {
8588 PyThreadState* __tstate = wxPyBeginAllowThreads();
8589 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8590 wxPyEndAllowThreads(__tstate);
8591 if (PyErr_Occurred()) SWIG_fail;
8592 }
8593 {
8594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8595 }
8596 {
8597 if (temp5)
8598 delete arg5;
8599 }
8600 return resultobj;
8601 fail:
8602 {
8603 if (temp5)
8604 delete arg5;
8605 }
8606 return NULL;
8607 }
8608
8609
8610 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8611 PyObject *resultobj = 0;
8612 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8613 int arg2 = (int) 1 ;
8614 void *argp1 = 0 ;
8615 int res1 = 0 ;
8616 int val2 ;
8617 int ecode2 = 0 ;
8618 PyObject * obj0 = 0 ;
8619 PyObject * obj1 = 0 ;
8620 char * kwnames[] = {
8621 (char *) "self",(char *) "number", NULL
8622 };
8623
8624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8626 if (!SWIG_IsOK(res1)) {
8627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8628 }
8629 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8630 if (obj1) {
8631 ecode2 = SWIG_AsVal_int(obj1, &val2);
8632 if (!SWIG_IsOK(ecode2)) {
8633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8634 }
8635 arg2 = static_cast< int >(val2);
8636 }
8637 {
8638 PyThreadState* __tstate = wxPyBeginAllowThreads();
8639 (arg1)->SetFieldsCount(arg2);
8640 wxPyEndAllowThreads(__tstate);
8641 if (PyErr_Occurred()) SWIG_fail;
8642 }
8643 resultobj = SWIG_Py_Void();
8644 return resultobj;
8645 fail:
8646 return NULL;
8647 }
8648
8649
8650 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8651 PyObject *resultobj = 0;
8652 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8653 int result;
8654 void *argp1 = 0 ;
8655 int res1 = 0 ;
8656 PyObject *swig_obj[1] ;
8657
8658 if (!args) SWIG_fail;
8659 swig_obj[0] = args;
8660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8661 if (!SWIG_IsOK(res1)) {
8662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8663 }
8664 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8665 {
8666 PyThreadState* __tstate = wxPyBeginAllowThreads();
8667 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8668 wxPyEndAllowThreads(__tstate);
8669 if (PyErr_Occurred()) SWIG_fail;
8670 }
8671 resultobj = SWIG_From_int(static_cast< int >(result));
8672 return resultobj;
8673 fail:
8674 return NULL;
8675 }
8676
8677
8678 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8679 PyObject *resultobj = 0;
8680 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8681 wxString *arg2 = 0 ;
8682 int arg3 = (int) 0 ;
8683 void *argp1 = 0 ;
8684 int res1 = 0 ;
8685 bool temp2 = false ;
8686 int val3 ;
8687 int ecode3 = 0 ;
8688 PyObject * obj0 = 0 ;
8689 PyObject * obj1 = 0 ;
8690 PyObject * obj2 = 0 ;
8691 char * kwnames[] = {
8692 (char *) "self",(char *) "text",(char *) "number", NULL
8693 };
8694
8695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8697 if (!SWIG_IsOK(res1)) {
8698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8699 }
8700 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8701 {
8702 arg2 = wxString_in_helper(obj1);
8703 if (arg2 == NULL) SWIG_fail;
8704 temp2 = true;
8705 }
8706 if (obj2) {
8707 ecode3 = SWIG_AsVal_int(obj2, &val3);
8708 if (!SWIG_IsOK(ecode3)) {
8709 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8710 }
8711 arg3 = static_cast< int >(val3);
8712 }
8713 {
8714 PyThreadState* __tstate = wxPyBeginAllowThreads();
8715 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8716 wxPyEndAllowThreads(__tstate);
8717 if (PyErr_Occurred()) SWIG_fail;
8718 }
8719 resultobj = SWIG_Py_Void();
8720 {
8721 if (temp2)
8722 delete arg2;
8723 }
8724 return resultobj;
8725 fail:
8726 {
8727 if (temp2)
8728 delete arg2;
8729 }
8730 return NULL;
8731 }
8732
8733
8734 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8735 PyObject *resultobj = 0;
8736 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8737 int arg2 = (int) 0 ;
8738 wxString result;
8739 void *argp1 = 0 ;
8740 int res1 = 0 ;
8741 int val2 ;
8742 int ecode2 = 0 ;
8743 PyObject * obj0 = 0 ;
8744 PyObject * obj1 = 0 ;
8745 char * kwnames[] = {
8746 (char *) "self",(char *) "number", NULL
8747 };
8748
8749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8751 if (!SWIG_IsOK(res1)) {
8752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8753 }
8754 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8755 if (obj1) {
8756 ecode2 = SWIG_AsVal_int(obj1, &val2);
8757 if (!SWIG_IsOK(ecode2)) {
8758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8759 }
8760 arg2 = static_cast< int >(val2);
8761 }
8762 {
8763 PyThreadState* __tstate = wxPyBeginAllowThreads();
8764 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8765 wxPyEndAllowThreads(__tstate);
8766 if (PyErr_Occurred()) SWIG_fail;
8767 }
8768 {
8769 #if wxUSE_UNICODE
8770 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8771 #else
8772 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8773 #endif
8774 }
8775 return resultobj;
8776 fail:
8777 return NULL;
8778 }
8779
8780
8781 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8782 PyObject *resultobj = 0;
8783 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8784 wxString *arg2 = 0 ;
8785 int arg3 = (int) 0 ;
8786 void *argp1 = 0 ;
8787 int res1 = 0 ;
8788 bool temp2 = false ;
8789 int val3 ;
8790 int ecode3 = 0 ;
8791 PyObject * obj0 = 0 ;
8792 PyObject * obj1 = 0 ;
8793 PyObject * obj2 = 0 ;
8794 char * kwnames[] = {
8795 (char *) "self",(char *) "text",(char *) "number", NULL
8796 };
8797
8798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8800 if (!SWIG_IsOK(res1)) {
8801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8802 }
8803 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8804 {
8805 arg2 = wxString_in_helper(obj1);
8806 if (arg2 == NULL) SWIG_fail;
8807 temp2 = true;
8808 }
8809 if (obj2) {
8810 ecode3 = SWIG_AsVal_int(obj2, &val3);
8811 if (!SWIG_IsOK(ecode3)) {
8812 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8813 }
8814 arg3 = static_cast< int >(val3);
8815 }
8816 {
8817 PyThreadState* __tstate = wxPyBeginAllowThreads();
8818 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
8819 wxPyEndAllowThreads(__tstate);
8820 if (PyErr_Occurred()) SWIG_fail;
8821 }
8822 resultobj = SWIG_Py_Void();
8823 {
8824 if (temp2)
8825 delete arg2;
8826 }
8827 return resultobj;
8828 fail:
8829 {
8830 if (temp2)
8831 delete arg2;
8832 }
8833 return NULL;
8834 }
8835
8836
8837 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8838 PyObject *resultobj = 0;
8839 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8840 int arg2 = (int) 0 ;
8841 void *argp1 = 0 ;
8842 int res1 = 0 ;
8843 int val2 ;
8844 int ecode2 = 0 ;
8845 PyObject * obj0 = 0 ;
8846 PyObject * obj1 = 0 ;
8847 char * kwnames[] = {
8848 (char *) "self",(char *) "number", NULL
8849 };
8850
8851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8853 if (!SWIG_IsOK(res1)) {
8854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8855 }
8856 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8857 if (obj1) {
8858 ecode2 = SWIG_AsVal_int(obj1, &val2);
8859 if (!SWIG_IsOK(ecode2)) {
8860 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8861 }
8862 arg2 = static_cast< int >(val2);
8863 }
8864 {
8865 PyThreadState* __tstate = wxPyBeginAllowThreads();
8866 (arg1)->PopStatusText(arg2);
8867 wxPyEndAllowThreads(__tstate);
8868 if (PyErr_Occurred()) SWIG_fail;
8869 }
8870 resultobj = SWIG_Py_Void();
8871 return resultobj;
8872 fail:
8873 return NULL;
8874 }
8875
8876
8877 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8878 PyObject *resultobj = 0;
8879 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8880 int arg2 ;
8881 int *arg3 = (int *) 0 ;
8882 void *argp1 = 0 ;
8883 int res1 = 0 ;
8884 PyObject * obj0 = 0 ;
8885 PyObject * obj1 = 0 ;
8886 char * kwnames[] = {
8887 (char *) "self",(char *) "widths", NULL
8888 };
8889
8890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
8891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8892 if (!SWIG_IsOK(res1)) {
8893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8894 }
8895 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8896 {
8897 arg2 = PyList_Size(obj1);
8898 arg3 = int_LIST_helper(obj1);
8899 if (arg3 == NULL) SWIG_fail;
8900 }
8901 {
8902 PyThreadState* __tstate = wxPyBeginAllowThreads();
8903 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
8904 wxPyEndAllowThreads(__tstate);
8905 if (PyErr_Occurred()) SWIG_fail;
8906 }
8907 resultobj = SWIG_Py_Void();
8908 {
8909 if (arg3) delete [] arg3;
8910 }
8911 return resultobj;
8912 fail:
8913 {
8914 if (arg3) delete [] arg3;
8915 }
8916 return NULL;
8917 }
8918
8919
8920 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8921 PyObject *resultobj = 0;
8922 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8923 int arg2 ;
8924 int *arg3 = (int *) 0 ;
8925 void *argp1 = 0 ;
8926 int res1 = 0 ;
8927 PyObject * obj0 = 0 ;
8928 PyObject * obj1 = 0 ;
8929 char * kwnames[] = {
8930 (char *) "self",(char *) "styles", NULL
8931 };
8932
8933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
8934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8935 if (!SWIG_IsOK(res1)) {
8936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8937 }
8938 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8939 {
8940 arg2 = PyList_Size(obj1);
8941 arg3 = int_LIST_helper(obj1);
8942 if (arg3 == NULL) SWIG_fail;
8943 }
8944 {
8945 PyThreadState* __tstate = wxPyBeginAllowThreads();
8946 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
8947 wxPyEndAllowThreads(__tstate);
8948 if (PyErr_Occurred()) SWIG_fail;
8949 }
8950 resultobj = SWIG_Py_Void();
8951 {
8952 if (arg3) delete [] arg3;
8953 }
8954 return resultobj;
8955 fail:
8956 {
8957 if (arg3) delete [] arg3;
8958 }
8959 return NULL;
8960 }
8961
8962
8963 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8964 PyObject *resultobj = 0;
8965 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8966 int arg2 ;
8967 wxRect result;
8968 void *argp1 = 0 ;
8969 int res1 = 0 ;
8970 int val2 ;
8971 int ecode2 = 0 ;
8972 PyObject * obj0 = 0 ;
8973 PyObject * obj1 = 0 ;
8974 char * kwnames[] = {
8975 (char *) "self",(char *) "i", NULL
8976 };
8977
8978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
8979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8980 if (!SWIG_IsOK(res1)) {
8981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8982 }
8983 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8984 ecode2 = SWIG_AsVal_int(obj1, &val2);
8985 if (!SWIG_IsOK(ecode2)) {
8986 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8987 }
8988 arg2 = static_cast< int >(val2);
8989 {
8990 PyThreadState* __tstate = wxPyBeginAllowThreads();
8991 result = wxStatusBar_GetFieldRect(arg1,arg2);
8992 wxPyEndAllowThreads(__tstate);
8993 if (PyErr_Occurred()) SWIG_fail;
8994 }
8995 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
8996 return resultobj;
8997 fail:
8998 return NULL;
8999 }
9000
9001
9002 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9003 PyObject *resultobj = 0;
9004 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9005 int arg2 ;
9006 void *argp1 = 0 ;
9007 int res1 = 0 ;
9008 int val2 ;
9009 int ecode2 = 0 ;
9010 PyObject * obj0 = 0 ;
9011 PyObject * obj1 = 0 ;
9012 char * kwnames[] = {
9013 (char *) "self",(char *) "height", NULL
9014 };
9015
9016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9018 if (!SWIG_IsOK(res1)) {
9019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9020 }
9021 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9022 ecode2 = SWIG_AsVal_int(obj1, &val2);
9023 if (!SWIG_IsOK(ecode2)) {
9024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9025 }
9026 arg2 = static_cast< int >(val2);
9027 {
9028 PyThreadState* __tstate = wxPyBeginAllowThreads();
9029 (arg1)->SetMinHeight(arg2);
9030 wxPyEndAllowThreads(__tstate);
9031 if (PyErr_Occurred()) SWIG_fail;
9032 }
9033 resultobj = SWIG_Py_Void();
9034 return resultobj;
9035 fail:
9036 return NULL;
9037 }
9038
9039
9040 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9041 PyObject *resultobj = 0;
9042 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9043 int result;
9044 void *argp1 = 0 ;
9045 int res1 = 0 ;
9046 PyObject *swig_obj[1] ;
9047
9048 if (!args) SWIG_fail;
9049 swig_obj[0] = args;
9050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9051 if (!SWIG_IsOK(res1)) {
9052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9053 }
9054 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9055 {
9056 PyThreadState* __tstate = wxPyBeginAllowThreads();
9057 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
9061 resultobj = SWIG_From_int(static_cast< int >(result));
9062 return resultobj;
9063 fail:
9064 return NULL;
9065 }
9066
9067
9068 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9069 PyObject *resultobj = 0;
9070 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9071 int result;
9072 void *argp1 = 0 ;
9073 int res1 = 0 ;
9074 PyObject *swig_obj[1] ;
9075
9076 if (!args) SWIG_fail;
9077 swig_obj[0] = args;
9078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9079 if (!SWIG_IsOK(res1)) {
9080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9081 }
9082 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9083 {
9084 PyThreadState* __tstate = wxPyBeginAllowThreads();
9085 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9086 wxPyEndAllowThreads(__tstate);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 }
9089 resultobj = SWIG_From_int(static_cast< int >(result));
9090 return resultobj;
9091 fail:
9092 return NULL;
9093 }
9094
9095
9096 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9097 PyObject *resultobj = 0;
9098 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9099 SwigValueWrapper<wxVisualAttributes > result;
9100 int val1 ;
9101 int ecode1 = 0 ;
9102 PyObject * obj0 = 0 ;
9103 char * kwnames[] = {
9104 (char *) "variant", NULL
9105 };
9106
9107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9108 if (obj0) {
9109 ecode1 = SWIG_AsVal_int(obj0, &val1);
9110 if (!SWIG_IsOK(ecode1)) {
9111 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9112 }
9113 arg1 = static_cast< wxWindowVariant >(val1);
9114 }
9115 {
9116 if (!wxPyCheckForApp()) SWIG_fail;
9117 PyThreadState* __tstate = wxPyBeginAllowThreads();
9118 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9119 wxPyEndAllowThreads(__tstate);
9120 if (PyErr_Occurred()) SWIG_fail;
9121 }
9122 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9123 return resultobj;
9124 fail:
9125 return NULL;
9126 }
9127
9128
9129 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9130 PyObject *obj;
9131 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9132 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9133 return SWIG_Py_Void();
9134 }
9135
9136 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9137 return SWIG_Python_InitShadowInstance(args);
9138 }
9139
9140 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9141 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9142 return 1;
9143 }
9144
9145
9146 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9147 PyObject *pyobj = 0;
9148
9149 {
9150 #if wxUSE_UNICODE
9151 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9152 #else
9153 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9154 #endif
9155 }
9156 return pyobj;
9157 }
9158
9159
9160 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9161 PyObject *resultobj = 0;
9162 wxWindow *arg1 = (wxWindow *) 0 ;
9163 int arg2 = (int) -1 ;
9164 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9165 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9166 wxSize const &arg4_defvalue = wxDefaultSize ;
9167 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9168 long arg5 = (long) wxSP_3D ;
9169 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9170 wxString *arg6 = (wxString *) &arg6_defvalue ;
9171 wxSplitterWindow *result = 0 ;
9172 void *argp1 = 0 ;
9173 int res1 = 0 ;
9174 int val2 ;
9175 int ecode2 = 0 ;
9176 wxPoint temp3 ;
9177 wxSize temp4 ;
9178 long val5 ;
9179 int ecode5 = 0 ;
9180 bool temp6 = false ;
9181 PyObject * obj0 = 0 ;
9182 PyObject * obj1 = 0 ;
9183 PyObject * obj2 = 0 ;
9184 PyObject * obj3 = 0 ;
9185 PyObject * obj4 = 0 ;
9186 PyObject * obj5 = 0 ;
9187 char * kwnames[] = {
9188 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9189 };
9190
9191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9193 if (!SWIG_IsOK(res1)) {
9194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9195 }
9196 arg1 = reinterpret_cast< wxWindow * >(argp1);
9197 if (obj1) {
9198 ecode2 = SWIG_AsVal_int(obj1, &val2);
9199 if (!SWIG_IsOK(ecode2)) {
9200 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9201 }
9202 arg2 = static_cast< int >(val2);
9203 }
9204 if (obj2) {
9205 {
9206 arg3 = &temp3;
9207 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9208 }
9209 }
9210 if (obj3) {
9211 {
9212 arg4 = &temp4;
9213 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9214 }
9215 }
9216 if (obj4) {
9217 ecode5 = SWIG_AsVal_long(obj4, &val5);
9218 if (!SWIG_IsOK(ecode5)) {
9219 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9220 }
9221 arg5 = static_cast< long >(val5);
9222 }
9223 if (obj5) {
9224 {
9225 arg6 = wxString_in_helper(obj5);
9226 if (arg6 == NULL) SWIG_fail;
9227 temp6 = true;
9228 }
9229 }
9230 {
9231 if (!wxPyCheckForApp()) SWIG_fail;
9232 PyThreadState* __tstate = wxPyBeginAllowThreads();
9233 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9234 wxPyEndAllowThreads(__tstate);
9235 if (PyErr_Occurred()) SWIG_fail;
9236 }
9237 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9238 {
9239 if (temp6)
9240 delete arg6;
9241 }
9242 return resultobj;
9243 fail:
9244 {
9245 if (temp6)
9246 delete arg6;
9247 }
9248 return NULL;
9249 }
9250
9251
9252 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9253 PyObject *resultobj = 0;
9254 wxSplitterWindow *result = 0 ;
9255
9256 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9257 {
9258 if (!wxPyCheckForApp()) SWIG_fail;
9259 PyThreadState* __tstate = wxPyBeginAllowThreads();
9260 result = (wxSplitterWindow *)new wxSplitterWindow();
9261 wxPyEndAllowThreads(__tstate);
9262 if (PyErr_Occurred()) SWIG_fail;
9263 }
9264 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9265 return resultobj;
9266 fail:
9267 return NULL;
9268 }
9269
9270
9271 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9272 PyObject *resultobj = 0;
9273 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9274 wxWindow *arg2 = (wxWindow *) 0 ;
9275 int arg3 = (int) -1 ;
9276 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9277 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9278 wxSize const &arg5_defvalue = wxDefaultSize ;
9279 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9280 long arg6 = (long) wxSP_3D ;
9281 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9282 wxString *arg7 = (wxString *) &arg7_defvalue ;
9283 bool result;
9284 void *argp1 = 0 ;
9285 int res1 = 0 ;
9286 void *argp2 = 0 ;
9287 int res2 = 0 ;
9288 int val3 ;
9289 int ecode3 = 0 ;
9290 wxPoint temp4 ;
9291 wxSize temp5 ;
9292 long val6 ;
9293 int ecode6 = 0 ;
9294 bool temp7 = false ;
9295 PyObject * obj0 = 0 ;
9296 PyObject * obj1 = 0 ;
9297 PyObject * obj2 = 0 ;
9298 PyObject * obj3 = 0 ;
9299 PyObject * obj4 = 0 ;
9300 PyObject * obj5 = 0 ;
9301 PyObject * obj6 = 0 ;
9302 char * kwnames[] = {
9303 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9304 };
9305
9306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9308 if (!SWIG_IsOK(res1)) {
9309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9310 }
9311 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9312 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9313 if (!SWIG_IsOK(res2)) {
9314 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9315 }
9316 arg2 = reinterpret_cast< wxWindow * >(argp2);
9317 if (obj2) {
9318 ecode3 = SWIG_AsVal_int(obj2, &val3);
9319 if (!SWIG_IsOK(ecode3)) {
9320 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9321 }
9322 arg3 = static_cast< int >(val3);
9323 }
9324 if (obj3) {
9325 {
9326 arg4 = &temp4;
9327 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9328 }
9329 }
9330 if (obj4) {
9331 {
9332 arg5 = &temp5;
9333 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9334 }
9335 }
9336 if (obj5) {
9337 ecode6 = SWIG_AsVal_long(obj5, &val6);
9338 if (!SWIG_IsOK(ecode6)) {
9339 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9340 }
9341 arg6 = static_cast< long >(val6);
9342 }
9343 if (obj6) {
9344 {
9345 arg7 = wxString_in_helper(obj6);
9346 if (arg7 == NULL) SWIG_fail;
9347 temp7 = true;
9348 }
9349 }
9350 {
9351 PyThreadState* __tstate = wxPyBeginAllowThreads();
9352 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9353 wxPyEndAllowThreads(__tstate);
9354 if (PyErr_Occurred()) SWIG_fail;
9355 }
9356 {
9357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9358 }
9359 {
9360 if (temp7)
9361 delete arg7;
9362 }
9363 return resultobj;
9364 fail:
9365 {
9366 if (temp7)
9367 delete arg7;
9368 }
9369 return NULL;
9370 }
9371
9372
9373 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9374 PyObject *resultobj = 0;
9375 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9376 wxWindow *result = 0 ;
9377 void *argp1 = 0 ;
9378 int res1 = 0 ;
9379 PyObject *swig_obj[1] ;
9380
9381 if (!args) SWIG_fail;
9382 swig_obj[0] = args;
9383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9384 if (!SWIG_IsOK(res1)) {
9385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9386 }
9387 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9388 {
9389 PyThreadState* __tstate = wxPyBeginAllowThreads();
9390 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9391 wxPyEndAllowThreads(__tstate);
9392 if (PyErr_Occurred()) SWIG_fail;
9393 }
9394 {
9395 resultobj = wxPyMake_wxObject(result, 0);
9396 }
9397 return resultobj;
9398 fail:
9399 return NULL;
9400 }
9401
9402
9403 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9404 PyObject *resultobj = 0;
9405 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9406 wxWindow *result = 0 ;
9407 void *argp1 = 0 ;
9408 int res1 = 0 ;
9409 PyObject *swig_obj[1] ;
9410
9411 if (!args) SWIG_fail;
9412 swig_obj[0] = args;
9413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9414 if (!SWIG_IsOK(res1)) {
9415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9416 }
9417 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9418 {
9419 PyThreadState* __tstate = wxPyBeginAllowThreads();
9420 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9421 wxPyEndAllowThreads(__tstate);
9422 if (PyErr_Occurred()) SWIG_fail;
9423 }
9424 {
9425 resultobj = wxPyMake_wxObject(result, 0);
9426 }
9427 return resultobj;
9428 fail:
9429 return NULL;
9430 }
9431
9432
9433 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9434 PyObject *resultobj = 0;
9435 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9436 int arg2 ;
9437 void *argp1 = 0 ;
9438 int res1 = 0 ;
9439 int val2 ;
9440 int ecode2 = 0 ;
9441 PyObject * obj0 = 0 ;
9442 PyObject * obj1 = 0 ;
9443 char * kwnames[] = {
9444 (char *) "self",(char *) "mode", NULL
9445 };
9446
9447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9449 if (!SWIG_IsOK(res1)) {
9450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9451 }
9452 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9453 ecode2 = SWIG_AsVal_int(obj1, &val2);
9454 if (!SWIG_IsOK(ecode2)) {
9455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9456 }
9457 arg2 = static_cast< int >(val2);
9458 {
9459 PyThreadState* __tstate = wxPyBeginAllowThreads();
9460 (arg1)->SetSplitMode(arg2);
9461 wxPyEndAllowThreads(__tstate);
9462 if (PyErr_Occurred()) SWIG_fail;
9463 }
9464 resultobj = SWIG_Py_Void();
9465 return resultobj;
9466 fail:
9467 return NULL;
9468 }
9469
9470
9471 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9472 PyObject *resultobj = 0;
9473 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9474 wxSplitMode result;
9475 void *argp1 = 0 ;
9476 int res1 = 0 ;
9477 PyObject *swig_obj[1] ;
9478
9479 if (!args) SWIG_fail;
9480 swig_obj[0] = args;
9481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9482 if (!SWIG_IsOK(res1)) {
9483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9484 }
9485 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9486 {
9487 PyThreadState* __tstate = wxPyBeginAllowThreads();
9488 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9489 wxPyEndAllowThreads(__tstate);
9490 if (PyErr_Occurred()) SWIG_fail;
9491 }
9492 resultobj = SWIG_From_int(static_cast< int >(result));
9493 return resultobj;
9494 fail:
9495 return NULL;
9496 }
9497
9498
9499 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9500 PyObject *resultobj = 0;
9501 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9502 wxWindow *arg2 = (wxWindow *) 0 ;
9503 void *argp1 = 0 ;
9504 int res1 = 0 ;
9505 void *argp2 = 0 ;
9506 int res2 = 0 ;
9507 PyObject * obj0 = 0 ;
9508 PyObject * obj1 = 0 ;
9509 char * kwnames[] = {
9510 (char *) "self",(char *) "window", NULL
9511 };
9512
9513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9515 if (!SWIG_IsOK(res1)) {
9516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9517 }
9518 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9519 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9520 if (!SWIG_IsOK(res2)) {
9521 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9522 }
9523 arg2 = reinterpret_cast< wxWindow * >(argp2);
9524 {
9525 PyThreadState* __tstate = wxPyBeginAllowThreads();
9526 (arg1)->Initialize(arg2);
9527 wxPyEndAllowThreads(__tstate);
9528 if (PyErr_Occurred()) SWIG_fail;
9529 }
9530 resultobj = SWIG_Py_Void();
9531 return resultobj;
9532 fail:
9533 return NULL;
9534 }
9535
9536
9537 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9538 PyObject *resultobj = 0;
9539 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9540 wxWindow *arg2 = (wxWindow *) 0 ;
9541 wxWindow *arg3 = (wxWindow *) 0 ;
9542 int arg4 = (int) 0 ;
9543 bool result;
9544 void *argp1 = 0 ;
9545 int res1 = 0 ;
9546 void *argp2 = 0 ;
9547 int res2 = 0 ;
9548 void *argp3 = 0 ;
9549 int res3 = 0 ;
9550 int val4 ;
9551 int ecode4 = 0 ;
9552 PyObject * obj0 = 0 ;
9553 PyObject * obj1 = 0 ;
9554 PyObject * obj2 = 0 ;
9555 PyObject * obj3 = 0 ;
9556 char * kwnames[] = {
9557 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9558 };
9559
9560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9562 if (!SWIG_IsOK(res1)) {
9563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9564 }
9565 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9566 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9567 if (!SWIG_IsOK(res2)) {
9568 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9569 }
9570 arg2 = reinterpret_cast< wxWindow * >(argp2);
9571 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9572 if (!SWIG_IsOK(res3)) {
9573 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9574 }
9575 arg3 = reinterpret_cast< wxWindow * >(argp3);
9576 if (obj3) {
9577 ecode4 = SWIG_AsVal_int(obj3, &val4);
9578 if (!SWIG_IsOK(ecode4)) {
9579 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9580 }
9581 arg4 = static_cast< int >(val4);
9582 }
9583 {
9584 PyThreadState* __tstate = wxPyBeginAllowThreads();
9585 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9586 wxPyEndAllowThreads(__tstate);
9587 if (PyErr_Occurred()) SWIG_fail;
9588 }
9589 {
9590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9591 }
9592 return resultobj;
9593 fail:
9594 return NULL;
9595 }
9596
9597
9598 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9599 PyObject *resultobj = 0;
9600 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9601 wxWindow *arg2 = (wxWindow *) 0 ;
9602 wxWindow *arg3 = (wxWindow *) 0 ;
9603 int arg4 = (int) 0 ;
9604 bool result;
9605 void *argp1 = 0 ;
9606 int res1 = 0 ;
9607 void *argp2 = 0 ;
9608 int res2 = 0 ;
9609 void *argp3 = 0 ;
9610 int res3 = 0 ;
9611 int val4 ;
9612 int ecode4 = 0 ;
9613 PyObject * obj0 = 0 ;
9614 PyObject * obj1 = 0 ;
9615 PyObject * obj2 = 0 ;
9616 PyObject * obj3 = 0 ;
9617 char * kwnames[] = {
9618 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9619 };
9620
9621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9623 if (!SWIG_IsOK(res1)) {
9624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9625 }
9626 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9627 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9628 if (!SWIG_IsOK(res2)) {
9629 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9630 }
9631 arg2 = reinterpret_cast< wxWindow * >(argp2);
9632 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9633 if (!SWIG_IsOK(res3)) {
9634 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9635 }
9636 arg3 = reinterpret_cast< wxWindow * >(argp3);
9637 if (obj3) {
9638 ecode4 = SWIG_AsVal_int(obj3, &val4);
9639 if (!SWIG_IsOK(ecode4)) {
9640 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9641 }
9642 arg4 = static_cast< int >(val4);
9643 }
9644 {
9645 PyThreadState* __tstate = wxPyBeginAllowThreads();
9646 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9647 wxPyEndAllowThreads(__tstate);
9648 if (PyErr_Occurred()) SWIG_fail;
9649 }
9650 {
9651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9652 }
9653 return resultobj;
9654 fail:
9655 return NULL;
9656 }
9657
9658
9659 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9660 PyObject *resultobj = 0;
9661 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9662 wxWindow *arg2 = (wxWindow *) NULL ;
9663 bool result;
9664 void *argp1 = 0 ;
9665 int res1 = 0 ;
9666 void *argp2 = 0 ;
9667 int res2 = 0 ;
9668 PyObject * obj0 = 0 ;
9669 PyObject * obj1 = 0 ;
9670 char * kwnames[] = {
9671 (char *) "self",(char *) "toRemove", NULL
9672 };
9673
9674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9676 if (!SWIG_IsOK(res1)) {
9677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9678 }
9679 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9680 if (obj1) {
9681 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9682 if (!SWIG_IsOK(res2)) {
9683 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9684 }
9685 arg2 = reinterpret_cast< wxWindow * >(argp2);
9686 }
9687 {
9688 PyThreadState* __tstate = wxPyBeginAllowThreads();
9689 result = (bool)(arg1)->Unsplit(arg2);
9690 wxPyEndAllowThreads(__tstate);
9691 if (PyErr_Occurred()) SWIG_fail;
9692 }
9693 {
9694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9695 }
9696 return resultobj;
9697 fail:
9698 return NULL;
9699 }
9700
9701
9702 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9703 PyObject *resultobj = 0;
9704 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9705 wxWindow *arg2 = (wxWindow *) 0 ;
9706 wxWindow *arg3 = (wxWindow *) 0 ;
9707 bool result;
9708 void *argp1 = 0 ;
9709 int res1 = 0 ;
9710 void *argp2 = 0 ;
9711 int res2 = 0 ;
9712 void *argp3 = 0 ;
9713 int res3 = 0 ;
9714 PyObject * obj0 = 0 ;
9715 PyObject * obj1 = 0 ;
9716 PyObject * obj2 = 0 ;
9717 char * kwnames[] = {
9718 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9719 };
9720
9721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9723 if (!SWIG_IsOK(res1)) {
9724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9725 }
9726 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9727 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9728 if (!SWIG_IsOK(res2)) {
9729 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9730 }
9731 arg2 = reinterpret_cast< wxWindow * >(argp2);
9732 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9733 if (!SWIG_IsOK(res3)) {
9734 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9735 }
9736 arg3 = reinterpret_cast< wxWindow * >(argp3);
9737 {
9738 PyThreadState* __tstate = wxPyBeginAllowThreads();
9739 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9740 wxPyEndAllowThreads(__tstate);
9741 if (PyErr_Occurred()) SWIG_fail;
9742 }
9743 {
9744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9745 }
9746 return resultobj;
9747 fail:
9748 return NULL;
9749 }
9750
9751
9752 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9753 PyObject *resultobj = 0;
9754 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9755 void *argp1 = 0 ;
9756 int res1 = 0 ;
9757 PyObject *swig_obj[1] ;
9758
9759 if (!args) SWIG_fail;
9760 swig_obj[0] = args;
9761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9762 if (!SWIG_IsOK(res1)) {
9763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9764 }
9765 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9766 {
9767 PyThreadState* __tstate = wxPyBeginAllowThreads();
9768 (arg1)->UpdateSize();
9769 wxPyEndAllowThreads(__tstate);
9770 if (PyErr_Occurred()) SWIG_fail;
9771 }
9772 resultobj = SWIG_Py_Void();
9773 return resultobj;
9774 fail:
9775 return NULL;
9776 }
9777
9778
9779 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9780 PyObject *resultobj = 0;
9781 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9782 bool result;
9783 void *argp1 = 0 ;
9784 int res1 = 0 ;
9785 PyObject *swig_obj[1] ;
9786
9787 if (!args) SWIG_fail;
9788 swig_obj[0] = args;
9789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9790 if (!SWIG_IsOK(res1)) {
9791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9792 }
9793 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9794 {
9795 PyThreadState* __tstate = wxPyBeginAllowThreads();
9796 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9797 wxPyEndAllowThreads(__tstate);
9798 if (PyErr_Occurred()) SWIG_fail;
9799 }
9800 {
9801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9802 }
9803 return resultobj;
9804 fail:
9805 return NULL;
9806 }
9807
9808
9809 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9810 PyObject *resultobj = 0;
9811 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9812 int arg2 ;
9813 void *argp1 = 0 ;
9814 int res1 = 0 ;
9815 int val2 ;
9816 int ecode2 = 0 ;
9817 PyObject * obj0 = 0 ;
9818 PyObject * obj1 = 0 ;
9819 char * kwnames[] = {
9820 (char *) "self",(char *) "width", NULL
9821 };
9822
9823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) 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_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9827 }
9828 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9829 ecode2 = SWIG_AsVal_int(obj1, &val2);
9830 if (!SWIG_IsOK(ecode2)) {
9831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9832 }
9833 arg2 = static_cast< int >(val2);
9834 {
9835 PyThreadState* __tstate = wxPyBeginAllowThreads();
9836 (arg1)->SetSashSize(arg2);
9837 wxPyEndAllowThreads(__tstate);
9838 if (PyErr_Occurred()) SWIG_fail;
9839 }
9840 resultobj = SWIG_Py_Void();
9841 return resultobj;
9842 fail:
9843 return NULL;
9844 }
9845
9846
9847 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9848 PyObject *resultobj = 0;
9849 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9850 int arg2 ;
9851 void *argp1 = 0 ;
9852 int res1 = 0 ;
9853 int val2 ;
9854 int ecode2 = 0 ;
9855 PyObject * obj0 = 0 ;
9856 PyObject * obj1 = 0 ;
9857 char * kwnames[] = {
9858 (char *) "self",(char *) "width", NULL
9859 };
9860
9861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
9862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9863 if (!SWIG_IsOK(res1)) {
9864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9865 }
9866 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9867 ecode2 = SWIG_AsVal_int(obj1, &val2);
9868 if (!SWIG_IsOK(ecode2)) {
9869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9870 }
9871 arg2 = static_cast< int >(val2);
9872 {
9873 PyThreadState* __tstate = wxPyBeginAllowThreads();
9874 (arg1)->SetBorderSize(arg2);
9875 wxPyEndAllowThreads(__tstate);
9876 if (PyErr_Occurred()) SWIG_fail;
9877 }
9878 resultobj = SWIG_Py_Void();
9879 return resultobj;
9880 fail:
9881 return NULL;
9882 }
9883
9884
9885 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9886 PyObject *resultobj = 0;
9887 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9888 int result;
9889 void *argp1 = 0 ;
9890 int res1 = 0 ;
9891 PyObject *swig_obj[1] ;
9892
9893 if (!args) SWIG_fail;
9894 swig_obj[0] = args;
9895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9896 if (!SWIG_IsOK(res1)) {
9897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9898 }
9899 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9900 {
9901 PyThreadState* __tstate = wxPyBeginAllowThreads();
9902 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
9903 wxPyEndAllowThreads(__tstate);
9904 if (PyErr_Occurred()) SWIG_fail;
9905 }
9906 resultobj = SWIG_From_int(static_cast< int >(result));
9907 return resultobj;
9908 fail:
9909 return NULL;
9910 }
9911
9912
9913 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9914 PyObject *resultobj = 0;
9915 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9916 int result;
9917 void *argp1 = 0 ;
9918 int res1 = 0 ;
9919 PyObject *swig_obj[1] ;
9920
9921 if (!args) SWIG_fail;
9922 swig_obj[0] = args;
9923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9924 if (!SWIG_IsOK(res1)) {
9925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9926 }
9927 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9928 {
9929 PyThreadState* __tstate = wxPyBeginAllowThreads();
9930 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
9931 wxPyEndAllowThreads(__tstate);
9932 if (PyErr_Occurred()) SWIG_fail;
9933 }
9934 resultobj = SWIG_From_int(static_cast< int >(result));
9935 return resultobj;
9936 fail:
9937 return NULL;
9938 }
9939
9940
9941 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9942 PyObject *resultobj = 0;
9943 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9944 int arg2 ;
9945 bool arg3 = (bool) true ;
9946 void *argp1 = 0 ;
9947 int res1 = 0 ;
9948 int val2 ;
9949 int ecode2 = 0 ;
9950 bool val3 ;
9951 int ecode3 = 0 ;
9952 PyObject * obj0 = 0 ;
9953 PyObject * obj1 = 0 ;
9954 PyObject * obj2 = 0 ;
9955 char * kwnames[] = {
9956 (char *) "self",(char *) "position",(char *) "redraw", NULL
9957 };
9958
9959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9961 if (!SWIG_IsOK(res1)) {
9962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9963 }
9964 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9965 ecode2 = SWIG_AsVal_int(obj1, &val2);
9966 if (!SWIG_IsOK(ecode2)) {
9967 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9968 }
9969 arg2 = static_cast< int >(val2);
9970 if (obj2) {
9971 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9972 if (!SWIG_IsOK(ecode3)) {
9973 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9974 }
9975 arg3 = static_cast< bool >(val3);
9976 }
9977 {
9978 PyThreadState* __tstate = wxPyBeginAllowThreads();
9979 (arg1)->SetSashPosition(arg2,arg3);
9980 wxPyEndAllowThreads(__tstate);
9981 if (PyErr_Occurred()) SWIG_fail;
9982 }
9983 resultobj = SWIG_Py_Void();
9984 return resultobj;
9985 fail:
9986 return NULL;
9987 }
9988
9989
9990 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9991 PyObject *resultobj = 0;
9992 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9993 int result;
9994 void *argp1 = 0 ;
9995 int res1 = 0 ;
9996 PyObject *swig_obj[1] ;
9997
9998 if (!args) SWIG_fail;
9999 swig_obj[0] = args;
10000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10001 if (!SWIG_IsOK(res1)) {
10002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10003 }
10004 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10005 {
10006 PyThreadState* __tstate = wxPyBeginAllowThreads();
10007 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10008 wxPyEndAllowThreads(__tstate);
10009 if (PyErr_Occurred()) SWIG_fail;
10010 }
10011 resultobj = SWIG_From_int(static_cast< int >(result));
10012 return resultobj;
10013 fail:
10014 return NULL;
10015 }
10016
10017
10018 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10019 PyObject *resultobj = 0;
10020 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10021 double arg2 ;
10022 void *argp1 = 0 ;
10023 int res1 = 0 ;
10024 double val2 ;
10025 int ecode2 = 0 ;
10026 PyObject * obj0 = 0 ;
10027 PyObject * obj1 = 0 ;
10028 char * kwnames[] = {
10029 (char *) "self",(char *) "gravity", NULL
10030 };
10031
10032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10034 if (!SWIG_IsOK(res1)) {
10035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10036 }
10037 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10038 ecode2 = SWIG_AsVal_double(obj1, &val2);
10039 if (!SWIG_IsOK(ecode2)) {
10040 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10041 }
10042 arg2 = static_cast< double >(val2);
10043 {
10044 PyThreadState* __tstate = wxPyBeginAllowThreads();
10045 (arg1)->SetSashGravity(arg2);
10046 wxPyEndAllowThreads(__tstate);
10047 if (PyErr_Occurred()) SWIG_fail;
10048 }
10049 resultobj = SWIG_Py_Void();
10050 return resultobj;
10051 fail:
10052 return NULL;
10053 }
10054
10055
10056 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10057 PyObject *resultobj = 0;
10058 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10059 double result;
10060 void *argp1 = 0 ;
10061 int res1 = 0 ;
10062 PyObject *swig_obj[1] ;
10063
10064 if (!args) SWIG_fail;
10065 swig_obj[0] = args;
10066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10067 if (!SWIG_IsOK(res1)) {
10068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10069 }
10070 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10071 {
10072 PyThreadState* __tstate = wxPyBeginAllowThreads();
10073 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10074 wxPyEndAllowThreads(__tstate);
10075 if (PyErr_Occurred()) SWIG_fail;
10076 }
10077 resultobj = SWIG_From_double(static_cast< double >(result));
10078 return resultobj;
10079 fail:
10080 return NULL;
10081 }
10082
10083
10084 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10085 PyObject *resultobj = 0;
10086 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10087 int arg2 ;
10088 void *argp1 = 0 ;
10089 int res1 = 0 ;
10090 int val2 ;
10091 int ecode2 = 0 ;
10092 PyObject * obj0 = 0 ;
10093 PyObject * obj1 = 0 ;
10094 char * kwnames[] = {
10095 (char *) "self",(char *) "min", NULL
10096 };
10097
10098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10100 if (!SWIG_IsOK(res1)) {
10101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10102 }
10103 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10104 ecode2 = SWIG_AsVal_int(obj1, &val2);
10105 if (!SWIG_IsOK(ecode2)) {
10106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10107 }
10108 arg2 = static_cast< int >(val2);
10109 {
10110 PyThreadState* __tstate = wxPyBeginAllowThreads();
10111 (arg1)->SetMinimumPaneSize(arg2);
10112 wxPyEndAllowThreads(__tstate);
10113 if (PyErr_Occurred()) SWIG_fail;
10114 }
10115 resultobj = SWIG_Py_Void();
10116 return resultobj;
10117 fail:
10118 return NULL;
10119 }
10120
10121
10122 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10123 PyObject *resultobj = 0;
10124 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10125 int result;
10126 void *argp1 = 0 ;
10127 int res1 = 0 ;
10128 PyObject *swig_obj[1] ;
10129
10130 if (!args) SWIG_fail;
10131 swig_obj[0] = args;
10132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10133 if (!SWIG_IsOK(res1)) {
10134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10135 }
10136 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10137 {
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 resultobj = SWIG_From_int(static_cast< int >(result));
10144 return resultobj;
10145 fail:
10146 return NULL;
10147 }
10148
10149
10150 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10151 PyObject *resultobj = 0;
10152 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10153 int arg2 ;
10154 int arg3 ;
10155 int arg4 = (int) 5 ;
10156 bool result;
10157 void *argp1 = 0 ;
10158 int res1 = 0 ;
10159 int val2 ;
10160 int ecode2 = 0 ;
10161 int val3 ;
10162 int ecode3 = 0 ;
10163 int val4 ;
10164 int ecode4 = 0 ;
10165 PyObject * obj0 = 0 ;
10166 PyObject * obj1 = 0 ;
10167 PyObject * obj2 = 0 ;
10168 PyObject * obj3 = 0 ;
10169 char * kwnames[] = {
10170 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10171 };
10172
10173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10175 if (!SWIG_IsOK(res1)) {
10176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10177 }
10178 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10179 ecode2 = SWIG_AsVal_int(obj1, &val2);
10180 if (!SWIG_IsOK(ecode2)) {
10181 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10182 }
10183 arg2 = static_cast< int >(val2);
10184 ecode3 = SWIG_AsVal_int(obj2, &val3);
10185 if (!SWIG_IsOK(ecode3)) {
10186 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10187 }
10188 arg3 = static_cast< int >(val3);
10189 if (obj3) {
10190 ecode4 = SWIG_AsVal_int(obj3, &val4);
10191 if (!SWIG_IsOK(ecode4)) {
10192 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10193 }
10194 arg4 = static_cast< int >(val4);
10195 }
10196 {
10197 PyThreadState* __tstate = wxPyBeginAllowThreads();
10198 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10199 wxPyEndAllowThreads(__tstate);
10200 if (PyErr_Occurred()) SWIG_fail;
10201 }
10202 {
10203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10204 }
10205 return resultobj;
10206 fail:
10207 return NULL;
10208 }
10209
10210
10211 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10212 PyObject *resultobj = 0;
10213 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10214 void *argp1 = 0 ;
10215 int res1 = 0 ;
10216 PyObject *swig_obj[1] ;
10217
10218 if (!args) SWIG_fail;
10219 swig_obj[0] = args;
10220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10221 if (!SWIG_IsOK(res1)) {
10222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10223 }
10224 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10225 {
10226 PyThreadState* __tstate = wxPyBeginAllowThreads();
10227 (arg1)->SizeWindows();
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 resultobj = SWIG_Py_Void();
10232 return resultobj;
10233 fail:
10234 return NULL;
10235 }
10236
10237
10238 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10239 PyObject *resultobj = 0;
10240 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10241 bool arg2 ;
10242 void *argp1 = 0 ;
10243 int res1 = 0 ;
10244 bool val2 ;
10245 int ecode2 = 0 ;
10246 PyObject * obj0 = 0 ;
10247 PyObject * obj1 = 0 ;
10248 char * kwnames[] = {
10249 (char *) "self",(char *) "needUpdating", NULL
10250 };
10251
10252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10254 if (!SWIG_IsOK(res1)) {
10255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10256 }
10257 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10258 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10259 if (!SWIG_IsOK(ecode2)) {
10260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10261 }
10262 arg2 = static_cast< bool >(val2);
10263 {
10264 PyThreadState* __tstate = wxPyBeginAllowThreads();
10265 (arg1)->SetNeedUpdating(arg2);
10266 wxPyEndAllowThreads(__tstate);
10267 if (PyErr_Occurred()) SWIG_fail;
10268 }
10269 resultobj = SWIG_Py_Void();
10270 return resultobj;
10271 fail:
10272 return NULL;
10273 }
10274
10275
10276 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10277 PyObject *resultobj = 0;
10278 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10279 bool result;
10280 void *argp1 = 0 ;
10281 int res1 = 0 ;
10282 PyObject *swig_obj[1] ;
10283
10284 if (!args) SWIG_fail;
10285 swig_obj[0] = args;
10286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10287 if (!SWIG_IsOK(res1)) {
10288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10289 }
10290 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10291 {
10292 PyThreadState* __tstate = wxPyBeginAllowThreads();
10293 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10294 wxPyEndAllowThreads(__tstate);
10295 if (PyErr_Occurred()) SWIG_fail;
10296 }
10297 {
10298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10299 }
10300 return resultobj;
10301 fail:
10302 return NULL;
10303 }
10304
10305
10306 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10307 PyObject *resultobj = 0;
10308 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10309 SwigValueWrapper<wxVisualAttributes > result;
10310 int val1 ;
10311 int ecode1 = 0 ;
10312 PyObject * obj0 = 0 ;
10313 char * kwnames[] = {
10314 (char *) "variant", NULL
10315 };
10316
10317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10318 if (obj0) {
10319 ecode1 = SWIG_AsVal_int(obj0, &val1);
10320 if (!SWIG_IsOK(ecode1)) {
10321 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10322 }
10323 arg1 = static_cast< wxWindowVariant >(val1);
10324 }
10325 {
10326 if (!wxPyCheckForApp()) SWIG_fail;
10327 PyThreadState* __tstate = wxPyBeginAllowThreads();
10328 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10329 wxPyEndAllowThreads(__tstate);
10330 if (PyErr_Occurred()) SWIG_fail;
10331 }
10332 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10333 return resultobj;
10334 fail:
10335 return NULL;
10336 }
10337
10338
10339 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10340 PyObject *obj;
10341 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10342 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10343 return SWIG_Py_Void();
10344 }
10345
10346 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10347 return SWIG_Python_InitShadowInstance(args);
10348 }
10349
10350 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10351 PyObject *resultobj = 0;
10352 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10353 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10354 wxSplitterEvent *result = 0 ;
10355 int val1 ;
10356 int ecode1 = 0 ;
10357 void *argp2 = 0 ;
10358 int res2 = 0 ;
10359 PyObject * obj0 = 0 ;
10360 PyObject * obj1 = 0 ;
10361 char * kwnames[] = {
10362 (char *) "type",(char *) "splitter", NULL
10363 };
10364
10365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10366 if (obj0) {
10367 ecode1 = SWIG_AsVal_int(obj0, &val1);
10368 if (!SWIG_IsOK(ecode1)) {
10369 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10370 }
10371 arg1 = static_cast< wxEventType >(val1);
10372 }
10373 if (obj1) {
10374 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10375 if (!SWIG_IsOK(res2)) {
10376 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10377 }
10378 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10379 }
10380 {
10381 PyThreadState* __tstate = wxPyBeginAllowThreads();
10382 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10383 wxPyEndAllowThreads(__tstate);
10384 if (PyErr_Occurred()) SWIG_fail;
10385 }
10386 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10387 return resultobj;
10388 fail:
10389 return NULL;
10390 }
10391
10392
10393 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10394 PyObject *resultobj = 0;
10395 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10396 int arg2 ;
10397 void *argp1 = 0 ;
10398 int res1 = 0 ;
10399 int val2 ;
10400 int ecode2 = 0 ;
10401 PyObject * obj0 = 0 ;
10402 PyObject * obj1 = 0 ;
10403 char * kwnames[] = {
10404 (char *) "self",(char *) "pos", NULL
10405 };
10406
10407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10409 if (!SWIG_IsOK(res1)) {
10410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10411 }
10412 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10413 ecode2 = SWIG_AsVal_int(obj1, &val2);
10414 if (!SWIG_IsOK(ecode2)) {
10415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10416 }
10417 arg2 = static_cast< int >(val2);
10418 {
10419 PyThreadState* __tstate = wxPyBeginAllowThreads();
10420 (arg1)->SetSashPosition(arg2);
10421 wxPyEndAllowThreads(__tstate);
10422 if (PyErr_Occurred()) SWIG_fail;
10423 }
10424 resultobj = SWIG_Py_Void();
10425 return resultobj;
10426 fail:
10427 return NULL;
10428 }
10429
10430
10431 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10432 PyObject *resultobj = 0;
10433 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10434 int result;
10435 void *argp1 = 0 ;
10436 int res1 = 0 ;
10437 PyObject *swig_obj[1] ;
10438
10439 if (!args) SWIG_fail;
10440 swig_obj[0] = args;
10441 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10442 if (!SWIG_IsOK(res1)) {
10443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10444 }
10445 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10446 {
10447 PyThreadState* __tstate = wxPyBeginAllowThreads();
10448 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10449 wxPyEndAllowThreads(__tstate);
10450 if (PyErr_Occurred()) SWIG_fail;
10451 }
10452 resultobj = SWIG_From_int(static_cast< int >(result));
10453 return resultobj;
10454 fail:
10455 return NULL;
10456 }
10457
10458
10459 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10460 PyObject *resultobj = 0;
10461 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10462 wxWindow *result = 0 ;
10463 void *argp1 = 0 ;
10464 int res1 = 0 ;
10465 PyObject *swig_obj[1] ;
10466
10467 if (!args) SWIG_fail;
10468 swig_obj[0] = args;
10469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10470 if (!SWIG_IsOK(res1)) {
10471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10472 }
10473 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10474 {
10475 PyThreadState* __tstate = wxPyBeginAllowThreads();
10476 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10477 wxPyEndAllowThreads(__tstate);
10478 if (PyErr_Occurred()) SWIG_fail;
10479 }
10480 {
10481 resultobj = wxPyMake_wxObject(result, 0);
10482 }
10483 return resultobj;
10484 fail:
10485 return NULL;
10486 }
10487
10488
10489 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10490 PyObject *resultobj = 0;
10491 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10492 int result;
10493 void *argp1 = 0 ;
10494 int res1 = 0 ;
10495 PyObject *swig_obj[1] ;
10496
10497 if (!args) SWIG_fail;
10498 swig_obj[0] = args;
10499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10500 if (!SWIG_IsOK(res1)) {
10501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10502 }
10503 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10504 {
10505 PyThreadState* __tstate = wxPyBeginAllowThreads();
10506 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10507 wxPyEndAllowThreads(__tstate);
10508 if (PyErr_Occurred()) SWIG_fail;
10509 }
10510 resultobj = SWIG_From_int(static_cast< int >(result));
10511 return resultobj;
10512 fail:
10513 return NULL;
10514 }
10515
10516
10517 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10518 PyObject *resultobj = 0;
10519 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10520 int result;
10521 void *argp1 = 0 ;
10522 int res1 = 0 ;
10523 PyObject *swig_obj[1] ;
10524
10525 if (!args) SWIG_fail;
10526 swig_obj[0] = args;
10527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10528 if (!SWIG_IsOK(res1)) {
10529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10530 }
10531 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10532 {
10533 PyThreadState* __tstate = wxPyBeginAllowThreads();
10534 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10535 wxPyEndAllowThreads(__tstate);
10536 if (PyErr_Occurred()) SWIG_fail;
10537 }
10538 resultobj = SWIG_From_int(static_cast< int >(result));
10539 return resultobj;
10540 fail:
10541 return NULL;
10542 }
10543
10544
10545 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10546 PyObject *obj;
10547 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10548 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10549 return SWIG_Py_Void();
10550 }
10551
10552 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10553 return SWIG_Python_InitShadowInstance(args);
10554 }
10555
10556 SWIGINTERN int SashNameStr_set(PyObject *) {
10557 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10558 return 1;
10559 }
10560
10561
10562 SWIGINTERN PyObject *SashNameStr_get(void) {
10563 PyObject *pyobj = 0;
10564
10565 {
10566 #if wxUSE_UNICODE
10567 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10568 #else
10569 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10570 #endif
10571 }
10572 return pyobj;
10573 }
10574
10575
10576 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10577 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10578 return 1;
10579 }
10580
10581
10582 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10583 PyObject *pyobj = 0;
10584
10585 {
10586 #if wxUSE_UNICODE
10587 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10588 #else
10589 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10590 #endif
10591 }
10592 return pyobj;
10593 }
10594
10595
10596 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10597 PyObject *resultobj = 0;
10598 wxWindow *arg1 = (wxWindow *) 0 ;
10599 int arg2 = (int) -1 ;
10600 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10601 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10602 wxSize const &arg4_defvalue = wxDefaultSize ;
10603 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10604 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10605 wxString const &arg6_defvalue = wxPySashNameStr ;
10606 wxString *arg6 = (wxString *) &arg6_defvalue ;
10607 wxSashWindow *result = 0 ;
10608 void *argp1 = 0 ;
10609 int res1 = 0 ;
10610 int val2 ;
10611 int ecode2 = 0 ;
10612 wxPoint temp3 ;
10613 wxSize temp4 ;
10614 long val5 ;
10615 int ecode5 = 0 ;
10616 bool temp6 = false ;
10617 PyObject * obj0 = 0 ;
10618 PyObject * obj1 = 0 ;
10619 PyObject * obj2 = 0 ;
10620 PyObject * obj3 = 0 ;
10621 PyObject * obj4 = 0 ;
10622 PyObject * obj5 = 0 ;
10623 char * kwnames[] = {
10624 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10625 };
10626
10627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10629 if (!SWIG_IsOK(res1)) {
10630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10631 }
10632 arg1 = reinterpret_cast< wxWindow * >(argp1);
10633 if (obj1) {
10634 ecode2 = SWIG_AsVal_int(obj1, &val2);
10635 if (!SWIG_IsOK(ecode2)) {
10636 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10637 }
10638 arg2 = static_cast< int >(val2);
10639 }
10640 if (obj2) {
10641 {
10642 arg3 = &temp3;
10643 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10644 }
10645 }
10646 if (obj3) {
10647 {
10648 arg4 = &temp4;
10649 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10650 }
10651 }
10652 if (obj4) {
10653 ecode5 = SWIG_AsVal_long(obj4, &val5);
10654 if (!SWIG_IsOK(ecode5)) {
10655 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10656 }
10657 arg5 = static_cast< long >(val5);
10658 }
10659 if (obj5) {
10660 {
10661 arg6 = wxString_in_helper(obj5);
10662 if (arg6 == NULL) SWIG_fail;
10663 temp6 = true;
10664 }
10665 }
10666 {
10667 if (!wxPyCheckForApp()) SWIG_fail;
10668 PyThreadState* __tstate = wxPyBeginAllowThreads();
10669 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10670 wxPyEndAllowThreads(__tstate);
10671 if (PyErr_Occurred()) SWIG_fail;
10672 }
10673 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10674 {
10675 if (temp6)
10676 delete arg6;
10677 }
10678 return resultobj;
10679 fail:
10680 {
10681 if (temp6)
10682 delete arg6;
10683 }
10684 return NULL;
10685 }
10686
10687
10688 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10689 PyObject *resultobj = 0;
10690 wxSashWindow *result = 0 ;
10691
10692 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10693 {
10694 if (!wxPyCheckForApp()) SWIG_fail;
10695 PyThreadState* __tstate = wxPyBeginAllowThreads();
10696 result = (wxSashWindow *)new wxSashWindow();
10697 wxPyEndAllowThreads(__tstate);
10698 if (PyErr_Occurred()) SWIG_fail;
10699 }
10700 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10701 return resultobj;
10702 fail:
10703 return NULL;
10704 }
10705
10706
10707 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10708 PyObject *resultobj = 0;
10709 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10710 wxWindow *arg2 = (wxWindow *) 0 ;
10711 int arg3 = (int) -1 ;
10712 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10713 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10714 wxSize const &arg5_defvalue = wxDefaultSize ;
10715 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10716 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10717 wxString const &arg7_defvalue = wxPySashNameStr ;
10718 wxString *arg7 = (wxString *) &arg7_defvalue ;
10719 bool result;
10720 void *argp1 = 0 ;
10721 int res1 = 0 ;
10722 void *argp2 = 0 ;
10723 int res2 = 0 ;
10724 int val3 ;
10725 int ecode3 = 0 ;
10726 wxPoint temp4 ;
10727 wxSize temp5 ;
10728 long val6 ;
10729 int ecode6 = 0 ;
10730 bool temp7 = false ;
10731 PyObject * obj0 = 0 ;
10732 PyObject * obj1 = 0 ;
10733 PyObject * obj2 = 0 ;
10734 PyObject * obj3 = 0 ;
10735 PyObject * obj4 = 0 ;
10736 PyObject * obj5 = 0 ;
10737 PyObject * obj6 = 0 ;
10738 char * kwnames[] = {
10739 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10740 };
10741
10742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10744 if (!SWIG_IsOK(res1)) {
10745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10746 }
10747 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10748 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10749 if (!SWIG_IsOK(res2)) {
10750 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10751 }
10752 arg2 = reinterpret_cast< wxWindow * >(argp2);
10753 if (obj2) {
10754 ecode3 = SWIG_AsVal_int(obj2, &val3);
10755 if (!SWIG_IsOK(ecode3)) {
10756 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10757 }
10758 arg3 = static_cast< int >(val3);
10759 }
10760 if (obj3) {
10761 {
10762 arg4 = &temp4;
10763 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10764 }
10765 }
10766 if (obj4) {
10767 {
10768 arg5 = &temp5;
10769 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10770 }
10771 }
10772 if (obj5) {
10773 ecode6 = SWIG_AsVal_long(obj5, &val6);
10774 if (!SWIG_IsOK(ecode6)) {
10775 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10776 }
10777 arg6 = static_cast< long >(val6);
10778 }
10779 if (obj6) {
10780 {
10781 arg7 = wxString_in_helper(obj6);
10782 if (arg7 == NULL) SWIG_fail;
10783 temp7 = true;
10784 }
10785 }
10786 {
10787 PyThreadState* __tstate = wxPyBeginAllowThreads();
10788 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10789 wxPyEndAllowThreads(__tstate);
10790 if (PyErr_Occurred()) SWIG_fail;
10791 }
10792 {
10793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10794 }
10795 {
10796 if (temp7)
10797 delete arg7;
10798 }
10799 return resultobj;
10800 fail:
10801 {
10802 if (temp7)
10803 delete arg7;
10804 }
10805 return NULL;
10806 }
10807
10808
10809 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10810 PyObject *resultobj = 0;
10811 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10812 wxSashEdgePosition arg2 ;
10813 bool arg3 ;
10814 void *argp1 = 0 ;
10815 int res1 = 0 ;
10816 int val2 ;
10817 int ecode2 = 0 ;
10818 bool val3 ;
10819 int ecode3 = 0 ;
10820 PyObject * obj0 = 0 ;
10821 PyObject * obj1 = 0 ;
10822 PyObject * obj2 = 0 ;
10823 char * kwnames[] = {
10824 (char *) "self",(char *) "edge",(char *) "sash", NULL
10825 };
10826
10827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10829 if (!SWIG_IsOK(res1)) {
10830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10831 }
10832 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10833 ecode2 = SWIG_AsVal_int(obj1, &val2);
10834 if (!SWIG_IsOK(ecode2)) {
10835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10836 }
10837 arg2 = static_cast< wxSashEdgePosition >(val2);
10838 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10839 if (!SWIG_IsOK(ecode3)) {
10840 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10841 }
10842 arg3 = static_cast< bool >(val3);
10843 {
10844 PyThreadState* __tstate = wxPyBeginAllowThreads();
10845 (arg1)->SetSashVisible(arg2,arg3);
10846 wxPyEndAllowThreads(__tstate);
10847 if (PyErr_Occurred()) SWIG_fail;
10848 }
10849 resultobj = SWIG_Py_Void();
10850 return resultobj;
10851 fail:
10852 return NULL;
10853 }
10854
10855
10856 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10857 PyObject *resultobj = 0;
10858 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10859 wxSashEdgePosition arg2 ;
10860 bool result;
10861 void *argp1 = 0 ;
10862 int res1 = 0 ;
10863 int val2 ;
10864 int ecode2 = 0 ;
10865 PyObject * obj0 = 0 ;
10866 PyObject * obj1 = 0 ;
10867 char * kwnames[] = {
10868 (char *) "self",(char *) "edge", NULL
10869 };
10870
10871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10873 if (!SWIG_IsOK(res1)) {
10874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10875 }
10876 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10877 ecode2 = SWIG_AsVal_int(obj1, &val2);
10878 if (!SWIG_IsOK(ecode2)) {
10879 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10880 }
10881 arg2 = static_cast< wxSashEdgePosition >(val2);
10882 {
10883 PyThreadState* __tstate = wxPyBeginAllowThreads();
10884 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
10885 wxPyEndAllowThreads(__tstate);
10886 if (PyErr_Occurred()) SWIG_fail;
10887 }
10888 {
10889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10890 }
10891 return resultobj;
10892 fail:
10893 return NULL;
10894 }
10895
10896
10897 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10898 PyObject *resultobj = 0;
10899 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10900 wxSashEdgePosition arg2 ;
10901 bool arg3 ;
10902 void *argp1 = 0 ;
10903 int res1 = 0 ;
10904 int val2 ;
10905 int ecode2 = 0 ;
10906 bool val3 ;
10907 int ecode3 = 0 ;
10908 PyObject * obj0 = 0 ;
10909 PyObject * obj1 = 0 ;
10910 PyObject * obj2 = 0 ;
10911 char * kwnames[] = {
10912 (char *) "self",(char *) "edge",(char *) "border", NULL
10913 };
10914
10915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10917 if (!SWIG_IsOK(res1)) {
10918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10919 }
10920 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10921 ecode2 = SWIG_AsVal_int(obj1, &val2);
10922 if (!SWIG_IsOK(ecode2)) {
10923 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10924 }
10925 arg2 = static_cast< wxSashEdgePosition >(val2);
10926 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10927 if (!SWIG_IsOK(ecode3)) {
10928 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10929 }
10930 arg3 = static_cast< bool >(val3);
10931 {
10932 PyThreadState* __tstate = wxPyBeginAllowThreads();
10933 (arg1)->SetSashBorder(arg2,arg3);
10934 wxPyEndAllowThreads(__tstate);
10935 if (PyErr_Occurred()) SWIG_fail;
10936 }
10937 resultobj = SWIG_Py_Void();
10938 return resultobj;
10939 fail:
10940 return NULL;
10941 }
10942
10943
10944 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10945 PyObject *resultobj = 0;
10946 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10947 wxSashEdgePosition arg2 ;
10948 bool result;
10949 void *argp1 = 0 ;
10950 int res1 = 0 ;
10951 int val2 ;
10952 int ecode2 = 0 ;
10953 PyObject * obj0 = 0 ;
10954 PyObject * obj1 = 0 ;
10955 char * kwnames[] = {
10956 (char *) "self",(char *) "edge", NULL
10957 };
10958
10959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
10960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10961 if (!SWIG_IsOK(res1)) {
10962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10963 }
10964 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10965 ecode2 = SWIG_AsVal_int(obj1, &val2);
10966 if (!SWIG_IsOK(ecode2)) {
10967 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10968 }
10969 arg2 = static_cast< wxSashEdgePosition >(val2);
10970 {
10971 PyThreadState* __tstate = wxPyBeginAllowThreads();
10972 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
10973 wxPyEndAllowThreads(__tstate);
10974 if (PyErr_Occurred()) SWIG_fail;
10975 }
10976 {
10977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10978 }
10979 return resultobj;
10980 fail:
10981 return NULL;
10982 }
10983
10984
10985 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10986 PyObject *resultobj = 0;
10987 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10988 wxSashEdgePosition arg2 ;
10989 int result;
10990 void *argp1 = 0 ;
10991 int res1 = 0 ;
10992 int val2 ;
10993 int ecode2 = 0 ;
10994 PyObject * obj0 = 0 ;
10995 PyObject * obj1 = 0 ;
10996 char * kwnames[] = {
10997 (char *) "self",(char *) "edge", NULL
10998 };
10999
11000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11002 if (!SWIG_IsOK(res1)) {
11003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11004 }
11005 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11006 ecode2 = SWIG_AsVal_int(obj1, &val2);
11007 if (!SWIG_IsOK(ecode2)) {
11008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11009 }
11010 arg2 = static_cast< wxSashEdgePosition >(val2);
11011 {
11012 PyThreadState* __tstate = wxPyBeginAllowThreads();
11013 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11014 wxPyEndAllowThreads(__tstate);
11015 if (PyErr_Occurred()) SWIG_fail;
11016 }
11017 resultobj = SWIG_From_int(static_cast< int >(result));
11018 return resultobj;
11019 fail:
11020 return NULL;
11021 }
11022
11023
11024 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11025 PyObject *resultobj = 0;
11026 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11027 int arg2 ;
11028 void *argp1 = 0 ;
11029 int res1 = 0 ;
11030 int val2 ;
11031 int ecode2 = 0 ;
11032 PyObject * obj0 = 0 ;
11033 PyObject * obj1 = 0 ;
11034 char * kwnames[] = {
11035 (char *) "self",(char *) "width", NULL
11036 };
11037
11038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11040 if (!SWIG_IsOK(res1)) {
11041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11042 }
11043 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11044 ecode2 = SWIG_AsVal_int(obj1, &val2);
11045 if (!SWIG_IsOK(ecode2)) {
11046 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11047 }
11048 arg2 = static_cast< int >(val2);
11049 {
11050 PyThreadState* __tstate = wxPyBeginAllowThreads();
11051 (arg1)->SetDefaultBorderSize(arg2);
11052 wxPyEndAllowThreads(__tstate);
11053 if (PyErr_Occurred()) SWIG_fail;
11054 }
11055 resultobj = SWIG_Py_Void();
11056 return resultobj;
11057 fail:
11058 return NULL;
11059 }
11060
11061
11062 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11063 PyObject *resultobj = 0;
11064 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11065 int result;
11066 void *argp1 = 0 ;
11067 int res1 = 0 ;
11068 PyObject *swig_obj[1] ;
11069
11070 if (!args) SWIG_fail;
11071 swig_obj[0] = args;
11072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11073 if (!SWIG_IsOK(res1)) {
11074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11075 }
11076 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11077 {
11078 PyThreadState* __tstate = wxPyBeginAllowThreads();
11079 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11080 wxPyEndAllowThreads(__tstate);
11081 if (PyErr_Occurred()) SWIG_fail;
11082 }
11083 resultobj = SWIG_From_int(static_cast< int >(result));
11084 return resultobj;
11085 fail:
11086 return NULL;
11087 }
11088
11089
11090 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11091 PyObject *resultobj = 0;
11092 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11093 int arg2 ;
11094 void *argp1 = 0 ;
11095 int res1 = 0 ;
11096 int val2 ;
11097 int ecode2 = 0 ;
11098 PyObject * obj0 = 0 ;
11099 PyObject * obj1 = 0 ;
11100 char * kwnames[] = {
11101 (char *) "self",(char *) "width", NULL
11102 };
11103
11104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11106 if (!SWIG_IsOK(res1)) {
11107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11108 }
11109 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11110 ecode2 = SWIG_AsVal_int(obj1, &val2);
11111 if (!SWIG_IsOK(ecode2)) {
11112 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11113 }
11114 arg2 = static_cast< int >(val2);
11115 {
11116 PyThreadState* __tstate = wxPyBeginAllowThreads();
11117 (arg1)->SetExtraBorderSize(arg2);
11118 wxPyEndAllowThreads(__tstate);
11119 if (PyErr_Occurred()) SWIG_fail;
11120 }
11121 resultobj = SWIG_Py_Void();
11122 return resultobj;
11123 fail:
11124 return NULL;
11125 }
11126
11127
11128 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11129 PyObject *resultobj = 0;
11130 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11131 int result;
11132 void *argp1 = 0 ;
11133 int res1 = 0 ;
11134 PyObject *swig_obj[1] ;
11135
11136 if (!args) SWIG_fail;
11137 swig_obj[0] = args;
11138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11139 if (!SWIG_IsOK(res1)) {
11140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11141 }
11142 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11143 {
11144 PyThreadState* __tstate = wxPyBeginAllowThreads();
11145 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11146 wxPyEndAllowThreads(__tstate);
11147 if (PyErr_Occurred()) SWIG_fail;
11148 }
11149 resultobj = SWIG_From_int(static_cast< int >(result));
11150 return resultobj;
11151 fail:
11152 return NULL;
11153 }
11154
11155
11156 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11157 PyObject *resultobj = 0;
11158 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11159 int arg2 ;
11160 void *argp1 = 0 ;
11161 int res1 = 0 ;
11162 int val2 ;
11163 int ecode2 = 0 ;
11164 PyObject * obj0 = 0 ;
11165 PyObject * obj1 = 0 ;
11166 char * kwnames[] = {
11167 (char *) "self",(char *) "min", NULL
11168 };
11169
11170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11172 if (!SWIG_IsOK(res1)) {
11173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11174 }
11175 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11176 ecode2 = SWIG_AsVal_int(obj1, &val2);
11177 if (!SWIG_IsOK(ecode2)) {
11178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11179 }
11180 arg2 = static_cast< int >(val2);
11181 {
11182 PyThreadState* __tstate = wxPyBeginAllowThreads();
11183 (arg1)->SetMinimumSizeX(arg2);
11184 wxPyEndAllowThreads(__tstate);
11185 if (PyErr_Occurred()) SWIG_fail;
11186 }
11187 resultobj = SWIG_Py_Void();
11188 return resultobj;
11189 fail:
11190 return NULL;
11191 }
11192
11193
11194 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11195 PyObject *resultobj = 0;
11196 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11197 int arg2 ;
11198 void *argp1 = 0 ;
11199 int res1 = 0 ;
11200 int val2 ;
11201 int ecode2 = 0 ;
11202 PyObject * obj0 = 0 ;
11203 PyObject * obj1 = 0 ;
11204 char * kwnames[] = {
11205 (char *) "self",(char *) "min", NULL
11206 };
11207
11208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11210 if (!SWIG_IsOK(res1)) {
11211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11212 }
11213 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11214 ecode2 = SWIG_AsVal_int(obj1, &val2);
11215 if (!SWIG_IsOK(ecode2)) {
11216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11217 }
11218 arg2 = static_cast< int >(val2);
11219 {
11220 PyThreadState* __tstate = wxPyBeginAllowThreads();
11221 (arg1)->SetMinimumSizeY(arg2);
11222 wxPyEndAllowThreads(__tstate);
11223 if (PyErr_Occurred()) SWIG_fail;
11224 }
11225 resultobj = SWIG_Py_Void();
11226 return resultobj;
11227 fail:
11228 return NULL;
11229 }
11230
11231
11232 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11233 PyObject *resultobj = 0;
11234 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11235 int result;
11236 void *argp1 = 0 ;
11237 int res1 = 0 ;
11238 PyObject *swig_obj[1] ;
11239
11240 if (!args) SWIG_fail;
11241 swig_obj[0] = args;
11242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11243 if (!SWIG_IsOK(res1)) {
11244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11245 }
11246 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11247 {
11248 PyThreadState* __tstate = wxPyBeginAllowThreads();
11249 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11250 wxPyEndAllowThreads(__tstate);
11251 if (PyErr_Occurred()) SWIG_fail;
11252 }
11253 resultobj = SWIG_From_int(static_cast< int >(result));
11254 return resultobj;
11255 fail:
11256 return NULL;
11257 }
11258
11259
11260 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11261 PyObject *resultobj = 0;
11262 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11263 int result;
11264 void *argp1 = 0 ;
11265 int res1 = 0 ;
11266 PyObject *swig_obj[1] ;
11267
11268 if (!args) SWIG_fail;
11269 swig_obj[0] = args;
11270 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11271 if (!SWIG_IsOK(res1)) {
11272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11273 }
11274 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11275 {
11276 PyThreadState* __tstate = wxPyBeginAllowThreads();
11277 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11278 wxPyEndAllowThreads(__tstate);
11279 if (PyErr_Occurred()) SWIG_fail;
11280 }
11281 resultobj = SWIG_From_int(static_cast< int >(result));
11282 return resultobj;
11283 fail:
11284 return NULL;
11285 }
11286
11287
11288 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11289 PyObject *resultobj = 0;
11290 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11291 int arg2 ;
11292 void *argp1 = 0 ;
11293 int res1 = 0 ;
11294 int val2 ;
11295 int ecode2 = 0 ;
11296 PyObject * obj0 = 0 ;
11297 PyObject * obj1 = 0 ;
11298 char * kwnames[] = {
11299 (char *) "self",(char *) "max", NULL
11300 };
11301
11302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11304 if (!SWIG_IsOK(res1)) {
11305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11306 }
11307 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11308 ecode2 = SWIG_AsVal_int(obj1, &val2);
11309 if (!SWIG_IsOK(ecode2)) {
11310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11311 }
11312 arg2 = static_cast< int >(val2);
11313 {
11314 PyThreadState* __tstate = wxPyBeginAllowThreads();
11315 (arg1)->SetMaximumSizeX(arg2);
11316 wxPyEndAllowThreads(__tstate);
11317 if (PyErr_Occurred()) SWIG_fail;
11318 }
11319 resultobj = SWIG_Py_Void();
11320 return resultobj;
11321 fail:
11322 return NULL;
11323 }
11324
11325
11326 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11327 PyObject *resultobj = 0;
11328 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11329 int arg2 ;
11330 void *argp1 = 0 ;
11331 int res1 = 0 ;
11332 int val2 ;
11333 int ecode2 = 0 ;
11334 PyObject * obj0 = 0 ;
11335 PyObject * obj1 = 0 ;
11336 char * kwnames[] = {
11337 (char *) "self",(char *) "max", NULL
11338 };
11339
11340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11342 if (!SWIG_IsOK(res1)) {
11343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11344 }
11345 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11346 ecode2 = SWIG_AsVal_int(obj1, &val2);
11347 if (!SWIG_IsOK(ecode2)) {
11348 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11349 }
11350 arg2 = static_cast< int >(val2);
11351 {
11352 PyThreadState* __tstate = wxPyBeginAllowThreads();
11353 (arg1)->SetMaximumSizeY(arg2);
11354 wxPyEndAllowThreads(__tstate);
11355 if (PyErr_Occurred()) SWIG_fail;
11356 }
11357 resultobj = SWIG_Py_Void();
11358 return resultobj;
11359 fail:
11360 return NULL;
11361 }
11362
11363
11364 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11365 PyObject *resultobj = 0;
11366 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11367 int result;
11368 void *argp1 = 0 ;
11369 int res1 = 0 ;
11370 PyObject *swig_obj[1] ;
11371
11372 if (!args) SWIG_fail;
11373 swig_obj[0] = args;
11374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11375 if (!SWIG_IsOK(res1)) {
11376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11377 }
11378 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11379 {
11380 PyThreadState* __tstate = wxPyBeginAllowThreads();
11381 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11382 wxPyEndAllowThreads(__tstate);
11383 if (PyErr_Occurred()) SWIG_fail;
11384 }
11385 resultobj = SWIG_From_int(static_cast< int >(result));
11386 return resultobj;
11387 fail:
11388 return NULL;
11389 }
11390
11391
11392 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11393 PyObject *resultobj = 0;
11394 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11395 int result;
11396 void *argp1 = 0 ;
11397 int res1 = 0 ;
11398 PyObject *swig_obj[1] ;
11399
11400 if (!args) SWIG_fail;
11401 swig_obj[0] = args;
11402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11403 if (!SWIG_IsOK(res1)) {
11404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11405 }
11406 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11407 {
11408 PyThreadState* __tstate = wxPyBeginAllowThreads();
11409 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11410 wxPyEndAllowThreads(__tstate);
11411 if (PyErr_Occurred()) SWIG_fail;
11412 }
11413 resultobj = SWIG_From_int(static_cast< int >(result));
11414 return resultobj;
11415 fail:
11416 return NULL;
11417 }
11418
11419
11420 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11421 PyObject *resultobj = 0;
11422 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11423 int arg2 ;
11424 int arg3 ;
11425 int arg4 = (int) 2 ;
11426 wxSashEdgePosition result;
11427 void *argp1 = 0 ;
11428 int res1 = 0 ;
11429 int val2 ;
11430 int ecode2 = 0 ;
11431 int val3 ;
11432 int ecode3 = 0 ;
11433 int val4 ;
11434 int ecode4 = 0 ;
11435 PyObject * obj0 = 0 ;
11436 PyObject * obj1 = 0 ;
11437 PyObject * obj2 = 0 ;
11438 PyObject * obj3 = 0 ;
11439 char * kwnames[] = {
11440 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11441 };
11442
11443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11445 if (!SWIG_IsOK(res1)) {
11446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11447 }
11448 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11449 ecode2 = SWIG_AsVal_int(obj1, &val2);
11450 if (!SWIG_IsOK(ecode2)) {
11451 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11452 }
11453 arg2 = static_cast< int >(val2);
11454 ecode3 = SWIG_AsVal_int(obj2, &val3);
11455 if (!SWIG_IsOK(ecode3)) {
11456 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11457 }
11458 arg3 = static_cast< int >(val3);
11459 if (obj3) {
11460 ecode4 = SWIG_AsVal_int(obj3, &val4);
11461 if (!SWIG_IsOK(ecode4)) {
11462 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11463 }
11464 arg4 = static_cast< int >(val4);
11465 }
11466 {
11467 PyThreadState* __tstate = wxPyBeginAllowThreads();
11468 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11469 wxPyEndAllowThreads(__tstate);
11470 if (PyErr_Occurred()) SWIG_fail;
11471 }
11472 resultobj = SWIG_From_int(static_cast< int >(result));
11473 return resultobj;
11474 fail:
11475 return NULL;
11476 }
11477
11478
11479 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11480 PyObject *resultobj = 0;
11481 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11482 void *argp1 = 0 ;
11483 int res1 = 0 ;
11484 PyObject *swig_obj[1] ;
11485
11486 if (!args) SWIG_fail;
11487 swig_obj[0] = args;
11488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11489 if (!SWIG_IsOK(res1)) {
11490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11491 }
11492 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11493 {
11494 PyThreadState* __tstate = wxPyBeginAllowThreads();
11495 (arg1)->SizeWindows();
11496 wxPyEndAllowThreads(__tstate);
11497 if (PyErr_Occurred()) SWIG_fail;
11498 }
11499 resultobj = SWIG_Py_Void();
11500 return resultobj;
11501 fail:
11502 return NULL;
11503 }
11504
11505
11506 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11507 PyObject *obj;
11508 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11509 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11510 return SWIG_Py_Void();
11511 }
11512
11513 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11514 return SWIG_Python_InitShadowInstance(args);
11515 }
11516
11517 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11518 PyObject *resultobj = 0;
11519 int arg1 = (int) 0 ;
11520 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11521 wxSashEvent *result = 0 ;
11522 int val1 ;
11523 int ecode1 = 0 ;
11524 int val2 ;
11525 int ecode2 = 0 ;
11526 PyObject * obj0 = 0 ;
11527 PyObject * obj1 = 0 ;
11528 char * kwnames[] = {
11529 (char *) "id",(char *) "edge", NULL
11530 };
11531
11532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11533 if (obj0) {
11534 ecode1 = SWIG_AsVal_int(obj0, &val1);
11535 if (!SWIG_IsOK(ecode1)) {
11536 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11537 }
11538 arg1 = static_cast< int >(val1);
11539 }
11540 if (obj1) {
11541 ecode2 = SWIG_AsVal_int(obj1, &val2);
11542 if (!SWIG_IsOK(ecode2)) {
11543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11544 }
11545 arg2 = static_cast< wxSashEdgePosition >(val2);
11546 }
11547 {
11548 PyThreadState* __tstate = wxPyBeginAllowThreads();
11549 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11550 wxPyEndAllowThreads(__tstate);
11551 if (PyErr_Occurred()) SWIG_fail;
11552 }
11553 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11554 return resultobj;
11555 fail:
11556 return NULL;
11557 }
11558
11559
11560 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11561 PyObject *resultobj = 0;
11562 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11563 wxSashEdgePosition arg2 ;
11564 void *argp1 = 0 ;
11565 int res1 = 0 ;
11566 int val2 ;
11567 int ecode2 = 0 ;
11568 PyObject * obj0 = 0 ;
11569 PyObject * obj1 = 0 ;
11570 char * kwnames[] = {
11571 (char *) "self",(char *) "edge", NULL
11572 };
11573
11574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11576 if (!SWIG_IsOK(res1)) {
11577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11578 }
11579 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11580 ecode2 = SWIG_AsVal_int(obj1, &val2);
11581 if (!SWIG_IsOK(ecode2)) {
11582 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11583 }
11584 arg2 = static_cast< wxSashEdgePosition >(val2);
11585 {
11586 PyThreadState* __tstate = wxPyBeginAllowThreads();
11587 (arg1)->SetEdge(arg2);
11588 wxPyEndAllowThreads(__tstate);
11589 if (PyErr_Occurred()) SWIG_fail;
11590 }
11591 resultobj = SWIG_Py_Void();
11592 return resultobj;
11593 fail:
11594 return NULL;
11595 }
11596
11597
11598 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11599 PyObject *resultobj = 0;
11600 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11601 wxSashEdgePosition result;
11602 void *argp1 = 0 ;
11603 int res1 = 0 ;
11604 PyObject *swig_obj[1] ;
11605
11606 if (!args) SWIG_fail;
11607 swig_obj[0] = args;
11608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11609 if (!SWIG_IsOK(res1)) {
11610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11611 }
11612 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11613 {
11614 PyThreadState* __tstate = wxPyBeginAllowThreads();
11615 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11616 wxPyEndAllowThreads(__tstate);
11617 if (PyErr_Occurred()) SWIG_fail;
11618 }
11619 resultobj = SWIG_From_int(static_cast< int >(result));
11620 return resultobj;
11621 fail:
11622 return NULL;
11623 }
11624
11625
11626 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11627 PyObject *resultobj = 0;
11628 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11629 wxRect *arg2 = 0 ;
11630 void *argp1 = 0 ;
11631 int res1 = 0 ;
11632 wxRect temp2 ;
11633 PyObject * obj0 = 0 ;
11634 PyObject * obj1 = 0 ;
11635 char * kwnames[] = {
11636 (char *) "self",(char *) "rect", NULL
11637 };
11638
11639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11641 if (!SWIG_IsOK(res1)) {
11642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11643 }
11644 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11645 {
11646 arg2 = &temp2;
11647 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11648 }
11649 {
11650 PyThreadState* __tstate = wxPyBeginAllowThreads();
11651 (arg1)->SetDragRect((wxRect const &)*arg2);
11652 wxPyEndAllowThreads(__tstate);
11653 if (PyErr_Occurred()) SWIG_fail;
11654 }
11655 resultobj = SWIG_Py_Void();
11656 return resultobj;
11657 fail:
11658 return NULL;
11659 }
11660
11661
11662 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11663 PyObject *resultobj = 0;
11664 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11665 wxRect result;
11666 void *argp1 = 0 ;
11667 int res1 = 0 ;
11668 PyObject *swig_obj[1] ;
11669
11670 if (!args) SWIG_fail;
11671 swig_obj[0] = args;
11672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11673 if (!SWIG_IsOK(res1)) {
11674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11675 }
11676 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11677 {
11678 PyThreadState* __tstate = wxPyBeginAllowThreads();
11679 result = ((wxSashEvent const *)arg1)->GetDragRect();
11680 wxPyEndAllowThreads(__tstate);
11681 if (PyErr_Occurred()) SWIG_fail;
11682 }
11683 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11684 return resultobj;
11685 fail:
11686 return NULL;
11687 }
11688
11689
11690 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11691 PyObject *resultobj = 0;
11692 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11693 wxSashDragStatus arg2 ;
11694 void *argp1 = 0 ;
11695 int res1 = 0 ;
11696 int val2 ;
11697 int ecode2 = 0 ;
11698 PyObject * obj0 = 0 ;
11699 PyObject * obj1 = 0 ;
11700 char * kwnames[] = {
11701 (char *) "self",(char *) "status", NULL
11702 };
11703
11704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11706 if (!SWIG_IsOK(res1)) {
11707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11708 }
11709 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11710 ecode2 = SWIG_AsVal_int(obj1, &val2);
11711 if (!SWIG_IsOK(ecode2)) {
11712 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11713 }
11714 arg2 = static_cast< wxSashDragStatus >(val2);
11715 {
11716 PyThreadState* __tstate = wxPyBeginAllowThreads();
11717 (arg1)->SetDragStatus(arg2);
11718 wxPyEndAllowThreads(__tstate);
11719 if (PyErr_Occurred()) SWIG_fail;
11720 }
11721 resultobj = SWIG_Py_Void();
11722 return resultobj;
11723 fail:
11724 return NULL;
11725 }
11726
11727
11728 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11729 PyObject *resultobj = 0;
11730 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11731 wxSashDragStatus result;
11732 void *argp1 = 0 ;
11733 int res1 = 0 ;
11734 PyObject *swig_obj[1] ;
11735
11736 if (!args) SWIG_fail;
11737 swig_obj[0] = args;
11738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11739 if (!SWIG_IsOK(res1)) {
11740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11741 }
11742 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11743 {
11744 PyThreadState* __tstate = wxPyBeginAllowThreads();
11745 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11746 wxPyEndAllowThreads(__tstate);
11747 if (PyErr_Occurred()) SWIG_fail;
11748 }
11749 resultobj = SWIG_From_int(static_cast< int >(result));
11750 return resultobj;
11751 fail:
11752 return NULL;
11753 }
11754
11755
11756 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11757 PyObject *obj;
11758 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11759 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11760 return SWIG_Py_Void();
11761 }
11762
11763 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11764 return SWIG_Python_InitShadowInstance(args);
11765 }
11766
11767 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11768 PyObject *resultobj = 0;
11769 int arg1 = (int) 0 ;
11770 wxQueryLayoutInfoEvent *result = 0 ;
11771 int val1 ;
11772 int ecode1 = 0 ;
11773 PyObject * obj0 = 0 ;
11774 char * kwnames[] = {
11775 (char *) "id", NULL
11776 };
11777
11778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11779 if (obj0) {
11780 ecode1 = SWIG_AsVal_int(obj0, &val1);
11781 if (!SWIG_IsOK(ecode1)) {
11782 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11783 }
11784 arg1 = static_cast< int >(val1);
11785 }
11786 {
11787 PyThreadState* __tstate = wxPyBeginAllowThreads();
11788 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11789 wxPyEndAllowThreads(__tstate);
11790 if (PyErr_Occurred()) SWIG_fail;
11791 }
11792 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11793 return resultobj;
11794 fail:
11795 return NULL;
11796 }
11797
11798
11799 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11800 PyObject *resultobj = 0;
11801 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11802 int arg2 ;
11803 void *argp1 = 0 ;
11804 int res1 = 0 ;
11805 int val2 ;
11806 int ecode2 = 0 ;
11807 PyObject * obj0 = 0 ;
11808 PyObject * obj1 = 0 ;
11809 char * kwnames[] = {
11810 (char *) "self",(char *) "length", NULL
11811 };
11812
11813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
11814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11815 if (!SWIG_IsOK(res1)) {
11816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11817 }
11818 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11819 ecode2 = SWIG_AsVal_int(obj1, &val2);
11820 if (!SWIG_IsOK(ecode2)) {
11821 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11822 }
11823 arg2 = static_cast< int >(val2);
11824 {
11825 PyThreadState* __tstate = wxPyBeginAllowThreads();
11826 (arg1)->SetRequestedLength(arg2);
11827 wxPyEndAllowThreads(__tstate);
11828 if (PyErr_Occurred()) SWIG_fail;
11829 }
11830 resultobj = SWIG_Py_Void();
11831 return resultobj;
11832 fail:
11833 return NULL;
11834 }
11835
11836
11837 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11838 PyObject *resultobj = 0;
11839 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11840 int result;
11841 void *argp1 = 0 ;
11842 int res1 = 0 ;
11843 PyObject *swig_obj[1] ;
11844
11845 if (!args) SWIG_fail;
11846 swig_obj[0] = args;
11847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11848 if (!SWIG_IsOK(res1)) {
11849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11850 }
11851 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11852 {
11853 PyThreadState* __tstate = wxPyBeginAllowThreads();
11854 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
11855 wxPyEndAllowThreads(__tstate);
11856 if (PyErr_Occurred()) SWIG_fail;
11857 }
11858 resultobj = SWIG_From_int(static_cast< int >(result));
11859 return resultobj;
11860 fail:
11861 return NULL;
11862 }
11863
11864
11865 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11866 PyObject *resultobj = 0;
11867 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11868 int arg2 ;
11869 void *argp1 = 0 ;
11870 int res1 = 0 ;
11871 int val2 ;
11872 int ecode2 = 0 ;
11873 PyObject * obj0 = 0 ;
11874 PyObject * obj1 = 0 ;
11875 char * kwnames[] = {
11876 (char *) "self",(char *) "flags", NULL
11877 };
11878
11879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11881 if (!SWIG_IsOK(res1)) {
11882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11883 }
11884 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11885 ecode2 = SWIG_AsVal_int(obj1, &val2);
11886 if (!SWIG_IsOK(ecode2)) {
11887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11888 }
11889 arg2 = static_cast< int >(val2);
11890 {
11891 PyThreadState* __tstate = wxPyBeginAllowThreads();
11892 (arg1)->SetFlags(arg2);
11893 wxPyEndAllowThreads(__tstate);
11894 if (PyErr_Occurred()) SWIG_fail;
11895 }
11896 resultobj = SWIG_Py_Void();
11897 return resultobj;
11898 fail:
11899 return NULL;
11900 }
11901
11902
11903 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11904 PyObject *resultobj = 0;
11905 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11906 int result;
11907 void *argp1 = 0 ;
11908 int res1 = 0 ;
11909 PyObject *swig_obj[1] ;
11910
11911 if (!args) SWIG_fail;
11912 swig_obj[0] = args;
11913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11914 if (!SWIG_IsOK(res1)) {
11915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11916 }
11917 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11918 {
11919 PyThreadState* __tstate = wxPyBeginAllowThreads();
11920 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
11921 wxPyEndAllowThreads(__tstate);
11922 if (PyErr_Occurred()) SWIG_fail;
11923 }
11924 resultobj = SWIG_From_int(static_cast< int >(result));
11925 return resultobj;
11926 fail:
11927 return NULL;
11928 }
11929
11930
11931 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11932 PyObject *resultobj = 0;
11933 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11934 wxSize *arg2 = 0 ;
11935 void *argp1 = 0 ;
11936 int res1 = 0 ;
11937 wxSize temp2 ;
11938 PyObject * obj0 = 0 ;
11939 PyObject * obj1 = 0 ;
11940 char * kwnames[] = {
11941 (char *) "self",(char *) "size", NULL
11942 };
11943
11944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
11945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11946 if (!SWIG_IsOK(res1)) {
11947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11948 }
11949 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11950 {
11951 arg2 = &temp2;
11952 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11953 }
11954 {
11955 PyThreadState* __tstate = wxPyBeginAllowThreads();
11956 (arg1)->SetSize((wxSize const &)*arg2);
11957 wxPyEndAllowThreads(__tstate);
11958 if (PyErr_Occurred()) SWIG_fail;
11959 }
11960 resultobj = SWIG_Py_Void();
11961 return resultobj;
11962 fail:
11963 return NULL;
11964 }
11965
11966
11967 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11968 PyObject *resultobj = 0;
11969 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11970 wxSize result;
11971 void *argp1 = 0 ;
11972 int res1 = 0 ;
11973 PyObject *swig_obj[1] ;
11974
11975 if (!args) SWIG_fail;
11976 swig_obj[0] = args;
11977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11978 if (!SWIG_IsOK(res1)) {
11979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11980 }
11981 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11982 {
11983 PyThreadState* __tstate = wxPyBeginAllowThreads();
11984 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
11985 wxPyEndAllowThreads(__tstate);
11986 if (PyErr_Occurred()) SWIG_fail;
11987 }
11988 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
11989 return resultobj;
11990 fail:
11991 return NULL;
11992 }
11993
11994
11995 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11996 PyObject *resultobj = 0;
11997 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11998 wxLayoutOrientation arg2 ;
11999 void *argp1 = 0 ;
12000 int res1 = 0 ;
12001 int val2 ;
12002 int ecode2 = 0 ;
12003 PyObject * obj0 = 0 ;
12004 PyObject * obj1 = 0 ;
12005 char * kwnames[] = {
12006 (char *) "self",(char *) "orient", NULL
12007 };
12008
12009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12011 if (!SWIG_IsOK(res1)) {
12012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12013 }
12014 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12015 ecode2 = SWIG_AsVal_int(obj1, &val2);
12016 if (!SWIG_IsOK(ecode2)) {
12017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12018 }
12019 arg2 = static_cast< wxLayoutOrientation >(val2);
12020 {
12021 PyThreadState* __tstate = wxPyBeginAllowThreads();
12022 (arg1)->SetOrientation(arg2);
12023 wxPyEndAllowThreads(__tstate);
12024 if (PyErr_Occurred()) SWIG_fail;
12025 }
12026 resultobj = SWIG_Py_Void();
12027 return resultobj;
12028 fail:
12029 return NULL;
12030 }
12031
12032
12033 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12034 PyObject *resultobj = 0;
12035 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12036 wxLayoutOrientation result;
12037 void *argp1 = 0 ;
12038 int res1 = 0 ;
12039 PyObject *swig_obj[1] ;
12040
12041 if (!args) SWIG_fail;
12042 swig_obj[0] = args;
12043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12044 if (!SWIG_IsOK(res1)) {
12045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12046 }
12047 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12048 {
12049 PyThreadState* __tstate = wxPyBeginAllowThreads();
12050 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12051 wxPyEndAllowThreads(__tstate);
12052 if (PyErr_Occurred()) SWIG_fail;
12053 }
12054 resultobj = SWIG_From_int(static_cast< int >(result));
12055 return resultobj;
12056 fail:
12057 return NULL;
12058 }
12059
12060
12061 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12062 PyObject *resultobj = 0;
12063 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12064 wxLayoutAlignment arg2 ;
12065 void *argp1 = 0 ;
12066 int res1 = 0 ;
12067 int val2 ;
12068 int ecode2 = 0 ;
12069 PyObject * obj0 = 0 ;
12070 PyObject * obj1 = 0 ;
12071 char * kwnames[] = {
12072 (char *) "self",(char *) "align", NULL
12073 };
12074
12075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12077 if (!SWIG_IsOK(res1)) {
12078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12079 }
12080 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12081 ecode2 = SWIG_AsVal_int(obj1, &val2);
12082 if (!SWIG_IsOK(ecode2)) {
12083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12084 }
12085 arg2 = static_cast< wxLayoutAlignment >(val2);
12086 {
12087 PyThreadState* __tstate = wxPyBeginAllowThreads();
12088 (arg1)->SetAlignment(arg2);
12089 wxPyEndAllowThreads(__tstate);
12090 if (PyErr_Occurred()) SWIG_fail;
12091 }
12092 resultobj = SWIG_Py_Void();
12093 return resultobj;
12094 fail:
12095 return NULL;
12096 }
12097
12098
12099 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12100 PyObject *resultobj = 0;
12101 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12102 wxLayoutAlignment result;
12103 void *argp1 = 0 ;
12104 int res1 = 0 ;
12105 PyObject *swig_obj[1] ;
12106
12107 if (!args) SWIG_fail;
12108 swig_obj[0] = args;
12109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12110 if (!SWIG_IsOK(res1)) {
12111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12112 }
12113 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12114 {
12115 PyThreadState* __tstate = wxPyBeginAllowThreads();
12116 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12117 wxPyEndAllowThreads(__tstate);
12118 if (PyErr_Occurred()) SWIG_fail;
12119 }
12120 resultobj = SWIG_From_int(static_cast< int >(result));
12121 return resultobj;
12122 fail:
12123 return NULL;
12124 }
12125
12126
12127 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12128 PyObject *obj;
12129 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12130 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12131 return SWIG_Py_Void();
12132 }
12133
12134 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12135 return SWIG_Python_InitShadowInstance(args);
12136 }
12137
12138 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12139 PyObject *resultobj = 0;
12140 int arg1 = (int) 0 ;
12141 wxCalculateLayoutEvent *result = 0 ;
12142 int val1 ;
12143 int ecode1 = 0 ;
12144 PyObject * obj0 = 0 ;
12145 char * kwnames[] = {
12146 (char *) "id", NULL
12147 };
12148
12149 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12150 if (obj0) {
12151 ecode1 = SWIG_AsVal_int(obj0, &val1);
12152 if (!SWIG_IsOK(ecode1)) {
12153 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12154 }
12155 arg1 = static_cast< int >(val1);
12156 }
12157 {
12158 PyThreadState* __tstate = wxPyBeginAllowThreads();
12159 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12160 wxPyEndAllowThreads(__tstate);
12161 if (PyErr_Occurred()) SWIG_fail;
12162 }
12163 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12164 return resultobj;
12165 fail:
12166 return NULL;
12167 }
12168
12169
12170 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12171 PyObject *resultobj = 0;
12172 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12173 int arg2 ;
12174 void *argp1 = 0 ;
12175 int res1 = 0 ;
12176 int val2 ;
12177 int ecode2 = 0 ;
12178 PyObject * obj0 = 0 ;
12179 PyObject * obj1 = 0 ;
12180 char * kwnames[] = {
12181 (char *) "self",(char *) "flags", NULL
12182 };
12183
12184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12186 if (!SWIG_IsOK(res1)) {
12187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12188 }
12189 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12190 ecode2 = SWIG_AsVal_int(obj1, &val2);
12191 if (!SWIG_IsOK(ecode2)) {
12192 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12193 }
12194 arg2 = static_cast< int >(val2);
12195 {
12196 PyThreadState* __tstate = wxPyBeginAllowThreads();
12197 (arg1)->SetFlags(arg2);
12198 wxPyEndAllowThreads(__tstate);
12199 if (PyErr_Occurred()) SWIG_fail;
12200 }
12201 resultobj = SWIG_Py_Void();
12202 return resultobj;
12203 fail:
12204 return NULL;
12205 }
12206
12207
12208 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12209 PyObject *resultobj = 0;
12210 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12211 int result;
12212 void *argp1 = 0 ;
12213 int res1 = 0 ;
12214 PyObject *swig_obj[1] ;
12215
12216 if (!args) SWIG_fail;
12217 swig_obj[0] = args;
12218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12219 if (!SWIG_IsOK(res1)) {
12220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12221 }
12222 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12223 {
12224 PyThreadState* __tstate = wxPyBeginAllowThreads();
12225 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12226 wxPyEndAllowThreads(__tstate);
12227 if (PyErr_Occurred()) SWIG_fail;
12228 }
12229 resultobj = SWIG_From_int(static_cast< int >(result));
12230 return resultobj;
12231 fail:
12232 return NULL;
12233 }
12234
12235
12236 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12237 PyObject *resultobj = 0;
12238 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12239 wxRect *arg2 = 0 ;
12240 void *argp1 = 0 ;
12241 int res1 = 0 ;
12242 wxRect temp2 ;
12243 PyObject * obj0 = 0 ;
12244 PyObject * obj1 = 0 ;
12245 char * kwnames[] = {
12246 (char *) "self",(char *) "rect", NULL
12247 };
12248
12249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12251 if (!SWIG_IsOK(res1)) {
12252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12253 }
12254 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12255 {
12256 arg2 = &temp2;
12257 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12258 }
12259 {
12260 PyThreadState* __tstate = wxPyBeginAllowThreads();
12261 (arg1)->SetRect((wxRect const &)*arg2);
12262 wxPyEndAllowThreads(__tstate);
12263 if (PyErr_Occurred()) SWIG_fail;
12264 }
12265 resultobj = SWIG_Py_Void();
12266 return resultobj;
12267 fail:
12268 return NULL;
12269 }
12270
12271
12272 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12273 PyObject *resultobj = 0;
12274 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12275 wxRect result;
12276 void *argp1 = 0 ;
12277 int res1 = 0 ;
12278 PyObject *swig_obj[1] ;
12279
12280 if (!args) SWIG_fail;
12281 swig_obj[0] = args;
12282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12283 if (!SWIG_IsOK(res1)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12285 }
12286 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12287 {
12288 PyThreadState* __tstate = wxPyBeginAllowThreads();
12289 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12294 return resultobj;
12295 fail:
12296 return NULL;
12297 }
12298
12299
12300 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12301 PyObject *obj;
12302 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12303 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12304 return SWIG_Py_Void();
12305 }
12306
12307 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12308 return SWIG_Python_InitShadowInstance(args);
12309 }
12310
12311 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12312 PyObject *resultobj = 0;
12313 wxWindow *arg1 = (wxWindow *) 0 ;
12314 int arg2 = (int) -1 ;
12315 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12316 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12317 wxSize const &arg4_defvalue = wxDefaultSize ;
12318 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12319 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12320 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12321 wxString *arg6 = (wxString *) &arg6_defvalue ;
12322 wxSashLayoutWindow *result = 0 ;
12323 void *argp1 = 0 ;
12324 int res1 = 0 ;
12325 int val2 ;
12326 int ecode2 = 0 ;
12327 wxPoint temp3 ;
12328 wxSize temp4 ;
12329 long val5 ;
12330 int ecode5 = 0 ;
12331 bool temp6 = false ;
12332 PyObject * obj0 = 0 ;
12333 PyObject * obj1 = 0 ;
12334 PyObject * obj2 = 0 ;
12335 PyObject * obj3 = 0 ;
12336 PyObject * obj4 = 0 ;
12337 PyObject * obj5 = 0 ;
12338 char * kwnames[] = {
12339 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12340 };
12341
12342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12344 if (!SWIG_IsOK(res1)) {
12345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12346 }
12347 arg1 = reinterpret_cast< wxWindow * >(argp1);
12348 if (obj1) {
12349 ecode2 = SWIG_AsVal_int(obj1, &val2);
12350 if (!SWIG_IsOK(ecode2)) {
12351 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12352 }
12353 arg2 = static_cast< int >(val2);
12354 }
12355 if (obj2) {
12356 {
12357 arg3 = &temp3;
12358 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12359 }
12360 }
12361 if (obj3) {
12362 {
12363 arg4 = &temp4;
12364 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12365 }
12366 }
12367 if (obj4) {
12368 ecode5 = SWIG_AsVal_long(obj4, &val5);
12369 if (!SWIG_IsOK(ecode5)) {
12370 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12371 }
12372 arg5 = static_cast< long >(val5);
12373 }
12374 if (obj5) {
12375 {
12376 arg6 = wxString_in_helper(obj5);
12377 if (arg6 == NULL) SWIG_fail;
12378 temp6 = true;
12379 }
12380 }
12381 {
12382 if (!wxPyCheckForApp()) SWIG_fail;
12383 PyThreadState* __tstate = wxPyBeginAllowThreads();
12384 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12385 wxPyEndAllowThreads(__tstate);
12386 if (PyErr_Occurred()) SWIG_fail;
12387 }
12388 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12389 {
12390 if (temp6)
12391 delete arg6;
12392 }
12393 return resultobj;
12394 fail:
12395 {
12396 if (temp6)
12397 delete arg6;
12398 }
12399 return NULL;
12400 }
12401
12402
12403 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12404 PyObject *resultobj = 0;
12405 wxSashLayoutWindow *result = 0 ;
12406
12407 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12408 {
12409 if (!wxPyCheckForApp()) SWIG_fail;
12410 PyThreadState* __tstate = wxPyBeginAllowThreads();
12411 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12412 wxPyEndAllowThreads(__tstate);
12413 if (PyErr_Occurred()) SWIG_fail;
12414 }
12415 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12416 return resultobj;
12417 fail:
12418 return NULL;
12419 }
12420
12421
12422 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12423 PyObject *resultobj = 0;
12424 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12425 wxWindow *arg2 = (wxWindow *) 0 ;
12426 int arg3 = (int) -1 ;
12427 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12428 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12429 wxSize const &arg5_defvalue = wxDefaultSize ;
12430 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12431 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12432 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12433 wxString *arg7 = (wxString *) &arg7_defvalue ;
12434 bool result;
12435 void *argp1 = 0 ;
12436 int res1 = 0 ;
12437 void *argp2 = 0 ;
12438 int res2 = 0 ;
12439 int val3 ;
12440 int ecode3 = 0 ;
12441 wxPoint temp4 ;
12442 wxSize temp5 ;
12443 long val6 ;
12444 int ecode6 = 0 ;
12445 bool temp7 = false ;
12446 PyObject * obj0 = 0 ;
12447 PyObject * obj1 = 0 ;
12448 PyObject * obj2 = 0 ;
12449 PyObject * obj3 = 0 ;
12450 PyObject * obj4 = 0 ;
12451 PyObject * obj5 = 0 ;
12452 PyObject * obj6 = 0 ;
12453 char * kwnames[] = {
12454 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12455 };
12456
12457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12459 if (!SWIG_IsOK(res1)) {
12460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12461 }
12462 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12463 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12464 if (!SWIG_IsOK(res2)) {
12465 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12466 }
12467 arg2 = reinterpret_cast< wxWindow * >(argp2);
12468 if (obj2) {
12469 ecode3 = SWIG_AsVal_int(obj2, &val3);
12470 if (!SWIG_IsOK(ecode3)) {
12471 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12472 }
12473 arg3 = static_cast< int >(val3);
12474 }
12475 if (obj3) {
12476 {
12477 arg4 = &temp4;
12478 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12479 }
12480 }
12481 if (obj4) {
12482 {
12483 arg5 = &temp5;
12484 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12485 }
12486 }
12487 if (obj5) {
12488 ecode6 = SWIG_AsVal_long(obj5, &val6);
12489 if (!SWIG_IsOK(ecode6)) {
12490 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12491 }
12492 arg6 = static_cast< long >(val6);
12493 }
12494 if (obj6) {
12495 {
12496 arg7 = wxString_in_helper(obj6);
12497 if (arg7 == NULL) SWIG_fail;
12498 temp7 = true;
12499 }
12500 }
12501 {
12502 PyThreadState* __tstate = wxPyBeginAllowThreads();
12503 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12504 wxPyEndAllowThreads(__tstate);
12505 if (PyErr_Occurred()) SWIG_fail;
12506 }
12507 {
12508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12509 }
12510 {
12511 if (temp7)
12512 delete arg7;
12513 }
12514 return resultobj;
12515 fail:
12516 {
12517 if (temp7)
12518 delete arg7;
12519 }
12520 return NULL;
12521 }
12522
12523
12524 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12525 PyObject *resultobj = 0;
12526 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12527 wxLayoutAlignment result;
12528 void *argp1 = 0 ;
12529 int res1 = 0 ;
12530 PyObject *swig_obj[1] ;
12531
12532 if (!args) SWIG_fail;
12533 swig_obj[0] = args;
12534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12535 if (!SWIG_IsOK(res1)) {
12536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12537 }
12538 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12539 {
12540 PyThreadState* __tstate = wxPyBeginAllowThreads();
12541 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12542 wxPyEndAllowThreads(__tstate);
12543 if (PyErr_Occurred()) SWIG_fail;
12544 }
12545 resultobj = SWIG_From_int(static_cast< int >(result));
12546 return resultobj;
12547 fail:
12548 return NULL;
12549 }
12550
12551
12552 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12553 PyObject *resultobj = 0;
12554 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12555 wxLayoutOrientation result;
12556 void *argp1 = 0 ;
12557 int res1 = 0 ;
12558 PyObject *swig_obj[1] ;
12559
12560 if (!args) SWIG_fail;
12561 swig_obj[0] = args;
12562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12563 if (!SWIG_IsOK(res1)) {
12564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12565 }
12566 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12567 {
12568 PyThreadState* __tstate = wxPyBeginAllowThreads();
12569 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12570 wxPyEndAllowThreads(__tstate);
12571 if (PyErr_Occurred()) SWIG_fail;
12572 }
12573 resultobj = SWIG_From_int(static_cast< int >(result));
12574 return resultobj;
12575 fail:
12576 return NULL;
12577 }
12578
12579
12580 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12581 PyObject *resultobj = 0;
12582 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12583 wxLayoutAlignment arg2 ;
12584 void *argp1 = 0 ;
12585 int res1 = 0 ;
12586 int val2 ;
12587 int ecode2 = 0 ;
12588 PyObject * obj0 = 0 ;
12589 PyObject * obj1 = 0 ;
12590 char * kwnames[] = {
12591 (char *) "self",(char *) "alignment", NULL
12592 };
12593
12594 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12595 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12596 if (!SWIG_IsOK(res1)) {
12597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12598 }
12599 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12600 ecode2 = SWIG_AsVal_int(obj1, &val2);
12601 if (!SWIG_IsOK(ecode2)) {
12602 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12603 }
12604 arg2 = static_cast< wxLayoutAlignment >(val2);
12605 {
12606 PyThreadState* __tstate = wxPyBeginAllowThreads();
12607 (arg1)->SetAlignment(arg2);
12608 wxPyEndAllowThreads(__tstate);
12609 if (PyErr_Occurred()) SWIG_fail;
12610 }
12611 resultobj = SWIG_Py_Void();
12612 return resultobj;
12613 fail:
12614 return NULL;
12615 }
12616
12617
12618 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12619 PyObject *resultobj = 0;
12620 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12621 wxSize *arg2 = 0 ;
12622 void *argp1 = 0 ;
12623 int res1 = 0 ;
12624 wxSize temp2 ;
12625 PyObject * obj0 = 0 ;
12626 PyObject * obj1 = 0 ;
12627 char * kwnames[] = {
12628 (char *) "self",(char *) "size", NULL
12629 };
12630
12631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12633 if (!SWIG_IsOK(res1)) {
12634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12635 }
12636 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12637 {
12638 arg2 = &temp2;
12639 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12640 }
12641 {
12642 PyThreadState* __tstate = wxPyBeginAllowThreads();
12643 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12644 wxPyEndAllowThreads(__tstate);
12645 if (PyErr_Occurred()) SWIG_fail;
12646 }
12647 resultobj = SWIG_Py_Void();
12648 return resultobj;
12649 fail:
12650 return NULL;
12651 }
12652
12653
12654 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12655 PyObject *resultobj = 0;
12656 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12657 wxLayoutOrientation arg2 ;
12658 void *argp1 = 0 ;
12659 int res1 = 0 ;
12660 int val2 ;
12661 int ecode2 = 0 ;
12662 PyObject * obj0 = 0 ;
12663 PyObject * obj1 = 0 ;
12664 char * kwnames[] = {
12665 (char *) "self",(char *) "orientation", NULL
12666 };
12667
12668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12670 if (!SWIG_IsOK(res1)) {
12671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12672 }
12673 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12674 ecode2 = SWIG_AsVal_int(obj1, &val2);
12675 if (!SWIG_IsOK(ecode2)) {
12676 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12677 }
12678 arg2 = static_cast< wxLayoutOrientation >(val2);
12679 {
12680 PyThreadState* __tstate = wxPyBeginAllowThreads();
12681 (arg1)->SetOrientation(arg2);
12682 wxPyEndAllowThreads(__tstate);
12683 if (PyErr_Occurred()) SWIG_fail;
12684 }
12685 resultobj = SWIG_Py_Void();
12686 return resultobj;
12687 fail:
12688 return NULL;
12689 }
12690
12691
12692 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12693 PyObject *obj;
12694 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12695 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12696 return SWIG_Py_Void();
12697 }
12698
12699 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12700 return SWIG_Python_InitShadowInstance(args);
12701 }
12702
12703 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12704 PyObject *resultobj = 0;
12705 wxLayoutAlgorithm *result = 0 ;
12706
12707 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12708 {
12709 PyThreadState* __tstate = wxPyBeginAllowThreads();
12710 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12711 wxPyEndAllowThreads(__tstate);
12712 if (PyErr_Occurred()) SWIG_fail;
12713 }
12714 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12715 return resultobj;
12716 fail:
12717 return NULL;
12718 }
12719
12720
12721 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12722 PyObject *resultobj = 0;
12723 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12724 void *argp1 = 0 ;
12725 int res1 = 0 ;
12726 PyObject *swig_obj[1] ;
12727
12728 if (!args) SWIG_fail;
12729 swig_obj[0] = args;
12730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12731 if (!SWIG_IsOK(res1)) {
12732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12733 }
12734 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12735 {
12736 PyThreadState* __tstate = wxPyBeginAllowThreads();
12737 delete arg1;
12738
12739 wxPyEndAllowThreads(__tstate);
12740 if (PyErr_Occurred()) SWIG_fail;
12741 }
12742 resultobj = SWIG_Py_Void();
12743 return resultobj;
12744 fail:
12745 return NULL;
12746 }
12747
12748
12749 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12750 PyObject *resultobj = 0;
12751 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12752 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12753 wxRect *arg3 = (wxRect *) NULL ;
12754 bool result;
12755 void *argp1 = 0 ;
12756 int res1 = 0 ;
12757 void *argp2 = 0 ;
12758 int res2 = 0 ;
12759 void *argp3 = 0 ;
12760 int res3 = 0 ;
12761 PyObject * obj0 = 0 ;
12762 PyObject * obj1 = 0 ;
12763 PyObject * obj2 = 0 ;
12764 char * kwnames[] = {
12765 (char *) "self",(char *) "frame",(char *) "rect", NULL
12766 };
12767
12768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12770 if (!SWIG_IsOK(res1)) {
12771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12772 }
12773 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12774 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12775 if (!SWIG_IsOK(res2)) {
12776 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12777 }
12778 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12779 if (obj2) {
12780 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12781 if (!SWIG_IsOK(res3)) {
12782 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12783 }
12784 arg3 = reinterpret_cast< wxRect * >(argp3);
12785 }
12786 {
12787 PyThreadState* __tstate = wxPyBeginAllowThreads();
12788 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12789 wxPyEndAllowThreads(__tstate);
12790 if (PyErr_Occurred()) SWIG_fail;
12791 }
12792 {
12793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12794 }
12795 return resultobj;
12796 fail:
12797 return NULL;
12798 }
12799
12800
12801 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12802 PyObject *resultobj = 0;
12803 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12804 wxFrame *arg2 = (wxFrame *) 0 ;
12805 wxWindow *arg3 = (wxWindow *) NULL ;
12806 bool result;
12807 void *argp1 = 0 ;
12808 int res1 = 0 ;
12809 void *argp2 = 0 ;
12810 int res2 = 0 ;
12811 void *argp3 = 0 ;
12812 int res3 = 0 ;
12813 PyObject * obj0 = 0 ;
12814 PyObject * obj1 = 0 ;
12815 PyObject * obj2 = 0 ;
12816 char * kwnames[] = {
12817 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12818 };
12819
12820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12822 if (!SWIG_IsOK(res1)) {
12823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12824 }
12825 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12826 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
12827 if (!SWIG_IsOK(res2)) {
12828 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12829 }
12830 arg2 = reinterpret_cast< wxFrame * >(argp2);
12831 if (obj2) {
12832 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12833 if (!SWIG_IsOK(res3)) {
12834 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12835 }
12836 arg3 = reinterpret_cast< wxWindow * >(argp3);
12837 }
12838 {
12839 PyThreadState* __tstate = wxPyBeginAllowThreads();
12840 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
12841 wxPyEndAllowThreads(__tstate);
12842 if (PyErr_Occurred()) SWIG_fail;
12843 }
12844 {
12845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12846 }
12847 return resultobj;
12848 fail:
12849 return NULL;
12850 }
12851
12852
12853 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12854 PyObject *resultobj = 0;
12855 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12856 wxWindow *arg2 = (wxWindow *) 0 ;
12857 wxWindow *arg3 = (wxWindow *) NULL ;
12858 bool result;
12859 void *argp1 = 0 ;
12860 int res1 = 0 ;
12861 void *argp2 = 0 ;
12862 int res2 = 0 ;
12863 void *argp3 = 0 ;
12864 int res3 = 0 ;
12865 PyObject * obj0 = 0 ;
12866 PyObject * obj1 = 0 ;
12867 PyObject * obj2 = 0 ;
12868 char * kwnames[] = {
12869 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12870 };
12871
12872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12874 if (!SWIG_IsOK(res1)) {
12875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12876 }
12877 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12878 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12879 if (!SWIG_IsOK(res2)) {
12880 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12881 }
12882 arg2 = reinterpret_cast< wxWindow * >(argp2);
12883 if (obj2) {
12884 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12885 if (!SWIG_IsOK(res3)) {
12886 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12887 }
12888 arg3 = reinterpret_cast< wxWindow * >(argp3);
12889 }
12890 {
12891 PyThreadState* __tstate = wxPyBeginAllowThreads();
12892 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
12893 wxPyEndAllowThreads(__tstate);
12894 if (PyErr_Occurred()) SWIG_fail;
12895 }
12896 {
12897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12898 }
12899 return resultobj;
12900 fail:
12901 return NULL;
12902 }
12903
12904
12905 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12906 PyObject *obj;
12907 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12908 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
12909 return SWIG_Py_Void();
12910 }
12911
12912 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12913 return SWIG_Python_InitShadowInstance(args);
12914 }
12915
12916 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12917 PyObject *resultobj = 0;
12918 wxWindow *arg1 = (wxWindow *) 0 ;
12919 int arg2 = (int) wxBORDER_NONE ;
12920 wxPopupWindow *result = 0 ;
12921 void *argp1 = 0 ;
12922 int res1 = 0 ;
12923 int val2 ;
12924 int ecode2 = 0 ;
12925 PyObject * obj0 = 0 ;
12926 PyObject * obj1 = 0 ;
12927 char * kwnames[] = {
12928 (char *) "parent",(char *) "flags", NULL
12929 };
12930
12931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12933 if (!SWIG_IsOK(res1)) {
12934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12935 }
12936 arg1 = reinterpret_cast< wxWindow * >(argp1);
12937 if (obj1) {
12938 ecode2 = SWIG_AsVal_int(obj1, &val2);
12939 if (!SWIG_IsOK(ecode2)) {
12940 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12941 }
12942 arg2 = static_cast< int >(val2);
12943 }
12944 {
12945 if (!wxPyCheckForApp()) SWIG_fail;
12946 PyThreadState* __tstate = wxPyBeginAllowThreads();
12947 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
12948 wxPyEndAllowThreads(__tstate);
12949 if (PyErr_Occurred()) SWIG_fail;
12950 }
12951 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
12952 return resultobj;
12953 fail:
12954 return NULL;
12955 }
12956
12957
12958 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12959 PyObject *resultobj = 0;
12960 wxPopupWindow *result = 0 ;
12961
12962 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
12963 {
12964 if (!wxPyCheckForApp()) SWIG_fail;
12965 PyThreadState* __tstate = wxPyBeginAllowThreads();
12966 result = (wxPopupWindow *)new wxPopupWindow();
12967 wxPyEndAllowThreads(__tstate);
12968 if (PyErr_Occurred()) SWIG_fail;
12969 }
12970 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
12971 return resultobj;
12972 fail:
12973 return NULL;
12974 }
12975
12976
12977 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12978 PyObject *resultobj = 0;
12979 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
12980 wxWindow *arg2 = (wxWindow *) 0 ;
12981 int arg3 = (int) wxBORDER_NONE ;
12982 bool result;
12983 void *argp1 = 0 ;
12984 int res1 = 0 ;
12985 void *argp2 = 0 ;
12986 int res2 = 0 ;
12987 int val3 ;
12988 int ecode3 = 0 ;
12989 PyObject * obj0 = 0 ;
12990 PyObject * obj1 = 0 ;
12991 PyObject * obj2 = 0 ;
12992 char * kwnames[] = {
12993 (char *) "self",(char *) "parent",(char *) "flags", NULL
12994 };
12995
12996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
12998 if (!SWIG_IsOK(res1)) {
12999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13000 }
13001 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13002 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13003 if (!SWIG_IsOK(res2)) {
13004 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13005 }
13006 arg2 = reinterpret_cast< wxWindow * >(argp2);
13007 if (obj2) {
13008 ecode3 = SWIG_AsVal_int(obj2, &val3);
13009 if (!SWIG_IsOK(ecode3)) {
13010 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13011 }
13012 arg3 = static_cast< int >(val3);
13013 }
13014 {
13015 PyThreadState* __tstate = wxPyBeginAllowThreads();
13016 result = (bool)(arg1)->Create(arg2,arg3);
13017 wxPyEndAllowThreads(__tstate);
13018 if (PyErr_Occurred()) SWIG_fail;
13019 }
13020 {
13021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13022 }
13023 return resultobj;
13024 fail:
13025 return NULL;
13026 }
13027
13028
13029 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13030 PyObject *resultobj = 0;
13031 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13032 wxPoint *arg2 = 0 ;
13033 wxSize *arg3 = 0 ;
13034 void *argp1 = 0 ;
13035 int res1 = 0 ;
13036 wxPoint temp2 ;
13037 wxSize temp3 ;
13038 PyObject * obj0 = 0 ;
13039 PyObject * obj1 = 0 ;
13040 PyObject * obj2 = 0 ;
13041 char * kwnames[] = {
13042 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13043 };
13044
13045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13047 if (!SWIG_IsOK(res1)) {
13048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13049 }
13050 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13051 {
13052 arg2 = &temp2;
13053 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13054 }
13055 {
13056 arg3 = &temp3;
13057 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13058 }
13059 {
13060 PyThreadState* __tstate = wxPyBeginAllowThreads();
13061 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13062 wxPyEndAllowThreads(__tstate);
13063 if (PyErr_Occurred()) SWIG_fail;
13064 }
13065 resultobj = SWIG_Py_Void();
13066 return resultobj;
13067 fail:
13068 return NULL;
13069 }
13070
13071
13072 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13073 PyObject *obj;
13074 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13075 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13076 return SWIG_Py_Void();
13077 }
13078
13079 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13080 return SWIG_Python_InitShadowInstance(args);
13081 }
13082
13083 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13084 PyObject *resultobj = 0;
13085 wxWindow *arg1 = (wxWindow *) 0 ;
13086 int arg2 = (int) wxBORDER_NONE ;
13087 wxPyPopupTransientWindow *result = 0 ;
13088 void *argp1 = 0 ;
13089 int res1 = 0 ;
13090 int val2 ;
13091 int ecode2 = 0 ;
13092 PyObject * obj0 = 0 ;
13093 PyObject * obj1 = 0 ;
13094 char * kwnames[] = {
13095 (char *) "parent",(char *) "style", NULL
13096 };
13097
13098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13100 if (!SWIG_IsOK(res1)) {
13101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13102 }
13103 arg1 = reinterpret_cast< wxWindow * >(argp1);
13104 if (obj1) {
13105 ecode2 = SWIG_AsVal_int(obj1, &val2);
13106 if (!SWIG_IsOK(ecode2)) {
13107 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13108 }
13109 arg2 = static_cast< int >(val2);
13110 }
13111 {
13112 if (!wxPyCheckForApp()) SWIG_fail;
13113 PyThreadState* __tstate = wxPyBeginAllowThreads();
13114 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13115 wxPyEndAllowThreads(__tstate);
13116 if (PyErr_Occurred()) SWIG_fail;
13117 }
13118 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13119 return resultobj;
13120 fail:
13121 return NULL;
13122 }
13123
13124
13125 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13126 PyObject *resultobj = 0;
13127 wxPyPopupTransientWindow *result = 0 ;
13128
13129 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13130 {
13131 if (!wxPyCheckForApp()) SWIG_fail;
13132 PyThreadState* __tstate = wxPyBeginAllowThreads();
13133 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13134 wxPyEndAllowThreads(__tstate);
13135 if (PyErr_Occurred()) SWIG_fail;
13136 }
13137 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13138 return resultobj;
13139 fail:
13140 return NULL;
13141 }
13142
13143
13144 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13145 PyObject *resultobj = 0;
13146 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13147 PyObject *arg2 = (PyObject *) 0 ;
13148 PyObject *arg3 = (PyObject *) 0 ;
13149 void *argp1 = 0 ;
13150 int res1 = 0 ;
13151 PyObject * obj0 = 0 ;
13152 PyObject * obj1 = 0 ;
13153 PyObject * obj2 = 0 ;
13154 char * kwnames[] = {
13155 (char *) "self",(char *) "self",(char *) "_class", NULL
13156 };
13157
13158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13160 if (!SWIG_IsOK(res1)) {
13161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13162 }
13163 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13164 arg2 = obj1;
13165 arg3 = obj2;
13166 {
13167 PyThreadState* __tstate = wxPyBeginAllowThreads();
13168 (arg1)->_setCallbackInfo(arg2,arg3);
13169 wxPyEndAllowThreads(__tstate);
13170 if (PyErr_Occurred()) SWIG_fail;
13171 }
13172 resultobj = SWIG_Py_Void();
13173 return resultobj;
13174 fail:
13175 return NULL;
13176 }
13177
13178
13179 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13180 PyObject *resultobj = 0;
13181 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13182 wxWindow *arg2 = (wxWindow *) NULL ;
13183 void *argp1 = 0 ;
13184 int res1 = 0 ;
13185 void *argp2 = 0 ;
13186 int res2 = 0 ;
13187 PyObject * obj0 = 0 ;
13188 PyObject * obj1 = 0 ;
13189 char * kwnames[] = {
13190 (char *) "self",(char *) "focus", NULL
13191 };
13192
13193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13195 if (!SWIG_IsOK(res1)) {
13196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13197 }
13198 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13199 if (obj1) {
13200 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13201 if (!SWIG_IsOK(res2)) {
13202 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13203 }
13204 arg2 = reinterpret_cast< wxWindow * >(argp2);
13205 }
13206 {
13207 PyThreadState* __tstate = wxPyBeginAllowThreads();
13208 (arg1)->Popup(arg2);
13209 wxPyEndAllowThreads(__tstate);
13210 if (PyErr_Occurred()) SWIG_fail;
13211 }
13212 resultobj = SWIG_Py_Void();
13213 return resultobj;
13214 fail:
13215 return NULL;
13216 }
13217
13218
13219 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13220 PyObject *resultobj = 0;
13221 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13222 void *argp1 = 0 ;
13223 int res1 = 0 ;
13224 PyObject *swig_obj[1] ;
13225
13226 if (!args) SWIG_fail;
13227 swig_obj[0] = args;
13228 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13229 if (!SWIG_IsOK(res1)) {
13230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13231 }
13232 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13233 {
13234 PyThreadState* __tstate = wxPyBeginAllowThreads();
13235 (arg1)->Dismiss();
13236 wxPyEndAllowThreads(__tstate);
13237 if (PyErr_Occurred()) SWIG_fail;
13238 }
13239 resultobj = SWIG_Py_Void();
13240 return resultobj;
13241 fail:
13242 return NULL;
13243 }
13244
13245
13246 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13247 PyObject *obj;
13248 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13249 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13250 return SWIG_Py_Void();
13251 }
13252
13253 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13254 return SWIG_Python_InitShadowInstance(args);
13255 }
13256
13257 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13258 PyObject *resultobj = 0;
13259 wxWindow *arg1 = (wxWindow *) 0 ;
13260 wxString *arg2 = 0 ;
13261 int arg3 = (int) 100 ;
13262 wxRect *arg4 = (wxRect *) NULL ;
13263 wxTipWindow *result = 0 ;
13264 void *argp1 = 0 ;
13265 int res1 = 0 ;
13266 bool temp2 = false ;
13267 int val3 ;
13268 int ecode3 = 0 ;
13269 void *argp4 = 0 ;
13270 int res4 = 0 ;
13271 PyObject * obj0 = 0 ;
13272 PyObject * obj1 = 0 ;
13273 PyObject * obj2 = 0 ;
13274 PyObject * obj3 = 0 ;
13275 char * kwnames[] = {
13276 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13277 };
13278
13279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13281 if (!SWIG_IsOK(res1)) {
13282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13283 }
13284 arg1 = reinterpret_cast< wxWindow * >(argp1);
13285 {
13286 arg2 = wxString_in_helper(obj1);
13287 if (arg2 == NULL) SWIG_fail;
13288 temp2 = true;
13289 }
13290 if (obj2) {
13291 ecode3 = SWIG_AsVal_int(obj2, &val3);
13292 if (!SWIG_IsOK(ecode3)) {
13293 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13294 }
13295 arg3 = static_cast< int >(val3);
13296 }
13297 if (obj3) {
13298 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13299 if (!SWIG_IsOK(res4)) {
13300 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13301 }
13302 arg4 = reinterpret_cast< wxRect * >(argp4);
13303 }
13304 {
13305 if (!wxPyCheckForApp()) SWIG_fail;
13306 PyThreadState* __tstate = wxPyBeginAllowThreads();
13307 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13308 wxPyEndAllowThreads(__tstate);
13309 if (PyErr_Occurred()) SWIG_fail;
13310 }
13311 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13312 {
13313 if (temp2)
13314 delete arg2;
13315 }
13316 return resultobj;
13317 fail:
13318 {
13319 if (temp2)
13320 delete arg2;
13321 }
13322 return NULL;
13323 }
13324
13325
13326 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13327 PyObject *resultobj = 0;
13328 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13329 wxRect *arg2 = 0 ;
13330 void *argp1 = 0 ;
13331 int res1 = 0 ;
13332 wxRect temp2 ;
13333 PyObject * obj0 = 0 ;
13334 PyObject * obj1 = 0 ;
13335 char * kwnames[] = {
13336 (char *) "self",(char *) "rectBound", NULL
13337 };
13338
13339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13341 if (!SWIG_IsOK(res1)) {
13342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13343 }
13344 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13345 {
13346 arg2 = &temp2;
13347 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13348 }
13349 {
13350 PyThreadState* __tstate = wxPyBeginAllowThreads();
13351 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13352 wxPyEndAllowThreads(__tstate);
13353 if (PyErr_Occurred()) SWIG_fail;
13354 }
13355 resultobj = SWIG_Py_Void();
13356 return resultobj;
13357 fail:
13358 return NULL;
13359 }
13360
13361
13362 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13363 PyObject *resultobj = 0;
13364 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13365 void *argp1 = 0 ;
13366 int res1 = 0 ;
13367 PyObject *swig_obj[1] ;
13368
13369 if (!args) SWIG_fail;
13370 swig_obj[0] = args;
13371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13372 if (!SWIG_IsOK(res1)) {
13373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13374 }
13375 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13376 {
13377 PyThreadState* __tstate = wxPyBeginAllowThreads();
13378 (arg1)->Close();
13379 wxPyEndAllowThreads(__tstate);
13380 if (PyErr_Occurred()) SWIG_fail;
13381 }
13382 resultobj = SWIG_Py_Void();
13383 return resultobj;
13384 fail:
13385 return NULL;
13386 }
13387
13388
13389 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13390 PyObject *obj;
13391 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13392 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13393 return SWIG_Py_Void();
13394 }
13395
13396 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13397 return SWIG_Python_InitShadowInstance(args);
13398 }
13399
13400 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13401 PyObject *resultobj = 0;
13402 wxWindow *arg1 = (wxWindow *) 0 ;
13403 int arg2 = (int) wxID_ANY ;
13404 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13405 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13406 wxSize const &arg4_defvalue = wxDefaultSize ;
13407 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13408 long arg5 = (long) 0 ;
13409 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13410 wxString *arg6 = (wxString *) &arg6_defvalue ;
13411 wxPyVScrolledWindow *result = 0 ;
13412 void *argp1 = 0 ;
13413 int res1 = 0 ;
13414 int val2 ;
13415 int ecode2 = 0 ;
13416 wxPoint temp3 ;
13417 wxSize temp4 ;
13418 long val5 ;
13419 int ecode5 = 0 ;
13420 bool temp6 = false ;
13421 PyObject * obj0 = 0 ;
13422 PyObject * obj1 = 0 ;
13423 PyObject * obj2 = 0 ;
13424 PyObject * obj3 = 0 ;
13425 PyObject * obj4 = 0 ;
13426 PyObject * obj5 = 0 ;
13427 char * kwnames[] = {
13428 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13429 };
13430
13431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13433 if (!SWIG_IsOK(res1)) {
13434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13435 }
13436 arg1 = reinterpret_cast< wxWindow * >(argp1);
13437 if (obj1) {
13438 ecode2 = SWIG_AsVal_int(obj1, &val2);
13439 if (!SWIG_IsOK(ecode2)) {
13440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13441 }
13442 arg2 = static_cast< int >(val2);
13443 }
13444 if (obj2) {
13445 {
13446 arg3 = &temp3;
13447 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13448 }
13449 }
13450 if (obj3) {
13451 {
13452 arg4 = &temp4;
13453 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13454 }
13455 }
13456 if (obj4) {
13457 ecode5 = SWIG_AsVal_long(obj4, &val5);
13458 if (!SWIG_IsOK(ecode5)) {
13459 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13460 }
13461 arg5 = static_cast< long >(val5);
13462 }
13463 if (obj5) {
13464 {
13465 arg6 = wxString_in_helper(obj5);
13466 if (arg6 == NULL) SWIG_fail;
13467 temp6 = true;
13468 }
13469 }
13470 {
13471 if (!wxPyCheckForApp()) SWIG_fail;
13472 PyThreadState* __tstate = wxPyBeginAllowThreads();
13473 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13474 wxPyEndAllowThreads(__tstate);
13475 if (PyErr_Occurred()) SWIG_fail;
13476 }
13477 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13478 {
13479 if (temp6)
13480 delete arg6;
13481 }
13482 return resultobj;
13483 fail:
13484 {
13485 if (temp6)
13486 delete arg6;
13487 }
13488 return NULL;
13489 }
13490
13491
13492 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13493 PyObject *resultobj = 0;
13494 wxPyVScrolledWindow *result = 0 ;
13495
13496 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13497 {
13498 if (!wxPyCheckForApp()) SWIG_fail;
13499 PyThreadState* __tstate = wxPyBeginAllowThreads();
13500 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13501 wxPyEndAllowThreads(__tstate);
13502 if (PyErr_Occurred()) SWIG_fail;
13503 }
13504 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13505 return resultobj;
13506 fail:
13507 return NULL;
13508 }
13509
13510
13511 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13512 PyObject *resultobj = 0;
13513 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13514 PyObject *arg2 = (PyObject *) 0 ;
13515 PyObject *arg3 = (PyObject *) 0 ;
13516 void *argp1 = 0 ;
13517 int res1 = 0 ;
13518 PyObject * obj0 = 0 ;
13519 PyObject * obj1 = 0 ;
13520 PyObject * obj2 = 0 ;
13521 char * kwnames[] = {
13522 (char *) "self",(char *) "self",(char *) "_class", NULL
13523 };
13524
13525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13527 if (!SWIG_IsOK(res1)) {
13528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13529 }
13530 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13531 arg2 = obj1;
13532 arg3 = obj2;
13533 {
13534 PyThreadState* __tstate = wxPyBeginAllowThreads();
13535 (arg1)->_setCallbackInfo(arg2,arg3);
13536 wxPyEndAllowThreads(__tstate);
13537 if (PyErr_Occurred()) SWIG_fail;
13538 }
13539 resultobj = SWIG_Py_Void();
13540 return resultobj;
13541 fail:
13542 return NULL;
13543 }
13544
13545
13546 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13547 PyObject *resultobj = 0;
13548 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13549 wxWindow *arg2 = (wxWindow *) 0 ;
13550 int arg3 = (int) wxID_ANY ;
13551 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13552 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13553 wxSize const &arg5_defvalue = wxDefaultSize ;
13554 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13555 long arg6 = (long) 0 ;
13556 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13557 wxString *arg7 = (wxString *) &arg7_defvalue ;
13558 bool result;
13559 void *argp1 = 0 ;
13560 int res1 = 0 ;
13561 void *argp2 = 0 ;
13562 int res2 = 0 ;
13563 int val3 ;
13564 int ecode3 = 0 ;
13565 wxPoint temp4 ;
13566 wxSize temp5 ;
13567 long val6 ;
13568 int ecode6 = 0 ;
13569 bool temp7 = false ;
13570 PyObject * obj0 = 0 ;
13571 PyObject * obj1 = 0 ;
13572 PyObject * obj2 = 0 ;
13573 PyObject * obj3 = 0 ;
13574 PyObject * obj4 = 0 ;
13575 PyObject * obj5 = 0 ;
13576 PyObject * obj6 = 0 ;
13577 char * kwnames[] = {
13578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13579 };
13580
13581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13583 if (!SWIG_IsOK(res1)) {
13584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13585 }
13586 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13587 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13588 if (!SWIG_IsOK(res2)) {
13589 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13590 }
13591 arg2 = reinterpret_cast< wxWindow * >(argp2);
13592 if (obj2) {
13593 ecode3 = SWIG_AsVal_int(obj2, &val3);
13594 if (!SWIG_IsOK(ecode3)) {
13595 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13596 }
13597 arg3 = static_cast< int >(val3);
13598 }
13599 if (obj3) {
13600 {
13601 arg4 = &temp4;
13602 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13603 }
13604 }
13605 if (obj4) {
13606 {
13607 arg5 = &temp5;
13608 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13609 }
13610 }
13611 if (obj5) {
13612 ecode6 = SWIG_AsVal_long(obj5, &val6);
13613 if (!SWIG_IsOK(ecode6)) {
13614 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13615 }
13616 arg6 = static_cast< long >(val6);
13617 }
13618 if (obj6) {
13619 {
13620 arg7 = wxString_in_helper(obj6);
13621 if (arg7 == NULL) SWIG_fail;
13622 temp7 = true;
13623 }
13624 }
13625 {
13626 PyThreadState* __tstate = wxPyBeginAllowThreads();
13627 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13628 wxPyEndAllowThreads(__tstate);
13629 if (PyErr_Occurred()) SWIG_fail;
13630 }
13631 {
13632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13633 }
13634 {
13635 if (temp7)
13636 delete arg7;
13637 }
13638 return resultobj;
13639 fail:
13640 {
13641 if (temp7)
13642 delete arg7;
13643 }
13644 return NULL;
13645 }
13646
13647
13648 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13649 PyObject *resultobj = 0;
13650 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13651 size_t arg2 ;
13652 void *argp1 = 0 ;
13653 int res1 = 0 ;
13654 size_t val2 ;
13655 int ecode2 = 0 ;
13656 PyObject * obj0 = 0 ;
13657 PyObject * obj1 = 0 ;
13658 char * kwnames[] = {
13659 (char *) "self",(char *) "count", NULL
13660 };
13661
13662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13664 if (!SWIG_IsOK(res1)) {
13665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13666 }
13667 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13668 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13669 if (!SWIG_IsOK(ecode2)) {
13670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13671 }
13672 arg2 = static_cast< size_t >(val2);
13673 {
13674 PyThreadState* __tstate = wxPyBeginAllowThreads();
13675 (arg1)->SetLineCount(arg2);
13676 wxPyEndAllowThreads(__tstate);
13677 if (PyErr_Occurred()) SWIG_fail;
13678 }
13679 resultobj = SWIG_Py_Void();
13680 return resultobj;
13681 fail:
13682 return NULL;
13683 }
13684
13685
13686 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13687 PyObject *resultobj = 0;
13688 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13689 size_t arg2 ;
13690 bool result;
13691 void *argp1 = 0 ;
13692 int res1 = 0 ;
13693 size_t val2 ;
13694 int ecode2 = 0 ;
13695 PyObject * obj0 = 0 ;
13696 PyObject * obj1 = 0 ;
13697 char * kwnames[] = {
13698 (char *) "self",(char *) "line", NULL
13699 };
13700
13701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13703 if (!SWIG_IsOK(res1)) {
13704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13705 }
13706 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13707 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13708 if (!SWIG_IsOK(ecode2)) {
13709 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13710 }
13711 arg2 = static_cast< size_t >(val2);
13712 {
13713 PyThreadState* __tstate = wxPyBeginAllowThreads();
13714 result = (bool)(arg1)->ScrollToLine(arg2);
13715 wxPyEndAllowThreads(__tstate);
13716 if (PyErr_Occurred()) SWIG_fail;
13717 }
13718 {
13719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13720 }
13721 return resultobj;
13722 fail:
13723 return NULL;
13724 }
13725
13726
13727 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13728 PyObject *resultobj = 0;
13729 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13730 size_t arg2 ;
13731 void *argp1 = 0 ;
13732 int res1 = 0 ;
13733 size_t val2 ;
13734 int ecode2 = 0 ;
13735 PyObject * obj0 = 0 ;
13736 PyObject * obj1 = 0 ;
13737 char * kwnames[] = {
13738 (char *) "self",(char *) "line", NULL
13739 };
13740
13741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13743 if (!SWIG_IsOK(res1)) {
13744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13745 }
13746 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13747 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13748 if (!SWIG_IsOK(ecode2)) {
13749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13750 }
13751 arg2 = static_cast< size_t >(val2);
13752 {
13753 PyThreadState* __tstate = wxPyBeginAllowThreads();
13754 (arg1)->RefreshLine(arg2);
13755 wxPyEndAllowThreads(__tstate);
13756 if (PyErr_Occurred()) SWIG_fail;
13757 }
13758 resultobj = SWIG_Py_Void();
13759 return resultobj;
13760 fail:
13761 return NULL;
13762 }
13763
13764
13765 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13766 PyObject *resultobj = 0;
13767 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13768 size_t arg2 ;
13769 size_t arg3 ;
13770 void *argp1 = 0 ;
13771 int res1 = 0 ;
13772 size_t val2 ;
13773 int ecode2 = 0 ;
13774 size_t val3 ;
13775 int ecode3 = 0 ;
13776 PyObject * obj0 = 0 ;
13777 PyObject * obj1 = 0 ;
13778 PyObject * obj2 = 0 ;
13779 char * kwnames[] = {
13780 (char *) "self",(char *) "from",(char *) "to", NULL
13781 };
13782
13783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) 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_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13787 }
13788 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13789 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13790 if (!SWIG_IsOK(ecode2)) {
13791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13792 }
13793 arg2 = static_cast< size_t >(val2);
13794 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13795 if (!SWIG_IsOK(ecode3)) {
13796 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13797 }
13798 arg3 = static_cast< size_t >(val3);
13799 {
13800 PyThreadState* __tstate = wxPyBeginAllowThreads();
13801 (arg1)->RefreshLines(arg2,arg3);
13802 wxPyEndAllowThreads(__tstate);
13803 if (PyErr_Occurred()) SWIG_fail;
13804 }
13805 resultobj = SWIG_Py_Void();
13806 return resultobj;
13807 fail:
13808 return NULL;
13809 }
13810
13811
13812 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13813 PyObject *resultobj = 0;
13814 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13815 int arg2 ;
13816 int arg3 ;
13817 int result;
13818 void *argp1 = 0 ;
13819 int res1 = 0 ;
13820 int val2 ;
13821 int ecode2 = 0 ;
13822 int val3 ;
13823 int ecode3 = 0 ;
13824 PyObject * obj0 = 0 ;
13825 PyObject * obj1 = 0 ;
13826 PyObject * obj2 = 0 ;
13827 char * kwnames[] = {
13828 (char *) "self",(char *) "x",(char *) "y", NULL
13829 };
13830
13831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13833 if (!SWIG_IsOK(res1)) {
13834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13835 }
13836 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13837 ecode2 = SWIG_AsVal_int(obj1, &val2);
13838 if (!SWIG_IsOK(ecode2)) {
13839 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13840 }
13841 arg2 = static_cast< int >(val2);
13842 ecode3 = SWIG_AsVal_int(obj2, &val3);
13843 if (!SWIG_IsOK(ecode3)) {
13844 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13845 }
13846 arg3 = static_cast< int >(val3);
13847 {
13848 PyThreadState* __tstate = wxPyBeginAllowThreads();
13849 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13850 wxPyEndAllowThreads(__tstate);
13851 if (PyErr_Occurred()) SWIG_fail;
13852 }
13853 resultobj = SWIG_From_int(static_cast< int >(result));
13854 return resultobj;
13855 fail:
13856 return NULL;
13857 }
13858
13859
13860 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13861 PyObject *resultobj = 0;
13862 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13863 wxPoint *arg2 = 0 ;
13864 int result;
13865 void *argp1 = 0 ;
13866 int res1 = 0 ;
13867 wxPoint temp2 ;
13868 PyObject * obj0 = 0 ;
13869 PyObject * obj1 = 0 ;
13870 char * kwnames[] = {
13871 (char *) "self",(char *) "pt", NULL
13872 };
13873
13874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13876 if (!SWIG_IsOK(res1)) {
13877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13878 }
13879 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13880 {
13881 arg2 = &temp2;
13882 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13883 }
13884 {
13885 PyThreadState* __tstate = wxPyBeginAllowThreads();
13886 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13887 wxPyEndAllowThreads(__tstate);
13888 if (PyErr_Occurred()) SWIG_fail;
13889 }
13890 resultobj = SWIG_From_int(static_cast< int >(result));
13891 return resultobj;
13892 fail:
13893 return NULL;
13894 }
13895
13896
13897 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13898 PyObject *resultobj = 0;
13899 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13900 void *argp1 = 0 ;
13901 int res1 = 0 ;
13902 PyObject *swig_obj[1] ;
13903
13904 if (!args) SWIG_fail;
13905 swig_obj[0] = args;
13906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13907 if (!SWIG_IsOK(res1)) {
13908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13909 }
13910 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13911 {
13912 PyThreadState* __tstate = wxPyBeginAllowThreads();
13913 (arg1)->RefreshAll();
13914 wxPyEndAllowThreads(__tstate);
13915 if (PyErr_Occurred()) SWIG_fail;
13916 }
13917 resultobj = SWIG_Py_Void();
13918 return resultobj;
13919 fail:
13920 return NULL;
13921 }
13922
13923
13924 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13925 PyObject *resultobj = 0;
13926 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13927 size_t result;
13928 void *argp1 = 0 ;
13929 int res1 = 0 ;
13930 PyObject *swig_obj[1] ;
13931
13932 if (!args) SWIG_fail;
13933 swig_obj[0] = args;
13934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13935 if (!SWIG_IsOK(res1)) {
13936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13937 }
13938 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13939 {
13940 PyThreadState* __tstate = wxPyBeginAllowThreads();
13941 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13942 wxPyEndAllowThreads(__tstate);
13943 if (PyErr_Occurred()) SWIG_fail;
13944 }
13945 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13946 return resultobj;
13947 fail:
13948 return NULL;
13949 }
13950
13951
13952 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13953 PyObject *resultobj = 0;
13954 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13955 size_t result;
13956 void *argp1 = 0 ;
13957 int res1 = 0 ;
13958 PyObject *swig_obj[1] ;
13959
13960 if (!args) SWIG_fail;
13961 swig_obj[0] = args;
13962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13963 if (!SWIG_IsOK(res1)) {
13964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13965 }
13966 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13967 {
13968 PyThreadState* __tstate = wxPyBeginAllowThreads();
13969 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
13970 wxPyEndAllowThreads(__tstate);
13971 if (PyErr_Occurred()) SWIG_fail;
13972 }
13973 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13974 return resultobj;
13975 fail:
13976 return NULL;
13977 }
13978
13979
13980 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13981 PyObject *resultobj = 0;
13982 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13983 size_t result;
13984 void *argp1 = 0 ;
13985 int res1 = 0 ;
13986 PyObject *swig_obj[1] ;
13987
13988 if (!args) SWIG_fail;
13989 swig_obj[0] = args;
13990 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13991 if (!SWIG_IsOK(res1)) {
13992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13993 }
13994 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13995 {
13996 PyThreadState* __tstate = wxPyBeginAllowThreads();
13997 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
13998 wxPyEndAllowThreads(__tstate);
13999 if (PyErr_Occurred()) SWIG_fail;
14000 }
14001 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14002 return resultobj;
14003 fail:
14004 return NULL;
14005 }
14006
14007
14008 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14009 PyObject *resultobj = 0;
14010 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14011 size_t arg2 ;
14012 bool result;
14013 void *argp1 = 0 ;
14014 int res1 = 0 ;
14015 size_t val2 ;
14016 int ecode2 = 0 ;
14017 PyObject * obj0 = 0 ;
14018 PyObject * obj1 = 0 ;
14019 char * kwnames[] = {
14020 (char *) "self",(char *) "line", NULL
14021 };
14022
14023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14025 if (!SWIG_IsOK(res1)) {
14026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14027 }
14028 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14029 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14030 if (!SWIG_IsOK(ecode2)) {
14031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14032 }
14033 arg2 = static_cast< size_t >(val2);
14034 {
14035 PyThreadState* __tstate = wxPyBeginAllowThreads();
14036 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14037 wxPyEndAllowThreads(__tstate);
14038 if (PyErr_Occurred()) SWIG_fail;
14039 }
14040 {
14041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14042 }
14043 return resultobj;
14044 fail:
14045 return NULL;
14046 }
14047
14048
14049 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14050 PyObject *resultobj = 0;
14051 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14052 size_t result;
14053 void *argp1 = 0 ;
14054 int res1 = 0 ;
14055 PyObject *swig_obj[1] ;
14056
14057 if (!args) SWIG_fail;
14058 swig_obj[0] = args;
14059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14060 if (!SWIG_IsOK(res1)) {
14061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14062 }
14063 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14064 {
14065 PyThreadState* __tstate = wxPyBeginAllowThreads();
14066 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14067 wxPyEndAllowThreads(__tstate);
14068 if (PyErr_Occurred()) SWIG_fail;
14069 }
14070 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14071 return resultobj;
14072 fail:
14073 return NULL;
14074 }
14075
14076
14077 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14078 PyObject *resultobj = 0;
14079 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14080 size_t result;
14081 void *argp1 = 0 ;
14082 int res1 = 0 ;
14083 PyObject *swig_obj[1] ;
14084
14085 if (!args) SWIG_fail;
14086 swig_obj[0] = args;
14087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14088 if (!SWIG_IsOK(res1)) {
14089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14090 }
14091 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14092 {
14093 PyThreadState* __tstate = wxPyBeginAllowThreads();
14094 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14095 wxPyEndAllowThreads(__tstate);
14096 if (PyErr_Occurred()) SWIG_fail;
14097 }
14098 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14099 return resultobj;
14100 fail:
14101 return NULL;
14102 }
14103
14104
14105 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14106 PyObject *resultobj = 0;
14107 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14108 size_t arg2 ;
14109 bool arg3 = (bool) false ;
14110 size_t result;
14111 void *argp1 = 0 ;
14112 int res1 = 0 ;
14113 size_t val2 ;
14114 int ecode2 = 0 ;
14115 bool val3 ;
14116 int ecode3 = 0 ;
14117 PyObject * obj0 = 0 ;
14118 PyObject * obj1 = 0 ;
14119 PyObject * obj2 = 0 ;
14120 char * kwnames[] = {
14121 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14122 };
14123
14124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14126 if (!SWIG_IsOK(res1)) {
14127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14128 }
14129 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14130 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14131 if (!SWIG_IsOK(ecode2)) {
14132 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14133 }
14134 arg2 = static_cast< size_t >(val2);
14135 if (obj2) {
14136 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14137 if (!SWIG_IsOK(ecode3)) {
14138 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14139 }
14140 arg3 = static_cast< bool >(val3);
14141 }
14142 {
14143 PyThreadState* __tstate = wxPyBeginAllowThreads();
14144 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14145 wxPyEndAllowThreads(__tstate);
14146 if (PyErr_Occurred()) SWIG_fail;
14147 }
14148 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14149 return resultobj;
14150 fail:
14151 return NULL;
14152 }
14153
14154
14155 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14156 PyObject *resultobj = 0;
14157 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14158 size_t arg2 ;
14159 size_t arg3 ;
14160 int result;
14161 void *argp1 = 0 ;
14162 int res1 = 0 ;
14163 size_t val2 ;
14164 int ecode2 = 0 ;
14165 size_t val3 ;
14166 int ecode3 = 0 ;
14167 PyObject * obj0 = 0 ;
14168 PyObject * obj1 = 0 ;
14169 PyObject * obj2 = 0 ;
14170 char * kwnames[] = {
14171 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14172 };
14173
14174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14176 if (!SWIG_IsOK(res1)) {
14177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14178 }
14179 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14180 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14181 if (!SWIG_IsOK(ecode2)) {
14182 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14183 }
14184 arg2 = static_cast< size_t >(val2);
14185 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14186 if (!SWIG_IsOK(ecode3)) {
14187 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14188 }
14189 arg3 = static_cast< size_t >(val3);
14190 {
14191 PyThreadState* __tstate = wxPyBeginAllowThreads();
14192 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14193 wxPyEndAllowThreads(__tstate);
14194 if (PyErr_Occurred()) SWIG_fail;
14195 }
14196 resultobj = SWIG_From_int(static_cast< int >(result));
14197 return resultobj;
14198 fail:
14199 return NULL;
14200 }
14201
14202
14203 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14204 PyObject *obj;
14205 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14206 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14207 return SWIG_Py_Void();
14208 }
14209
14210 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14211 return SWIG_Python_InitShadowInstance(args);
14212 }
14213
14214 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14215 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14216 return 1;
14217 }
14218
14219
14220 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14221 PyObject *pyobj = 0;
14222
14223 {
14224 #if wxUSE_UNICODE
14225 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14226 #else
14227 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14228 #endif
14229 }
14230 return pyobj;
14231 }
14232
14233
14234 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14235 PyObject *resultobj = 0;
14236 wxWindow *arg1 = (wxWindow *) 0 ;
14237 int arg2 = (int) wxID_ANY ;
14238 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14239 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14240 wxSize const &arg4_defvalue = wxDefaultSize ;
14241 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14242 long arg5 = (long) 0 ;
14243 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14244 wxString *arg6 = (wxString *) &arg6_defvalue ;
14245 wxPyVListBox *result = 0 ;
14246 void *argp1 = 0 ;
14247 int res1 = 0 ;
14248 int val2 ;
14249 int ecode2 = 0 ;
14250 wxPoint temp3 ;
14251 wxSize temp4 ;
14252 long val5 ;
14253 int ecode5 = 0 ;
14254 bool temp6 = false ;
14255 PyObject * obj0 = 0 ;
14256 PyObject * obj1 = 0 ;
14257 PyObject * obj2 = 0 ;
14258 PyObject * obj3 = 0 ;
14259 PyObject * obj4 = 0 ;
14260 PyObject * obj5 = 0 ;
14261 char * kwnames[] = {
14262 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14263 };
14264
14265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14267 if (!SWIG_IsOK(res1)) {
14268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14269 }
14270 arg1 = reinterpret_cast< wxWindow * >(argp1);
14271 if (obj1) {
14272 ecode2 = SWIG_AsVal_int(obj1, &val2);
14273 if (!SWIG_IsOK(ecode2)) {
14274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14275 }
14276 arg2 = static_cast< int >(val2);
14277 }
14278 if (obj2) {
14279 {
14280 arg3 = &temp3;
14281 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14282 }
14283 }
14284 if (obj3) {
14285 {
14286 arg4 = &temp4;
14287 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14288 }
14289 }
14290 if (obj4) {
14291 ecode5 = SWIG_AsVal_long(obj4, &val5);
14292 if (!SWIG_IsOK(ecode5)) {
14293 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14294 }
14295 arg5 = static_cast< long >(val5);
14296 }
14297 if (obj5) {
14298 {
14299 arg6 = wxString_in_helper(obj5);
14300 if (arg6 == NULL) SWIG_fail;
14301 temp6 = true;
14302 }
14303 }
14304 {
14305 if (!wxPyCheckForApp()) SWIG_fail;
14306 PyThreadState* __tstate = wxPyBeginAllowThreads();
14307 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14308 wxPyEndAllowThreads(__tstate);
14309 if (PyErr_Occurred()) SWIG_fail;
14310 }
14311 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14312 {
14313 if (temp6)
14314 delete arg6;
14315 }
14316 return resultobj;
14317 fail:
14318 {
14319 if (temp6)
14320 delete arg6;
14321 }
14322 return NULL;
14323 }
14324
14325
14326 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14327 PyObject *resultobj = 0;
14328 wxPyVListBox *result = 0 ;
14329
14330 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14331 {
14332 if (!wxPyCheckForApp()) SWIG_fail;
14333 PyThreadState* __tstate = wxPyBeginAllowThreads();
14334 result = (wxPyVListBox *)new wxPyVListBox();
14335 wxPyEndAllowThreads(__tstate);
14336 if (PyErr_Occurred()) SWIG_fail;
14337 }
14338 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14339 return resultobj;
14340 fail:
14341 return NULL;
14342 }
14343
14344
14345 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14346 PyObject *resultobj = 0;
14347 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14348 PyObject *arg2 = (PyObject *) 0 ;
14349 PyObject *arg3 = (PyObject *) 0 ;
14350 void *argp1 = 0 ;
14351 int res1 = 0 ;
14352 PyObject * obj0 = 0 ;
14353 PyObject * obj1 = 0 ;
14354 PyObject * obj2 = 0 ;
14355 char * kwnames[] = {
14356 (char *) "self",(char *) "self",(char *) "_class", NULL
14357 };
14358
14359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14361 if (!SWIG_IsOK(res1)) {
14362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14363 }
14364 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14365 arg2 = obj1;
14366 arg3 = obj2;
14367 {
14368 PyThreadState* __tstate = wxPyBeginAllowThreads();
14369 (arg1)->_setCallbackInfo(arg2,arg3);
14370 wxPyEndAllowThreads(__tstate);
14371 if (PyErr_Occurred()) SWIG_fail;
14372 }
14373 resultobj = SWIG_Py_Void();
14374 return resultobj;
14375 fail:
14376 return NULL;
14377 }
14378
14379
14380 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14381 PyObject *resultobj = 0;
14382 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14383 wxWindow *arg2 = (wxWindow *) 0 ;
14384 int arg3 = (int) wxID_ANY ;
14385 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14386 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14387 wxSize const &arg5_defvalue = wxDefaultSize ;
14388 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14389 long arg6 = (long) 0 ;
14390 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14391 wxString *arg7 = (wxString *) &arg7_defvalue ;
14392 bool result;
14393 void *argp1 = 0 ;
14394 int res1 = 0 ;
14395 void *argp2 = 0 ;
14396 int res2 = 0 ;
14397 int val3 ;
14398 int ecode3 = 0 ;
14399 wxPoint temp4 ;
14400 wxSize temp5 ;
14401 long val6 ;
14402 int ecode6 = 0 ;
14403 bool temp7 = false ;
14404 PyObject * obj0 = 0 ;
14405 PyObject * obj1 = 0 ;
14406 PyObject * obj2 = 0 ;
14407 PyObject * obj3 = 0 ;
14408 PyObject * obj4 = 0 ;
14409 PyObject * obj5 = 0 ;
14410 PyObject * obj6 = 0 ;
14411 char * kwnames[] = {
14412 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14413 };
14414
14415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14417 if (!SWIG_IsOK(res1)) {
14418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14419 }
14420 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14421 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14422 if (!SWIG_IsOK(res2)) {
14423 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14424 }
14425 arg2 = reinterpret_cast< wxWindow * >(argp2);
14426 if (obj2) {
14427 ecode3 = SWIG_AsVal_int(obj2, &val3);
14428 if (!SWIG_IsOK(ecode3)) {
14429 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14430 }
14431 arg3 = static_cast< int >(val3);
14432 }
14433 if (obj3) {
14434 {
14435 arg4 = &temp4;
14436 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14437 }
14438 }
14439 if (obj4) {
14440 {
14441 arg5 = &temp5;
14442 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14443 }
14444 }
14445 if (obj5) {
14446 ecode6 = SWIG_AsVal_long(obj5, &val6);
14447 if (!SWIG_IsOK(ecode6)) {
14448 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14449 }
14450 arg6 = static_cast< long >(val6);
14451 }
14452 if (obj6) {
14453 {
14454 arg7 = wxString_in_helper(obj6);
14455 if (arg7 == NULL) SWIG_fail;
14456 temp7 = true;
14457 }
14458 }
14459 {
14460 PyThreadState* __tstate = wxPyBeginAllowThreads();
14461 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14462 wxPyEndAllowThreads(__tstate);
14463 if (PyErr_Occurred()) SWIG_fail;
14464 }
14465 {
14466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14467 }
14468 {
14469 if (temp7)
14470 delete arg7;
14471 }
14472 return resultobj;
14473 fail:
14474 {
14475 if (temp7)
14476 delete arg7;
14477 }
14478 return NULL;
14479 }
14480
14481
14482 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14483 PyObject *resultobj = 0;
14484 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14485 size_t result;
14486 void *argp1 = 0 ;
14487 int res1 = 0 ;
14488 PyObject *swig_obj[1] ;
14489
14490 if (!args) SWIG_fail;
14491 swig_obj[0] = args;
14492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14493 if (!SWIG_IsOK(res1)) {
14494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14495 }
14496 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14497 {
14498 PyThreadState* __tstate = wxPyBeginAllowThreads();
14499 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14500 wxPyEndAllowThreads(__tstate);
14501 if (PyErr_Occurred()) SWIG_fail;
14502 }
14503 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14504 return resultobj;
14505 fail:
14506 return NULL;
14507 }
14508
14509
14510 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14511 PyObject *resultobj = 0;
14512 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14513 bool result;
14514 void *argp1 = 0 ;
14515 int res1 = 0 ;
14516 PyObject *swig_obj[1] ;
14517
14518 if (!args) SWIG_fail;
14519 swig_obj[0] = args;
14520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14521 if (!SWIG_IsOK(res1)) {
14522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14523 }
14524 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14525 {
14526 PyThreadState* __tstate = wxPyBeginAllowThreads();
14527 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14528 wxPyEndAllowThreads(__tstate);
14529 if (PyErr_Occurred()) SWIG_fail;
14530 }
14531 {
14532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14533 }
14534 return resultobj;
14535 fail:
14536 return NULL;
14537 }
14538
14539
14540 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14541 PyObject *resultobj = 0;
14542 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14543 int result;
14544 void *argp1 = 0 ;
14545 int res1 = 0 ;
14546 PyObject *swig_obj[1] ;
14547
14548 if (!args) SWIG_fail;
14549 swig_obj[0] = args;
14550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14551 if (!SWIG_IsOK(res1)) {
14552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14553 }
14554 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14555 {
14556 PyThreadState* __tstate = wxPyBeginAllowThreads();
14557 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14558 wxPyEndAllowThreads(__tstate);
14559 if (PyErr_Occurred()) SWIG_fail;
14560 }
14561 resultobj = SWIG_From_int(static_cast< int >(result));
14562 return resultobj;
14563 fail:
14564 return NULL;
14565 }
14566
14567
14568 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14569 PyObject *resultobj = 0;
14570 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14571 size_t arg2 ;
14572 bool result;
14573 void *argp1 = 0 ;
14574 int res1 = 0 ;
14575 size_t val2 ;
14576 int ecode2 = 0 ;
14577 PyObject * obj0 = 0 ;
14578 PyObject * obj1 = 0 ;
14579 char * kwnames[] = {
14580 (char *) "self",(char *) "item", NULL
14581 };
14582
14583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14585 if (!SWIG_IsOK(res1)) {
14586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14587 }
14588 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14589 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14590 if (!SWIG_IsOK(ecode2)) {
14591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14592 }
14593 arg2 = static_cast< size_t >(val2);
14594 {
14595 PyThreadState* __tstate = wxPyBeginAllowThreads();
14596 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14597 wxPyEndAllowThreads(__tstate);
14598 if (PyErr_Occurred()) SWIG_fail;
14599 }
14600 {
14601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14602 }
14603 return resultobj;
14604 fail:
14605 return NULL;
14606 }
14607
14608
14609 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14610 PyObject *resultobj = 0;
14611 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14612 size_t arg2 ;
14613 bool result;
14614 void *argp1 = 0 ;
14615 int res1 = 0 ;
14616 size_t val2 ;
14617 int ecode2 = 0 ;
14618 PyObject * obj0 = 0 ;
14619 PyObject * obj1 = 0 ;
14620 char * kwnames[] = {
14621 (char *) "self",(char *) "item", NULL
14622 };
14623
14624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14626 if (!SWIG_IsOK(res1)) {
14627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14628 }
14629 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14630 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14631 if (!SWIG_IsOK(ecode2)) {
14632 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14633 }
14634 arg2 = static_cast< size_t >(val2);
14635 {
14636 PyThreadState* __tstate = wxPyBeginAllowThreads();
14637 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14638 wxPyEndAllowThreads(__tstate);
14639 if (PyErr_Occurred()) SWIG_fail;
14640 }
14641 {
14642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14643 }
14644 return resultobj;
14645 fail:
14646 return NULL;
14647 }
14648
14649
14650 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14651 PyObject *resultobj = 0;
14652 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14653 size_t result;
14654 void *argp1 = 0 ;
14655 int res1 = 0 ;
14656 PyObject *swig_obj[1] ;
14657
14658 if (!args) SWIG_fail;
14659 swig_obj[0] = args;
14660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14661 if (!SWIG_IsOK(res1)) {
14662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14663 }
14664 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14665 {
14666 PyThreadState* __tstate = wxPyBeginAllowThreads();
14667 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14668 wxPyEndAllowThreads(__tstate);
14669 if (PyErr_Occurred()) SWIG_fail;
14670 }
14671 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14672 return resultobj;
14673 fail:
14674 return NULL;
14675 }
14676
14677
14678 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14679 PyObject *resultobj = 0;
14680 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14681 PyObject *result = 0 ;
14682 void *argp1 = 0 ;
14683 int res1 = 0 ;
14684 PyObject *swig_obj[1] ;
14685
14686 if (!args) SWIG_fail;
14687 swig_obj[0] = args;
14688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14689 if (!SWIG_IsOK(res1)) {
14690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14691 }
14692 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14693 {
14694 PyThreadState* __tstate = wxPyBeginAllowThreads();
14695 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14696 wxPyEndAllowThreads(__tstate);
14697 if (PyErr_Occurred()) SWIG_fail;
14698 }
14699 resultobj = result;
14700 return resultobj;
14701 fail:
14702 return NULL;
14703 }
14704
14705
14706 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14707 PyObject *resultobj = 0;
14708 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14709 unsigned long arg2 ;
14710 PyObject *result = 0 ;
14711 void *argp1 = 0 ;
14712 int res1 = 0 ;
14713 unsigned long val2 ;
14714 int ecode2 = 0 ;
14715 PyObject * obj0 = 0 ;
14716 PyObject * obj1 = 0 ;
14717 char * kwnames[] = {
14718 (char *) "self",(char *) "cookie", NULL
14719 };
14720
14721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14723 if (!SWIG_IsOK(res1)) {
14724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14725 }
14726 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14727 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14728 if (!SWIG_IsOK(ecode2)) {
14729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14730 }
14731 arg2 = static_cast< unsigned long >(val2);
14732 {
14733 PyThreadState* __tstate = wxPyBeginAllowThreads();
14734 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14735 wxPyEndAllowThreads(__tstate);
14736 if (PyErr_Occurred()) SWIG_fail;
14737 }
14738 resultobj = result;
14739 return resultobj;
14740 fail:
14741 return NULL;
14742 }
14743
14744
14745 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14746 PyObject *resultobj = 0;
14747 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14748 wxPoint result;
14749 void *argp1 = 0 ;
14750 int res1 = 0 ;
14751 PyObject *swig_obj[1] ;
14752
14753 if (!args) SWIG_fail;
14754 swig_obj[0] = args;
14755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14756 if (!SWIG_IsOK(res1)) {
14757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14758 }
14759 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14760 {
14761 PyThreadState* __tstate = wxPyBeginAllowThreads();
14762 result = ((wxPyVListBox const *)arg1)->GetMargins();
14763 wxPyEndAllowThreads(__tstate);
14764 if (PyErr_Occurred()) SWIG_fail;
14765 }
14766 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14767 return resultobj;
14768 fail:
14769 return NULL;
14770 }
14771
14772
14773 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14774 PyObject *resultobj = 0;
14775 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14776 wxColour *result = 0 ;
14777 void *argp1 = 0 ;
14778 int res1 = 0 ;
14779 PyObject *swig_obj[1] ;
14780
14781 if (!args) SWIG_fail;
14782 swig_obj[0] = args;
14783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14784 if (!SWIG_IsOK(res1)) {
14785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14786 }
14787 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14788 {
14789 PyThreadState* __tstate = wxPyBeginAllowThreads();
14790 {
14791 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14792 result = (wxColour *) &_result_ref;
14793 }
14794 wxPyEndAllowThreads(__tstate);
14795 if (PyErr_Occurred()) SWIG_fail;
14796 }
14797 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14798 return resultobj;
14799 fail:
14800 return NULL;
14801 }
14802
14803
14804 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14805 PyObject *resultobj = 0;
14806 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14807 size_t arg2 ;
14808 void *argp1 = 0 ;
14809 int res1 = 0 ;
14810 size_t val2 ;
14811 int ecode2 = 0 ;
14812 PyObject * obj0 = 0 ;
14813 PyObject * obj1 = 0 ;
14814 char * kwnames[] = {
14815 (char *) "self",(char *) "count", NULL
14816 };
14817
14818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14820 if (!SWIG_IsOK(res1)) {
14821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14822 }
14823 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14824 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14825 if (!SWIG_IsOK(ecode2)) {
14826 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14827 }
14828 arg2 = static_cast< size_t >(val2);
14829 {
14830 PyThreadState* __tstate = wxPyBeginAllowThreads();
14831 (arg1)->SetItemCount(arg2);
14832 wxPyEndAllowThreads(__tstate);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 resultobj = SWIG_Py_Void();
14836 return resultobj;
14837 fail:
14838 return NULL;
14839 }
14840
14841
14842 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14843 PyObject *resultobj = 0;
14844 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14845 void *argp1 = 0 ;
14846 int res1 = 0 ;
14847 PyObject *swig_obj[1] ;
14848
14849 if (!args) SWIG_fail;
14850 swig_obj[0] = args;
14851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14852 if (!SWIG_IsOK(res1)) {
14853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14854 }
14855 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14856 {
14857 PyThreadState* __tstate = wxPyBeginAllowThreads();
14858 (arg1)->Clear();
14859 wxPyEndAllowThreads(__tstate);
14860 if (PyErr_Occurred()) SWIG_fail;
14861 }
14862 resultobj = SWIG_Py_Void();
14863 return resultobj;
14864 fail:
14865 return NULL;
14866 }
14867
14868
14869 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14870 PyObject *resultobj = 0;
14871 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14872 int arg2 ;
14873 void *argp1 = 0 ;
14874 int res1 = 0 ;
14875 int val2 ;
14876 int ecode2 = 0 ;
14877 PyObject * obj0 = 0 ;
14878 PyObject * obj1 = 0 ;
14879 char * kwnames[] = {
14880 (char *) "self",(char *) "selection", NULL
14881 };
14882
14883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14885 if (!SWIG_IsOK(res1)) {
14886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14887 }
14888 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14889 ecode2 = SWIG_AsVal_int(obj1, &val2);
14890 if (!SWIG_IsOK(ecode2)) {
14891 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14892 }
14893 arg2 = static_cast< int >(val2);
14894 {
14895 PyThreadState* __tstate = wxPyBeginAllowThreads();
14896 (arg1)->SetSelection(arg2);
14897 wxPyEndAllowThreads(__tstate);
14898 if (PyErr_Occurred()) SWIG_fail;
14899 }
14900 resultobj = SWIG_Py_Void();
14901 return resultobj;
14902 fail:
14903 return NULL;
14904 }
14905
14906
14907 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14908 PyObject *resultobj = 0;
14909 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14910 size_t arg2 ;
14911 bool arg3 = (bool) true ;
14912 bool result;
14913 void *argp1 = 0 ;
14914 int res1 = 0 ;
14915 size_t val2 ;
14916 int ecode2 = 0 ;
14917 bool val3 ;
14918 int ecode3 = 0 ;
14919 PyObject * obj0 = 0 ;
14920 PyObject * obj1 = 0 ;
14921 PyObject * obj2 = 0 ;
14922 char * kwnames[] = {
14923 (char *) "self",(char *) "item",(char *) "select", NULL
14924 };
14925
14926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14928 if (!SWIG_IsOK(res1)) {
14929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14930 }
14931 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14932 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14933 if (!SWIG_IsOK(ecode2)) {
14934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14935 }
14936 arg2 = static_cast< size_t >(val2);
14937 if (obj2) {
14938 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14939 if (!SWIG_IsOK(ecode3)) {
14940 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14941 }
14942 arg3 = static_cast< bool >(val3);
14943 }
14944 {
14945 PyThreadState* __tstate = wxPyBeginAllowThreads();
14946 result = (bool)(arg1)->Select(arg2,arg3);
14947 wxPyEndAllowThreads(__tstate);
14948 if (PyErr_Occurred()) SWIG_fail;
14949 }
14950 {
14951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14952 }
14953 return resultobj;
14954 fail:
14955 return NULL;
14956 }
14957
14958
14959 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14960 PyObject *resultobj = 0;
14961 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14962 size_t arg2 ;
14963 size_t arg3 ;
14964 bool result;
14965 void *argp1 = 0 ;
14966 int res1 = 0 ;
14967 size_t val2 ;
14968 int ecode2 = 0 ;
14969 size_t val3 ;
14970 int ecode3 = 0 ;
14971 PyObject * obj0 = 0 ;
14972 PyObject * obj1 = 0 ;
14973 PyObject * obj2 = 0 ;
14974 char * kwnames[] = {
14975 (char *) "self",(char *) "from",(char *) "to", NULL
14976 };
14977
14978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14980 if (!SWIG_IsOK(res1)) {
14981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14982 }
14983 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14984 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14985 if (!SWIG_IsOK(ecode2)) {
14986 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14987 }
14988 arg2 = static_cast< size_t >(val2);
14989 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14990 if (!SWIG_IsOK(ecode3)) {
14991 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14992 }
14993 arg3 = static_cast< size_t >(val3);
14994 {
14995 PyThreadState* __tstate = wxPyBeginAllowThreads();
14996 result = (bool)(arg1)->SelectRange(arg2,arg3);
14997 wxPyEndAllowThreads(__tstate);
14998 if (PyErr_Occurred()) SWIG_fail;
14999 }
15000 {
15001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15002 }
15003 return resultobj;
15004 fail:
15005 return NULL;
15006 }
15007
15008
15009 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15010 PyObject *resultobj = 0;
15011 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15012 size_t arg2 ;
15013 void *argp1 = 0 ;
15014 int res1 = 0 ;
15015 size_t val2 ;
15016 int ecode2 = 0 ;
15017 PyObject * obj0 = 0 ;
15018 PyObject * obj1 = 0 ;
15019 char * kwnames[] = {
15020 (char *) "self",(char *) "item", NULL
15021 };
15022
15023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15025 if (!SWIG_IsOK(res1)) {
15026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15027 }
15028 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15029 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15030 if (!SWIG_IsOK(ecode2)) {
15031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15032 }
15033 arg2 = static_cast< size_t >(val2);
15034 {
15035 PyThreadState* __tstate = wxPyBeginAllowThreads();
15036 (arg1)->Toggle(arg2);
15037 wxPyEndAllowThreads(__tstate);
15038 if (PyErr_Occurred()) SWIG_fail;
15039 }
15040 resultobj = SWIG_Py_Void();
15041 return resultobj;
15042 fail:
15043 return NULL;
15044 }
15045
15046
15047 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15048 PyObject *resultobj = 0;
15049 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15050 bool result;
15051 void *argp1 = 0 ;
15052 int res1 = 0 ;
15053 PyObject *swig_obj[1] ;
15054
15055 if (!args) SWIG_fail;
15056 swig_obj[0] = args;
15057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15058 if (!SWIG_IsOK(res1)) {
15059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15060 }
15061 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15062 {
15063 PyThreadState* __tstate = wxPyBeginAllowThreads();
15064 result = (bool)(arg1)->SelectAll();
15065 wxPyEndAllowThreads(__tstate);
15066 if (PyErr_Occurred()) SWIG_fail;
15067 }
15068 {
15069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15070 }
15071 return resultobj;
15072 fail:
15073 return NULL;
15074 }
15075
15076
15077 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15078 PyObject *resultobj = 0;
15079 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15080 bool result;
15081 void *argp1 = 0 ;
15082 int res1 = 0 ;
15083 PyObject *swig_obj[1] ;
15084
15085 if (!args) SWIG_fail;
15086 swig_obj[0] = args;
15087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15088 if (!SWIG_IsOK(res1)) {
15089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15090 }
15091 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15092 {
15093 PyThreadState* __tstate = wxPyBeginAllowThreads();
15094 result = (bool)(arg1)->DeselectAll();
15095 wxPyEndAllowThreads(__tstate);
15096 if (PyErr_Occurred()) SWIG_fail;
15097 }
15098 {
15099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15100 }
15101 return resultobj;
15102 fail:
15103 return NULL;
15104 }
15105
15106
15107 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15108 PyObject *resultobj = 0;
15109 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15110 wxPoint *arg2 = 0 ;
15111 void *argp1 = 0 ;
15112 int res1 = 0 ;
15113 wxPoint temp2 ;
15114 PyObject * obj0 = 0 ;
15115 PyObject * obj1 = 0 ;
15116 char * kwnames[] = {
15117 (char *) "self",(char *) "pt", NULL
15118 };
15119
15120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15122 if (!SWIG_IsOK(res1)) {
15123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15124 }
15125 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15126 {
15127 arg2 = &temp2;
15128 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15129 }
15130 {
15131 PyThreadState* __tstate = wxPyBeginAllowThreads();
15132 (arg1)->SetMargins((wxPoint const &)*arg2);
15133 wxPyEndAllowThreads(__tstate);
15134 if (PyErr_Occurred()) SWIG_fail;
15135 }
15136 resultobj = SWIG_Py_Void();
15137 return resultobj;
15138 fail:
15139 return NULL;
15140 }
15141
15142
15143 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15144 PyObject *resultobj = 0;
15145 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15146 int arg2 ;
15147 int arg3 ;
15148 void *argp1 = 0 ;
15149 int res1 = 0 ;
15150 int val2 ;
15151 int ecode2 = 0 ;
15152 int val3 ;
15153 int ecode3 = 0 ;
15154 PyObject * obj0 = 0 ;
15155 PyObject * obj1 = 0 ;
15156 PyObject * obj2 = 0 ;
15157 char * kwnames[] = {
15158 (char *) "self",(char *) "x",(char *) "y", NULL
15159 };
15160
15161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15163 if (!SWIG_IsOK(res1)) {
15164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15165 }
15166 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15167 ecode2 = SWIG_AsVal_int(obj1, &val2);
15168 if (!SWIG_IsOK(ecode2)) {
15169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15170 }
15171 arg2 = static_cast< int >(val2);
15172 ecode3 = SWIG_AsVal_int(obj2, &val3);
15173 if (!SWIG_IsOK(ecode3)) {
15174 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15175 }
15176 arg3 = static_cast< int >(val3);
15177 {
15178 PyThreadState* __tstate = wxPyBeginAllowThreads();
15179 (arg1)->SetMargins(arg2,arg3);
15180 wxPyEndAllowThreads(__tstate);
15181 if (PyErr_Occurred()) SWIG_fail;
15182 }
15183 resultobj = SWIG_Py_Void();
15184 return resultobj;
15185 fail:
15186 return NULL;
15187 }
15188
15189
15190 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15191 PyObject *resultobj = 0;
15192 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15193 wxColour *arg2 = 0 ;
15194 void *argp1 = 0 ;
15195 int res1 = 0 ;
15196 wxColour temp2 ;
15197 PyObject * obj0 = 0 ;
15198 PyObject * obj1 = 0 ;
15199 char * kwnames[] = {
15200 (char *) "self",(char *) "col", NULL
15201 };
15202
15203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15205 if (!SWIG_IsOK(res1)) {
15206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15207 }
15208 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15209 {
15210 arg2 = &temp2;
15211 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15212 }
15213 {
15214 PyThreadState* __tstate = wxPyBeginAllowThreads();
15215 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15216 wxPyEndAllowThreads(__tstate);
15217 if (PyErr_Occurred()) SWIG_fail;
15218 }
15219 resultobj = SWIG_Py_Void();
15220 return resultobj;
15221 fail:
15222 return NULL;
15223 }
15224
15225
15226 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15227 PyObject *resultobj = 0;
15228 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15229 wxDC *arg2 = 0 ;
15230 wxRect *arg3 = 0 ;
15231 size_t arg4 ;
15232 void *argp1 = 0 ;
15233 int res1 = 0 ;
15234 void *argp2 = 0 ;
15235 int res2 = 0 ;
15236 wxRect temp3 ;
15237 size_t val4 ;
15238 int ecode4 = 0 ;
15239 PyObject * obj0 = 0 ;
15240 PyObject * obj1 = 0 ;
15241 PyObject * obj2 = 0 ;
15242 PyObject * obj3 = 0 ;
15243 char * kwnames[] = {
15244 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15245 };
15246
15247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15249 if (!SWIG_IsOK(res1)) {
15250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15251 }
15252 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15253 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15254 if (!SWIG_IsOK(res2)) {
15255 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15256 }
15257 if (!argp2) {
15258 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15259 }
15260 arg2 = reinterpret_cast< wxDC * >(argp2);
15261 {
15262 arg3 = &temp3;
15263 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15264 }
15265 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15266 if (!SWIG_IsOK(ecode4)) {
15267 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15268 }
15269 arg4 = static_cast< size_t >(val4);
15270 {
15271 PyThreadState* __tstate = wxPyBeginAllowThreads();
15272 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15273 wxPyEndAllowThreads(__tstate);
15274 if (PyErr_Occurred()) SWIG_fail;
15275 }
15276 resultobj = SWIG_Py_Void();
15277 return resultobj;
15278 fail:
15279 return NULL;
15280 }
15281
15282
15283 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15284 PyObject *resultobj = 0;
15285 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15286 wxDC *arg2 = 0 ;
15287 wxRect *arg3 = 0 ;
15288 size_t arg4 ;
15289 void *argp1 = 0 ;
15290 int res1 = 0 ;
15291 void *argp2 = 0 ;
15292 int res2 = 0 ;
15293 wxRect temp3 ;
15294 size_t val4 ;
15295 int ecode4 = 0 ;
15296 PyObject * obj0 = 0 ;
15297 PyObject * obj1 = 0 ;
15298 PyObject * obj2 = 0 ;
15299 PyObject * obj3 = 0 ;
15300 char * kwnames[] = {
15301 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15302 };
15303
15304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15306 if (!SWIG_IsOK(res1)) {
15307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15308 }
15309 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15310 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15311 if (!SWIG_IsOK(res2)) {
15312 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15313 }
15314 if (!argp2) {
15315 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15316 }
15317 arg2 = reinterpret_cast< wxDC * >(argp2);
15318 {
15319 arg3 = &temp3;
15320 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15321 }
15322 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15323 if (!SWIG_IsOK(ecode4)) {
15324 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15325 }
15326 arg4 = static_cast< size_t >(val4);
15327 {
15328 PyThreadState* __tstate = wxPyBeginAllowThreads();
15329 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15330 wxPyEndAllowThreads(__tstate);
15331 if (PyErr_Occurred()) SWIG_fail;
15332 }
15333 resultobj = SWIG_Py_Void();
15334 return resultobj;
15335 fail:
15336 return NULL;
15337 }
15338
15339
15340 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15341 PyObject *obj;
15342 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15343 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15344 return SWIG_Py_Void();
15345 }
15346
15347 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15348 return SWIG_Python_InitShadowInstance(args);
15349 }
15350
15351 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15352 PyObject *resultobj = 0;
15353 wxWindow *arg1 = (wxWindow *) 0 ;
15354 int arg2 = (int) wxID_ANY ;
15355 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15356 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15357 wxSize const &arg4_defvalue = wxDefaultSize ;
15358 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15359 long arg5 = (long) 0 ;
15360 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15361 wxString *arg6 = (wxString *) &arg6_defvalue ;
15362 wxPyHtmlListBox *result = 0 ;
15363 void *argp1 = 0 ;
15364 int res1 = 0 ;
15365 int val2 ;
15366 int ecode2 = 0 ;
15367 wxPoint temp3 ;
15368 wxSize temp4 ;
15369 long val5 ;
15370 int ecode5 = 0 ;
15371 bool temp6 = false ;
15372 PyObject * obj0 = 0 ;
15373 PyObject * obj1 = 0 ;
15374 PyObject * obj2 = 0 ;
15375 PyObject * obj3 = 0 ;
15376 PyObject * obj4 = 0 ;
15377 PyObject * obj5 = 0 ;
15378 char * kwnames[] = {
15379 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15380 };
15381
15382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15384 if (!SWIG_IsOK(res1)) {
15385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15386 }
15387 arg1 = reinterpret_cast< wxWindow * >(argp1);
15388 if (obj1) {
15389 ecode2 = SWIG_AsVal_int(obj1, &val2);
15390 if (!SWIG_IsOK(ecode2)) {
15391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15392 }
15393 arg2 = static_cast< int >(val2);
15394 }
15395 if (obj2) {
15396 {
15397 arg3 = &temp3;
15398 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15399 }
15400 }
15401 if (obj3) {
15402 {
15403 arg4 = &temp4;
15404 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15405 }
15406 }
15407 if (obj4) {
15408 ecode5 = SWIG_AsVal_long(obj4, &val5);
15409 if (!SWIG_IsOK(ecode5)) {
15410 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15411 }
15412 arg5 = static_cast< long >(val5);
15413 }
15414 if (obj5) {
15415 {
15416 arg6 = wxString_in_helper(obj5);
15417 if (arg6 == NULL) SWIG_fail;
15418 temp6 = true;
15419 }
15420 }
15421 {
15422 if (!wxPyCheckForApp()) SWIG_fail;
15423 PyThreadState* __tstate = wxPyBeginAllowThreads();
15424 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15425 wxPyEndAllowThreads(__tstate);
15426 if (PyErr_Occurred()) SWIG_fail;
15427 }
15428 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15429 {
15430 if (temp6)
15431 delete arg6;
15432 }
15433 return resultobj;
15434 fail:
15435 {
15436 if (temp6)
15437 delete arg6;
15438 }
15439 return NULL;
15440 }
15441
15442
15443 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15444 PyObject *resultobj = 0;
15445 wxPyHtmlListBox *result = 0 ;
15446
15447 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15448 {
15449 if (!wxPyCheckForApp()) SWIG_fail;
15450 PyThreadState* __tstate = wxPyBeginAllowThreads();
15451 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15452 wxPyEndAllowThreads(__tstate);
15453 if (PyErr_Occurred()) SWIG_fail;
15454 }
15455 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15456 return resultobj;
15457 fail:
15458 return NULL;
15459 }
15460
15461
15462 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15463 PyObject *resultobj = 0;
15464 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15465 PyObject *arg2 = (PyObject *) 0 ;
15466 PyObject *arg3 = (PyObject *) 0 ;
15467 void *argp1 = 0 ;
15468 int res1 = 0 ;
15469 PyObject * obj0 = 0 ;
15470 PyObject * obj1 = 0 ;
15471 PyObject * obj2 = 0 ;
15472 char * kwnames[] = {
15473 (char *) "self",(char *) "self",(char *) "_class", NULL
15474 };
15475
15476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15478 if (!SWIG_IsOK(res1)) {
15479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15480 }
15481 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15482 arg2 = obj1;
15483 arg3 = obj2;
15484 {
15485 PyThreadState* __tstate = wxPyBeginAllowThreads();
15486 (arg1)->_setCallbackInfo(arg2,arg3);
15487 wxPyEndAllowThreads(__tstate);
15488 if (PyErr_Occurred()) SWIG_fail;
15489 }
15490 resultobj = SWIG_Py_Void();
15491 return resultobj;
15492 fail:
15493 return NULL;
15494 }
15495
15496
15497 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15498 PyObject *resultobj = 0;
15499 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15500 wxWindow *arg2 = (wxWindow *) 0 ;
15501 int arg3 = (int) wxID_ANY ;
15502 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15503 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15504 wxSize const &arg5_defvalue = wxDefaultSize ;
15505 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15506 long arg6 = (long) 0 ;
15507 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15508 wxString *arg7 = (wxString *) &arg7_defvalue ;
15509 bool result;
15510 void *argp1 = 0 ;
15511 int res1 = 0 ;
15512 void *argp2 = 0 ;
15513 int res2 = 0 ;
15514 int val3 ;
15515 int ecode3 = 0 ;
15516 wxPoint temp4 ;
15517 wxSize temp5 ;
15518 long val6 ;
15519 int ecode6 = 0 ;
15520 bool temp7 = false ;
15521 PyObject * obj0 = 0 ;
15522 PyObject * obj1 = 0 ;
15523 PyObject * obj2 = 0 ;
15524 PyObject * obj3 = 0 ;
15525 PyObject * obj4 = 0 ;
15526 PyObject * obj5 = 0 ;
15527 PyObject * obj6 = 0 ;
15528 char * kwnames[] = {
15529 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15530 };
15531
15532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15534 if (!SWIG_IsOK(res1)) {
15535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15536 }
15537 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15538 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15539 if (!SWIG_IsOK(res2)) {
15540 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15541 }
15542 arg2 = reinterpret_cast< wxWindow * >(argp2);
15543 if (obj2) {
15544 ecode3 = SWIG_AsVal_int(obj2, &val3);
15545 if (!SWIG_IsOK(ecode3)) {
15546 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15547 }
15548 arg3 = static_cast< int >(val3);
15549 }
15550 if (obj3) {
15551 {
15552 arg4 = &temp4;
15553 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15554 }
15555 }
15556 if (obj4) {
15557 {
15558 arg5 = &temp5;
15559 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15560 }
15561 }
15562 if (obj5) {
15563 ecode6 = SWIG_AsVal_long(obj5, &val6);
15564 if (!SWIG_IsOK(ecode6)) {
15565 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15566 }
15567 arg6 = static_cast< long >(val6);
15568 }
15569 if (obj6) {
15570 {
15571 arg7 = wxString_in_helper(obj6);
15572 if (arg7 == NULL) SWIG_fail;
15573 temp7 = true;
15574 }
15575 }
15576 {
15577 PyThreadState* __tstate = wxPyBeginAllowThreads();
15578 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15579 wxPyEndAllowThreads(__tstate);
15580 if (PyErr_Occurred()) SWIG_fail;
15581 }
15582 {
15583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15584 }
15585 {
15586 if (temp7)
15587 delete arg7;
15588 }
15589 return resultobj;
15590 fail:
15591 {
15592 if (temp7)
15593 delete arg7;
15594 }
15595 return NULL;
15596 }
15597
15598
15599 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15600 PyObject *resultobj = 0;
15601 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15602 size_t arg2 ;
15603 void *argp1 = 0 ;
15604 int res1 = 0 ;
15605 size_t val2 ;
15606 int ecode2 = 0 ;
15607 PyObject * obj0 = 0 ;
15608 PyObject * obj1 = 0 ;
15609 char * kwnames[] = {
15610 (char *) "self",(char *) "count", NULL
15611 };
15612
15613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15615 if (!SWIG_IsOK(res1)) {
15616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15617 }
15618 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15619 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15620 if (!SWIG_IsOK(ecode2)) {
15621 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15622 }
15623 arg2 = static_cast< size_t >(val2);
15624 {
15625 PyThreadState* __tstate = wxPyBeginAllowThreads();
15626 (arg1)->SetItemCount(arg2);
15627 wxPyEndAllowThreads(__tstate);
15628 if (PyErr_Occurred()) SWIG_fail;
15629 }
15630 resultobj = SWIG_Py_Void();
15631 return resultobj;
15632 fail:
15633 return NULL;
15634 }
15635
15636
15637 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15638 PyObject *resultobj = 0;
15639 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15640 wxFileSystem *result = 0 ;
15641 void *argp1 = 0 ;
15642 int res1 = 0 ;
15643 PyObject *swig_obj[1] ;
15644
15645 if (!args) SWIG_fail;
15646 swig_obj[0] = args;
15647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15648 if (!SWIG_IsOK(res1)) {
15649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15650 }
15651 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15652 {
15653 PyThreadState* __tstate = wxPyBeginAllowThreads();
15654 {
15655 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15656 result = (wxFileSystem *) &_result_ref;
15657 }
15658 wxPyEndAllowThreads(__tstate);
15659 if (PyErr_Occurred()) SWIG_fail;
15660 }
15661 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15662 return resultobj;
15663 fail:
15664 return NULL;
15665 }
15666
15667
15668 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15669 PyObject *resultobj = 0;
15670 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15671 size_t arg2 ;
15672 wxHtmlLinkInfo *arg3 = 0 ;
15673 void *argp1 = 0 ;
15674 int res1 = 0 ;
15675 size_t val2 ;
15676 int ecode2 = 0 ;
15677 void *argp3 = 0 ;
15678 int res3 = 0 ;
15679 PyObject * obj0 = 0 ;
15680 PyObject * obj1 = 0 ;
15681 PyObject * obj2 = 0 ;
15682 char * kwnames[] = {
15683 (char *) "self",(char *) "n",(char *) "link", NULL
15684 };
15685
15686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15688 if (!SWIG_IsOK(res1)) {
15689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15690 }
15691 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15692 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15693 if (!SWIG_IsOK(ecode2)) {
15694 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15695 }
15696 arg2 = static_cast< size_t >(val2);
15697 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15698 if (!SWIG_IsOK(res3)) {
15699 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15700 }
15701 if (!argp3) {
15702 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15703 }
15704 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15705 {
15706 PyThreadState* __tstate = wxPyBeginAllowThreads();
15707 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15708 wxPyEndAllowThreads(__tstate);
15709 if (PyErr_Occurred()) SWIG_fail;
15710 }
15711 resultobj = SWIG_Py_Void();
15712 return resultobj;
15713 fail:
15714 return NULL;
15715 }
15716
15717
15718 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15719 PyObject *obj;
15720 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15721 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15722 return SWIG_Py_Void();
15723 }
15724
15725 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15726 return SWIG_Python_InitShadowInstance(args);
15727 }
15728
15729 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15730 PyObject *resultobj = 0;
15731 wxPyTaskBarIcon *result = 0 ;
15732
15733 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15734 {
15735 if (!wxPyCheckForApp()) SWIG_fail;
15736 PyThreadState* __tstate = wxPyBeginAllowThreads();
15737 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15738 wxPyEndAllowThreads(__tstate);
15739 if (PyErr_Occurred()) SWIG_fail;
15740 }
15741 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15742 return resultobj;
15743 fail:
15744 return NULL;
15745 }
15746
15747
15748 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15749 PyObject *resultobj = 0;
15750 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15751 void *argp1 = 0 ;
15752 int res1 = 0 ;
15753 PyObject *swig_obj[1] ;
15754
15755 if (!args) SWIG_fail;
15756 swig_obj[0] = args;
15757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15758 if (!SWIG_IsOK(res1)) {
15759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15760 }
15761 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15762 {
15763 PyThreadState* __tstate = wxPyBeginAllowThreads();
15764 delete arg1;
15765
15766 wxPyEndAllowThreads(__tstate);
15767 if (PyErr_Occurred()) SWIG_fail;
15768 }
15769 resultobj = SWIG_Py_Void();
15770 return resultobj;
15771 fail:
15772 return NULL;
15773 }
15774
15775
15776 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15777 PyObject *resultobj = 0;
15778 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15779 PyObject *arg2 = (PyObject *) 0 ;
15780 PyObject *arg3 = (PyObject *) 0 ;
15781 int arg4 ;
15782 void *argp1 = 0 ;
15783 int res1 = 0 ;
15784 int val4 ;
15785 int ecode4 = 0 ;
15786 PyObject * obj0 = 0 ;
15787 PyObject * obj1 = 0 ;
15788 PyObject * obj2 = 0 ;
15789 PyObject * obj3 = 0 ;
15790 char * kwnames[] = {
15791 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15792 };
15793
15794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15796 if (!SWIG_IsOK(res1)) {
15797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15798 }
15799 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15800 arg2 = obj1;
15801 arg3 = obj2;
15802 ecode4 = SWIG_AsVal_int(obj3, &val4);
15803 if (!SWIG_IsOK(ecode4)) {
15804 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15805 }
15806 arg4 = static_cast< int >(val4);
15807 {
15808 PyThreadState* __tstate = wxPyBeginAllowThreads();
15809 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15810 wxPyEndAllowThreads(__tstate);
15811 if (PyErr_Occurred()) SWIG_fail;
15812 }
15813 resultobj = SWIG_Py_Void();
15814 return resultobj;
15815 fail:
15816 return NULL;
15817 }
15818
15819
15820 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15821 PyObject *resultobj = 0;
15822 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15823 void *argp1 = 0 ;
15824 int res1 = 0 ;
15825 PyObject *swig_obj[1] ;
15826
15827 if (!args) SWIG_fail;
15828 swig_obj[0] = args;
15829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15830 if (!SWIG_IsOK(res1)) {
15831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15832 }
15833 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15834 {
15835 PyThreadState* __tstate = wxPyBeginAllowThreads();
15836 wxPyTaskBarIcon_Destroy(arg1);
15837 wxPyEndAllowThreads(__tstate);
15838 if (PyErr_Occurred()) SWIG_fail;
15839 }
15840 resultobj = SWIG_Py_Void();
15841 return resultobj;
15842 fail:
15843 return NULL;
15844 }
15845
15846
15847 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15848 PyObject *resultobj = 0;
15849 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15850 bool result;
15851 void *argp1 = 0 ;
15852 int res1 = 0 ;
15853 PyObject *swig_obj[1] ;
15854
15855 if (!args) SWIG_fail;
15856 swig_obj[0] = args;
15857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15858 if (!SWIG_IsOK(res1)) {
15859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15860 }
15861 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15862 {
15863 PyThreadState* __tstate = wxPyBeginAllowThreads();
15864 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15865 wxPyEndAllowThreads(__tstate);
15866 if (PyErr_Occurred()) SWIG_fail;
15867 }
15868 {
15869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15870 }
15871 return resultobj;
15872 fail:
15873 return NULL;
15874 }
15875
15876
15877 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15878 PyObject *resultobj = 0;
15879 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15880 bool result;
15881 void *argp1 = 0 ;
15882 int res1 = 0 ;
15883 PyObject *swig_obj[1] ;
15884
15885 if (!args) SWIG_fail;
15886 swig_obj[0] = args;
15887 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15888 if (!SWIG_IsOK(res1)) {
15889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15890 }
15891 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15892 {
15893 PyThreadState* __tstate = wxPyBeginAllowThreads();
15894 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15895 wxPyEndAllowThreads(__tstate);
15896 if (PyErr_Occurred()) SWIG_fail;
15897 }
15898 {
15899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15900 }
15901 return resultobj;
15902 fail:
15903 return NULL;
15904 }
15905
15906
15907 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15908 PyObject *resultobj = 0;
15909 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15910 wxIcon *arg2 = 0 ;
15911 wxString const &arg3_defvalue = wxPyEmptyString ;
15912 wxString *arg3 = (wxString *) &arg3_defvalue ;
15913 bool result;
15914 void *argp1 = 0 ;
15915 int res1 = 0 ;
15916 void *argp2 = 0 ;
15917 int res2 = 0 ;
15918 bool temp3 = false ;
15919 PyObject * obj0 = 0 ;
15920 PyObject * obj1 = 0 ;
15921 PyObject * obj2 = 0 ;
15922 char * kwnames[] = {
15923 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15924 };
15925
15926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15928 if (!SWIG_IsOK(res1)) {
15929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15930 }
15931 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15932 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15933 if (!SWIG_IsOK(res2)) {
15934 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15935 }
15936 if (!argp2) {
15937 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15938 }
15939 arg2 = reinterpret_cast< wxIcon * >(argp2);
15940 if (obj2) {
15941 {
15942 arg3 = wxString_in_helper(obj2);
15943 if (arg3 == NULL) SWIG_fail;
15944 temp3 = true;
15945 }
15946 }
15947 {
15948 PyThreadState* __tstate = wxPyBeginAllowThreads();
15949 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
15950 wxPyEndAllowThreads(__tstate);
15951 if (PyErr_Occurred()) SWIG_fail;
15952 }
15953 {
15954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15955 }
15956 {
15957 if (temp3)
15958 delete arg3;
15959 }
15960 return resultobj;
15961 fail:
15962 {
15963 if (temp3)
15964 delete arg3;
15965 }
15966 return NULL;
15967 }
15968
15969
15970 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15971 PyObject *resultobj = 0;
15972 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15973 bool result;
15974 void *argp1 = 0 ;
15975 int res1 = 0 ;
15976 PyObject *swig_obj[1] ;
15977
15978 if (!args) SWIG_fail;
15979 swig_obj[0] = args;
15980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15981 if (!SWIG_IsOK(res1)) {
15982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15983 }
15984 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15985 {
15986 PyThreadState* __tstate = wxPyBeginAllowThreads();
15987 result = (bool)(arg1)->RemoveIcon();
15988 wxPyEndAllowThreads(__tstate);
15989 if (PyErr_Occurred()) SWIG_fail;
15990 }
15991 {
15992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15993 }
15994 return resultobj;
15995 fail:
15996 return NULL;
15997 }
15998
15999
16000 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16001 PyObject *resultobj = 0;
16002 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16003 wxMenu *arg2 = (wxMenu *) 0 ;
16004 bool result;
16005 void *argp1 = 0 ;
16006 int res1 = 0 ;
16007 void *argp2 = 0 ;
16008 int res2 = 0 ;
16009 PyObject * obj0 = 0 ;
16010 PyObject * obj1 = 0 ;
16011 char * kwnames[] = {
16012 (char *) "self",(char *) "menu", NULL
16013 };
16014
16015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16017 if (!SWIG_IsOK(res1)) {
16018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16019 }
16020 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16021 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16022 if (!SWIG_IsOK(res2)) {
16023 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16024 }
16025 arg2 = reinterpret_cast< wxMenu * >(argp2);
16026 {
16027 PyThreadState* __tstate = wxPyBeginAllowThreads();
16028 result = (bool)(arg1)->PopupMenu(arg2);
16029 wxPyEndAllowThreads(__tstate);
16030 if (PyErr_Occurred()) SWIG_fail;
16031 }
16032 {
16033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16034 }
16035 return resultobj;
16036 fail:
16037 return NULL;
16038 }
16039
16040
16041 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16042 PyObject *obj;
16043 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16044 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16045 return SWIG_Py_Void();
16046 }
16047
16048 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16049 return SWIG_Python_InitShadowInstance(args);
16050 }
16051
16052 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16053 PyObject *resultobj = 0;
16054 wxEventType arg1 ;
16055 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16056 wxTaskBarIconEvent *result = 0 ;
16057 int val1 ;
16058 int ecode1 = 0 ;
16059 void *argp2 = 0 ;
16060 int res2 = 0 ;
16061 PyObject * obj0 = 0 ;
16062 PyObject * obj1 = 0 ;
16063 char * kwnames[] = {
16064 (char *) "evtType",(char *) "tbIcon", NULL
16065 };
16066
16067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16068 ecode1 = SWIG_AsVal_int(obj0, &val1);
16069 if (!SWIG_IsOK(ecode1)) {
16070 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16071 }
16072 arg1 = static_cast< wxEventType >(val1);
16073 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16074 if (!SWIG_IsOK(res2)) {
16075 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16076 }
16077 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16078 {
16079 PyThreadState* __tstate = wxPyBeginAllowThreads();
16080 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16081 wxPyEndAllowThreads(__tstate);
16082 if (PyErr_Occurred()) SWIG_fail;
16083 }
16084 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16085 return resultobj;
16086 fail:
16087 return NULL;
16088 }
16089
16090
16091 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16092 PyObject *obj;
16093 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16094 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16095 return SWIG_Py_Void();
16096 }
16097
16098 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16099 return SWIG_Python_InitShadowInstance(args);
16100 }
16101
16102 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16103 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16104 return 1;
16105 }
16106
16107
16108 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16109 PyObject *pyobj = 0;
16110
16111 {
16112 #if wxUSE_UNICODE
16113 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16114 #else
16115 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16116 #endif
16117 }
16118 return pyobj;
16119 }
16120
16121
16122 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16123 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16124 return 1;
16125 }
16126
16127
16128 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16129 PyObject *pyobj = 0;
16130
16131 {
16132 #if wxUSE_UNICODE
16133 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16134 #else
16135 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16136 #endif
16137 }
16138 return pyobj;
16139 }
16140
16141
16142 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16143 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16144 return 1;
16145 }
16146
16147
16148 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16149 PyObject *pyobj = 0;
16150
16151 {
16152 #if wxUSE_UNICODE
16153 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16154 #else
16155 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16156 #endif
16157 }
16158 return pyobj;
16159 }
16160
16161
16162 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16163 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16164 return 1;
16165 }
16166
16167
16168 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16169 PyObject *pyobj = 0;
16170
16171 {
16172 #if wxUSE_UNICODE
16173 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16174 #else
16175 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16176 #endif
16177 }
16178 return pyobj;
16179 }
16180
16181
16182 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16183 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16184 return 1;
16185 }
16186
16187
16188 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16189 PyObject *pyobj = 0;
16190
16191 {
16192 #if wxUSE_UNICODE
16193 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16194 #else
16195 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16196 #endif
16197 }
16198 return pyobj;
16199 }
16200
16201
16202 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16203 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16204 return 1;
16205 }
16206
16207
16208 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16209 PyObject *pyobj = 0;
16210
16211 {
16212 #if wxUSE_UNICODE
16213 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16214 #else
16215 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16216 #endif
16217 }
16218 return pyobj;
16219 }
16220
16221
16222 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16223 PyObject *resultobj = 0;
16224 wxColourData *result = 0 ;
16225
16226 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16227 {
16228 PyThreadState* __tstate = wxPyBeginAllowThreads();
16229 result = (wxColourData *)new wxColourData();
16230 wxPyEndAllowThreads(__tstate);
16231 if (PyErr_Occurred()) SWIG_fail;
16232 }
16233 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16234 return resultobj;
16235 fail:
16236 return NULL;
16237 }
16238
16239
16240 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16241 PyObject *resultobj = 0;
16242 wxColourData *arg1 = (wxColourData *) 0 ;
16243 void *argp1 = 0 ;
16244 int res1 = 0 ;
16245 PyObject *swig_obj[1] ;
16246
16247 if (!args) SWIG_fail;
16248 swig_obj[0] = args;
16249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16250 if (!SWIG_IsOK(res1)) {
16251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16252 }
16253 arg1 = reinterpret_cast< wxColourData * >(argp1);
16254 {
16255 PyThreadState* __tstate = wxPyBeginAllowThreads();
16256 delete arg1;
16257
16258 wxPyEndAllowThreads(__tstate);
16259 if (PyErr_Occurred()) SWIG_fail;
16260 }
16261 resultobj = SWIG_Py_Void();
16262 return resultobj;
16263 fail:
16264 return NULL;
16265 }
16266
16267
16268 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16269 PyObject *resultobj = 0;
16270 wxColourData *arg1 = (wxColourData *) 0 ;
16271 bool result;
16272 void *argp1 = 0 ;
16273 int res1 = 0 ;
16274 PyObject *swig_obj[1] ;
16275
16276 if (!args) SWIG_fail;
16277 swig_obj[0] = args;
16278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16279 if (!SWIG_IsOK(res1)) {
16280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16281 }
16282 arg1 = reinterpret_cast< wxColourData * >(argp1);
16283 {
16284 PyThreadState* __tstate = wxPyBeginAllowThreads();
16285 result = (bool)(arg1)->GetChooseFull();
16286 wxPyEndAllowThreads(__tstate);
16287 if (PyErr_Occurred()) SWIG_fail;
16288 }
16289 {
16290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16291 }
16292 return resultobj;
16293 fail:
16294 return NULL;
16295 }
16296
16297
16298 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16299 PyObject *resultobj = 0;
16300 wxColourData *arg1 = (wxColourData *) 0 ;
16301 wxColour result;
16302 void *argp1 = 0 ;
16303 int res1 = 0 ;
16304 PyObject *swig_obj[1] ;
16305
16306 if (!args) SWIG_fail;
16307 swig_obj[0] = args;
16308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16309 if (!SWIG_IsOK(res1)) {
16310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16311 }
16312 arg1 = reinterpret_cast< wxColourData * >(argp1);
16313 {
16314 PyThreadState* __tstate = wxPyBeginAllowThreads();
16315 result = (arg1)->GetColour();
16316 wxPyEndAllowThreads(__tstate);
16317 if (PyErr_Occurred()) SWIG_fail;
16318 }
16319 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16320 return resultobj;
16321 fail:
16322 return NULL;
16323 }
16324
16325
16326 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16327 PyObject *resultobj = 0;
16328 wxColourData *arg1 = (wxColourData *) 0 ;
16329 int arg2 ;
16330 wxColour result;
16331 void *argp1 = 0 ;
16332 int res1 = 0 ;
16333 int val2 ;
16334 int ecode2 = 0 ;
16335 PyObject * obj0 = 0 ;
16336 PyObject * obj1 = 0 ;
16337 char * kwnames[] = {
16338 (char *) "self",(char *) "i", NULL
16339 };
16340
16341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16343 if (!SWIG_IsOK(res1)) {
16344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16345 }
16346 arg1 = reinterpret_cast< wxColourData * >(argp1);
16347 ecode2 = SWIG_AsVal_int(obj1, &val2);
16348 if (!SWIG_IsOK(ecode2)) {
16349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16350 }
16351 arg2 = static_cast< int >(val2);
16352 {
16353 PyThreadState* __tstate = wxPyBeginAllowThreads();
16354 result = (arg1)->GetCustomColour(arg2);
16355 wxPyEndAllowThreads(__tstate);
16356 if (PyErr_Occurred()) SWIG_fail;
16357 }
16358 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16359 return resultobj;
16360 fail:
16361 return NULL;
16362 }
16363
16364
16365 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16366 PyObject *resultobj = 0;
16367 wxColourData *arg1 = (wxColourData *) 0 ;
16368 int arg2 ;
16369 void *argp1 = 0 ;
16370 int res1 = 0 ;
16371 int val2 ;
16372 int ecode2 = 0 ;
16373 PyObject * obj0 = 0 ;
16374 PyObject * obj1 = 0 ;
16375 char * kwnames[] = {
16376 (char *) "self",(char *) "flag", NULL
16377 };
16378
16379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16381 if (!SWIG_IsOK(res1)) {
16382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16383 }
16384 arg1 = reinterpret_cast< wxColourData * >(argp1);
16385 ecode2 = SWIG_AsVal_int(obj1, &val2);
16386 if (!SWIG_IsOK(ecode2)) {
16387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16388 }
16389 arg2 = static_cast< int >(val2);
16390 {
16391 PyThreadState* __tstate = wxPyBeginAllowThreads();
16392 (arg1)->SetChooseFull(arg2);
16393 wxPyEndAllowThreads(__tstate);
16394 if (PyErr_Occurred()) SWIG_fail;
16395 }
16396 resultobj = SWIG_Py_Void();
16397 return resultobj;
16398 fail:
16399 return NULL;
16400 }
16401
16402
16403 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16404 PyObject *resultobj = 0;
16405 wxColourData *arg1 = (wxColourData *) 0 ;
16406 wxColour *arg2 = 0 ;
16407 void *argp1 = 0 ;
16408 int res1 = 0 ;
16409 wxColour temp2 ;
16410 PyObject * obj0 = 0 ;
16411 PyObject * obj1 = 0 ;
16412 char * kwnames[] = {
16413 (char *) "self",(char *) "colour", NULL
16414 };
16415
16416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16418 if (!SWIG_IsOK(res1)) {
16419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16420 }
16421 arg1 = reinterpret_cast< wxColourData * >(argp1);
16422 {
16423 arg2 = &temp2;
16424 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16425 }
16426 {
16427 PyThreadState* __tstate = wxPyBeginAllowThreads();
16428 (arg1)->SetColour((wxColour const &)*arg2);
16429 wxPyEndAllowThreads(__tstate);
16430 if (PyErr_Occurred()) SWIG_fail;
16431 }
16432 resultobj = SWIG_Py_Void();
16433 return resultobj;
16434 fail:
16435 return NULL;
16436 }
16437
16438
16439 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16440 PyObject *resultobj = 0;
16441 wxColourData *arg1 = (wxColourData *) 0 ;
16442 int arg2 ;
16443 wxColour *arg3 = 0 ;
16444 void *argp1 = 0 ;
16445 int res1 = 0 ;
16446 int val2 ;
16447 int ecode2 = 0 ;
16448 wxColour temp3 ;
16449 PyObject * obj0 = 0 ;
16450 PyObject * obj1 = 0 ;
16451 PyObject * obj2 = 0 ;
16452 char * kwnames[] = {
16453 (char *) "self",(char *) "i",(char *) "colour", NULL
16454 };
16455
16456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16458 if (!SWIG_IsOK(res1)) {
16459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16460 }
16461 arg1 = reinterpret_cast< wxColourData * >(argp1);
16462 ecode2 = SWIG_AsVal_int(obj1, &val2);
16463 if (!SWIG_IsOK(ecode2)) {
16464 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16465 }
16466 arg2 = static_cast< int >(val2);
16467 {
16468 arg3 = &temp3;
16469 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16470 }
16471 {
16472 PyThreadState* __tstate = wxPyBeginAllowThreads();
16473 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16474 wxPyEndAllowThreads(__tstate);
16475 if (PyErr_Occurred()) SWIG_fail;
16476 }
16477 resultobj = SWIG_Py_Void();
16478 return resultobj;
16479 fail:
16480 return NULL;
16481 }
16482
16483
16484 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16485 PyObject *obj;
16486 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16487 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16488 return SWIG_Py_Void();
16489 }
16490
16491 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16492 return SWIG_Python_InitShadowInstance(args);
16493 }
16494
16495 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16496 PyObject *resultobj = 0;
16497 wxWindow *arg1 = (wxWindow *) 0 ;
16498 wxColourData *arg2 = (wxColourData *) NULL ;
16499 wxColourDialog *result = 0 ;
16500 void *argp1 = 0 ;
16501 int res1 = 0 ;
16502 void *argp2 = 0 ;
16503 int res2 = 0 ;
16504 PyObject * obj0 = 0 ;
16505 PyObject * obj1 = 0 ;
16506 char * kwnames[] = {
16507 (char *) "parent",(char *) "data", NULL
16508 };
16509
16510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16512 if (!SWIG_IsOK(res1)) {
16513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16514 }
16515 arg1 = reinterpret_cast< wxWindow * >(argp1);
16516 if (obj1) {
16517 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16518 if (!SWIG_IsOK(res2)) {
16519 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16520 }
16521 arg2 = reinterpret_cast< wxColourData * >(argp2);
16522 }
16523 {
16524 if (!wxPyCheckForApp()) SWIG_fail;
16525 PyThreadState* __tstate = wxPyBeginAllowThreads();
16526 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16527 wxPyEndAllowThreads(__tstate);
16528 if (PyErr_Occurred()) SWIG_fail;
16529 }
16530 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16531 return resultobj;
16532 fail:
16533 return NULL;
16534 }
16535
16536
16537 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16538 PyObject *resultobj = 0;
16539 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16540 wxColourData *result = 0 ;
16541 void *argp1 = 0 ;
16542 int res1 = 0 ;
16543 PyObject *swig_obj[1] ;
16544
16545 if (!args) SWIG_fail;
16546 swig_obj[0] = args;
16547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16548 if (!SWIG_IsOK(res1)) {
16549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16550 }
16551 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16552 {
16553 PyThreadState* __tstate = wxPyBeginAllowThreads();
16554 {
16555 wxColourData &_result_ref = (arg1)->GetColourData();
16556 result = (wxColourData *) &_result_ref;
16557 }
16558 wxPyEndAllowThreads(__tstate);
16559 if (PyErr_Occurred()) SWIG_fail;
16560 }
16561 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16562 return resultobj;
16563 fail:
16564 return NULL;
16565 }
16566
16567
16568 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16569 PyObject *obj;
16570 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16571 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16572 return SWIG_Py_Void();
16573 }
16574
16575 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16576 return SWIG_Python_InitShadowInstance(args);
16577 }
16578
16579 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16580 PyObject *resultobj = 0;
16581 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16582 wxColour const &arg2_defvalue = wxNullColour ;
16583 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16584 wxString const &arg3_defvalue = wxPyEmptyString ;
16585 wxString *arg3 = (wxString *) &arg3_defvalue ;
16586 wxColour result;
16587 void *argp1 = 0 ;
16588 int res1 = 0 ;
16589 wxColour temp2 ;
16590 bool temp3 = false ;
16591 PyObject * obj0 = 0 ;
16592 PyObject * obj1 = 0 ;
16593 PyObject * obj2 = 0 ;
16594 char * kwnames[] = {
16595 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16596 };
16597
16598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16599 if (obj0) {
16600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16601 if (!SWIG_IsOK(res1)) {
16602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16603 }
16604 arg1 = reinterpret_cast< wxWindow * >(argp1);
16605 }
16606 if (obj1) {
16607 {
16608 arg2 = &temp2;
16609 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16610 }
16611 }
16612 if (obj2) {
16613 {
16614 arg3 = wxString_in_helper(obj2);
16615 if (arg3 == NULL) SWIG_fail;
16616 temp3 = true;
16617 }
16618 }
16619 {
16620 PyThreadState* __tstate = wxPyBeginAllowThreads();
16621 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16622 wxPyEndAllowThreads(__tstate);
16623 if (PyErr_Occurred()) SWIG_fail;
16624 }
16625 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16626 {
16627 if (temp3)
16628 delete arg3;
16629 }
16630 return resultobj;
16631 fail:
16632 {
16633 if (temp3)
16634 delete arg3;
16635 }
16636 return NULL;
16637 }
16638
16639
16640 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16641 PyObject *resultobj = 0;
16642 wxWindow *arg1 = (wxWindow *) 0 ;
16643 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16644 wxString *arg2 = (wxString *) &arg2_defvalue ;
16645 wxString const &arg3_defvalue = wxPyEmptyString ;
16646 wxString *arg3 = (wxString *) &arg3_defvalue ;
16647 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16648 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16649 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16650 wxSize const &arg6_defvalue = wxDefaultSize ;
16651 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16652 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16653 wxString *arg7 = (wxString *) &arg7_defvalue ;
16654 wxDirDialog *result = 0 ;
16655 void *argp1 = 0 ;
16656 int res1 = 0 ;
16657 bool temp2 = false ;
16658 bool temp3 = false ;
16659 long val4 ;
16660 int ecode4 = 0 ;
16661 wxPoint temp5 ;
16662 wxSize temp6 ;
16663 bool temp7 = false ;
16664 PyObject * obj0 = 0 ;
16665 PyObject * obj1 = 0 ;
16666 PyObject * obj2 = 0 ;
16667 PyObject * obj3 = 0 ;
16668 PyObject * obj4 = 0 ;
16669 PyObject * obj5 = 0 ;
16670 PyObject * obj6 = 0 ;
16671 char * kwnames[] = {
16672 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16673 };
16674
16675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16677 if (!SWIG_IsOK(res1)) {
16678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16679 }
16680 arg1 = reinterpret_cast< wxWindow * >(argp1);
16681 if (obj1) {
16682 {
16683 arg2 = wxString_in_helper(obj1);
16684 if (arg2 == NULL) SWIG_fail;
16685 temp2 = true;
16686 }
16687 }
16688 if (obj2) {
16689 {
16690 arg3 = wxString_in_helper(obj2);
16691 if (arg3 == NULL) SWIG_fail;
16692 temp3 = true;
16693 }
16694 }
16695 if (obj3) {
16696 ecode4 = SWIG_AsVal_long(obj3, &val4);
16697 if (!SWIG_IsOK(ecode4)) {
16698 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16699 }
16700 arg4 = static_cast< long >(val4);
16701 }
16702 if (obj4) {
16703 {
16704 arg5 = &temp5;
16705 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16706 }
16707 }
16708 if (obj5) {
16709 {
16710 arg6 = &temp6;
16711 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16712 }
16713 }
16714 if (obj6) {
16715 {
16716 arg7 = wxString_in_helper(obj6);
16717 if (arg7 == NULL) SWIG_fail;
16718 temp7 = true;
16719 }
16720 }
16721 {
16722 if (!wxPyCheckForApp()) SWIG_fail;
16723 PyThreadState* __tstate = wxPyBeginAllowThreads();
16724 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16725 wxPyEndAllowThreads(__tstate);
16726 if (PyErr_Occurred()) SWIG_fail;
16727 }
16728 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16729 {
16730 if (temp2)
16731 delete arg2;
16732 }
16733 {
16734 if (temp3)
16735 delete arg3;
16736 }
16737 {
16738 if (temp7)
16739 delete arg7;
16740 }
16741 return resultobj;
16742 fail:
16743 {
16744 if (temp2)
16745 delete arg2;
16746 }
16747 {
16748 if (temp3)
16749 delete arg3;
16750 }
16751 {
16752 if (temp7)
16753 delete arg7;
16754 }
16755 return NULL;
16756 }
16757
16758
16759 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16760 PyObject *resultobj = 0;
16761 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16762 wxString result;
16763 void *argp1 = 0 ;
16764 int res1 = 0 ;
16765 PyObject *swig_obj[1] ;
16766
16767 if (!args) SWIG_fail;
16768 swig_obj[0] = args;
16769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16770 if (!SWIG_IsOK(res1)) {
16771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16772 }
16773 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16774 {
16775 PyThreadState* __tstate = wxPyBeginAllowThreads();
16776 result = (arg1)->GetPath();
16777 wxPyEndAllowThreads(__tstate);
16778 if (PyErr_Occurred()) SWIG_fail;
16779 }
16780 {
16781 #if wxUSE_UNICODE
16782 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16783 #else
16784 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16785 #endif
16786 }
16787 return resultobj;
16788 fail:
16789 return NULL;
16790 }
16791
16792
16793 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16794 PyObject *resultobj = 0;
16795 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16796 wxString result;
16797 void *argp1 = 0 ;
16798 int res1 = 0 ;
16799 PyObject *swig_obj[1] ;
16800
16801 if (!args) SWIG_fail;
16802 swig_obj[0] = args;
16803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16804 if (!SWIG_IsOK(res1)) {
16805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16806 }
16807 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16808 {
16809 PyThreadState* __tstate = wxPyBeginAllowThreads();
16810 result = (arg1)->GetMessage();
16811 wxPyEndAllowThreads(__tstate);
16812 if (PyErr_Occurred()) SWIG_fail;
16813 }
16814 {
16815 #if wxUSE_UNICODE
16816 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16817 #else
16818 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16819 #endif
16820 }
16821 return resultobj;
16822 fail:
16823 return NULL;
16824 }
16825
16826
16827 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16828 PyObject *resultobj = 0;
16829 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16830 wxString *arg2 = 0 ;
16831 void *argp1 = 0 ;
16832 int res1 = 0 ;
16833 bool temp2 = false ;
16834 PyObject * obj0 = 0 ;
16835 PyObject * obj1 = 0 ;
16836 char * kwnames[] = {
16837 (char *) "self",(char *) "message", NULL
16838 };
16839
16840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16842 if (!SWIG_IsOK(res1)) {
16843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16844 }
16845 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16846 {
16847 arg2 = wxString_in_helper(obj1);
16848 if (arg2 == NULL) SWIG_fail;
16849 temp2 = true;
16850 }
16851 {
16852 PyThreadState* __tstate = wxPyBeginAllowThreads();
16853 (arg1)->SetMessage((wxString const &)*arg2);
16854 wxPyEndAllowThreads(__tstate);
16855 if (PyErr_Occurred()) SWIG_fail;
16856 }
16857 resultobj = SWIG_Py_Void();
16858 {
16859 if (temp2)
16860 delete arg2;
16861 }
16862 return resultobj;
16863 fail:
16864 {
16865 if (temp2)
16866 delete arg2;
16867 }
16868 return NULL;
16869 }
16870
16871
16872 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16873 PyObject *resultobj = 0;
16874 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16875 wxString *arg2 = 0 ;
16876 void *argp1 = 0 ;
16877 int res1 = 0 ;
16878 bool temp2 = false ;
16879 PyObject * obj0 = 0 ;
16880 PyObject * obj1 = 0 ;
16881 char * kwnames[] = {
16882 (char *) "self",(char *) "path", NULL
16883 };
16884
16885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16887 if (!SWIG_IsOK(res1)) {
16888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16889 }
16890 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16891 {
16892 arg2 = wxString_in_helper(obj1);
16893 if (arg2 == NULL) SWIG_fail;
16894 temp2 = true;
16895 }
16896 {
16897 PyThreadState* __tstate = wxPyBeginAllowThreads();
16898 (arg1)->SetPath((wxString const &)*arg2);
16899 wxPyEndAllowThreads(__tstate);
16900 if (PyErr_Occurred()) SWIG_fail;
16901 }
16902 resultobj = SWIG_Py_Void();
16903 {
16904 if (temp2)
16905 delete arg2;
16906 }
16907 return resultobj;
16908 fail:
16909 {
16910 if (temp2)
16911 delete arg2;
16912 }
16913 return NULL;
16914 }
16915
16916
16917 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16918 PyObject *obj;
16919 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16920 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16921 return SWIG_Py_Void();
16922 }
16923
16924 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16925 return SWIG_Python_InitShadowInstance(args);
16926 }
16927
16928 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16929 PyObject *resultobj = 0;
16930 wxWindow *arg1 = (wxWindow *) 0 ;
16931 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16932 wxString *arg2 = (wxString *) &arg2_defvalue ;
16933 wxString const &arg3_defvalue = wxPyEmptyString ;
16934 wxString *arg3 = (wxString *) &arg3_defvalue ;
16935 wxString const &arg4_defvalue = wxPyEmptyString ;
16936 wxString *arg4 = (wxString *) &arg4_defvalue ;
16937 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
16938 wxString *arg5 = (wxString *) &arg5_defvalue ;
16939 long arg6 = (long) wxFD_DEFAULT_STYLE ;
16940 wxPoint const &arg7_defvalue = wxDefaultPosition ;
16941 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
16942 wxFileDialog *result = 0 ;
16943 void *argp1 = 0 ;
16944 int res1 = 0 ;
16945 bool temp2 = false ;
16946 bool temp3 = false ;
16947 bool temp4 = false ;
16948 bool temp5 = false ;
16949 long val6 ;
16950 int ecode6 = 0 ;
16951 wxPoint temp7 ;
16952 PyObject * obj0 = 0 ;
16953 PyObject * obj1 = 0 ;
16954 PyObject * obj2 = 0 ;
16955 PyObject * obj3 = 0 ;
16956 PyObject * obj4 = 0 ;
16957 PyObject * obj5 = 0 ;
16958 PyObject * obj6 = 0 ;
16959 char * kwnames[] = {
16960 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16961 };
16962
16963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16965 if (!SWIG_IsOK(res1)) {
16966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16967 }
16968 arg1 = reinterpret_cast< wxWindow * >(argp1);
16969 if (obj1) {
16970 {
16971 arg2 = wxString_in_helper(obj1);
16972 if (arg2 == NULL) SWIG_fail;
16973 temp2 = true;
16974 }
16975 }
16976 if (obj2) {
16977 {
16978 arg3 = wxString_in_helper(obj2);
16979 if (arg3 == NULL) SWIG_fail;
16980 temp3 = true;
16981 }
16982 }
16983 if (obj3) {
16984 {
16985 arg4 = wxString_in_helper(obj3);
16986 if (arg4 == NULL) SWIG_fail;
16987 temp4 = true;
16988 }
16989 }
16990 if (obj4) {
16991 {
16992 arg5 = wxString_in_helper(obj4);
16993 if (arg5 == NULL) SWIG_fail;
16994 temp5 = true;
16995 }
16996 }
16997 if (obj5) {
16998 ecode6 = SWIG_AsVal_long(obj5, &val6);
16999 if (!SWIG_IsOK(ecode6)) {
17000 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17001 }
17002 arg6 = static_cast< long >(val6);
17003 }
17004 if (obj6) {
17005 {
17006 arg7 = &temp7;
17007 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17008 }
17009 }
17010 {
17011 if (!wxPyCheckForApp()) SWIG_fail;
17012 PyThreadState* __tstate = wxPyBeginAllowThreads();
17013 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17014 wxPyEndAllowThreads(__tstate);
17015 if (PyErr_Occurred()) SWIG_fail;
17016 }
17017 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17018 {
17019 if (temp2)
17020 delete arg2;
17021 }
17022 {
17023 if (temp3)
17024 delete arg3;
17025 }
17026 {
17027 if (temp4)
17028 delete arg4;
17029 }
17030 {
17031 if (temp5)
17032 delete arg5;
17033 }
17034 return resultobj;
17035 fail:
17036 {
17037 if (temp2)
17038 delete arg2;
17039 }
17040 {
17041 if (temp3)
17042 delete arg3;
17043 }
17044 {
17045 if (temp4)
17046 delete arg4;
17047 }
17048 {
17049 if (temp5)
17050 delete arg5;
17051 }
17052 return NULL;
17053 }
17054
17055
17056 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17057 PyObject *resultobj = 0;
17058 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17059 wxString *arg2 = 0 ;
17060 void *argp1 = 0 ;
17061 int res1 = 0 ;
17062 bool temp2 = false ;
17063 PyObject * obj0 = 0 ;
17064 PyObject * obj1 = 0 ;
17065 char * kwnames[] = {
17066 (char *) "self",(char *) "message", NULL
17067 };
17068
17069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17071 if (!SWIG_IsOK(res1)) {
17072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17073 }
17074 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17075 {
17076 arg2 = wxString_in_helper(obj1);
17077 if (arg2 == NULL) SWIG_fail;
17078 temp2 = true;
17079 }
17080 {
17081 PyThreadState* __tstate = wxPyBeginAllowThreads();
17082 (arg1)->SetMessage((wxString const &)*arg2);
17083 wxPyEndAllowThreads(__tstate);
17084 if (PyErr_Occurred()) SWIG_fail;
17085 }
17086 resultobj = SWIG_Py_Void();
17087 {
17088 if (temp2)
17089 delete arg2;
17090 }
17091 return resultobj;
17092 fail:
17093 {
17094 if (temp2)
17095 delete arg2;
17096 }
17097 return NULL;
17098 }
17099
17100
17101 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17102 PyObject *resultobj = 0;
17103 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17104 wxString *arg2 = 0 ;
17105 void *argp1 = 0 ;
17106 int res1 = 0 ;
17107 bool temp2 = false ;
17108 PyObject * obj0 = 0 ;
17109 PyObject * obj1 = 0 ;
17110 char * kwnames[] = {
17111 (char *) "self",(char *) "path", NULL
17112 };
17113
17114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17116 if (!SWIG_IsOK(res1)) {
17117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17118 }
17119 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17120 {
17121 arg2 = wxString_in_helper(obj1);
17122 if (arg2 == NULL) SWIG_fail;
17123 temp2 = true;
17124 }
17125 {
17126 PyThreadState* __tstate = wxPyBeginAllowThreads();
17127 (arg1)->SetPath((wxString const &)*arg2);
17128 wxPyEndAllowThreads(__tstate);
17129 if (PyErr_Occurred()) SWIG_fail;
17130 }
17131 resultobj = SWIG_Py_Void();
17132 {
17133 if (temp2)
17134 delete arg2;
17135 }
17136 return resultobj;
17137 fail:
17138 {
17139 if (temp2)
17140 delete arg2;
17141 }
17142 return NULL;
17143 }
17144
17145
17146 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17147 PyObject *resultobj = 0;
17148 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17149 wxString *arg2 = 0 ;
17150 void *argp1 = 0 ;
17151 int res1 = 0 ;
17152 bool temp2 = false ;
17153 PyObject * obj0 = 0 ;
17154 PyObject * obj1 = 0 ;
17155 char * kwnames[] = {
17156 (char *) "self",(char *) "dir", NULL
17157 };
17158
17159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17161 if (!SWIG_IsOK(res1)) {
17162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17163 }
17164 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17165 {
17166 arg2 = wxString_in_helper(obj1);
17167 if (arg2 == NULL) SWIG_fail;
17168 temp2 = true;
17169 }
17170 {
17171 PyThreadState* __tstate = wxPyBeginAllowThreads();
17172 (arg1)->SetDirectory((wxString const &)*arg2);
17173 wxPyEndAllowThreads(__tstate);
17174 if (PyErr_Occurred()) SWIG_fail;
17175 }
17176 resultobj = SWIG_Py_Void();
17177 {
17178 if (temp2)
17179 delete arg2;
17180 }
17181 return resultobj;
17182 fail:
17183 {
17184 if (temp2)
17185 delete arg2;
17186 }
17187 return NULL;
17188 }
17189
17190
17191 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17192 PyObject *resultobj = 0;
17193 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17194 wxString *arg2 = 0 ;
17195 void *argp1 = 0 ;
17196 int res1 = 0 ;
17197 bool temp2 = false ;
17198 PyObject * obj0 = 0 ;
17199 PyObject * obj1 = 0 ;
17200 char * kwnames[] = {
17201 (char *) "self",(char *) "name", NULL
17202 };
17203
17204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17206 if (!SWIG_IsOK(res1)) {
17207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17208 }
17209 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17210 {
17211 arg2 = wxString_in_helper(obj1);
17212 if (arg2 == NULL) SWIG_fail;
17213 temp2 = true;
17214 }
17215 {
17216 PyThreadState* __tstate = wxPyBeginAllowThreads();
17217 (arg1)->SetFilename((wxString const &)*arg2);
17218 wxPyEndAllowThreads(__tstate);
17219 if (PyErr_Occurred()) SWIG_fail;
17220 }
17221 resultobj = SWIG_Py_Void();
17222 {
17223 if (temp2)
17224 delete arg2;
17225 }
17226 return resultobj;
17227 fail:
17228 {
17229 if (temp2)
17230 delete arg2;
17231 }
17232 return NULL;
17233 }
17234
17235
17236 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17237 PyObject *resultobj = 0;
17238 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17239 wxString *arg2 = 0 ;
17240 void *argp1 = 0 ;
17241 int res1 = 0 ;
17242 bool temp2 = false ;
17243 PyObject * obj0 = 0 ;
17244 PyObject * obj1 = 0 ;
17245 char * kwnames[] = {
17246 (char *) "self",(char *) "wildCard", NULL
17247 };
17248
17249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17251 if (!SWIG_IsOK(res1)) {
17252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17253 }
17254 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17255 {
17256 arg2 = wxString_in_helper(obj1);
17257 if (arg2 == NULL) SWIG_fail;
17258 temp2 = true;
17259 }
17260 {
17261 PyThreadState* __tstate = wxPyBeginAllowThreads();
17262 (arg1)->SetWildcard((wxString const &)*arg2);
17263 wxPyEndAllowThreads(__tstate);
17264 if (PyErr_Occurred()) SWIG_fail;
17265 }
17266 resultobj = SWIG_Py_Void();
17267 {
17268 if (temp2)
17269 delete arg2;
17270 }
17271 return resultobj;
17272 fail:
17273 {
17274 if (temp2)
17275 delete arg2;
17276 }
17277 return NULL;
17278 }
17279
17280
17281 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17282 PyObject *resultobj = 0;
17283 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17284 int arg2 ;
17285 void *argp1 = 0 ;
17286 int res1 = 0 ;
17287 int val2 ;
17288 int ecode2 = 0 ;
17289 PyObject * obj0 = 0 ;
17290 PyObject * obj1 = 0 ;
17291 char * kwnames[] = {
17292 (char *) "self",(char *) "filterIndex", NULL
17293 };
17294
17295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17297 if (!SWIG_IsOK(res1)) {
17298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17299 }
17300 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17301 ecode2 = SWIG_AsVal_int(obj1, &val2);
17302 if (!SWIG_IsOK(ecode2)) {
17303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17304 }
17305 arg2 = static_cast< int >(val2);
17306 {
17307 PyThreadState* __tstate = wxPyBeginAllowThreads();
17308 (arg1)->SetFilterIndex(arg2);
17309 wxPyEndAllowThreads(__tstate);
17310 if (PyErr_Occurred()) SWIG_fail;
17311 }
17312 resultobj = SWIG_Py_Void();
17313 return resultobj;
17314 fail:
17315 return NULL;
17316 }
17317
17318
17319 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17320 PyObject *resultobj = 0;
17321 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17322 wxString result;
17323 void *argp1 = 0 ;
17324 int res1 = 0 ;
17325 PyObject *swig_obj[1] ;
17326
17327 if (!args) SWIG_fail;
17328 swig_obj[0] = args;
17329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17330 if (!SWIG_IsOK(res1)) {
17331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17332 }
17333 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17334 {
17335 PyThreadState* __tstate = wxPyBeginAllowThreads();
17336 result = ((wxFileDialog const *)arg1)->GetMessage();
17337 wxPyEndAllowThreads(__tstate);
17338 if (PyErr_Occurred()) SWIG_fail;
17339 }
17340 {
17341 #if wxUSE_UNICODE
17342 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17343 #else
17344 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17345 #endif
17346 }
17347 return resultobj;
17348 fail:
17349 return NULL;
17350 }
17351
17352
17353 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17354 PyObject *resultobj = 0;
17355 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17356 wxString result;
17357 void *argp1 = 0 ;
17358 int res1 = 0 ;
17359 PyObject *swig_obj[1] ;
17360
17361 if (!args) SWIG_fail;
17362 swig_obj[0] = args;
17363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17364 if (!SWIG_IsOK(res1)) {
17365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17366 }
17367 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17368 {
17369 PyThreadState* __tstate = wxPyBeginAllowThreads();
17370 result = ((wxFileDialog const *)arg1)->GetPath();
17371 wxPyEndAllowThreads(__tstate);
17372 if (PyErr_Occurred()) SWIG_fail;
17373 }
17374 {
17375 #if wxUSE_UNICODE
17376 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17377 #else
17378 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17379 #endif
17380 }
17381 return resultobj;
17382 fail:
17383 return NULL;
17384 }
17385
17386
17387 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17388 PyObject *resultobj = 0;
17389 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17390 wxString result;
17391 void *argp1 = 0 ;
17392 int res1 = 0 ;
17393 PyObject *swig_obj[1] ;
17394
17395 if (!args) SWIG_fail;
17396 swig_obj[0] = args;
17397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17398 if (!SWIG_IsOK(res1)) {
17399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17400 }
17401 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17402 {
17403 PyThreadState* __tstate = wxPyBeginAllowThreads();
17404 result = ((wxFileDialog const *)arg1)->GetDirectory();
17405 wxPyEndAllowThreads(__tstate);
17406 if (PyErr_Occurred()) SWIG_fail;
17407 }
17408 {
17409 #if wxUSE_UNICODE
17410 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17411 #else
17412 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17413 #endif
17414 }
17415 return resultobj;
17416 fail:
17417 return NULL;
17418 }
17419
17420
17421 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17422 PyObject *resultobj = 0;
17423 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17424 wxString result;
17425 void *argp1 = 0 ;
17426 int res1 = 0 ;
17427 PyObject *swig_obj[1] ;
17428
17429 if (!args) SWIG_fail;
17430 swig_obj[0] = args;
17431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17432 if (!SWIG_IsOK(res1)) {
17433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17434 }
17435 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17436 {
17437 PyThreadState* __tstate = wxPyBeginAllowThreads();
17438 result = ((wxFileDialog const *)arg1)->GetFilename();
17439 wxPyEndAllowThreads(__tstate);
17440 if (PyErr_Occurred()) SWIG_fail;
17441 }
17442 {
17443 #if wxUSE_UNICODE
17444 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17445 #else
17446 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17447 #endif
17448 }
17449 return resultobj;
17450 fail:
17451 return NULL;
17452 }
17453
17454
17455 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17456 PyObject *resultobj = 0;
17457 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17458 wxString result;
17459 void *argp1 = 0 ;
17460 int res1 = 0 ;
17461 PyObject *swig_obj[1] ;
17462
17463 if (!args) SWIG_fail;
17464 swig_obj[0] = args;
17465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17466 if (!SWIG_IsOK(res1)) {
17467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17468 }
17469 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17470 {
17471 PyThreadState* __tstate = wxPyBeginAllowThreads();
17472 result = ((wxFileDialog const *)arg1)->GetWildcard();
17473 wxPyEndAllowThreads(__tstate);
17474 if (PyErr_Occurred()) SWIG_fail;
17475 }
17476 {
17477 #if wxUSE_UNICODE
17478 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17479 #else
17480 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17481 #endif
17482 }
17483 return resultobj;
17484 fail:
17485 return NULL;
17486 }
17487
17488
17489 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17490 PyObject *resultobj = 0;
17491 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17492 int result;
17493 void *argp1 = 0 ;
17494 int res1 = 0 ;
17495 PyObject *swig_obj[1] ;
17496
17497 if (!args) SWIG_fail;
17498 swig_obj[0] = args;
17499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17500 if (!SWIG_IsOK(res1)) {
17501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17502 }
17503 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17504 {
17505 PyThreadState* __tstate = wxPyBeginAllowThreads();
17506 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17507 wxPyEndAllowThreads(__tstate);
17508 if (PyErr_Occurred()) SWIG_fail;
17509 }
17510 resultobj = SWIG_From_int(static_cast< int >(result));
17511 return resultobj;
17512 fail:
17513 return NULL;
17514 }
17515
17516
17517 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17518 PyObject *resultobj = 0;
17519 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17520 PyObject *result = 0 ;
17521 void *argp1 = 0 ;
17522 int res1 = 0 ;
17523 PyObject *swig_obj[1] ;
17524
17525 if (!args) SWIG_fail;
17526 swig_obj[0] = args;
17527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17528 if (!SWIG_IsOK(res1)) {
17529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17530 }
17531 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17532 {
17533 PyThreadState* __tstate = wxPyBeginAllowThreads();
17534 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17535 wxPyEndAllowThreads(__tstate);
17536 if (PyErr_Occurred()) SWIG_fail;
17537 }
17538 resultobj = result;
17539 return resultobj;
17540 fail:
17541 return NULL;
17542 }
17543
17544
17545 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17546 PyObject *resultobj = 0;
17547 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17548 PyObject *result = 0 ;
17549 void *argp1 = 0 ;
17550 int res1 = 0 ;
17551 PyObject *swig_obj[1] ;
17552
17553 if (!args) SWIG_fail;
17554 swig_obj[0] = args;
17555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17556 if (!SWIG_IsOK(res1)) {
17557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17558 }
17559 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17560 {
17561 PyThreadState* __tstate = wxPyBeginAllowThreads();
17562 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17563 wxPyEndAllowThreads(__tstate);
17564 if (PyErr_Occurred()) SWIG_fail;
17565 }
17566 resultobj = result;
17567 return resultobj;
17568 fail:
17569 return NULL;
17570 }
17571
17572
17573 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17574 PyObject *obj;
17575 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17576 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17577 return SWIG_Py_Void();
17578 }
17579
17580 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17581 return SWIG_Python_InitShadowInstance(args);
17582 }
17583
17584 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17585 PyObject *resultobj = 0;
17586 wxWindow *arg1 = (wxWindow *) 0 ;
17587 wxString *arg2 = 0 ;
17588 wxString *arg3 = 0 ;
17589 int arg4 = (int) 0 ;
17590 wxString *arg5 = (wxString *) NULL ;
17591 long arg6 = (long) wxCHOICEDLG_STYLE ;
17592 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17593 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17594 wxMultiChoiceDialog *result = 0 ;
17595 void *argp1 = 0 ;
17596 int res1 = 0 ;
17597 bool temp2 = false ;
17598 bool temp3 = false ;
17599 long val6 ;
17600 int ecode6 = 0 ;
17601 wxPoint temp7 ;
17602 PyObject * obj0 = 0 ;
17603 PyObject * obj1 = 0 ;
17604 PyObject * obj2 = 0 ;
17605 PyObject * obj3 = 0 ;
17606 PyObject * obj4 = 0 ;
17607 PyObject * obj5 = 0 ;
17608 char * kwnames[] = {
17609 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17610 };
17611
17612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17614 if (!SWIG_IsOK(res1)) {
17615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17616 }
17617 arg1 = reinterpret_cast< wxWindow * >(argp1);
17618 {
17619 arg2 = wxString_in_helper(obj1);
17620 if (arg2 == NULL) SWIG_fail;
17621 temp2 = true;
17622 }
17623 {
17624 arg3 = wxString_in_helper(obj2);
17625 if (arg3 == NULL) SWIG_fail;
17626 temp3 = true;
17627 }
17628 if (obj3) {
17629 {
17630 arg4 = PyList_Size(obj3);
17631 arg5 = wxString_LIST_helper(obj3);
17632 if (arg5 == NULL) SWIG_fail;
17633 }
17634 }
17635 if (obj4) {
17636 ecode6 = SWIG_AsVal_long(obj4, &val6);
17637 if (!SWIG_IsOK(ecode6)) {
17638 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17639 }
17640 arg6 = static_cast< long >(val6);
17641 }
17642 if (obj5) {
17643 {
17644 arg7 = &temp7;
17645 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17646 }
17647 }
17648 {
17649 if (!wxPyCheckForApp()) SWIG_fail;
17650 PyThreadState* __tstate = wxPyBeginAllowThreads();
17651 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17652 wxPyEndAllowThreads(__tstate);
17653 if (PyErr_Occurred()) SWIG_fail;
17654 }
17655 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17656 {
17657 if (temp2)
17658 delete arg2;
17659 }
17660 {
17661 if (temp3)
17662 delete arg3;
17663 }
17664 {
17665 if (arg5) delete [] arg5;
17666 }
17667 return resultobj;
17668 fail:
17669 {
17670 if (temp2)
17671 delete arg2;
17672 }
17673 {
17674 if (temp3)
17675 delete arg3;
17676 }
17677 {
17678 if (arg5) delete [] arg5;
17679 }
17680 return NULL;
17681 }
17682
17683
17684 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17685 PyObject *resultobj = 0;
17686 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17687 wxArrayInt *arg2 = 0 ;
17688 void *argp1 = 0 ;
17689 int res1 = 0 ;
17690 bool temp2 = false ;
17691 PyObject * obj0 = 0 ;
17692 PyObject * obj1 = 0 ;
17693 char * kwnames[] = {
17694 (char *) "self",(char *) "selections", NULL
17695 };
17696
17697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17699 if (!SWIG_IsOK(res1)) {
17700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17701 }
17702 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17703 {
17704 if (! PySequence_Check(obj1)) {
17705 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17706 SWIG_fail;
17707 }
17708 arg2 = new wxArrayInt;
17709 temp2 = true;
17710 int i, len=PySequence_Length(obj1);
17711 for (i=0; i<len; i++) {
17712 PyObject* item = PySequence_GetItem(obj1, i);
17713 PyObject* number = PyNumber_Int(item);
17714 arg2->Add(PyInt_AS_LONG(number));
17715 Py_DECREF(item);
17716 Py_DECREF(number);
17717 }
17718 }
17719 {
17720 PyThreadState* __tstate = wxPyBeginAllowThreads();
17721 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17722 wxPyEndAllowThreads(__tstate);
17723 if (PyErr_Occurred()) SWIG_fail;
17724 }
17725 resultobj = SWIG_Py_Void();
17726 {
17727 if (temp2) delete arg2;
17728 }
17729 return resultobj;
17730 fail:
17731 {
17732 if (temp2) delete arg2;
17733 }
17734 return NULL;
17735 }
17736
17737
17738 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17739 PyObject *resultobj = 0;
17740 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17741 PyObject *result = 0 ;
17742 void *argp1 = 0 ;
17743 int res1 = 0 ;
17744 PyObject *swig_obj[1] ;
17745
17746 if (!args) SWIG_fail;
17747 swig_obj[0] = args;
17748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17749 if (!SWIG_IsOK(res1)) {
17750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17751 }
17752 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17753 {
17754 PyThreadState* __tstate = wxPyBeginAllowThreads();
17755 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17756 wxPyEndAllowThreads(__tstate);
17757 if (PyErr_Occurred()) SWIG_fail;
17758 }
17759 resultobj = result;
17760 return resultobj;
17761 fail:
17762 return NULL;
17763 }
17764
17765
17766 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17767 PyObject *obj;
17768 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17769 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17770 return SWIG_Py_Void();
17771 }
17772
17773 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17774 return SWIG_Python_InitShadowInstance(args);
17775 }
17776
17777 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17778 PyObject *resultobj = 0;
17779 wxWindow *arg1 = (wxWindow *) 0 ;
17780 wxString *arg2 = 0 ;
17781 wxString *arg3 = 0 ;
17782 int arg4 ;
17783 wxString *arg5 = (wxString *) 0 ;
17784 long arg6 = (long) wxCHOICEDLG_STYLE ;
17785 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17786 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17787 wxSingleChoiceDialog *result = 0 ;
17788 void *argp1 = 0 ;
17789 int res1 = 0 ;
17790 bool temp2 = false ;
17791 bool temp3 = false ;
17792 long val6 ;
17793 int ecode6 = 0 ;
17794 wxPoint temp7 ;
17795 PyObject * obj0 = 0 ;
17796 PyObject * obj1 = 0 ;
17797 PyObject * obj2 = 0 ;
17798 PyObject * obj3 = 0 ;
17799 PyObject * obj4 = 0 ;
17800 PyObject * obj5 = 0 ;
17801 char * kwnames[] = {
17802 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17803 };
17804
17805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17807 if (!SWIG_IsOK(res1)) {
17808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17809 }
17810 arg1 = reinterpret_cast< wxWindow * >(argp1);
17811 {
17812 arg2 = wxString_in_helper(obj1);
17813 if (arg2 == NULL) SWIG_fail;
17814 temp2 = true;
17815 }
17816 {
17817 arg3 = wxString_in_helper(obj2);
17818 if (arg3 == NULL) SWIG_fail;
17819 temp3 = true;
17820 }
17821 {
17822 arg4 = PyList_Size(obj3);
17823 arg5 = wxString_LIST_helper(obj3);
17824 if (arg5 == NULL) SWIG_fail;
17825 }
17826 if (obj4) {
17827 ecode6 = SWIG_AsVal_long(obj4, &val6);
17828 if (!SWIG_IsOK(ecode6)) {
17829 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17830 }
17831 arg6 = static_cast< long >(val6);
17832 }
17833 if (obj5) {
17834 {
17835 arg7 = &temp7;
17836 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17837 }
17838 }
17839 {
17840 if (!wxPyCheckForApp()) SWIG_fail;
17841 PyThreadState* __tstate = wxPyBeginAllowThreads();
17842 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17843 wxPyEndAllowThreads(__tstate);
17844 if (PyErr_Occurred()) SWIG_fail;
17845 }
17846 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17847 {
17848 if (temp2)
17849 delete arg2;
17850 }
17851 {
17852 if (temp3)
17853 delete arg3;
17854 }
17855 {
17856 if (arg5) delete [] arg5;
17857 }
17858 return resultobj;
17859 fail:
17860 {
17861 if (temp2)
17862 delete arg2;
17863 }
17864 {
17865 if (temp3)
17866 delete arg3;
17867 }
17868 {
17869 if (arg5) delete [] arg5;
17870 }
17871 return NULL;
17872 }
17873
17874
17875 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17876 PyObject *resultobj = 0;
17877 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17878 int result;
17879 void *argp1 = 0 ;
17880 int res1 = 0 ;
17881 PyObject *swig_obj[1] ;
17882
17883 if (!args) SWIG_fail;
17884 swig_obj[0] = args;
17885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17886 if (!SWIG_IsOK(res1)) {
17887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17888 }
17889 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17890 {
17891 PyThreadState* __tstate = wxPyBeginAllowThreads();
17892 result = (int)(arg1)->GetSelection();
17893 wxPyEndAllowThreads(__tstate);
17894 if (PyErr_Occurred()) SWIG_fail;
17895 }
17896 resultobj = SWIG_From_int(static_cast< int >(result));
17897 return resultobj;
17898 fail:
17899 return NULL;
17900 }
17901
17902
17903 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17904 PyObject *resultobj = 0;
17905 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17906 wxString result;
17907 void *argp1 = 0 ;
17908 int res1 = 0 ;
17909 PyObject *swig_obj[1] ;
17910
17911 if (!args) SWIG_fail;
17912 swig_obj[0] = args;
17913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17914 if (!SWIG_IsOK(res1)) {
17915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17916 }
17917 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17918 {
17919 PyThreadState* __tstate = wxPyBeginAllowThreads();
17920 result = (arg1)->GetStringSelection();
17921 wxPyEndAllowThreads(__tstate);
17922 if (PyErr_Occurred()) SWIG_fail;
17923 }
17924 {
17925 #if wxUSE_UNICODE
17926 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17927 #else
17928 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17929 #endif
17930 }
17931 return resultobj;
17932 fail:
17933 return NULL;
17934 }
17935
17936
17937 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17938 PyObject *resultobj = 0;
17939 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17940 int arg2 ;
17941 void *argp1 = 0 ;
17942 int res1 = 0 ;
17943 int val2 ;
17944 int ecode2 = 0 ;
17945 PyObject * obj0 = 0 ;
17946 PyObject * obj1 = 0 ;
17947 char * kwnames[] = {
17948 (char *) "self",(char *) "sel", NULL
17949 };
17950
17951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
17952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17953 if (!SWIG_IsOK(res1)) {
17954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17955 }
17956 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17957 ecode2 = SWIG_AsVal_int(obj1, &val2);
17958 if (!SWIG_IsOK(ecode2)) {
17959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17960 }
17961 arg2 = static_cast< int >(val2);
17962 {
17963 PyThreadState* __tstate = wxPyBeginAllowThreads();
17964 (arg1)->SetSelection(arg2);
17965 wxPyEndAllowThreads(__tstate);
17966 if (PyErr_Occurred()) SWIG_fail;
17967 }
17968 resultobj = SWIG_Py_Void();
17969 return resultobj;
17970 fail:
17971 return NULL;
17972 }
17973
17974
17975 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17976 PyObject *obj;
17977 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17978 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
17979 return SWIG_Py_Void();
17980 }
17981
17982 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17983 return SWIG_Python_InitShadowInstance(args);
17984 }
17985
17986 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17987 PyObject *resultobj = 0;
17988 wxWindow *arg1 = (wxWindow *) 0 ;
17989 wxString *arg2 = 0 ;
17990 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
17991 wxString *arg3 = (wxString *) &arg3_defvalue ;
17992 wxString const &arg4_defvalue = wxPyEmptyString ;
17993 wxString *arg4 = (wxString *) &arg4_defvalue ;
17994 long arg5 = (long) wxTextEntryDialogStyle ;
17995 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17996 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17997 wxTextEntryDialog *result = 0 ;
17998 void *argp1 = 0 ;
17999 int res1 = 0 ;
18000 bool temp2 = false ;
18001 bool temp3 = false ;
18002 bool temp4 = false ;
18003 long val5 ;
18004 int ecode5 = 0 ;
18005 wxPoint temp6 ;
18006 PyObject * obj0 = 0 ;
18007 PyObject * obj1 = 0 ;
18008 PyObject * obj2 = 0 ;
18009 PyObject * obj3 = 0 ;
18010 PyObject * obj4 = 0 ;
18011 PyObject * obj5 = 0 ;
18012 char * kwnames[] = {
18013 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18014 };
18015
18016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18018 if (!SWIG_IsOK(res1)) {
18019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18020 }
18021 arg1 = reinterpret_cast< wxWindow * >(argp1);
18022 {
18023 arg2 = wxString_in_helper(obj1);
18024 if (arg2 == NULL) SWIG_fail;
18025 temp2 = true;
18026 }
18027 if (obj2) {
18028 {
18029 arg3 = wxString_in_helper(obj2);
18030 if (arg3 == NULL) SWIG_fail;
18031 temp3 = true;
18032 }
18033 }
18034 if (obj3) {
18035 {
18036 arg4 = wxString_in_helper(obj3);
18037 if (arg4 == NULL) SWIG_fail;
18038 temp4 = true;
18039 }
18040 }
18041 if (obj4) {
18042 ecode5 = SWIG_AsVal_long(obj4, &val5);
18043 if (!SWIG_IsOK(ecode5)) {
18044 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18045 }
18046 arg5 = static_cast< long >(val5);
18047 }
18048 if (obj5) {
18049 {
18050 arg6 = &temp6;
18051 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18052 }
18053 }
18054 {
18055 if (!wxPyCheckForApp()) SWIG_fail;
18056 PyThreadState* __tstate = wxPyBeginAllowThreads();
18057 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18058 wxPyEndAllowThreads(__tstate);
18059 if (PyErr_Occurred()) SWIG_fail;
18060 }
18061 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18062 {
18063 if (temp2)
18064 delete arg2;
18065 }
18066 {
18067 if (temp3)
18068 delete arg3;
18069 }
18070 {
18071 if (temp4)
18072 delete arg4;
18073 }
18074 return resultobj;
18075 fail:
18076 {
18077 if (temp2)
18078 delete arg2;
18079 }
18080 {
18081 if (temp3)
18082 delete arg3;
18083 }
18084 {
18085 if (temp4)
18086 delete arg4;
18087 }
18088 return NULL;
18089 }
18090
18091
18092 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18093 PyObject *resultobj = 0;
18094 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18095 wxString result;
18096 void *argp1 = 0 ;
18097 int res1 = 0 ;
18098 PyObject *swig_obj[1] ;
18099
18100 if (!args) SWIG_fail;
18101 swig_obj[0] = args;
18102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18103 if (!SWIG_IsOK(res1)) {
18104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18105 }
18106 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18107 {
18108 PyThreadState* __tstate = wxPyBeginAllowThreads();
18109 result = (arg1)->GetValue();
18110 wxPyEndAllowThreads(__tstate);
18111 if (PyErr_Occurred()) SWIG_fail;
18112 }
18113 {
18114 #if wxUSE_UNICODE
18115 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18116 #else
18117 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18118 #endif
18119 }
18120 return resultobj;
18121 fail:
18122 return NULL;
18123 }
18124
18125
18126 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18127 PyObject *resultobj = 0;
18128 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18129 wxString *arg2 = 0 ;
18130 void *argp1 = 0 ;
18131 int res1 = 0 ;
18132 bool temp2 = false ;
18133 PyObject * obj0 = 0 ;
18134 PyObject * obj1 = 0 ;
18135 char * kwnames[] = {
18136 (char *) "self",(char *) "value", NULL
18137 };
18138
18139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18141 if (!SWIG_IsOK(res1)) {
18142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18143 }
18144 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18145 {
18146 arg2 = wxString_in_helper(obj1);
18147 if (arg2 == NULL) SWIG_fail;
18148 temp2 = true;
18149 }
18150 {
18151 PyThreadState* __tstate = wxPyBeginAllowThreads();
18152 (arg1)->SetValue((wxString const &)*arg2);
18153 wxPyEndAllowThreads(__tstate);
18154 if (PyErr_Occurred()) SWIG_fail;
18155 }
18156 resultobj = SWIG_Py_Void();
18157 {
18158 if (temp2)
18159 delete arg2;
18160 }
18161 return resultobj;
18162 fail:
18163 {
18164 if (temp2)
18165 delete arg2;
18166 }
18167 return NULL;
18168 }
18169
18170
18171 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18172 PyObject *obj;
18173 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18174 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18175 return SWIG_Py_Void();
18176 }
18177
18178 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18179 return SWIG_Python_InitShadowInstance(args);
18180 }
18181
18182 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18183 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18184 return 1;
18185 }
18186
18187
18188 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18189 PyObject *pyobj = 0;
18190
18191 {
18192 #if wxUSE_UNICODE
18193 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18194 #else
18195 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18196 #endif
18197 }
18198 return pyobj;
18199 }
18200
18201
18202 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18203 PyObject *resultobj = 0;
18204 wxWindow *arg1 = (wxWindow *) 0 ;
18205 wxString *arg2 = 0 ;
18206 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18207 wxString *arg3 = (wxString *) &arg3_defvalue ;
18208 wxString const &arg4_defvalue = wxPyEmptyString ;
18209 wxString *arg4 = (wxString *) &arg4_defvalue ;
18210 long arg5 = (long) wxTextEntryDialogStyle ;
18211 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18212 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18213 wxPasswordEntryDialog *result = 0 ;
18214 void *argp1 = 0 ;
18215 int res1 = 0 ;
18216 bool temp2 = false ;
18217 bool temp3 = false ;
18218 bool temp4 = false ;
18219 long val5 ;
18220 int ecode5 = 0 ;
18221 wxPoint temp6 ;
18222 PyObject * obj0 = 0 ;
18223 PyObject * obj1 = 0 ;
18224 PyObject * obj2 = 0 ;
18225 PyObject * obj3 = 0 ;
18226 PyObject * obj4 = 0 ;
18227 PyObject * obj5 = 0 ;
18228 char * kwnames[] = {
18229 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18230 };
18231
18232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18234 if (!SWIG_IsOK(res1)) {
18235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18236 }
18237 arg1 = reinterpret_cast< wxWindow * >(argp1);
18238 {
18239 arg2 = wxString_in_helper(obj1);
18240 if (arg2 == NULL) SWIG_fail;
18241 temp2 = true;
18242 }
18243 if (obj2) {
18244 {
18245 arg3 = wxString_in_helper(obj2);
18246 if (arg3 == NULL) SWIG_fail;
18247 temp3 = true;
18248 }
18249 }
18250 if (obj3) {
18251 {
18252 arg4 = wxString_in_helper(obj3);
18253 if (arg4 == NULL) SWIG_fail;
18254 temp4 = true;
18255 }
18256 }
18257 if (obj4) {
18258 ecode5 = SWIG_AsVal_long(obj4, &val5);
18259 if (!SWIG_IsOK(ecode5)) {
18260 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18261 }
18262 arg5 = static_cast< long >(val5);
18263 }
18264 if (obj5) {
18265 {
18266 arg6 = &temp6;
18267 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18268 }
18269 }
18270 {
18271 PyThreadState* __tstate = wxPyBeginAllowThreads();
18272 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18273 wxPyEndAllowThreads(__tstate);
18274 if (PyErr_Occurred()) SWIG_fail;
18275 }
18276 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18277 {
18278 if (temp2)
18279 delete arg2;
18280 }
18281 {
18282 if (temp3)
18283 delete arg3;
18284 }
18285 {
18286 if (temp4)
18287 delete arg4;
18288 }
18289 return resultobj;
18290 fail:
18291 {
18292 if (temp2)
18293 delete arg2;
18294 }
18295 {
18296 if (temp3)
18297 delete arg3;
18298 }
18299 {
18300 if (temp4)
18301 delete arg4;
18302 }
18303 return NULL;
18304 }
18305
18306
18307 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18308 PyObject *obj;
18309 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18310 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18311 return SWIG_Py_Void();
18312 }
18313
18314 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18315 return SWIG_Python_InitShadowInstance(args);
18316 }
18317
18318 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18319 PyObject *resultobj = 0;
18320 wxFontData *result = 0 ;
18321
18322 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18323 {
18324 PyThreadState* __tstate = wxPyBeginAllowThreads();
18325 result = (wxFontData *)new wxFontData();
18326 wxPyEndAllowThreads(__tstate);
18327 if (PyErr_Occurred()) SWIG_fail;
18328 }
18329 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18330 return resultobj;
18331 fail:
18332 return NULL;
18333 }
18334
18335
18336 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18337 PyObject *resultobj = 0;
18338 wxFontData *arg1 = (wxFontData *) 0 ;
18339 void *argp1 = 0 ;
18340 int res1 = 0 ;
18341 PyObject *swig_obj[1] ;
18342
18343 if (!args) SWIG_fail;
18344 swig_obj[0] = args;
18345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18346 if (!SWIG_IsOK(res1)) {
18347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18348 }
18349 arg1 = reinterpret_cast< wxFontData * >(argp1);
18350 {
18351 PyThreadState* __tstate = wxPyBeginAllowThreads();
18352 delete arg1;
18353
18354 wxPyEndAllowThreads(__tstate);
18355 if (PyErr_Occurred()) SWIG_fail;
18356 }
18357 resultobj = SWIG_Py_Void();
18358 return resultobj;
18359 fail:
18360 return NULL;
18361 }
18362
18363
18364 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18365 PyObject *resultobj = 0;
18366 wxFontData *arg1 = (wxFontData *) 0 ;
18367 bool arg2 ;
18368 void *argp1 = 0 ;
18369 int res1 = 0 ;
18370 bool val2 ;
18371 int ecode2 = 0 ;
18372 PyObject * obj0 = 0 ;
18373 PyObject * obj1 = 0 ;
18374 char * kwnames[] = {
18375 (char *) "self",(char *) "enable", NULL
18376 };
18377
18378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18380 if (!SWIG_IsOK(res1)) {
18381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18382 }
18383 arg1 = reinterpret_cast< wxFontData * >(argp1);
18384 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18385 if (!SWIG_IsOK(ecode2)) {
18386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18387 }
18388 arg2 = static_cast< bool >(val2);
18389 {
18390 PyThreadState* __tstate = wxPyBeginAllowThreads();
18391 (arg1)->EnableEffects(arg2);
18392 wxPyEndAllowThreads(__tstate);
18393 if (PyErr_Occurred()) SWIG_fail;
18394 }
18395 resultobj = SWIG_Py_Void();
18396 return resultobj;
18397 fail:
18398 return NULL;
18399 }
18400
18401
18402 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18403 PyObject *resultobj = 0;
18404 wxFontData *arg1 = (wxFontData *) 0 ;
18405 bool result;
18406 void *argp1 = 0 ;
18407 int res1 = 0 ;
18408 PyObject *swig_obj[1] ;
18409
18410 if (!args) SWIG_fail;
18411 swig_obj[0] = args;
18412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18413 if (!SWIG_IsOK(res1)) {
18414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18415 }
18416 arg1 = reinterpret_cast< wxFontData * >(argp1);
18417 {
18418 PyThreadState* __tstate = wxPyBeginAllowThreads();
18419 result = (bool)(arg1)->GetAllowSymbols();
18420 wxPyEndAllowThreads(__tstate);
18421 if (PyErr_Occurred()) SWIG_fail;
18422 }
18423 {
18424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18425 }
18426 return resultobj;
18427 fail:
18428 return NULL;
18429 }
18430
18431
18432 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18433 PyObject *resultobj = 0;
18434 wxFontData *arg1 = (wxFontData *) 0 ;
18435 wxColour result;
18436 void *argp1 = 0 ;
18437 int res1 = 0 ;
18438 PyObject *swig_obj[1] ;
18439
18440 if (!args) SWIG_fail;
18441 swig_obj[0] = args;
18442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18443 if (!SWIG_IsOK(res1)) {
18444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18445 }
18446 arg1 = reinterpret_cast< wxFontData * >(argp1);
18447 {
18448 PyThreadState* __tstate = wxPyBeginAllowThreads();
18449 result = (arg1)->GetColour();
18450 wxPyEndAllowThreads(__tstate);
18451 if (PyErr_Occurred()) SWIG_fail;
18452 }
18453 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18454 return resultobj;
18455 fail:
18456 return NULL;
18457 }
18458
18459
18460 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18461 PyObject *resultobj = 0;
18462 wxFontData *arg1 = (wxFontData *) 0 ;
18463 wxFont result;
18464 void *argp1 = 0 ;
18465 int res1 = 0 ;
18466 PyObject *swig_obj[1] ;
18467
18468 if (!args) SWIG_fail;
18469 swig_obj[0] = args;
18470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18471 if (!SWIG_IsOK(res1)) {
18472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18473 }
18474 arg1 = reinterpret_cast< wxFontData * >(argp1);
18475 {
18476 PyThreadState* __tstate = wxPyBeginAllowThreads();
18477 result = (arg1)->GetChosenFont();
18478 wxPyEndAllowThreads(__tstate);
18479 if (PyErr_Occurred()) SWIG_fail;
18480 }
18481 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18482 return resultobj;
18483 fail:
18484 return NULL;
18485 }
18486
18487
18488 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18489 PyObject *resultobj = 0;
18490 wxFontData *arg1 = (wxFontData *) 0 ;
18491 bool result;
18492 void *argp1 = 0 ;
18493 int res1 = 0 ;
18494 PyObject *swig_obj[1] ;
18495
18496 if (!args) SWIG_fail;
18497 swig_obj[0] = args;
18498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18499 if (!SWIG_IsOK(res1)) {
18500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18501 }
18502 arg1 = reinterpret_cast< wxFontData * >(argp1);
18503 {
18504 PyThreadState* __tstate = wxPyBeginAllowThreads();
18505 result = (bool)(arg1)->GetEnableEffects();
18506 wxPyEndAllowThreads(__tstate);
18507 if (PyErr_Occurred()) SWIG_fail;
18508 }
18509 {
18510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18511 }
18512 return resultobj;
18513 fail:
18514 return NULL;
18515 }
18516
18517
18518 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18519 PyObject *resultobj = 0;
18520 wxFontData *arg1 = (wxFontData *) 0 ;
18521 wxFont result;
18522 void *argp1 = 0 ;
18523 int res1 = 0 ;
18524 PyObject *swig_obj[1] ;
18525
18526 if (!args) SWIG_fail;
18527 swig_obj[0] = args;
18528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18529 if (!SWIG_IsOK(res1)) {
18530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18531 }
18532 arg1 = reinterpret_cast< wxFontData * >(argp1);
18533 {
18534 PyThreadState* __tstate = wxPyBeginAllowThreads();
18535 result = (arg1)->GetInitialFont();
18536 wxPyEndAllowThreads(__tstate);
18537 if (PyErr_Occurred()) SWIG_fail;
18538 }
18539 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18540 return resultobj;
18541 fail:
18542 return NULL;
18543 }
18544
18545
18546 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18547 PyObject *resultobj = 0;
18548 wxFontData *arg1 = (wxFontData *) 0 ;
18549 bool result;
18550 void *argp1 = 0 ;
18551 int res1 = 0 ;
18552 PyObject *swig_obj[1] ;
18553
18554 if (!args) SWIG_fail;
18555 swig_obj[0] = args;
18556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18557 if (!SWIG_IsOK(res1)) {
18558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18559 }
18560 arg1 = reinterpret_cast< wxFontData * >(argp1);
18561 {
18562 PyThreadState* __tstate = wxPyBeginAllowThreads();
18563 result = (bool)(arg1)->GetShowHelp();
18564 wxPyEndAllowThreads(__tstate);
18565 if (PyErr_Occurred()) SWIG_fail;
18566 }
18567 {
18568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18569 }
18570 return resultobj;
18571 fail:
18572 return NULL;
18573 }
18574
18575
18576 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18577 PyObject *resultobj = 0;
18578 wxFontData *arg1 = (wxFontData *) 0 ;
18579 bool arg2 ;
18580 void *argp1 = 0 ;
18581 int res1 = 0 ;
18582 bool val2 ;
18583 int ecode2 = 0 ;
18584 PyObject * obj0 = 0 ;
18585 PyObject * obj1 = 0 ;
18586 char * kwnames[] = {
18587 (char *) "self",(char *) "allowSymbols", NULL
18588 };
18589
18590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18592 if (!SWIG_IsOK(res1)) {
18593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18594 }
18595 arg1 = reinterpret_cast< wxFontData * >(argp1);
18596 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18597 if (!SWIG_IsOK(ecode2)) {
18598 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18599 }
18600 arg2 = static_cast< bool >(val2);
18601 {
18602 PyThreadState* __tstate = wxPyBeginAllowThreads();
18603 (arg1)->SetAllowSymbols(arg2);
18604 wxPyEndAllowThreads(__tstate);
18605 if (PyErr_Occurred()) SWIG_fail;
18606 }
18607 resultobj = SWIG_Py_Void();
18608 return resultobj;
18609 fail:
18610 return NULL;
18611 }
18612
18613
18614 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18615 PyObject *resultobj = 0;
18616 wxFontData *arg1 = (wxFontData *) 0 ;
18617 wxFont *arg2 = 0 ;
18618 void *argp1 = 0 ;
18619 int res1 = 0 ;
18620 void *argp2 = 0 ;
18621 int res2 = 0 ;
18622 PyObject * obj0 = 0 ;
18623 PyObject * obj1 = 0 ;
18624 char * kwnames[] = {
18625 (char *) "self",(char *) "font", NULL
18626 };
18627
18628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18630 if (!SWIG_IsOK(res1)) {
18631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18632 }
18633 arg1 = reinterpret_cast< wxFontData * >(argp1);
18634 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18635 if (!SWIG_IsOK(res2)) {
18636 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18637 }
18638 if (!argp2) {
18639 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18640 }
18641 arg2 = reinterpret_cast< wxFont * >(argp2);
18642 {
18643 PyThreadState* __tstate = wxPyBeginAllowThreads();
18644 (arg1)->SetChosenFont((wxFont const &)*arg2);
18645 wxPyEndAllowThreads(__tstate);
18646 if (PyErr_Occurred()) SWIG_fail;
18647 }
18648 resultobj = SWIG_Py_Void();
18649 return resultobj;
18650 fail:
18651 return NULL;
18652 }
18653
18654
18655 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18656 PyObject *resultobj = 0;
18657 wxFontData *arg1 = (wxFontData *) 0 ;
18658 wxColour *arg2 = 0 ;
18659 void *argp1 = 0 ;
18660 int res1 = 0 ;
18661 wxColour temp2 ;
18662 PyObject * obj0 = 0 ;
18663 PyObject * obj1 = 0 ;
18664 char * kwnames[] = {
18665 (char *) "self",(char *) "colour", NULL
18666 };
18667
18668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18670 if (!SWIG_IsOK(res1)) {
18671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18672 }
18673 arg1 = reinterpret_cast< wxFontData * >(argp1);
18674 {
18675 arg2 = &temp2;
18676 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18677 }
18678 {
18679 PyThreadState* __tstate = wxPyBeginAllowThreads();
18680 (arg1)->SetColour((wxColour const &)*arg2);
18681 wxPyEndAllowThreads(__tstate);
18682 if (PyErr_Occurred()) SWIG_fail;
18683 }
18684 resultobj = SWIG_Py_Void();
18685 return resultobj;
18686 fail:
18687 return NULL;
18688 }
18689
18690
18691 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18692 PyObject *resultobj = 0;
18693 wxFontData *arg1 = (wxFontData *) 0 ;
18694 wxFont *arg2 = 0 ;
18695 void *argp1 = 0 ;
18696 int res1 = 0 ;
18697 void *argp2 = 0 ;
18698 int res2 = 0 ;
18699 PyObject * obj0 = 0 ;
18700 PyObject * obj1 = 0 ;
18701 char * kwnames[] = {
18702 (char *) "self",(char *) "font", NULL
18703 };
18704
18705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18707 if (!SWIG_IsOK(res1)) {
18708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18709 }
18710 arg1 = reinterpret_cast< wxFontData * >(argp1);
18711 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18712 if (!SWIG_IsOK(res2)) {
18713 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18714 }
18715 if (!argp2) {
18716 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18717 }
18718 arg2 = reinterpret_cast< wxFont * >(argp2);
18719 {
18720 PyThreadState* __tstate = wxPyBeginAllowThreads();
18721 (arg1)->SetInitialFont((wxFont const &)*arg2);
18722 wxPyEndAllowThreads(__tstate);
18723 if (PyErr_Occurred()) SWIG_fail;
18724 }
18725 resultobj = SWIG_Py_Void();
18726 return resultobj;
18727 fail:
18728 return NULL;
18729 }
18730
18731
18732 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18733 PyObject *resultobj = 0;
18734 wxFontData *arg1 = (wxFontData *) 0 ;
18735 int arg2 ;
18736 int arg3 ;
18737 void *argp1 = 0 ;
18738 int res1 = 0 ;
18739 int val2 ;
18740 int ecode2 = 0 ;
18741 int val3 ;
18742 int ecode3 = 0 ;
18743 PyObject * obj0 = 0 ;
18744 PyObject * obj1 = 0 ;
18745 PyObject * obj2 = 0 ;
18746 char * kwnames[] = {
18747 (char *) "self",(char *) "min",(char *) "max", NULL
18748 };
18749
18750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18752 if (!SWIG_IsOK(res1)) {
18753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18754 }
18755 arg1 = reinterpret_cast< wxFontData * >(argp1);
18756 ecode2 = SWIG_AsVal_int(obj1, &val2);
18757 if (!SWIG_IsOK(ecode2)) {
18758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18759 }
18760 arg2 = static_cast< int >(val2);
18761 ecode3 = SWIG_AsVal_int(obj2, &val3);
18762 if (!SWIG_IsOK(ecode3)) {
18763 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18764 }
18765 arg3 = static_cast< int >(val3);
18766 {
18767 PyThreadState* __tstate = wxPyBeginAllowThreads();
18768 (arg1)->SetRange(arg2,arg3);
18769 wxPyEndAllowThreads(__tstate);
18770 if (PyErr_Occurred()) SWIG_fail;
18771 }
18772 resultobj = SWIG_Py_Void();
18773 return resultobj;
18774 fail:
18775 return NULL;
18776 }
18777
18778
18779 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18780 PyObject *resultobj = 0;
18781 wxFontData *arg1 = (wxFontData *) 0 ;
18782 bool arg2 ;
18783 void *argp1 = 0 ;
18784 int res1 = 0 ;
18785 bool val2 ;
18786 int ecode2 = 0 ;
18787 PyObject * obj0 = 0 ;
18788 PyObject * obj1 = 0 ;
18789 char * kwnames[] = {
18790 (char *) "self",(char *) "showHelp", NULL
18791 };
18792
18793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18795 if (!SWIG_IsOK(res1)) {
18796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18797 }
18798 arg1 = reinterpret_cast< wxFontData * >(argp1);
18799 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18800 if (!SWIG_IsOK(ecode2)) {
18801 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18802 }
18803 arg2 = static_cast< bool >(val2);
18804 {
18805 PyThreadState* __tstate = wxPyBeginAllowThreads();
18806 (arg1)->SetShowHelp(arg2);
18807 wxPyEndAllowThreads(__tstate);
18808 if (PyErr_Occurred()) SWIG_fail;
18809 }
18810 resultobj = SWIG_Py_Void();
18811 return resultobj;
18812 fail:
18813 return NULL;
18814 }
18815
18816
18817 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18818 PyObject *obj;
18819 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18820 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
18821 return SWIG_Py_Void();
18822 }
18823
18824 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18825 return SWIG_Python_InitShadowInstance(args);
18826 }
18827
18828 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18829 PyObject *resultobj = 0;
18830 wxWindow *arg1 = (wxWindow *) 0 ;
18831 wxFontData *arg2 = 0 ;
18832 wxFontDialog *result = 0 ;
18833 void *argp1 = 0 ;
18834 int res1 = 0 ;
18835 void *argp2 = 0 ;
18836 int res2 = 0 ;
18837 PyObject * obj0 = 0 ;
18838 PyObject * obj1 = 0 ;
18839 char * kwnames[] = {
18840 (char *) "parent",(char *) "data", NULL
18841 };
18842
18843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
18844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18845 if (!SWIG_IsOK(res1)) {
18846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18847 }
18848 arg1 = reinterpret_cast< wxWindow * >(argp1);
18849 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
18850 if (!SWIG_IsOK(res2)) {
18851 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18852 }
18853 if (!argp2) {
18854 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18855 }
18856 arg2 = reinterpret_cast< wxFontData * >(argp2);
18857 {
18858 if (!wxPyCheckForApp()) SWIG_fail;
18859 PyThreadState* __tstate = wxPyBeginAllowThreads();
18860 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
18861 wxPyEndAllowThreads(__tstate);
18862 if (PyErr_Occurred()) SWIG_fail;
18863 }
18864 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
18865 return resultobj;
18866 fail:
18867 return NULL;
18868 }
18869
18870
18871 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18872 PyObject *resultobj = 0;
18873 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
18874 wxFontData *result = 0 ;
18875 void *argp1 = 0 ;
18876 int res1 = 0 ;
18877 PyObject *swig_obj[1] ;
18878
18879 if (!args) SWIG_fail;
18880 swig_obj[0] = args;
18881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
18882 if (!SWIG_IsOK(res1)) {
18883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18884 }
18885 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
18886 {
18887 PyThreadState* __tstate = wxPyBeginAllowThreads();
18888 {
18889 wxFontData &_result_ref = (arg1)->GetFontData();
18890 result = (wxFontData *) &_result_ref;
18891 }
18892 wxPyEndAllowThreads(__tstate);
18893 if (PyErr_Occurred()) SWIG_fail;
18894 }
18895 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
18896 return resultobj;
18897 fail:
18898 return NULL;
18899 }
18900
18901
18902 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18903 PyObject *obj;
18904 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18905 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
18906 return SWIG_Py_Void();
18907 }
18908
18909 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18910 return SWIG_Python_InitShadowInstance(args);
18911 }
18912
18913 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18914 PyObject *resultobj = 0;
18915 wxWindow *arg1 = (wxWindow *) NULL ;
18916 wxFont const &arg2_defvalue = wxNullFont ;
18917 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
18918 wxString const &arg3_defvalue = wxPyEmptyString ;
18919 wxString *arg3 = (wxString *) &arg3_defvalue ;
18920 wxFont result;
18921 void *argp1 = 0 ;
18922 int res1 = 0 ;
18923 void *argp2 = 0 ;
18924 int res2 = 0 ;
18925 bool temp3 = false ;
18926 PyObject * obj0 = 0 ;
18927 PyObject * obj1 = 0 ;
18928 PyObject * obj2 = 0 ;
18929 char * kwnames[] = {
18930 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18931 };
18932
18933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18934 if (obj0) {
18935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18936 if (!SWIG_IsOK(res1)) {
18937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18938 }
18939 arg1 = reinterpret_cast< wxWindow * >(argp1);
18940 }
18941 if (obj1) {
18942 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18943 if (!SWIG_IsOK(res2)) {
18944 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18945 }
18946 if (!argp2) {
18947 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18948 }
18949 arg2 = reinterpret_cast< wxFont * >(argp2);
18950 }
18951 if (obj2) {
18952 {
18953 arg3 = wxString_in_helper(obj2);
18954 if (arg3 == NULL) SWIG_fail;
18955 temp3 = true;
18956 }
18957 }
18958 {
18959 PyThreadState* __tstate = wxPyBeginAllowThreads();
18960 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
18961 wxPyEndAllowThreads(__tstate);
18962 if (PyErr_Occurred()) SWIG_fail;
18963 }
18964 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18965 {
18966 if (temp3)
18967 delete arg3;
18968 }
18969 return resultobj;
18970 fail:
18971 {
18972 if (temp3)
18973 delete arg3;
18974 }
18975 return NULL;
18976 }
18977
18978
18979 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18980 PyObject *resultobj = 0;
18981 wxWindow *arg1 = (wxWindow *) 0 ;
18982 wxString *arg2 = 0 ;
18983 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
18984 wxString *arg3 = (wxString *) &arg3_defvalue ;
18985 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
18986 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18987 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18988 wxMessageDialog *result = 0 ;
18989 void *argp1 = 0 ;
18990 int res1 = 0 ;
18991 bool temp2 = false ;
18992 bool temp3 = false ;
18993 long val4 ;
18994 int ecode4 = 0 ;
18995 wxPoint temp5 ;
18996 PyObject * obj0 = 0 ;
18997 PyObject * obj1 = 0 ;
18998 PyObject * obj2 = 0 ;
18999 PyObject * obj3 = 0 ;
19000 PyObject * obj4 = 0 ;
19001 char * kwnames[] = {
19002 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19003 };
19004
19005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19007 if (!SWIG_IsOK(res1)) {
19008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19009 }
19010 arg1 = reinterpret_cast< wxWindow * >(argp1);
19011 {
19012 arg2 = wxString_in_helper(obj1);
19013 if (arg2 == NULL) SWIG_fail;
19014 temp2 = true;
19015 }
19016 if (obj2) {
19017 {
19018 arg3 = wxString_in_helper(obj2);
19019 if (arg3 == NULL) SWIG_fail;
19020 temp3 = true;
19021 }
19022 }
19023 if (obj3) {
19024 ecode4 = SWIG_AsVal_long(obj3, &val4);
19025 if (!SWIG_IsOK(ecode4)) {
19026 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19027 }
19028 arg4 = static_cast< long >(val4);
19029 }
19030 if (obj4) {
19031 {
19032 arg5 = &temp5;
19033 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19034 }
19035 }
19036 {
19037 if (!wxPyCheckForApp()) SWIG_fail;
19038 PyThreadState* __tstate = wxPyBeginAllowThreads();
19039 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19040 wxPyEndAllowThreads(__tstate);
19041 if (PyErr_Occurred()) SWIG_fail;
19042 }
19043 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19044 {
19045 if (temp2)
19046 delete arg2;
19047 }
19048 {
19049 if (temp3)
19050 delete arg3;
19051 }
19052 return resultobj;
19053 fail:
19054 {
19055 if (temp2)
19056 delete arg2;
19057 }
19058 {
19059 if (temp3)
19060 delete arg3;
19061 }
19062 return NULL;
19063 }
19064
19065
19066 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19067 PyObject *obj;
19068 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19069 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19070 return SWIG_Py_Void();
19071 }
19072
19073 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19074 return SWIG_Python_InitShadowInstance(args);
19075 }
19076
19077 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19078 PyObject *resultobj = 0;
19079 wxString *arg1 = 0 ;
19080 wxString *arg2 = 0 ;
19081 int arg3 = (int) 100 ;
19082 wxWindow *arg4 = (wxWindow *) NULL ;
19083 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19084 wxProgressDialog *result = 0 ;
19085 bool temp1 = false ;
19086 bool temp2 = false ;
19087 int val3 ;
19088 int ecode3 = 0 ;
19089 void *argp4 = 0 ;
19090 int res4 = 0 ;
19091 int val5 ;
19092 int ecode5 = 0 ;
19093 PyObject * obj0 = 0 ;
19094 PyObject * obj1 = 0 ;
19095 PyObject * obj2 = 0 ;
19096 PyObject * obj3 = 0 ;
19097 PyObject * obj4 = 0 ;
19098 char * kwnames[] = {
19099 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19100 };
19101
19102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19103 {
19104 arg1 = wxString_in_helper(obj0);
19105 if (arg1 == NULL) SWIG_fail;
19106 temp1 = true;
19107 }
19108 {
19109 arg2 = wxString_in_helper(obj1);
19110 if (arg2 == NULL) SWIG_fail;
19111 temp2 = true;
19112 }
19113 if (obj2) {
19114 ecode3 = SWIG_AsVal_int(obj2, &val3);
19115 if (!SWIG_IsOK(ecode3)) {
19116 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19117 }
19118 arg3 = static_cast< int >(val3);
19119 }
19120 if (obj3) {
19121 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19122 if (!SWIG_IsOK(res4)) {
19123 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19124 }
19125 arg4 = reinterpret_cast< wxWindow * >(argp4);
19126 }
19127 if (obj4) {
19128 ecode5 = SWIG_AsVal_int(obj4, &val5);
19129 if (!SWIG_IsOK(ecode5)) {
19130 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19131 }
19132 arg5 = static_cast< int >(val5);
19133 }
19134 {
19135 if (!wxPyCheckForApp()) SWIG_fail;
19136 PyThreadState* __tstate = wxPyBeginAllowThreads();
19137 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19138 wxPyEndAllowThreads(__tstate);
19139 if (PyErr_Occurred()) SWIG_fail;
19140 }
19141 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19142 {
19143 if (temp1)
19144 delete arg1;
19145 }
19146 {
19147 if (temp2)
19148 delete arg2;
19149 }
19150 return resultobj;
19151 fail:
19152 {
19153 if (temp1)
19154 delete arg1;
19155 }
19156 {
19157 if (temp2)
19158 delete arg2;
19159 }
19160 return NULL;
19161 }
19162
19163
19164 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19165 PyObject *resultobj = 0;
19166 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19167 int arg2 ;
19168 wxString const &arg3_defvalue = wxPyEmptyString ;
19169 wxString *arg3 = (wxString *) &arg3_defvalue ;
19170 bool *arg4 = (bool *) 0 ;
19171 bool result;
19172 void *argp1 = 0 ;
19173 int res1 = 0 ;
19174 int val2 ;
19175 int ecode2 = 0 ;
19176 bool temp3 = false ;
19177 bool temp4 ;
19178 int res4 = SWIG_TMPOBJ ;
19179 PyObject * obj0 = 0 ;
19180 PyObject * obj1 = 0 ;
19181 PyObject * obj2 = 0 ;
19182 char * kwnames[] = {
19183 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19184 };
19185
19186 arg4 = &temp4;
19187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19189 if (!SWIG_IsOK(res1)) {
19190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19191 }
19192 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19193 ecode2 = SWIG_AsVal_int(obj1, &val2);
19194 if (!SWIG_IsOK(ecode2)) {
19195 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19196 }
19197 arg2 = static_cast< int >(val2);
19198 if (obj2) {
19199 {
19200 arg3 = wxString_in_helper(obj2);
19201 if (arg3 == NULL) SWIG_fail;
19202 temp3 = true;
19203 }
19204 }
19205 {
19206 PyThreadState* __tstate = wxPyBeginAllowThreads();
19207 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19208 wxPyEndAllowThreads(__tstate);
19209 if (PyErr_Occurred()) SWIG_fail;
19210 }
19211 {
19212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19213 }
19214 if (SWIG_IsTmpObj(res4)) {
19215 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19216 } else {
19217 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19218 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19219 }
19220 {
19221 if (temp3)
19222 delete arg3;
19223 }
19224 return resultobj;
19225 fail:
19226 {
19227 if (temp3)
19228 delete arg3;
19229 }
19230 return NULL;
19231 }
19232
19233
19234 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19235 PyObject *resultobj = 0;
19236 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19237 void *argp1 = 0 ;
19238 int res1 = 0 ;
19239 PyObject *swig_obj[1] ;
19240
19241 if (!args) SWIG_fail;
19242 swig_obj[0] = args;
19243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19244 if (!SWIG_IsOK(res1)) {
19245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19246 }
19247 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19248 {
19249 PyThreadState* __tstate = wxPyBeginAllowThreads();
19250 (arg1)->Resume();
19251 wxPyEndAllowThreads(__tstate);
19252 if (PyErr_Occurred()) SWIG_fail;
19253 }
19254 resultobj = SWIG_Py_Void();
19255 return resultobj;
19256 fail:
19257 return NULL;
19258 }
19259
19260
19261 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19262 PyObject *obj;
19263 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19264 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19265 return SWIG_Py_Void();
19266 }
19267
19268 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19269 return SWIG_Python_InitShadowInstance(args);
19270 }
19271
19272 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19273 PyObject *resultobj = 0;
19274 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19275 int arg2 = (int) 0 ;
19276 wxFindDialogEvent *result = 0 ;
19277 int val1 ;
19278 int ecode1 = 0 ;
19279 int val2 ;
19280 int ecode2 = 0 ;
19281 PyObject * obj0 = 0 ;
19282 PyObject * obj1 = 0 ;
19283 char * kwnames[] = {
19284 (char *) "commandType",(char *) "id", NULL
19285 };
19286
19287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19288 if (obj0) {
19289 ecode1 = SWIG_AsVal_int(obj0, &val1);
19290 if (!SWIG_IsOK(ecode1)) {
19291 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19292 }
19293 arg1 = static_cast< wxEventType >(val1);
19294 }
19295 if (obj1) {
19296 ecode2 = SWIG_AsVal_int(obj1, &val2);
19297 if (!SWIG_IsOK(ecode2)) {
19298 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19299 }
19300 arg2 = static_cast< int >(val2);
19301 }
19302 {
19303 PyThreadState* __tstate = wxPyBeginAllowThreads();
19304 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19305 wxPyEndAllowThreads(__tstate);
19306 if (PyErr_Occurred()) SWIG_fail;
19307 }
19308 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19309 return resultobj;
19310 fail:
19311 return NULL;
19312 }
19313
19314
19315 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19316 PyObject *resultobj = 0;
19317 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19318 int result;
19319 void *argp1 = 0 ;
19320 int res1 = 0 ;
19321 PyObject *swig_obj[1] ;
19322
19323 if (!args) SWIG_fail;
19324 swig_obj[0] = args;
19325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19326 if (!SWIG_IsOK(res1)) {
19327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19328 }
19329 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19330 {
19331 PyThreadState* __tstate = wxPyBeginAllowThreads();
19332 result = (int)(arg1)->GetFlags();
19333 wxPyEndAllowThreads(__tstate);
19334 if (PyErr_Occurred()) SWIG_fail;
19335 }
19336 resultobj = SWIG_From_int(static_cast< int >(result));
19337 return resultobj;
19338 fail:
19339 return NULL;
19340 }
19341
19342
19343 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19344 PyObject *resultobj = 0;
19345 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19346 wxString *result = 0 ;
19347 void *argp1 = 0 ;
19348 int res1 = 0 ;
19349 PyObject *swig_obj[1] ;
19350
19351 if (!args) SWIG_fail;
19352 swig_obj[0] = args;
19353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19354 if (!SWIG_IsOK(res1)) {
19355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19356 }
19357 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19358 {
19359 PyThreadState* __tstate = wxPyBeginAllowThreads();
19360 {
19361 wxString const &_result_ref = (arg1)->GetFindString();
19362 result = (wxString *) &_result_ref;
19363 }
19364 wxPyEndAllowThreads(__tstate);
19365 if (PyErr_Occurred()) SWIG_fail;
19366 }
19367 {
19368 #if wxUSE_UNICODE
19369 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19370 #else
19371 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19372 #endif
19373 }
19374 return resultobj;
19375 fail:
19376 return NULL;
19377 }
19378
19379
19380 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19381 PyObject *resultobj = 0;
19382 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19383 wxString *result = 0 ;
19384 void *argp1 = 0 ;
19385 int res1 = 0 ;
19386 PyObject *swig_obj[1] ;
19387
19388 if (!args) SWIG_fail;
19389 swig_obj[0] = args;
19390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19391 if (!SWIG_IsOK(res1)) {
19392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19393 }
19394 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19395 {
19396 PyThreadState* __tstate = wxPyBeginAllowThreads();
19397 {
19398 wxString const &_result_ref = (arg1)->GetReplaceString();
19399 result = (wxString *) &_result_ref;
19400 }
19401 wxPyEndAllowThreads(__tstate);
19402 if (PyErr_Occurred()) SWIG_fail;
19403 }
19404 {
19405 #if wxUSE_UNICODE
19406 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19407 #else
19408 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19409 #endif
19410 }
19411 return resultobj;
19412 fail:
19413 return NULL;
19414 }
19415
19416
19417 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19418 PyObject *resultobj = 0;
19419 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19420 wxFindReplaceDialog *result = 0 ;
19421 void *argp1 = 0 ;
19422 int res1 = 0 ;
19423 PyObject *swig_obj[1] ;
19424
19425 if (!args) SWIG_fail;
19426 swig_obj[0] = args;
19427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19428 if (!SWIG_IsOK(res1)) {
19429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19430 }
19431 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19432 {
19433 PyThreadState* __tstate = wxPyBeginAllowThreads();
19434 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19435 wxPyEndAllowThreads(__tstate);
19436 if (PyErr_Occurred()) SWIG_fail;
19437 }
19438 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19439 return resultobj;
19440 fail:
19441 return NULL;
19442 }
19443
19444
19445 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19446 PyObject *resultobj = 0;
19447 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19448 int arg2 ;
19449 void *argp1 = 0 ;
19450 int res1 = 0 ;
19451 int val2 ;
19452 int ecode2 = 0 ;
19453 PyObject * obj0 = 0 ;
19454 PyObject * obj1 = 0 ;
19455 char * kwnames[] = {
19456 (char *) "self",(char *) "flags", NULL
19457 };
19458
19459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19461 if (!SWIG_IsOK(res1)) {
19462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19463 }
19464 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19465 ecode2 = SWIG_AsVal_int(obj1, &val2);
19466 if (!SWIG_IsOK(ecode2)) {
19467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19468 }
19469 arg2 = static_cast< int >(val2);
19470 {
19471 PyThreadState* __tstate = wxPyBeginAllowThreads();
19472 (arg1)->SetFlags(arg2);
19473 wxPyEndAllowThreads(__tstate);
19474 if (PyErr_Occurred()) SWIG_fail;
19475 }
19476 resultobj = SWIG_Py_Void();
19477 return resultobj;
19478 fail:
19479 return NULL;
19480 }
19481
19482
19483 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19484 PyObject *resultobj = 0;
19485 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19486 wxString *arg2 = 0 ;
19487 void *argp1 = 0 ;
19488 int res1 = 0 ;
19489 bool temp2 = false ;
19490 PyObject * obj0 = 0 ;
19491 PyObject * obj1 = 0 ;
19492 char * kwnames[] = {
19493 (char *) "self",(char *) "str", NULL
19494 };
19495
19496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19498 if (!SWIG_IsOK(res1)) {
19499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19500 }
19501 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19502 {
19503 arg2 = wxString_in_helper(obj1);
19504 if (arg2 == NULL) SWIG_fail;
19505 temp2 = true;
19506 }
19507 {
19508 PyThreadState* __tstate = wxPyBeginAllowThreads();
19509 (arg1)->SetFindString((wxString const &)*arg2);
19510 wxPyEndAllowThreads(__tstate);
19511 if (PyErr_Occurred()) SWIG_fail;
19512 }
19513 resultobj = SWIG_Py_Void();
19514 {
19515 if (temp2)
19516 delete arg2;
19517 }
19518 return resultobj;
19519 fail:
19520 {
19521 if (temp2)
19522 delete arg2;
19523 }
19524 return NULL;
19525 }
19526
19527
19528 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19529 PyObject *resultobj = 0;
19530 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19531 wxString *arg2 = 0 ;
19532 void *argp1 = 0 ;
19533 int res1 = 0 ;
19534 bool temp2 = false ;
19535 PyObject * obj0 = 0 ;
19536 PyObject * obj1 = 0 ;
19537 char * kwnames[] = {
19538 (char *) "self",(char *) "str", NULL
19539 };
19540
19541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19543 if (!SWIG_IsOK(res1)) {
19544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19545 }
19546 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19547 {
19548 arg2 = wxString_in_helper(obj1);
19549 if (arg2 == NULL) SWIG_fail;
19550 temp2 = true;
19551 }
19552 {
19553 PyThreadState* __tstate = wxPyBeginAllowThreads();
19554 (arg1)->SetReplaceString((wxString const &)*arg2);
19555 wxPyEndAllowThreads(__tstate);
19556 if (PyErr_Occurred()) SWIG_fail;
19557 }
19558 resultobj = SWIG_Py_Void();
19559 {
19560 if (temp2)
19561 delete arg2;
19562 }
19563 return resultobj;
19564 fail:
19565 {
19566 if (temp2)
19567 delete arg2;
19568 }
19569 return NULL;
19570 }
19571
19572
19573 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19574 PyObject *obj;
19575 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19576 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19577 return SWIG_Py_Void();
19578 }
19579
19580 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19581 return SWIG_Python_InitShadowInstance(args);
19582 }
19583
19584 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19585 PyObject *resultobj = 0;
19586 int arg1 = (int) 0 ;
19587 wxFindReplaceData *result = 0 ;
19588 int val1 ;
19589 int ecode1 = 0 ;
19590 PyObject * obj0 = 0 ;
19591 char * kwnames[] = {
19592 (char *) "flags", NULL
19593 };
19594
19595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19596 if (obj0) {
19597 ecode1 = SWIG_AsVal_int(obj0, &val1);
19598 if (!SWIG_IsOK(ecode1)) {
19599 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19600 }
19601 arg1 = static_cast< int >(val1);
19602 }
19603 {
19604 PyThreadState* __tstate = wxPyBeginAllowThreads();
19605 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19606 wxPyEndAllowThreads(__tstate);
19607 if (PyErr_Occurred()) SWIG_fail;
19608 }
19609 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19610 return resultobj;
19611 fail:
19612 return NULL;
19613 }
19614
19615
19616 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19617 PyObject *resultobj = 0;
19618 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19619 void *argp1 = 0 ;
19620 int res1 = 0 ;
19621 PyObject *swig_obj[1] ;
19622
19623 if (!args) SWIG_fail;
19624 swig_obj[0] = args;
19625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19626 if (!SWIG_IsOK(res1)) {
19627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19628 }
19629 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19630 {
19631 PyThreadState* __tstate = wxPyBeginAllowThreads();
19632 delete arg1;
19633
19634 wxPyEndAllowThreads(__tstate);
19635 if (PyErr_Occurred()) SWIG_fail;
19636 }
19637 resultobj = SWIG_Py_Void();
19638 return resultobj;
19639 fail:
19640 return NULL;
19641 }
19642
19643
19644 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19645 PyObject *resultobj = 0;
19646 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19647 wxString *result = 0 ;
19648 void *argp1 = 0 ;
19649 int res1 = 0 ;
19650 PyObject *swig_obj[1] ;
19651
19652 if (!args) SWIG_fail;
19653 swig_obj[0] = args;
19654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19655 if (!SWIG_IsOK(res1)) {
19656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19657 }
19658 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19659 {
19660 PyThreadState* __tstate = wxPyBeginAllowThreads();
19661 {
19662 wxString const &_result_ref = (arg1)->GetFindString();
19663 result = (wxString *) &_result_ref;
19664 }
19665 wxPyEndAllowThreads(__tstate);
19666 if (PyErr_Occurred()) SWIG_fail;
19667 }
19668 {
19669 #if wxUSE_UNICODE
19670 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19671 #else
19672 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19673 #endif
19674 }
19675 return resultobj;
19676 fail:
19677 return NULL;
19678 }
19679
19680
19681 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19682 PyObject *resultobj = 0;
19683 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19684 wxString *result = 0 ;
19685 void *argp1 = 0 ;
19686 int res1 = 0 ;
19687 PyObject *swig_obj[1] ;
19688
19689 if (!args) SWIG_fail;
19690 swig_obj[0] = args;
19691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19692 if (!SWIG_IsOK(res1)) {
19693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19694 }
19695 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19696 {
19697 PyThreadState* __tstate = wxPyBeginAllowThreads();
19698 {
19699 wxString const &_result_ref = (arg1)->GetReplaceString();
19700 result = (wxString *) &_result_ref;
19701 }
19702 wxPyEndAllowThreads(__tstate);
19703 if (PyErr_Occurred()) SWIG_fail;
19704 }
19705 {
19706 #if wxUSE_UNICODE
19707 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19708 #else
19709 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19710 #endif
19711 }
19712 return resultobj;
19713 fail:
19714 return NULL;
19715 }
19716
19717
19718 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19719 PyObject *resultobj = 0;
19720 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19721 int result;
19722 void *argp1 = 0 ;
19723 int res1 = 0 ;
19724 PyObject *swig_obj[1] ;
19725
19726 if (!args) SWIG_fail;
19727 swig_obj[0] = args;
19728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19729 if (!SWIG_IsOK(res1)) {
19730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19731 }
19732 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19733 {
19734 PyThreadState* __tstate = wxPyBeginAllowThreads();
19735 result = (int)(arg1)->GetFlags();
19736 wxPyEndAllowThreads(__tstate);
19737 if (PyErr_Occurred()) SWIG_fail;
19738 }
19739 resultobj = SWIG_From_int(static_cast< int >(result));
19740 return resultobj;
19741 fail:
19742 return NULL;
19743 }
19744
19745
19746 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19747 PyObject *resultobj = 0;
19748 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19749 int arg2 ;
19750 void *argp1 = 0 ;
19751 int res1 = 0 ;
19752 int val2 ;
19753 int ecode2 = 0 ;
19754 PyObject * obj0 = 0 ;
19755 PyObject * obj1 = 0 ;
19756 char * kwnames[] = {
19757 (char *) "self",(char *) "flags", NULL
19758 };
19759
19760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19762 if (!SWIG_IsOK(res1)) {
19763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19764 }
19765 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19766 ecode2 = SWIG_AsVal_int(obj1, &val2);
19767 if (!SWIG_IsOK(ecode2)) {
19768 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19769 }
19770 arg2 = static_cast< int >(val2);
19771 {
19772 PyThreadState* __tstate = wxPyBeginAllowThreads();
19773 (arg1)->SetFlags(arg2);
19774 wxPyEndAllowThreads(__tstate);
19775 if (PyErr_Occurred()) SWIG_fail;
19776 }
19777 resultobj = SWIG_Py_Void();
19778 return resultobj;
19779 fail:
19780 return NULL;
19781 }
19782
19783
19784 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19785 PyObject *resultobj = 0;
19786 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19787 wxString *arg2 = 0 ;
19788 void *argp1 = 0 ;
19789 int res1 = 0 ;
19790 bool temp2 = false ;
19791 PyObject * obj0 = 0 ;
19792 PyObject * obj1 = 0 ;
19793 char * kwnames[] = {
19794 (char *) "self",(char *) "str", NULL
19795 };
19796
19797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19799 if (!SWIG_IsOK(res1)) {
19800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19801 }
19802 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19803 {
19804 arg2 = wxString_in_helper(obj1);
19805 if (arg2 == NULL) SWIG_fail;
19806 temp2 = true;
19807 }
19808 {
19809 PyThreadState* __tstate = wxPyBeginAllowThreads();
19810 (arg1)->SetFindString((wxString const &)*arg2);
19811 wxPyEndAllowThreads(__tstate);
19812 if (PyErr_Occurred()) SWIG_fail;
19813 }
19814 resultobj = SWIG_Py_Void();
19815 {
19816 if (temp2)
19817 delete arg2;
19818 }
19819 return resultobj;
19820 fail:
19821 {
19822 if (temp2)
19823 delete arg2;
19824 }
19825 return NULL;
19826 }
19827
19828
19829 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19830 PyObject *resultobj = 0;
19831 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19832 wxString *arg2 = 0 ;
19833 void *argp1 = 0 ;
19834 int res1 = 0 ;
19835 bool temp2 = false ;
19836 PyObject * obj0 = 0 ;
19837 PyObject * obj1 = 0 ;
19838 char * kwnames[] = {
19839 (char *) "self",(char *) "str", NULL
19840 };
19841
19842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19844 if (!SWIG_IsOK(res1)) {
19845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19846 }
19847 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19848 {
19849 arg2 = wxString_in_helper(obj1);
19850 if (arg2 == NULL) SWIG_fail;
19851 temp2 = true;
19852 }
19853 {
19854 PyThreadState* __tstate = wxPyBeginAllowThreads();
19855 (arg1)->SetReplaceString((wxString const &)*arg2);
19856 wxPyEndAllowThreads(__tstate);
19857 if (PyErr_Occurred()) SWIG_fail;
19858 }
19859 resultobj = SWIG_Py_Void();
19860 {
19861 if (temp2)
19862 delete arg2;
19863 }
19864 return resultobj;
19865 fail:
19866 {
19867 if (temp2)
19868 delete arg2;
19869 }
19870 return NULL;
19871 }
19872
19873
19874 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19875 PyObject *obj;
19876 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19877 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
19878 return SWIG_Py_Void();
19879 }
19880
19881 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19882 return SWIG_Python_InitShadowInstance(args);
19883 }
19884
19885 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19886 PyObject *resultobj = 0;
19887 wxWindow *arg1 = (wxWindow *) 0 ;
19888 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
19889 wxString *arg3 = 0 ;
19890 int arg4 = (int) 0 ;
19891 wxFindReplaceDialog *result = 0 ;
19892 void *argp1 = 0 ;
19893 int res1 = 0 ;
19894 void *argp2 = 0 ;
19895 int res2 = 0 ;
19896 bool temp3 = false ;
19897 int val4 ;
19898 int ecode4 = 0 ;
19899 PyObject * obj0 = 0 ;
19900 PyObject * obj1 = 0 ;
19901 PyObject * obj2 = 0 ;
19902 PyObject * obj3 = 0 ;
19903 char * kwnames[] = {
19904 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19905 };
19906
19907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19909 if (!SWIG_IsOK(res1)) {
19910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19911 }
19912 arg1 = reinterpret_cast< wxWindow * >(argp1);
19913 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19914 if (!SWIG_IsOK(res2)) {
19915 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19916 }
19917 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
19918 {
19919 arg3 = wxString_in_helper(obj2);
19920 if (arg3 == NULL) SWIG_fail;
19921 temp3 = true;
19922 }
19923 if (obj3) {
19924 ecode4 = SWIG_AsVal_int(obj3, &val4);
19925 if (!SWIG_IsOK(ecode4)) {
19926 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19927 }
19928 arg4 = static_cast< int >(val4);
19929 }
19930 {
19931 if (!wxPyCheckForApp()) SWIG_fail;
19932 PyThreadState* __tstate = wxPyBeginAllowThreads();
19933 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
19934 wxPyEndAllowThreads(__tstate);
19935 if (PyErr_Occurred()) SWIG_fail;
19936 }
19937 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
19938 {
19939 if (temp3)
19940 delete arg3;
19941 }
19942 return resultobj;
19943 fail:
19944 {
19945 if (temp3)
19946 delete arg3;
19947 }
19948 return NULL;
19949 }
19950
19951
19952 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19953 PyObject *resultobj = 0;
19954 wxFindReplaceDialog *result = 0 ;
19955
19956 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
19957 {
19958 if (!wxPyCheckForApp()) SWIG_fail;
19959 PyThreadState* __tstate = wxPyBeginAllowThreads();
19960 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
19961 wxPyEndAllowThreads(__tstate);
19962 if (PyErr_Occurred()) SWIG_fail;
19963 }
19964 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
19965 return resultobj;
19966 fail:
19967 return NULL;
19968 }
19969
19970
19971 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19972 PyObject *resultobj = 0;
19973 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19974 wxWindow *arg2 = (wxWindow *) 0 ;
19975 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
19976 wxString *arg4 = 0 ;
19977 int arg5 = (int) 0 ;
19978 bool result;
19979 void *argp1 = 0 ;
19980 int res1 = 0 ;
19981 void *argp2 = 0 ;
19982 int res2 = 0 ;
19983 void *argp3 = 0 ;
19984 int res3 = 0 ;
19985 bool temp4 = false ;
19986 int val5 ;
19987 int ecode5 = 0 ;
19988 PyObject * obj0 = 0 ;
19989 PyObject * obj1 = 0 ;
19990 PyObject * obj2 = 0 ;
19991 PyObject * obj3 = 0 ;
19992 PyObject * obj4 = 0 ;
19993 char * kwnames[] = {
19994 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19995 };
19996
19997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19999 if (!SWIG_IsOK(res1)) {
20000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20001 }
20002 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20003 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20004 if (!SWIG_IsOK(res2)) {
20005 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20006 }
20007 arg2 = reinterpret_cast< wxWindow * >(argp2);
20008 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20009 if (!SWIG_IsOK(res3)) {
20010 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20011 }
20012 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20013 {
20014 arg4 = wxString_in_helper(obj3);
20015 if (arg4 == NULL) SWIG_fail;
20016 temp4 = true;
20017 }
20018 if (obj4) {
20019 ecode5 = SWIG_AsVal_int(obj4, &val5);
20020 if (!SWIG_IsOK(ecode5)) {
20021 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20022 }
20023 arg5 = static_cast< int >(val5);
20024 }
20025 {
20026 PyThreadState* __tstate = wxPyBeginAllowThreads();
20027 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20028 wxPyEndAllowThreads(__tstate);
20029 if (PyErr_Occurred()) SWIG_fail;
20030 }
20031 {
20032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20033 }
20034 {
20035 if (temp4)
20036 delete arg4;
20037 }
20038 return resultobj;
20039 fail:
20040 {
20041 if (temp4)
20042 delete arg4;
20043 }
20044 return NULL;
20045 }
20046
20047
20048 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20049 PyObject *resultobj = 0;
20050 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20051 wxFindReplaceData *result = 0 ;
20052 void *argp1 = 0 ;
20053 int res1 = 0 ;
20054 PyObject *swig_obj[1] ;
20055
20056 if (!args) SWIG_fail;
20057 swig_obj[0] = args;
20058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20059 if (!SWIG_IsOK(res1)) {
20060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20061 }
20062 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20063 {
20064 PyThreadState* __tstate = wxPyBeginAllowThreads();
20065 result = (wxFindReplaceData *)(arg1)->GetData();
20066 wxPyEndAllowThreads(__tstate);
20067 if (PyErr_Occurred()) SWIG_fail;
20068 }
20069 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20070 return resultobj;
20071 fail:
20072 return NULL;
20073 }
20074
20075
20076 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20077 PyObject *resultobj = 0;
20078 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20079 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20080 void *argp1 = 0 ;
20081 int res1 = 0 ;
20082 void *argp2 = 0 ;
20083 int res2 = 0 ;
20084 PyObject * obj0 = 0 ;
20085 PyObject * obj1 = 0 ;
20086 char * kwnames[] = {
20087 (char *) "self",(char *) "data", NULL
20088 };
20089
20090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20092 if (!SWIG_IsOK(res1)) {
20093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20094 }
20095 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20096 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20097 if (!SWIG_IsOK(res2)) {
20098 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20099 }
20100 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20101 {
20102 PyThreadState* __tstate = wxPyBeginAllowThreads();
20103 (arg1)->SetData(arg2);
20104 wxPyEndAllowThreads(__tstate);
20105 if (PyErr_Occurred()) SWIG_fail;
20106 }
20107 resultobj = SWIG_Py_Void();
20108 return resultobj;
20109 fail:
20110 return NULL;
20111 }
20112
20113
20114 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20115 PyObject *obj;
20116 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20117 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20118 return SWIG_Py_Void();
20119 }
20120
20121 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20122 return SWIG_Python_InitShadowInstance(args);
20123 }
20124
20125 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20126 PyObject *resultobj = 0;
20127 wxWindow *arg1 = (wxWindow *) 0 ;
20128 int arg2 = (int) (int)-1 ;
20129 wxString const &arg3_defvalue = wxPyEmptyString ;
20130 wxString *arg3 = (wxString *) &arg3_defvalue ;
20131 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20132 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20133 wxSize const &arg5_defvalue = wxDefaultSize ;
20134 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20135 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20136 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20137 wxString *arg7 = (wxString *) &arg7_defvalue ;
20138 wxMDIParentFrame *result = 0 ;
20139 void *argp1 = 0 ;
20140 int res1 = 0 ;
20141 int val2 ;
20142 int ecode2 = 0 ;
20143 bool temp3 = false ;
20144 wxPoint temp4 ;
20145 wxSize temp5 ;
20146 long val6 ;
20147 int ecode6 = 0 ;
20148 bool temp7 = false ;
20149 PyObject * obj0 = 0 ;
20150 PyObject * obj1 = 0 ;
20151 PyObject * obj2 = 0 ;
20152 PyObject * obj3 = 0 ;
20153 PyObject * obj4 = 0 ;
20154 PyObject * obj5 = 0 ;
20155 PyObject * obj6 = 0 ;
20156 char * kwnames[] = {
20157 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20158 };
20159
20160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20162 if (!SWIG_IsOK(res1)) {
20163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20164 }
20165 arg1 = reinterpret_cast< wxWindow * >(argp1);
20166 if (obj1) {
20167 ecode2 = SWIG_AsVal_int(obj1, &val2);
20168 if (!SWIG_IsOK(ecode2)) {
20169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20170 }
20171 arg2 = static_cast< int >(val2);
20172 }
20173 if (obj2) {
20174 {
20175 arg3 = wxString_in_helper(obj2);
20176 if (arg3 == NULL) SWIG_fail;
20177 temp3 = true;
20178 }
20179 }
20180 if (obj3) {
20181 {
20182 arg4 = &temp4;
20183 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20184 }
20185 }
20186 if (obj4) {
20187 {
20188 arg5 = &temp5;
20189 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20190 }
20191 }
20192 if (obj5) {
20193 ecode6 = SWIG_AsVal_long(obj5, &val6);
20194 if (!SWIG_IsOK(ecode6)) {
20195 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20196 }
20197 arg6 = static_cast< long >(val6);
20198 }
20199 if (obj6) {
20200 {
20201 arg7 = wxString_in_helper(obj6);
20202 if (arg7 == NULL) SWIG_fail;
20203 temp7 = true;
20204 }
20205 }
20206 {
20207 if (!wxPyCheckForApp()) SWIG_fail;
20208 PyThreadState* __tstate = wxPyBeginAllowThreads();
20209 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20210 wxPyEndAllowThreads(__tstate);
20211 if (PyErr_Occurred()) SWIG_fail;
20212 }
20213 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20214 {
20215 if (temp3)
20216 delete arg3;
20217 }
20218 {
20219 if (temp7)
20220 delete arg7;
20221 }
20222 return resultobj;
20223 fail:
20224 {
20225 if (temp3)
20226 delete arg3;
20227 }
20228 {
20229 if (temp7)
20230 delete arg7;
20231 }
20232 return NULL;
20233 }
20234
20235
20236 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20237 PyObject *resultobj = 0;
20238 wxMDIParentFrame *result = 0 ;
20239
20240 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20241 {
20242 if (!wxPyCheckForApp()) SWIG_fail;
20243 PyThreadState* __tstate = wxPyBeginAllowThreads();
20244 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20245 wxPyEndAllowThreads(__tstate);
20246 if (PyErr_Occurred()) SWIG_fail;
20247 }
20248 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20249 return resultobj;
20250 fail:
20251 return NULL;
20252 }
20253
20254
20255 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20256 PyObject *resultobj = 0;
20257 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20258 wxWindow *arg2 = (wxWindow *) 0 ;
20259 int arg3 = (int) (int)-1 ;
20260 wxString const &arg4_defvalue = wxPyEmptyString ;
20261 wxString *arg4 = (wxString *) &arg4_defvalue ;
20262 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20263 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20264 wxSize const &arg6_defvalue = wxDefaultSize ;
20265 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20266 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20267 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20268 wxString *arg8 = (wxString *) &arg8_defvalue ;
20269 bool result;
20270 void *argp1 = 0 ;
20271 int res1 = 0 ;
20272 void *argp2 = 0 ;
20273 int res2 = 0 ;
20274 int val3 ;
20275 int ecode3 = 0 ;
20276 bool temp4 = false ;
20277 wxPoint temp5 ;
20278 wxSize temp6 ;
20279 long val7 ;
20280 int ecode7 = 0 ;
20281 bool temp8 = false ;
20282 PyObject * obj0 = 0 ;
20283 PyObject * obj1 = 0 ;
20284 PyObject * obj2 = 0 ;
20285 PyObject * obj3 = 0 ;
20286 PyObject * obj4 = 0 ;
20287 PyObject * obj5 = 0 ;
20288 PyObject * obj6 = 0 ;
20289 PyObject * obj7 = 0 ;
20290 char * kwnames[] = {
20291 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20292 };
20293
20294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20296 if (!SWIG_IsOK(res1)) {
20297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20298 }
20299 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20300 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20301 if (!SWIG_IsOK(res2)) {
20302 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20303 }
20304 arg2 = reinterpret_cast< wxWindow * >(argp2);
20305 if (obj2) {
20306 ecode3 = SWIG_AsVal_int(obj2, &val3);
20307 if (!SWIG_IsOK(ecode3)) {
20308 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20309 }
20310 arg3 = static_cast< int >(val3);
20311 }
20312 if (obj3) {
20313 {
20314 arg4 = wxString_in_helper(obj3);
20315 if (arg4 == NULL) SWIG_fail;
20316 temp4 = true;
20317 }
20318 }
20319 if (obj4) {
20320 {
20321 arg5 = &temp5;
20322 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20323 }
20324 }
20325 if (obj5) {
20326 {
20327 arg6 = &temp6;
20328 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20329 }
20330 }
20331 if (obj6) {
20332 ecode7 = SWIG_AsVal_long(obj6, &val7);
20333 if (!SWIG_IsOK(ecode7)) {
20334 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20335 }
20336 arg7 = static_cast< long >(val7);
20337 }
20338 if (obj7) {
20339 {
20340 arg8 = wxString_in_helper(obj7);
20341 if (arg8 == NULL) SWIG_fail;
20342 temp8 = true;
20343 }
20344 }
20345 {
20346 PyThreadState* __tstate = wxPyBeginAllowThreads();
20347 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20348 wxPyEndAllowThreads(__tstate);
20349 if (PyErr_Occurred()) SWIG_fail;
20350 }
20351 {
20352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20353 }
20354 {
20355 if (temp4)
20356 delete arg4;
20357 }
20358 {
20359 if (temp8)
20360 delete arg8;
20361 }
20362 return resultobj;
20363 fail:
20364 {
20365 if (temp4)
20366 delete arg4;
20367 }
20368 {
20369 if (temp8)
20370 delete arg8;
20371 }
20372 return NULL;
20373 }
20374
20375
20376 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20377 PyObject *resultobj = 0;
20378 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20379 void *argp1 = 0 ;
20380 int res1 = 0 ;
20381 PyObject *swig_obj[1] ;
20382
20383 if (!args) SWIG_fail;
20384 swig_obj[0] = args;
20385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20386 if (!SWIG_IsOK(res1)) {
20387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20388 }
20389 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20390 {
20391 PyThreadState* __tstate = wxPyBeginAllowThreads();
20392 (arg1)->ActivateNext();
20393 wxPyEndAllowThreads(__tstate);
20394 if (PyErr_Occurred()) SWIG_fail;
20395 }
20396 resultobj = SWIG_Py_Void();
20397 return resultobj;
20398 fail:
20399 return NULL;
20400 }
20401
20402
20403 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20404 PyObject *resultobj = 0;
20405 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20406 void *argp1 = 0 ;
20407 int res1 = 0 ;
20408 PyObject *swig_obj[1] ;
20409
20410 if (!args) SWIG_fail;
20411 swig_obj[0] = args;
20412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20413 if (!SWIG_IsOK(res1)) {
20414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20415 }
20416 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20417 {
20418 PyThreadState* __tstate = wxPyBeginAllowThreads();
20419 (arg1)->ActivatePrevious();
20420 wxPyEndAllowThreads(__tstate);
20421 if (PyErr_Occurred()) SWIG_fail;
20422 }
20423 resultobj = SWIG_Py_Void();
20424 return resultobj;
20425 fail:
20426 return NULL;
20427 }
20428
20429
20430 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20431 PyObject *resultobj = 0;
20432 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20433 void *argp1 = 0 ;
20434 int res1 = 0 ;
20435 PyObject *swig_obj[1] ;
20436
20437 if (!args) SWIG_fail;
20438 swig_obj[0] = args;
20439 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20440 if (!SWIG_IsOK(res1)) {
20441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20442 }
20443 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20444 {
20445 PyThreadState* __tstate = wxPyBeginAllowThreads();
20446 (arg1)->ArrangeIcons();
20447 wxPyEndAllowThreads(__tstate);
20448 if (PyErr_Occurred()) SWIG_fail;
20449 }
20450 resultobj = SWIG_Py_Void();
20451 return resultobj;
20452 fail:
20453 return NULL;
20454 }
20455
20456
20457 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20458 PyObject *resultobj = 0;
20459 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20460 void *argp1 = 0 ;
20461 int res1 = 0 ;
20462 PyObject *swig_obj[1] ;
20463
20464 if (!args) SWIG_fail;
20465 swig_obj[0] = args;
20466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20467 if (!SWIG_IsOK(res1)) {
20468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20469 }
20470 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20471 {
20472 PyThreadState* __tstate = wxPyBeginAllowThreads();
20473 (arg1)->Cascade();
20474 wxPyEndAllowThreads(__tstate);
20475 if (PyErr_Occurred()) SWIG_fail;
20476 }
20477 resultobj = SWIG_Py_Void();
20478 return resultobj;
20479 fail:
20480 return NULL;
20481 }
20482
20483
20484 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20485 PyObject *resultobj = 0;
20486 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20487 wxMDIChildFrame *result = 0 ;
20488 void *argp1 = 0 ;
20489 int res1 = 0 ;
20490 PyObject *swig_obj[1] ;
20491
20492 if (!args) SWIG_fail;
20493 swig_obj[0] = args;
20494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20495 if (!SWIG_IsOK(res1)) {
20496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20497 }
20498 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20499 {
20500 PyThreadState* __tstate = wxPyBeginAllowThreads();
20501 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20502 wxPyEndAllowThreads(__tstate);
20503 if (PyErr_Occurred()) SWIG_fail;
20504 }
20505 {
20506 resultobj = wxPyMake_wxObject(result, (bool)0);
20507 }
20508 return resultobj;
20509 fail:
20510 return NULL;
20511 }
20512
20513
20514 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20515 PyObject *resultobj = 0;
20516 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20517 wxMDIClientWindow *result = 0 ;
20518 void *argp1 = 0 ;
20519 int res1 = 0 ;
20520 PyObject *swig_obj[1] ;
20521
20522 if (!args) SWIG_fail;
20523 swig_obj[0] = args;
20524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20525 if (!SWIG_IsOK(res1)) {
20526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20527 }
20528 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20529 {
20530 PyThreadState* __tstate = wxPyBeginAllowThreads();
20531 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20532 wxPyEndAllowThreads(__tstate);
20533 if (PyErr_Occurred()) SWIG_fail;
20534 }
20535 {
20536 resultobj = wxPyMake_wxObject(result, (bool)0);
20537 }
20538 return resultobj;
20539 fail:
20540 return NULL;
20541 }
20542
20543
20544 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20545 PyObject *resultobj = 0;
20546 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20547 wxWindow *result = 0 ;
20548 void *argp1 = 0 ;
20549 int res1 = 0 ;
20550 PyObject *swig_obj[1] ;
20551
20552 if (!args) SWIG_fail;
20553 swig_obj[0] = args;
20554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20555 if (!SWIG_IsOK(res1)) {
20556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20557 }
20558 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20559 {
20560 PyThreadState* __tstate = wxPyBeginAllowThreads();
20561 result = (wxWindow *)(arg1)->GetToolBar();
20562 wxPyEndAllowThreads(__tstate);
20563 if (PyErr_Occurred()) SWIG_fail;
20564 }
20565 {
20566 resultobj = wxPyMake_wxObject(result, 0);
20567 }
20568 return resultobj;
20569 fail:
20570 return NULL;
20571 }
20572
20573
20574 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20575 PyObject *resultobj = 0;
20576 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20577 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20578 void *argp1 = 0 ;
20579 int res1 = 0 ;
20580 int val2 ;
20581 int ecode2 = 0 ;
20582 PyObject * obj0 = 0 ;
20583 PyObject * obj1 = 0 ;
20584 char * kwnames[] = {
20585 (char *) "self",(char *) "orient", NULL
20586 };
20587
20588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20590 if (!SWIG_IsOK(res1)) {
20591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20592 }
20593 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20594 if (obj1) {
20595 ecode2 = SWIG_AsVal_int(obj1, &val2);
20596 if (!SWIG_IsOK(ecode2)) {
20597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20598 }
20599 arg2 = static_cast< wxOrientation >(val2);
20600 }
20601 {
20602 PyThreadState* __tstate = wxPyBeginAllowThreads();
20603 (arg1)->Tile(arg2);
20604 wxPyEndAllowThreads(__tstate);
20605 if (PyErr_Occurred()) SWIG_fail;
20606 }
20607 resultobj = SWIG_Py_Void();
20608 return resultobj;
20609 fail:
20610 return NULL;
20611 }
20612
20613
20614 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20615 PyObject *obj;
20616 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20617 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20618 return SWIG_Py_Void();
20619 }
20620
20621 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20622 return SWIG_Python_InitShadowInstance(args);
20623 }
20624
20625 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20626 PyObject *resultobj = 0;
20627 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20628 int arg2 = (int) (int)-1 ;
20629 wxString const &arg3_defvalue = wxPyEmptyString ;
20630 wxString *arg3 = (wxString *) &arg3_defvalue ;
20631 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20632 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20633 wxSize const &arg5_defvalue = wxDefaultSize ;
20634 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20635 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20636 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20637 wxString *arg7 = (wxString *) &arg7_defvalue ;
20638 wxMDIChildFrame *result = 0 ;
20639 void *argp1 = 0 ;
20640 int res1 = 0 ;
20641 int val2 ;
20642 int ecode2 = 0 ;
20643 bool temp3 = false ;
20644 wxPoint temp4 ;
20645 wxSize temp5 ;
20646 long val6 ;
20647 int ecode6 = 0 ;
20648 bool temp7 = false ;
20649 PyObject * obj0 = 0 ;
20650 PyObject * obj1 = 0 ;
20651 PyObject * obj2 = 0 ;
20652 PyObject * obj3 = 0 ;
20653 PyObject * obj4 = 0 ;
20654 PyObject * obj5 = 0 ;
20655 PyObject * obj6 = 0 ;
20656 char * kwnames[] = {
20657 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20658 };
20659
20660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20662 if (!SWIG_IsOK(res1)) {
20663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20664 }
20665 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20666 if (obj1) {
20667 ecode2 = SWIG_AsVal_int(obj1, &val2);
20668 if (!SWIG_IsOK(ecode2)) {
20669 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20670 }
20671 arg2 = static_cast< int >(val2);
20672 }
20673 if (obj2) {
20674 {
20675 arg3 = wxString_in_helper(obj2);
20676 if (arg3 == NULL) SWIG_fail;
20677 temp3 = true;
20678 }
20679 }
20680 if (obj3) {
20681 {
20682 arg4 = &temp4;
20683 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20684 }
20685 }
20686 if (obj4) {
20687 {
20688 arg5 = &temp5;
20689 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20690 }
20691 }
20692 if (obj5) {
20693 ecode6 = SWIG_AsVal_long(obj5, &val6);
20694 if (!SWIG_IsOK(ecode6)) {
20695 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20696 }
20697 arg6 = static_cast< long >(val6);
20698 }
20699 if (obj6) {
20700 {
20701 arg7 = wxString_in_helper(obj6);
20702 if (arg7 == NULL) SWIG_fail;
20703 temp7 = true;
20704 }
20705 }
20706 {
20707 if (!wxPyCheckForApp()) SWIG_fail;
20708 PyThreadState* __tstate = wxPyBeginAllowThreads();
20709 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20710 wxPyEndAllowThreads(__tstate);
20711 if (PyErr_Occurred()) SWIG_fail;
20712 }
20713 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20714 {
20715 if (temp3)
20716 delete arg3;
20717 }
20718 {
20719 if (temp7)
20720 delete arg7;
20721 }
20722 return resultobj;
20723 fail:
20724 {
20725 if (temp3)
20726 delete arg3;
20727 }
20728 {
20729 if (temp7)
20730 delete arg7;
20731 }
20732 return NULL;
20733 }
20734
20735
20736 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20737 PyObject *resultobj = 0;
20738 wxMDIChildFrame *result = 0 ;
20739
20740 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20741 {
20742 if (!wxPyCheckForApp()) SWIG_fail;
20743 PyThreadState* __tstate = wxPyBeginAllowThreads();
20744 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20745 wxPyEndAllowThreads(__tstate);
20746 if (PyErr_Occurred()) SWIG_fail;
20747 }
20748 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20749 return resultobj;
20750 fail:
20751 return NULL;
20752 }
20753
20754
20755 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20756 PyObject *resultobj = 0;
20757 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20758 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20759 int arg3 = (int) (int)-1 ;
20760 wxString const &arg4_defvalue = wxPyEmptyString ;
20761 wxString *arg4 = (wxString *) &arg4_defvalue ;
20762 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20763 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20764 wxSize const &arg6_defvalue = wxDefaultSize ;
20765 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20766 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
20767 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20768 wxString *arg8 = (wxString *) &arg8_defvalue ;
20769 bool result;
20770 void *argp1 = 0 ;
20771 int res1 = 0 ;
20772 void *argp2 = 0 ;
20773 int res2 = 0 ;
20774 int val3 ;
20775 int ecode3 = 0 ;
20776 bool temp4 = false ;
20777 wxPoint temp5 ;
20778 wxSize temp6 ;
20779 long val7 ;
20780 int ecode7 = 0 ;
20781 bool temp8 = false ;
20782 PyObject * obj0 = 0 ;
20783 PyObject * obj1 = 0 ;
20784 PyObject * obj2 = 0 ;
20785 PyObject * obj3 = 0 ;
20786 PyObject * obj4 = 0 ;
20787 PyObject * obj5 = 0 ;
20788 PyObject * obj6 = 0 ;
20789 PyObject * obj7 = 0 ;
20790 char * kwnames[] = {
20791 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20792 };
20793
20794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20796 if (!SWIG_IsOK(res1)) {
20797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20798 }
20799 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20800 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20801 if (!SWIG_IsOK(res2)) {
20802 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20803 }
20804 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20805 if (obj2) {
20806 ecode3 = SWIG_AsVal_int(obj2, &val3);
20807 if (!SWIG_IsOK(ecode3)) {
20808 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20809 }
20810 arg3 = static_cast< int >(val3);
20811 }
20812 if (obj3) {
20813 {
20814 arg4 = wxString_in_helper(obj3);
20815 if (arg4 == NULL) SWIG_fail;
20816 temp4 = true;
20817 }
20818 }
20819 if (obj4) {
20820 {
20821 arg5 = &temp5;
20822 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20823 }
20824 }
20825 if (obj5) {
20826 {
20827 arg6 = &temp6;
20828 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20829 }
20830 }
20831 if (obj6) {
20832 ecode7 = SWIG_AsVal_long(obj6, &val7);
20833 if (!SWIG_IsOK(ecode7)) {
20834 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20835 }
20836 arg7 = static_cast< long >(val7);
20837 }
20838 if (obj7) {
20839 {
20840 arg8 = wxString_in_helper(obj7);
20841 if (arg8 == NULL) SWIG_fail;
20842 temp8 = true;
20843 }
20844 }
20845 {
20846 PyThreadState* __tstate = wxPyBeginAllowThreads();
20847 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20848 wxPyEndAllowThreads(__tstate);
20849 if (PyErr_Occurred()) SWIG_fail;
20850 }
20851 {
20852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20853 }
20854 {
20855 if (temp4)
20856 delete arg4;
20857 }
20858 {
20859 if (temp8)
20860 delete arg8;
20861 }
20862 return resultobj;
20863 fail:
20864 {
20865 if (temp4)
20866 delete arg4;
20867 }
20868 {
20869 if (temp8)
20870 delete arg8;
20871 }
20872 return NULL;
20873 }
20874
20875
20876 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20877 PyObject *resultobj = 0;
20878 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20879 void *argp1 = 0 ;
20880 int res1 = 0 ;
20881 PyObject *swig_obj[1] ;
20882
20883 if (!args) SWIG_fail;
20884 swig_obj[0] = args;
20885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20886 if (!SWIG_IsOK(res1)) {
20887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20888 }
20889 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20890 {
20891 PyThreadState* __tstate = wxPyBeginAllowThreads();
20892 (arg1)->Activate();
20893 wxPyEndAllowThreads(__tstate);
20894 if (PyErr_Occurred()) SWIG_fail;
20895 }
20896 resultobj = SWIG_Py_Void();
20897 return resultobj;
20898 fail:
20899 return NULL;
20900 }
20901
20902
20903 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20904 PyObject *obj;
20905 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20906 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
20907 return SWIG_Py_Void();
20908 }
20909
20910 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20911 return SWIG_Python_InitShadowInstance(args);
20912 }
20913
20914 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20915 PyObject *resultobj = 0;
20916 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20917 long arg2 = (long) 0 ;
20918 wxMDIClientWindow *result = 0 ;
20919 void *argp1 = 0 ;
20920 int res1 = 0 ;
20921 long val2 ;
20922 int ecode2 = 0 ;
20923 PyObject * obj0 = 0 ;
20924 PyObject * obj1 = 0 ;
20925 char * kwnames[] = {
20926 (char *) "parent",(char *) "style", NULL
20927 };
20928
20929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
20930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20931 if (!SWIG_IsOK(res1)) {
20932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20933 }
20934 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20935 if (obj1) {
20936 ecode2 = SWIG_AsVal_long(obj1, &val2);
20937 if (!SWIG_IsOK(ecode2)) {
20938 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20939 }
20940 arg2 = static_cast< long >(val2);
20941 }
20942 {
20943 if (!wxPyCheckForApp()) SWIG_fail;
20944 PyThreadState* __tstate = wxPyBeginAllowThreads();
20945 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
20946 wxPyEndAllowThreads(__tstate);
20947 if (PyErr_Occurred()) SWIG_fail;
20948 }
20949 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
20950 return resultobj;
20951 fail:
20952 return NULL;
20953 }
20954
20955
20956 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20957 PyObject *resultobj = 0;
20958 wxMDIClientWindow *result = 0 ;
20959
20960 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
20961 {
20962 if (!wxPyCheckForApp()) SWIG_fail;
20963 PyThreadState* __tstate = wxPyBeginAllowThreads();
20964 result = (wxMDIClientWindow *)new wxMDIClientWindow();
20965 wxPyEndAllowThreads(__tstate);
20966 if (PyErr_Occurred()) SWIG_fail;
20967 }
20968 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
20969 return resultobj;
20970 fail:
20971 return NULL;
20972 }
20973
20974
20975 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20976 PyObject *resultobj = 0;
20977 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
20978 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20979 long arg3 = (long) 0 ;
20980 bool result;
20981 void *argp1 = 0 ;
20982 int res1 = 0 ;
20983 void *argp2 = 0 ;
20984 int res2 = 0 ;
20985 long val3 ;
20986 int ecode3 = 0 ;
20987 PyObject * obj0 = 0 ;
20988 PyObject * obj1 = 0 ;
20989 PyObject * obj2 = 0 ;
20990 char * kwnames[] = {
20991 (char *) "self",(char *) "parent",(char *) "style", NULL
20992 };
20993
20994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
20995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
20996 if (!SWIG_IsOK(res1)) {
20997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
20998 }
20999 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21000 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21001 if (!SWIG_IsOK(res2)) {
21002 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21003 }
21004 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21005 if (obj2) {
21006 ecode3 = SWIG_AsVal_long(obj2, &val3);
21007 if (!SWIG_IsOK(ecode3)) {
21008 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21009 }
21010 arg3 = static_cast< long >(val3);
21011 }
21012 {
21013 PyThreadState* __tstate = wxPyBeginAllowThreads();
21014 result = (bool)(arg1)->Create(arg2,arg3);
21015 wxPyEndAllowThreads(__tstate);
21016 if (PyErr_Occurred()) SWIG_fail;
21017 }
21018 {
21019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21020 }
21021 return resultobj;
21022 fail:
21023 return NULL;
21024 }
21025
21026
21027 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21028 PyObject *obj;
21029 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21030 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21031 return SWIG_Py_Void();
21032 }
21033
21034 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21035 return SWIG_Python_InitShadowInstance(args);
21036 }
21037
21038 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21039 PyObject *resultobj = 0;
21040 wxWindow *arg1 = (wxWindow *) 0 ;
21041 int arg2 = (int) (int)-1 ;
21042 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21043 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21044 wxSize const &arg4_defvalue = wxDefaultSize ;
21045 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21046 long arg5 = (long) 0 ;
21047 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21048 wxString *arg6 = (wxString *) &arg6_defvalue ;
21049 wxPyWindow *result = 0 ;
21050 void *argp1 = 0 ;
21051 int res1 = 0 ;
21052 int val2 ;
21053 int ecode2 = 0 ;
21054 wxPoint temp3 ;
21055 wxSize temp4 ;
21056 long val5 ;
21057 int ecode5 = 0 ;
21058 bool temp6 = false ;
21059 PyObject * obj0 = 0 ;
21060 PyObject * obj1 = 0 ;
21061 PyObject * obj2 = 0 ;
21062 PyObject * obj3 = 0 ;
21063 PyObject * obj4 = 0 ;
21064 PyObject * obj5 = 0 ;
21065 char * kwnames[] = {
21066 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21067 };
21068
21069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21071 if (!SWIG_IsOK(res1)) {
21072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21073 }
21074 arg1 = reinterpret_cast< wxWindow * >(argp1);
21075 if (obj1) {
21076 ecode2 = SWIG_AsVal_int(obj1, &val2);
21077 if (!SWIG_IsOK(ecode2)) {
21078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21079 }
21080 arg2 = static_cast< int >(val2);
21081 }
21082 if (obj2) {
21083 {
21084 arg3 = &temp3;
21085 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21086 }
21087 }
21088 if (obj3) {
21089 {
21090 arg4 = &temp4;
21091 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21092 }
21093 }
21094 if (obj4) {
21095 ecode5 = SWIG_AsVal_long(obj4, &val5);
21096 if (!SWIG_IsOK(ecode5)) {
21097 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21098 }
21099 arg5 = static_cast< long >(val5);
21100 }
21101 if (obj5) {
21102 {
21103 arg6 = wxString_in_helper(obj5);
21104 if (arg6 == NULL) SWIG_fail;
21105 temp6 = true;
21106 }
21107 }
21108 {
21109 if (!wxPyCheckForApp()) SWIG_fail;
21110 PyThreadState* __tstate = wxPyBeginAllowThreads();
21111 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21112 wxPyEndAllowThreads(__tstate);
21113 if (PyErr_Occurred()) SWIG_fail;
21114 }
21115 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21116 {
21117 if (temp6)
21118 delete arg6;
21119 }
21120 return resultobj;
21121 fail:
21122 {
21123 if (temp6)
21124 delete arg6;
21125 }
21126 return NULL;
21127 }
21128
21129
21130 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21131 PyObject *resultobj = 0;
21132 wxPyWindow *result = 0 ;
21133
21134 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21135 {
21136 if (!wxPyCheckForApp()) SWIG_fail;
21137 PyThreadState* __tstate = wxPyBeginAllowThreads();
21138 result = (wxPyWindow *)new wxPyWindow();
21139 wxPyEndAllowThreads(__tstate);
21140 if (PyErr_Occurred()) SWIG_fail;
21141 }
21142 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21143 return resultobj;
21144 fail:
21145 return NULL;
21146 }
21147
21148
21149 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21150 PyObject *resultobj = 0;
21151 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21152 PyObject *arg2 = (PyObject *) 0 ;
21153 PyObject *arg3 = (PyObject *) 0 ;
21154 void *argp1 = 0 ;
21155 int res1 = 0 ;
21156 PyObject * obj0 = 0 ;
21157 PyObject * obj1 = 0 ;
21158 PyObject * obj2 = 0 ;
21159 char * kwnames[] = {
21160 (char *) "self",(char *) "self",(char *) "_class", NULL
21161 };
21162
21163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21165 if (!SWIG_IsOK(res1)) {
21166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21167 }
21168 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21169 arg2 = obj1;
21170 arg3 = obj2;
21171 {
21172 PyThreadState* __tstate = wxPyBeginAllowThreads();
21173 (arg1)->_setCallbackInfo(arg2,arg3);
21174 wxPyEndAllowThreads(__tstate);
21175 if (PyErr_Occurred()) SWIG_fail;
21176 }
21177 resultobj = SWIG_Py_Void();
21178 return resultobj;
21179 fail:
21180 return NULL;
21181 }
21182
21183
21184 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21185 PyObject *resultobj = 0;
21186 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21187 wxSize *arg2 = 0 ;
21188 void *argp1 = 0 ;
21189 int res1 = 0 ;
21190 wxSize temp2 ;
21191 PyObject * obj0 = 0 ;
21192 PyObject * obj1 = 0 ;
21193 char * kwnames[] = {
21194 (char *) "self",(char *) "size", NULL
21195 };
21196
21197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21199 if (!SWIG_IsOK(res1)) {
21200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21201 }
21202 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21203 {
21204 arg2 = &temp2;
21205 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21206 }
21207 {
21208 PyThreadState* __tstate = wxPyBeginAllowThreads();
21209 (arg1)->SetBestSize((wxSize const &)*arg2);
21210 wxPyEndAllowThreads(__tstate);
21211 if (PyErr_Occurred()) SWIG_fail;
21212 }
21213 resultobj = SWIG_Py_Void();
21214 return resultobj;
21215 fail:
21216 return NULL;
21217 }
21218
21219
21220 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21221 PyObject *resultobj = 0;
21222 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21223 wxDC *arg2 = (wxDC *) 0 ;
21224 bool result;
21225 void *argp1 = 0 ;
21226 int res1 = 0 ;
21227 void *argp2 = 0 ;
21228 int res2 = 0 ;
21229 PyObject * obj0 = 0 ;
21230 PyObject * obj1 = 0 ;
21231 char * kwnames[] = {
21232 (char *) "self",(char *) "dc", NULL
21233 };
21234
21235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21237 if (!SWIG_IsOK(res1)) {
21238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21239 }
21240 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21241 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21242 if (!SWIG_IsOK(res2)) {
21243 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21244 }
21245 arg2 = reinterpret_cast< wxDC * >(argp2);
21246 {
21247 PyThreadState* __tstate = wxPyBeginAllowThreads();
21248 result = (bool)(arg1)->DoEraseBackground(arg2);
21249 wxPyEndAllowThreads(__tstate);
21250 if (PyErr_Occurred()) SWIG_fail;
21251 }
21252 {
21253 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21254 }
21255 return resultobj;
21256 fail:
21257 return NULL;
21258 }
21259
21260
21261 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21262 PyObject *resultobj = 0;
21263 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21264 int arg2 ;
21265 int arg3 ;
21266 int arg4 ;
21267 int arg5 ;
21268 void *argp1 = 0 ;
21269 int res1 = 0 ;
21270 int val2 ;
21271 int ecode2 = 0 ;
21272 int val3 ;
21273 int ecode3 = 0 ;
21274 int val4 ;
21275 int ecode4 = 0 ;
21276 int val5 ;
21277 int ecode5 = 0 ;
21278 PyObject * obj0 = 0 ;
21279 PyObject * obj1 = 0 ;
21280 PyObject * obj2 = 0 ;
21281 PyObject * obj3 = 0 ;
21282 PyObject * obj4 = 0 ;
21283 char * kwnames[] = {
21284 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21285 };
21286
21287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21289 if (!SWIG_IsOK(res1)) {
21290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21291 }
21292 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21293 ecode2 = SWIG_AsVal_int(obj1, &val2);
21294 if (!SWIG_IsOK(ecode2)) {
21295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21296 }
21297 arg2 = static_cast< int >(val2);
21298 ecode3 = SWIG_AsVal_int(obj2, &val3);
21299 if (!SWIG_IsOK(ecode3)) {
21300 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21301 }
21302 arg3 = static_cast< int >(val3);
21303 ecode4 = SWIG_AsVal_int(obj3, &val4);
21304 if (!SWIG_IsOK(ecode4)) {
21305 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21306 }
21307 arg4 = static_cast< int >(val4);
21308 ecode5 = SWIG_AsVal_int(obj4, &val5);
21309 if (!SWIG_IsOK(ecode5)) {
21310 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21311 }
21312 arg5 = static_cast< int >(val5);
21313 {
21314 PyThreadState* __tstate = wxPyBeginAllowThreads();
21315 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21316 wxPyEndAllowThreads(__tstate);
21317 if (PyErr_Occurred()) SWIG_fail;
21318 }
21319 resultobj = SWIG_Py_Void();
21320 return resultobj;
21321 fail:
21322 return NULL;
21323 }
21324
21325
21326 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21327 PyObject *resultobj = 0;
21328 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21329 int arg2 ;
21330 int arg3 ;
21331 int arg4 ;
21332 int arg5 ;
21333 int arg6 = (int) wxSIZE_AUTO ;
21334 void *argp1 = 0 ;
21335 int res1 = 0 ;
21336 int val2 ;
21337 int ecode2 = 0 ;
21338 int val3 ;
21339 int ecode3 = 0 ;
21340 int val4 ;
21341 int ecode4 = 0 ;
21342 int val5 ;
21343 int ecode5 = 0 ;
21344 int val6 ;
21345 int ecode6 = 0 ;
21346 PyObject * obj0 = 0 ;
21347 PyObject * obj1 = 0 ;
21348 PyObject * obj2 = 0 ;
21349 PyObject * obj3 = 0 ;
21350 PyObject * obj4 = 0 ;
21351 PyObject * obj5 = 0 ;
21352 char * kwnames[] = {
21353 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21354 };
21355
21356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21358 if (!SWIG_IsOK(res1)) {
21359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21360 }
21361 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21362 ecode2 = SWIG_AsVal_int(obj1, &val2);
21363 if (!SWIG_IsOK(ecode2)) {
21364 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21365 }
21366 arg2 = static_cast< int >(val2);
21367 ecode3 = SWIG_AsVal_int(obj2, &val3);
21368 if (!SWIG_IsOK(ecode3)) {
21369 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21370 }
21371 arg3 = static_cast< int >(val3);
21372 ecode4 = SWIG_AsVal_int(obj3, &val4);
21373 if (!SWIG_IsOK(ecode4)) {
21374 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21375 }
21376 arg4 = static_cast< int >(val4);
21377 ecode5 = SWIG_AsVal_int(obj4, &val5);
21378 if (!SWIG_IsOK(ecode5)) {
21379 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21380 }
21381 arg5 = static_cast< int >(val5);
21382 if (obj5) {
21383 ecode6 = SWIG_AsVal_int(obj5, &val6);
21384 if (!SWIG_IsOK(ecode6)) {
21385 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21386 }
21387 arg6 = static_cast< int >(val6);
21388 }
21389 {
21390 PyThreadState* __tstate = wxPyBeginAllowThreads();
21391 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21392 wxPyEndAllowThreads(__tstate);
21393 if (PyErr_Occurred()) SWIG_fail;
21394 }
21395 resultobj = SWIG_Py_Void();
21396 return resultobj;
21397 fail:
21398 return NULL;
21399 }
21400
21401
21402 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21403 PyObject *resultobj = 0;
21404 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21405 int arg2 ;
21406 int arg3 ;
21407 void *argp1 = 0 ;
21408 int res1 = 0 ;
21409 int val2 ;
21410 int ecode2 = 0 ;
21411 int val3 ;
21412 int ecode3 = 0 ;
21413 PyObject * obj0 = 0 ;
21414 PyObject * obj1 = 0 ;
21415 PyObject * obj2 = 0 ;
21416 char * kwnames[] = {
21417 (char *) "self",(char *) "width",(char *) "height", NULL
21418 };
21419
21420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21422 if (!SWIG_IsOK(res1)) {
21423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21424 }
21425 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21426 ecode2 = SWIG_AsVal_int(obj1, &val2);
21427 if (!SWIG_IsOK(ecode2)) {
21428 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21429 }
21430 arg2 = static_cast< int >(val2);
21431 ecode3 = SWIG_AsVal_int(obj2, &val3);
21432 if (!SWIG_IsOK(ecode3)) {
21433 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21434 }
21435 arg3 = static_cast< int >(val3);
21436 {
21437 PyThreadState* __tstate = wxPyBeginAllowThreads();
21438 (arg1)->DoSetClientSize(arg2,arg3);
21439 wxPyEndAllowThreads(__tstate);
21440 if (PyErr_Occurred()) SWIG_fail;
21441 }
21442 resultobj = SWIG_Py_Void();
21443 return resultobj;
21444 fail:
21445 return NULL;
21446 }
21447
21448
21449 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21450 PyObject *resultobj = 0;
21451 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21452 int arg2 ;
21453 int arg3 ;
21454 void *argp1 = 0 ;
21455 int res1 = 0 ;
21456 int val2 ;
21457 int ecode2 = 0 ;
21458 int val3 ;
21459 int ecode3 = 0 ;
21460 PyObject * obj0 = 0 ;
21461 PyObject * obj1 = 0 ;
21462 PyObject * obj2 = 0 ;
21463 char * kwnames[] = {
21464 (char *) "self",(char *) "x",(char *) "y", NULL
21465 };
21466
21467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21469 if (!SWIG_IsOK(res1)) {
21470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21471 }
21472 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21473 ecode2 = SWIG_AsVal_int(obj1, &val2);
21474 if (!SWIG_IsOK(ecode2)) {
21475 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21476 }
21477 arg2 = static_cast< int >(val2);
21478 ecode3 = SWIG_AsVal_int(obj2, &val3);
21479 if (!SWIG_IsOK(ecode3)) {
21480 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21481 }
21482 arg3 = static_cast< int >(val3);
21483 {
21484 PyThreadState* __tstate = wxPyBeginAllowThreads();
21485 (arg1)->DoSetVirtualSize(arg2,arg3);
21486 wxPyEndAllowThreads(__tstate);
21487 if (PyErr_Occurred()) SWIG_fail;
21488 }
21489 resultobj = SWIG_Py_Void();
21490 return resultobj;
21491 fail:
21492 return NULL;
21493 }
21494
21495
21496 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21497 PyObject *resultobj = 0;
21498 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21499 int *arg2 = (int *) 0 ;
21500 int *arg3 = (int *) 0 ;
21501 void *argp1 = 0 ;
21502 int res1 = 0 ;
21503 int temp2 ;
21504 int res2 = SWIG_TMPOBJ ;
21505 int temp3 ;
21506 int res3 = SWIG_TMPOBJ ;
21507 PyObject *swig_obj[1] ;
21508
21509 arg2 = &temp2;
21510 arg3 = &temp3;
21511 if (!args) SWIG_fail;
21512 swig_obj[0] = args;
21513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21514 if (!SWIG_IsOK(res1)) {
21515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21516 }
21517 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21518 {
21519 PyThreadState* __tstate = wxPyBeginAllowThreads();
21520 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21521 wxPyEndAllowThreads(__tstate);
21522 if (PyErr_Occurred()) SWIG_fail;
21523 }
21524 resultobj = SWIG_Py_Void();
21525 if (SWIG_IsTmpObj(res2)) {
21526 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21527 } else {
21528 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21529 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21530 }
21531 if (SWIG_IsTmpObj(res3)) {
21532 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21533 } else {
21534 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21535 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21536 }
21537 return resultobj;
21538 fail:
21539 return NULL;
21540 }
21541
21542
21543 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21544 PyObject *resultobj = 0;
21545 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21546 int *arg2 = (int *) 0 ;
21547 int *arg3 = (int *) 0 ;
21548 void *argp1 = 0 ;
21549 int res1 = 0 ;
21550 int temp2 ;
21551 int res2 = SWIG_TMPOBJ ;
21552 int temp3 ;
21553 int res3 = SWIG_TMPOBJ ;
21554 PyObject *swig_obj[1] ;
21555
21556 arg2 = &temp2;
21557 arg3 = &temp3;
21558 if (!args) SWIG_fail;
21559 swig_obj[0] = args;
21560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21561 if (!SWIG_IsOK(res1)) {
21562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21563 }
21564 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21565 {
21566 PyThreadState* __tstate = wxPyBeginAllowThreads();
21567 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21568 wxPyEndAllowThreads(__tstate);
21569 if (PyErr_Occurred()) SWIG_fail;
21570 }
21571 resultobj = SWIG_Py_Void();
21572 if (SWIG_IsTmpObj(res2)) {
21573 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21574 } else {
21575 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21576 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21577 }
21578 if (SWIG_IsTmpObj(res3)) {
21579 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21580 } else {
21581 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21582 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21583 }
21584 return resultobj;
21585 fail:
21586 return NULL;
21587 }
21588
21589
21590 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21591 PyObject *resultobj = 0;
21592 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21593 int *arg2 = (int *) 0 ;
21594 int *arg3 = (int *) 0 ;
21595 void *argp1 = 0 ;
21596 int res1 = 0 ;
21597 int temp2 ;
21598 int res2 = SWIG_TMPOBJ ;
21599 int temp3 ;
21600 int res3 = SWIG_TMPOBJ ;
21601 PyObject *swig_obj[1] ;
21602
21603 arg2 = &temp2;
21604 arg3 = &temp3;
21605 if (!args) SWIG_fail;
21606 swig_obj[0] = args;
21607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21608 if (!SWIG_IsOK(res1)) {
21609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21610 }
21611 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21612 {
21613 PyThreadState* __tstate = wxPyBeginAllowThreads();
21614 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21615 wxPyEndAllowThreads(__tstate);
21616 if (PyErr_Occurred()) SWIG_fail;
21617 }
21618 resultobj = SWIG_Py_Void();
21619 if (SWIG_IsTmpObj(res2)) {
21620 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21621 } else {
21622 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21623 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21624 }
21625 if (SWIG_IsTmpObj(res3)) {
21626 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21627 } else {
21628 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21629 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21630 }
21631 return resultobj;
21632 fail:
21633 return NULL;
21634 }
21635
21636
21637 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21638 PyObject *resultobj = 0;
21639 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21640 wxSize result;
21641 void *argp1 = 0 ;
21642 int res1 = 0 ;
21643 PyObject *swig_obj[1] ;
21644
21645 if (!args) SWIG_fail;
21646 swig_obj[0] = args;
21647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21648 if (!SWIG_IsOK(res1)) {
21649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21650 }
21651 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21652 {
21653 PyThreadState* __tstate = wxPyBeginAllowThreads();
21654 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21655 wxPyEndAllowThreads(__tstate);
21656 if (PyErr_Occurred()) SWIG_fail;
21657 }
21658 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21659 return resultobj;
21660 fail:
21661 return NULL;
21662 }
21663
21664
21665 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21666 PyObject *resultobj = 0;
21667 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21668 wxSize result;
21669 void *argp1 = 0 ;
21670 int res1 = 0 ;
21671 PyObject *swig_obj[1] ;
21672
21673 if (!args) SWIG_fail;
21674 swig_obj[0] = args;
21675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21676 if (!SWIG_IsOK(res1)) {
21677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21678 }
21679 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21680 {
21681 PyThreadState* __tstate = wxPyBeginAllowThreads();
21682 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21683 wxPyEndAllowThreads(__tstate);
21684 if (PyErr_Occurred()) SWIG_fail;
21685 }
21686 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21687 return resultobj;
21688 fail:
21689 return NULL;
21690 }
21691
21692
21693 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21694 PyObject *resultobj = 0;
21695 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21696 SwigValueWrapper<wxVisualAttributes > result;
21697 void *argp1 = 0 ;
21698 int res1 = 0 ;
21699 PyObject *swig_obj[1] ;
21700
21701 if (!args) SWIG_fail;
21702 swig_obj[0] = args;
21703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21704 if (!SWIG_IsOK(res1)) {
21705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21706 }
21707 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21708 {
21709 PyThreadState* __tstate = wxPyBeginAllowThreads();
21710 result = (arg1)->GetDefaultAttributes();
21711 wxPyEndAllowThreads(__tstate);
21712 if (PyErr_Occurred()) SWIG_fail;
21713 }
21714 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21715 return resultobj;
21716 fail:
21717 return NULL;
21718 }
21719
21720
21721 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21722 PyObject *resultobj = 0;
21723 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21724 void *argp1 = 0 ;
21725 int res1 = 0 ;
21726 PyObject *swig_obj[1] ;
21727
21728 if (!args) SWIG_fail;
21729 swig_obj[0] = args;
21730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21731 if (!SWIG_IsOK(res1)) {
21732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21733 }
21734 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21735 {
21736 PyThreadState* __tstate = wxPyBeginAllowThreads();
21737 (arg1)->OnInternalIdle();
21738 wxPyEndAllowThreads(__tstate);
21739 if (PyErr_Occurred()) SWIG_fail;
21740 }
21741 resultobj = SWIG_Py_Void();
21742 return resultobj;
21743 fail:
21744 return NULL;
21745 }
21746
21747
21748 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21749 PyObject *obj;
21750 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21751 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21752 return SWIG_Py_Void();
21753 }
21754
21755 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21756 return SWIG_Python_InitShadowInstance(args);
21757 }
21758
21759 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21760 PyObject *resultobj = 0;
21761 wxWindow *arg1 = (wxWindow *) 0 ;
21762 int arg2 = (int) (int)-1 ;
21763 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21764 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21765 wxSize const &arg4_defvalue = wxDefaultSize ;
21766 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21767 long arg5 = (long) 0 ;
21768 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21769 wxString *arg6 = (wxString *) &arg6_defvalue ;
21770 wxPyPanel *result = 0 ;
21771 void *argp1 = 0 ;
21772 int res1 = 0 ;
21773 int val2 ;
21774 int ecode2 = 0 ;
21775 wxPoint temp3 ;
21776 wxSize temp4 ;
21777 long val5 ;
21778 int ecode5 = 0 ;
21779 bool temp6 = false ;
21780 PyObject * obj0 = 0 ;
21781 PyObject * obj1 = 0 ;
21782 PyObject * obj2 = 0 ;
21783 PyObject * obj3 = 0 ;
21784 PyObject * obj4 = 0 ;
21785 PyObject * obj5 = 0 ;
21786 char * kwnames[] = {
21787 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21788 };
21789
21790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21792 if (!SWIG_IsOK(res1)) {
21793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21794 }
21795 arg1 = reinterpret_cast< wxWindow * >(argp1);
21796 if (obj1) {
21797 ecode2 = SWIG_AsVal_int(obj1, &val2);
21798 if (!SWIG_IsOK(ecode2)) {
21799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21800 }
21801 arg2 = static_cast< int >(val2);
21802 }
21803 if (obj2) {
21804 {
21805 arg3 = &temp3;
21806 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21807 }
21808 }
21809 if (obj3) {
21810 {
21811 arg4 = &temp4;
21812 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21813 }
21814 }
21815 if (obj4) {
21816 ecode5 = SWIG_AsVal_long(obj4, &val5);
21817 if (!SWIG_IsOK(ecode5)) {
21818 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21819 }
21820 arg5 = static_cast< long >(val5);
21821 }
21822 if (obj5) {
21823 {
21824 arg6 = wxString_in_helper(obj5);
21825 if (arg6 == NULL) SWIG_fail;
21826 temp6 = true;
21827 }
21828 }
21829 {
21830 if (!wxPyCheckForApp()) SWIG_fail;
21831 PyThreadState* __tstate = wxPyBeginAllowThreads();
21832 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21833 wxPyEndAllowThreads(__tstate);
21834 if (PyErr_Occurred()) SWIG_fail;
21835 }
21836 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
21837 {
21838 if (temp6)
21839 delete arg6;
21840 }
21841 return resultobj;
21842 fail:
21843 {
21844 if (temp6)
21845 delete arg6;
21846 }
21847 return NULL;
21848 }
21849
21850
21851 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21852 PyObject *resultobj = 0;
21853 wxPyPanel *result = 0 ;
21854
21855 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
21856 {
21857 if (!wxPyCheckForApp()) SWIG_fail;
21858 PyThreadState* __tstate = wxPyBeginAllowThreads();
21859 result = (wxPyPanel *)new wxPyPanel();
21860 wxPyEndAllowThreads(__tstate);
21861 if (PyErr_Occurred()) SWIG_fail;
21862 }
21863 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
21864 return resultobj;
21865 fail:
21866 return NULL;
21867 }
21868
21869
21870 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21871 PyObject *resultobj = 0;
21872 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21873 PyObject *arg2 = (PyObject *) 0 ;
21874 PyObject *arg3 = (PyObject *) 0 ;
21875 void *argp1 = 0 ;
21876 int res1 = 0 ;
21877 PyObject * obj0 = 0 ;
21878 PyObject * obj1 = 0 ;
21879 PyObject * obj2 = 0 ;
21880 char * kwnames[] = {
21881 (char *) "self",(char *) "self",(char *) "_class", NULL
21882 };
21883
21884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21886 if (!SWIG_IsOK(res1)) {
21887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21888 }
21889 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21890 arg2 = obj1;
21891 arg3 = obj2;
21892 {
21893 PyThreadState* __tstate = wxPyBeginAllowThreads();
21894 (arg1)->_setCallbackInfo(arg2,arg3);
21895 wxPyEndAllowThreads(__tstate);
21896 if (PyErr_Occurred()) SWIG_fail;
21897 }
21898 resultobj = SWIG_Py_Void();
21899 return resultobj;
21900 fail:
21901 return NULL;
21902 }
21903
21904
21905 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21906 PyObject *resultobj = 0;
21907 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21908 wxSize *arg2 = 0 ;
21909 void *argp1 = 0 ;
21910 int res1 = 0 ;
21911 wxSize temp2 ;
21912 PyObject * obj0 = 0 ;
21913 PyObject * obj1 = 0 ;
21914 char * kwnames[] = {
21915 (char *) "self",(char *) "size", NULL
21916 };
21917
21918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21920 if (!SWIG_IsOK(res1)) {
21921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21922 }
21923 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21924 {
21925 arg2 = &temp2;
21926 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21927 }
21928 {
21929 PyThreadState* __tstate = wxPyBeginAllowThreads();
21930 (arg1)->SetBestSize((wxSize const &)*arg2);
21931 wxPyEndAllowThreads(__tstate);
21932 if (PyErr_Occurred()) SWIG_fail;
21933 }
21934 resultobj = SWIG_Py_Void();
21935 return resultobj;
21936 fail:
21937 return NULL;
21938 }
21939
21940
21941 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21942 PyObject *resultobj = 0;
21943 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21944 wxDC *arg2 = (wxDC *) 0 ;
21945 bool result;
21946 void *argp1 = 0 ;
21947 int res1 = 0 ;
21948 void *argp2 = 0 ;
21949 int res2 = 0 ;
21950 PyObject * obj0 = 0 ;
21951 PyObject * obj1 = 0 ;
21952 char * kwnames[] = {
21953 (char *) "self",(char *) "dc", NULL
21954 };
21955
21956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21958 if (!SWIG_IsOK(res1)) {
21959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21960 }
21961 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21962 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21963 if (!SWIG_IsOK(res2)) {
21964 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21965 }
21966 arg2 = reinterpret_cast< wxDC * >(argp2);
21967 {
21968 PyThreadState* __tstate = wxPyBeginAllowThreads();
21969 result = (bool)(arg1)->DoEraseBackground(arg2);
21970 wxPyEndAllowThreads(__tstate);
21971 if (PyErr_Occurred()) SWIG_fail;
21972 }
21973 {
21974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21975 }
21976 return resultobj;
21977 fail:
21978 return NULL;
21979 }
21980
21981
21982 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21983 PyObject *resultobj = 0;
21984 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21985 int arg2 ;
21986 int arg3 ;
21987 int arg4 ;
21988 int arg5 ;
21989 void *argp1 = 0 ;
21990 int res1 = 0 ;
21991 int val2 ;
21992 int ecode2 = 0 ;
21993 int val3 ;
21994 int ecode3 = 0 ;
21995 int val4 ;
21996 int ecode4 = 0 ;
21997 int val5 ;
21998 int ecode5 = 0 ;
21999 PyObject * obj0 = 0 ;
22000 PyObject * obj1 = 0 ;
22001 PyObject * obj2 = 0 ;
22002 PyObject * obj3 = 0 ;
22003 PyObject * obj4 = 0 ;
22004 char * kwnames[] = {
22005 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22006 };
22007
22008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22010 if (!SWIG_IsOK(res1)) {
22011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22012 }
22013 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22014 ecode2 = SWIG_AsVal_int(obj1, &val2);
22015 if (!SWIG_IsOK(ecode2)) {
22016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22017 }
22018 arg2 = static_cast< int >(val2);
22019 ecode3 = SWIG_AsVal_int(obj2, &val3);
22020 if (!SWIG_IsOK(ecode3)) {
22021 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22022 }
22023 arg3 = static_cast< int >(val3);
22024 ecode4 = SWIG_AsVal_int(obj3, &val4);
22025 if (!SWIG_IsOK(ecode4)) {
22026 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22027 }
22028 arg4 = static_cast< int >(val4);
22029 ecode5 = SWIG_AsVal_int(obj4, &val5);
22030 if (!SWIG_IsOK(ecode5)) {
22031 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22032 }
22033 arg5 = static_cast< int >(val5);
22034 {
22035 PyThreadState* __tstate = wxPyBeginAllowThreads();
22036 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22037 wxPyEndAllowThreads(__tstate);
22038 if (PyErr_Occurred()) SWIG_fail;
22039 }
22040 resultobj = SWIG_Py_Void();
22041 return resultobj;
22042 fail:
22043 return NULL;
22044 }
22045
22046
22047 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22048 PyObject *resultobj = 0;
22049 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22050 int arg2 ;
22051 int arg3 ;
22052 int arg4 ;
22053 int arg5 ;
22054 int arg6 = (int) wxSIZE_AUTO ;
22055 void *argp1 = 0 ;
22056 int res1 = 0 ;
22057 int val2 ;
22058 int ecode2 = 0 ;
22059 int val3 ;
22060 int ecode3 = 0 ;
22061 int val4 ;
22062 int ecode4 = 0 ;
22063 int val5 ;
22064 int ecode5 = 0 ;
22065 int val6 ;
22066 int ecode6 = 0 ;
22067 PyObject * obj0 = 0 ;
22068 PyObject * obj1 = 0 ;
22069 PyObject * obj2 = 0 ;
22070 PyObject * obj3 = 0 ;
22071 PyObject * obj4 = 0 ;
22072 PyObject * obj5 = 0 ;
22073 char * kwnames[] = {
22074 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22075 };
22076
22077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22079 if (!SWIG_IsOK(res1)) {
22080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22081 }
22082 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22083 ecode2 = SWIG_AsVal_int(obj1, &val2);
22084 if (!SWIG_IsOK(ecode2)) {
22085 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22086 }
22087 arg2 = static_cast< int >(val2);
22088 ecode3 = SWIG_AsVal_int(obj2, &val3);
22089 if (!SWIG_IsOK(ecode3)) {
22090 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22091 }
22092 arg3 = static_cast< int >(val3);
22093 ecode4 = SWIG_AsVal_int(obj3, &val4);
22094 if (!SWIG_IsOK(ecode4)) {
22095 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22096 }
22097 arg4 = static_cast< int >(val4);
22098 ecode5 = SWIG_AsVal_int(obj4, &val5);
22099 if (!SWIG_IsOK(ecode5)) {
22100 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22101 }
22102 arg5 = static_cast< int >(val5);
22103 if (obj5) {
22104 ecode6 = SWIG_AsVal_int(obj5, &val6);
22105 if (!SWIG_IsOK(ecode6)) {
22106 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22107 }
22108 arg6 = static_cast< int >(val6);
22109 }
22110 {
22111 PyThreadState* __tstate = wxPyBeginAllowThreads();
22112 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22113 wxPyEndAllowThreads(__tstate);
22114 if (PyErr_Occurred()) SWIG_fail;
22115 }
22116 resultobj = SWIG_Py_Void();
22117 return resultobj;
22118 fail:
22119 return NULL;
22120 }
22121
22122
22123 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22124 PyObject *resultobj = 0;
22125 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22126 int arg2 ;
22127 int arg3 ;
22128 void *argp1 = 0 ;
22129 int res1 = 0 ;
22130 int val2 ;
22131 int ecode2 = 0 ;
22132 int val3 ;
22133 int ecode3 = 0 ;
22134 PyObject * obj0 = 0 ;
22135 PyObject * obj1 = 0 ;
22136 PyObject * obj2 = 0 ;
22137 char * kwnames[] = {
22138 (char *) "self",(char *) "width",(char *) "height", NULL
22139 };
22140
22141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22143 if (!SWIG_IsOK(res1)) {
22144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22145 }
22146 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22147 ecode2 = SWIG_AsVal_int(obj1, &val2);
22148 if (!SWIG_IsOK(ecode2)) {
22149 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22150 }
22151 arg2 = static_cast< int >(val2);
22152 ecode3 = SWIG_AsVal_int(obj2, &val3);
22153 if (!SWIG_IsOK(ecode3)) {
22154 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22155 }
22156 arg3 = static_cast< int >(val3);
22157 {
22158 PyThreadState* __tstate = wxPyBeginAllowThreads();
22159 (arg1)->DoSetClientSize(arg2,arg3);
22160 wxPyEndAllowThreads(__tstate);
22161 if (PyErr_Occurred()) SWIG_fail;
22162 }
22163 resultobj = SWIG_Py_Void();
22164 return resultobj;
22165 fail:
22166 return NULL;
22167 }
22168
22169
22170 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22171 PyObject *resultobj = 0;
22172 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22173 int arg2 ;
22174 int arg3 ;
22175 void *argp1 = 0 ;
22176 int res1 = 0 ;
22177 int val2 ;
22178 int ecode2 = 0 ;
22179 int val3 ;
22180 int ecode3 = 0 ;
22181 PyObject * obj0 = 0 ;
22182 PyObject * obj1 = 0 ;
22183 PyObject * obj2 = 0 ;
22184 char * kwnames[] = {
22185 (char *) "self",(char *) "x",(char *) "y", NULL
22186 };
22187
22188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22190 if (!SWIG_IsOK(res1)) {
22191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22192 }
22193 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22194 ecode2 = SWIG_AsVal_int(obj1, &val2);
22195 if (!SWIG_IsOK(ecode2)) {
22196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22197 }
22198 arg2 = static_cast< int >(val2);
22199 ecode3 = SWIG_AsVal_int(obj2, &val3);
22200 if (!SWIG_IsOK(ecode3)) {
22201 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22202 }
22203 arg3 = static_cast< int >(val3);
22204 {
22205 PyThreadState* __tstate = wxPyBeginAllowThreads();
22206 (arg1)->DoSetVirtualSize(arg2,arg3);
22207 wxPyEndAllowThreads(__tstate);
22208 if (PyErr_Occurred()) SWIG_fail;
22209 }
22210 resultobj = SWIG_Py_Void();
22211 return resultobj;
22212 fail:
22213 return NULL;
22214 }
22215
22216
22217 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22218 PyObject *resultobj = 0;
22219 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22220 int *arg2 = (int *) 0 ;
22221 int *arg3 = (int *) 0 ;
22222 void *argp1 = 0 ;
22223 int res1 = 0 ;
22224 int temp2 ;
22225 int res2 = SWIG_TMPOBJ ;
22226 int temp3 ;
22227 int res3 = SWIG_TMPOBJ ;
22228 PyObject *swig_obj[1] ;
22229
22230 arg2 = &temp2;
22231 arg3 = &temp3;
22232 if (!args) SWIG_fail;
22233 swig_obj[0] = args;
22234 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22235 if (!SWIG_IsOK(res1)) {
22236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22237 }
22238 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22239 {
22240 PyThreadState* __tstate = wxPyBeginAllowThreads();
22241 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22242 wxPyEndAllowThreads(__tstate);
22243 if (PyErr_Occurred()) SWIG_fail;
22244 }
22245 resultobj = SWIG_Py_Void();
22246 if (SWIG_IsTmpObj(res2)) {
22247 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22248 } else {
22249 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22250 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22251 }
22252 if (SWIG_IsTmpObj(res3)) {
22253 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22254 } else {
22255 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22256 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22257 }
22258 return resultobj;
22259 fail:
22260 return NULL;
22261 }
22262
22263
22264 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22265 PyObject *resultobj = 0;
22266 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22267 int *arg2 = (int *) 0 ;
22268 int *arg3 = (int *) 0 ;
22269 void *argp1 = 0 ;
22270 int res1 = 0 ;
22271 int temp2 ;
22272 int res2 = SWIG_TMPOBJ ;
22273 int temp3 ;
22274 int res3 = SWIG_TMPOBJ ;
22275 PyObject *swig_obj[1] ;
22276
22277 arg2 = &temp2;
22278 arg3 = &temp3;
22279 if (!args) SWIG_fail;
22280 swig_obj[0] = args;
22281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22282 if (!SWIG_IsOK(res1)) {
22283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22284 }
22285 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22286 {
22287 PyThreadState* __tstate = wxPyBeginAllowThreads();
22288 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22289 wxPyEndAllowThreads(__tstate);
22290 if (PyErr_Occurred()) SWIG_fail;
22291 }
22292 resultobj = SWIG_Py_Void();
22293 if (SWIG_IsTmpObj(res2)) {
22294 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22295 } else {
22296 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22297 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22298 }
22299 if (SWIG_IsTmpObj(res3)) {
22300 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22301 } else {
22302 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22303 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22304 }
22305 return resultobj;
22306 fail:
22307 return NULL;
22308 }
22309
22310
22311 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22312 PyObject *resultobj = 0;
22313 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22314 int *arg2 = (int *) 0 ;
22315 int *arg3 = (int *) 0 ;
22316 void *argp1 = 0 ;
22317 int res1 = 0 ;
22318 int temp2 ;
22319 int res2 = SWIG_TMPOBJ ;
22320 int temp3 ;
22321 int res3 = SWIG_TMPOBJ ;
22322 PyObject *swig_obj[1] ;
22323
22324 arg2 = &temp2;
22325 arg3 = &temp3;
22326 if (!args) SWIG_fail;
22327 swig_obj[0] = args;
22328 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22329 if (!SWIG_IsOK(res1)) {
22330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22331 }
22332 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22333 {
22334 PyThreadState* __tstate = wxPyBeginAllowThreads();
22335 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22336 wxPyEndAllowThreads(__tstate);
22337 if (PyErr_Occurred()) SWIG_fail;
22338 }
22339 resultobj = SWIG_Py_Void();
22340 if (SWIG_IsTmpObj(res2)) {
22341 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22342 } else {
22343 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22344 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22345 }
22346 if (SWIG_IsTmpObj(res3)) {
22347 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22348 } else {
22349 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22350 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22351 }
22352 return resultobj;
22353 fail:
22354 return NULL;
22355 }
22356
22357
22358 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22359 PyObject *resultobj = 0;
22360 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22361 wxSize result;
22362 void *argp1 = 0 ;
22363 int res1 = 0 ;
22364 PyObject *swig_obj[1] ;
22365
22366 if (!args) SWIG_fail;
22367 swig_obj[0] = args;
22368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22369 if (!SWIG_IsOK(res1)) {
22370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22371 }
22372 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22373 {
22374 PyThreadState* __tstate = wxPyBeginAllowThreads();
22375 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22376 wxPyEndAllowThreads(__tstate);
22377 if (PyErr_Occurred()) SWIG_fail;
22378 }
22379 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22380 return resultobj;
22381 fail:
22382 return NULL;
22383 }
22384
22385
22386 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22387 PyObject *resultobj = 0;
22388 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22389 wxSize result;
22390 void *argp1 = 0 ;
22391 int res1 = 0 ;
22392 PyObject *swig_obj[1] ;
22393
22394 if (!args) SWIG_fail;
22395 swig_obj[0] = args;
22396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22397 if (!SWIG_IsOK(res1)) {
22398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22399 }
22400 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22401 {
22402 PyThreadState* __tstate = wxPyBeginAllowThreads();
22403 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22404 wxPyEndAllowThreads(__tstate);
22405 if (PyErr_Occurred()) SWIG_fail;
22406 }
22407 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22408 return resultobj;
22409 fail:
22410 return NULL;
22411 }
22412
22413
22414 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22415 PyObject *resultobj = 0;
22416 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22417 SwigValueWrapper<wxVisualAttributes > result;
22418 void *argp1 = 0 ;
22419 int res1 = 0 ;
22420 PyObject *swig_obj[1] ;
22421
22422 if (!args) SWIG_fail;
22423 swig_obj[0] = args;
22424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22425 if (!SWIG_IsOK(res1)) {
22426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22427 }
22428 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22429 {
22430 PyThreadState* __tstate = wxPyBeginAllowThreads();
22431 result = (arg1)->GetDefaultAttributes();
22432 wxPyEndAllowThreads(__tstate);
22433 if (PyErr_Occurred()) SWIG_fail;
22434 }
22435 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22436 return resultobj;
22437 fail:
22438 return NULL;
22439 }
22440
22441
22442 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22443 PyObject *resultobj = 0;
22444 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22445 void *argp1 = 0 ;
22446 int res1 = 0 ;
22447 PyObject *swig_obj[1] ;
22448
22449 if (!args) SWIG_fail;
22450 swig_obj[0] = args;
22451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22452 if (!SWIG_IsOK(res1)) {
22453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22454 }
22455 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22456 {
22457 PyThreadState* __tstate = wxPyBeginAllowThreads();
22458 (arg1)->OnInternalIdle();
22459 wxPyEndAllowThreads(__tstate);
22460 if (PyErr_Occurred()) SWIG_fail;
22461 }
22462 resultobj = SWIG_Py_Void();
22463 return resultobj;
22464 fail:
22465 return NULL;
22466 }
22467
22468
22469 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22470 PyObject *obj;
22471 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22472 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22473 return SWIG_Py_Void();
22474 }
22475
22476 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22477 return SWIG_Python_InitShadowInstance(args);
22478 }
22479
22480 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22481 PyObject *resultobj = 0;
22482 wxWindow *arg1 = (wxWindow *) 0 ;
22483 int arg2 = (int) (int)-1 ;
22484 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22485 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22486 wxSize const &arg4_defvalue = wxDefaultSize ;
22487 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22488 long arg5 = (long) 0 ;
22489 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22490 wxString *arg6 = (wxString *) &arg6_defvalue ;
22491 wxPyScrolledWindow *result = 0 ;
22492 void *argp1 = 0 ;
22493 int res1 = 0 ;
22494 int val2 ;
22495 int ecode2 = 0 ;
22496 wxPoint temp3 ;
22497 wxSize temp4 ;
22498 long val5 ;
22499 int ecode5 = 0 ;
22500 bool temp6 = false ;
22501 PyObject * obj0 = 0 ;
22502 PyObject * obj1 = 0 ;
22503 PyObject * obj2 = 0 ;
22504 PyObject * obj3 = 0 ;
22505 PyObject * obj4 = 0 ;
22506 PyObject * obj5 = 0 ;
22507 char * kwnames[] = {
22508 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22509 };
22510
22511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22513 if (!SWIG_IsOK(res1)) {
22514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22515 }
22516 arg1 = reinterpret_cast< wxWindow * >(argp1);
22517 if (obj1) {
22518 ecode2 = SWIG_AsVal_int(obj1, &val2);
22519 if (!SWIG_IsOK(ecode2)) {
22520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22521 }
22522 arg2 = static_cast< int >(val2);
22523 }
22524 if (obj2) {
22525 {
22526 arg3 = &temp3;
22527 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22528 }
22529 }
22530 if (obj3) {
22531 {
22532 arg4 = &temp4;
22533 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22534 }
22535 }
22536 if (obj4) {
22537 ecode5 = SWIG_AsVal_long(obj4, &val5);
22538 if (!SWIG_IsOK(ecode5)) {
22539 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22540 }
22541 arg5 = static_cast< long >(val5);
22542 }
22543 if (obj5) {
22544 {
22545 arg6 = wxString_in_helper(obj5);
22546 if (arg6 == NULL) SWIG_fail;
22547 temp6 = true;
22548 }
22549 }
22550 {
22551 if (!wxPyCheckForApp()) SWIG_fail;
22552 PyThreadState* __tstate = wxPyBeginAllowThreads();
22553 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22554 wxPyEndAllowThreads(__tstate);
22555 if (PyErr_Occurred()) SWIG_fail;
22556 }
22557 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22558 {
22559 if (temp6)
22560 delete arg6;
22561 }
22562 return resultobj;
22563 fail:
22564 {
22565 if (temp6)
22566 delete arg6;
22567 }
22568 return NULL;
22569 }
22570
22571
22572 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22573 PyObject *resultobj = 0;
22574 wxPyScrolledWindow *result = 0 ;
22575
22576 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22577 {
22578 if (!wxPyCheckForApp()) SWIG_fail;
22579 PyThreadState* __tstate = wxPyBeginAllowThreads();
22580 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22581 wxPyEndAllowThreads(__tstate);
22582 if (PyErr_Occurred()) SWIG_fail;
22583 }
22584 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22585 return resultobj;
22586 fail:
22587 return NULL;
22588 }
22589
22590
22591 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22592 PyObject *resultobj = 0;
22593 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22594 PyObject *arg2 = (PyObject *) 0 ;
22595 PyObject *arg3 = (PyObject *) 0 ;
22596 void *argp1 = 0 ;
22597 int res1 = 0 ;
22598 PyObject * obj0 = 0 ;
22599 PyObject * obj1 = 0 ;
22600 PyObject * obj2 = 0 ;
22601 char * kwnames[] = {
22602 (char *) "self",(char *) "self",(char *) "_class", NULL
22603 };
22604
22605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22607 if (!SWIG_IsOK(res1)) {
22608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22609 }
22610 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22611 arg2 = obj1;
22612 arg3 = obj2;
22613 {
22614 PyThreadState* __tstate = wxPyBeginAllowThreads();
22615 (arg1)->_setCallbackInfo(arg2,arg3);
22616 wxPyEndAllowThreads(__tstate);
22617 if (PyErr_Occurred()) SWIG_fail;
22618 }
22619 resultobj = SWIG_Py_Void();
22620 return resultobj;
22621 fail:
22622 return NULL;
22623 }
22624
22625
22626 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22627 PyObject *resultobj = 0;
22628 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22629 wxSize *arg2 = 0 ;
22630 void *argp1 = 0 ;
22631 int res1 = 0 ;
22632 wxSize temp2 ;
22633 PyObject * obj0 = 0 ;
22634 PyObject * obj1 = 0 ;
22635 char * kwnames[] = {
22636 (char *) "self",(char *) "size", NULL
22637 };
22638
22639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22641 if (!SWIG_IsOK(res1)) {
22642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22643 }
22644 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22645 {
22646 arg2 = &temp2;
22647 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22648 }
22649 {
22650 PyThreadState* __tstate = wxPyBeginAllowThreads();
22651 (arg1)->SetBestSize((wxSize const &)*arg2);
22652 wxPyEndAllowThreads(__tstate);
22653 if (PyErr_Occurred()) SWIG_fail;
22654 }
22655 resultobj = SWIG_Py_Void();
22656 return resultobj;
22657 fail:
22658 return NULL;
22659 }
22660
22661
22662 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22663 PyObject *resultobj = 0;
22664 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22665 wxDC *arg2 = (wxDC *) 0 ;
22666 bool result;
22667 void *argp1 = 0 ;
22668 int res1 = 0 ;
22669 void *argp2 = 0 ;
22670 int res2 = 0 ;
22671 PyObject * obj0 = 0 ;
22672 PyObject * obj1 = 0 ;
22673 char * kwnames[] = {
22674 (char *) "self",(char *) "dc", NULL
22675 };
22676
22677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22679 if (!SWIG_IsOK(res1)) {
22680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22681 }
22682 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22683 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22684 if (!SWIG_IsOK(res2)) {
22685 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22686 }
22687 arg2 = reinterpret_cast< wxDC * >(argp2);
22688 {
22689 PyThreadState* __tstate = wxPyBeginAllowThreads();
22690 result = (bool)(arg1)->DoEraseBackground(arg2);
22691 wxPyEndAllowThreads(__tstate);
22692 if (PyErr_Occurred()) SWIG_fail;
22693 }
22694 {
22695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22696 }
22697 return resultobj;
22698 fail:
22699 return NULL;
22700 }
22701
22702
22703 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22704 PyObject *resultobj = 0;
22705 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22706 int arg2 ;
22707 int arg3 ;
22708 int arg4 ;
22709 int arg5 ;
22710 void *argp1 = 0 ;
22711 int res1 = 0 ;
22712 int val2 ;
22713 int ecode2 = 0 ;
22714 int val3 ;
22715 int ecode3 = 0 ;
22716 int val4 ;
22717 int ecode4 = 0 ;
22718 int val5 ;
22719 int ecode5 = 0 ;
22720 PyObject * obj0 = 0 ;
22721 PyObject * obj1 = 0 ;
22722 PyObject * obj2 = 0 ;
22723 PyObject * obj3 = 0 ;
22724 PyObject * obj4 = 0 ;
22725 char * kwnames[] = {
22726 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22727 };
22728
22729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22731 if (!SWIG_IsOK(res1)) {
22732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22733 }
22734 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22735 ecode2 = SWIG_AsVal_int(obj1, &val2);
22736 if (!SWIG_IsOK(ecode2)) {
22737 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22738 }
22739 arg2 = static_cast< int >(val2);
22740 ecode3 = SWIG_AsVal_int(obj2, &val3);
22741 if (!SWIG_IsOK(ecode3)) {
22742 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22743 }
22744 arg3 = static_cast< int >(val3);
22745 ecode4 = SWIG_AsVal_int(obj3, &val4);
22746 if (!SWIG_IsOK(ecode4)) {
22747 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22748 }
22749 arg4 = static_cast< int >(val4);
22750 ecode5 = SWIG_AsVal_int(obj4, &val5);
22751 if (!SWIG_IsOK(ecode5)) {
22752 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22753 }
22754 arg5 = static_cast< int >(val5);
22755 {
22756 PyThreadState* __tstate = wxPyBeginAllowThreads();
22757 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22758 wxPyEndAllowThreads(__tstate);
22759 if (PyErr_Occurred()) SWIG_fail;
22760 }
22761 resultobj = SWIG_Py_Void();
22762 return resultobj;
22763 fail:
22764 return NULL;
22765 }
22766
22767
22768 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22769 PyObject *resultobj = 0;
22770 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22771 int arg2 ;
22772 int arg3 ;
22773 int arg4 ;
22774 int arg5 ;
22775 int arg6 = (int) wxSIZE_AUTO ;
22776 void *argp1 = 0 ;
22777 int res1 = 0 ;
22778 int val2 ;
22779 int ecode2 = 0 ;
22780 int val3 ;
22781 int ecode3 = 0 ;
22782 int val4 ;
22783 int ecode4 = 0 ;
22784 int val5 ;
22785 int ecode5 = 0 ;
22786 int val6 ;
22787 int ecode6 = 0 ;
22788 PyObject * obj0 = 0 ;
22789 PyObject * obj1 = 0 ;
22790 PyObject * obj2 = 0 ;
22791 PyObject * obj3 = 0 ;
22792 PyObject * obj4 = 0 ;
22793 PyObject * obj5 = 0 ;
22794 char * kwnames[] = {
22795 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22796 };
22797
22798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22800 if (!SWIG_IsOK(res1)) {
22801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22802 }
22803 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22804 ecode2 = SWIG_AsVal_int(obj1, &val2);
22805 if (!SWIG_IsOK(ecode2)) {
22806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22807 }
22808 arg2 = static_cast< int >(val2);
22809 ecode3 = SWIG_AsVal_int(obj2, &val3);
22810 if (!SWIG_IsOK(ecode3)) {
22811 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22812 }
22813 arg3 = static_cast< int >(val3);
22814 ecode4 = SWIG_AsVal_int(obj3, &val4);
22815 if (!SWIG_IsOK(ecode4)) {
22816 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22817 }
22818 arg4 = static_cast< int >(val4);
22819 ecode5 = SWIG_AsVal_int(obj4, &val5);
22820 if (!SWIG_IsOK(ecode5)) {
22821 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22822 }
22823 arg5 = static_cast< int >(val5);
22824 if (obj5) {
22825 ecode6 = SWIG_AsVal_int(obj5, &val6);
22826 if (!SWIG_IsOK(ecode6)) {
22827 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22828 }
22829 arg6 = static_cast< int >(val6);
22830 }
22831 {
22832 PyThreadState* __tstate = wxPyBeginAllowThreads();
22833 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22834 wxPyEndAllowThreads(__tstate);
22835 if (PyErr_Occurred()) SWIG_fail;
22836 }
22837 resultobj = SWIG_Py_Void();
22838 return resultobj;
22839 fail:
22840 return NULL;
22841 }
22842
22843
22844 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22845 PyObject *resultobj = 0;
22846 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22847 int arg2 ;
22848 int arg3 ;
22849 void *argp1 = 0 ;
22850 int res1 = 0 ;
22851 int val2 ;
22852 int ecode2 = 0 ;
22853 int val3 ;
22854 int ecode3 = 0 ;
22855 PyObject * obj0 = 0 ;
22856 PyObject * obj1 = 0 ;
22857 PyObject * obj2 = 0 ;
22858 char * kwnames[] = {
22859 (char *) "self",(char *) "width",(char *) "height", NULL
22860 };
22861
22862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22864 if (!SWIG_IsOK(res1)) {
22865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22866 }
22867 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22868 ecode2 = SWIG_AsVal_int(obj1, &val2);
22869 if (!SWIG_IsOK(ecode2)) {
22870 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22871 }
22872 arg2 = static_cast< int >(val2);
22873 ecode3 = SWIG_AsVal_int(obj2, &val3);
22874 if (!SWIG_IsOK(ecode3)) {
22875 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22876 }
22877 arg3 = static_cast< int >(val3);
22878 {
22879 PyThreadState* __tstate = wxPyBeginAllowThreads();
22880 (arg1)->DoSetClientSize(arg2,arg3);
22881 wxPyEndAllowThreads(__tstate);
22882 if (PyErr_Occurred()) SWIG_fail;
22883 }
22884 resultobj = SWIG_Py_Void();
22885 return resultobj;
22886 fail:
22887 return NULL;
22888 }
22889
22890
22891 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22892 PyObject *resultobj = 0;
22893 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22894 int arg2 ;
22895 int arg3 ;
22896 void *argp1 = 0 ;
22897 int res1 = 0 ;
22898 int val2 ;
22899 int ecode2 = 0 ;
22900 int val3 ;
22901 int ecode3 = 0 ;
22902 PyObject * obj0 = 0 ;
22903 PyObject * obj1 = 0 ;
22904 PyObject * obj2 = 0 ;
22905 char * kwnames[] = {
22906 (char *) "self",(char *) "x",(char *) "y", NULL
22907 };
22908
22909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22911 if (!SWIG_IsOK(res1)) {
22912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22913 }
22914 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22915 ecode2 = SWIG_AsVal_int(obj1, &val2);
22916 if (!SWIG_IsOK(ecode2)) {
22917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22918 }
22919 arg2 = static_cast< int >(val2);
22920 ecode3 = SWIG_AsVal_int(obj2, &val3);
22921 if (!SWIG_IsOK(ecode3)) {
22922 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22923 }
22924 arg3 = static_cast< int >(val3);
22925 {
22926 PyThreadState* __tstate = wxPyBeginAllowThreads();
22927 (arg1)->DoSetVirtualSize(arg2,arg3);
22928 wxPyEndAllowThreads(__tstate);
22929 if (PyErr_Occurred()) SWIG_fail;
22930 }
22931 resultobj = SWIG_Py_Void();
22932 return resultobj;
22933 fail:
22934 return NULL;
22935 }
22936
22937
22938 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22939 PyObject *resultobj = 0;
22940 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22941 int *arg2 = (int *) 0 ;
22942 int *arg3 = (int *) 0 ;
22943 void *argp1 = 0 ;
22944 int res1 = 0 ;
22945 int temp2 ;
22946 int res2 = SWIG_TMPOBJ ;
22947 int temp3 ;
22948 int res3 = SWIG_TMPOBJ ;
22949 PyObject *swig_obj[1] ;
22950
22951 arg2 = &temp2;
22952 arg3 = &temp3;
22953 if (!args) SWIG_fail;
22954 swig_obj[0] = args;
22955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22956 if (!SWIG_IsOK(res1)) {
22957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22958 }
22959 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22960 {
22961 PyThreadState* __tstate = wxPyBeginAllowThreads();
22962 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
22963 wxPyEndAllowThreads(__tstate);
22964 if (PyErr_Occurred()) SWIG_fail;
22965 }
22966 resultobj = SWIG_Py_Void();
22967 if (SWIG_IsTmpObj(res2)) {
22968 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22969 } else {
22970 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22971 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22972 }
22973 if (SWIG_IsTmpObj(res3)) {
22974 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22975 } else {
22976 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22977 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22978 }
22979 return resultobj;
22980 fail:
22981 return NULL;
22982 }
22983
22984
22985 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22986 PyObject *resultobj = 0;
22987 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22988 int *arg2 = (int *) 0 ;
22989 int *arg3 = (int *) 0 ;
22990 void *argp1 = 0 ;
22991 int res1 = 0 ;
22992 int temp2 ;
22993 int res2 = SWIG_TMPOBJ ;
22994 int temp3 ;
22995 int res3 = SWIG_TMPOBJ ;
22996 PyObject *swig_obj[1] ;
22997
22998 arg2 = &temp2;
22999 arg3 = &temp3;
23000 if (!args) SWIG_fail;
23001 swig_obj[0] = args;
23002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23003 if (!SWIG_IsOK(res1)) {
23004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23005 }
23006 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23007 {
23008 PyThreadState* __tstate = wxPyBeginAllowThreads();
23009 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23010 wxPyEndAllowThreads(__tstate);
23011 if (PyErr_Occurred()) SWIG_fail;
23012 }
23013 resultobj = SWIG_Py_Void();
23014 if (SWIG_IsTmpObj(res2)) {
23015 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23016 } else {
23017 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23018 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23019 }
23020 if (SWIG_IsTmpObj(res3)) {
23021 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23022 } else {
23023 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23024 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23025 }
23026 return resultobj;
23027 fail:
23028 return NULL;
23029 }
23030
23031
23032 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23033 PyObject *resultobj = 0;
23034 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23035 int *arg2 = (int *) 0 ;
23036 int *arg3 = (int *) 0 ;
23037 void *argp1 = 0 ;
23038 int res1 = 0 ;
23039 int temp2 ;
23040 int res2 = SWIG_TMPOBJ ;
23041 int temp3 ;
23042 int res3 = SWIG_TMPOBJ ;
23043 PyObject *swig_obj[1] ;
23044
23045 arg2 = &temp2;
23046 arg3 = &temp3;
23047 if (!args) SWIG_fail;
23048 swig_obj[0] = args;
23049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23050 if (!SWIG_IsOK(res1)) {
23051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23052 }
23053 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23054 {
23055 PyThreadState* __tstate = wxPyBeginAllowThreads();
23056 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23057 wxPyEndAllowThreads(__tstate);
23058 if (PyErr_Occurred()) SWIG_fail;
23059 }
23060 resultobj = SWIG_Py_Void();
23061 if (SWIG_IsTmpObj(res2)) {
23062 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23063 } else {
23064 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23065 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23066 }
23067 if (SWIG_IsTmpObj(res3)) {
23068 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23069 } else {
23070 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23071 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23072 }
23073 return resultobj;
23074 fail:
23075 return NULL;
23076 }
23077
23078
23079 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23080 PyObject *resultobj = 0;
23081 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23082 wxSize result;
23083 void *argp1 = 0 ;
23084 int res1 = 0 ;
23085 PyObject *swig_obj[1] ;
23086
23087 if (!args) SWIG_fail;
23088 swig_obj[0] = args;
23089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23090 if (!SWIG_IsOK(res1)) {
23091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23092 }
23093 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23094 {
23095 PyThreadState* __tstate = wxPyBeginAllowThreads();
23096 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23097 wxPyEndAllowThreads(__tstate);
23098 if (PyErr_Occurred()) SWIG_fail;
23099 }
23100 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23101 return resultobj;
23102 fail:
23103 return NULL;
23104 }
23105
23106
23107 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23108 PyObject *resultobj = 0;
23109 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23110 wxSize result;
23111 void *argp1 = 0 ;
23112 int res1 = 0 ;
23113 PyObject *swig_obj[1] ;
23114
23115 if (!args) SWIG_fail;
23116 swig_obj[0] = args;
23117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23118 if (!SWIG_IsOK(res1)) {
23119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23120 }
23121 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23122 {
23123 PyThreadState* __tstate = wxPyBeginAllowThreads();
23124 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23125 wxPyEndAllowThreads(__tstate);
23126 if (PyErr_Occurred()) SWIG_fail;
23127 }
23128 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23129 return resultobj;
23130 fail:
23131 return NULL;
23132 }
23133
23134
23135 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23136 PyObject *resultobj = 0;
23137 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23138 SwigValueWrapper<wxVisualAttributes > result;
23139 void *argp1 = 0 ;
23140 int res1 = 0 ;
23141 PyObject *swig_obj[1] ;
23142
23143 if (!args) SWIG_fail;
23144 swig_obj[0] = args;
23145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23146 if (!SWIG_IsOK(res1)) {
23147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23148 }
23149 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23150 {
23151 PyThreadState* __tstate = wxPyBeginAllowThreads();
23152 result = (arg1)->GetDefaultAttributes();
23153 wxPyEndAllowThreads(__tstate);
23154 if (PyErr_Occurred()) SWIG_fail;
23155 }
23156 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23157 return resultobj;
23158 fail:
23159 return NULL;
23160 }
23161
23162
23163 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23164 PyObject *resultobj = 0;
23165 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23166 void *argp1 = 0 ;
23167 int res1 = 0 ;
23168 PyObject *swig_obj[1] ;
23169
23170 if (!args) SWIG_fail;
23171 swig_obj[0] = args;
23172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23173 if (!SWIG_IsOK(res1)) {
23174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23175 }
23176 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23177 {
23178 PyThreadState* __tstate = wxPyBeginAllowThreads();
23179 (arg1)->OnInternalIdle();
23180 wxPyEndAllowThreads(__tstate);
23181 if (PyErr_Occurred()) SWIG_fail;
23182 }
23183 resultobj = SWIG_Py_Void();
23184 return resultobj;
23185 fail:
23186 return NULL;
23187 }
23188
23189
23190 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23191 PyObject *obj;
23192 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23193 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23194 return SWIG_Py_Void();
23195 }
23196
23197 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23198 return SWIG_Python_InitShadowInstance(args);
23199 }
23200
23201 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23202 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23203 return 1;
23204 }
23205
23206
23207 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23208 PyObject *pyobj = 0;
23209
23210 {
23211 #if wxUSE_UNICODE
23212 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23213 #else
23214 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23215 #endif
23216 }
23217 return pyobj;
23218 }
23219
23220
23221 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23222 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23223 return 1;
23224 }
23225
23226
23227 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23228 PyObject *pyobj = 0;
23229
23230 {
23231 #if wxUSE_UNICODE
23232 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23233 #else
23234 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23235 #endif
23236 }
23237 return pyobj;
23238 }
23239
23240
23241 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23242 PyObject *resultobj = 0;
23243 wxPrintData *result = 0 ;
23244
23245 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23246 {
23247 PyThreadState* __tstate = wxPyBeginAllowThreads();
23248 result = (wxPrintData *)new wxPrintData();
23249 wxPyEndAllowThreads(__tstate);
23250 if (PyErr_Occurred()) SWIG_fail;
23251 }
23252 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23253 return resultobj;
23254 fail:
23255 return NULL;
23256 }
23257
23258
23259 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23260 PyObject *resultobj = 0;
23261 wxPrintData *arg1 = 0 ;
23262 wxPrintData *result = 0 ;
23263 void *argp1 = 0 ;
23264 int res1 = 0 ;
23265
23266 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23268 if (!SWIG_IsOK(res1)) {
23269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23270 }
23271 if (!argp1) {
23272 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23273 }
23274 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23275 {
23276 PyThreadState* __tstate = wxPyBeginAllowThreads();
23277 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23278 wxPyEndAllowThreads(__tstate);
23279 if (PyErr_Occurred()) SWIG_fail;
23280 }
23281 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23282 return resultobj;
23283 fail:
23284 return NULL;
23285 }
23286
23287
23288 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23289 int argc;
23290 PyObject *argv[2];
23291
23292 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23293 --argc;
23294 if (argc == 0) {
23295 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23296 }
23297 if (argc == 1) {
23298 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23299 }
23300
23301 fail:
23302 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23303 return NULL;
23304 }
23305
23306
23307 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23308 PyObject *resultobj = 0;
23309 wxPrintData *arg1 = (wxPrintData *) 0 ;
23310 void *argp1 = 0 ;
23311 int res1 = 0 ;
23312 PyObject *swig_obj[1] ;
23313
23314 if (!args) SWIG_fail;
23315 swig_obj[0] = args;
23316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23317 if (!SWIG_IsOK(res1)) {
23318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23319 }
23320 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23321 {
23322 PyThreadState* __tstate = wxPyBeginAllowThreads();
23323 delete arg1;
23324
23325 wxPyEndAllowThreads(__tstate);
23326 if (PyErr_Occurred()) SWIG_fail;
23327 }
23328 resultobj = SWIG_Py_Void();
23329 return resultobj;
23330 fail:
23331 return NULL;
23332 }
23333
23334
23335 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23336 PyObject *resultobj = 0;
23337 wxPrintData *arg1 = (wxPrintData *) 0 ;
23338 int result;
23339 void *argp1 = 0 ;
23340 int res1 = 0 ;
23341 PyObject *swig_obj[1] ;
23342
23343 if (!args) SWIG_fail;
23344 swig_obj[0] = args;
23345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23346 if (!SWIG_IsOK(res1)) {
23347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23348 }
23349 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23350 {
23351 PyThreadState* __tstate = wxPyBeginAllowThreads();
23352 result = (int)(arg1)->GetNoCopies();
23353 wxPyEndAllowThreads(__tstate);
23354 if (PyErr_Occurred()) SWIG_fail;
23355 }
23356 resultobj = SWIG_From_int(static_cast< int >(result));
23357 return resultobj;
23358 fail:
23359 return NULL;
23360 }
23361
23362
23363 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23364 PyObject *resultobj = 0;
23365 wxPrintData *arg1 = (wxPrintData *) 0 ;
23366 bool 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_wxPrintData, 0 | 0 );
23374 if (!SWIG_IsOK(res1)) {
23375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23376 }
23377 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23378 {
23379 PyThreadState* __tstate = wxPyBeginAllowThreads();
23380 result = (bool)(arg1)->GetCollate();
23381 wxPyEndAllowThreads(__tstate);
23382 if (PyErr_Occurred()) SWIG_fail;
23383 }
23384 {
23385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23386 }
23387 return resultobj;
23388 fail:
23389 return NULL;
23390 }
23391
23392
23393 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23394 PyObject *resultobj = 0;
23395 wxPrintData *arg1 = (wxPrintData *) 0 ;
23396 int result;
23397 void *argp1 = 0 ;
23398 int res1 = 0 ;
23399 PyObject *swig_obj[1] ;
23400
23401 if (!args) SWIG_fail;
23402 swig_obj[0] = args;
23403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23404 if (!SWIG_IsOK(res1)) {
23405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23406 }
23407 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23408 {
23409 PyThreadState* __tstate = wxPyBeginAllowThreads();
23410 result = (int)(arg1)->GetOrientation();
23411 wxPyEndAllowThreads(__tstate);
23412 if (PyErr_Occurred()) SWIG_fail;
23413 }
23414 resultobj = SWIG_From_int(static_cast< int >(result));
23415 return resultobj;
23416 fail:
23417 return NULL;
23418 }
23419
23420
23421 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23422 PyObject *resultobj = 0;
23423 wxPrintData *arg1 = (wxPrintData *) 0 ;
23424 bool result;
23425 void *argp1 = 0 ;
23426 int res1 = 0 ;
23427 PyObject *swig_obj[1] ;
23428
23429 if (!args) SWIG_fail;
23430 swig_obj[0] = args;
23431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23432 if (!SWIG_IsOK(res1)) {
23433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23434 }
23435 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23436 {
23437 PyThreadState* __tstate = wxPyBeginAllowThreads();
23438 result = (bool)(arg1)->Ok();
23439 wxPyEndAllowThreads(__tstate);
23440 if (PyErr_Occurred()) SWIG_fail;
23441 }
23442 {
23443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23444 }
23445 return resultobj;
23446 fail:
23447 return NULL;
23448 }
23449
23450
23451 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23452 PyObject *resultobj = 0;
23453 wxPrintData *arg1 = (wxPrintData *) 0 ;
23454 wxString *result = 0 ;
23455 void *argp1 = 0 ;
23456 int res1 = 0 ;
23457 PyObject *swig_obj[1] ;
23458
23459 if (!args) SWIG_fail;
23460 swig_obj[0] = args;
23461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23462 if (!SWIG_IsOK(res1)) {
23463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23464 }
23465 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23466 {
23467 PyThreadState* __tstate = wxPyBeginAllowThreads();
23468 {
23469 wxString const &_result_ref = (arg1)->GetPrinterName();
23470 result = (wxString *) &_result_ref;
23471 }
23472 wxPyEndAllowThreads(__tstate);
23473 if (PyErr_Occurred()) SWIG_fail;
23474 }
23475 {
23476 #if wxUSE_UNICODE
23477 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23478 #else
23479 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23480 #endif
23481 }
23482 return resultobj;
23483 fail:
23484 return NULL;
23485 }
23486
23487
23488 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23489 PyObject *resultobj = 0;
23490 wxPrintData *arg1 = (wxPrintData *) 0 ;
23491 bool result;
23492 void *argp1 = 0 ;
23493 int res1 = 0 ;
23494 PyObject *swig_obj[1] ;
23495
23496 if (!args) SWIG_fail;
23497 swig_obj[0] = args;
23498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23499 if (!SWIG_IsOK(res1)) {
23500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23501 }
23502 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23503 {
23504 PyThreadState* __tstate = wxPyBeginAllowThreads();
23505 result = (bool)(arg1)->GetColour();
23506 wxPyEndAllowThreads(__tstate);
23507 if (PyErr_Occurred()) SWIG_fail;
23508 }
23509 {
23510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23511 }
23512 return resultobj;
23513 fail:
23514 return NULL;
23515 }
23516
23517
23518 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23519 PyObject *resultobj = 0;
23520 wxPrintData *arg1 = (wxPrintData *) 0 ;
23521 wxDuplexMode result;
23522 void *argp1 = 0 ;
23523 int res1 = 0 ;
23524 PyObject *swig_obj[1] ;
23525
23526 if (!args) SWIG_fail;
23527 swig_obj[0] = args;
23528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23529 if (!SWIG_IsOK(res1)) {
23530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23531 }
23532 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23533 {
23534 PyThreadState* __tstate = wxPyBeginAllowThreads();
23535 result = (wxDuplexMode)(arg1)->GetDuplex();
23536 wxPyEndAllowThreads(__tstate);
23537 if (PyErr_Occurred()) SWIG_fail;
23538 }
23539 resultobj = SWIG_From_int(static_cast< int >(result));
23540 return resultobj;
23541 fail:
23542 return NULL;
23543 }
23544
23545
23546 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23547 PyObject *resultobj = 0;
23548 wxPrintData *arg1 = (wxPrintData *) 0 ;
23549 wxPaperSize result;
23550 void *argp1 = 0 ;
23551 int res1 = 0 ;
23552 PyObject *swig_obj[1] ;
23553
23554 if (!args) SWIG_fail;
23555 swig_obj[0] = args;
23556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23557 if (!SWIG_IsOK(res1)) {
23558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23559 }
23560 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23561 {
23562 PyThreadState* __tstate = wxPyBeginAllowThreads();
23563 result = (wxPaperSize)(arg1)->GetPaperId();
23564 wxPyEndAllowThreads(__tstate);
23565 if (PyErr_Occurred()) SWIG_fail;
23566 }
23567 resultobj = SWIG_From_int(static_cast< int >(result));
23568 return resultobj;
23569 fail:
23570 return NULL;
23571 }
23572
23573
23574 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23575 PyObject *resultobj = 0;
23576 wxPrintData *arg1 = (wxPrintData *) 0 ;
23577 wxSize *result = 0 ;
23578 void *argp1 = 0 ;
23579 int res1 = 0 ;
23580 PyObject *swig_obj[1] ;
23581
23582 if (!args) SWIG_fail;
23583 swig_obj[0] = args;
23584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23585 if (!SWIG_IsOK(res1)) {
23586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23587 }
23588 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23589 {
23590 PyThreadState* __tstate = wxPyBeginAllowThreads();
23591 {
23592 wxSize const &_result_ref = (arg1)->GetPaperSize();
23593 result = (wxSize *) &_result_ref;
23594 }
23595 wxPyEndAllowThreads(__tstate);
23596 if (PyErr_Occurred()) SWIG_fail;
23597 }
23598 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23599 return resultobj;
23600 fail:
23601 return NULL;
23602 }
23603
23604
23605 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23606 PyObject *resultobj = 0;
23607 wxPrintData *arg1 = (wxPrintData *) 0 ;
23608 int result;
23609 void *argp1 = 0 ;
23610 int res1 = 0 ;
23611 PyObject *swig_obj[1] ;
23612
23613 if (!args) SWIG_fail;
23614 swig_obj[0] = args;
23615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23616 if (!SWIG_IsOK(res1)) {
23617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23618 }
23619 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23620 {
23621 PyThreadState* __tstate = wxPyBeginAllowThreads();
23622 result = (int)(arg1)->GetQuality();
23623 wxPyEndAllowThreads(__tstate);
23624 if (PyErr_Occurred()) SWIG_fail;
23625 }
23626 resultobj = SWIG_From_int(static_cast< int >(result));
23627 return resultobj;
23628 fail:
23629 return NULL;
23630 }
23631
23632
23633 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23634 PyObject *resultobj = 0;
23635 wxPrintData *arg1 = (wxPrintData *) 0 ;
23636 wxPrintBin result;
23637 void *argp1 = 0 ;
23638 int res1 = 0 ;
23639 PyObject *swig_obj[1] ;
23640
23641 if (!args) SWIG_fail;
23642 swig_obj[0] = args;
23643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23644 if (!SWIG_IsOK(res1)) {
23645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23646 }
23647 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23648 {
23649 PyThreadState* __tstate = wxPyBeginAllowThreads();
23650 result = (wxPrintBin)(arg1)->GetBin();
23651 wxPyEndAllowThreads(__tstate);
23652 if (PyErr_Occurred()) SWIG_fail;
23653 }
23654 resultobj = SWIG_From_int(static_cast< int >(result));
23655 return resultobj;
23656 fail:
23657 return NULL;
23658 }
23659
23660
23661 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23662 PyObject *resultobj = 0;
23663 wxPrintData *arg1 = (wxPrintData *) 0 ;
23664 wxPrintMode result;
23665 void *argp1 = 0 ;
23666 int res1 = 0 ;
23667 PyObject *swig_obj[1] ;
23668
23669 if (!args) SWIG_fail;
23670 swig_obj[0] = args;
23671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23672 if (!SWIG_IsOK(res1)) {
23673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23674 }
23675 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23676 {
23677 PyThreadState* __tstate = wxPyBeginAllowThreads();
23678 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23679 wxPyEndAllowThreads(__tstate);
23680 if (PyErr_Occurred()) SWIG_fail;
23681 }
23682 resultobj = SWIG_From_int(static_cast< int >(result));
23683 return resultobj;
23684 fail:
23685 return NULL;
23686 }
23687
23688
23689 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23690 PyObject *resultobj = 0;
23691 wxPrintData *arg1 = (wxPrintData *) 0 ;
23692 int arg2 ;
23693 void *argp1 = 0 ;
23694 int res1 = 0 ;
23695 int val2 ;
23696 int ecode2 = 0 ;
23697 PyObject * obj0 = 0 ;
23698 PyObject * obj1 = 0 ;
23699 char * kwnames[] = {
23700 (char *) "self",(char *) "v", NULL
23701 };
23702
23703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23705 if (!SWIG_IsOK(res1)) {
23706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23707 }
23708 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23709 ecode2 = SWIG_AsVal_int(obj1, &val2);
23710 if (!SWIG_IsOK(ecode2)) {
23711 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23712 }
23713 arg2 = static_cast< int >(val2);
23714 {
23715 PyThreadState* __tstate = wxPyBeginAllowThreads();
23716 (arg1)->SetNoCopies(arg2);
23717 wxPyEndAllowThreads(__tstate);
23718 if (PyErr_Occurred()) SWIG_fail;
23719 }
23720 resultobj = SWIG_Py_Void();
23721 return resultobj;
23722 fail:
23723 return NULL;
23724 }
23725
23726
23727 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23728 PyObject *resultobj = 0;
23729 wxPrintData *arg1 = (wxPrintData *) 0 ;
23730 bool arg2 ;
23731 void *argp1 = 0 ;
23732 int res1 = 0 ;
23733 bool val2 ;
23734 int ecode2 = 0 ;
23735 PyObject * obj0 = 0 ;
23736 PyObject * obj1 = 0 ;
23737 char * kwnames[] = {
23738 (char *) "self",(char *) "flag", NULL
23739 };
23740
23741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23743 if (!SWIG_IsOK(res1)) {
23744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23745 }
23746 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23747 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23748 if (!SWIG_IsOK(ecode2)) {
23749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23750 }
23751 arg2 = static_cast< bool >(val2);
23752 {
23753 PyThreadState* __tstate = wxPyBeginAllowThreads();
23754 (arg1)->SetCollate(arg2);
23755 wxPyEndAllowThreads(__tstate);
23756 if (PyErr_Occurred()) SWIG_fail;
23757 }
23758 resultobj = SWIG_Py_Void();
23759 return resultobj;
23760 fail:
23761 return NULL;
23762 }
23763
23764
23765 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23766 PyObject *resultobj = 0;
23767 wxPrintData *arg1 = (wxPrintData *) 0 ;
23768 int arg2 ;
23769 void *argp1 = 0 ;
23770 int res1 = 0 ;
23771 int val2 ;
23772 int ecode2 = 0 ;
23773 PyObject * obj0 = 0 ;
23774 PyObject * obj1 = 0 ;
23775 char * kwnames[] = {
23776 (char *) "self",(char *) "orient", NULL
23777 };
23778
23779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23781 if (!SWIG_IsOK(res1)) {
23782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23783 }
23784 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23785 ecode2 = SWIG_AsVal_int(obj1, &val2);
23786 if (!SWIG_IsOK(ecode2)) {
23787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23788 }
23789 arg2 = static_cast< int >(val2);
23790 {
23791 PyThreadState* __tstate = wxPyBeginAllowThreads();
23792 (arg1)->SetOrientation(arg2);
23793 wxPyEndAllowThreads(__tstate);
23794 if (PyErr_Occurred()) SWIG_fail;
23795 }
23796 resultobj = SWIG_Py_Void();
23797 return resultobj;
23798 fail:
23799 return NULL;
23800 }
23801
23802
23803 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23804 PyObject *resultobj = 0;
23805 wxPrintData *arg1 = (wxPrintData *) 0 ;
23806 wxString *arg2 = 0 ;
23807 void *argp1 = 0 ;
23808 int res1 = 0 ;
23809 bool temp2 = false ;
23810 PyObject * obj0 = 0 ;
23811 PyObject * obj1 = 0 ;
23812 char * kwnames[] = {
23813 (char *) "self",(char *) "name", NULL
23814 };
23815
23816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
23817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23818 if (!SWIG_IsOK(res1)) {
23819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23820 }
23821 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23822 {
23823 arg2 = wxString_in_helper(obj1);
23824 if (arg2 == NULL) SWIG_fail;
23825 temp2 = true;
23826 }
23827 {
23828 PyThreadState* __tstate = wxPyBeginAllowThreads();
23829 (arg1)->SetPrinterName((wxString const &)*arg2);
23830 wxPyEndAllowThreads(__tstate);
23831 if (PyErr_Occurred()) SWIG_fail;
23832 }
23833 resultobj = SWIG_Py_Void();
23834 {
23835 if (temp2)
23836 delete arg2;
23837 }
23838 return resultobj;
23839 fail:
23840 {
23841 if (temp2)
23842 delete arg2;
23843 }
23844 return NULL;
23845 }
23846
23847
23848 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23849 PyObject *resultobj = 0;
23850 wxPrintData *arg1 = (wxPrintData *) 0 ;
23851 bool arg2 ;
23852 void *argp1 = 0 ;
23853 int res1 = 0 ;
23854 bool val2 ;
23855 int ecode2 = 0 ;
23856 PyObject * obj0 = 0 ;
23857 PyObject * obj1 = 0 ;
23858 char * kwnames[] = {
23859 (char *) "self",(char *) "colour", NULL
23860 };
23861
23862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
23863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23864 if (!SWIG_IsOK(res1)) {
23865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23866 }
23867 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23868 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23869 if (!SWIG_IsOK(ecode2)) {
23870 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23871 }
23872 arg2 = static_cast< bool >(val2);
23873 {
23874 PyThreadState* __tstate = wxPyBeginAllowThreads();
23875 (arg1)->SetColour(arg2);
23876 wxPyEndAllowThreads(__tstate);
23877 if (PyErr_Occurred()) SWIG_fail;
23878 }
23879 resultobj = SWIG_Py_Void();
23880 return resultobj;
23881 fail:
23882 return NULL;
23883 }
23884
23885
23886 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23887 PyObject *resultobj = 0;
23888 wxPrintData *arg1 = (wxPrintData *) 0 ;
23889 wxDuplexMode arg2 ;
23890 void *argp1 = 0 ;
23891 int res1 = 0 ;
23892 int val2 ;
23893 int ecode2 = 0 ;
23894 PyObject * obj0 = 0 ;
23895 PyObject * obj1 = 0 ;
23896 char * kwnames[] = {
23897 (char *) "self",(char *) "duplex", NULL
23898 };
23899
23900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
23901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23902 if (!SWIG_IsOK(res1)) {
23903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23904 }
23905 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23906 ecode2 = SWIG_AsVal_int(obj1, &val2);
23907 if (!SWIG_IsOK(ecode2)) {
23908 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23909 }
23910 arg2 = static_cast< wxDuplexMode >(val2);
23911 {
23912 PyThreadState* __tstate = wxPyBeginAllowThreads();
23913 (arg1)->SetDuplex(arg2);
23914 wxPyEndAllowThreads(__tstate);
23915 if (PyErr_Occurred()) SWIG_fail;
23916 }
23917 resultobj = SWIG_Py_Void();
23918 return resultobj;
23919 fail:
23920 return NULL;
23921 }
23922
23923
23924 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23925 PyObject *resultobj = 0;
23926 wxPrintData *arg1 = (wxPrintData *) 0 ;
23927 wxPaperSize arg2 ;
23928 void *argp1 = 0 ;
23929 int res1 = 0 ;
23930 int val2 ;
23931 int ecode2 = 0 ;
23932 PyObject * obj0 = 0 ;
23933 PyObject * obj1 = 0 ;
23934 char * kwnames[] = {
23935 (char *) "self",(char *) "sizeId", NULL
23936 };
23937
23938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
23939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23940 if (!SWIG_IsOK(res1)) {
23941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23942 }
23943 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23944 ecode2 = SWIG_AsVal_int(obj1, &val2);
23945 if (!SWIG_IsOK(ecode2)) {
23946 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23947 }
23948 arg2 = static_cast< wxPaperSize >(val2);
23949 {
23950 PyThreadState* __tstate = wxPyBeginAllowThreads();
23951 (arg1)->SetPaperId(arg2);
23952 wxPyEndAllowThreads(__tstate);
23953 if (PyErr_Occurred()) SWIG_fail;
23954 }
23955 resultobj = SWIG_Py_Void();
23956 return resultobj;
23957 fail:
23958 return NULL;
23959 }
23960
23961
23962 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23963 PyObject *resultobj = 0;
23964 wxPrintData *arg1 = (wxPrintData *) 0 ;
23965 wxSize *arg2 = 0 ;
23966 void *argp1 = 0 ;
23967 int res1 = 0 ;
23968 wxSize temp2 ;
23969 PyObject * obj0 = 0 ;
23970 PyObject * obj1 = 0 ;
23971 char * kwnames[] = {
23972 (char *) "self",(char *) "sz", NULL
23973 };
23974
23975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
23976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23977 if (!SWIG_IsOK(res1)) {
23978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23979 }
23980 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23981 {
23982 arg2 = &temp2;
23983 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23984 }
23985 {
23986 PyThreadState* __tstate = wxPyBeginAllowThreads();
23987 (arg1)->SetPaperSize((wxSize const &)*arg2);
23988 wxPyEndAllowThreads(__tstate);
23989 if (PyErr_Occurred()) SWIG_fail;
23990 }
23991 resultobj = SWIG_Py_Void();
23992 return resultobj;
23993 fail:
23994 return NULL;
23995 }
23996
23997
23998 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23999 PyObject *resultobj = 0;
24000 wxPrintData *arg1 = (wxPrintData *) 0 ;
24001 int arg2 ;
24002 void *argp1 = 0 ;
24003 int res1 = 0 ;
24004 int val2 ;
24005 int ecode2 = 0 ;
24006 PyObject * obj0 = 0 ;
24007 PyObject * obj1 = 0 ;
24008 char * kwnames[] = {
24009 (char *) "self",(char *) "quality", NULL
24010 };
24011
24012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24014 if (!SWIG_IsOK(res1)) {
24015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24016 }
24017 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24018 ecode2 = SWIG_AsVal_int(obj1, &val2);
24019 if (!SWIG_IsOK(ecode2)) {
24020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24021 }
24022 arg2 = static_cast< int >(val2);
24023 {
24024 PyThreadState* __tstate = wxPyBeginAllowThreads();
24025 (arg1)->SetQuality(arg2);
24026 wxPyEndAllowThreads(__tstate);
24027 if (PyErr_Occurred()) SWIG_fail;
24028 }
24029 resultobj = SWIG_Py_Void();
24030 return resultobj;
24031 fail:
24032 return NULL;
24033 }
24034
24035
24036 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24037 PyObject *resultobj = 0;
24038 wxPrintData *arg1 = (wxPrintData *) 0 ;
24039 wxPrintBin arg2 ;
24040 void *argp1 = 0 ;
24041 int res1 = 0 ;
24042 int val2 ;
24043 int ecode2 = 0 ;
24044 PyObject * obj0 = 0 ;
24045 PyObject * obj1 = 0 ;
24046 char * kwnames[] = {
24047 (char *) "self",(char *) "bin", NULL
24048 };
24049
24050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24052 if (!SWIG_IsOK(res1)) {
24053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24054 }
24055 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24056 ecode2 = SWIG_AsVal_int(obj1, &val2);
24057 if (!SWIG_IsOK(ecode2)) {
24058 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24059 }
24060 arg2 = static_cast< wxPrintBin >(val2);
24061 {
24062 PyThreadState* __tstate = wxPyBeginAllowThreads();
24063 (arg1)->SetBin(arg2);
24064 wxPyEndAllowThreads(__tstate);
24065 if (PyErr_Occurred()) SWIG_fail;
24066 }
24067 resultobj = SWIG_Py_Void();
24068 return resultobj;
24069 fail:
24070 return NULL;
24071 }
24072
24073
24074 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24075 PyObject *resultobj = 0;
24076 wxPrintData *arg1 = (wxPrintData *) 0 ;
24077 wxPrintMode arg2 ;
24078 void *argp1 = 0 ;
24079 int res1 = 0 ;
24080 int val2 ;
24081 int ecode2 = 0 ;
24082 PyObject * obj0 = 0 ;
24083 PyObject * obj1 = 0 ;
24084 char * kwnames[] = {
24085 (char *) "self",(char *) "printMode", NULL
24086 };
24087
24088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24090 if (!SWIG_IsOK(res1)) {
24091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24092 }
24093 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24094 ecode2 = SWIG_AsVal_int(obj1, &val2);
24095 if (!SWIG_IsOK(ecode2)) {
24096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24097 }
24098 arg2 = static_cast< wxPrintMode >(val2);
24099 {
24100 PyThreadState* __tstate = wxPyBeginAllowThreads();
24101 (arg1)->SetPrintMode(arg2);
24102 wxPyEndAllowThreads(__tstate);
24103 if (PyErr_Occurred()) SWIG_fail;
24104 }
24105 resultobj = SWIG_Py_Void();
24106 return resultobj;
24107 fail:
24108 return NULL;
24109 }
24110
24111
24112 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24113 PyObject *resultobj = 0;
24114 wxPrintData *arg1 = (wxPrintData *) 0 ;
24115 wxString result;
24116 void *argp1 = 0 ;
24117 int res1 = 0 ;
24118 PyObject *swig_obj[1] ;
24119
24120 if (!args) SWIG_fail;
24121 swig_obj[0] = args;
24122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24123 if (!SWIG_IsOK(res1)) {
24124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24125 }
24126 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24127 {
24128 PyThreadState* __tstate = wxPyBeginAllowThreads();
24129 result = ((wxPrintData const *)arg1)->GetFilename();
24130 wxPyEndAllowThreads(__tstate);
24131 if (PyErr_Occurred()) SWIG_fail;
24132 }
24133 {
24134 #if wxUSE_UNICODE
24135 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24136 #else
24137 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24138 #endif
24139 }
24140 return resultobj;
24141 fail:
24142 return NULL;
24143 }
24144
24145
24146 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24147 PyObject *resultobj = 0;
24148 wxPrintData *arg1 = (wxPrintData *) 0 ;
24149 wxString *arg2 = 0 ;
24150 void *argp1 = 0 ;
24151 int res1 = 0 ;
24152 bool temp2 = false ;
24153 PyObject * obj0 = 0 ;
24154 PyObject * obj1 = 0 ;
24155 char * kwnames[] = {
24156 (char *) "self",(char *) "filename", NULL
24157 };
24158
24159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24161 if (!SWIG_IsOK(res1)) {
24162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24163 }
24164 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24165 {
24166 arg2 = wxString_in_helper(obj1);
24167 if (arg2 == NULL) SWIG_fail;
24168 temp2 = true;
24169 }
24170 {
24171 PyThreadState* __tstate = wxPyBeginAllowThreads();
24172 (arg1)->SetFilename((wxString const &)*arg2);
24173 wxPyEndAllowThreads(__tstate);
24174 if (PyErr_Occurred()) SWIG_fail;
24175 }
24176 resultobj = SWIG_Py_Void();
24177 {
24178 if (temp2)
24179 delete arg2;
24180 }
24181 return resultobj;
24182 fail:
24183 {
24184 if (temp2)
24185 delete arg2;
24186 }
24187 return NULL;
24188 }
24189
24190
24191 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24192 PyObject *resultobj = 0;
24193 wxPrintData *arg1 = (wxPrintData *) 0 ;
24194 PyObject *result = 0 ;
24195 void *argp1 = 0 ;
24196 int res1 = 0 ;
24197 PyObject *swig_obj[1] ;
24198
24199 if (!args) SWIG_fail;
24200 swig_obj[0] = args;
24201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24202 if (!SWIG_IsOK(res1)) {
24203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24204 }
24205 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24206 {
24207 PyThreadState* __tstate = wxPyBeginAllowThreads();
24208 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24209 wxPyEndAllowThreads(__tstate);
24210 if (PyErr_Occurred()) SWIG_fail;
24211 }
24212 resultobj = result;
24213 return resultobj;
24214 fail:
24215 return NULL;
24216 }
24217
24218
24219 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24220 PyObject *resultobj = 0;
24221 wxPrintData *arg1 = (wxPrintData *) 0 ;
24222 PyObject *arg2 = (PyObject *) 0 ;
24223 void *argp1 = 0 ;
24224 int res1 = 0 ;
24225 PyObject * obj0 = 0 ;
24226 PyObject * obj1 = 0 ;
24227 char * kwnames[] = {
24228 (char *) "self",(char *) "data", NULL
24229 };
24230
24231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24233 if (!SWIG_IsOK(res1)) {
24234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24235 }
24236 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24237 arg2 = obj1;
24238 {
24239 PyThreadState* __tstate = wxPyBeginAllowThreads();
24240 wxPrintData_SetPrivData(arg1,arg2);
24241 wxPyEndAllowThreads(__tstate);
24242 if (PyErr_Occurred()) SWIG_fail;
24243 }
24244 resultobj = SWIG_Py_Void();
24245 return resultobj;
24246 fail:
24247 return NULL;
24248 }
24249
24250
24251 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24252 PyObject *obj;
24253 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24254 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24255 return SWIG_Py_Void();
24256 }
24257
24258 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24259 return SWIG_Python_InitShadowInstance(args);
24260 }
24261
24262 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24263 PyObject *resultobj = 0;
24264 wxPageSetupDialogData *result = 0 ;
24265
24266 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24267 {
24268 PyThreadState* __tstate = wxPyBeginAllowThreads();
24269 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24270 wxPyEndAllowThreads(__tstate);
24271 if (PyErr_Occurred()) SWIG_fail;
24272 }
24273 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24274 return resultobj;
24275 fail:
24276 return NULL;
24277 }
24278
24279
24280 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24281 PyObject *resultobj = 0;
24282 wxPageSetupDialogData *arg1 = 0 ;
24283 wxPageSetupDialogData *result = 0 ;
24284 void *argp1 = 0 ;
24285 int res1 = 0 ;
24286
24287 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24289 if (!SWIG_IsOK(res1)) {
24290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24291 }
24292 if (!argp1) {
24293 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24294 }
24295 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24296 {
24297 PyThreadState* __tstate = wxPyBeginAllowThreads();
24298 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24299 wxPyEndAllowThreads(__tstate);
24300 if (PyErr_Occurred()) SWIG_fail;
24301 }
24302 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24303 return resultobj;
24304 fail:
24305 return NULL;
24306 }
24307
24308
24309 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24310 PyObject *resultobj = 0;
24311 wxPrintData *arg1 = 0 ;
24312 wxPageSetupDialogData *result = 0 ;
24313 void *argp1 = 0 ;
24314 int res1 = 0 ;
24315
24316 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24318 if (!SWIG_IsOK(res1)) {
24319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24320 }
24321 if (!argp1) {
24322 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24323 }
24324 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24325 {
24326 PyThreadState* __tstate = wxPyBeginAllowThreads();
24327 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24328 wxPyEndAllowThreads(__tstate);
24329 if (PyErr_Occurred()) SWIG_fail;
24330 }
24331 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24332 return resultobj;
24333 fail:
24334 return NULL;
24335 }
24336
24337
24338 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24339 int argc;
24340 PyObject *argv[2];
24341
24342 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24343 --argc;
24344 if (argc == 0) {
24345 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24346 }
24347 if (argc == 1) {
24348 int _v = 0;
24349 {
24350 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24351 _v = SWIG_CheckState(res);
24352 }
24353 if (!_v) goto check_2;
24354 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24355 }
24356 check_2:
24357
24358 if (argc == 1) {
24359 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24360 }
24361
24362 fail:
24363 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24364 return NULL;
24365 }
24366
24367
24368 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24369 PyObject *resultobj = 0;
24370 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24371 void *argp1 = 0 ;
24372 int res1 = 0 ;
24373 PyObject *swig_obj[1] ;
24374
24375 if (!args) SWIG_fail;
24376 swig_obj[0] = args;
24377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24378 if (!SWIG_IsOK(res1)) {
24379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24380 }
24381 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24382 {
24383 PyThreadState* __tstate = wxPyBeginAllowThreads();
24384 delete arg1;
24385
24386 wxPyEndAllowThreads(__tstate);
24387 if (PyErr_Occurred()) SWIG_fail;
24388 }
24389 resultobj = SWIG_Py_Void();
24390 return resultobj;
24391 fail:
24392 return NULL;
24393 }
24394
24395
24396 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24397 PyObject *resultobj = 0;
24398 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24399 bool arg2 ;
24400 void *argp1 = 0 ;
24401 int res1 = 0 ;
24402 bool val2 ;
24403 int ecode2 = 0 ;
24404 PyObject * obj0 = 0 ;
24405 PyObject * obj1 = 0 ;
24406 char * kwnames[] = {
24407 (char *) "self",(char *) "flag", NULL
24408 };
24409
24410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24412 if (!SWIG_IsOK(res1)) {
24413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24414 }
24415 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24416 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24417 if (!SWIG_IsOK(ecode2)) {
24418 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24419 }
24420 arg2 = static_cast< bool >(val2);
24421 {
24422 PyThreadState* __tstate = wxPyBeginAllowThreads();
24423 (arg1)->EnableHelp(arg2);
24424 wxPyEndAllowThreads(__tstate);
24425 if (PyErr_Occurred()) SWIG_fail;
24426 }
24427 resultobj = SWIG_Py_Void();
24428 return resultobj;
24429 fail:
24430 return NULL;
24431 }
24432
24433
24434 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24435 PyObject *resultobj = 0;
24436 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24437 bool arg2 ;
24438 void *argp1 = 0 ;
24439 int res1 = 0 ;
24440 bool val2 ;
24441 int ecode2 = 0 ;
24442 PyObject * obj0 = 0 ;
24443 PyObject * obj1 = 0 ;
24444 char * kwnames[] = {
24445 (char *) "self",(char *) "flag", NULL
24446 };
24447
24448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24450 if (!SWIG_IsOK(res1)) {
24451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24452 }
24453 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24454 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24455 if (!SWIG_IsOK(ecode2)) {
24456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24457 }
24458 arg2 = static_cast< bool >(val2);
24459 {
24460 PyThreadState* __tstate = wxPyBeginAllowThreads();
24461 (arg1)->EnableMargins(arg2);
24462 wxPyEndAllowThreads(__tstate);
24463 if (PyErr_Occurred()) SWIG_fail;
24464 }
24465 resultobj = SWIG_Py_Void();
24466 return resultobj;
24467 fail:
24468 return NULL;
24469 }
24470
24471
24472 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24473 PyObject *resultobj = 0;
24474 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24475 bool arg2 ;
24476 void *argp1 = 0 ;
24477 int res1 = 0 ;
24478 bool val2 ;
24479 int ecode2 = 0 ;
24480 PyObject * obj0 = 0 ;
24481 PyObject * obj1 = 0 ;
24482 char * kwnames[] = {
24483 (char *) "self",(char *) "flag", NULL
24484 };
24485
24486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24488 if (!SWIG_IsOK(res1)) {
24489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24490 }
24491 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24492 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24493 if (!SWIG_IsOK(ecode2)) {
24494 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24495 }
24496 arg2 = static_cast< bool >(val2);
24497 {
24498 PyThreadState* __tstate = wxPyBeginAllowThreads();
24499 (arg1)->EnableOrientation(arg2);
24500 wxPyEndAllowThreads(__tstate);
24501 if (PyErr_Occurred()) SWIG_fail;
24502 }
24503 resultobj = SWIG_Py_Void();
24504 return resultobj;
24505 fail:
24506 return NULL;
24507 }
24508
24509
24510 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24511 PyObject *resultobj = 0;
24512 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24513 bool arg2 ;
24514 void *argp1 = 0 ;
24515 int res1 = 0 ;
24516 bool val2 ;
24517 int ecode2 = 0 ;
24518 PyObject * obj0 = 0 ;
24519 PyObject * obj1 = 0 ;
24520 char * kwnames[] = {
24521 (char *) "self",(char *) "flag", NULL
24522 };
24523
24524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24526 if (!SWIG_IsOK(res1)) {
24527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24528 }
24529 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24530 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24531 if (!SWIG_IsOK(ecode2)) {
24532 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24533 }
24534 arg2 = static_cast< bool >(val2);
24535 {
24536 PyThreadState* __tstate = wxPyBeginAllowThreads();
24537 (arg1)->EnablePaper(arg2);
24538 wxPyEndAllowThreads(__tstate);
24539 if (PyErr_Occurred()) SWIG_fail;
24540 }
24541 resultobj = SWIG_Py_Void();
24542 return resultobj;
24543 fail:
24544 return NULL;
24545 }
24546
24547
24548 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24549 PyObject *resultobj = 0;
24550 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24551 bool arg2 ;
24552 void *argp1 = 0 ;
24553 int res1 = 0 ;
24554 bool val2 ;
24555 int ecode2 = 0 ;
24556 PyObject * obj0 = 0 ;
24557 PyObject * obj1 = 0 ;
24558 char * kwnames[] = {
24559 (char *) "self",(char *) "flag", NULL
24560 };
24561
24562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24564 if (!SWIG_IsOK(res1)) {
24565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24566 }
24567 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24568 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24569 if (!SWIG_IsOK(ecode2)) {
24570 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24571 }
24572 arg2 = static_cast< bool >(val2);
24573 {
24574 PyThreadState* __tstate = wxPyBeginAllowThreads();
24575 (arg1)->EnablePrinter(arg2);
24576 wxPyEndAllowThreads(__tstate);
24577 if (PyErr_Occurred()) SWIG_fail;
24578 }
24579 resultobj = SWIG_Py_Void();
24580 return resultobj;
24581 fail:
24582 return NULL;
24583 }
24584
24585
24586 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24587 PyObject *resultobj = 0;
24588 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24589 bool result;
24590 void *argp1 = 0 ;
24591 int res1 = 0 ;
24592 PyObject *swig_obj[1] ;
24593
24594 if (!args) SWIG_fail;
24595 swig_obj[0] = args;
24596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24597 if (!SWIG_IsOK(res1)) {
24598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24599 }
24600 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24601 {
24602 PyThreadState* __tstate = wxPyBeginAllowThreads();
24603 result = (bool)(arg1)->GetDefaultMinMargins();
24604 wxPyEndAllowThreads(__tstate);
24605 if (PyErr_Occurred()) SWIG_fail;
24606 }
24607 {
24608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24609 }
24610 return resultobj;
24611 fail:
24612 return NULL;
24613 }
24614
24615
24616 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24617 PyObject *resultobj = 0;
24618 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24619 bool result;
24620 void *argp1 = 0 ;
24621 int res1 = 0 ;
24622 PyObject *swig_obj[1] ;
24623
24624 if (!args) SWIG_fail;
24625 swig_obj[0] = args;
24626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24627 if (!SWIG_IsOK(res1)) {
24628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24629 }
24630 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24631 {
24632 PyThreadState* __tstate = wxPyBeginAllowThreads();
24633 result = (bool)(arg1)->GetEnableMargins();
24634 wxPyEndAllowThreads(__tstate);
24635 if (PyErr_Occurred()) SWIG_fail;
24636 }
24637 {
24638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24639 }
24640 return resultobj;
24641 fail:
24642 return NULL;
24643 }
24644
24645
24646 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24647 PyObject *resultobj = 0;
24648 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24649 bool result;
24650 void *argp1 = 0 ;
24651 int res1 = 0 ;
24652 PyObject *swig_obj[1] ;
24653
24654 if (!args) SWIG_fail;
24655 swig_obj[0] = args;
24656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24657 if (!SWIG_IsOK(res1)) {
24658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24659 }
24660 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24661 {
24662 PyThreadState* __tstate = wxPyBeginAllowThreads();
24663 result = (bool)(arg1)->GetEnableOrientation();
24664 wxPyEndAllowThreads(__tstate);
24665 if (PyErr_Occurred()) SWIG_fail;
24666 }
24667 {
24668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24669 }
24670 return resultobj;
24671 fail:
24672 return NULL;
24673 }
24674
24675
24676 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24677 PyObject *resultobj = 0;
24678 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24679 bool result;
24680 void *argp1 = 0 ;
24681 int res1 = 0 ;
24682 PyObject *swig_obj[1] ;
24683
24684 if (!args) SWIG_fail;
24685 swig_obj[0] = args;
24686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24687 if (!SWIG_IsOK(res1)) {
24688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24689 }
24690 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24691 {
24692 PyThreadState* __tstate = wxPyBeginAllowThreads();
24693 result = (bool)(arg1)->GetEnablePaper();
24694 wxPyEndAllowThreads(__tstate);
24695 if (PyErr_Occurred()) SWIG_fail;
24696 }
24697 {
24698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24699 }
24700 return resultobj;
24701 fail:
24702 return NULL;
24703 }
24704
24705
24706 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24707 PyObject *resultobj = 0;
24708 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24709 bool result;
24710 void *argp1 = 0 ;
24711 int res1 = 0 ;
24712 PyObject *swig_obj[1] ;
24713
24714 if (!args) SWIG_fail;
24715 swig_obj[0] = args;
24716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24717 if (!SWIG_IsOK(res1)) {
24718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24719 }
24720 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24721 {
24722 PyThreadState* __tstate = wxPyBeginAllowThreads();
24723 result = (bool)(arg1)->GetEnablePrinter();
24724 wxPyEndAllowThreads(__tstate);
24725 if (PyErr_Occurred()) SWIG_fail;
24726 }
24727 {
24728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24729 }
24730 return resultobj;
24731 fail:
24732 return NULL;
24733 }
24734
24735
24736 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24737 PyObject *resultobj = 0;
24738 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24739 bool result;
24740 void *argp1 = 0 ;
24741 int res1 = 0 ;
24742 PyObject *swig_obj[1] ;
24743
24744 if (!args) SWIG_fail;
24745 swig_obj[0] = args;
24746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24747 if (!SWIG_IsOK(res1)) {
24748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24749 }
24750 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24751 {
24752 PyThreadState* __tstate = wxPyBeginAllowThreads();
24753 result = (bool)(arg1)->GetEnableHelp();
24754 wxPyEndAllowThreads(__tstate);
24755 if (PyErr_Occurred()) SWIG_fail;
24756 }
24757 {
24758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24759 }
24760 return resultobj;
24761 fail:
24762 return NULL;
24763 }
24764
24765
24766 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24767 PyObject *resultobj = 0;
24768 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24769 bool result;
24770 void *argp1 = 0 ;
24771 int res1 = 0 ;
24772 PyObject *swig_obj[1] ;
24773
24774 if (!args) SWIG_fail;
24775 swig_obj[0] = args;
24776 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24777 if (!SWIG_IsOK(res1)) {
24778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24779 }
24780 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24781 {
24782 PyThreadState* __tstate = wxPyBeginAllowThreads();
24783 result = (bool)(arg1)->GetDefaultInfo();
24784 wxPyEndAllowThreads(__tstate);
24785 if (PyErr_Occurred()) SWIG_fail;
24786 }
24787 {
24788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24789 }
24790 return resultobj;
24791 fail:
24792 return NULL;
24793 }
24794
24795
24796 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24797 PyObject *resultobj = 0;
24798 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24799 wxPoint result;
24800 void *argp1 = 0 ;
24801 int res1 = 0 ;
24802 PyObject *swig_obj[1] ;
24803
24804 if (!args) SWIG_fail;
24805 swig_obj[0] = args;
24806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24807 if (!SWIG_IsOK(res1)) {
24808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24809 }
24810 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24811 {
24812 PyThreadState* __tstate = wxPyBeginAllowThreads();
24813 result = (arg1)->GetMarginTopLeft();
24814 wxPyEndAllowThreads(__tstate);
24815 if (PyErr_Occurred()) SWIG_fail;
24816 }
24817 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24818 return resultobj;
24819 fail:
24820 return NULL;
24821 }
24822
24823
24824 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24825 PyObject *resultobj = 0;
24826 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24827 wxPoint result;
24828 void *argp1 = 0 ;
24829 int res1 = 0 ;
24830 PyObject *swig_obj[1] ;
24831
24832 if (!args) SWIG_fail;
24833 swig_obj[0] = args;
24834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24835 if (!SWIG_IsOK(res1)) {
24836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24837 }
24838 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24839 {
24840 PyThreadState* __tstate = wxPyBeginAllowThreads();
24841 result = (arg1)->GetMarginBottomRight();
24842 wxPyEndAllowThreads(__tstate);
24843 if (PyErr_Occurred()) SWIG_fail;
24844 }
24845 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24846 return resultobj;
24847 fail:
24848 return NULL;
24849 }
24850
24851
24852 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24853 PyObject *resultobj = 0;
24854 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24855 wxPoint result;
24856 void *argp1 = 0 ;
24857 int res1 = 0 ;
24858 PyObject *swig_obj[1] ;
24859
24860 if (!args) SWIG_fail;
24861 swig_obj[0] = args;
24862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24863 if (!SWIG_IsOK(res1)) {
24864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24865 }
24866 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24867 {
24868 PyThreadState* __tstate = wxPyBeginAllowThreads();
24869 result = (arg1)->GetMinMarginTopLeft();
24870 wxPyEndAllowThreads(__tstate);
24871 if (PyErr_Occurred()) SWIG_fail;
24872 }
24873 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24874 return resultobj;
24875 fail:
24876 return NULL;
24877 }
24878
24879
24880 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24881 PyObject *resultobj = 0;
24882 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24883 wxPoint result;
24884 void *argp1 = 0 ;
24885 int res1 = 0 ;
24886 PyObject *swig_obj[1] ;
24887
24888 if (!args) SWIG_fail;
24889 swig_obj[0] = args;
24890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24891 if (!SWIG_IsOK(res1)) {
24892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24893 }
24894 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24895 {
24896 PyThreadState* __tstate = wxPyBeginAllowThreads();
24897 result = (arg1)->GetMinMarginBottomRight();
24898 wxPyEndAllowThreads(__tstate);
24899 if (PyErr_Occurred()) SWIG_fail;
24900 }
24901 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24902 return resultobj;
24903 fail:
24904 return NULL;
24905 }
24906
24907
24908 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24909 PyObject *resultobj = 0;
24910 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24911 wxPaperSize result;
24912 void *argp1 = 0 ;
24913 int res1 = 0 ;
24914 PyObject *swig_obj[1] ;
24915
24916 if (!args) SWIG_fail;
24917 swig_obj[0] = args;
24918 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24919 if (!SWIG_IsOK(res1)) {
24920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24921 }
24922 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24923 {
24924 PyThreadState* __tstate = wxPyBeginAllowThreads();
24925 result = (wxPaperSize)(arg1)->GetPaperId();
24926 wxPyEndAllowThreads(__tstate);
24927 if (PyErr_Occurred()) SWIG_fail;
24928 }
24929 resultobj = SWIG_From_int(static_cast< int >(result));
24930 return resultobj;
24931 fail:
24932 return NULL;
24933 }
24934
24935
24936 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24937 PyObject *resultobj = 0;
24938 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24939 wxSize 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_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24949 }
24950 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24951 {
24952 PyThreadState* __tstate = wxPyBeginAllowThreads();
24953 result = (arg1)->GetPaperSize();
24954 wxPyEndAllowThreads(__tstate);
24955 if (PyErr_Occurred()) SWIG_fail;
24956 }
24957 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24958 return resultobj;
24959 fail:
24960 return NULL;
24961 }
24962
24963
24964 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24965 PyObject *resultobj = 0;
24966 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24967 wxPrintData *result = 0 ;
24968 void *argp1 = 0 ;
24969 int res1 = 0 ;
24970 PyObject *swig_obj[1] ;
24971
24972 if (!args) SWIG_fail;
24973 swig_obj[0] = args;
24974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24975 if (!SWIG_IsOK(res1)) {
24976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24977 }
24978 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24979 {
24980 PyThreadState* __tstate = wxPyBeginAllowThreads();
24981 {
24982 wxPrintData &_result_ref = (arg1)->GetPrintData();
24983 result = (wxPrintData *) &_result_ref;
24984 }
24985 wxPyEndAllowThreads(__tstate);
24986 if (PyErr_Occurred()) SWIG_fail;
24987 }
24988 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
24989 return resultobj;
24990 fail:
24991 return NULL;
24992 }
24993
24994
24995 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24996 PyObject *resultobj = 0;
24997 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24998 bool result;
24999 void *argp1 = 0 ;
25000 int res1 = 0 ;
25001 PyObject *swig_obj[1] ;
25002
25003 if (!args) SWIG_fail;
25004 swig_obj[0] = args;
25005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25006 if (!SWIG_IsOK(res1)) {
25007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25008 }
25009 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25010 {
25011 PyThreadState* __tstate = wxPyBeginAllowThreads();
25012 result = (bool)(arg1)->Ok();
25013 wxPyEndAllowThreads(__tstate);
25014 if (PyErr_Occurred()) SWIG_fail;
25015 }
25016 {
25017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25018 }
25019 return resultobj;
25020 fail:
25021 return NULL;
25022 }
25023
25024
25025 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25026 PyObject *resultobj = 0;
25027 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25028 bool arg2 ;
25029 void *argp1 = 0 ;
25030 int res1 = 0 ;
25031 bool val2 ;
25032 int ecode2 = 0 ;
25033 PyObject * obj0 = 0 ;
25034 PyObject * obj1 = 0 ;
25035 char * kwnames[] = {
25036 (char *) "self",(char *) "flag", NULL
25037 };
25038
25039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25041 if (!SWIG_IsOK(res1)) {
25042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25043 }
25044 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25045 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25046 if (!SWIG_IsOK(ecode2)) {
25047 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25048 }
25049 arg2 = static_cast< bool >(val2);
25050 {
25051 PyThreadState* __tstate = wxPyBeginAllowThreads();
25052 (arg1)->SetDefaultInfo(arg2);
25053 wxPyEndAllowThreads(__tstate);
25054 if (PyErr_Occurred()) SWIG_fail;
25055 }
25056 resultobj = SWIG_Py_Void();
25057 return resultobj;
25058 fail:
25059 return NULL;
25060 }
25061
25062
25063 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25064 PyObject *resultobj = 0;
25065 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25066 bool arg2 ;
25067 void *argp1 = 0 ;
25068 int res1 = 0 ;
25069 bool val2 ;
25070 int ecode2 = 0 ;
25071 PyObject * obj0 = 0 ;
25072 PyObject * obj1 = 0 ;
25073 char * kwnames[] = {
25074 (char *) "self",(char *) "flag", NULL
25075 };
25076
25077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25079 if (!SWIG_IsOK(res1)) {
25080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25081 }
25082 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25083 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25084 if (!SWIG_IsOK(ecode2)) {
25085 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25086 }
25087 arg2 = static_cast< bool >(val2);
25088 {
25089 PyThreadState* __tstate = wxPyBeginAllowThreads();
25090 (arg1)->SetDefaultMinMargins(arg2);
25091 wxPyEndAllowThreads(__tstate);
25092 if (PyErr_Occurred()) SWIG_fail;
25093 }
25094 resultobj = SWIG_Py_Void();
25095 return resultobj;
25096 fail:
25097 return NULL;
25098 }
25099
25100
25101 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25102 PyObject *resultobj = 0;
25103 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25104 wxPoint *arg2 = 0 ;
25105 void *argp1 = 0 ;
25106 int res1 = 0 ;
25107 wxPoint temp2 ;
25108 PyObject * obj0 = 0 ;
25109 PyObject * obj1 = 0 ;
25110 char * kwnames[] = {
25111 (char *) "self",(char *) "pt", NULL
25112 };
25113
25114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25116 if (!SWIG_IsOK(res1)) {
25117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25118 }
25119 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25120 {
25121 arg2 = &temp2;
25122 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25123 }
25124 {
25125 PyThreadState* __tstate = wxPyBeginAllowThreads();
25126 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25127 wxPyEndAllowThreads(__tstate);
25128 if (PyErr_Occurred()) SWIG_fail;
25129 }
25130 resultobj = SWIG_Py_Void();
25131 return resultobj;
25132 fail:
25133 return NULL;
25134 }
25135
25136
25137 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25138 PyObject *resultobj = 0;
25139 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25140 wxPoint *arg2 = 0 ;
25141 void *argp1 = 0 ;
25142 int res1 = 0 ;
25143 wxPoint temp2 ;
25144 PyObject * obj0 = 0 ;
25145 PyObject * obj1 = 0 ;
25146 char * kwnames[] = {
25147 (char *) "self",(char *) "pt", NULL
25148 };
25149
25150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25152 if (!SWIG_IsOK(res1)) {
25153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25154 }
25155 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25156 {
25157 arg2 = &temp2;
25158 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25159 }
25160 {
25161 PyThreadState* __tstate = wxPyBeginAllowThreads();
25162 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25163 wxPyEndAllowThreads(__tstate);
25164 if (PyErr_Occurred()) SWIG_fail;
25165 }
25166 resultobj = SWIG_Py_Void();
25167 return resultobj;
25168 fail:
25169 return NULL;
25170 }
25171
25172
25173 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25174 PyObject *resultobj = 0;
25175 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25176 wxPoint *arg2 = 0 ;
25177 void *argp1 = 0 ;
25178 int res1 = 0 ;
25179 wxPoint temp2 ;
25180 PyObject * obj0 = 0 ;
25181 PyObject * obj1 = 0 ;
25182 char * kwnames[] = {
25183 (char *) "self",(char *) "pt", NULL
25184 };
25185
25186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25188 if (!SWIG_IsOK(res1)) {
25189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25190 }
25191 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25192 {
25193 arg2 = &temp2;
25194 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25195 }
25196 {
25197 PyThreadState* __tstate = wxPyBeginAllowThreads();
25198 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25199 wxPyEndAllowThreads(__tstate);
25200 if (PyErr_Occurred()) SWIG_fail;
25201 }
25202 resultobj = SWIG_Py_Void();
25203 return resultobj;
25204 fail:
25205 return NULL;
25206 }
25207
25208
25209 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25210 PyObject *resultobj = 0;
25211 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25212 wxPoint *arg2 = 0 ;
25213 void *argp1 = 0 ;
25214 int res1 = 0 ;
25215 wxPoint temp2 ;
25216 PyObject * obj0 = 0 ;
25217 PyObject * obj1 = 0 ;
25218 char * kwnames[] = {
25219 (char *) "self",(char *) "pt", NULL
25220 };
25221
25222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25224 if (!SWIG_IsOK(res1)) {
25225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25226 }
25227 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25228 {
25229 arg2 = &temp2;
25230 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25231 }
25232 {
25233 PyThreadState* __tstate = wxPyBeginAllowThreads();
25234 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25235 wxPyEndAllowThreads(__tstate);
25236 if (PyErr_Occurred()) SWIG_fail;
25237 }
25238 resultobj = SWIG_Py_Void();
25239 return resultobj;
25240 fail:
25241 return NULL;
25242 }
25243
25244
25245 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25246 PyObject *resultobj = 0;
25247 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25248 wxPaperSize arg2 ;
25249 void *argp1 = 0 ;
25250 int res1 = 0 ;
25251 int val2 ;
25252 int ecode2 = 0 ;
25253 PyObject * obj0 = 0 ;
25254 PyObject * obj1 = 0 ;
25255 char * kwnames[] = {
25256 (char *) "self",(char *) "id", NULL
25257 };
25258
25259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25261 if (!SWIG_IsOK(res1)) {
25262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25263 }
25264 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25265 ecode2 = SWIG_AsVal_int(obj1, &val2);
25266 if (!SWIG_IsOK(ecode2)) {
25267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25268 }
25269 arg2 = static_cast< wxPaperSize >(val2);
25270 {
25271 PyThreadState* __tstate = wxPyBeginAllowThreads();
25272 (arg1)->SetPaperId(arg2);
25273 wxPyEndAllowThreads(__tstate);
25274 if (PyErr_Occurred()) SWIG_fail;
25275 }
25276 resultobj = SWIG_Py_Void();
25277 return resultobj;
25278 fail:
25279 return NULL;
25280 }
25281
25282
25283 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25284 PyObject *resultobj = 0;
25285 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25286 wxSize *arg2 = 0 ;
25287 void *argp1 = 0 ;
25288 int res1 = 0 ;
25289 wxSize temp2 ;
25290 PyObject * obj0 = 0 ;
25291 PyObject * obj1 = 0 ;
25292 char * kwnames[] = {
25293 (char *) "self",(char *) "size", NULL
25294 };
25295
25296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25298 if (!SWIG_IsOK(res1)) {
25299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25300 }
25301 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25302 {
25303 arg2 = &temp2;
25304 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25305 }
25306 {
25307 PyThreadState* __tstate = wxPyBeginAllowThreads();
25308 (arg1)->SetPaperSize((wxSize const &)*arg2);
25309 wxPyEndAllowThreads(__tstate);
25310 if (PyErr_Occurred()) SWIG_fail;
25311 }
25312 resultobj = SWIG_Py_Void();
25313 return resultobj;
25314 fail:
25315 return NULL;
25316 }
25317
25318
25319 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25320 PyObject *resultobj = 0;
25321 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25322 wxPrintData *arg2 = 0 ;
25323 void *argp1 = 0 ;
25324 int res1 = 0 ;
25325 void *argp2 = 0 ;
25326 int res2 = 0 ;
25327 PyObject * obj0 = 0 ;
25328 PyObject * obj1 = 0 ;
25329 char * kwnames[] = {
25330 (char *) "self",(char *) "printData", NULL
25331 };
25332
25333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25335 if (!SWIG_IsOK(res1)) {
25336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25337 }
25338 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25339 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25340 if (!SWIG_IsOK(res2)) {
25341 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25342 }
25343 if (!argp2) {
25344 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25345 }
25346 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25347 {
25348 PyThreadState* __tstate = wxPyBeginAllowThreads();
25349 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25350 wxPyEndAllowThreads(__tstate);
25351 if (PyErr_Occurred()) SWIG_fail;
25352 }
25353 resultobj = SWIG_Py_Void();
25354 return resultobj;
25355 fail:
25356 return NULL;
25357 }
25358
25359
25360 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25361 PyObject *resultobj = 0;
25362 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25363 void *argp1 = 0 ;
25364 int res1 = 0 ;
25365 PyObject *swig_obj[1] ;
25366
25367 if (!args) SWIG_fail;
25368 swig_obj[0] = args;
25369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25370 if (!SWIG_IsOK(res1)) {
25371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25372 }
25373 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25374 {
25375 PyThreadState* __tstate = wxPyBeginAllowThreads();
25376 (arg1)->CalculateIdFromPaperSize();
25377 wxPyEndAllowThreads(__tstate);
25378 if (PyErr_Occurred()) SWIG_fail;
25379 }
25380 resultobj = SWIG_Py_Void();
25381 return resultobj;
25382 fail:
25383 return NULL;
25384 }
25385
25386
25387 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25388 PyObject *resultobj = 0;
25389 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25390 void *argp1 = 0 ;
25391 int res1 = 0 ;
25392 PyObject *swig_obj[1] ;
25393
25394 if (!args) SWIG_fail;
25395 swig_obj[0] = args;
25396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25397 if (!SWIG_IsOK(res1)) {
25398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25399 }
25400 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25401 {
25402 PyThreadState* __tstate = wxPyBeginAllowThreads();
25403 (arg1)->CalculatePaperSizeFromId();
25404 wxPyEndAllowThreads(__tstate);
25405 if (PyErr_Occurred()) SWIG_fail;
25406 }
25407 resultobj = SWIG_Py_Void();
25408 return resultobj;
25409 fail:
25410 return NULL;
25411 }
25412
25413
25414 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25415 PyObject *obj;
25416 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25417 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25418 return SWIG_Py_Void();
25419 }
25420
25421 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25422 return SWIG_Python_InitShadowInstance(args);
25423 }
25424
25425 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25426 PyObject *resultobj = 0;
25427 wxWindow *arg1 = (wxWindow *) 0 ;
25428 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25429 wxPageSetupDialog *result = 0 ;
25430 void *argp1 = 0 ;
25431 int res1 = 0 ;
25432 void *argp2 = 0 ;
25433 int res2 = 0 ;
25434 PyObject * obj0 = 0 ;
25435 PyObject * obj1 = 0 ;
25436 char * kwnames[] = {
25437 (char *) "parent",(char *) "data", NULL
25438 };
25439
25440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25442 if (!SWIG_IsOK(res1)) {
25443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25444 }
25445 arg1 = reinterpret_cast< wxWindow * >(argp1);
25446 if (obj1) {
25447 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25448 if (!SWIG_IsOK(res2)) {
25449 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25450 }
25451 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25452 }
25453 {
25454 if (!wxPyCheckForApp()) SWIG_fail;
25455 PyThreadState* __tstate = wxPyBeginAllowThreads();
25456 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25457 wxPyEndAllowThreads(__tstate);
25458 if (PyErr_Occurred()) SWIG_fail;
25459 }
25460 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25461 return resultobj;
25462 fail:
25463 return NULL;
25464 }
25465
25466
25467 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25468 PyObject *resultobj = 0;
25469 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25470 void *argp1 = 0 ;
25471 int res1 = 0 ;
25472 PyObject *swig_obj[1] ;
25473
25474 if (!args) SWIG_fail;
25475 swig_obj[0] = args;
25476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25477 if (!SWIG_IsOK(res1)) {
25478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25479 }
25480 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25481 {
25482 PyThreadState* __tstate = wxPyBeginAllowThreads();
25483 delete arg1;
25484
25485 wxPyEndAllowThreads(__tstate);
25486 if (PyErr_Occurred()) SWIG_fail;
25487 }
25488 resultobj = SWIG_Py_Void();
25489 return resultobj;
25490 fail:
25491 return NULL;
25492 }
25493
25494
25495 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25496 PyObject *resultobj = 0;
25497 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25498 wxPageSetupDialogData *result = 0 ;
25499 void *argp1 = 0 ;
25500 int res1 = 0 ;
25501 PyObject *swig_obj[1] ;
25502
25503 if (!args) SWIG_fail;
25504 swig_obj[0] = args;
25505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25506 if (!SWIG_IsOK(res1)) {
25507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25508 }
25509 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25510 {
25511 PyThreadState* __tstate = wxPyBeginAllowThreads();
25512 {
25513 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25514 result = (wxPageSetupDialogData *) &_result_ref;
25515 }
25516 wxPyEndAllowThreads(__tstate);
25517 if (PyErr_Occurred()) SWIG_fail;
25518 }
25519 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25520 return resultobj;
25521 fail:
25522 return NULL;
25523 }
25524
25525
25526 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25527 PyObject *resultobj = 0;
25528 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25529 wxPageSetupDialogData *result = 0 ;
25530 void *argp1 = 0 ;
25531 int res1 = 0 ;
25532 PyObject *swig_obj[1] ;
25533
25534 if (!args) SWIG_fail;
25535 swig_obj[0] = args;
25536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25537 if (!SWIG_IsOK(res1)) {
25538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25539 }
25540 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25541 {
25542 PyThreadState* __tstate = wxPyBeginAllowThreads();
25543 {
25544 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25545 result = (wxPageSetupDialogData *) &_result_ref;
25546 }
25547 wxPyEndAllowThreads(__tstate);
25548 if (PyErr_Occurred()) SWIG_fail;
25549 }
25550 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25551 return resultobj;
25552 fail:
25553 return NULL;
25554 }
25555
25556
25557 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25558 PyObject *resultobj = 0;
25559 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25560 int result;
25561 void *argp1 = 0 ;
25562 int res1 = 0 ;
25563 PyObject *swig_obj[1] ;
25564
25565 if (!args) SWIG_fail;
25566 swig_obj[0] = args;
25567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25568 if (!SWIG_IsOK(res1)) {
25569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25570 }
25571 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25572 {
25573 PyThreadState* __tstate = wxPyBeginAllowThreads();
25574 result = (int)(arg1)->ShowModal();
25575 wxPyEndAllowThreads(__tstate);
25576 if (PyErr_Occurred()) SWIG_fail;
25577 }
25578 resultobj = SWIG_From_int(static_cast< int >(result));
25579 return resultobj;
25580 fail:
25581 return NULL;
25582 }
25583
25584
25585 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25586 PyObject *obj;
25587 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25588 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25589 return SWIG_Py_Void();
25590 }
25591
25592 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25593 return SWIG_Python_InitShadowInstance(args);
25594 }
25595
25596 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25597 PyObject *resultobj = 0;
25598 wxPrintDialogData *result = 0 ;
25599
25600 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25601 {
25602 PyThreadState* __tstate = wxPyBeginAllowThreads();
25603 result = (wxPrintDialogData *)new wxPrintDialogData();
25604 wxPyEndAllowThreads(__tstate);
25605 if (PyErr_Occurred()) SWIG_fail;
25606 }
25607 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25608 return resultobj;
25609 fail:
25610 return NULL;
25611 }
25612
25613
25614 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25615 PyObject *resultobj = 0;
25616 wxPrintData *arg1 = 0 ;
25617 wxPrintDialogData *result = 0 ;
25618 void *argp1 = 0 ;
25619 int res1 = 0 ;
25620
25621 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25623 if (!SWIG_IsOK(res1)) {
25624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25625 }
25626 if (!argp1) {
25627 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25628 }
25629 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25630 {
25631 PyThreadState* __tstate = wxPyBeginAllowThreads();
25632 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25633 wxPyEndAllowThreads(__tstate);
25634 if (PyErr_Occurred()) SWIG_fail;
25635 }
25636 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25637 return resultobj;
25638 fail:
25639 return NULL;
25640 }
25641
25642
25643 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25644 PyObject *resultobj = 0;
25645 wxPrintDialogData *arg1 = 0 ;
25646 wxPrintDialogData *result = 0 ;
25647 void *argp1 = 0 ;
25648 int res1 = 0 ;
25649
25650 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25652 if (!SWIG_IsOK(res1)) {
25653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25654 }
25655 if (!argp1) {
25656 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25657 }
25658 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25659 {
25660 PyThreadState* __tstate = wxPyBeginAllowThreads();
25661 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25662 wxPyEndAllowThreads(__tstate);
25663 if (PyErr_Occurred()) SWIG_fail;
25664 }
25665 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25666 return resultobj;
25667 fail:
25668 return NULL;
25669 }
25670
25671
25672 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25673 int argc;
25674 PyObject *argv[2];
25675
25676 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25677 --argc;
25678 if (argc == 0) {
25679 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25680 }
25681 if (argc == 1) {
25682 int _v = 0;
25683 {
25684 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25685 _v = SWIG_CheckState(res);
25686 }
25687 if (!_v) goto check_2;
25688 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25689 }
25690 check_2:
25691
25692 if (argc == 1) {
25693 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25694 }
25695
25696 fail:
25697 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25698 return NULL;
25699 }
25700
25701
25702 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25703 PyObject *resultobj = 0;
25704 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25705 void *argp1 = 0 ;
25706 int res1 = 0 ;
25707 PyObject *swig_obj[1] ;
25708
25709 if (!args) SWIG_fail;
25710 swig_obj[0] = args;
25711 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25712 if (!SWIG_IsOK(res1)) {
25713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25714 }
25715 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25716 {
25717 PyThreadState* __tstate = wxPyBeginAllowThreads();
25718 delete arg1;
25719
25720 wxPyEndAllowThreads(__tstate);
25721 if (PyErr_Occurred()) SWIG_fail;
25722 }
25723 resultobj = SWIG_Py_Void();
25724 return resultobj;
25725 fail:
25726 return NULL;
25727 }
25728
25729
25730 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25731 PyObject *resultobj = 0;
25732 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25733 int result;
25734 void *argp1 = 0 ;
25735 int res1 = 0 ;
25736 PyObject *swig_obj[1] ;
25737
25738 if (!args) SWIG_fail;
25739 swig_obj[0] = args;
25740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25741 if (!SWIG_IsOK(res1)) {
25742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25743 }
25744 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25745 {
25746 PyThreadState* __tstate = wxPyBeginAllowThreads();
25747 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25748 wxPyEndAllowThreads(__tstate);
25749 if (PyErr_Occurred()) SWIG_fail;
25750 }
25751 resultobj = SWIG_From_int(static_cast< int >(result));
25752 return resultobj;
25753 fail:
25754 return NULL;
25755 }
25756
25757
25758 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25759 PyObject *resultobj = 0;
25760 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25761 int result;
25762 void *argp1 = 0 ;
25763 int res1 = 0 ;
25764 PyObject *swig_obj[1] ;
25765
25766 if (!args) SWIG_fail;
25767 swig_obj[0] = args;
25768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25769 if (!SWIG_IsOK(res1)) {
25770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25771 }
25772 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25773 {
25774 PyThreadState* __tstate = wxPyBeginAllowThreads();
25775 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25776 wxPyEndAllowThreads(__tstate);
25777 if (PyErr_Occurred()) SWIG_fail;
25778 }
25779 resultobj = SWIG_From_int(static_cast< int >(result));
25780 return resultobj;
25781 fail:
25782 return NULL;
25783 }
25784
25785
25786 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25787 PyObject *resultobj = 0;
25788 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25789 int result;
25790 void *argp1 = 0 ;
25791 int res1 = 0 ;
25792 PyObject *swig_obj[1] ;
25793
25794 if (!args) SWIG_fail;
25795 swig_obj[0] = args;
25796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25797 if (!SWIG_IsOK(res1)) {
25798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25799 }
25800 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25801 {
25802 PyThreadState* __tstate = wxPyBeginAllowThreads();
25803 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
25804 wxPyEndAllowThreads(__tstate);
25805 if (PyErr_Occurred()) SWIG_fail;
25806 }
25807 resultobj = SWIG_From_int(static_cast< int >(result));
25808 return resultobj;
25809 fail:
25810 return NULL;
25811 }
25812
25813
25814 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25815 PyObject *resultobj = 0;
25816 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25817 int result;
25818 void *argp1 = 0 ;
25819 int res1 = 0 ;
25820 PyObject *swig_obj[1] ;
25821
25822 if (!args) SWIG_fail;
25823 swig_obj[0] = args;
25824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25825 if (!SWIG_IsOK(res1)) {
25826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25827 }
25828 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25829 {
25830 PyThreadState* __tstate = wxPyBeginAllowThreads();
25831 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
25832 wxPyEndAllowThreads(__tstate);
25833 if (PyErr_Occurred()) SWIG_fail;
25834 }
25835 resultobj = SWIG_From_int(static_cast< int >(result));
25836 return resultobj;
25837 fail:
25838 return NULL;
25839 }
25840
25841
25842 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25843 PyObject *resultobj = 0;
25844 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25845 int result;
25846 void *argp1 = 0 ;
25847 int res1 = 0 ;
25848 PyObject *swig_obj[1] ;
25849
25850 if (!args) SWIG_fail;
25851 swig_obj[0] = args;
25852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25853 if (!SWIG_IsOK(res1)) {
25854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25855 }
25856 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25857 {
25858 PyThreadState* __tstate = wxPyBeginAllowThreads();
25859 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
25860 wxPyEndAllowThreads(__tstate);
25861 if (PyErr_Occurred()) SWIG_fail;
25862 }
25863 resultobj = SWIG_From_int(static_cast< int >(result));
25864 return resultobj;
25865 fail:
25866 return NULL;
25867 }
25868
25869
25870 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25871 PyObject *resultobj = 0;
25872 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25873 bool result;
25874 void *argp1 = 0 ;
25875 int res1 = 0 ;
25876 PyObject *swig_obj[1] ;
25877
25878 if (!args) SWIG_fail;
25879 swig_obj[0] = args;
25880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25881 if (!SWIG_IsOK(res1)) {
25882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25883 }
25884 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25885 {
25886 PyThreadState* __tstate = wxPyBeginAllowThreads();
25887 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
25888 wxPyEndAllowThreads(__tstate);
25889 if (PyErr_Occurred()) SWIG_fail;
25890 }
25891 {
25892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25893 }
25894 return resultobj;
25895 fail:
25896 return NULL;
25897 }
25898
25899
25900 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25901 PyObject *resultobj = 0;
25902 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25903 bool result;
25904 void *argp1 = 0 ;
25905 int res1 = 0 ;
25906 PyObject *swig_obj[1] ;
25907
25908 if (!args) SWIG_fail;
25909 swig_obj[0] = args;
25910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25911 if (!SWIG_IsOK(res1)) {
25912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25913 }
25914 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25915 {
25916 PyThreadState* __tstate = wxPyBeginAllowThreads();
25917 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
25918 wxPyEndAllowThreads(__tstate);
25919 if (PyErr_Occurred()) SWIG_fail;
25920 }
25921 {
25922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25923 }
25924 return resultobj;
25925 fail:
25926 return NULL;
25927 }
25928
25929
25930 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25931 PyObject *resultobj = 0;
25932 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25933 bool result;
25934 void *argp1 = 0 ;
25935 int res1 = 0 ;
25936 PyObject *swig_obj[1] ;
25937
25938 if (!args) SWIG_fail;
25939 swig_obj[0] = args;
25940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25941 if (!SWIG_IsOK(res1)) {
25942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25943 }
25944 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25945 {
25946 PyThreadState* __tstate = wxPyBeginAllowThreads();
25947 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
25948 wxPyEndAllowThreads(__tstate);
25949 if (PyErr_Occurred()) SWIG_fail;
25950 }
25951 {
25952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25953 }
25954 return resultobj;
25955 fail:
25956 return NULL;
25957 }
25958
25959
25960 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25961 PyObject *resultobj = 0;
25962 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25963 bool result;
25964 void *argp1 = 0 ;
25965 int res1 = 0 ;
25966 PyObject *swig_obj[1] ;
25967
25968 if (!args) SWIG_fail;
25969 swig_obj[0] = args;
25970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25971 if (!SWIG_IsOK(res1)) {
25972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25973 }
25974 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25975 {
25976 PyThreadState* __tstate = wxPyBeginAllowThreads();
25977 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
25978 wxPyEndAllowThreads(__tstate);
25979 if (PyErr_Occurred()) SWIG_fail;
25980 }
25981 {
25982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25983 }
25984 return resultobj;
25985 fail:
25986 return NULL;
25987 }
25988
25989
25990 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25991 PyObject *resultobj = 0;
25992 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25993 int arg2 ;
25994 void *argp1 = 0 ;
25995 int res1 = 0 ;
25996 int val2 ;
25997 int ecode2 = 0 ;
25998 PyObject * obj0 = 0 ;
25999 PyObject * obj1 = 0 ;
26000 char * kwnames[] = {
26001 (char *) "self",(char *) "v", NULL
26002 };
26003
26004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26006 if (!SWIG_IsOK(res1)) {
26007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26008 }
26009 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26010 ecode2 = SWIG_AsVal_int(obj1, &val2);
26011 if (!SWIG_IsOK(ecode2)) {
26012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26013 }
26014 arg2 = static_cast< int >(val2);
26015 {
26016 PyThreadState* __tstate = wxPyBeginAllowThreads();
26017 (arg1)->SetFromPage(arg2);
26018 wxPyEndAllowThreads(__tstate);
26019 if (PyErr_Occurred()) SWIG_fail;
26020 }
26021 resultobj = SWIG_Py_Void();
26022 return resultobj;
26023 fail:
26024 return NULL;
26025 }
26026
26027
26028 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26029 PyObject *resultobj = 0;
26030 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26031 int arg2 ;
26032 void *argp1 = 0 ;
26033 int res1 = 0 ;
26034 int val2 ;
26035 int ecode2 = 0 ;
26036 PyObject * obj0 = 0 ;
26037 PyObject * obj1 = 0 ;
26038 char * kwnames[] = {
26039 (char *) "self",(char *) "v", NULL
26040 };
26041
26042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26044 if (!SWIG_IsOK(res1)) {
26045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26046 }
26047 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26048 ecode2 = SWIG_AsVal_int(obj1, &val2);
26049 if (!SWIG_IsOK(ecode2)) {
26050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26051 }
26052 arg2 = static_cast< int >(val2);
26053 {
26054 PyThreadState* __tstate = wxPyBeginAllowThreads();
26055 (arg1)->SetToPage(arg2);
26056 wxPyEndAllowThreads(__tstate);
26057 if (PyErr_Occurred()) SWIG_fail;
26058 }
26059 resultobj = SWIG_Py_Void();
26060 return resultobj;
26061 fail:
26062 return NULL;
26063 }
26064
26065
26066 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26067 PyObject *resultobj = 0;
26068 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26069 int arg2 ;
26070 void *argp1 = 0 ;
26071 int res1 = 0 ;
26072 int val2 ;
26073 int ecode2 = 0 ;
26074 PyObject * obj0 = 0 ;
26075 PyObject * obj1 = 0 ;
26076 char * kwnames[] = {
26077 (char *) "self",(char *) "v", NULL
26078 };
26079
26080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26082 if (!SWIG_IsOK(res1)) {
26083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26084 }
26085 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26086 ecode2 = SWIG_AsVal_int(obj1, &val2);
26087 if (!SWIG_IsOK(ecode2)) {
26088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26089 }
26090 arg2 = static_cast< int >(val2);
26091 {
26092 PyThreadState* __tstate = wxPyBeginAllowThreads();
26093 (arg1)->SetMinPage(arg2);
26094 wxPyEndAllowThreads(__tstate);
26095 if (PyErr_Occurred()) SWIG_fail;
26096 }
26097 resultobj = SWIG_Py_Void();
26098 return resultobj;
26099 fail:
26100 return NULL;
26101 }
26102
26103
26104 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26105 PyObject *resultobj = 0;
26106 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26107 int arg2 ;
26108 void *argp1 = 0 ;
26109 int res1 = 0 ;
26110 int val2 ;
26111 int ecode2 = 0 ;
26112 PyObject * obj0 = 0 ;
26113 PyObject * obj1 = 0 ;
26114 char * kwnames[] = {
26115 (char *) "self",(char *) "v", NULL
26116 };
26117
26118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26120 if (!SWIG_IsOK(res1)) {
26121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26122 }
26123 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26124 ecode2 = SWIG_AsVal_int(obj1, &val2);
26125 if (!SWIG_IsOK(ecode2)) {
26126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26127 }
26128 arg2 = static_cast< int >(val2);
26129 {
26130 PyThreadState* __tstate = wxPyBeginAllowThreads();
26131 (arg1)->SetMaxPage(arg2);
26132 wxPyEndAllowThreads(__tstate);
26133 if (PyErr_Occurred()) SWIG_fail;
26134 }
26135 resultobj = SWIG_Py_Void();
26136 return resultobj;
26137 fail:
26138 return NULL;
26139 }
26140
26141
26142 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26143 PyObject *resultobj = 0;
26144 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26145 int arg2 ;
26146 void *argp1 = 0 ;
26147 int res1 = 0 ;
26148 int val2 ;
26149 int ecode2 = 0 ;
26150 PyObject * obj0 = 0 ;
26151 PyObject * obj1 = 0 ;
26152 char * kwnames[] = {
26153 (char *) "self",(char *) "v", NULL
26154 };
26155
26156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26158 if (!SWIG_IsOK(res1)) {
26159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26160 }
26161 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26162 ecode2 = SWIG_AsVal_int(obj1, &val2);
26163 if (!SWIG_IsOK(ecode2)) {
26164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26165 }
26166 arg2 = static_cast< int >(val2);
26167 {
26168 PyThreadState* __tstate = wxPyBeginAllowThreads();
26169 (arg1)->SetNoCopies(arg2);
26170 wxPyEndAllowThreads(__tstate);
26171 if (PyErr_Occurred()) SWIG_fail;
26172 }
26173 resultobj = SWIG_Py_Void();
26174 return resultobj;
26175 fail:
26176 return NULL;
26177 }
26178
26179
26180 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26181 PyObject *resultobj = 0;
26182 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26183 bool arg2 ;
26184 void *argp1 = 0 ;
26185 int res1 = 0 ;
26186 bool val2 ;
26187 int ecode2 = 0 ;
26188 PyObject * obj0 = 0 ;
26189 PyObject * obj1 = 0 ;
26190 char * kwnames[] = {
26191 (char *) "self",(char *) "flag", NULL
26192 };
26193
26194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26196 if (!SWIG_IsOK(res1)) {
26197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26198 }
26199 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26200 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26201 if (!SWIG_IsOK(ecode2)) {
26202 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26203 }
26204 arg2 = static_cast< bool >(val2);
26205 {
26206 PyThreadState* __tstate = wxPyBeginAllowThreads();
26207 (arg1)->SetAllPages(arg2);
26208 wxPyEndAllowThreads(__tstate);
26209 if (PyErr_Occurred()) SWIG_fail;
26210 }
26211 resultobj = SWIG_Py_Void();
26212 return resultobj;
26213 fail:
26214 return NULL;
26215 }
26216
26217
26218 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26219 PyObject *resultobj = 0;
26220 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26221 bool arg2 ;
26222 void *argp1 = 0 ;
26223 int res1 = 0 ;
26224 bool val2 ;
26225 int ecode2 = 0 ;
26226 PyObject * obj0 = 0 ;
26227 PyObject * obj1 = 0 ;
26228 char * kwnames[] = {
26229 (char *) "self",(char *) "flag", NULL
26230 };
26231
26232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26234 if (!SWIG_IsOK(res1)) {
26235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26236 }
26237 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26238 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26239 if (!SWIG_IsOK(ecode2)) {
26240 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26241 }
26242 arg2 = static_cast< bool >(val2);
26243 {
26244 PyThreadState* __tstate = wxPyBeginAllowThreads();
26245 (arg1)->SetSelection(arg2);
26246 wxPyEndAllowThreads(__tstate);
26247 if (PyErr_Occurred()) SWIG_fail;
26248 }
26249 resultobj = SWIG_Py_Void();
26250 return resultobj;
26251 fail:
26252 return NULL;
26253 }
26254
26255
26256 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26257 PyObject *resultobj = 0;
26258 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26259 bool arg2 ;
26260 void *argp1 = 0 ;
26261 int res1 = 0 ;
26262 bool val2 ;
26263 int ecode2 = 0 ;
26264 PyObject * obj0 = 0 ;
26265 PyObject * obj1 = 0 ;
26266 char * kwnames[] = {
26267 (char *) "self",(char *) "flag", NULL
26268 };
26269
26270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26272 if (!SWIG_IsOK(res1)) {
26273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26274 }
26275 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26276 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26277 if (!SWIG_IsOK(ecode2)) {
26278 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26279 }
26280 arg2 = static_cast< bool >(val2);
26281 {
26282 PyThreadState* __tstate = wxPyBeginAllowThreads();
26283 (arg1)->SetCollate(arg2);
26284 wxPyEndAllowThreads(__tstate);
26285 if (PyErr_Occurred()) SWIG_fail;
26286 }
26287 resultobj = SWIG_Py_Void();
26288 return resultobj;
26289 fail:
26290 return NULL;
26291 }
26292
26293
26294 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26295 PyObject *resultobj = 0;
26296 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26297 bool arg2 ;
26298 void *argp1 = 0 ;
26299 int res1 = 0 ;
26300 bool val2 ;
26301 int ecode2 = 0 ;
26302 PyObject * obj0 = 0 ;
26303 PyObject * obj1 = 0 ;
26304 char * kwnames[] = {
26305 (char *) "self",(char *) "flag", NULL
26306 };
26307
26308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26310 if (!SWIG_IsOK(res1)) {
26311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26312 }
26313 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26314 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26315 if (!SWIG_IsOK(ecode2)) {
26316 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26317 }
26318 arg2 = static_cast< bool >(val2);
26319 {
26320 PyThreadState* __tstate = wxPyBeginAllowThreads();
26321 (arg1)->SetPrintToFile(arg2);
26322 wxPyEndAllowThreads(__tstate);
26323 if (PyErr_Occurred()) SWIG_fail;
26324 }
26325 resultobj = SWIG_Py_Void();
26326 return resultobj;
26327 fail:
26328 return NULL;
26329 }
26330
26331
26332 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26333 PyObject *resultobj = 0;
26334 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26335 bool arg2 ;
26336 void *argp1 = 0 ;
26337 int res1 = 0 ;
26338 bool val2 ;
26339 int ecode2 = 0 ;
26340 PyObject * obj0 = 0 ;
26341 PyObject * obj1 = 0 ;
26342 char * kwnames[] = {
26343 (char *) "self",(char *) "flag", NULL
26344 };
26345
26346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26348 if (!SWIG_IsOK(res1)) {
26349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26350 }
26351 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26352 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26353 if (!SWIG_IsOK(ecode2)) {
26354 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26355 }
26356 arg2 = static_cast< bool >(val2);
26357 {
26358 PyThreadState* __tstate = wxPyBeginAllowThreads();
26359 (arg1)->EnablePrintToFile(arg2);
26360 wxPyEndAllowThreads(__tstate);
26361 if (PyErr_Occurred()) SWIG_fail;
26362 }
26363 resultobj = SWIG_Py_Void();
26364 return resultobj;
26365 fail:
26366 return NULL;
26367 }
26368
26369
26370 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26371 PyObject *resultobj = 0;
26372 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26373 bool arg2 ;
26374 void *argp1 = 0 ;
26375 int res1 = 0 ;
26376 bool val2 ;
26377 int ecode2 = 0 ;
26378 PyObject * obj0 = 0 ;
26379 PyObject * obj1 = 0 ;
26380 char * kwnames[] = {
26381 (char *) "self",(char *) "flag", NULL
26382 };
26383
26384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26386 if (!SWIG_IsOK(res1)) {
26387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26388 }
26389 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26390 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26391 if (!SWIG_IsOK(ecode2)) {
26392 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26393 }
26394 arg2 = static_cast< bool >(val2);
26395 {
26396 PyThreadState* __tstate = wxPyBeginAllowThreads();
26397 (arg1)->EnableSelection(arg2);
26398 wxPyEndAllowThreads(__tstate);
26399 if (PyErr_Occurred()) SWIG_fail;
26400 }
26401 resultobj = SWIG_Py_Void();
26402 return resultobj;
26403 fail:
26404 return NULL;
26405 }
26406
26407
26408 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26409 PyObject *resultobj = 0;
26410 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26411 bool arg2 ;
26412 void *argp1 = 0 ;
26413 int res1 = 0 ;
26414 bool val2 ;
26415 int ecode2 = 0 ;
26416 PyObject * obj0 = 0 ;
26417 PyObject * obj1 = 0 ;
26418 char * kwnames[] = {
26419 (char *) "self",(char *) "flag", NULL
26420 };
26421
26422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26424 if (!SWIG_IsOK(res1)) {
26425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26426 }
26427 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26428 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26429 if (!SWIG_IsOK(ecode2)) {
26430 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26431 }
26432 arg2 = static_cast< bool >(val2);
26433 {
26434 PyThreadState* __tstate = wxPyBeginAllowThreads();
26435 (arg1)->EnablePageNumbers(arg2);
26436 wxPyEndAllowThreads(__tstate);
26437 if (PyErr_Occurred()) SWIG_fail;
26438 }
26439 resultobj = SWIG_Py_Void();
26440 return resultobj;
26441 fail:
26442 return NULL;
26443 }
26444
26445
26446 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26447 PyObject *resultobj = 0;
26448 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26449 bool arg2 ;
26450 void *argp1 = 0 ;
26451 int res1 = 0 ;
26452 bool val2 ;
26453 int ecode2 = 0 ;
26454 PyObject * obj0 = 0 ;
26455 PyObject * obj1 = 0 ;
26456 char * kwnames[] = {
26457 (char *) "self",(char *) "flag", NULL
26458 };
26459
26460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26462 if (!SWIG_IsOK(res1)) {
26463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26464 }
26465 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26466 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26467 if (!SWIG_IsOK(ecode2)) {
26468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26469 }
26470 arg2 = static_cast< bool >(val2);
26471 {
26472 PyThreadState* __tstate = wxPyBeginAllowThreads();
26473 (arg1)->EnableHelp(arg2);
26474 wxPyEndAllowThreads(__tstate);
26475 if (PyErr_Occurred()) SWIG_fail;
26476 }
26477 resultobj = SWIG_Py_Void();
26478 return resultobj;
26479 fail:
26480 return NULL;
26481 }
26482
26483
26484 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26485 PyObject *resultobj = 0;
26486 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26487 bool result;
26488 void *argp1 = 0 ;
26489 int res1 = 0 ;
26490 PyObject *swig_obj[1] ;
26491
26492 if (!args) SWIG_fail;
26493 swig_obj[0] = args;
26494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26495 if (!SWIG_IsOK(res1)) {
26496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26497 }
26498 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26499 {
26500 PyThreadState* __tstate = wxPyBeginAllowThreads();
26501 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26502 wxPyEndAllowThreads(__tstate);
26503 if (PyErr_Occurred()) SWIG_fail;
26504 }
26505 {
26506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26507 }
26508 return resultobj;
26509 fail:
26510 return NULL;
26511 }
26512
26513
26514 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26515 PyObject *resultobj = 0;
26516 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26517 bool result;
26518 void *argp1 = 0 ;
26519 int res1 = 0 ;
26520 PyObject *swig_obj[1] ;
26521
26522 if (!args) SWIG_fail;
26523 swig_obj[0] = args;
26524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26525 if (!SWIG_IsOK(res1)) {
26526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26527 }
26528 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26529 {
26530 PyThreadState* __tstate = wxPyBeginAllowThreads();
26531 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26532 wxPyEndAllowThreads(__tstate);
26533 if (PyErr_Occurred()) SWIG_fail;
26534 }
26535 {
26536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26537 }
26538 return resultobj;
26539 fail:
26540 return NULL;
26541 }
26542
26543
26544 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26545 PyObject *resultobj = 0;
26546 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26547 bool result;
26548 void *argp1 = 0 ;
26549 int res1 = 0 ;
26550 PyObject *swig_obj[1] ;
26551
26552 if (!args) SWIG_fail;
26553 swig_obj[0] = args;
26554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26555 if (!SWIG_IsOK(res1)) {
26556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26557 }
26558 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26559 {
26560 PyThreadState* __tstate = wxPyBeginAllowThreads();
26561 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26562 wxPyEndAllowThreads(__tstate);
26563 if (PyErr_Occurred()) SWIG_fail;
26564 }
26565 {
26566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26567 }
26568 return resultobj;
26569 fail:
26570 return NULL;
26571 }
26572
26573
26574 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26575 PyObject *resultobj = 0;
26576 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26577 bool result;
26578 void *argp1 = 0 ;
26579 int res1 = 0 ;
26580 PyObject *swig_obj[1] ;
26581
26582 if (!args) SWIG_fail;
26583 swig_obj[0] = args;
26584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26585 if (!SWIG_IsOK(res1)) {
26586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26587 }
26588 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26589 {
26590 PyThreadState* __tstate = wxPyBeginAllowThreads();
26591 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26592 wxPyEndAllowThreads(__tstate);
26593 if (PyErr_Occurred()) SWIG_fail;
26594 }
26595 {
26596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26597 }
26598 return resultobj;
26599 fail:
26600 return NULL;
26601 }
26602
26603
26604 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26605 PyObject *resultobj = 0;
26606 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26607 bool result;
26608 void *argp1 = 0 ;
26609 int res1 = 0 ;
26610 PyObject *swig_obj[1] ;
26611
26612 if (!args) SWIG_fail;
26613 swig_obj[0] = args;
26614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26615 if (!SWIG_IsOK(res1)) {
26616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26617 }
26618 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26619 {
26620 PyThreadState* __tstate = wxPyBeginAllowThreads();
26621 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26622 wxPyEndAllowThreads(__tstate);
26623 if (PyErr_Occurred()) SWIG_fail;
26624 }
26625 {
26626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26627 }
26628 return resultobj;
26629 fail:
26630 return NULL;
26631 }
26632
26633
26634 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26635 PyObject *resultobj = 0;
26636 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26637 wxPrintData *result = 0 ;
26638 void *argp1 = 0 ;
26639 int res1 = 0 ;
26640 PyObject *swig_obj[1] ;
26641
26642 if (!args) SWIG_fail;
26643 swig_obj[0] = args;
26644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26645 if (!SWIG_IsOK(res1)) {
26646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26647 }
26648 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26649 {
26650 PyThreadState* __tstate = wxPyBeginAllowThreads();
26651 {
26652 wxPrintData &_result_ref = (arg1)->GetPrintData();
26653 result = (wxPrintData *) &_result_ref;
26654 }
26655 wxPyEndAllowThreads(__tstate);
26656 if (PyErr_Occurred()) SWIG_fail;
26657 }
26658 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26659 return resultobj;
26660 fail:
26661 return NULL;
26662 }
26663
26664
26665 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26666 PyObject *resultobj = 0;
26667 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26668 wxPrintData *arg2 = 0 ;
26669 void *argp1 = 0 ;
26670 int res1 = 0 ;
26671 void *argp2 = 0 ;
26672 int res2 = 0 ;
26673 PyObject * obj0 = 0 ;
26674 PyObject * obj1 = 0 ;
26675 char * kwnames[] = {
26676 (char *) "self",(char *) "printData", NULL
26677 };
26678
26679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26681 if (!SWIG_IsOK(res1)) {
26682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26683 }
26684 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26685 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26686 if (!SWIG_IsOK(res2)) {
26687 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26688 }
26689 if (!argp2) {
26690 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26691 }
26692 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26693 {
26694 PyThreadState* __tstate = wxPyBeginAllowThreads();
26695 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26696 wxPyEndAllowThreads(__tstate);
26697 if (PyErr_Occurred()) SWIG_fail;
26698 }
26699 resultobj = SWIG_Py_Void();
26700 return resultobj;
26701 fail:
26702 return NULL;
26703 }
26704
26705
26706 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26707 PyObject *obj;
26708 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26709 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26710 return SWIG_Py_Void();
26711 }
26712
26713 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26714 return SWIG_Python_InitShadowInstance(args);
26715 }
26716
26717 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26718 PyObject *resultobj = 0;
26719 wxWindow *arg1 = (wxWindow *) 0 ;
26720 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26721 wxPrintDialog *result = 0 ;
26722 void *argp1 = 0 ;
26723 int res1 = 0 ;
26724 void *argp2 = 0 ;
26725 int res2 = 0 ;
26726 PyObject * obj0 = 0 ;
26727 PyObject * obj1 = 0 ;
26728 char * kwnames[] = {
26729 (char *) "parent",(char *) "data", NULL
26730 };
26731
26732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26734 if (!SWIG_IsOK(res1)) {
26735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26736 }
26737 arg1 = reinterpret_cast< wxWindow * >(argp1);
26738 if (obj1) {
26739 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26740 if (!SWIG_IsOK(res2)) {
26741 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26742 }
26743 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26744 }
26745 {
26746 if (!wxPyCheckForApp()) SWIG_fail;
26747 PyThreadState* __tstate = wxPyBeginAllowThreads();
26748 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26749 wxPyEndAllowThreads(__tstate);
26750 if (PyErr_Occurred()) SWIG_fail;
26751 }
26752 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26753 return resultobj;
26754 fail:
26755 return NULL;
26756 }
26757
26758
26759 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26760 PyObject *resultobj = 0;
26761 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26762 void *argp1 = 0 ;
26763 int res1 = 0 ;
26764 PyObject *swig_obj[1] ;
26765
26766 if (!args) SWIG_fail;
26767 swig_obj[0] = args;
26768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
26769 if (!SWIG_IsOK(res1)) {
26770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26771 }
26772 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26773 {
26774 PyThreadState* __tstate = wxPyBeginAllowThreads();
26775 delete arg1;
26776
26777 wxPyEndAllowThreads(__tstate);
26778 if (PyErr_Occurred()) SWIG_fail;
26779 }
26780 resultobj = SWIG_Py_Void();
26781 return resultobj;
26782 fail:
26783 return NULL;
26784 }
26785
26786
26787 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26788 PyObject *resultobj = 0;
26789 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26790 int result;
26791 void *argp1 = 0 ;
26792 int res1 = 0 ;
26793 PyObject *swig_obj[1] ;
26794
26795 if (!args) SWIG_fail;
26796 swig_obj[0] = args;
26797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26798 if (!SWIG_IsOK(res1)) {
26799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26800 }
26801 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26802 {
26803 PyThreadState* __tstate = wxPyBeginAllowThreads();
26804 result = (int)(arg1)->ShowModal();
26805 wxPyEndAllowThreads(__tstate);
26806 if (PyErr_Occurred()) SWIG_fail;
26807 }
26808 resultobj = SWIG_From_int(static_cast< int >(result));
26809 return resultobj;
26810 fail:
26811 return NULL;
26812 }
26813
26814
26815 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26816 PyObject *resultobj = 0;
26817 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26818 wxPrintDialogData *result = 0 ;
26819 void *argp1 = 0 ;
26820 int res1 = 0 ;
26821 PyObject *swig_obj[1] ;
26822
26823 if (!args) SWIG_fail;
26824 swig_obj[0] = args;
26825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26826 if (!SWIG_IsOK(res1)) {
26827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26828 }
26829 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26830 {
26831 PyThreadState* __tstate = wxPyBeginAllowThreads();
26832 {
26833 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26834 result = (wxPrintDialogData *) &_result_ref;
26835 }
26836 wxPyEndAllowThreads(__tstate);
26837 if (PyErr_Occurred()) SWIG_fail;
26838 }
26839 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26840 return resultobj;
26841 fail:
26842 return NULL;
26843 }
26844
26845
26846 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26847 PyObject *resultobj = 0;
26848 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26849 wxPrintData *result = 0 ;
26850 void *argp1 = 0 ;
26851 int res1 = 0 ;
26852 PyObject *swig_obj[1] ;
26853
26854 if (!args) SWIG_fail;
26855 swig_obj[0] = args;
26856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26857 if (!SWIG_IsOK(res1)) {
26858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26859 }
26860 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26861 {
26862 PyThreadState* __tstate = wxPyBeginAllowThreads();
26863 {
26864 wxPrintData &_result_ref = (arg1)->GetPrintData();
26865 result = (wxPrintData *) &_result_ref;
26866 }
26867 wxPyEndAllowThreads(__tstate);
26868 if (PyErr_Occurred()) SWIG_fail;
26869 }
26870 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26871 return resultobj;
26872 fail:
26873 return NULL;
26874 }
26875
26876
26877 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26878 PyObject *resultobj = 0;
26879 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26880 wxDC *result = 0 ;
26881 void *argp1 = 0 ;
26882 int res1 = 0 ;
26883 PyObject *swig_obj[1] ;
26884
26885 if (!args) SWIG_fail;
26886 swig_obj[0] = args;
26887 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26888 if (!SWIG_IsOK(res1)) {
26889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26890 }
26891 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26892 {
26893 PyThreadState* __tstate = wxPyBeginAllowThreads();
26894 result = (wxDC *)(arg1)->GetPrintDC();
26895 wxPyEndAllowThreads(__tstate);
26896 if (PyErr_Occurred()) SWIG_fail;
26897 }
26898 {
26899 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
26900 }
26901 return resultobj;
26902 fail:
26903 return NULL;
26904 }
26905
26906
26907 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26908 PyObject *obj;
26909 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26910 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
26911 return SWIG_Py_Void();
26912 }
26913
26914 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26915 return SWIG_Python_InitShadowInstance(args);
26916 }
26917
26918 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26919 PyObject *resultobj = 0;
26920 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
26921 wxPrinter *result = 0 ;
26922 void *argp1 = 0 ;
26923 int res1 = 0 ;
26924 PyObject * obj0 = 0 ;
26925 char * kwnames[] = {
26926 (char *) "data", NULL
26927 };
26928
26929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
26930 if (obj0) {
26931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26932 if (!SWIG_IsOK(res1)) {
26933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26934 }
26935 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26936 }
26937 {
26938 if (!wxPyCheckForApp()) SWIG_fail;
26939 PyThreadState* __tstate = wxPyBeginAllowThreads();
26940 result = (wxPrinter *)new wxPrinter(arg1);
26941 wxPyEndAllowThreads(__tstate);
26942 if (PyErr_Occurred()) SWIG_fail;
26943 }
26944 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
26945 return resultobj;
26946 fail:
26947 return NULL;
26948 }
26949
26950
26951 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26952 PyObject *resultobj = 0;
26953 wxPrinter *arg1 = (wxPrinter *) 0 ;
26954 void *argp1 = 0 ;
26955 int res1 = 0 ;
26956 PyObject *swig_obj[1] ;
26957
26958 if (!args) SWIG_fail;
26959 swig_obj[0] = args;
26960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
26961 if (!SWIG_IsOK(res1)) {
26962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26963 }
26964 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26965 {
26966 PyThreadState* __tstate = wxPyBeginAllowThreads();
26967 delete arg1;
26968
26969 wxPyEndAllowThreads(__tstate);
26970 if (PyErr_Occurred()) SWIG_fail;
26971 }
26972 resultobj = SWIG_Py_Void();
26973 return resultobj;
26974 fail:
26975 return NULL;
26976 }
26977
26978
26979 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26980 PyObject *resultobj = 0;
26981 wxPrinter *arg1 = (wxPrinter *) 0 ;
26982 wxWindow *arg2 = (wxWindow *) 0 ;
26983 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
26984 wxWindow *result = 0 ;
26985 void *argp1 = 0 ;
26986 int res1 = 0 ;
26987 void *argp2 = 0 ;
26988 int res2 = 0 ;
26989 void *argp3 = 0 ;
26990 int res3 = 0 ;
26991 PyObject * obj0 = 0 ;
26992 PyObject * obj1 = 0 ;
26993 PyObject * obj2 = 0 ;
26994 char * kwnames[] = {
26995 (char *) "self",(char *) "parent",(char *) "printout", NULL
26996 };
26997
26998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27000 if (!SWIG_IsOK(res1)) {
27001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27002 }
27003 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27004 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27005 if (!SWIG_IsOK(res2)) {
27006 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27007 }
27008 arg2 = reinterpret_cast< wxWindow * >(argp2);
27009 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27010 if (!SWIG_IsOK(res3)) {
27011 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27012 }
27013 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27014 {
27015 PyThreadState* __tstate = wxPyBeginAllowThreads();
27016 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27017 wxPyEndAllowThreads(__tstate);
27018 if (PyErr_Occurred()) SWIG_fail;
27019 }
27020 {
27021 resultobj = wxPyMake_wxObject(result, 0);
27022 }
27023 return resultobj;
27024 fail:
27025 return NULL;
27026 }
27027
27028
27029 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27030 PyObject *resultobj = 0;
27031 wxPrinter *arg1 = (wxPrinter *) 0 ;
27032 wxWindow *arg2 = (wxWindow *) 0 ;
27033 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27034 wxString *arg4 = 0 ;
27035 void *argp1 = 0 ;
27036 int res1 = 0 ;
27037 void *argp2 = 0 ;
27038 int res2 = 0 ;
27039 void *argp3 = 0 ;
27040 int res3 = 0 ;
27041 bool temp4 = false ;
27042 PyObject * obj0 = 0 ;
27043 PyObject * obj1 = 0 ;
27044 PyObject * obj2 = 0 ;
27045 PyObject * obj3 = 0 ;
27046 char * kwnames[] = {
27047 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27048 };
27049
27050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27052 if (!SWIG_IsOK(res1)) {
27053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27054 }
27055 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27056 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27057 if (!SWIG_IsOK(res2)) {
27058 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27059 }
27060 arg2 = reinterpret_cast< wxWindow * >(argp2);
27061 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27062 if (!SWIG_IsOK(res3)) {
27063 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27064 }
27065 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27066 {
27067 arg4 = wxString_in_helper(obj3);
27068 if (arg4 == NULL) SWIG_fail;
27069 temp4 = true;
27070 }
27071 {
27072 PyThreadState* __tstate = wxPyBeginAllowThreads();
27073 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27074 wxPyEndAllowThreads(__tstate);
27075 if (PyErr_Occurred()) SWIG_fail;
27076 }
27077 resultobj = SWIG_Py_Void();
27078 {
27079 if (temp4)
27080 delete arg4;
27081 }
27082 return resultobj;
27083 fail:
27084 {
27085 if (temp4)
27086 delete arg4;
27087 }
27088 return NULL;
27089 }
27090
27091
27092 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27093 PyObject *resultobj = 0;
27094 wxPrinter *arg1 = (wxPrinter *) 0 ;
27095 wxWindow *arg2 = (wxWindow *) 0 ;
27096 bool result;
27097 void *argp1 = 0 ;
27098 int res1 = 0 ;
27099 void *argp2 = 0 ;
27100 int res2 = 0 ;
27101 PyObject * obj0 = 0 ;
27102 PyObject * obj1 = 0 ;
27103 char * kwnames[] = {
27104 (char *) "self",(char *) "parent", NULL
27105 };
27106
27107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27109 if (!SWIG_IsOK(res1)) {
27110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27111 }
27112 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27113 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27114 if (!SWIG_IsOK(res2)) {
27115 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27116 }
27117 arg2 = reinterpret_cast< wxWindow * >(argp2);
27118 {
27119 PyThreadState* __tstate = wxPyBeginAllowThreads();
27120 result = (bool)(arg1)->Setup(arg2);
27121 wxPyEndAllowThreads(__tstate);
27122 if (PyErr_Occurred()) SWIG_fail;
27123 }
27124 {
27125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27126 }
27127 return resultobj;
27128 fail:
27129 return NULL;
27130 }
27131
27132
27133 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27134 PyObject *resultobj = 0;
27135 wxPrinter *arg1 = (wxPrinter *) 0 ;
27136 wxWindow *arg2 = (wxWindow *) 0 ;
27137 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27138 bool arg4 = (bool) true ;
27139 bool result;
27140 void *argp1 = 0 ;
27141 int res1 = 0 ;
27142 void *argp2 = 0 ;
27143 int res2 = 0 ;
27144 void *argp3 = 0 ;
27145 int res3 = 0 ;
27146 bool val4 ;
27147 int ecode4 = 0 ;
27148 PyObject * obj0 = 0 ;
27149 PyObject * obj1 = 0 ;
27150 PyObject * obj2 = 0 ;
27151 PyObject * obj3 = 0 ;
27152 char * kwnames[] = {
27153 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27154 };
27155
27156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27158 if (!SWIG_IsOK(res1)) {
27159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27160 }
27161 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27162 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27163 if (!SWIG_IsOK(res2)) {
27164 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27165 }
27166 arg2 = reinterpret_cast< wxWindow * >(argp2);
27167 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27168 if (!SWIG_IsOK(res3)) {
27169 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27170 }
27171 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27172 if (obj3) {
27173 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27174 if (!SWIG_IsOK(ecode4)) {
27175 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27176 }
27177 arg4 = static_cast< bool >(val4);
27178 }
27179 {
27180 PyThreadState* __tstate = wxPyBeginAllowThreads();
27181 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27182 wxPyEndAllowThreads(__tstate);
27183 if (PyErr_Occurred()) SWIG_fail;
27184 }
27185 {
27186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27187 }
27188 return resultobj;
27189 fail:
27190 return NULL;
27191 }
27192
27193
27194 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27195 PyObject *resultobj = 0;
27196 wxPrinter *arg1 = (wxPrinter *) 0 ;
27197 wxWindow *arg2 = (wxWindow *) 0 ;
27198 wxDC *result = 0 ;
27199 void *argp1 = 0 ;
27200 int res1 = 0 ;
27201 void *argp2 = 0 ;
27202 int res2 = 0 ;
27203 PyObject * obj0 = 0 ;
27204 PyObject * obj1 = 0 ;
27205 char * kwnames[] = {
27206 (char *) "self",(char *) "parent", NULL
27207 };
27208
27209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27211 if (!SWIG_IsOK(res1)) {
27212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27213 }
27214 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27215 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27216 if (!SWIG_IsOK(res2)) {
27217 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27218 }
27219 arg2 = reinterpret_cast< wxWindow * >(argp2);
27220 {
27221 PyThreadState* __tstate = wxPyBeginAllowThreads();
27222 result = (wxDC *)(arg1)->PrintDialog(arg2);
27223 wxPyEndAllowThreads(__tstate);
27224 if (PyErr_Occurred()) SWIG_fail;
27225 }
27226 {
27227 resultobj = wxPyMake_wxObject(result, (bool)0);
27228 }
27229 return resultobj;
27230 fail:
27231 return NULL;
27232 }
27233
27234
27235 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27236 PyObject *resultobj = 0;
27237 wxPrinter *arg1 = (wxPrinter *) 0 ;
27238 wxPrintDialogData *result = 0 ;
27239 void *argp1 = 0 ;
27240 int res1 = 0 ;
27241 PyObject *swig_obj[1] ;
27242
27243 if (!args) SWIG_fail;
27244 swig_obj[0] = args;
27245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27246 if (!SWIG_IsOK(res1)) {
27247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27248 }
27249 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27250 {
27251 PyThreadState* __tstate = wxPyBeginAllowThreads();
27252 {
27253 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27254 result = (wxPrintDialogData *) &_result_ref;
27255 }
27256 wxPyEndAllowThreads(__tstate);
27257 if (PyErr_Occurred()) SWIG_fail;
27258 }
27259 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27260 return resultobj;
27261 fail:
27262 return NULL;
27263 }
27264
27265
27266 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27267 PyObject *resultobj = 0;
27268 wxPrinter *arg1 = (wxPrinter *) 0 ;
27269 bool result;
27270 void *argp1 = 0 ;
27271 int res1 = 0 ;
27272 PyObject *swig_obj[1] ;
27273
27274 if (!args) SWIG_fail;
27275 swig_obj[0] = args;
27276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27277 if (!SWIG_IsOK(res1)) {
27278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27279 }
27280 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27281 {
27282 PyThreadState* __tstate = wxPyBeginAllowThreads();
27283 result = (bool)(arg1)->GetAbort();
27284 wxPyEndAllowThreads(__tstate);
27285 if (PyErr_Occurred()) SWIG_fail;
27286 }
27287 {
27288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27289 }
27290 return resultobj;
27291 fail:
27292 return NULL;
27293 }
27294
27295
27296 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27297 PyObject *resultobj = 0;
27298 wxPrinterError result;
27299
27300 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27301 {
27302 PyThreadState* __tstate = wxPyBeginAllowThreads();
27303 result = (wxPrinterError)wxPrinter::GetLastError();
27304 wxPyEndAllowThreads(__tstate);
27305 if (PyErr_Occurred()) SWIG_fail;
27306 }
27307 resultobj = SWIG_From_int(static_cast< int >(result));
27308 return resultobj;
27309 fail:
27310 return NULL;
27311 }
27312
27313
27314 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27315 PyObject *obj;
27316 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27317 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27318 return SWIG_Py_Void();
27319 }
27320
27321 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27322 return SWIG_Python_InitShadowInstance(args);
27323 }
27324
27325 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27326 PyObject *resultobj = 0;
27327 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27328 wxString *arg1 = (wxString *) &arg1_defvalue ;
27329 wxPyPrintout *result = 0 ;
27330 bool temp1 = false ;
27331 PyObject * obj0 = 0 ;
27332 char * kwnames[] = {
27333 (char *) "title", NULL
27334 };
27335
27336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27337 if (obj0) {
27338 {
27339 arg1 = wxString_in_helper(obj0);
27340 if (arg1 == NULL) SWIG_fail;
27341 temp1 = true;
27342 }
27343 }
27344 {
27345 if (!wxPyCheckForApp()) SWIG_fail;
27346 PyThreadState* __tstate = wxPyBeginAllowThreads();
27347 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27348 wxPyEndAllowThreads(__tstate);
27349 if (PyErr_Occurred()) SWIG_fail;
27350 }
27351 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27352 {
27353 if (temp1)
27354 delete arg1;
27355 }
27356 return resultobj;
27357 fail:
27358 {
27359 if (temp1)
27360 delete arg1;
27361 }
27362 return NULL;
27363 }
27364
27365
27366 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27367 PyObject *resultobj = 0;
27368 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27369 void *argp1 = 0 ;
27370 int res1 = 0 ;
27371 PyObject *swig_obj[1] ;
27372
27373 if (!args) SWIG_fail;
27374 swig_obj[0] = args;
27375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27376 if (!SWIG_IsOK(res1)) {
27377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27378 }
27379 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27380 {
27381 PyThreadState* __tstate = wxPyBeginAllowThreads();
27382 delete arg1;
27383
27384 wxPyEndAllowThreads(__tstate);
27385 if (PyErr_Occurred()) SWIG_fail;
27386 }
27387 resultobj = SWIG_Py_Void();
27388 return resultobj;
27389 fail:
27390 return NULL;
27391 }
27392
27393
27394 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27395 PyObject *resultobj = 0;
27396 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27397 PyObject *arg2 = (PyObject *) 0 ;
27398 PyObject *arg3 = (PyObject *) 0 ;
27399 void *argp1 = 0 ;
27400 int res1 = 0 ;
27401 PyObject * obj0 = 0 ;
27402 PyObject * obj1 = 0 ;
27403 PyObject * obj2 = 0 ;
27404 char * kwnames[] = {
27405 (char *) "self",(char *) "self",(char *) "_class", NULL
27406 };
27407
27408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27410 if (!SWIG_IsOK(res1)) {
27411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27412 }
27413 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27414 arg2 = obj1;
27415 arg3 = obj2;
27416 {
27417 PyThreadState* __tstate = wxPyBeginAllowThreads();
27418 (arg1)->_setCallbackInfo(arg2,arg3);
27419 wxPyEndAllowThreads(__tstate);
27420 if (PyErr_Occurred()) SWIG_fail;
27421 }
27422 resultobj = SWIG_Py_Void();
27423 return resultobj;
27424 fail:
27425 return NULL;
27426 }
27427
27428
27429 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27430 PyObject *resultobj = 0;
27431 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27432 wxString result;
27433 void *argp1 = 0 ;
27434 int res1 = 0 ;
27435 PyObject *swig_obj[1] ;
27436
27437 if (!args) SWIG_fail;
27438 swig_obj[0] = args;
27439 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27440 if (!SWIG_IsOK(res1)) {
27441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27442 }
27443 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27444 {
27445 PyThreadState* __tstate = wxPyBeginAllowThreads();
27446 result = ((wxPyPrintout const *)arg1)->GetTitle();
27447 wxPyEndAllowThreads(__tstate);
27448 if (PyErr_Occurred()) SWIG_fail;
27449 }
27450 {
27451 #if wxUSE_UNICODE
27452 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27453 #else
27454 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27455 #endif
27456 }
27457 return resultobj;
27458 fail:
27459 return NULL;
27460 }
27461
27462
27463 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27464 PyObject *resultobj = 0;
27465 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27466 wxDC *result = 0 ;
27467 void *argp1 = 0 ;
27468 int res1 = 0 ;
27469 PyObject *swig_obj[1] ;
27470
27471 if (!args) SWIG_fail;
27472 swig_obj[0] = args;
27473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27474 if (!SWIG_IsOK(res1)) {
27475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27476 }
27477 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27478 {
27479 PyThreadState* __tstate = wxPyBeginAllowThreads();
27480 result = (wxDC *)(arg1)->GetDC();
27481 wxPyEndAllowThreads(__tstate);
27482 if (PyErr_Occurred()) SWIG_fail;
27483 }
27484 {
27485 resultobj = wxPyMake_wxObject(result, (bool)0);
27486 }
27487 return resultobj;
27488 fail:
27489 return NULL;
27490 }
27491
27492
27493 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27494 PyObject *resultobj = 0;
27495 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27496 wxDC *arg2 = (wxDC *) 0 ;
27497 void *argp1 = 0 ;
27498 int res1 = 0 ;
27499 void *argp2 = 0 ;
27500 int res2 = 0 ;
27501 PyObject * obj0 = 0 ;
27502 PyObject * obj1 = 0 ;
27503 char * kwnames[] = {
27504 (char *) "self",(char *) "dc", NULL
27505 };
27506
27507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27509 if (!SWIG_IsOK(res1)) {
27510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27511 }
27512 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27513 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27514 if (!SWIG_IsOK(res2)) {
27515 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27516 }
27517 arg2 = reinterpret_cast< wxDC * >(argp2);
27518 {
27519 PyThreadState* __tstate = wxPyBeginAllowThreads();
27520 (arg1)->SetDC(arg2);
27521 wxPyEndAllowThreads(__tstate);
27522 if (PyErr_Occurred()) SWIG_fail;
27523 }
27524 resultobj = SWIG_Py_Void();
27525 return resultobj;
27526 fail:
27527 return NULL;
27528 }
27529
27530
27531 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27532 PyObject *resultobj = 0;
27533 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27534 int arg2 ;
27535 int arg3 ;
27536 void *argp1 = 0 ;
27537 int res1 = 0 ;
27538 int val2 ;
27539 int ecode2 = 0 ;
27540 int val3 ;
27541 int ecode3 = 0 ;
27542 PyObject * obj0 = 0 ;
27543 PyObject * obj1 = 0 ;
27544 PyObject * obj2 = 0 ;
27545 char * kwnames[] = {
27546 (char *) "self",(char *) "w",(char *) "h", NULL
27547 };
27548
27549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27551 if (!SWIG_IsOK(res1)) {
27552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27553 }
27554 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27555 ecode2 = SWIG_AsVal_int(obj1, &val2);
27556 if (!SWIG_IsOK(ecode2)) {
27557 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27558 }
27559 arg2 = static_cast< int >(val2);
27560 ecode3 = SWIG_AsVal_int(obj2, &val3);
27561 if (!SWIG_IsOK(ecode3)) {
27562 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27563 }
27564 arg3 = static_cast< int >(val3);
27565 {
27566 PyThreadState* __tstate = wxPyBeginAllowThreads();
27567 (arg1)->SetPageSizePixels(arg2,arg3);
27568 wxPyEndAllowThreads(__tstate);
27569 if (PyErr_Occurred()) SWIG_fail;
27570 }
27571 resultobj = SWIG_Py_Void();
27572 return resultobj;
27573 fail:
27574 return NULL;
27575 }
27576
27577
27578 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27579 PyObject *resultobj = 0;
27580 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27581 int *arg2 = (int *) 0 ;
27582 int *arg3 = (int *) 0 ;
27583 void *argp1 = 0 ;
27584 int res1 = 0 ;
27585 int temp2 ;
27586 int res2 = SWIG_TMPOBJ ;
27587 int temp3 ;
27588 int res3 = SWIG_TMPOBJ ;
27589 PyObject *swig_obj[1] ;
27590
27591 arg2 = &temp2;
27592 arg3 = &temp3;
27593 if (!args) SWIG_fail;
27594 swig_obj[0] = args;
27595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27596 if (!SWIG_IsOK(res1)) {
27597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27598 }
27599 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27600 {
27601 PyThreadState* __tstate = wxPyBeginAllowThreads();
27602 (arg1)->GetPageSizePixels(arg2,arg3);
27603 wxPyEndAllowThreads(__tstate);
27604 if (PyErr_Occurred()) SWIG_fail;
27605 }
27606 resultobj = SWIG_Py_Void();
27607 if (SWIG_IsTmpObj(res2)) {
27608 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27609 } else {
27610 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27611 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27612 }
27613 if (SWIG_IsTmpObj(res3)) {
27614 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27615 } else {
27616 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27617 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27618 }
27619 return resultobj;
27620 fail:
27621 return NULL;
27622 }
27623
27624
27625 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27626 PyObject *resultobj = 0;
27627 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27628 int arg2 ;
27629 int arg3 ;
27630 void *argp1 = 0 ;
27631 int res1 = 0 ;
27632 int val2 ;
27633 int ecode2 = 0 ;
27634 int val3 ;
27635 int ecode3 = 0 ;
27636 PyObject * obj0 = 0 ;
27637 PyObject * obj1 = 0 ;
27638 PyObject * obj2 = 0 ;
27639 char * kwnames[] = {
27640 (char *) "self",(char *) "w",(char *) "h", NULL
27641 };
27642
27643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27645 if (!SWIG_IsOK(res1)) {
27646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27647 }
27648 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27649 ecode2 = SWIG_AsVal_int(obj1, &val2);
27650 if (!SWIG_IsOK(ecode2)) {
27651 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27652 }
27653 arg2 = static_cast< int >(val2);
27654 ecode3 = SWIG_AsVal_int(obj2, &val3);
27655 if (!SWIG_IsOK(ecode3)) {
27656 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27657 }
27658 arg3 = static_cast< int >(val3);
27659 {
27660 PyThreadState* __tstate = wxPyBeginAllowThreads();
27661 (arg1)->SetPageSizeMM(arg2,arg3);
27662 wxPyEndAllowThreads(__tstate);
27663 if (PyErr_Occurred()) SWIG_fail;
27664 }
27665 resultobj = SWIG_Py_Void();
27666 return resultobj;
27667 fail:
27668 return NULL;
27669 }
27670
27671
27672 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27673 PyObject *resultobj = 0;
27674 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27675 int *arg2 = (int *) 0 ;
27676 int *arg3 = (int *) 0 ;
27677 void *argp1 = 0 ;
27678 int res1 = 0 ;
27679 int temp2 ;
27680 int res2 = SWIG_TMPOBJ ;
27681 int temp3 ;
27682 int res3 = SWIG_TMPOBJ ;
27683 PyObject *swig_obj[1] ;
27684
27685 arg2 = &temp2;
27686 arg3 = &temp3;
27687 if (!args) SWIG_fail;
27688 swig_obj[0] = args;
27689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27690 if (!SWIG_IsOK(res1)) {
27691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27692 }
27693 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27694 {
27695 PyThreadState* __tstate = wxPyBeginAllowThreads();
27696 (arg1)->GetPageSizeMM(arg2,arg3);
27697 wxPyEndAllowThreads(__tstate);
27698 if (PyErr_Occurred()) SWIG_fail;
27699 }
27700 resultobj = SWIG_Py_Void();
27701 if (SWIG_IsTmpObj(res2)) {
27702 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27703 } else {
27704 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27705 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27706 }
27707 if (SWIG_IsTmpObj(res3)) {
27708 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27709 } else {
27710 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27711 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27712 }
27713 return resultobj;
27714 fail:
27715 return NULL;
27716 }
27717
27718
27719 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27720 PyObject *resultobj = 0;
27721 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27722 int arg2 ;
27723 int arg3 ;
27724 void *argp1 = 0 ;
27725 int res1 = 0 ;
27726 int val2 ;
27727 int ecode2 = 0 ;
27728 int val3 ;
27729 int ecode3 = 0 ;
27730 PyObject * obj0 = 0 ;
27731 PyObject * obj1 = 0 ;
27732 PyObject * obj2 = 0 ;
27733 char * kwnames[] = {
27734 (char *) "self",(char *) "x",(char *) "y", NULL
27735 };
27736
27737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27739 if (!SWIG_IsOK(res1)) {
27740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27741 }
27742 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27743 ecode2 = SWIG_AsVal_int(obj1, &val2);
27744 if (!SWIG_IsOK(ecode2)) {
27745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27746 }
27747 arg2 = static_cast< int >(val2);
27748 ecode3 = SWIG_AsVal_int(obj2, &val3);
27749 if (!SWIG_IsOK(ecode3)) {
27750 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27751 }
27752 arg3 = static_cast< int >(val3);
27753 {
27754 PyThreadState* __tstate = wxPyBeginAllowThreads();
27755 (arg1)->SetPPIScreen(arg2,arg3);
27756 wxPyEndAllowThreads(__tstate);
27757 if (PyErr_Occurred()) SWIG_fail;
27758 }
27759 resultobj = SWIG_Py_Void();
27760 return resultobj;
27761 fail:
27762 return NULL;
27763 }
27764
27765
27766 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27767 PyObject *resultobj = 0;
27768 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27769 int *arg2 = (int *) 0 ;
27770 int *arg3 = (int *) 0 ;
27771 void *argp1 = 0 ;
27772 int res1 = 0 ;
27773 int temp2 ;
27774 int res2 = SWIG_TMPOBJ ;
27775 int temp3 ;
27776 int res3 = SWIG_TMPOBJ ;
27777 PyObject *swig_obj[1] ;
27778
27779 arg2 = &temp2;
27780 arg3 = &temp3;
27781 if (!args) SWIG_fail;
27782 swig_obj[0] = args;
27783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27784 if (!SWIG_IsOK(res1)) {
27785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27786 }
27787 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27788 {
27789 PyThreadState* __tstate = wxPyBeginAllowThreads();
27790 (arg1)->GetPPIScreen(arg2,arg3);
27791 wxPyEndAllowThreads(__tstate);
27792 if (PyErr_Occurred()) SWIG_fail;
27793 }
27794 resultobj = SWIG_Py_Void();
27795 if (SWIG_IsTmpObj(res2)) {
27796 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27797 } else {
27798 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27799 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27800 }
27801 if (SWIG_IsTmpObj(res3)) {
27802 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27803 } else {
27804 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27805 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27806 }
27807 return resultobj;
27808 fail:
27809 return NULL;
27810 }
27811
27812
27813 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27814 PyObject *resultobj = 0;
27815 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27816 int arg2 ;
27817 int arg3 ;
27818 void *argp1 = 0 ;
27819 int res1 = 0 ;
27820 int val2 ;
27821 int ecode2 = 0 ;
27822 int val3 ;
27823 int ecode3 = 0 ;
27824 PyObject * obj0 = 0 ;
27825 PyObject * obj1 = 0 ;
27826 PyObject * obj2 = 0 ;
27827 char * kwnames[] = {
27828 (char *) "self",(char *) "x",(char *) "y", NULL
27829 };
27830
27831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27833 if (!SWIG_IsOK(res1)) {
27834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27835 }
27836 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27837 ecode2 = SWIG_AsVal_int(obj1, &val2);
27838 if (!SWIG_IsOK(ecode2)) {
27839 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27840 }
27841 arg2 = static_cast< int >(val2);
27842 ecode3 = SWIG_AsVal_int(obj2, &val3);
27843 if (!SWIG_IsOK(ecode3)) {
27844 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27845 }
27846 arg3 = static_cast< int >(val3);
27847 {
27848 PyThreadState* __tstate = wxPyBeginAllowThreads();
27849 (arg1)->SetPPIPrinter(arg2,arg3);
27850 wxPyEndAllowThreads(__tstate);
27851 if (PyErr_Occurred()) SWIG_fail;
27852 }
27853 resultobj = SWIG_Py_Void();
27854 return resultobj;
27855 fail:
27856 return NULL;
27857 }
27858
27859
27860 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27861 PyObject *resultobj = 0;
27862 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27863 int *arg2 = (int *) 0 ;
27864 int *arg3 = (int *) 0 ;
27865 void *argp1 = 0 ;
27866 int res1 = 0 ;
27867 int temp2 ;
27868 int res2 = SWIG_TMPOBJ ;
27869 int temp3 ;
27870 int res3 = SWIG_TMPOBJ ;
27871 PyObject *swig_obj[1] ;
27872
27873 arg2 = &temp2;
27874 arg3 = &temp3;
27875 if (!args) SWIG_fail;
27876 swig_obj[0] = args;
27877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27878 if (!SWIG_IsOK(res1)) {
27879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27880 }
27881 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27882 {
27883 PyThreadState* __tstate = wxPyBeginAllowThreads();
27884 (arg1)->GetPPIPrinter(arg2,arg3);
27885 wxPyEndAllowThreads(__tstate);
27886 if (PyErr_Occurred()) SWIG_fail;
27887 }
27888 resultobj = SWIG_Py_Void();
27889 if (SWIG_IsTmpObj(res2)) {
27890 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27891 } else {
27892 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27893 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27894 }
27895 if (SWIG_IsTmpObj(res3)) {
27896 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27897 } else {
27898 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27899 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27900 }
27901 return resultobj;
27902 fail:
27903 return NULL;
27904 }
27905
27906
27907 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27908 PyObject *resultobj = 0;
27909 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27910 bool result;
27911 void *argp1 = 0 ;
27912 int res1 = 0 ;
27913 PyObject *swig_obj[1] ;
27914
27915 if (!args) SWIG_fail;
27916 swig_obj[0] = args;
27917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27918 if (!SWIG_IsOK(res1)) {
27919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27920 }
27921 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27922 {
27923 PyThreadState* __tstate = wxPyBeginAllowThreads();
27924 result = (bool)(arg1)->IsPreview();
27925 wxPyEndAllowThreads(__tstate);
27926 if (PyErr_Occurred()) SWIG_fail;
27927 }
27928 {
27929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27930 }
27931 return resultobj;
27932 fail:
27933 return NULL;
27934 }
27935
27936
27937 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27938 PyObject *resultobj = 0;
27939 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27940 bool arg2 ;
27941 void *argp1 = 0 ;
27942 int res1 = 0 ;
27943 bool val2 ;
27944 int ecode2 = 0 ;
27945 PyObject * obj0 = 0 ;
27946 PyObject * obj1 = 0 ;
27947 char * kwnames[] = {
27948 (char *) "self",(char *) "p", NULL
27949 };
27950
27951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
27952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27953 if (!SWIG_IsOK(res1)) {
27954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27955 }
27956 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27957 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27958 if (!SWIG_IsOK(ecode2)) {
27959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27960 }
27961 arg2 = static_cast< bool >(val2);
27962 {
27963 PyThreadState* __tstate = wxPyBeginAllowThreads();
27964 (arg1)->SetIsPreview(arg2);
27965 wxPyEndAllowThreads(__tstate);
27966 if (PyErr_Occurred()) SWIG_fail;
27967 }
27968 resultobj = SWIG_Py_Void();
27969 return resultobj;
27970 fail:
27971 return NULL;
27972 }
27973
27974
27975 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27976 PyObject *resultobj = 0;
27977 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27978 int arg2 ;
27979 int arg3 ;
27980 bool result;
27981 void *argp1 = 0 ;
27982 int res1 = 0 ;
27983 int val2 ;
27984 int ecode2 = 0 ;
27985 int val3 ;
27986 int ecode3 = 0 ;
27987 PyObject * obj0 = 0 ;
27988 PyObject * obj1 = 0 ;
27989 PyObject * obj2 = 0 ;
27990 char * kwnames[] = {
27991 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27992 };
27993
27994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27996 if (!SWIG_IsOK(res1)) {
27997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27998 }
27999 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28000 ecode2 = SWIG_AsVal_int(obj1, &val2);
28001 if (!SWIG_IsOK(ecode2)) {
28002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28003 }
28004 arg2 = static_cast< int >(val2);
28005 ecode3 = SWIG_AsVal_int(obj2, &val3);
28006 if (!SWIG_IsOK(ecode3)) {
28007 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28008 }
28009 arg3 = static_cast< int >(val3);
28010 {
28011 PyThreadState* __tstate = wxPyBeginAllowThreads();
28012 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28013 wxPyEndAllowThreads(__tstate);
28014 if (PyErr_Occurred()) SWIG_fail;
28015 }
28016 {
28017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28018 }
28019 return resultobj;
28020 fail:
28021 return NULL;
28022 }
28023
28024
28025 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28026 PyObject *resultobj = 0;
28027 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28028 void *argp1 = 0 ;
28029 int res1 = 0 ;
28030 PyObject *swig_obj[1] ;
28031
28032 if (!args) SWIG_fail;
28033 swig_obj[0] = args;
28034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28035 if (!SWIG_IsOK(res1)) {
28036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28037 }
28038 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28039 {
28040 PyThreadState* __tstate = wxPyBeginAllowThreads();
28041 (arg1)->OnEndDocument();
28042 wxPyEndAllowThreads(__tstate);
28043 if (PyErr_Occurred()) SWIG_fail;
28044 }
28045 resultobj = SWIG_Py_Void();
28046 return resultobj;
28047 fail:
28048 return NULL;
28049 }
28050
28051
28052 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28053 PyObject *resultobj = 0;
28054 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28055 void *argp1 = 0 ;
28056 int res1 = 0 ;
28057 PyObject *swig_obj[1] ;
28058
28059 if (!args) SWIG_fail;
28060 swig_obj[0] = args;
28061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28062 if (!SWIG_IsOK(res1)) {
28063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28064 }
28065 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28066 {
28067 PyThreadState* __tstate = wxPyBeginAllowThreads();
28068 (arg1)->OnBeginPrinting();
28069 wxPyEndAllowThreads(__tstate);
28070 if (PyErr_Occurred()) SWIG_fail;
28071 }
28072 resultobj = SWIG_Py_Void();
28073 return resultobj;
28074 fail:
28075 return NULL;
28076 }
28077
28078
28079 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28080 PyObject *resultobj = 0;
28081 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28082 void *argp1 = 0 ;
28083 int res1 = 0 ;
28084 PyObject *swig_obj[1] ;
28085
28086 if (!args) SWIG_fail;
28087 swig_obj[0] = args;
28088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28089 if (!SWIG_IsOK(res1)) {
28090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28091 }
28092 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28093 {
28094 PyThreadState* __tstate = wxPyBeginAllowThreads();
28095 (arg1)->OnEndPrinting();
28096 wxPyEndAllowThreads(__tstate);
28097 if (PyErr_Occurred()) SWIG_fail;
28098 }
28099 resultobj = SWIG_Py_Void();
28100 return resultobj;
28101 fail:
28102 return NULL;
28103 }
28104
28105
28106 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28107 PyObject *resultobj = 0;
28108 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28109 void *argp1 = 0 ;
28110 int res1 = 0 ;
28111 PyObject *swig_obj[1] ;
28112
28113 if (!args) SWIG_fail;
28114 swig_obj[0] = args;
28115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28116 if (!SWIG_IsOK(res1)) {
28117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28118 }
28119 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28120 {
28121 PyThreadState* __tstate = wxPyBeginAllowThreads();
28122 (arg1)->OnPreparePrinting();
28123 wxPyEndAllowThreads(__tstate);
28124 if (PyErr_Occurred()) SWIG_fail;
28125 }
28126 resultobj = SWIG_Py_Void();
28127 return resultobj;
28128 fail:
28129 return NULL;
28130 }
28131
28132
28133 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28134 PyObject *resultobj = 0;
28135 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28136 int arg2 ;
28137 bool result;
28138 void *argp1 = 0 ;
28139 int res1 = 0 ;
28140 int val2 ;
28141 int ecode2 = 0 ;
28142 PyObject * obj0 = 0 ;
28143 PyObject * obj1 = 0 ;
28144 char * kwnames[] = {
28145 (char *) "self",(char *) "page", NULL
28146 };
28147
28148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28150 if (!SWIG_IsOK(res1)) {
28151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28152 }
28153 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28154 ecode2 = SWIG_AsVal_int(obj1, &val2);
28155 if (!SWIG_IsOK(ecode2)) {
28156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28157 }
28158 arg2 = static_cast< int >(val2);
28159 {
28160 PyThreadState* __tstate = wxPyBeginAllowThreads();
28161 result = (bool)(arg1)->HasPage(arg2);
28162 wxPyEndAllowThreads(__tstate);
28163 if (PyErr_Occurred()) SWIG_fail;
28164 }
28165 {
28166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28167 }
28168 return resultobj;
28169 fail:
28170 return NULL;
28171 }
28172
28173
28174 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28175 PyObject *resultobj = 0;
28176 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28177 int *arg2 = (int *) 0 ;
28178 int *arg3 = (int *) 0 ;
28179 int *arg4 = (int *) 0 ;
28180 int *arg5 = (int *) 0 ;
28181 void *argp1 = 0 ;
28182 int res1 = 0 ;
28183 int temp2 ;
28184 int res2 = SWIG_TMPOBJ ;
28185 int temp3 ;
28186 int res3 = SWIG_TMPOBJ ;
28187 int temp4 ;
28188 int res4 = SWIG_TMPOBJ ;
28189 int temp5 ;
28190 int res5 = SWIG_TMPOBJ ;
28191 PyObject *swig_obj[1] ;
28192
28193 arg2 = &temp2;
28194 arg3 = &temp3;
28195 arg4 = &temp4;
28196 arg5 = &temp5;
28197 if (!args) SWIG_fail;
28198 swig_obj[0] = args;
28199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28200 if (!SWIG_IsOK(res1)) {
28201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28202 }
28203 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28204 {
28205 PyThreadState* __tstate = wxPyBeginAllowThreads();
28206 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28207 wxPyEndAllowThreads(__tstate);
28208 if (PyErr_Occurred()) SWIG_fail;
28209 }
28210 resultobj = SWIG_Py_Void();
28211 if (SWIG_IsTmpObj(res2)) {
28212 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28213 } else {
28214 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28215 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28216 }
28217 if (SWIG_IsTmpObj(res3)) {
28218 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28219 } else {
28220 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28221 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28222 }
28223 if (SWIG_IsTmpObj(res4)) {
28224 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28225 } else {
28226 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28227 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28228 }
28229 if (SWIG_IsTmpObj(res5)) {
28230 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28231 } else {
28232 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28233 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28234 }
28235 return resultobj;
28236 fail:
28237 return NULL;
28238 }
28239
28240
28241 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28242 PyObject *obj;
28243 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28244 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28245 return SWIG_Py_Void();
28246 }
28247
28248 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28249 return SWIG_Python_InitShadowInstance(args);
28250 }
28251
28252 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28253 PyObject *resultobj = 0;
28254 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28255 wxWindow *arg2 = (wxWindow *) 0 ;
28256 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28257 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28258 wxSize const &arg4_defvalue = wxDefaultSize ;
28259 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28260 long arg5 = (long) 0 ;
28261 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28262 wxString *arg6 = (wxString *) &arg6_defvalue ;
28263 wxPreviewCanvas *result = 0 ;
28264 void *argp1 = 0 ;
28265 int res1 = 0 ;
28266 void *argp2 = 0 ;
28267 int res2 = 0 ;
28268 wxPoint temp3 ;
28269 wxSize temp4 ;
28270 long val5 ;
28271 int ecode5 = 0 ;
28272 bool temp6 = false ;
28273 PyObject * obj0 = 0 ;
28274 PyObject * obj1 = 0 ;
28275 PyObject * obj2 = 0 ;
28276 PyObject * obj3 = 0 ;
28277 PyObject * obj4 = 0 ;
28278 PyObject * obj5 = 0 ;
28279 char * kwnames[] = {
28280 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28281 };
28282
28283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28285 if (!SWIG_IsOK(res1)) {
28286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28287 }
28288 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28289 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28290 if (!SWIG_IsOK(res2)) {
28291 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28292 }
28293 arg2 = reinterpret_cast< wxWindow * >(argp2);
28294 if (obj2) {
28295 {
28296 arg3 = &temp3;
28297 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28298 }
28299 }
28300 if (obj3) {
28301 {
28302 arg4 = &temp4;
28303 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28304 }
28305 }
28306 if (obj4) {
28307 ecode5 = SWIG_AsVal_long(obj4, &val5);
28308 if (!SWIG_IsOK(ecode5)) {
28309 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28310 }
28311 arg5 = static_cast< long >(val5);
28312 }
28313 if (obj5) {
28314 {
28315 arg6 = wxString_in_helper(obj5);
28316 if (arg6 == NULL) SWIG_fail;
28317 temp6 = true;
28318 }
28319 }
28320 {
28321 if (!wxPyCheckForApp()) SWIG_fail;
28322 PyThreadState* __tstate = wxPyBeginAllowThreads();
28323 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28324 wxPyEndAllowThreads(__tstate);
28325 if (PyErr_Occurred()) SWIG_fail;
28326 }
28327 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28328 {
28329 if (temp6)
28330 delete arg6;
28331 }
28332 return resultobj;
28333 fail:
28334 {
28335 if (temp6)
28336 delete arg6;
28337 }
28338 return NULL;
28339 }
28340
28341
28342 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28343 PyObject *obj;
28344 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28345 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28346 return SWIG_Py_Void();
28347 }
28348
28349 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28350 return SWIG_Python_InitShadowInstance(args);
28351 }
28352
28353 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28354 PyObject *resultobj = 0;
28355 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28356 wxFrame *arg2 = (wxFrame *) 0 ;
28357 wxString *arg3 = 0 ;
28358 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28359 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28360 wxSize const &arg5_defvalue = wxDefaultSize ;
28361 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28362 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28363 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28364 wxString *arg7 = (wxString *) &arg7_defvalue ;
28365 wxPreviewFrame *result = 0 ;
28366 int res1 = 0 ;
28367 void *argp2 = 0 ;
28368 int res2 = 0 ;
28369 bool temp3 = false ;
28370 wxPoint temp4 ;
28371 wxSize temp5 ;
28372 long val6 ;
28373 int ecode6 = 0 ;
28374 bool temp7 = false ;
28375 PyObject * obj0 = 0 ;
28376 PyObject * obj1 = 0 ;
28377 PyObject * obj2 = 0 ;
28378 PyObject * obj3 = 0 ;
28379 PyObject * obj4 = 0 ;
28380 PyObject * obj5 = 0 ;
28381 PyObject * obj6 = 0 ;
28382 char * kwnames[] = {
28383 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28384 };
28385
28386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28387 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28388 if (!SWIG_IsOK(res1)) {
28389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28390 }
28391 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28392 if (!SWIG_IsOK(res2)) {
28393 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28394 }
28395 arg2 = reinterpret_cast< wxFrame * >(argp2);
28396 {
28397 arg3 = wxString_in_helper(obj2);
28398 if (arg3 == NULL) SWIG_fail;
28399 temp3 = true;
28400 }
28401 if (obj3) {
28402 {
28403 arg4 = &temp4;
28404 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28405 }
28406 }
28407 if (obj4) {
28408 {
28409 arg5 = &temp5;
28410 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28411 }
28412 }
28413 if (obj5) {
28414 ecode6 = SWIG_AsVal_long(obj5, &val6);
28415 if (!SWIG_IsOK(ecode6)) {
28416 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28417 }
28418 arg6 = static_cast< long >(val6);
28419 }
28420 if (obj6) {
28421 {
28422 arg7 = wxString_in_helper(obj6);
28423 if (arg7 == NULL) SWIG_fail;
28424 temp7 = true;
28425 }
28426 }
28427 {
28428 if (!wxPyCheckForApp()) SWIG_fail;
28429 PyThreadState* __tstate = wxPyBeginAllowThreads();
28430 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28431 wxPyEndAllowThreads(__tstate);
28432 if (PyErr_Occurred()) SWIG_fail;
28433 }
28434 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28435 {
28436 if (temp3)
28437 delete arg3;
28438 }
28439 {
28440 if (temp7)
28441 delete arg7;
28442 }
28443 return resultobj;
28444 fail:
28445 {
28446 if (temp3)
28447 delete arg3;
28448 }
28449 {
28450 if (temp7)
28451 delete arg7;
28452 }
28453 return NULL;
28454 }
28455
28456
28457 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28458 PyObject *resultobj = 0;
28459 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28460 void *argp1 = 0 ;
28461 int res1 = 0 ;
28462 PyObject *swig_obj[1] ;
28463
28464 if (!args) SWIG_fail;
28465 swig_obj[0] = args;
28466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28467 if (!SWIG_IsOK(res1)) {
28468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28469 }
28470 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28471 {
28472 PyThreadState* __tstate = wxPyBeginAllowThreads();
28473 (arg1)->Initialize();
28474 wxPyEndAllowThreads(__tstate);
28475 if (PyErr_Occurred()) SWIG_fail;
28476 }
28477 resultobj = SWIG_Py_Void();
28478 return resultobj;
28479 fail:
28480 return NULL;
28481 }
28482
28483
28484 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28485 PyObject *resultobj = 0;
28486 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28487 void *argp1 = 0 ;
28488 int res1 = 0 ;
28489 PyObject *swig_obj[1] ;
28490
28491 if (!args) SWIG_fail;
28492 swig_obj[0] = args;
28493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28494 if (!SWIG_IsOK(res1)) {
28495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28496 }
28497 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28498 {
28499 PyThreadState* __tstate = wxPyBeginAllowThreads();
28500 (arg1)->CreateControlBar();
28501 wxPyEndAllowThreads(__tstate);
28502 if (PyErr_Occurred()) SWIG_fail;
28503 }
28504 resultobj = SWIG_Py_Void();
28505 return resultobj;
28506 fail:
28507 return NULL;
28508 }
28509
28510
28511 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28512 PyObject *resultobj = 0;
28513 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28514 void *argp1 = 0 ;
28515 int res1 = 0 ;
28516 PyObject *swig_obj[1] ;
28517
28518 if (!args) SWIG_fail;
28519 swig_obj[0] = args;
28520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28521 if (!SWIG_IsOK(res1)) {
28522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28523 }
28524 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28525 {
28526 PyThreadState* __tstate = wxPyBeginAllowThreads();
28527 (arg1)->CreateCanvas();
28528 wxPyEndAllowThreads(__tstate);
28529 if (PyErr_Occurred()) SWIG_fail;
28530 }
28531 resultobj = SWIG_Py_Void();
28532 return resultobj;
28533 fail:
28534 return NULL;
28535 }
28536
28537
28538 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28539 PyObject *resultobj = 0;
28540 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28541 wxPreviewControlBar *result = 0 ;
28542 void *argp1 = 0 ;
28543 int res1 = 0 ;
28544 PyObject *swig_obj[1] ;
28545
28546 if (!args) SWIG_fail;
28547 swig_obj[0] = args;
28548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28549 if (!SWIG_IsOK(res1)) {
28550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28551 }
28552 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28553 {
28554 PyThreadState* __tstate = wxPyBeginAllowThreads();
28555 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28556 wxPyEndAllowThreads(__tstate);
28557 if (PyErr_Occurred()) SWIG_fail;
28558 }
28559 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28560 return resultobj;
28561 fail:
28562 return NULL;
28563 }
28564
28565
28566 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28567 PyObject *obj;
28568 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28569 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28570 return SWIG_Py_Void();
28571 }
28572
28573 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28574 return SWIG_Python_InitShadowInstance(args);
28575 }
28576
28577 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28578 PyObject *resultobj = 0;
28579 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28580 long arg2 ;
28581 wxWindow *arg3 = (wxWindow *) 0 ;
28582 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28583 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28584 wxSize const &arg5_defvalue = wxDefaultSize ;
28585 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28586 long arg6 = (long) wxTAB_TRAVERSAL ;
28587 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28588 wxString *arg7 = (wxString *) &arg7_defvalue ;
28589 wxPreviewControlBar *result = 0 ;
28590 void *argp1 = 0 ;
28591 int res1 = 0 ;
28592 long val2 ;
28593 int ecode2 = 0 ;
28594 void *argp3 = 0 ;
28595 int res3 = 0 ;
28596 wxPoint temp4 ;
28597 wxSize temp5 ;
28598 long val6 ;
28599 int ecode6 = 0 ;
28600 bool temp7 = false ;
28601 PyObject * obj0 = 0 ;
28602 PyObject * obj1 = 0 ;
28603 PyObject * obj2 = 0 ;
28604 PyObject * obj3 = 0 ;
28605 PyObject * obj4 = 0 ;
28606 PyObject * obj5 = 0 ;
28607 PyObject * obj6 = 0 ;
28608 char * kwnames[] = {
28609 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28610 };
28611
28612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28614 if (!SWIG_IsOK(res1)) {
28615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28616 }
28617 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28618 ecode2 = SWIG_AsVal_long(obj1, &val2);
28619 if (!SWIG_IsOK(ecode2)) {
28620 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28621 }
28622 arg2 = static_cast< long >(val2);
28623 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28624 if (!SWIG_IsOK(res3)) {
28625 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28626 }
28627 arg3 = reinterpret_cast< wxWindow * >(argp3);
28628 if (obj3) {
28629 {
28630 arg4 = &temp4;
28631 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28632 }
28633 }
28634 if (obj4) {
28635 {
28636 arg5 = &temp5;
28637 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28638 }
28639 }
28640 if (obj5) {
28641 ecode6 = SWIG_AsVal_long(obj5, &val6);
28642 if (!SWIG_IsOK(ecode6)) {
28643 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28644 }
28645 arg6 = static_cast< long >(val6);
28646 }
28647 if (obj6) {
28648 {
28649 arg7 = wxString_in_helper(obj6);
28650 if (arg7 == NULL) SWIG_fail;
28651 temp7 = true;
28652 }
28653 }
28654 {
28655 if (!wxPyCheckForApp()) SWIG_fail;
28656 PyThreadState* __tstate = wxPyBeginAllowThreads();
28657 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28658 wxPyEndAllowThreads(__tstate);
28659 if (PyErr_Occurred()) SWIG_fail;
28660 }
28661 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28662 {
28663 if (temp7)
28664 delete arg7;
28665 }
28666 return resultobj;
28667 fail:
28668 {
28669 if (temp7)
28670 delete arg7;
28671 }
28672 return NULL;
28673 }
28674
28675
28676 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28677 PyObject *resultobj = 0;
28678 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28679 int result;
28680 void *argp1 = 0 ;
28681 int res1 = 0 ;
28682 PyObject *swig_obj[1] ;
28683
28684 if (!args) SWIG_fail;
28685 swig_obj[0] = args;
28686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28687 if (!SWIG_IsOK(res1)) {
28688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28689 }
28690 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28691 {
28692 PyThreadState* __tstate = wxPyBeginAllowThreads();
28693 result = (int)(arg1)->GetZoomControl();
28694 wxPyEndAllowThreads(__tstate);
28695 if (PyErr_Occurred()) SWIG_fail;
28696 }
28697 resultobj = SWIG_From_int(static_cast< int >(result));
28698 return resultobj;
28699 fail:
28700 return NULL;
28701 }
28702
28703
28704 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28705 PyObject *resultobj = 0;
28706 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28707 int arg2 ;
28708 void *argp1 = 0 ;
28709 int res1 = 0 ;
28710 int val2 ;
28711 int ecode2 = 0 ;
28712 PyObject * obj0 = 0 ;
28713 PyObject * obj1 = 0 ;
28714 char * kwnames[] = {
28715 (char *) "self",(char *) "zoom", NULL
28716 };
28717
28718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28720 if (!SWIG_IsOK(res1)) {
28721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28722 }
28723 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28724 ecode2 = SWIG_AsVal_int(obj1, &val2);
28725 if (!SWIG_IsOK(ecode2)) {
28726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28727 }
28728 arg2 = static_cast< int >(val2);
28729 {
28730 PyThreadState* __tstate = wxPyBeginAllowThreads();
28731 (arg1)->SetZoomControl(arg2);
28732 wxPyEndAllowThreads(__tstate);
28733 if (PyErr_Occurred()) SWIG_fail;
28734 }
28735 resultobj = SWIG_Py_Void();
28736 return resultobj;
28737 fail:
28738 return NULL;
28739 }
28740
28741
28742 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28743 PyObject *resultobj = 0;
28744 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28745 wxPrintPreview *result = 0 ;
28746 void *argp1 = 0 ;
28747 int res1 = 0 ;
28748 PyObject *swig_obj[1] ;
28749
28750 if (!args) SWIG_fail;
28751 swig_obj[0] = args;
28752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28753 if (!SWIG_IsOK(res1)) {
28754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28755 }
28756 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28757 {
28758 PyThreadState* __tstate = wxPyBeginAllowThreads();
28759 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28760 wxPyEndAllowThreads(__tstate);
28761 if (PyErr_Occurred()) SWIG_fail;
28762 }
28763 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28764 return resultobj;
28765 fail:
28766 return NULL;
28767 }
28768
28769
28770 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28771 PyObject *resultobj = 0;
28772 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28773 void *argp1 = 0 ;
28774 int res1 = 0 ;
28775 PyObject *swig_obj[1] ;
28776
28777 if (!args) SWIG_fail;
28778 swig_obj[0] = args;
28779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28780 if (!SWIG_IsOK(res1)) {
28781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28782 }
28783 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28784 {
28785 PyThreadState* __tstate = wxPyBeginAllowThreads();
28786 (arg1)->OnNext();
28787 wxPyEndAllowThreads(__tstate);
28788 if (PyErr_Occurred()) SWIG_fail;
28789 }
28790 resultobj = SWIG_Py_Void();
28791 return resultobj;
28792 fail:
28793 return NULL;
28794 }
28795
28796
28797 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28798 PyObject *resultobj = 0;
28799 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28800 void *argp1 = 0 ;
28801 int res1 = 0 ;
28802 PyObject *swig_obj[1] ;
28803
28804 if (!args) SWIG_fail;
28805 swig_obj[0] = args;
28806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28807 if (!SWIG_IsOK(res1)) {
28808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28809 }
28810 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28811 {
28812 PyThreadState* __tstate = wxPyBeginAllowThreads();
28813 (arg1)->OnPrevious();
28814 wxPyEndAllowThreads(__tstate);
28815 if (PyErr_Occurred()) SWIG_fail;
28816 }
28817 resultobj = SWIG_Py_Void();
28818 return resultobj;
28819 fail:
28820 return NULL;
28821 }
28822
28823
28824 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28825 PyObject *resultobj = 0;
28826 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28827 void *argp1 = 0 ;
28828 int res1 = 0 ;
28829 PyObject *swig_obj[1] ;
28830
28831 if (!args) SWIG_fail;
28832 swig_obj[0] = args;
28833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28834 if (!SWIG_IsOK(res1)) {
28835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28836 }
28837 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28838 {
28839 PyThreadState* __tstate = wxPyBeginAllowThreads();
28840 (arg1)->OnFirst();
28841 wxPyEndAllowThreads(__tstate);
28842 if (PyErr_Occurred()) SWIG_fail;
28843 }
28844 resultobj = SWIG_Py_Void();
28845 return resultobj;
28846 fail:
28847 return NULL;
28848 }
28849
28850
28851 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28852 PyObject *resultobj = 0;
28853 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28854 void *argp1 = 0 ;
28855 int res1 = 0 ;
28856 PyObject *swig_obj[1] ;
28857
28858 if (!args) SWIG_fail;
28859 swig_obj[0] = args;
28860 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28861 if (!SWIG_IsOK(res1)) {
28862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28863 }
28864 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28865 {
28866 PyThreadState* __tstate = wxPyBeginAllowThreads();
28867 (arg1)->OnLast();
28868 wxPyEndAllowThreads(__tstate);
28869 if (PyErr_Occurred()) SWIG_fail;
28870 }
28871 resultobj = SWIG_Py_Void();
28872 return resultobj;
28873 fail:
28874 return NULL;
28875 }
28876
28877
28878 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28879 PyObject *resultobj = 0;
28880 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28881 void *argp1 = 0 ;
28882 int res1 = 0 ;
28883 PyObject *swig_obj[1] ;
28884
28885 if (!args) SWIG_fail;
28886 swig_obj[0] = args;
28887 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28888 if (!SWIG_IsOK(res1)) {
28889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28890 }
28891 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28892 {
28893 PyThreadState* __tstate = wxPyBeginAllowThreads();
28894 (arg1)->OnGoto();
28895 wxPyEndAllowThreads(__tstate);
28896 if (PyErr_Occurred()) SWIG_fail;
28897 }
28898 resultobj = SWIG_Py_Void();
28899 return resultobj;
28900 fail:
28901 return NULL;
28902 }
28903
28904
28905 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28906 PyObject *obj;
28907 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28908 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
28909 return SWIG_Py_Void();
28910 }
28911
28912 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28913 return SWIG_Python_InitShadowInstance(args);
28914 }
28915
28916 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28917 PyObject *resultobj = 0;
28918 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28919 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28920 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
28921 wxPrintPreview *result = 0 ;
28922 int res1 = 0 ;
28923 int res2 = 0 ;
28924 void *argp3 = 0 ;
28925 int res3 = 0 ;
28926
28927 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
28928 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28929 if (!SWIG_IsOK(res1)) {
28930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28931 }
28932 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28933 if (!SWIG_IsOK(res2)) {
28934 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28935 }
28936 if (swig_obj[2]) {
28937 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28938 if (!SWIG_IsOK(res3)) {
28939 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28940 }
28941 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
28942 }
28943 {
28944 if (!wxPyCheckForApp()) SWIG_fail;
28945 PyThreadState* __tstate = wxPyBeginAllowThreads();
28946 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28947 wxPyEndAllowThreads(__tstate);
28948 if (PyErr_Occurred()) SWIG_fail;
28949 }
28950 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28951 return resultobj;
28952 fail:
28953 return NULL;
28954 }
28955
28956
28957 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28958 PyObject *resultobj = 0;
28959 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28960 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28961 wxPrintData *arg3 = (wxPrintData *) 0 ;
28962 wxPrintPreview *result = 0 ;
28963 int res1 = 0 ;
28964 int res2 = 0 ;
28965 void *argp3 = 0 ;
28966 int res3 = 0 ;
28967
28968 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
28969 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28970 if (!SWIG_IsOK(res1)) {
28971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28972 }
28973 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28974 if (!SWIG_IsOK(res2)) {
28975 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28976 }
28977 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
28978 if (!SWIG_IsOK(res3)) {
28979 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28980 }
28981 arg3 = reinterpret_cast< wxPrintData * >(argp3);
28982 {
28983 if (!wxPyCheckForApp()) SWIG_fail;
28984 PyThreadState* __tstate = wxPyBeginAllowThreads();
28985 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28986 wxPyEndAllowThreads(__tstate);
28987 if (PyErr_Occurred()) SWIG_fail;
28988 }
28989 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28990 return resultobj;
28991 fail:
28992 return NULL;
28993 }
28994
28995
28996 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
28997 int argc;
28998 PyObject *argv[4];
28999
29000 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29001 --argc;
29002 if ((argc >= 2) && (argc <= 3)) {
29003 int _v = 0;
29004 if (argc > 2) {
29005 {
29006 void *vptr = 0;
29007 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29008 _v = SWIG_CheckState(res);
29009 }
29010 if (!_v) goto check_1;
29011 }
29012 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29013 }
29014 check_1:
29015
29016 if (argc == 3) {
29017 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29018 }
29019
29020 fail:
29021 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29022 return NULL;
29023 }
29024
29025
29026 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29027 PyObject *resultobj = 0;
29028 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29029 void *argp1 = 0 ;
29030 int res1 = 0 ;
29031 PyObject *swig_obj[1] ;
29032
29033 if (!args) SWIG_fail;
29034 swig_obj[0] = args;
29035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29036 if (!SWIG_IsOK(res1)) {
29037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29038 }
29039 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29040 {
29041 PyThreadState* __tstate = wxPyBeginAllowThreads();
29042 delete arg1;
29043
29044 wxPyEndAllowThreads(__tstate);
29045 if (PyErr_Occurred()) SWIG_fail;
29046 }
29047 resultobj = SWIG_Py_Void();
29048 return resultobj;
29049 fail:
29050 return NULL;
29051 }
29052
29053
29054 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29055 PyObject *resultobj = 0;
29056 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29057 int arg2 ;
29058 bool result;
29059 void *argp1 = 0 ;
29060 int res1 = 0 ;
29061 int val2 ;
29062 int ecode2 = 0 ;
29063 PyObject * obj0 = 0 ;
29064 PyObject * obj1 = 0 ;
29065 char * kwnames[] = {
29066 (char *) "self",(char *) "pageNum", NULL
29067 };
29068
29069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29071 if (!SWIG_IsOK(res1)) {
29072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29073 }
29074 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29075 ecode2 = SWIG_AsVal_int(obj1, &val2);
29076 if (!SWIG_IsOK(ecode2)) {
29077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29078 }
29079 arg2 = static_cast< int >(val2);
29080 {
29081 PyThreadState* __tstate = wxPyBeginAllowThreads();
29082 result = (bool)(arg1)->SetCurrentPage(arg2);
29083 wxPyEndAllowThreads(__tstate);
29084 if (PyErr_Occurred()) SWIG_fail;
29085 }
29086 {
29087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29088 }
29089 return resultobj;
29090 fail:
29091 return NULL;
29092 }
29093
29094
29095 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29096 PyObject *resultobj = 0;
29097 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29098 int result;
29099 void *argp1 = 0 ;
29100 int res1 = 0 ;
29101 PyObject *swig_obj[1] ;
29102
29103 if (!args) SWIG_fail;
29104 swig_obj[0] = args;
29105 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29106 if (!SWIG_IsOK(res1)) {
29107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29108 }
29109 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29110 {
29111 PyThreadState* __tstate = wxPyBeginAllowThreads();
29112 result = (int)(arg1)->GetCurrentPage();
29113 wxPyEndAllowThreads(__tstate);
29114 if (PyErr_Occurred()) SWIG_fail;
29115 }
29116 resultobj = SWIG_From_int(static_cast< int >(result));
29117 return resultobj;
29118 fail:
29119 return NULL;
29120 }
29121
29122
29123 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29124 PyObject *resultobj = 0;
29125 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29126 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29127 void *argp1 = 0 ;
29128 int res1 = 0 ;
29129 int res2 = 0 ;
29130 PyObject * obj0 = 0 ;
29131 PyObject * obj1 = 0 ;
29132 char * kwnames[] = {
29133 (char *) "self",(char *) "printout", NULL
29134 };
29135
29136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29138 if (!SWIG_IsOK(res1)) {
29139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29140 }
29141 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29142 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29143 if (!SWIG_IsOK(res2)) {
29144 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29145 }
29146 {
29147 PyThreadState* __tstate = wxPyBeginAllowThreads();
29148 (arg1)->SetPrintout(arg2);
29149 wxPyEndAllowThreads(__tstate);
29150 if (PyErr_Occurred()) SWIG_fail;
29151 }
29152 resultobj = SWIG_Py_Void();
29153 return resultobj;
29154 fail:
29155 return NULL;
29156 }
29157
29158
29159 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29160 PyObject *resultobj = 0;
29161 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29162 wxPyPrintout *result = 0 ;
29163 void *argp1 = 0 ;
29164 int res1 = 0 ;
29165 PyObject *swig_obj[1] ;
29166
29167 if (!args) SWIG_fail;
29168 swig_obj[0] = args;
29169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29170 if (!SWIG_IsOK(res1)) {
29171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29172 }
29173 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29174 {
29175 PyThreadState* __tstate = wxPyBeginAllowThreads();
29176 result = (wxPyPrintout *)(arg1)->GetPrintout();
29177 wxPyEndAllowThreads(__tstate);
29178 if (PyErr_Occurred()) SWIG_fail;
29179 }
29180 {
29181 resultobj = wxPyMake_wxObject(result, 0);
29182 }
29183 return resultobj;
29184 fail:
29185 return NULL;
29186 }
29187
29188
29189 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29190 PyObject *resultobj = 0;
29191 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29192 wxPyPrintout *result = 0 ;
29193 void *argp1 = 0 ;
29194 int res1 = 0 ;
29195 PyObject *swig_obj[1] ;
29196
29197 if (!args) SWIG_fail;
29198 swig_obj[0] = args;
29199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29200 if (!SWIG_IsOK(res1)) {
29201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29202 }
29203 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29204 {
29205 PyThreadState* __tstate = wxPyBeginAllowThreads();
29206 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29207 wxPyEndAllowThreads(__tstate);
29208 if (PyErr_Occurred()) SWIG_fail;
29209 }
29210 {
29211 resultobj = wxPyMake_wxObject(result, 0);
29212 }
29213 return resultobj;
29214 fail:
29215 return NULL;
29216 }
29217
29218
29219 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29220 PyObject *resultobj = 0;
29221 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29222 wxFrame *arg2 = (wxFrame *) 0 ;
29223 void *argp1 = 0 ;
29224 int res1 = 0 ;
29225 void *argp2 = 0 ;
29226 int res2 = 0 ;
29227 PyObject * obj0 = 0 ;
29228 PyObject * obj1 = 0 ;
29229 char * kwnames[] = {
29230 (char *) "self",(char *) "frame", NULL
29231 };
29232
29233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29235 if (!SWIG_IsOK(res1)) {
29236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29237 }
29238 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
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 '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29242 }
29243 arg2 = reinterpret_cast< wxFrame * >(argp2);
29244 {
29245 PyThreadState* __tstate = wxPyBeginAllowThreads();
29246 (arg1)->SetFrame(arg2);
29247 wxPyEndAllowThreads(__tstate);
29248 if (PyErr_Occurred()) SWIG_fail;
29249 }
29250 resultobj = SWIG_Py_Void();
29251 return resultobj;
29252 fail:
29253 return NULL;
29254 }
29255
29256
29257 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29258 PyObject *resultobj = 0;
29259 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29260 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29261 void *argp1 = 0 ;
29262 int res1 = 0 ;
29263 void *argp2 = 0 ;
29264 int res2 = 0 ;
29265 PyObject * obj0 = 0 ;
29266 PyObject * obj1 = 0 ;
29267 char * kwnames[] = {
29268 (char *) "self",(char *) "canvas", NULL
29269 };
29270
29271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29273 if (!SWIG_IsOK(res1)) {
29274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29275 }
29276 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29277 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29278 if (!SWIG_IsOK(res2)) {
29279 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29280 }
29281 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29282 {
29283 PyThreadState* __tstate = wxPyBeginAllowThreads();
29284 (arg1)->SetCanvas(arg2);
29285 wxPyEndAllowThreads(__tstate);
29286 if (PyErr_Occurred()) SWIG_fail;
29287 }
29288 resultobj = SWIG_Py_Void();
29289 return resultobj;
29290 fail:
29291 return NULL;
29292 }
29293
29294
29295 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29296 PyObject *resultobj = 0;
29297 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29298 wxFrame *result = 0 ;
29299 void *argp1 = 0 ;
29300 int res1 = 0 ;
29301 PyObject *swig_obj[1] ;
29302
29303 if (!args) SWIG_fail;
29304 swig_obj[0] = args;
29305 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29306 if (!SWIG_IsOK(res1)) {
29307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29308 }
29309 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29310 {
29311 PyThreadState* __tstate = wxPyBeginAllowThreads();
29312 result = (wxFrame *)(arg1)->GetFrame();
29313 wxPyEndAllowThreads(__tstate);
29314 if (PyErr_Occurred()) SWIG_fail;
29315 }
29316 {
29317 resultobj = wxPyMake_wxObject(result, 0);
29318 }
29319 return resultobj;
29320 fail:
29321 return NULL;
29322 }
29323
29324
29325 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29326 PyObject *resultobj = 0;
29327 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29328 wxPreviewCanvas *result = 0 ;
29329 void *argp1 = 0 ;
29330 int res1 = 0 ;
29331 PyObject *swig_obj[1] ;
29332
29333 if (!args) SWIG_fail;
29334 swig_obj[0] = args;
29335 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29336 if (!SWIG_IsOK(res1)) {
29337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29338 }
29339 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29340 {
29341 PyThreadState* __tstate = wxPyBeginAllowThreads();
29342 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29343 wxPyEndAllowThreads(__tstate);
29344 if (PyErr_Occurred()) SWIG_fail;
29345 }
29346 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29347 return resultobj;
29348 fail:
29349 return NULL;
29350 }
29351
29352
29353 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29354 PyObject *resultobj = 0;
29355 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29356 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29357 wxDC *arg3 = 0 ;
29358 bool result;
29359 void *argp1 = 0 ;
29360 int res1 = 0 ;
29361 void *argp2 = 0 ;
29362 int res2 = 0 ;
29363 void *argp3 = 0 ;
29364 int res3 = 0 ;
29365 PyObject * obj0 = 0 ;
29366 PyObject * obj1 = 0 ;
29367 PyObject * obj2 = 0 ;
29368 char * kwnames[] = {
29369 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29370 };
29371
29372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29374 if (!SWIG_IsOK(res1)) {
29375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29376 }
29377 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29378 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29379 if (!SWIG_IsOK(res2)) {
29380 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29381 }
29382 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29383 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29384 if (!SWIG_IsOK(res3)) {
29385 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29386 }
29387 if (!argp3) {
29388 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29389 }
29390 arg3 = reinterpret_cast< wxDC * >(argp3);
29391 {
29392 PyThreadState* __tstate = wxPyBeginAllowThreads();
29393 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29394 wxPyEndAllowThreads(__tstate);
29395 if (PyErr_Occurred()) SWIG_fail;
29396 }
29397 {
29398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29399 }
29400 return resultobj;
29401 fail:
29402 return NULL;
29403 }
29404
29405
29406 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29407 PyObject *resultobj = 0;
29408 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29409 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29410 wxDC *arg3 = 0 ;
29411 bool result;
29412 void *argp1 = 0 ;
29413 int res1 = 0 ;
29414 void *argp2 = 0 ;
29415 int res2 = 0 ;
29416 void *argp3 = 0 ;
29417 int res3 = 0 ;
29418 PyObject * obj0 = 0 ;
29419 PyObject * obj1 = 0 ;
29420 PyObject * obj2 = 0 ;
29421 char * kwnames[] = {
29422 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29423 };
29424
29425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29427 if (!SWIG_IsOK(res1)) {
29428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29429 }
29430 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29431 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29432 if (!SWIG_IsOK(res2)) {
29433 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29434 }
29435 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29436 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29437 if (!SWIG_IsOK(res3)) {
29438 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29439 }
29440 if (!argp3) {
29441 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29442 }
29443 arg3 = reinterpret_cast< wxDC * >(argp3);
29444 {
29445 PyThreadState* __tstate = wxPyBeginAllowThreads();
29446 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29447 wxPyEndAllowThreads(__tstate);
29448 if (PyErr_Occurred()) SWIG_fail;
29449 }
29450 {
29451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29452 }
29453 return resultobj;
29454 fail:
29455 return NULL;
29456 }
29457
29458
29459 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29460 PyObject *resultobj = 0;
29461 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29462 int arg2 ;
29463 bool result;
29464 void *argp1 = 0 ;
29465 int res1 = 0 ;
29466 int val2 ;
29467 int ecode2 = 0 ;
29468 PyObject * obj0 = 0 ;
29469 PyObject * obj1 = 0 ;
29470 char * kwnames[] = {
29471 (char *) "self",(char *) "pageNum", NULL
29472 };
29473
29474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29476 if (!SWIG_IsOK(res1)) {
29477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29478 }
29479 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29480 ecode2 = SWIG_AsVal_int(obj1, &val2);
29481 if (!SWIG_IsOK(ecode2)) {
29482 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29483 }
29484 arg2 = static_cast< int >(val2);
29485 {
29486 PyThreadState* __tstate = wxPyBeginAllowThreads();
29487 result = (bool)(arg1)->RenderPage(arg2);
29488 wxPyEndAllowThreads(__tstate);
29489 if (PyErr_Occurred()) SWIG_fail;
29490 }
29491 {
29492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29493 }
29494 return resultobj;
29495 fail:
29496 return NULL;
29497 }
29498
29499
29500 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29501 PyObject *resultobj = 0;
29502 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29503 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29504 void *argp1 = 0 ;
29505 int res1 = 0 ;
29506 void *argp2 = 0 ;
29507 int res2 = 0 ;
29508 PyObject * obj0 = 0 ;
29509 PyObject * obj1 = 0 ;
29510 char * kwnames[] = {
29511 (char *) "self",(char *) "canvas", NULL
29512 };
29513
29514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29516 if (!SWIG_IsOK(res1)) {
29517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29518 }
29519 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29520 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29521 if (!SWIG_IsOK(res2)) {
29522 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29523 }
29524 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29525 {
29526 PyThreadState* __tstate = wxPyBeginAllowThreads();
29527 (arg1)->AdjustScrollbars(arg2);
29528 wxPyEndAllowThreads(__tstate);
29529 if (PyErr_Occurred()) SWIG_fail;
29530 }
29531 resultobj = SWIG_Py_Void();
29532 return resultobj;
29533 fail:
29534 return NULL;
29535 }
29536
29537
29538 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29539 PyObject *resultobj = 0;
29540 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29541 wxPrintDialogData *result = 0 ;
29542 void *argp1 = 0 ;
29543 int res1 = 0 ;
29544 PyObject *swig_obj[1] ;
29545
29546 if (!args) SWIG_fail;
29547 swig_obj[0] = args;
29548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29549 if (!SWIG_IsOK(res1)) {
29550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29551 }
29552 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29553 {
29554 PyThreadState* __tstate = wxPyBeginAllowThreads();
29555 {
29556 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29557 result = (wxPrintDialogData *) &_result_ref;
29558 }
29559 wxPyEndAllowThreads(__tstate);
29560 if (PyErr_Occurred()) SWIG_fail;
29561 }
29562 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29563 return resultobj;
29564 fail:
29565 return NULL;
29566 }
29567
29568
29569 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29570 PyObject *resultobj = 0;
29571 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29572 int arg2 ;
29573 void *argp1 = 0 ;
29574 int res1 = 0 ;
29575 int val2 ;
29576 int ecode2 = 0 ;
29577 PyObject * obj0 = 0 ;
29578 PyObject * obj1 = 0 ;
29579 char * kwnames[] = {
29580 (char *) "self",(char *) "percent", NULL
29581 };
29582
29583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29585 if (!SWIG_IsOK(res1)) {
29586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29587 }
29588 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29589 ecode2 = SWIG_AsVal_int(obj1, &val2);
29590 if (!SWIG_IsOK(ecode2)) {
29591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29592 }
29593 arg2 = static_cast< int >(val2);
29594 {
29595 PyThreadState* __tstate = wxPyBeginAllowThreads();
29596 (arg1)->SetZoom(arg2);
29597 wxPyEndAllowThreads(__tstate);
29598 if (PyErr_Occurred()) SWIG_fail;
29599 }
29600 resultobj = SWIG_Py_Void();
29601 return resultobj;
29602 fail:
29603 return NULL;
29604 }
29605
29606
29607 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29608 PyObject *resultobj = 0;
29609 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29610 int result;
29611 void *argp1 = 0 ;
29612 int res1 = 0 ;
29613 PyObject *swig_obj[1] ;
29614
29615 if (!args) SWIG_fail;
29616 swig_obj[0] = args;
29617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29618 if (!SWIG_IsOK(res1)) {
29619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29620 }
29621 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29622 {
29623 PyThreadState* __tstate = wxPyBeginAllowThreads();
29624 result = (int)(arg1)->GetZoom();
29625 wxPyEndAllowThreads(__tstate);
29626 if (PyErr_Occurred()) SWIG_fail;
29627 }
29628 resultobj = SWIG_From_int(static_cast< int >(result));
29629 return resultobj;
29630 fail:
29631 return NULL;
29632 }
29633
29634
29635 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29636 PyObject *resultobj = 0;
29637 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29638 int result;
29639 void *argp1 = 0 ;
29640 int res1 = 0 ;
29641 PyObject *swig_obj[1] ;
29642
29643 if (!args) SWIG_fail;
29644 swig_obj[0] = args;
29645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29646 if (!SWIG_IsOK(res1)) {
29647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29648 }
29649 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29650 {
29651 PyThreadState* __tstate = wxPyBeginAllowThreads();
29652 result = (int)(arg1)->GetMaxPage();
29653 wxPyEndAllowThreads(__tstate);
29654 if (PyErr_Occurred()) SWIG_fail;
29655 }
29656 resultobj = SWIG_From_int(static_cast< int >(result));
29657 return resultobj;
29658 fail:
29659 return NULL;
29660 }
29661
29662
29663 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29664 PyObject *resultobj = 0;
29665 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29666 int result;
29667 void *argp1 = 0 ;
29668 int res1 = 0 ;
29669 PyObject *swig_obj[1] ;
29670
29671 if (!args) SWIG_fail;
29672 swig_obj[0] = args;
29673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29674 if (!SWIG_IsOK(res1)) {
29675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29676 }
29677 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29678 {
29679 PyThreadState* __tstate = wxPyBeginAllowThreads();
29680 result = (int)(arg1)->GetMinPage();
29681 wxPyEndAllowThreads(__tstate);
29682 if (PyErr_Occurred()) SWIG_fail;
29683 }
29684 resultobj = SWIG_From_int(static_cast< int >(result));
29685 return resultobj;
29686 fail:
29687 return NULL;
29688 }
29689
29690
29691 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29692 PyObject *resultobj = 0;
29693 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29694 bool result;
29695 void *argp1 = 0 ;
29696 int res1 = 0 ;
29697 PyObject *swig_obj[1] ;
29698
29699 if (!args) SWIG_fail;
29700 swig_obj[0] = args;
29701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29702 if (!SWIG_IsOK(res1)) {
29703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29704 }
29705 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29706 {
29707 PyThreadState* __tstate = wxPyBeginAllowThreads();
29708 result = (bool)(arg1)->Ok();
29709 wxPyEndAllowThreads(__tstate);
29710 if (PyErr_Occurred()) SWIG_fail;
29711 }
29712 {
29713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29714 }
29715 return resultobj;
29716 fail:
29717 return NULL;
29718 }
29719
29720
29721 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29722 PyObject *resultobj = 0;
29723 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29724 bool arg2 ;
29725 void *argp1 = 0 ;
29726 int res1 = 0 ;
29727 bool val2 ;
29728 int ecode2 = 0 ;
29729 PyObject * obj0 = 0 ;
29730 PyObject * obj1 = 0 ;
29731 char * kwnames[] = {
29732 (char *) "self",(char *) "ok", NULL
29733 };
29734
29735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29737 if (!SWIG_IsOK(res1)) {
29738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29739 }
29740 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29741 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29742 if (!SWIG_IsOK(ecode2)) {
29743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29744 }
29745 arg2 = static_cast< bool >(val2);
29746 {
29747 PyThreadState* __tstate = wxPyBeginAllowThreads();
29748 (arg1)->SetOk(arg2);
29749 wxPyEndAllowThreads(__tstate);
29750 if (PyErr_Occurred()) SWIG_fail;
29751 }
29752 resultobj = SWIG_Py_Void();
29753 return resultobj;
29754 fail:
29755 return NULL;
29756 }
29757
29758
29759 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29760 PyObject *resultobj = 0;
29761 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29762 bool arg2 ;
29763 bool result;
29764 void *argp1 = 0 ;
29765 int res1 = 0 ;
29766 bool val2 ;
29767 int ecode2 = 0 ;
29768 PyObject * obj0 = 0 ;
29769 PyObject * obj1 = 0 ;
29770 char * kwnames[] = {
29771 (char *) "self",(char *) "interactive", NULL
29772 };
29773
29774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
29775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29776 if (!SWIG_IsOK(res1)) {
29777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29778 }
29779 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29780 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29781 if (!SWIG_IsOK(ecode2)) {
29782 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29783 }
29784 arg2 = static_cast< bool >(val2);
29785 {
29786 PyThreadState* __tstate = wxPyBeginAllowThreads();
29787 result = (bool)(arg1)->Print(arg2);
29788 wxPyEndAllowThreads(__tstate);
29789 if (PyErr_Occurred()) SWIG_fail;
29790 }
29791 {
29792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29793 }
29794 return resultobj;
29795 fail:
29796 return NULL;
29797 }
29798
29799
29800 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29801 PyObject *resultobj = 0;
29802 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29803 void *argp1 = 0 ;
29804 int res1 = 0 ;
29805 PyObject *swig_obj[1] ;
29806
29807 if (!args) SWIG_fail;
29808 swig_obj[0] = args;
29809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29810 if (!SWIG_IsOK(res1)) {
29811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29812 }
29813 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29814 {
29815 PyThreadState* __tstate = wxPyBeginAllowThreads();
29816 (arg1)->DetermineScaling();
29817 wxPyEndAllowThreads(__tstate);
29818 if (PyErr_Occurred()) SWIG_fail;
29819 }
29820 resultobj = SWIG_Py_Void();
29821 return resultobj;
29822 fail:
29823 return NULL;
29824 }
29825
29826
29827 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29828 PyObject *obj;
29829 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29830 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
29831 return SWIG_Py_Void();
29832 }
29833
29834 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29835 return SWIG_Python_InitShadowInstance(args);
29836 }
29837
29838 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29839 PyObject *resultobj = 0;
29840 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29841 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29842 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29843 wxPyPrintPreview *result = 0 ;
29844 int res1 = 0 ;
29845 int res2 = 0 ;
29846 void *argp3 = 0 ;
29847 int res3 = 0 ;
29848
29849 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29850 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29851 if (!SWIG_IsOK(res1)) {
29852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29853 }
29854 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29855 if (!SWIG_IsOK(res2)) {
29856 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29857 }
29858 if (swig_obj[2]) {
29859 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29860 if (!SWIG_IsOK(res3)) {
29861 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29862 }
29863 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29864 }
29865 {
29866 if (!wxPyCheckForApp()) SWIG_fail;
29867 PyThreadState* __tstate = wxPyBeginAllowThreads();
29868 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29869 wxPyEndAllowThreads(__tstate);
29870 if (PyErr_Occurred()) SWIG_fail;
29871 }
29872 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29873 return resultobj;
29874 fail:
29875 return NULL;
29876 }
29877
29878
29879 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29880 PyObject *resultobj = 0;
29881 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29882 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29883 wxPrintData *arg3 = (wxPrintData *) 0 ;
29884 wxPyPrintPreview *result = 0 ;
29885 int res1 = 0 ;
29886 int res2 = 0 ;
29887 void *argp3 = 0 ;
29888 int res3 = 0 ;
29889
29890 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29891 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29892 if (!SWIG_IsOK(res1)) {
29893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29894 }
29895 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29896 if (!SWIG_IsOK(res2)) {
29897 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29898 }
29899 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29900 if (!SWIG_IsOK(res3)) {
29901 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29902 }
29903 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29904 {
29905 if (!wxPyCheckForApp()) SWIG_fail;
29906 PyThreadState* __tstate = wxPyBeginAllowThreads();
29907 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29908 wxPyEndAllowThreads(__tstate);
29909 if (PyErr_Occurred()) SWIG_fail;
29910 }
29911 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29912 return resultobj;
29913 fail:
29914 return NULL;
29915 }
29916
29917
29918 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
29919 int argc;
29920 PyObject *argv[4];
29921
29922 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
29923 --argc;
29924 if ((argc >= 2) && (argc <= 3)) {
29925 int _v = 0;
29926 if (argc > 2) {
29927 {
29928 void *vptr = 0;
29929 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29930 _v = SWIG_CheckState(res);
29931 }
29932 if (!_v) goto check_1;
29933 }
29934 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
29935 }
29936 check_1:
29937
29938 if (argc == 3) {
29939 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
29940 }
29941
29942 fail:
29943 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
29944 return NULL;
29945 }
29946
29947
29948 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29949 PyObject *resultobj = 0;
29950 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
29951 PyObject *arg2 = (PyObject *) 0 ;
29952 PyObject *arg3 = (PyObject *) 0 ;
29953 void *argp1 = 0 ;
29954 int res1 = 0 ;
29955 PyObject * obj0 = 0 ;
29956 PyObject * obj1 = 0 ;
29957 PyObject * obj2 = 0 ;
29958 char * kwnames[] = {
29959 (char *) "self",(char *) "self",(char *) "_class", NULL
29960 };
29961
29962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
29964 if (!SWIG_IsOK(res1)) {
29965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29966 }
29967 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
29968 arg2 = obj1;
29969 arg3 = obj2;
29970 {
29971 PyThreadState* __tstate = wxPyBeginAllowThreads();
29972 (arg1)->_setCallbackInfo(arg2,arg3);
29973 wxPyEndAllowThreads(__tstate);
29974 if (PyErr_Occurred()) SWIG_fail;
29975 }
29976 resultobj = SWIG_Py_Void();
29977 return resultobj;
29978 fail:
29979 return NULL;
29980 }
29981
29982
29983 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29984 PyObject *obj;
29985 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29986 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
29987 return SWIG_Py_Void();
29988 }
29989
29990 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29991 return SWIG_Python_InitShadowInstance(args);
29992 }
29993
29994 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29995 PyObject *resultobj = 0;
29996 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29997 wxFrame *arg2 = (wxFrame *) 0 ;
29998 wxString *arg3 = 0 ;
29999 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30000 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30001 wxSize const &arg5_defvalue = wxDefaultSize ;
30002 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30003 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30004 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30005 wxString *arg7 = (wxString *) &arg7_defvalue ;
30006 wxPyPreviewFrame *result = 0 ;
30007 void *argp1 = 0 ;
30008 int res1 = 0 ;
30009 void *argp2 = 0 ;
30010 int res2 = 0 ;
30011 bool temp3 = false ;
30012 wxPoint temp4 ;
30013 wxSize temp5 ;
30014 long val6 ;
30015 int ecode6 = 0 ;
30016 bool temp7 = false ;
30017 PyObject * obj0 = 0 ;
30018 PyObject * obj1 = 0 ;
30019 PyObject * obj2 = 0 ;
30020 PyObject * obj3 = 0 ;
30021 PyObject * obj4 = 0 ;
30022 PyObject * obj5 = 0 ;
30023 PyObject * obj6 = 0 ;
30024 char * kwnames[] = {
30025 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30026 };
30027
30028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30030 if (!SWIG_IsOK(res1)) {
30031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30032 }
30033 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30034 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30035 if (!SWIG_IsOK(res2)) {
30036 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30037 }
30038 arg2 = reinterpret_cast< wxFrame * >(argp2);
30039 {
30040 arg3 = wxString_in_helper(obj2);
30041 if (arg3 == NULL) SWIG_fail;
30042 temp3 = true;
30043 }
30044 if (obj3) {
30045 {
30046 arg4 = &temp4;
30047 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30048 }
30049 }
30050 if (obj4) {
30051 {
30052 arg5 = &temp5;
30053 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30054 }
30055 }
30056 if (obj5) {
30057 ecode6 = SWIG_AsVal_long(obj5, &val6);
30058 if (!SWIG_IsOK(ecode6)) {
30059 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30060 }
30061 arg6 = static_cast< long >(val6);
30062 }
30063 if (obj6) {
30064 {
30065 arg7 = wxString_in_helper(obj6);
30066 if (arg7 == NULL) SWIG_fail;
30067 temp7 = true;
30068 }
30069 }
30070 {
30071 if (!wxPyCheckForApp()) SWIG_fail;
30072 PyThreadState* __tstate = wxPyBeginAllowThreads();
30073 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30074 wxPyEndAllowThreads(__tstate);
30075 if (PyErr_Occurred()) SWIG_fail;
30076 }
30077 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30078 {
30079 if (temp3)
30080 delete arg3;
30081 }
30082 {
30083 if (temp7)
30084 delete arg7;
30085 }
30086 return resultobj;
30087 fail:
30088 {
30089 if (temp3)
30090 delete arg3;
30091 }
30092 {
30093 if (temp7)
30094 delete arg7;
30095 }
30096 return NULL;
30097 }
30098
30099
30100 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30101 PyObject *resultobj = 0;
30102 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30103 PyObject *arg2 = (PyObject *) 0 ;
30104 PyObject *arg3 = (PyObject *) 0 ;
30105 void *argp1 = 0 ;
30106 int res1 = 0 ;
30107 PyObject * obj0 = 0 ;
30108 PyObject * obj1 = 0 ;
30109 PyObject * obj2 = 0 ;
30110 char * kwnames[] = {
30111 (char *) "self",(char *) "self",(char *) "_class", NULL
30112 };
30113
30114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30116 if (!SWIG_IsOK(res1)) {
30117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30118 }
30119 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30120 arg2 = obj1;
30121 arg3 = obj2;
30122 {
30123 PyThreadState* __tstate = wxPyBeginAllowThreads();
30124 (arg1)->_setCallbackInfo(arg2,arg3);
30125 wxPyEndAllowThreads(__tstate);
30126 if (PyErr_Occurred()) SWIG_fail;
30127 }
30128 resultobj = SWIG_Py_Void();
30129 return resultobj;
30130 fail:
30131 return NULL;
30132 }
30133
30134
30135 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30136 PyObject *resultobj = 0;
30137 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30138 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30139 void *argp1 = 0 ;
30140 int res1 = 0 ;
30141 void *argp2 = 0 ;
30142 int res2 = 0 ;
30143 PyObject * obj0 = 0 ;
30144 PyObject * obj1 = 0 ;
30145 char * kwnames[] = {
30146 (char *) "self",(char *) "canvas", NULL
30147 };
30148
30149 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30150 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30151 if (!SWIG_IsOK(res1)) {
30152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30153 }
30154 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30155 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30156 if (!SWIG_IsOK(res2)) {
30157 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30158 }
30159 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30160 {
30161 PyThreadState* __tstate = wxPyBeginAllowThreads();
30162 (arg1)->SetPreviewCanvas(arg2);
30163 wxPyEndAllowThreads(__tstate);
30164 if (PyErr_Occurred()) SWIG_fail;
30165 }
30166 resultobj = SWIG_Py_Void();
30167 return resultobj;
30168 fail:
30169 return NULL;
30170 }
30171
30172
30173 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30174 PyObject *resultobj = 0;
30175 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30176 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30177 void *argp1 = 0 ;
30178 int res1 = 0 ;
30179 void *argp2 = 0 ;
30180 int res2 = 0 ;
30181 PyObject * obj0 = 0 ;
30182 PyObject * obj1 = 0 ;
30183 char * kwnames[] = {
30184 (char *) "self",(char *) "bar", NULL
30185 };
30186
30187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30189 if (!SWIG_IsOK(res1)) {
30190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30191 }
30192 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30193 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30194 if (!SWIG_IsOK(res2)) {
30195 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30196 }
30197 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30198 {
30199 PyThreadState* __tstate = wxPyBeginAllowThreads();
30200 (arg1)->SetControlBar(arg2);
30201 wxPyEndAllowThreads(__tstate);
30202 if (PyErr_Occurred()) SWIG_fail;
30203 }
30204 resultobj = SWIG_Py_Void();
30205 return resultobj;
30206 fail:
30207 return NULL;
30208 }
30209
30210
30211 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30212 PyObject *resultobj = 0;
30213 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30214 void *argp1 = 0 ;
30215 int res1 = 0 ;
30216 PyObject *swig_obj[1] ;
30217
30218 if (!args) SWIG_fail;
30219 swig_obj[0] = args;
30220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30221 if (!SWIG_IsOK(res1)) {
30222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30223 }
30224 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30225 {
30226 PyThreadState* __tstate = wxPyBeginAllowThreads();
30227 (arg1)->Initialize();
30228 wxPyEndAllowThreads(__tstate);
30229 if (PyErr_Occurred()) SWIG_fail;
30230 }
30231 resultobj = SWIG_Py_Void();
30232 return resultobj;
30233 fail:
30234 return NULL;
30235 }
30236
30237
30238 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30239 PyObject *resultobj = 0;
30240 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30241 void *argp1 = 0 ;
30242 int res1 = 0 ;
30243 PyObject *swig_obj[1] ;
30244
30245 if (!args) SWIG_fail;
30246 swig_obj[0] = args;
30247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30248 if (!SWIG_IsOK(res1)) {
30249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30250 }
30251 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30252 {
30253 PyThreadState* __tstate = wxPyBeginAllowThreads();
30254 (arg1)->CreateCanvas();
30255 wxPyEndAllowThreads(__tstate);
30256 if (PyErr_Occurred()) SWIG_fail;
30257 }
30258 resultobj = SWIG_Py_Void();
30259 return resultobj;
30260 fail:
30261 return NULL;
30262 }
30263
30264
30265 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30266 PyObject *resultobj = 0;
30267 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30268 void *argp1 = 0 ;
30269 int res1 = 0 ;
30270 PyObject *swig_obj[1] ;
30271
30272 if (!args) SWIG_fail;
30273 swig_obj[0] = args;
30274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30275 if (!SWIG_IsOK(res1)) {
30276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30277 }
30278 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30279 {
30280 PyThreadState* __tstate = wxPyBeginAllowThreads();
30281 (arg1)->CreateControlBar();
30282 wxPyEndAllowThreads(__tstate);
30283 if (PyErr_Occurred()) SWIG_fail;
30284 }
30285 resultobj = SWIG_Py_Void();
30286 return resultobj;
30287 fail:
30288 return NULL;
30289 }
30290
30291
30292 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30293 PyObject *obj;
30294 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30295 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30296 return SWIG_Py_Void();
30297 }
30298
30299 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30300 return SWIG_Python_InitShadowInstance(args);
30301 }
30302
30303 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30304 PyObject *resultobj = 0;
30305 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30306 long arg2 ;
30307 wxWindow *arg3 = (wxWindow *) 0 ;
30308 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30309 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30310 wxSize const &arg5_defvalue = wxDefaultSize ;
30311 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30312 long arg6 = (long) 0 ;
30313 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30314 wxString *arg7 = (wxString *) &arg7_defvalue ;
30315 wxPyPreviewControlBar *result = 0 ;
30316 void *argp1 = 0 ;
30317 int res1 = 0 ;
30318 long val2 ;
30319 int ecode2 = 0 ;
30320 void *argp3 = 0 ;
30321 int res3 = 0 ;
30322 wxPoint temp4 ;
30323 wxSize temp5 ;
30324 long val6 ;
30325 int ecode6 = 0 ;
30326 bool temp7 = false ;
30327 PyObject * obj0 = 0 ;
30328 PyObject * obj1 = 0 ;
30329 PyObject * obj2 = 0 ;
30330 PyObject * obj3 = 0 ;
30331 PyObject * obj4 = 0 ;
30332 PyObject * obj5 = 0 ;
30333 PyObject * obj6 = 0 ;
30334 char * kwnames[] = {
30335 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30336 };
30337
30338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30340 if (!SWIG_IsOK(res1)) {
30341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30342 }
30343 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30344 ecode2 = SWIG_AsVal_long(obj1, &val2);
30345 if (!SWIG_IsOK(ecode2)) {
30346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30347 }
30348 arg2 = static_cast< long >(val2);
30349 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30350 if (!SWIG_IsOK(res3)) {
30351 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30352 }
30353 arg3 = reinterpret_cast< wxWindow * >(argp3);
30354 if (obj3) {
30355 {
30356 arg4 = &temp4;
30357 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30358 }
30359 }
30360 if (obj4) {
30361 {
30362 arg5 = &temp5;
30363 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30364 }
30365 }
30366 if (obj5) {
30367 ecode6 = SWIG_AsVal_long(obj5, &val6);
30368 if (!SWIG_IsOK(ecode6)) {
30369 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30370 }
30371 arg6 = static_cast< long >(val6);
30372 }
30373 if (obj6) {
30374 {
30375 arg7 = wxString_in_helper(obj6);
30376 if (arg7 == NULL) SWIG_fail;
30377 temp7 = true;
30378 }
30379 }
30380 {
30381 if (!wxPyCheckForApp()) SWIG_fail;
30382 PyThreadState* __tstate = wxPyBeginAllowThreads();
30383 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30384 wxPyEndAllowThreads(__tstate);
30385 if (PyErr_Occurred()) SWIG_fail;
30386 }
30387 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30388 {
30389 if (temp7)
30390 delete arg7;
30391 }
30392 return resultobj;
30393 fail:
30394 {
30395 if (temp7)
30396 delete arg7;
30397 }
30398 return NULL;
30399 }
30400
30401
30402 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30403 PyObject *resultobj = 0;
30404 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30405 PyObject *arg2 = (PyObject *) 0 ;
30406 PyObject *arg3 = (PyObject *) 0 ;
30407 void *argp1 = 0 ;
30408 int res1 = 0 ;
30409 PyObject * obj0 = 0 ;
30410 PyObject * obj1 = 0 ;
30411 PyObject * obj2 = 0 ;
30412 char * kwnames[] = {
30413 (char *) "self",(char *) "self",(char *) "_class", NULL
30414 };
30415
30416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30418 if (!SWIG_IsOK(res1)) {
30419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30420 }
30421 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30422 arg2 = obj1;
30423 arg3 = obj2;
30424 {
30425 PyThreadState* __tstate = wxPyBeginAllowThreads();
30426 (arg1)->_setCallbackInfo(arg2,arg3);
30427 wxPyEndAllowThreads(__tstate);
30428 if (PyErr_Occurred()) SWIG_fail;
30429 }
30430 resultobj = SWIG_Py_Void();
30431 return resultobj;
30432 fail:
30433 return NULL;
30434 }
30435
30436
30437 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30438 PyObject *resultobj = 0;
30439 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30440 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30441 void *argp1 = 0 ;
30442 int res1 = 0 ;
30443 void *argp2 = 0 ;
30444 int res2 = 0 ;
30445 PyObject * obj0 = 0 ;
30446 PyObject * obj1 = 0 ;
30447 char * kwnames[] = {
30448 (char *) "self",(char *) "preview", NULL
30449 };
30450
30451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30453 if (!SWIG_IsOK(res1)) {
30454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30455 }
30456 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30457 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30458 if (!SWIG_IsOK(res2)) {
30459 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30460 }
30461 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30462 {
30463 PyThreadState* __tstate = wxPyBeginAllowThreads();
30464 (arg1)->SetPrintPreview(arg2);
30465 wxPyEndAllowThreads(__tstate);
30466 if (PyErr_Occurred()) SWIG_fail;
30467 }
30468 resultobj = SWIG_Py_Void();
30469 return resultobj;
30470 fail:
30471 return NULL;
30472 }
30473
30474
30475 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30476 PyObject *resultobj = 0;
30477 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30478 void *argp1 = 0 ;
30479 int res1 = 0 ;
30480 PyObject *swig_obj[1] ;
30481
30482 if (!args) SWIG_fail;
30483 swig_obj[0] = args;
30484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30485 if (!SWIG_IsOK(res1)) {
30486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30487 }
30488 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30489 {
30490 PyThreadState* __tstate = wxPyBeginAllowThreads();
30491 (arg1)->CreateButtons();
30492 wxPyEndAllowThreads(__tstate);
30493 if (PyErr_Occurred()) SWIG_fail;
30494 }
30495 resultobj = SWIG_Py_Void();
30496 return resultobj;
30497 fail:
30498 return NULL;
30499 }
30500
30501
30502 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30503 PyObject *resultobj = 0;
30504 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30505 int arg2 ;
30506 void *argp1 = 0 ;
30507 int res1 = 0 ;
30508 int val2 ;
30509 int ecode2 = 0 ;
30510 PyObject * obj0 = 0 ;
30511 PyObject * obj1 = 0 ;
30512 char * kwnames[] = {
30513 (char *) "self",(char *) "zoom", NULL
30514 };
30515
30516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30518 if (!SWIG_IsOK(res1)) {
30519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30520 }
30521 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30522 ecode2 = SWIG_AsVal_int(obj1, &val2);
30523 if (!SWIG_IsOK(ecode2)) {
30524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30525 }
30526 arg2 = static_cast< int >(val2);
30527 {
30528 PyThreadState* __tstate = wxPyBeginAllowThreads();
30529 (arg1)->SetZoomControl(arg2);
30530 wxPyEndAllowThreads(__tstate);
30531 if (PyErr_Occurred()) SWIG_fail;
30532 }
30533 resultobj = SWIG_Py_Void();
30534 return resultobj;
30535 fail:
30536 return NULL;
30537 }
30538
30539
30540 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30541 PyObject *obj;
30542 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30543 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30544 return SWIG_Py_Void();
30545 }
30546
30547 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30548 return SWIG_Python_InitShadowInstance(args);
30549 }
30550
30551 static PyMethodDef SwigMethods[] = {
30552 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30553 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30554 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30555 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30556 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30557 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30558 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30559 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30560 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30561 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30562 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30563 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30564 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30565 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30566 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30567 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30568 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30569 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30570 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30571 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30572 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30573 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30574 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30575 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30576 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30577 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30578 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30579 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30580 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30581 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
30582 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
30583 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
30584 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
30585 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
30586 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
30587 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
30588 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30589 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
30590 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30591 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30592 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30593 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
30594 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
30595 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
30596 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30597 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
30598 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
30599 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
30600 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
30601 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30602 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30603 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
30604 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
30605 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30606 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
30607 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
30608 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
30609 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30610 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30611 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
30612 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30613 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30614 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30615 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30616 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30617 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
30618 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
30619 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30620 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
30621 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30622 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30623 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30624 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30625 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
30626 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
30627 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
30628 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
30629 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30630 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
30631 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
30632 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
30633 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
30634 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
30635 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
30636 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30637 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30638 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30639 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30640 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
30641 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30642 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30643 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
30644 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
30645 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30646 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
30647 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30648 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
30649 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
30650 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30651 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
30652 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
30653 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
30654 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
30655 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30656 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30657 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30658 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
30659 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
30660 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
30661 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30662 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
30663 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30664 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
30665 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
30666 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30667 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30668 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30669 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30670 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30671 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30672 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30673 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30674 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30675 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
30676 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30677 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
30678 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
30679 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30680 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
30681 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30682 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30683 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
30684 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
30685 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
30686 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30687 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30688 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30689 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30690 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30691 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30692 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
30693 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30694 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30695 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30696 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
30697 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30698 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
30699 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
30700 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
30701 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
30702 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
30703 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30704 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
30705 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
30706 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
30707 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30708 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
30709 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
30710 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30711 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30712 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30713 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30714 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30715 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
30716 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
30717 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
30718 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30719 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
30720 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30721 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30722 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30723 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30724 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30725 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30726 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30727 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
30728 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30729 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
30730 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30731 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30732 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30733 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
30734 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30735 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30736 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30737 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
30738 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30739 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
30740 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
30741 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
30742 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30743 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
30744 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
30745 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
30746 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
30747 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
30748 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
30749 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
30750 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
30751 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30752 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
30753 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
30754 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30755 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
30756 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30757 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
30758 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30759 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
30760 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30761 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
30762 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
30763 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
30764 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30765 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30766 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
30767 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30768 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
30769 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
30770 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
30771 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30772 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
30773 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30774 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
30775 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
30776 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30777 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
30778 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30779 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
30780 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
30781 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
30782 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
30783 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30784 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30785 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30786 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
30787 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
30788 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30789 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
30790 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30791 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
30792 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
30793 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
30794 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30795 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
30796 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30797 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
30798 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
30799 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
30800 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
30801 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30802 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
30803 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
30804 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
30805 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
30806 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30807 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
30808 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30809 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30810 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
30811 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
30812 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
30813 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
30814 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
30815 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30816 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
30817 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
30818 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
30819 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
30820 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30821 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
30822 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
30823 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
30824 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30825 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
30826 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
30827 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30828 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
30829 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30830 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30831 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
30832 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
30833 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
30834 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
30835 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30836 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
30837 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
30838 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30839 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
30840 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
30841 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30842 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
30843 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30844 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
30845 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
30846 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
30847 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
30848 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
30849 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30850 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
30851 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30852 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
30853 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30854 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
30855 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
30856 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30857 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
30858 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30859 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30860 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30861 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
30862 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
30863 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
30864 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
30865 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
30866 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
30867 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30868 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
30869 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
30870 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
30871 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30872 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
30873 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
30874 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
30875 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
30876 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30877 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
30878 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
30879 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
30880 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
30881 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
30882 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
30883 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30884 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
30885 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30886 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30887 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
30888 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
30889 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30890 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
30891 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
30892 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
30893 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30894 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30895 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
30896 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
30897 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30898 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30899 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
30900 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
30901 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30902 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30903 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30904 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
30905 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
30906 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
30907 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
30908 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
30909 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
30910 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
30911 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
30912 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
30913 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
30914 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
30915 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
30916 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
30917 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
30918 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30919 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
30920 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
30921 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
30922 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
30923 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30924 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
30925 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
30926 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30927 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
30928 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
30929 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30930 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
30931 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
30932 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
30933 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
30934 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30935 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
30936 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
30937 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
30938 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
30939 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
30940 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
30941 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
30942 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
30943 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
30944 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
30945 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
30946 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
30947 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
30948 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30949 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
30950 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
30951 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30952 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
30953 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
30954 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30955 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
30956 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
30957 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
30958 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30959 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30960 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
30961 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
30962 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30963 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
30964 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
30965 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
30966 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
30967 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30968 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
30969 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
30970 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
30971 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
30972 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30973 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30974 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30975 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
30976 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
30977 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
30978 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
30979 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
30980 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
30981 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
30982 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30983 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30984 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30985 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
30986 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
30987 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30988 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
30989 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30990 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
30991 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
30992 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
30993 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
30994 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30995 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
30996 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30997 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
30998 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
30999 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31000 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31001 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31002 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31003 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
31004 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31005 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31006 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31007 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31008 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31009 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31010 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31011 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31012 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31013 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31014 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31015 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31016 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31017 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31018 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31019 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31020 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31021 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31022 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31023 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31024 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31025 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31026 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31027 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31028 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31029 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31030 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31031 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31032 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31033 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31034 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31035 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31036 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31037 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31038 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31039 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31040 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31041 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31042 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31043 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31044 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31045 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31046 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31047 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31048 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31049 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31050 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31051 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31052 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31053 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31054 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31055 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31056 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31057 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31058 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31059 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31060 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31061 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31062 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31063 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31064 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31065 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31066 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31067 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31068 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31069 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31070 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31071 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31072 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31073 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31074 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31075 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31076 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31077 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31078 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31079 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31080 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31081 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31082 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31083 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31084 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31085 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31086 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31087 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31088 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31089 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31090 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31091 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31092 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31093 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31094 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31095 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31096 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31097 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31098 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31099 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31100 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31101 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31102 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31103 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31104 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31105 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31106 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31107 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31108 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31109 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31110 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31111 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31112 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31113 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31114 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31115 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31116 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31117 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31118 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31119 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31120 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31121 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31122 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31123 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31124 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
31125 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31126 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31127 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31128 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31129 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31130 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31131 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31132 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31133 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31134 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31135 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31136 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31137 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31138 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31139 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31140 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31141 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31142 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31143 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31144 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31145 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31146 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31147 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31148 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31149 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31150 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31151 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31152 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31153 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31154 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31155 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31156 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31157 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31158 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31159 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31160 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31161 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31162 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31163 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31164 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31165 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31166 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31167 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31168 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31169 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31170 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31171 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31172 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31173 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31174 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31175 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31176 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31177 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31178 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31179 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
31180 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31181 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31182 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31183 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31184 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31185 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31186 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31187 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31188 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31189 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31190 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31191 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31192 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31193 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31194 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31195 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31196 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31197 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31198 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31199 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31200 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31201 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31202 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31203 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31204 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31205 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31206 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31207 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31208 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31209 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31210 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31211 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31212 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31213 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31214 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31215 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31216 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31217 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31218 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31219 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31220 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31221 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31222 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31223 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31224 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31225 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31226 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31227 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31228 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31229 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31230 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31231 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31232 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31233 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31234 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31235 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31236 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31237 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31238 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31239 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31240 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31241 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31242 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31243 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31244 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31245 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31246 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31247 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31248 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31249 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31250 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31251 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31252 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31253 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31254 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31255 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31256 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31257 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31258 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31259 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31260 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31261 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31262 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31263 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31264 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31265 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31266 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31267 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31268 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31269 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31270 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31271 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31272 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31273 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31274 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31275 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31276 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31277 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31278 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31279 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31280 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31281 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31282 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31283 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31284 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31285 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31286 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31287 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31288 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31289 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31290 { NULL, NULL, 0, NULL }
31291 };
31292
31293
31294 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31295
31296 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31297 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31298 }
31299 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31300 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31301 }
31302 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31303 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31304 }
31305 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31306 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31307 }
31308 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31309 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31310 }
31311 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31312 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31313 }
31314 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31315 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31316 }
31317 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31318 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31319 }
31320 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31321 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31322 }
31323 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31324 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31325 }
31326 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31327 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31328 }
31329 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31330 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31331 }
31332 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31333 return (void *)((wxEvent *) ((wxPyEvent *) x));
31334 }
31335 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31336 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31337 }
31338 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31339 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31340 }
31341 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31342 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31343 }
31344 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31345 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31346 }
31347 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31348 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31349 }
31350 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31351 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31352 }
31353 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31354 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31355 }
31356 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31357 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31358 }
31359 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31360 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31361 }
31362 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31363 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31364 }
31365 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31366 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31367 }
31368 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31369 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31370 }
31371 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31372 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31373 }
31374 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31375 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31376 }
31377 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31378 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31379 }
31380 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31381 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31382 }
31383 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31384 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31385 }
31386 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31387 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31388 }
31389 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31390 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31391 }
31392 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31393 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31394 }
31395 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31396 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31397 }
31398 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31399 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31400 }
31401 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31402 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31403 }
31404 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31405 return (void *)((wxEvent *) ((wxShowEvent *) x));
31406 }
31407 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31408 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31409 }
31410 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31411 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31412 }
31413 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31414 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31415 }
31416 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31417 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31418 }
31419 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31420 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31421 }
31422 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31423 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31424 }
31425 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31426 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31427 }
31428 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31429 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31430 }
31431 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31432 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31433 }
31434 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31435 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31436 }
31437 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31438 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31439 }
31440 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31441 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31442 }
31443 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31444 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31445 }
31446 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31447 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31448 }
31449 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31450 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31451 }
31452 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31453 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31454 }
31455 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31456 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31457 }
31458 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31459 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31460 }
31461 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31462 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31463 }
31464 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31465 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31466 }
31467 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31468 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31469 }
31470 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31471 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31472 }
31473 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31474 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31475 }
31476 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31477 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31478 }
31479 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31480 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31481 }
31482 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31483 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31484 }
31485 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31486 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31487 }
31488 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31489 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31490 }
31491 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31492 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31493 }
31494 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31495 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31496 }
31497 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31498 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31499 }
31500 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31501 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31502 }
31503 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31504 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31505 }
31506 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31507 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31508 }
31509 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31510 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31511 }
31512 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31513 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31514 }
31515 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31516 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31517 }
31518 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31519 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31520 }
31521 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31522 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31523 }
31524 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31525 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31526 }
31527 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31528 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31529 }
31530 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31531 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31532 }
31533 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31534 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31535 }
31536 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31537 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31538 }
31539 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31540 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31541 }
31542 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31543 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31544 }
31545 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31546 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31547 }
31548 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31549 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31550 }
31551 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31552 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31553 }
31554 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31555 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31556 }
31557 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31558 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31559 }
31560 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31561 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31562 }
31563 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31564 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31565 }
31566 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31567 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31568 }
31569 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31570 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31571 }
31572 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31573 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31574 }
31575 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31576 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31577 }
31578 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31579 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31580 }
31581 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31582 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31583 }
31584 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31585 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31586 }
31587 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31588 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31589 }
31590 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31591 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31592 }
31593 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31594 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31595 }
31596 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31597 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31598 }
31599 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31600 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31601 }
31602 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31603 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31604 }
31605 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31606 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31607 }
31608 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31609 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31610 }
31611 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31612 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31613 }
31614 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31616 }
31617 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31618 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31619 }
31620 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31621 return (void *)((wxObject *) ((wxSizerItem *) x));
31622 }
31623 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31624 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31625 }
31626 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31627 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31628 }
31629 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31630 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31631 }
31632 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31633 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31634 }
31635 static void *_p_wxSizerTo_p_wxObject(void *x) {
31636 return (void *)((wxObject *) ((wxSizer *) x));
31637 }
31638 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31639 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31640 }
31641 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31642 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31643 }
31644 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31645 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31646 }
31647 static void *_p_wxEventTo_p_wxObject(void *x) {
31648 return (void *)((wxObject *) ((wxEvent *) x));
31649 }
31650 static void *_p_wxFontDataTo_p_wxObject(void *x) {
31651 return (void *)((wxObject *) ((wxFontData *) x));
31652 }
31653 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31654 return (void *)((wxObject *) ((wxPrintData *) x));
31655 }
31656 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31657 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31658 }
31659 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31660 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31661 }
31662 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31663 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31664 }
31665 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31666 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31667 }
31668 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31669 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31670 }
31671 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31672 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31673 }
31674 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
31675 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
31676 }
31677 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31678 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31679 }
31680 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31681 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31682 }
31683 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31684 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31685 }
31686 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31687 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31688 }
31689 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31690 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31691 }
31692 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31693 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31694 }
31695 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31696 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31697 }
31698 static void *_p_wxControlTo_p_wxObject(void *x) {
31699 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31700 }
31701 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31702 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31703 }
31704 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31705 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31706 }
31707 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31708 return (void *)((wxObject *) ((wxFSFile *) x));
31709 }
31710 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31711 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31712 }
31713 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31714 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31715 }
31716 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31718 }
31719 static void *_p_wxColourDataTo_p_wxObject(void *x) {
31720 return (void *)((wxObject *) ((wxColourData *) x));
31721 }
31722 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31723 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31724 }
31725 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31726 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31727 }
31728 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31730 }
31731 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31733 }
31734 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31736 }
31737 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31738 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31739 }
31740 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31742 }
31743 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31744 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31745 }
31746 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31747 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31748 }
31749 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
31750 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31751 }
31752 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
31753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31754 }
31755 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
31756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31757 }
31758 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31759 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31760 }
31761 static void *_p_wxPrinterTo_p_wxObject(void *x) {
31762 return (void *)((wxObject *) ((wxPrinter *) x));
31763 }
31764 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31765 return (void *)((wxObject *) ((wxMenuItem *) x));
31766 }
31767 static void *_p_wxDateEventTo_p_wxObject(void *x) {
31768 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31769 }
31770 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31771 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31772 }
31773 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31774 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31775 }
31776 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31777 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31778 }
31779 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31780 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31781 }
31782 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31783 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31784 }
31785 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31786 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31787 }
31788 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31789 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31790 }
31791 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31792 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31793 }
31794 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31795 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31796 }
31797 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31798 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31799 }
31800 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31801 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31802 }
31803 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31804 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31805 }
31806 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31807 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31808 }
31809 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31810 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31811 }
31812 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31813 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31814 }
31815 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31816 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31817 }
31818 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31819 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31820 }
31821 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
31822 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
31823 }
31824 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31825 return (void *)((wxObject *) ((wxImageHandler *) x));
31826 }
31827 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31828 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31829 }
31830 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31831 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31832 }
31833 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31834 return (void *)((wxObject *) ((wxEvtHandler *) x));
31835 }
31836 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
31837 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
31838 }
31839 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
31840 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31841 }
31842 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
31843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31844 }
31845 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
31846 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
31847 }
31848 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31849 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31850 }
31851 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
31852 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31853 }
31854 static void *_p_wxImageTo_p_wxObject(void *x) {
31855 return (void *)((wxObject *) ((wxImage *) x));
31856 }
31857 static void *_p_wxFrameTo_p_wxObject(void *x) {
31858 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31859 }
31860 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
31861 return (void *)((wxObject *) ((wxPyPrintout *) x));
31862 }
31863 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31864 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31865 }
31866 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
31867 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
31868 }
31869 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
31870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
31871 }
31872 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
31873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31874 }
31875 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31876 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31877 }
31878 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31879 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31880 }
31881 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31882 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31883 }
31884 static void *_p_wxWindowTo_p_wxObject(void *x) {
31885 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31886 }
31887 static void *_p_wxMenuTo_p_wxObject(void *x) {
31888 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31889 }
31890 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31891 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31892 }
31893 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
31894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31895 }
31896 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
31897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
31898 }
31899 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
31900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
31901 }
31902 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
31903 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
31904 }
31905 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
31906 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
31907 }
31908 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
31909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31910 }
31911 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
31912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
31913 }
31914 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
31915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31916 }
31917 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
31918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31919 }
31920 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
31921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31922 }
31923 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
31924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
31925 }
31926 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
31927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31928 }
31929 static void *_p_wxSashEventTo_p_wxObject(void *x) {
31930 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
31931 }
31932 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
31933 return (void *)((wxObject *) ((wxPrintPreview *) x));
31934 }
31935 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
31936 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
31937 }
31938 static void *_p_wxPanelTo_p_wxObject(void *x) {
31939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
31940 }
31941 static void *_p_wxDialogTo_p_wxObject(void *x) {
31942 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31943 }
31944 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
31945 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31946 }
31947 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
31948 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31949 }
31950 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
31951 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31952 }
31953 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
31954 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
31955 }
31956 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
31957 return (void *)((wxObject *) ((wxPrintDialog *) x));
31958 }
31959 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31960 return (void *)((wxObject *) ((wxFileSystem *) x));
31961 }
31962 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31963 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31964 }
31965 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31966 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31967 }
31968 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31969 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31970 }
31971 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31972 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31973 }
31974 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31975 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31976 }
31977 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31978 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31979 }
31980 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31981 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31982 }
31983 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31984 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31985 }
31986 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
31987 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31988 }
31989 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
31990 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31991 }
31992 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31993 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31994 }
31995 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31996 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31997 }
31998 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31999 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32000 }
32001 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32002 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32003 }
32004 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32005 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32006 }
32007 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32008 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32009 }
32010 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32011 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32012 }
32013 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32014 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32015 }
32016 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32017 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32018 }
32019 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32020 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32021 }
32022 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32023 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32024 }
32025 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32026 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32027 }
32028 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32029 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32030 }
32031 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32032 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32033 }
32034 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32035 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32036 }
32037 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32038 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32039 }
32040 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32041 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32042 }
32043 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32044 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32045 }
32046 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32047 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32048 }
32049 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32050 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32051 }
32052 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32053 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32054 }
32055 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32056 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32057 }
32058 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32059 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32060 }
32061 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32062 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32063 }
32064 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32065 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32066 }
32067 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32068 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32069 }
32070 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32071 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32072 }
32073 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32074 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32075 }
32076 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32077 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32078 }
32079 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32080 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32081 }
32082 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32083 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32084 }
32085 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32086 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32087 }
32088 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32089 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32090 }
32091 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32092 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32093 }
32094 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32095 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32096 }
32097 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32098 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32099 }
32100 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32101 return (void *)((wxWindow *) ((wxMenuBar *) x));
32102 }
32103 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32104 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32105 }
32106 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32107 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32108 }
32109 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32110 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32111 }
32112 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32113 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32114 }
32115 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32116 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32117 }
32118 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32119 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32120 }
32121 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32122 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32123 }
32124 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32125 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32126 }
32127 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32128 return (void *)((wxWindow *) ((wxPanel *) x));
32129 }
32130 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32131 return (void *)((wxWindow *) ((wxStatusBar *) x));
32132 }
32133 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32134 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32135 }
32136 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32137 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32138 }
32139 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32140 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32141 }
32142 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32143 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32144 }
32145 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32146 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32147 }
32148 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32149 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32150 }
32151 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32152 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32153 }
32154 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32155 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32156 }
32157 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32158 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32159 }
32160 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32161 return (void *)((wxWindow *) ((wxSashWindow *) x));
32162 }
32163 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32164 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32165 }
32166 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32167 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32168 }
32169 static void *_p_wxControlTo_p_wxWindow(void *x) {
32170 return (void *)((wxWindow *) ((wxControl *) x));
32171 }
32172 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32173 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32174 }
32175 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32176 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32177 }
32178 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32179 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32180 }
32181 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32182 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32183 }
32184 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32185 return (void *)((wxWindow *) ((wxPyWindow *) x));
32186 }
32187 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32188 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32189 }
32190 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32191 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32192 }
32193 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32194 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32195 }
32196 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32197 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32198 }
32199 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32200 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32201 }
32202 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32203 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32204 }
32205 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32206 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32207 }
32208 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32209 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32210 }
32211 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32212 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32213 }
32214 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32215 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32216 }
32217 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32218 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32219 }
32220 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32221 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32222 }
32223 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32224 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32225 }
32226 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32227 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32228 }
32229 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32230 return (void *)((wxDialog *) ((wxColourDialog *) x));
32231 }
32232 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32233 return (void *)((wxDialog *) ((wxDirDialog *) x));
32234 }
32235 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32236 return (void *)((wxDialog *) ((wxFontDialog *) x));
32237 }
32238 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32239 return (void *)((wxDialog *) ((wxFileDialog *) x));
32240 }
32241 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32242 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32243 }
32244 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32245 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32246 }
32247 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32248 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32249 }
32250 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32251 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32252 }
32253 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32254 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32255 }
32256 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32257 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32258 }
32259 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32260 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32261 }
32262 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32263 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32264 }
32265 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32266 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32267 }
32268 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32269 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32270 }
32271 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32272 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32273 }
32274 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32275 return (void *)((wxPanel *) ((wxPyPanel *) x));
32276 }
32277 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32278 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32279 }
32280 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32281 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32282 }
32283 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32284 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32285 }
32286 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32287 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32288 }
32289 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32290 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32291 }
32292 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32293 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32294 }
32295 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32296 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32297 }
32298 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32299 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32300 }
32301 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32302 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32303 }
32304 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32305 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32306 }
32307 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32308 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32309 }
32310 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32311 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32312 }
32313 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32314 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32315 }
32316 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32317 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32318 }
32319 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32320 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32321 }
32322 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32323 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32324 }
32325 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32326 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32327 }
32328 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32329 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32330 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};
32331 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32332 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32333 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32334 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32335 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32336 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32337 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32338 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32339 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32340 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32341 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32342 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32343 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32344 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32345 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32346 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32347 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32348 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32349 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32350 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32351 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32352 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32353 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32354 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32355 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32356 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32357 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32358 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32359 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32360 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32361 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32362 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32363 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32364 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32365 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32366 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32367 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32368 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32369 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32370 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32371 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32372 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32373 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32374 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32375 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32376 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32377 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32378 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32379 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32380 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32381 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32382 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32383 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32384 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32385 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32386 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32387 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32388 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32389 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32390 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32391 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32392 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32393 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32394 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32395 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32396 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32397 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32398 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32399 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32400 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32401 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32402 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32403 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32404 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32405 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32406 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32407 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32408 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32409 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32410 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32411 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32412 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32413 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32414 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32415 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32416 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32417 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32418 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32419 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32420 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32421 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32422 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32423 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32424 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32425 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32426 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32427 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32428 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32429 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32430 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32431 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32432 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32433 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32434 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32435 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32436 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32437 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32438 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32439 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32440 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32441 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32442 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32443 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32444 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32445 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32446 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32447 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32448 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32449 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32450 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32451 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32452 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32453 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32454 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32455 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32456 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32457 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32458 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32459 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32460 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32461 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32462 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32463 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32464 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32465 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32466 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32467 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32468 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32469 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32470 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32471 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32472 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32473 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32474 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32475 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32476 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32477 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32478 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32479 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32480 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32481 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32482 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32483 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32484 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32485 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32486 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32487 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32488 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32489 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32490 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32491
32492 static swig_type_info *swig_type_initial[] = {
32493 &_swigt__p_bool,
32494 &_swigt__p_char,
32495 &_swigt__p_form_ops_t,
32496 &_swigt__p_int,
32497 &_swigt__p_unsigned_char,
32498 &_swigt__p_unsigned_int,
32499 &_swigt__p_unsigned_long,
32500 &_swigt__p_wxANIHandler,
32501 &_swigt__p_wxAcceleratorTable,
32502 &_swigt__p_wxActivateEvent,
32503 &_swigt__p_wxArrayInt,
32504 &_swigt__p_wxBMPHandler,
32505 &_swigt__p_wxBitmap,
32506 &_swigt__p_wxBoxSizer,
32507 &_swigt__p_wxCURHandler,
32508 &_swigt__p_wxCalculateLayoutEvent,
32509 &_swigt__p_wxChildFocusEvent,
32510 &_swigt__p_wxClipboardTextEvent,
32511 &_swigt__p_wxCloseEvent,
32512 &_swigt__p_wxColour,
32513 &_swigt__p_wxColourData,
32514 &_swigt__p_wxColourDialog,
32515 &_swigt__p_wxCommandEvent,
32516 &_swigt__p_wxContextMenuEvent,
32517 &_swigt__p_wxControl,
32518 &_swigt__p_wxControlWithItems,
32519 &_swigt__p_wxDC,
32520 &_swigt__p_wxDateEvent,
32521 &_swigt__p_wxDialog,
32522 &_swigt__p_wxDirDialog,
32523 &_swigt__p_wxDisplayChangedEvent,
32524 &_swigt__p_wxDropFilesEvent,
32525 &_swigt__p_wxDuplexMode,
32526 &_swigt__p_wxEraseEvent,
32527 &_swigt__p_wxEvent,
32528 &_swigt__p_wxEvtHandler,
32529 &_swigt__p_wxFSFile,
32530 &_swigt__p_wxFileDialog,
32531 &_swigt__p_wxFileSystem,
32532 &_swigt__p_wxFindDialogEvent,
32533 &_swigt__p_wxFindReplaceData,
32534 &_swigt__p_wxFindReplaceDialog,
32535 &_swigt__p_wxFlexGridSizer,
32536 &_swigt__p_wxFocusEvent,
32537 &_swigt__p_wxFont,
32538 &_swigt__p_wxFontData,
32539 &_swigt__p_wxFontDialog,
32540 &_swigt__p_wxFrame,
32541 &_swigt__p_wxGBSizerItem,
32542 &_swigt__p_wxGIFHandler,
32543 &_swigt__p_wxGridBagSizer,
32544 &_swigt__p_wxGridSizer,
32545 &_swigt__p_wxHtmlLinkInfo,
32546 &_swigt__p_wxICOHandler,
32547 &_swigt__p_wxIcon,
32548 &_swigt__p_wxIconBundle,
32549 &_swigt__p_wxIconizeEvent,
32550 &_swigt__p_wxIdleEvent,
32551 &_swigt__p_wxImage,
32552 &_swigt__p_wxImageHandler,
32553 &_swigt__p_wxIndividualLayoutConstraint,
32554 &_swigt__p_wxInitDialogEvent,
32555 &_swigt__p_wxJPEGHandler,
32556 &_swigt__p_wxKeyEvent,
32557 &_swigt__p_wxLayoutAlgorithm,
32558 &_swigt__p_wxLayoutConstraints,
32559 &_swigt__p_wxMDIChildFrame,
32560 &_swigt__p_wxMDIClientWindow,
32561 &_swigt__p_wxMDIParentFrame,
32562 &_swigt__p_wxMaximizeEvent,
32563 &_swigt__p_wxMenu,
32564 &_swigt__p_wxMenuBar,
32565 &_swigt__p_wxMenuEvent,
32566 &_swigt__p_wxMenuItem,
32567 &_swigt__p_wxMessageDialog,
32568 &_swigt__p_wxMiniFrame,
32569 &_swigt__p_wxMouseCaptureChangedEvent,
32570 &_swigt__p_wxMouseEvent,
32571 &_swigt__p_wxMoveEvent,
32572 &_swigt__p_wxMultiChoiceDialog,
32573 &_swigt__p_wxNavigationKeyEvent,
32574 &_swigt__p_wxNcPaintEvent,
32575 &_swigt__p_wxNotifyEvent,
32576 &_swigt__p_wxObject,
32577 &_swigt__p_wxPCXHandler,
32578 &_swigt__p_wxPNGHandler,
32579 &_swigt__p_wxPNMHandler,
32580 &_swigt__p_wxPageSetupDialog,
32581 &_swigt__p_wxPageSetupDialogData,
32582 &_swigt__p_wxPaintEvent,
32583 &_swigt__p_wxPaletteChangedEvent,
32584 &_swigt__p_wxPanel,
32585 &_swigt__p_wxPaperSize,
32586 &_swigt__p_wxPasswordEntryDialog,
32587 &_swigt__p_wxPoint,
32588 &_swigt__p_wxPopupWindow,
32589 &_swigt__p_wxPreviewCanvas,
32590 &_swigt__p_wxPreviewControlBar,
32591 &_swigt__p_wxPreviewFrame,
32592 &_swigt__p_wxPrintData,
32593 &_swigt__p_wxPrintDialog,
32594 &_swigt__p_wxPrintDialogData,
32595 &_swigt__p_wxPrintPreview,
32596 &_swigt__p_wxPrinter,
32597 &_swigt__p_wxProgressDialog,
32598 &_swigt__p_wxPyApp,
32599 &_swigt__p_wxPyCommandEvent,
32600 &_swigt__p_wxPyEvent,
32601 &_swigt__p_wxPyHtmlListBox,
32602 &_swigt__p_wxPyImageHandler,
32603 &_swigt__p_wxPyPanel,
32604 &_swigt__p_wxPyPopupTransientWindow,
32605 &_swigt__p_wxPyPreviewControlBar,
32606 &_swigt__p_wxPyPreviewFrame,
32607 &_swigt__p_wxPyPrintPreview,
32608 &_swigt__p_wxPyPrintout,
32609 &_swigt__p_wxPyScrolledWindow,
32610 &_swigt__p_wxPySizer,
32611 &_swigt__p_wxPyTaskBarIcon,
32612 &_swigt__p_wxPyVListBox,
32613 &_swigt__p_wxPyVScrolledWindow,
32614 &_swigt__p_wxPyValidator,
32615 &_swigt__p_wxPyWindow,
32616 &_swigt__p_wxQueryLayoutInfoEvent,
32617 &_swigt__p_wxQueryNewPaletteEvent,
32618 &_swigt__p_wxRect,
32619 &_swigt__p_wxRegion,
32620 &_swigt__p_wxSashEvent,
32621 &_swigt__p_wxSashLayoutWindow,
32622 &_swigt__p_wxSashWindow,
32623 &_swigt__p_wxScrollEvent,
32624 &_swigt__p_wxScrollWinEvent,
32625 &_swigt__p_wxScrolledWindow,
32626 &_swigt__p_wxSetCursorEvent,
32627 &_swigt__p_wxShowEvent,
32628 &_swigt__p_wxSingleChoiceDialog,
32629 &_swigt__p_wxSize,
32630 &_swigt__p_wxSizeEvent,
32631 &_swigt__p_wxSizer,
32632 &_swigt__p_wxSizerItem,
32633 &_swigt__p_wxSplashScreen,
32634 &_swigt__p_wxSplashScreenWindow,
32635 &_swigt__p_wxSplitterEvent,
32636 &_swigt__p_wxSplitterWindow,
32637 &_swigt__p_wxStaticBoxSizer,
32638 &_swigt__p_wxStatusBar,
32639 &_swigt__p_wxStdDialogButtonSizer,
32640 &_swigt__p_wxString,
32641 &_swigt__p_wxSysColourChangedEvent,
32642 &_swigt__p_wxTIFFHandler,
32643 &_swigt__p_wxTaskBarIcon,
32644 &_swigt__p_wxTaskBarIconEvent,
32645 &_swigt__p_wxTextEntryDialog,
32646 &_swigt__p_wxTipWindow,
32647 &_swigt__p_wxToolBar,
32648 &_swigt__p_wxTopLevelWindow,
32649 &_swigt__p_wxUpdateUIEvent,
32650 &_swigt__p_wxValidator,
32651 &_swigt__p_wxVisualAttributes,
32652 &_swigt__p_wxWindow,
32653 &_swigt__p_wxWindowCreateEvent,
32654 &_swigt__p_wxWindowDestroyEvent,
32655 &_swigt__p_wxXPMHandler,
32656 };
32657
32658 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32659 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32660 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32661 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32662 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32663 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32664 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32665 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32666 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32667 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32668 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32669 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32670 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
32671 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32672 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32673 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
32674 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32675 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32676 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32677 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32678 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32679 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
32680 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}};
32681 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32682 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_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
32683 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32684 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32685 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32686 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32687 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32688 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32689 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32690 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32691 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32692 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32693 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32694 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32695 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32696 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32697 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32698 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32699 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32700 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32701 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32702 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32703 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32704 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32705 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32706 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32707 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32708 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32709 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32710 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
32711 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32712 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32713 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32714 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32715 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
32716 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_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_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_wxFileDialog, _p_wxFileDialogTo_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_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_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}};
32717 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32718 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32719 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32720 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32721 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32722 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32723 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32724 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32725 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}};
32726 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
32727 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32728 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32729 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32730 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32731 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32732 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32733 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32734 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32735 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32736 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32737 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32738 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}};
32739 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32740 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32741 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32742 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32743 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32744 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32745 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32746 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32747 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32748 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32749 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32750 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32751 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32752 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32753 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32754 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32755 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32756 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32757 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32758 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32759 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32760 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32761 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
32762 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32763 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
32764 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32765 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
32766 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
32767 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_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_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
32768 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
32769 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
32770 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}};
32771 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32772 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32773 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
32774 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}};
32775 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
32776 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}};
32777 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}};
32778 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
32779 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32780 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
32781 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}};
32782 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
32783 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
32784 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32785 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
32786 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}};
32787 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32788 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32789 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32790 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
32791 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32792 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32793 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}};
32794 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}};
32795 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
32796 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
32797 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
32798 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
32799 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
32800 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
32801 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}};
32802 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
32803 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}};
32804 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32805 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
32806 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32807 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
32808 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
32809 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
32810 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
32811 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
32812 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
32813 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32814 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
32815 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}};
32816 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
32817 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
32818 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_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}};
32819 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
32820 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_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}};
32821
32822 static swig_cast_info *swig_cast_initial[] = {
32823 _swigc__p_bool,
32824 _swigc__p_char,
32825 _swigc__p_form_ops_t,
32826 _swigc__p_int,
32827 _swigc__p_unsigned_char,
32828 _swigc__p_unsigned_int,
32829 _swigc__p_unsigned_long,
32830 _swigc__p_wxANIHandler,
32831 _swigc__p_wxAcceleratorTable,
32832 _swigc__p_wxActivateEvent,
32833 _swigc__p_wxArrayInt,
32834 _swigc__p_wxBMPHandler,
32835 _swigc__p_wxBitmap,
32836 _swigc__p_wxBoxSizer,
32837 _swigc__p_wxCURHandler,
32838 _swigc__p_wxCalculateLayoutEvent,
32839 _swigc__p_wxChildFocusEvent,
32840 _swigc__p_wxClipboardTextEvent,
32841 _swigc__p_wxCloseEvent,
32842 _swigc__p_wxColour,
32843 _swigc__p_wxColourData,
32844 _swigc__p_wxColourDialog,
32845 _swigc__p_wxCommandEvent,
32846 _swigc__p_wxContextMenuEvent,
32847 _swigc__p_wxControl,
32848 _swigc__p_wxControlWithItems,
32849 _swigc__p_wxDC,
32850 _swigc__p_wxDateEvent,
32851 _swigc__p_wxDialog,
32852 _swigc__p_wxDirDialog,
32853 _swigc__p_wxDisplayChangedEvent,
32854 _swigc__p_wxDropFilesEvent,
32855 _swigc__p_wxDuplexMode,
32856 _swigc__p_wxEraseEvent,
32857 _swigc__p_wxEvent,
32858 _swigc__p_wxEvtHandler,
32859 _swigc__p_wxFSFile,
32860 _swigc__p_wxFileDialog,
32861 _swigc__p_wxFileSystem,
32862 _swigc__p_wxFindDialogEvent,
32863 _swigc__p_wxFindReplaceData,
32864 _swigc__p_wxFindReplaceDialog,
32865 _swigc__p_wxFlexGridSizer,
32866 _swigc__p_wxFocusEvent,
32867 _swigc__p_wxFont,
32868 _swigc__p_wxFontData,
32869 _swigc__p_wxFontDialog,
32870 _swigc__p_wxFrame,
32871 _swigc__p_wxGBSizerItem,
32872 _swigc__p_wxGIFHandler,
32873 _swigc__p_wxGridBagSizer,
32874 _swigc__p_wxGridSizer,
32875 _swigc__p_wxHtmlLinkInfo,
32876 _swigc__p_wxICOHandler,
32877 _swigc__p_wxIcon,
32878 _swigc__p_wxIconBundle,
32879 _swigc__p_wxIconizeEvent,
32880 _swigc__p_wxIdleEvent,
32881 _swigc__p_wxImage,
32882 _swigc__p_wxImageHandler,
32883 _swigc__p_wxIndividualLayoutConstraint,
32884 _swigc__p_wxInitDialogEvent,
32885 _swigc__p_wxJPEGHandler,
32886 _swigc__p_wxKeyEvent,
32887 _swigc__p_wxLayoutAlgorithm,
32888 _swigc__p_wxLayoutConstraints,
32889 _swigc__p_wxMDIChildFrame,
32890 _swigc__p_wxMDIClientWindow,
32891 _swigc__p_wxMDIParentFrame,
32892 _swigc__p_wxMaximizeEvent,
32893 _swigc__p_wxMenu,
32894 _swigc__p_wxMenuBar,
32895 _swigc__p_wxMenuEvent,
32896 _swigc__p_wxMenuItem,
32897 _swigc__p_wxMessageDialog,
32898 _swigc__p_wxMiniFrame,
32899 _swigc__p_wxMouseCaptureChangedEvent,
32900 _swigc__p_wxMouseEvent,
32901 _swigc__p_wxMoveEvent,
32902 _swigc__p_wxMultiChoiceDialog,
32903 _swigc__p_wxNavigationKeyEvent,
32904 _swigc__p_wxNcPaintEvent,
32905 _swigc__p_wxNotifyEvent,
32906 _swigc__p_wxObject,
32907 _swigc__p_wxPCXHandler,
32908 _swigc__p_wxPNGHandler,
32909 _swigc__p_wxPNMHandler,
32910 _swigc__p_wxPageSetupDialog,
32911 _swigc__p_wxPageSetupDialogData,
32912 _swigc__p_wxPaintEvent,
32913 _swigc__p_wxPaletteChangedEvent,
32914 _swigc__p_wxPanel,
32915 _swigc__p_wxPaperSize,
32916 _swigc__p_wxPasswordEntryDialog,
32917 _swigc__p_wxPoint,
32918 _swigc__p_wxPopupWindow,
32919 _swigc__p_wxPreviewCanvas,
32920 _swigc__p_wxPreviewControlBar,
32921 _swigc__p_wxPreviewFrame,
32922 _swigc__p_wxPrintData,
32923 _swigc__p_wxPrintDialog,
32924 _swigc__p_wxPrintDialogData,
32925 _swigc__p_wxPrintPreview,
32926 _swigc__p_wxPrinter,
32927 _swigc__p_wxProgressDialog,
32928 _swigc__p_wxPyApp,
32929 _swigc__p_wxPyCommandEvent,
32930 _swigc__p_wxPyEvent,
32931 _swigc__p_wxPyHtmlListBox,
32932 _swigc__p_wxPyImageHandler,
32933 _swigc__p_wxPyPanel,
32934 _swigc__p_wxPyPopupTransientWindow,
32935 _swigc__p_wxPyPreviewControlBar,
32936 _swigc__p_wxPyPreviewFrame,
32937 _swigc__p_wxPyPrintPreview,
32938 _swigc__p_wxPyPrintout,
32939 _swigc__p_wxPyScrolledWindow,
32940 _swigc__p_wxPySizer,
32941 _swigc__p_wxPyTaskBarIcon,
32942 _swigc__p_wxPyVListBox,
32943 _swigc__p_wxPyVScrolledWindow,
32944 _swigc__p_wxPyValidator,
32945 _swigc__p_wxPyWindow,
32946 _swigc__p_wxQueryLayoutInfoEvent,
32947 _swigc__p_wxQueryNewPaletteEvent,
32948 _swigc__p_wxRect,
32949 _swigc__p_wxRegion,
32950 _swigc__p_wxSashEvent,
32951 _swigc__p_wxSashLayoutWindow,
32952 _swigc__p_wxSashWindow,
32953 _swigc__p_wxScrollEvent,
32954 _swigc__p_wxScrollWinEvent,
32955 _swigc__p_wxScrolledWindow,
32956 _swigc__p_wxSetCursorEvent,
32957 _swigc__p_wxShowEvent,
32958 _swigc__p_wxSingleChoiceDialog,
32959 _swigc__p_wxSize,
32960 _swigc__p_wxSizeEvent,
32961 _swigc__p_wxSizer,
32962 _swigc__p_wxSizerItem,
32963 _swigc__p_wxSplashScreen,
32964 _swigc__p_wxSplashScreenWindow,
32965 _swigc__p_wxSplitterEvent,
32966 _swigc__p_wxSplitterWindow,
32967 _swigc__p_wxStaticBoxSizer,
32968 _swigc__p_wxStatusBar,
32969 _swigc__p_wxStdDialogButtonSizer,
32970 _swigc__p_wxString,
32971 _swigc__p_wxSysColourChangedEvent,
32972 _swigc__p_wxTIFFHandler,
32973 _swigc__p_wxTaskBarIcon,
32974 _swigc__p_wxTaskBarIconEvent,
32975 _swigc__p_wxTextEntryDialog,
32976 _swigc__p_wxTipWindow,
32977 _swigc__p_wxToolBar,
32978 _swigc__p_wxTopLevelWindow,
32979 _swigc__p_wxUpdateUIEvent,
32980 _swigc__p_wxValidator,
32981 _swigc__p_wxVisualAttributes,
32982 _swigc__p_wxWindow,
32983 _swigc__p_wxWindowCreateEvent,
32984 _swigc__p_wxWindowDestroyEvent,
32985 _swigc__p_wxXPMHandler,
32986 };
32987
32988
32989 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32990
32991 static swig_const_info swig_const_table[] = {
32992 {0, 0, 0, 0.0, 0, 0}};
32993
32994 #ifdef __cplusplus
32995 }
32996 #endif
32997 /* -----------------------------------------------------------------------------
32998 * Type initialization:
32999 * This problem is tough by the requirement that no dynamic
33000 * memory is used. Also, since swig_type_info structures store pointers to
33001 * swig_cast_info structures and swig_cast_info structures store pointers back
33002 * to swig_type_info structures, we need some lookup code at initialization.
33003 * The idea is that swig generates all the structures that are needed.
33004 * The runtime then collects these partially filled structures.
33005 * The SWIG_InitializeModule function takes these initial arrays out of
33006 * swig_module, and does all the lookup, filling in the swig_module.types
33007 * array with the correct data and linking the correct swig_cast_info
33008 * structures together.
33009 *
33010 * The generated swig_type_info structures are assigned staticly to an initial
33011 * array. We just loop though that array, and handle each type individually.
33012 * First we lookup if this type has been already loaded, and if so, use the
33013 * loaded structure instead of the generated one. Then we have to fill in the
33014 * cast linked list. The cast data is initially stored in something like a
33015 * two-dimensional array. Each row corresponds to a type (there are the same
33016 * number of rows as there are in the swig_type_initial array). Each entry in
33017 * a column is one of the swig_cast_info structures for that type.
33018 * The cast_initial array is actually an array of arrays, because each row has
33019 * a variable number of columns. So to actually build the cast linked list,
33020 * we find the array of casts associated with the type, and loop through it
33021 * adding the casts to the list. The one last trick we need to do is making
33022 * sure the type pointer in the swig_cast_info struct is correct.
33023 *
33024 * First off, we lookup the cast->type name to see if it is already loaded.
33025 * There are three cases to handle:
33026 * 1) If the cast->type has already been loaded AND the type we are adding
33027 * casting info to has not been loaded (it is in this module), THEN we
33028 * replace the cast->type pointer with the type pointer that has already
33029 * been loaded.
33030 * 2) If BOTH types (the one we are adding casting info to, and the
33031 * cast->type) are loaded, THEN the cast info has already been loaded by
33032 * the previous module so we just ignore it.
33033 * 3) Finally, if cast->type has not already been loaded, then we add that
33034 * swig_cast_info to the linked list (because the cast->type) pointer will
33035 * be correct.
33036 * ----------------------------------------------------------------------------- */
33037
33038 #ifdef __cplusplus
33039 extern "C" {
33040 #if 0
33041 } /* c-mode */
33042 #endif
33043 #endif
33044
33045 #if 0
33046 #define SWIGRUNTIME_DEBUG
33047 #endif
33048
33049 SWIGRUNTIME void
33050 SWIG_InitializeModule(void *clientdata) {
33051 size_t i;
33052 swig_module_info *module_head;
33053 static int init_run = 0;
33054
33055 clientdata = clientdata;
33056
33057 if (init_run) return;
33058 init_run = 1;
33059
33060 /* Initialize the swig_module */
33061 swig_module.type_initial = swig_type_initial;
33062 swig_module.cast_initial = swig_cast_initial;
33063
33064 /* Try and load any already created modules */
33065 module_head = SWIG_GetModule(clientdata);
33066 if (module_head) {
33067 swig_module.next = module_head->next;
33068 module_head->next = &swig_module;
33069 } else {
33070 /* This is the first module loaded */
33071 swig_module.next = &swig_module;
33072 SWIG_SetModule(clientdata, &swig_module);
33073 }
33074
33075 /* Now work on filling in swig_module.types */
33076 #ifdef SWIGRUNTIME_DEBUG
33077 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33078 #endif
33079 for (i = 0; i < swig_module.size; ++i) {
33080 swig_type_info *type = 0;
33081 swig_type_info *ret;
33082 swig_cast_info *cast;
33083
33084 #ifdef SWIGRUNTIME_DEBUG
33085 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33086 #endif
33087
33088 /* if there is another module already loaded */
33089 if (swig_module.next != &swig_module) {
33090 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33091 }
33092 if (type) {
33093 /* Overwrite clientdata field */
33094 #ifdef SWIGRUNTIME_DEBUG
33095 printf("SWIG_InitializeModule: found type %s\n", type->name);
33096 #endif
33097 if (swig_module.type_initial[i]->clientdata) {
33098 type->clientdata = swig_module.type_initial[i]->clientdata;
33099 #ifdef SWIGRUNTIME_DEBUG
33100 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33101 #endif
33102 }
33103 } else {
33104 type = swig_module.type_initial[i];
33105 }
33106
33107 /* Insert casting types */
33108 cast = swig_module.cast_initial[i];
33109 while (cast->type) {
33110 /* Don't need to add information already in the list */
33111 ret = 0;
33112 #ifdef SWIGRUNTIME_DEBUG
33113 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33114 #endif
33115 if (swig_module.next != &swig_module) {
33116 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33117 #ifdef SWIGRUNTIME_DEBUG
33118 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33119 #endif
33120 }
33121 if (ret) {
33122 if (type == swig_module.type_initial[i]) {
33123 #ifdef SWIGRUNTIME_DEBUG
33124 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33125 #endif
33126 cast->type = ret;
33127 ret = 0;
33128 } else {
33129 /* Check for casting already in the list */
33130 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33131 #ifdef SWIGRUNTIME_DEBUG
33132 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33133 #endif
33134 if (!ocast) ret = 0;
33135 }
33136 }
33137
33138 if (!ret) {
33139 #ifdef SWIGRUNTIME_DEBUG
33140 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33141 #endif
33142 if (type->cast) {
33143 type->cast->prev = cast;
33144 cast->next = type->cast;
33145 }
33146 type->cast = cast;
33147 }
33148 cast++;
33149 }
33150 /* Set entry in modules->types array equal to the type */
33151 swig_module.types[i] = type;
33152 }
33153 swig_module.types[i] = 0;
33154
33155 #ifdef SWIGRUNTIME_DEBUG
33156 printf("**** SWIG_InitializeModule: Cast List ******\n");
33157 for (i = 0; i < swig_module.size; ++i) {
33158 int j = 0;
33159 swig_cast_info *cast = swig_module.cast_initial[i];
33160 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33161 while (cast->type) {
33162 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33163 cast++;
33164 ++j;
33165 }
33166 printf("---- Total casts: %d\n",j);
33167 }
33168 printf("**** SWIG_InitializeModule: Cast List ******\n");
33169 #endif
33170 }
33171
33172 /* This function will propagate the clientdata field of type to
33173 * any new swig_type_info structures that have been added into the list
33174 * of equivalent types. It is like calling
33175 * SWIG_TypeClientData(type, clientdata) a second time.
33176 */
33177 SWIGRUNTIME void
33178 SWIG_PropagateClientData(void) {
33179 size_t i;
33180 swig_cast_info *equiv;
33181 static int init_run = 0;
33182
33183 if (init_run) return;
33184 init_run = 1;
33185
33186 for (i = 0; i < swig_module.size; i++) {
33187 if (swig_module.types[i]->clientdata) {
33188 equiv = swig_module.types[i]->cast;
33189 while (equiv) {
33190 if (!equiv->converter) {
33191 if (equiv->type && !equiv->type->clientdata)
33192 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33193 }
33194 equiv = equiv->next;
33195 }
33196 }
33197 }
33198 }
33199
33200 #ifdef __cplusplus
33201 #if 0
33202 {
33203 /* c-mode */
33204 #endif
33205 }
33206 #endif
33207
33208
33209
33210 #ifdef __cplusplus
33211 extern "C" {
33212 #endif
33213
33214 /* Python-specific SWIG API */
33215 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33216 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33217 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33218
33219 /* -----------------------------------------------------------------------------
33220 * global variable support code.
33221 * ----------------------------------------------------------------------------- */
33222
33223 typedef struct swig_globalvar {
33224 char *name; /* Name of global variable */
33225 PyObject *(*get_attr)(void); /* Return the current value */
33226 int (*set_attr)(PyObject *); /* Set the value */
33227 struct swig_globalvar *next;
33228 } swig_globalvar;
33229
33230 typedef struct swig_varlinkobject {
33231 PyObject_HEAD
33232 swig_globalvar *vars;
33233 } swig_varlinkobject;
33234
33235 SWIGINTERN PyObject *
33236 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33237 return PyString_FromString("<Swig global variables>");
33238 }
33239
33240 SWIGINTERN PyObject *
33241 swig_varlink_str(swig_varlinkobject *v) {
33242 PyObject *str = PyString_FromString("(");
33243 swig_globalvar *var;
33244 for (var = v->vars; var; var=var->next) {
33245 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33246 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33247 }
33248 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33249 return str;
33250 }
33251
33252 SWIGINTERN int
33253 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33254 PyObject *str = swig_varlink_str(v);
33255 fprintf(fp,"Swig global variables ");
33256 fprintf(fp,"%s\n", PyString_AsString(str));
33257 Py_DECREF(str);
33258 return 0;
33259 }
33260
33261 SWIGINTERN void
33262 swig_varlink_dealloc(swig_varlinkobject *v) {
33263 swig_globalvar *var = v->vars;
33264 while (var) {
33265 swig_globalvar *n = var->next;
33266 free(var->name);
33267 free(var);
33268 var = n;
33269 }
33270 }
33271
33272 SWIGINTERN PyObject *
33273 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33274 PyObject *res = NULL;
33275 swig_globalvar *var = v->vars;
33276 while (var) {
33277 if (strcmp(var->name,n) == 0) {
33278 res = (*var->get_attr)();
33279 break;
33280 }
33281 var = var->next;
33282 }
33283 if (res == NULL && !PyErr_Occurred()) {
33284 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33285 }
33286 return res;
33287 }
33288
33289 SWIGINTERN int
33290 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33291 int res = 1;
33292 swig_globalvar *var = v->vars;
33293 while (var) {
33294 if (strcmp(var->name,n) == 0) {
33295 res = (*var->set_attr)(p);
33296 break;
33297 }
33298 var = var->next;
33299 }
33300 if (res == 1 && !PyErr_Occurred()) {
33301 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33302 }
33303 return res;
33304 }
33305
33306 SWIGINTERN PyTypeObject*
33307 swig_varlink_type(void) {
33308 static char varlink__doc__[] = "Swig var link object";
33309 static PyTypeObject varlink_type;
33310 static int type_init = 0;
33311 if (!type_init) {
33312 const PyTypeObject tmp
33313 = {
33314 PyObject_HEAD_INIT(NULL)
33315 0, /* Number of items in variable part (ob_size) */
33316 (char *)"swigvarlink", /* Type name (tp_name) */
33317 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33318 0, /* Itemsize (tp_itemsize) */
33319 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33320 (printfunc) swig_varlink_print, /* Print (tp_print) */
33321 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33322 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33323 0, /* tp_compare */
33324 (reprfunc) swig_varlink_repr, /* tp_repr */
33325 0, /* tp_as_number */
33326 0, /* tp_as_sequence */
33327 0, /* tp_as_mapping */
33328 0, /* tp_hash */
33329 0, /* tp_call */
33330 (reprfunc)swig_varlink_str, /* tp_str */
33331 0, /* tp_getattro */
33332 0, /* tp_setattro */
33333 0, /* tp_as_buffer */
33334 0, /* tp_flags */
33335 varlink__doc__, /* tp_doc */
33336 0, /* tp_traverse */
33337 0, /* tp_clear */
33338 0, /* tp_richcompare */
33339 0, /* tp_weaklistoffset */
33340 #if PY_VERSION_HEX >= 0x02020000
33341 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33342 #endif
33343 #if PY_VERSION_HEX >= 0x02030000
33344 0, /* tp_del */
33345 #endif
33346 #ifdef COUNT_ALLOCS
33347 0,0,0,0 /* tp_alloc -> tp_next */
33348 #endif
33349 };
33350 varlink_type = tmp;
33351 varlink_type.ob_type = &PyType_Type;
33352 type_init = 1;
33353 }
33354 return &varlink_type;
33355 }
33356
33357 /* Create a variable linking object for use later */
33358 SWIGINTERN PyObject *
33359 SWIG_Python_newvarlink(void) {
33360 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33361 if (result) {
33362 result->vars = 0;
33363 }
33364 return ((PyObject*) result);
33365 }
33366
33367 SWIGINTERN void
33368 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33369 swig_varlinkobject *v = (swig_varlinkobject *) p;
33370 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33371 if (gv) {
33372 size_t size = strlen(name)+1;
33373 gv->name = (char *)malloc(size);
33374 if (gv->name) {
33375 strncpy(gv->name,name,size);
33376 gv->get_attr = get_attr;
33377 gv->set_attr = set_attr;
33378 gv->next = v->vars;
33379 }
33380 }
33381 v->vars = gv;
33382 }
33383
33384 SWIGINTERN PyObject *
33385 SWIG_globals() {
33386 static PyObject *_SWIG_globals = 0;
33387 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33388 return _SWIG_globals;
33389 }
33390
33391 /* -----------------------------------------------------------------------------
33392 * constants/methods manipulation
33393 * ----------------------------------------------------------------------------- */
33394
33395 /* Install Constants */
33396 SWIGINTERN void
33397 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33398 PyObject *obj = 0;
33399 size_t i;
33400 for (i = 0; constants[i].type; ++i) {
33401 switch(constants[i].type) {
33402 case SWIG_PY_POINTER:
33403 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33404 break;
33405 case SWIG_PY_BINARY:
33406 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33407 break;
33408 default:
33409 obj = 0;
33410 break;
33411 }
33412 if (obj) {
33413 PyDict_SetItemString(d, constants[i].name, obj);
33414 Py_DECREF(obj);
33415 }
33416 }
33417 }
33418
33419 /* -----------------------------------------------------------------------------*/
33420 /* Fix SwigMethods to carry the callback ptrs when needed */
33421 /* -----------------------------------------------------------------------------*/
33422
33423 SWIGINTERN void
33424 SWIG_Python_FixMethods(PyMethodDef *methods,
33425 swig_const_info *const_table,
33426 swig_type_info **types,
33427 swig_type_info **types_initial) {
33428 size_t i;
33429 for (i = 0; methods[i].ml_name; ++i) {
33430 const char *c = methods[i].ml_doc;
33431 if (c && (c = strstr(c, "swig_ptr: "))) {
33432 int j;
33433 swig_const_info *ci = 0;
33434 const char *name = c + 10;
33435 for (j = 0; const_table[j].type; ++j) {
33436 if (strncmp(const_table[j].name, name,
33437 strlen(const_table[j].name)) == 0) {
33438 ci = &(const_table[j]);
33439 break;
33440 }
33441 }
33442 if (ci) {
33443 size_t shift = (ci->ptype) - types;
33444 swig_type_info *ty = types_initial[shift];
33445 size_t ldoc = (c - methods[i].ml_doc);
33446 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33447 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33448 if (ndoc) {
33449 char *buff = ndoc;
33450 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33451 if (ptr) {
33452 strncpy(buff, methods[i].ml_doc, ldoc);
33453 buff += ldoc;
33454 strncpy(buff, "swig_ptr: ", 10);
33455 buff += 10;
33456 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33457 methods[i].ml_doc = ndoc;
33458 }
33459 }
33460 }
33461 }
33462 }
33463 }
33464
33465 #ifdef __cplusplus
33466 }
33467 #endif
33468
33469 /* -----------------------------------------------------------------------------*
33470 * Partial Init method
33471 * -----------------------------------------------------------------------------*/
33472
33473 #ifdef __cplusplus
33474 extern "C"
33475 #endif
33476 SWIGEXPORT void SWIG_init(void) {
33477 PyObject *m, *d;
33478
33479 /* Fix SwigMethods to carry the callback ptrs when needed */
33480 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33481
33482 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33483 d = PyModule_GetDict(m);
33484
33485 SWIG_InitializeModule(0);
33486 SWIG_InstallConstants(d,swig_const_table);
33487
33488
33489 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33490 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33491 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33492 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33493 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33494 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33495 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33496 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33497 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33498 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33499 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33500 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33501 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33502 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33503 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33504 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33505 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33506 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33507 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33508 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33509 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33510 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33511 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33512 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33513 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33514 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33515 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33516 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33517 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33518 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33519 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33520 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33521 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33522 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33523 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33524 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33525 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33526 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33527 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33528 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33529 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33530 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33531 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33532 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33533 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33534 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33535 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33536 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33537 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33538 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33539 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33540 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33541 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33542 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33543 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33544 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33545 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33546 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33547 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33548 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33549 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33550 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33551 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33552 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33553 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33554 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33555 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33556 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33557 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33558 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33559 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33560 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33561 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33562 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33563 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33564 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33565 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33566 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33567 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33568 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33569 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33570 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33571 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33572 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33573 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33574 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33575 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33576 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33577 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33578 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33579 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33580 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33581 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33582 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33583 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33584 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33585 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33586 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33587 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33588 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33589 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33590 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33591
33592 // Map renamed classes back to their common name for OOR
33593 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33594 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33595 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33596
33597 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33598 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33599 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33600 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33601 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33602 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33603 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33604 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33605 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33606 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33607 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33608 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33609 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
33610 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
33611 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
33612 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
33613 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
33614 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
33615 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
33616 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
33617 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
33618 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
33619 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
33620 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
33621 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
33622 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
33623 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
33624 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
33625 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
33626 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
33627 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33628 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33629 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33630 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33631 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33632 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33633 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33634 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33635 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33636 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33637 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33638 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33639 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33640 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33641 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33642 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33643 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33644 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33645 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33646 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33647 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33648 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33649 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33650 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33651 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33652 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33653 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33654 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33655 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33656 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33657 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33658 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33659 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33660 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33661 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33662 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33663 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33664 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33665 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33666 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33667 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33668 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33669 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33670 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33671 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33672 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33673 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33674 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33675 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33676 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33677 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33678 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33679 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33680 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33681 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33682 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33683 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33684 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33685 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33686 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33687 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33688 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33689 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33690 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33691 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33692
33693 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33694
33695 }
33696