]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
Some compile fixes.
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTIFFHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIcon swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621 #define SWIGTYPE_p_wxTipWindow swig_types[155]
2622 #define SWIGTYPE_p_wxToolBar swig_types[156]
2623 #define SWIGTYPE_p_wxTopLevelWindow swig_types[157]
2624 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[158]
2625 #define SWIGTYPE_p_wxValidator swig_types[159]
2626 #define SWIGTYPE_p_wxVisualAttributes swig_types[160]
2627 #define SWIGTYPE_p_wxWindow swig_types[161]
2628 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630 #define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631 static swig_type_info *swig_types[166];
2632 static swig_module_info swig_module = {swig_types, 165, 0, 0, 0, 0};
2633 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2635
2636 /* -------- TYPES TABLE (END) -------- */
2637
2638 #if (PY_VERSION_HEX <= 0x02000000)
2639 # if !defined(SWIG_PYTHON_CLASSIC)
2640 # error "This python version requires to use swig with the '-classic' option"
2641 # endif
2642 #endif
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodern' option"
2645 #endif
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodernargs' option"
2648 #endif
2649 #ifndef METH_O
2650 # error "This python version requires to use swig with the '-nofastunpack' option"
2651 #endif
2652
2653 /*-----------------------------------------------
2654 @(target):= _windows_.so
2655 ------------------------------------------------*/
2656 #define SWIG_init init_windows_
2657
2658 #define SWIG_name "_windows_"
2659
2660 #define SWIGVERSION 0x010329
2661
2662
2663 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2665
2666
2667 #include <stdexcept>
2668
2669
2670 namespace swig {
2671 class PyObject_ptr {
2672 protected:
2673 PyObject *_obj;
2674
2675 public:
2676 PyObject_ptr() :_obj(0)
2677 {
2678 }
2679
2680 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2681 {
2682 Py_XINCREF(_obj);
2683 }
2684
2685 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2686 {
2687 if (initial_ref) Py_XINCREF(_obj);
2688 }
2689
2690 PyObject_ptr & operator=(const PyObject_ptr& item)
2691 {
2692 Py_XINCREF(item._obj);
2693 Py_XDECREF(_obj);
2694 _obj = item._obj;
2695 return *this;
2696 }
2697
2698 ~PyObject_ptr()
2699 {
2700 Py_XDECREF(_obj);
2701 }
2702
2703 operator PyObject *() const
2704 {
2705 return _obj;
2706 }
2707
2708 PyObject *operator->() const
2709 {
2710 return _obj;
2711 }
2712 };
2713 }
2714
2715
2716 namespace swig {
2717 struct PyObject_var : PyObject_ptr {
2718 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2719
2720 PyObject_var & operator = (PyObject* obj)
2721 {
2722 Py_XDECREF(_obj);
2723 _obj = obj;
2724 return *this;
2725 }
2726 };
2727 }
2728
2729
2730 #include "wx/wxPython/wxPython.h"
2731 #include "wx/wxPython/pyclasses.h"
2732
2733
2734 static const wxString wxPyEmptyString(wxEmptyString);
2735 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2736
2737
2738
2739 #include <limits.h>
2740 #ifndef LLONG_MIN
2741 # define LLONG_MIN LONG_LONG_MIN
2742 #endif
2743 #ifndef LLONG_MAX
2744 # define LLONG_MAX LONG_LONG_MAX
2745 #endif
2746 #ifndef ULLONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2748 #endif
2749
2750
2751 SWIGINTERN int
2752 SWIG_AsVal_long (PyObject* obj, long* val)
2753 {
2754 if (PyNumber_Check(obj)) {
2755 if (val) *val = PyInt_AsLong(obj);
2756 return SWIG_OK;
2757 }
2758 return SWIG_TypeError;
2759 }
2760
2761
2762 SWIGINTERN int
2763 SWIG_AsVal_int (PyObject * obj, int *val)
2764 {
2765 long v;
2766 int res = SWIG_AsVal_long (obj, &v);
2767 if (SWIG_IsOK(res)) {
2768 if ((v < INT_MIN || v > INT_MAX)) {
2769 return SWIG_OverflowError;
2770 } else {
2771 if (val) *val = static_cast< int >(v);
2772 }
2773 }
2774 return res;
2775 }
2776
2777
2778 SWIGINTERN int
2779 SWIG_AsVal_bool (PyObject *obj, bool *val)
2780 {
2781 if (obj == Py_True) {
2782 if (val) *val = true;
2783 return SWIG_OK;
2784 } else if (obj == Py_False) {
2785 if (val) *val = false;
2786 return SWIG_OK;
2787 } else {
2788 long v = 0;
2789 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2790 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2791 return res;
2792 }
2793 }
2794
2795
2796 #define SWIG_From_long PyInt_FromLong
2797
2798
2799 SWIGINTERNINLINE PyObject *
2800 SWIG_From_int (int value)
2801 {
2802 return SWIG_From_long (value);
2803 }
2804
2805
2806 SWIGINTERN int
2807 SWIG_AsVal_double (PyObject *obj, double* val)
2808 {
2809 if (PyNumber_Check(obj)) {
2810 if (val) *val = PyFloat_AsDouble(obj);
2811 return SWIG_OK;
2812 }
2813 return SWIG_TypeError;
2814 }
2815
2816
2817 #define SWIG_From_double PyFloat_FromDouble
2818
2819 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2820 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2821 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2822 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2823 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2824 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2825
2826
2827 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2828 wxRect r;
2829 self->GetFieldRect(i, r);
2830 return r;
2831 }
2832 static const wxString wxPySplitterNameStr(wxT("splitter"));
2833 static const wxString wxPySashNameStr(wxT("sashWindow"));
2834 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2835
2836 #include <wx/popupwin.h>
2837
2838
2839 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2840 {
2841 public:
2842 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2843 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2844 : wxPopupTransientWindow(parent, style) {}
2845
2846 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2847 DEC_PYCALLBACK__(OnDismiss);
2848 DEC_PYCALLBACK_BOOL_(CanDismiss);
2849 PYPRIVATE;
2850 };
2851
2852
2853 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2854 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2855 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2856
2857
2858 #include <wx/tipwin.h>
2859
2860 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2861 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2862 }
2863
2864 #include <wx/tipwin.h>
2865
2866
2867 #include <wx/vscroll.h>
2868
2869
2870 class wxPyVScrolledWindow : public wxVScrolledWindow
2871 {
2872 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2873 public:
2874 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2875
2876 wxPyVScrolledWindow(wxWindow *parent,
2877 wxWindowID id = wxID_ANY,
2878 const wxPoint& pos = wxDefaultPosition,
2879 const wxSize& size = wxDefaultSize,
2880 long style = 0,
2881 const wxString& name = wxPyPanelNameStr)
2882 : wxVScrolledWindow(parent, id, pos, size, style, name)
2883 {}
2884
2885 // Overridable virtuals
2886
2887 // this function must be overridden in the derived class and it should
2888 // return the height of the given line in pixels
2889 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2890
2891
2892 // this function doesn't have to be overridden but it may be useful to do
2893 // it if calculating the lines heights is a relatively expensive operation
2894 // as it gives the user code a possibility to calculate several of them at
2895 // once
2896 //
2897 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2898 // shouldn't rely on the latter being called for all lines in the interval
2899 // specified here. It is also possible that OnGetLineHeight() will be
2900 // called for the lines outside of this interval, so this is really just a
2901 // hint, not a promise.
2902 //
2903 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2904 // usual
2905 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2906
2907
2908 // when the number of lines changes, we try to estimate the total height
2909 // of all lines which is a rather expensive operation in terms of lines
2910 // access, so if the user code may estimate the average height
2911 // better/faster than we do, it should override this function to implement
2912 // its own logic
2913 //
2914 // this function should return the best guess for the total height it may
2915 // make
2916 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2917
2918
2919 // Also expose some other interesting protected methods
2920
2921
2922 // find the index of the line we need to show at the top of the window such
2923 // that the last (fully or partially) visible line is the given one
2924 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2925 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2926
2927 // get the total height of the lines between lineMin (inclusive) and
2928 // lineMax (exclusive)
2929 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2930 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2931
2932 // update the thumb size shown by the scrollbar
2933 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2934
2935 // remove the scrollbar completely because we don't need it
2936 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2937
2938 PYPRIVATE;
2939 };
2940
2941 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2942
2943 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2944 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2945 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2946
2947
2948 SWIGINTERN int
2949 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2950 {
2951 long v = 0;
2952 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2953 return SWIG_TypeError;
2954 }
2955 else if (val)
2956 *val = (unsigned long)v;
2957 return SWIG_OK;
2958 }
2959
2960
2961 SWIGINTERNINLINE int
2962 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2963 {
2964 unsigned long v;
2965 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2966 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2967 return res;
2968 }
2969
2970
2971 SWIGINTERNINLINE PyObject*
2972 SWIG_From_unsigned_SS_long (unsigned long value)
2973 {
2974 return (value > LONG_MAX) ?
2975 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2976 }
2977
2978
2979 SWIGINTERNINLINE PyObject *
2980 SWIG_From_size_t (size_t value)
2981 {
2982 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2983 }
2984
2985
2986 #include <wx/vlbox.h>
2987
2988 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2989
2990 class wxPyVListBox : public wxVListBox
2991 {
2992 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2993 public:
2994 wxPyVListBox() : wxVListBox() {}
2995
2996 wxPyVListBox(wxWindow *parent,
2997 wxWindowID id = wxID_ANY,
2998 const wxPoint& pos = wxDefaultPosition,
2999 const wxSize& size = wxDefaultSize,
3000 long style = 0,
3001 const wxString& name = wxPyVListBoxNameStr)
3002 : wxVListBox(parent, id, pos, size, style, name)
3003 {}
3004
3005 // Overridable virtuals
3006
3007 // the derived class must implement this function to actually draw the item
3008 // with the given index on the provided DC
3009 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3010 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3011
3012
3013 // the derived class must implement this method to return the height of the
3014 // specified item
3015 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3016 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3017
3018
3019 // this method may be used to draw separators between the lines; note that
3020 // the rectangle may be modified, typically to deflate it a bit before
3021 // passing to OnDrawItem()
3022 //
3023 // the base class version doesn't do anything
3024 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3025 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3026
3027
3028 // this method is used to draw the items background and, maybe, a border
3029 // around it
3030 //
3031 // the base class version implements a reasonable default behaviour which
3032 // consists in drawing the selected item with the standard background
3033 // colour and drawing a border around the item if it is either selected or
3034 // current
3035 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3036 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3037
3038
3039 PYPRIVATE;
3040 };
3041
3042 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3043
3044 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3045 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3046 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3047 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3048
3049
3050 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3051 unsigned long cookie = 0;
3052 int selected = self->GetFirstSelected(cookie);
3053 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3054 PyObject* tup = PyTuple_New(2);
3055 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3056 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3057 wxPyEndBlockThreads(blocked);
3058 return tup;
3059 }
3060 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3061 int selected = self->GetNextSelected(cookie);
3062 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3063 PyObject* tup = PyTuple_New(2);
3064 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3065 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3066 wxPyEndBlockThreads(blocked);
3067 return tup;
3068 }
3069
3070 #include <wx/htmllbox.h>
3071
3072
3073 class wxPyHtmlListBox : public wxHtmlListBox
3074 {
3075 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3076 public:
3077 wxPyHtmlListBox() : wxHtmlListBox() {}
3078
3079 wxPyHtmlListBox(wxWindow *parent,
3080 wxWindowID id = wxID_ANY,
3081 const wxPoint& pos = wxDefaultPosition,
3082 const wxSize& size = wxDefaultSize,
3083 long style = 0,
3084 const wxString& name = wxPyVListBoxNameStr)
3085 : wxHtmlListBox(parent, id, pos, size, style, name)
3086 {}
3087
3088 // Overridable virtuals
3089
3090 // this method must be implemented in the derived class and should return
3091 // the body (i.e. without <html>) of the HTML for the given item
3092 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3093
3094 // this function may be overridden to decorate HTML returned by OnGetItem()
3095 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3096
3097 // These are from wxVListBox
3098 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3099 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3100
3101 // TODO:
3102 // // this method allows to customize the selection appearance: it may be used
3103 // // to specify the colour of the text which normally has the given colour
3104 // // colFg when it is inside the selection
3105 // //
3106 // // by default, the original colour is not used at all and all text has the
3107 // // same (default for this system) colour inside selection
3108 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3109
3110 // // this is the same as GetSelectedTextColour() but allows to customize the
3111 // // background colour -- this is even more rarely used as you can change it
3112 // // globally using SetSelectionBackground()
3113 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3114
3115
3116 // This method may be overriden to handle clicking on a link in
3117 // the listbox. By default, clicking links is ignored.
3118 virtual void OnLinkClicked(size_t n,
3119 const wxHtmlLinkInfo& link);
3120
3121 PYPRIVATE;
3122 };
3123
3124
3125 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3126
3127 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3128 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3129 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3130 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3131
3132
3133 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3134 const wxHtmlLinkInfo& link) {
3135 bool found;
3136 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3137 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3138 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3139 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3140 Py_DECREF(obj);
3141 }
3142 wxPyEndBlockThreads(blocked);
3143 if (! found)
3144 wxPyHtmlListBox::OnLinkClicked(n, link);
3145 }
3146
3147
3148
3149
3150
3151 #ifndef wxHAS_TASK_BAR_ICON
3152 // implement dummy classes for platforms that don't have it
3153
3154 class wxTaskBarIcon : public wxEvtHandler
3155 {
3156 public:
3157 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3158 };
3159
3160
3161 class wxTaskBarIconEvent : public wxEvent
3162 {
3163 public:
3164 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3165 { wxPyRaiseNotImplemented(); }
3166 virtual wxEvent* Clone() const { return NULL; }
3167 bool IsOk() const { return false; }
3168 bool IsIconInstalled() const { return false; }
3169 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3170 bool RemoveIcon() { return false; }
3171 bool PopupMenu(wxMenu *menu) { return false; }
3172 };
3173
3174 enum {
3175 wxEVT_TASKBAR_MOVE = 0,
3176 wxEVT_TASKBAR_LEFT_DOWN = 0,
3177 wxEVT_TASKBAR_LEFT_UP = 0,
3178 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3179 wxEVT_TASKBAR_RIGHT_UP = 0,
3180 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3181 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3182 };
3183
3184
3185 #else
3186 // Otherwise make a class that can virtualize CreatePopupMenu
3187 class wxPyTaskBarIcon : public wxTaskBarIcon
3188 {
3189 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3190 public:
3191 wxPyTaskBarIcon() : wxTaskBarIcon()
3192 {}
3193
3194 wxMenu* CreatePopupMenu() {
3195 wxMenu *rval = NULL;
3196 bool found;
3197 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3198 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3199 PyObject* ro;
3200 wxMenu* ptr;
3201 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3202 if (ro) {
3203 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3204 rval = ptr;
3205 Py_DECREF(ro);
3206 }
3207 }
3208 wxPyEndBlockThreads(blocked);
3209 if (! found)
3210 rval = wxTaskBarIcon::CreatePopupMenu();
3211 return rval;
3212 }
3213
3214 PYPRIVATE;
3215 };
3216
3217 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3218
3219 #endif
3220
3221 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3222 self->RemoveIcon();
3223 delete self;
3224 }
3225 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3226 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3227 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3228 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3229 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3230 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3231
3232 // for compatibility only
3233 #define wxHIDE_READONLY 0
3234
3235 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3236 wxArrayString arr;
3237 self->GetFilenames(arr);
3238 return wxArrayString2PyList_helper(arr);
3239 }
3240 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3241 wxArrayString arr;
3242 self->GetPaths(arr);
3243 return wxArrayString2PyList_helper(arr);
3244 }
3245 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3246 return wxArrayInt2PyList_helper(self->GetSelections());
3247 }
3248 SWIGINTERN wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
3249 return new wxSingleChoiceDialog(parent, message, caption,
3250 choices, choices_array, NULL, style, pos);
3251 }
3252 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3253
3254 SWIGINTERNINLINE PyObject*
3255 SWIG_From_bool (bool value)
3256 {
3257 return PyBool_FromLong(value ? 1 : 0);
3258 }
3259
3260
3261 #include <wx/mdi.h>
3262
3263 // C++ version of Python aware wxWindow
3264 class wxPyWindow : public wxWindow
3265 {
3266 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3267 public:
3268 wxPyWindow() : wxWindow() {}
3269 wxPyWindow(wxWindow* parent, const wxWindowID id,
3270 const wxPoint& pos = wxDefaultPosition,
3271 const wxSize& size = wxDefaultSize,
3272 long style = 0,
3273 const wxString& name = wxPyPanelNameStr)
3274 : wxWindow(parent, id, pos, size, style, name) {}
3275
3276 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3277
3278 bool DoEraseBackground(wxDC* dc) {
3279 #ifdef __WXMSW__
3280 return wxWindow::DoEraseBackground(dc->GetHDC());
3281 #else
3282 dc->SetBackground(wxBrush(GetBackgroundColour()));
3283 dc->Clear();
3284 return true;
3285 #endif
3286 }
3287
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3292
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3296
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3299
3300 DEC_PYCALLBACK__(InitDialog);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3303 DEC_PYCALLBACK_BOOL_(Validate);
3304
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3308
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3311
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3314
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3316
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3318
3319 PYPRIVATE;
3320 };
3321
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3323
3324 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3328
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3332
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3335
3336 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3337 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3340
3341 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3342 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3343 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3344
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3347
3348 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3350
3351 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3352
3353 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3354
3355 // C++ version of Python aware wxPanel
3356 class wxPyPanel : public wxPanel
3357 {
3358 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3359 public:
3360 wxPyPanel() : wxPanel() {}
3361 wxPyPanel(wxWindow* parent, const wxWindowID id,
3362 const wxPoint& pos = wxDefaultPosition,
3363 const wxSize& size = wxDefaultSize,
3364 long style = 0,
3365 const wxString& name = wxPyPanelNameStr)
3366 : wxPanel(parent, id, pos, size, style, name) {}
3367
3368 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3369 bool DoEraseBackground(wxDC* dc) {
3370 #ifdef __WXMSW__
3371 return wxWindow::DoEraseBackground(dc->GetHDC());
3372 #else
3373 dc->SetBackground(wxBrush(GetBackgroundColour()));
3374 dc->Clear();
3375 return true;
3376 #endif
3377 }
3378
3379
3380 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3381 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3382 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3383 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3384
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3388
3389 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3390 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3391
3392 DEC_PYCALLBACK__(InitDialog);
3393 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3394 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3395 DEC_PYCALLBACK_BOOL_(Validate);
3396
3397 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3398 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3399 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3400
3401 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3402 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3403
3404 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3405 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3406
3407 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3408
3409 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3410
3411 PYPRIVATE;
3412 };
3413
3414 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3415
3416 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3417 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3419 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3420
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3424
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3426 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3427
3428 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3432
3433 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3434 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3436
3437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3438 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3439
3440 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3441 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3442
3443 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3444
3445 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3446
3447 // C++ version of Python aware wxScrolledWindow
3448 class wxPyScrolledWindow : public wxScrolledWindow
3449 {
3450 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3451 public:
3452 wxPyScrolledWindow() : wxScrolledWindow() {}
3453 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3454 const wxPoint& pos = wxDefaultPosition,
3455 const wxSize& size = wxDefaultSize,
3456 long style = 0,
3457 const wxString& name = wxPyPanelNameStr)
3458 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3459
3460 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3461 bool DoEraseBackground(wxDC* dc) {
3462 #ifdef __WXMSW__
3463 return wxWindow::DoEraseBackground(dc->GetHDC());
3464 #else
3465 dc->SetBackground(wxBrush(GetBackgroundColour()));
3466 dc->Clear();
3467 return true;
3468 #endif
3469 }
3470
3471 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3472 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3473 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3474 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3475
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3479
3480 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3481 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3482
3483 DEC_PYCALLBACK__(InitDialog);
3484 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3485 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3486 DEC_PYCALLBACK_BOOL_(Validate);
3487
3488 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3489 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3490 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3491
3492 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3493 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3494
3495 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3496 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3497
3498 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3499
3500 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3501
3502 PYPRIVATE;
3503 };
3504
3505 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3506
3507 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3508 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3511
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3515
3516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3518
3519 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3523
3524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3527
3528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3530
3531 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3532 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3533
3534 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3535
3536 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3537
3538
3539 #include "wx/wxPython/printfw.h"
3540
3541
3542 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3543 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3544 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3545 PyObject* data;
3546 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3547 data = PyString_FromStringAndSize(self->GetPrivData(),
3548 self->GetPrivDataLen());
3549 wxPyEndBlockThreads(blocked);
3550 return data;
3551 }
3552 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3553 if (! PyString_Check(data)) {
3554 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3555 "Expected string object"));
3556 return /* NULL */ ;
3557 }
3558
3559 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3560 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3561 wxPyEndBlockThreads(blocked);
3562 }
3563
3564
3565 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3566
3567 // Since this one would be tough and ugly to do with the Macros...
3568 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3569 bool hadErr = false;
3570 bool found;
3571
3572 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3573 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3574 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3575 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3576 PyObject* val;
3577
3578 val = PyTuple_GetItem(result, 0);
3579 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3580 else hadErr = true;
3581
3582 val = PyTuple_GetItem(result, 1);
3583 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3584 else hadErr = true;
3585
3586 val = PyTuple_GetItem(result, 2);
3587 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3588 else hadErr = true;
3589
3590 val = PyTuple_GetItem(result, 3);
3591 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3592 else hadErr = true;
3593 }
3594 else
3595 hadErr = true;
3596
3597 if (hadErr) {
3598 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3599 PyErr_Print();
3600 }
3601 Py_DECREF(result);
3602 }
3603 wxPyEndBlockThreads(blocked);
3604 if (! found)
3605 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3606 }
3607
3608
3609
3610 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3611 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3612 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3613 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3614 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3615 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3616 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3617
3618
3619
3620
3621
3622 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3623 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3624
3625
3626 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3627 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3628 bool rval=false; \
3629 bool found; \
3630 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3631 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3632 PyObject* win = wxPyMake_wxObject(a,false); \
3633 PyObject* dc = wxPyMake_wxObject(&b,false); \
3634 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3635 Py_DECREF(win); \
3636 Py_DECREF(dc); \
3637 } \
3638 wxPyEndBlockThreads(blocked); \
3639 if (! found) \
3640 rval = PCLASS::CBNAME(a, b); \
3641 return rval; \
3642 }
3643
3644
3645
3646
3647 class wxPyPrintPreview : public wxPrintPreview
3648 {
3649 DECLARE_CLASS(wxPyPrintPreview)
3650 public:
3651 wxPyPrintPreview(wxPyPrintout* printout,
3652 wxPyPrintout* printoutForPrinting,
3653 wxPrintDialogData* data=NULL)
3654 : wxPrintPreview(printout, printoutForPrinting, data)
3655 {}
3656 wxPyPrintPreview(wxPyPrintout* printout,
3657 wxPyPrintout* printoutForPrinting,
3658 wxPrintData* data)
3659 : wxPrintPreview(printout, printoutForPrinting, data)
3660 {}
3661
3662 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3663 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3664 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3665 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3666 DEC_PYCALLBACK_VOID_INT(SetZoom);
3667 DEC_PYCALLBACK_BOOL_BOOL(Print);
3668 DEC_PYCALLBACK_VOID_(DetermineScaling);
3669
3670 PYPRIVATE;
3671 };
3672
3673 // Stupid renamed classes... Fix this in 2.5...
3674 #if defined(__WXMSW__)
3675 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3676 #elif defined(__WXMAC__)
3677 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3678 #else
3679 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3680 #endif
3681
3682 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3683 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3684 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3685 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3686 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3687 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3688 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3689
3690
3691 class wxPyPreviewFrame : public wxPreviewFrame
3692 {
3693 DECLARE_CLASS(wxPyPreviewFrame)
3694 public:
3695 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3696 const wxString& title,
3697 const wxPoint& pos = wxDefaultPosition,
3698 const wxSize& size = wxDefaultSize,
3699 long style = wxDEFAULT_FRAME_STYLE,
3700 const wxString& name = wxPyFrameNameStr)
3701 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3702 {}
3703
3704 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3705 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3706
3707 DEC_PYCALLBACK_VOID_(Initialize);
3708 DEC_PYCALLBACK_VOID_(CreateCanvas);
3709 DEC_PYCALLBACK_VOID_(CreateControlBar);
3710
3711 PYPRIVATE;
3712 };
3713
3714 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3715
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3719
3720
3721 class wxPyPreviewControlBar : public wxPreviewControlBar
3722 {
3723 DECLARE_CLASS(wxPyPreviewControlBar)
3724 public:
3725 wxPyPreviewControlBar(wxPrintPreview *preview,
3726 long buttons,
3727 wxWindow *parent,
3728 const wxPoint& pos = wxDefaultPosition,
3729 const wxSize& size = wxDefaultSize,
3730 long style = 0,
3731 const wxString& name = wxPyPanelNameStr)
3732 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3733 {}
3734
3735 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3736
3737 DEC_PYCALLBACK_VOID_(CreateButtons);
3738 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3739
3740 PYPRIVATE;
3741 };
3742
3743 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3744 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3745 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3746
3747 #ifdef __cplusplus
3748 extern "C" {
3749 #endif
3750 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3751 PyObject *resultobj = 0;
3752 wxWindow *arg1 = (wxWindow *) 0 ;
3753 int arg2 = (int) (int)-1 ;
3754 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3755 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3756 wxSize const &arg4_defvalue = wxDefaultSize ;
3757 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3758 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3759 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3760 wxString *arg6 = (wxString *) &arg6_defvalue ;
3761 wxPanel *result = 0 ;
3762 void *argp1 = 0 ;
3763 int res1 = 0 ;
3764 int val2 ;
3765 int ecode2 = 0 ;
3766 wxPoint temp3 ;
3767 wxSize temp4 ;
3768 long val5 ;
3769 int ecode5 = 0 ;
3770 bool temp6 = false ;
3771 PyObject * obj0 = 0 ;
3772 PyObject * obj1 = 0 ;
3773 PyObject * obj2 = 0 ;
3774 PyObject * obj3 = 0 ;
3775 PyObject * obj4 = 0 ;
3776 PyObject * obj5 = 0 ;
3777 char * kwnames[] = {
3778 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3779 };
3780
3781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3783 if (!SWIG_IsOK(res1)) {
3784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3785 }
3786 arg1 = reinterpret_cast< wxWindow * >(argp1);
3787 if (obj1) {
3788 ecode2 = SWIG_AsVal_int(obj1, &val2);
3789 if (!SWIG_IsOK(ecode2)) {
3790 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3791 }
3792 arg2 = static_cast< int >(val2);
3793 }
3794 if (obj2) {
3795 {
3796 arg3 = &temp3;
3797 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3798 }
3799 }
3800 if (obj3) {
3801 {
3802 arg4 = &temp4;
3803 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3804 }
3805 }
3806 if (obj4) {
3807 ecode5 = SWIG_AsVal_long(obj4, &val5);
3808 if (!SWIG_IsOK(ecode5)) {
3809 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3810 }
3811 arg5 = static_cast< long >(val5);
3812 }
3813 if (obj5) {
3814 {
3815 arg6 = wxString_in_helper(obj5);
3816 if (arg6 == NULL) SWIG_fail;
3817 temp6 = true;
3818 }
3819 }
3820 {
3821 if (!wxPyCheckForApp()) SWIG_fail;
3822 PyThreadState* __tstate = wxPyBeginAllowThreads();
3823 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3824 wxPyEndAllowThreads(__tstate);
3825 if (PyErr_Occurred()) SWIG_fail;
3826 }
3827 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3828 {
3829 if (temp6)
3830 delete arg6;
3831 }
3832 return resultobj;
3833 fail:
3834 {
3835 if (temp6)
3836 delete arg6;
3837 }
3838 return NULL;
3839 }
3840
3841
3842 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3843 PyObject *resultobj = 0;
3844 wxPanel *result = 0 ;
3845
3846 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3847 {
3848 if (!wxPyCheckForApp()) SWIG_fail;
3849 PyThreadState* __tstate = wxPyBeginAllowThreads();
3850 result = (wxPanel *)new wxPanel();
3851 wxPyEndAllowThreads(__tstate);
3852 if (PyErr_Occurred()) SWIG_fail;
3853 }
3854 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3855 return resultobj;
3856 fail:
3857 return NULL;
3858 }
3859
3860
3861 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3862 PyObject *resultobj = 0;
3863 wxPanel *arg1 = (wxPanel *) 0 ;
3864 wxWindow *arg2 = (wxWindow *) 0 ;
3865 int arg3 = (int) (int)-1 ;
3866 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3867 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3868 wxSize const &arg5_defvalue = wxDefaultSize ;
3869 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3870 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3871 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3872 wxString *arg7 = (wxString *) &arg7_defvalue ;
3873 bool result;
3874 void *argp1 = 0 ;
3875 int res1 = 0 ;
3876 void *argp2 = 0 ;
3877 int res2 = 0 ;
3878 int val3 ;
3879 int ecode3 = 0 ;
3880 wxPoint temp4 ;
3881 wxSize temp5 ;
3882 long val6 ;
3883 int ecode6 = 0 ;
3884 bool temp7 = false ;
3885 PyObject * obj0 = 0 ;
3886 PyObject * obj1 = 0 ;
3887 PyObject * obj2 = 0 ;
3888 PyObject * obj3 = 0 ;
3889 PyObject * obj4 = 0 ;
3890 PyObject * obj5 = 0 ;
3891 PyObject * obj6 = 0 ;
3892 char * kwnames[] = {
3893 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3894 };
3895
3896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3898 if (!SWIG_IsOK(res1)) {
3899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3900 }
3901 arg1 = reinterpret_cast< wxPanel * >(argp1);
3902 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3903 if (!SWIG_IsOK(res2)) {
3904 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3905 }
3906 arg2 = reinterpret_cast< wxWindow * >(argp2);
3907 if (obj2) {
3908 ecode3 = SWIG_AsVal_int(obj2, &val3);
3909 if (!SWIG_IsOK(ecode3)) {
3910 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3911 }
3912 arg3 = static_cast< int >(val3);
3913 }
3914 if (obj3) {
3915 {
3916 arg4 = &temp4;
3917 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3918 }
3919 }
3920 if (obj4) {
3921 {
3922 arg5 = &temp5;
3923 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3924 }
3925 }
3926 if (obj5) {
3927 ecode6 = SWIG_AsVal_long(obj5, &val6);
3928 if (!SWIG_IsOK(ecode6)) {
3929 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3930 }
3931 arg6 = static_cast< long >(val6);
3932 }
3933 if (obj6) {
3934 {
3935 arg7 = wxString_in_helper(obj6);
3936 if (arg7 == NULL) SWIG_fail;
3937 temp7 = true;
3938 }
3939 }
3940 {
3941 PyThreadState* __tstate = wxPyBeginAllowThreads();
3942 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3943 wxPyEndAllowThreads(__tstate);
3944 if (PyErr_Occurred()) SWIG_fail;
3945 }
3946 {
3947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3948 }
3949 {
3950 if (temp7)
3951 delete arg7;
3952 }
3953 return resultobj;
3954 fail:
3955 {
3956 if (temp7)
3957 delete arg7;
3958 }
3959 return NULL;
3960 }
3961
3962
3963 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3964 PyObject *resultobj = 0;
3965 wxPanel *arg1 = (wxPanel *) 0 ;
3966 void *argp1 = 0 ;
3967 int res1 = 0 ;
3968 PyObject *swig_obj[1] ;
3969
3970 if (!args) SWIG_fail;
3971 swig_obj[0] = args;
3972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3973 if (!SWIG_IsOK(res1)) {
3974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3975 }
3976 arg1 = reinterpret_cast< wxPanel * >(argp1);
3977 {
3978 PyThreadState* __tstate = wxPyBeginAllowThreads();
3979 (arg1)->SetFocusIgnoringChildren();
3980 wxPyEndAllowThreads(__tstate);
3981 if (PyErr_Occurred()) SWIG_fail;
3982 }
3983 resultobj = SWIG_Py_Void();
3984 return resultobj;
3985 fail:
3986 return NULL;
3987 }
3988
3989
3990 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3991 PyObject *resultobj = 0;
3992 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3993 SwigValueWrapper<wxVisualAttributes > result;
3994 int val1 ;
3995 int ecode1 = 0 ;
3996 PyObject * obj0 = 0 ;
3997 char * kwnames[] = {
3998 (char *) "variant", NULL
3999 };
4000
4001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4002 if (obj0) {
4003 ecode1 = SWIG_AsVal_int(obj0, &val1);
4004 if (!SWIG_IsOK(ecode1)) {
4005 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4006 }
4007 arg1 = static_cast< wxWindowVariant >(val1);
4008 }
4009 {
4010 if (!wxPyCheckForApp()) SWIG_fail;
4011 PyThreadState* __tstate = wxPyBeginAllowThreads();
4012 result = wxPanel::GetClassDefaultAttributes(arg1);
4013 wxPyEndAllowThreads(__tstate);
4014 if (PyErr_Occurred()) SWIG_fail;
4015 }
4016 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4017 return resultobj;
4018 fail:
4019 return NULL;
4020 }
4021
4022
4023 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4024 PyObject *obj;
4025 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4026 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4027 return SWIG_Py_Void();
4028 }
4029
4030 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4031 return SWIG_Python_InitShadowInstance(args);
4032 }
4033
4034 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4035 PyObject *resultobj = 0;
4036 wxWindow *arg1 = (wxWindow *) 0 ;
4037 int arg2 = (int) (int)-1 ;
4038 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4039 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4040 wxSize const &arg4_defvalue = wxDefaultSize ;
4041 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4042 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4043 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4044 wxString *arg6 = (wxString *) &arg6_defvalue ;
4045 wxScrolledWindow *result = 0 ;
4046 void *argp1 = 0 ;
4047 int res1 = 0 ;
4048 int val2 ;
4049 int ecode2 = 0 ;
4050 wxPoint temp3 ;
4051 wxSize temp4 ;
4052 long val5 ;
4053 int ecode5 = 0 ;
4054 bool temp6 = false ;
4055 PyObject * obj0 = 0 ;
4056 PyObject * obj1 = 0 ;
4057 PyObject * obj2 = 0 ;
4058 PyObject * obj3 = 0 ;
4059 PyObject * obj4 = 0 ;
4060 PyObject * obj5 = 0 ;
4061 char * kwnames[] = {
4062 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4063 };
4064
4065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4067 if (!SWIG_IsOK(res1)) {
4068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4069 }
4070 arg1 = reinterpret_cast< wxWindow * >(argp1);
4071 if (obj1) {
4072 ecode2 = SWIG_AsVal_int(obj1, &val2);
4073 if (!SWIG_IsOK(ecode2)) {
4074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4075 }
4076 arg2 = static_cast< int >(val2);
4077 }
4078 if (obj2) {
4079 {
4080 arg3 = &temp3;
4081 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4082 }
4083 }
4084 if (obj3) {
4085 {
4086 arg4 = &temp4;
4087 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4088 }
4089 }
4090 if (obj4) {
4091 ecode5 = SWIG_AsVal_long(obj4, &val5);
4092 if (!SWIG_IsOK(ecode5)) {
4093 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4094 }
4095 arg5 = static_cast< long >(val5);
4096 }
4097 if (obj5) {
4098 {
4099 arg6 = wxString_in_helper(obj5);
4100 if (arg6 == NULL) SWIG_fail;
4101 temp6 = true;
4102 }
4103 }
4104 {
4105 if (!wxPyCheckForApp()) SWIG_fail;
4106 PyThreadState* __tstate = wxPyBeginAllowThreads();
4107 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4108 wxPyEndAllowThreads(__tstate);
4109 if (PyErr_Occurred()) SWIG_fail;
4110 }
4111 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4112 {
4113 if (temp6)
4114 delete arg6;
4115 }
4116 return resultobj;
4117 fail:
4118 {
4119 if (temp6)
4120 delete arg6;
4121 }
4122 return NULL;
4123 }
4124
4125
4126 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4127 PyObject *resultobj = 0;
4128 wxScrolledWindow *result = 0 ;
4129
4130 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4131 {
4132 if (!wxPyCheckForApp()) SWIG_fail;
4133 PyThreadState* __tstate = wxPyBeginAllowThreads();
4134 result = (wxScrolledWindow *)new wxScrolledWindow();
4135 wxPyEndAllowThreads(__tstate);
4136 if (PyErr_Occurred()) SWIG_fail;
4137 }
4138 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4139 return resultobj;
4140 fail:
4141 return NULL;
4142 }
4143
4144
4145 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4146 PyObject *resultobj = 0;
4147 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4148 wxWindow *arg2 = (wxWindow *) 0 ;
4149 int arg3 = (int) (int)-1 ;
4150 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4151 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4152 wxSize const &arg5_defvalue = wxDefaultSize ;
4153 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4154 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4155 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4156 wxString *arg7 = (wxString *) &arg7_defvalue ;
4157 bool result;
4158 void *argp1 = 0 ;
4159 int res1 = 0 ;
4160 void *argp2 = 0 ;
4161 int res2 = 0 ;
4162 int val3 ;
4163 int ecode3 = 0 ;
4164 wxPoint temp4 ;
4165 wxSize temp5 ;
4166 long val6 ;
4167 int ecode6 = 0 ;
4168 bool temp7 = false ;
4169 PyObject * obj0 = 0 ;
4170 PyObject * obj1 = 0 ;
4171 PyObject * obj2 = 0 ;
4172 PyObject * obj3 = 0 ;
4173 PyObject * obj4 = 0 ;
4174 PyObject * obj5 = 0 ;
4175 PyObject * obj6 = 0 ;
4176 char * kwnames[] = {
4177 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4178 };
4179
4180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4182 if (!SWIG_IsOK(res1)) {
4183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4184 }
4185 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4186 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4187 if (!SWIG_IsOK(res2)) {
4188 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4189 }
4190 arg2 = reinterpret_cast< wxWindow * >(argp2);
4191 if (obj2) {
4192 ecode3 = SWIG_AsVal_int(obj2, &val3);
4193 if (!SWIG_IsOK(ecode3)) {
4194 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4195 }
4196 arg3 = static_cast< int >(val3);
4197 }
4198 if (obj3) {
4199 {
4200 arg4 = &temp4;
4201 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4202 }
4203 }
4204 if (obj4) {
4205 {
4206 arg5 = &temp5;
4207 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4208 }
4209 }
4210 if (obj5) {
4211 ecode6 = SWIG_AsVal_long(obj5, &val6);
4212 if (!SWIG_IsOK(ecode6)) {
4213 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4214 }
4215 arg6 = static_cast< long >(val6);
4216 }
4217 if (obj6) {
4218 {
4219 arg7 = wxString_in_helper(obj6);
4220 if (arg7 == NULL) SWIG_fail;
4221 temp7 = true;
4222 }
4223 }
4224 {
4225 PyThreadState* __tstate = wxPyBeginAllowThreads();
4226 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4227 wxPyEndAllowThreads(__tstate);
4228 if (PyErr_Occurred()) SWIG_fail;
4229 }
4230 {
4231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4232 }
4233 {
4234 if (temp7)
4235 delete arg7;
4236 }
4237 return resultobj;
4238 fail:
4239 {
4240 if (temp7)
4241 delete arg7;
4242 }
4243 return NULL;
4244 }
4245
4246
4247 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4248 PyObject *resultobj = 0;
4249 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4250 int arg2 ;
4251 int arg3 ;
4252 int arg4 ;
4253 int arg5 ;
4254 int arg6 = (int) 0 ;
4255 int arg7 = (int) 0 ;
4256 bool arg8 = (bool) false ;
4257 void *argp1 = 0 ;
4258 int res1 = 0 ;
4259 int val2 ;
4260 int ecode2 = 0 ;
4261 int val3 ;
4262 int ecode3 = 0 ;
4263 int val4 ;
4264 int ecode4 = 0 ;
4265 int val5 ;
4266 int ecode5 = 0 ;
4267 int val6 ;
4268 int ecode6 = 0 ;
4269 int val7 ;
4270 int ecode7 = 0 ;
4271 bool val8 ;
4272 int ecode8 = 0 ;
4273 PyObject * obj0 = 0 ;
4274 PyObject * obj1 = 0 ;
4275 PyObject * obj2 = 0 ;
4276 PyObject * obj3 = 0 ;
4277 PyObject * obj4 = 0 ;
4278 PyObject * obj5 = 0 ;
4279 PyObject * obj6 = 0 ;
4280 PyObject * obj7 = 0 ;
4281 char * kwnames[] = {
4282 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4283 };
4284
4285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4287 if (!SWIG_IsOK(res1)) {
4288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4289 }
4290 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4291 ecode2 = SWIG_AsVal_int(obj1, &val2);
4292 if (!SWIG_IsOK(ecode2)) {
4293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4294 }
4295 arg2 = static_cast< int >(val2);
4296 ecode3 = SWIG_AsVal_int(obj2, &val3);
4297 if (!SWIG_IsOK(ecode3)) {
4298 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4299 }
4300 arg3 = static_cast< int >(val3);
4301 ecode4 = SWIG_AsVal_int(obj3, &val4);
4302 if (!SWIG_IsOK(ecode4)) {
4303 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4304 }
4305 arg4 = static_cast< int >(val4);
4306 ecode5 = SWIG_AsVal_int(obj4, &val5);
4307 if (!SWIG_IsOK(ecode5)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4309 }
4310 arg5 = static_cast< int >(val5);
4311 if (obj5) {
4312 ecode6 = SWIG_AsVal_int(obj5, &val6);
4313 if (!SWIG_IsOK(ecode6)) {
4314 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4315 }
4316 arg6 = static_cast< int >(val6);
4317 }
4318 if (obj6) {
4319 ecode7 = SWIG_AsVal_int(obj6, &val7);
4320 if (!SWIG_IsOK(ecode7)) {
4321 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4322 }
4323 arg7 = static_cast< int >(val7);
4324 }
4325 if (obj7) {
4326 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4327 if (!SWIG_IsOK(ecode8)) {
4328 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4329 }
4330 arg8 = static_cast< bool >(val8);
4331 }
4332 {
4333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4334 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4335 wxPyEndAllowThreads(__tstate);
4336 if (PyErr_Occurred()) SWIG_fail;
4337 }
4338 resultobj = SWIG_Py_Void();
4339 return resultobj;
4340 fail:
4341 return NULL;
4342 }
4343
4344
4345 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4346 PyObject *resultobj = 0;
4347 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4348 int arg2 ;
4349 int arg3 ;
4350 void *argp1 = 0 ;
4351 int res1 = 0 ;
4352 int val2 ;
4353 int ecode2 = 0 ;
4354 int val3 ;
4355 int ecode3 = 0 ;
4356 PyObject * obj0 = 0 ;
4357 PyObject * obj1 = 0 ;
4358 PyObject * obj2 = 0 ;
4359 char * kwnames[] = {
4360 (char *) "self",(char *) "x",(char *) "y", NULL
4361 };
4362
4363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4365 if (!SWIG_IsOK(res1)) {
4366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4367 }
4368 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4369 ecode2 = SWIG_AsVal_int(obj1, &val2);
4370 if (!SWIG_IsOK(ecode2)) {
4371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4372 }
4373 arg2 = static_cast< int >(val2);
4374 ecode3 = SWIG_AsVal_int(obj2, &val3);
4375 if (!SWIG_IsOK(ecode3)) {
4376 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4377 }
4378 arg3 = static_cast< int >(val3);
4379 {
4380 PyThreadState* __tstate = wxPyBeginAllowThreads();
4381 (arg1)->Scroll(arg2,arg3);
4382 wxPyEndAllowThreads(__tstate);
4383 if (PyErr_Occurred()) SWIG_fail;
4384 }
4385 resultobj = SWIG_Py_Void();
4386 return resultobj;
4387 fail:
4388 return NULL;
4389 }
4390
4391
4392 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4393 PyObject *resultobj = 0;
4394 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4395 int arg2 ;
4396 int result;
4397 void *argp1 = 0 ;
4398 int res1 = 0 ;
4399 int val2 ;
4400 int ecode2 = 0 ;
4401 PyObject * obj0 = 0 ;
4402 PyObject * obj1 = 0 ;
4403 char * kwnames[] = {
4404 (char *) "self",(char *) "orient", NULL
4405 };
4406
4407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4409 if (!SWIG_IsOK(res1)) {
4410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4411 }
4412 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4413 ecode2 = SWIG_AsVal_int(obj1, &val2);
4414 if (!SWIG_IsOK(ecode2)) {
4415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4416 }
4417 arg2 = static_cast< int >(val2);
4418 {
4419 PyThreadState* __tstate = wxPyBeginAllowThreads();
4420 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4421 wxPyEndAllowThreads(__tstate);
4422 if (PyErr_Occurred()) SWIG_fail;
4423 }
4424 resultobj = SWIG_From_int(static_cast< int >(result));
4425 return resultobj;
4426 fail:
4427 return NULL;
4428 }
4429
4430
4431 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4432 PyObject *resultobj = 0;
4433 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4434 int arg2 ;
4435 int arg3 ;
4436 void *argp1 = 0 ;
4437 int res1 = 0 ;
4438 int val2 ;
4439 int ecode2 = 0 ;
4440 int val3 ;
4441 int ecode3 = 0 ;
4442 PyObject * obj0 = 0 ;
4443 PyObject * obj1 = 0 ;
4444 PyObject * obj2 = 0 ;
4445 char * kwnames[] = {
4446 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4447 };
4448
4449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4451 if (!SWIG_IsOK(res1)) {
4452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4453 }
4454 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4455 ecode2 = SWIG_AsVal_int(obj1, &val2);
4456 if (!SWIG_IsOK(ecode2)) {
4457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4458 }
4459 arg2 = static_cast< int >(val2);
4460 ecode3 = SWIG_AsVal_int(obj2, &val3);
4461 if (!SWIG_IsOK(ecode3)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4463 }
4464 arg3 = static_cast< int >(val3);
4465 {
4466 PyThreadState* __tstate = wxPyBeginAllowThreads();
4467 (arg1)->SetScrollPageSize(arg2,arg3);
4468 wxPyEndAllowThreads(__tstate);
4469 if (PyErr_Occurred()) SWIG_fail;
4470 }
4471 resultobj = SWIG_Py_Void();
4472 return resultobj;
4473 fail:
4474 return NULL;
4475 }
4476
4477
4478 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4479 PyObject *resultobj = 0;
4480 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4481 int arg2 ;
4482 int arg3 ;
4483 void *argp1 = 0 ;
4484 int res1 = 0 ;
4485 int val2 ;
4486 int ecode2 = 0 ;
4487 int val3 ;
4488 int ecode3 = 0 ;
4489 PyObject * obj0 = 0 ;
4490 PyObject * obj1 = 0 ;
4491 PyObject * obj2 = 0 ;
4492 char * kwnames[] = {
4493 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4494 };
4495
4496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4498 if (!SWIG_IsOK(res1)) {
4499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4500 }
4501 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4502 ecode2 = SWIG_AsVal_int(obj1, &val2);
4503 if (!SWIG_IsOK(ecode2)) {
4504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4505 }
4506 arg2 = static_cast< int >(val2);
4507 ecode3 = SWIG_AsVal_int(obj2, &val3);
4508 if (!SWIG_IsOK(ecode3)) {
4509 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4510 }
4511 arg3 = static_cast< int >(val3);
4512 {
4513 PyThreadState* __tstate = wxPyBeginAllowThreads();
4514 (arg1)->SetScrollRate(arg2,arg3);
4515 wxPyEndAllowThreads(__tstate);
4516 if (PyErr_Occurred()) SWIG_fail;
4517 }
4518 resultobj = SWIG_Py_Void();
4519 return resultobj;
4520 fail:
4521 return NULL;
4522 }
4523
4524
4525 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4526 PyObject *resultobj = 0;
4527 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4528 int *arg2 = (int *) 0 ;
4529 int *arg3 = (int *) 0 ;
4530 void *argp1 = 0 ;
4531 int res1 = 0 ;
4532 int temp2 ;
4533 int res2 = SWIG_TMPOBJ ;
4534 int temp3 ;
4535 int res3 = SWIG_TMPOBJ ;
4536 PyObject *swig_obj[1] ;
4537
4538 arg2 = &temp2;
4539 arg3 = &temp3;
4540 if (!args) SWIG_fail;
4541 swig_obj[0] = args;
4542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4543 if (!SWIG_IsOK(res1)) {
4544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4545 }
4546 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4547 {
4548 PyThreadState* __tstate = wxPyBeginAllowThreads();
4549 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4550 wxPyEndAllowThreads(__tstate);
4551 if (PyErr_Occurred()) SWIG_fail;
4552 }
4553 resultobj = SWIG_Py_Void();
4554 if (SWIG_IsTmpObj(res2)) {
4555 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4556 } else {
4557 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4558 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4559 }
4560 if (SWIG_IsTmpObj(res3)) {
4561 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4562 } else {
4563 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4564 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4565 }
4566 return resultobj;
4567 fail:
4568 return NULL;
4569 }
4570
4571
4572 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4573 PyObject *resultobj = 0;
4574 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4575 bool arg2 ;
4576 bool arg3 ;
4577 void *argp1 = 0 ;
4578 int res1 = 0 ;
4579 bool val2 ;
4580 int ecode2 = 0 ;
4581 bool val3 ;
4582 int ecode3 = 0 ;
4583 PyObject * obj0 = 0 ;
4584 PyObject * obj1 = 0 ;
4585 PyObject * obj2 = 0 ;
4586 char * kwnames[] = {
4587 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4588 };
4589
4590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4592 if (!SWIG_IsOK(res1)) {
4593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4594 }
4595 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4596 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4597 if (!SWIG_IsOK(ecode2)) {
4598 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4599 }
4600 arg2 = static_cast< bool >(val2);
4601 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4602 if (!SWIG_IsOK(ecode3)) {
4603 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4604 }
4605 arg3 = static_cast< bool >(val3);
4606 {
4607 PyThreadState* __tstate = wxPyBeginAllowThreads();
4608 (arg1)->EnableScrolling(arg2,arg3);
4609 wxPyEndAllowThreads(__tstate);
4610 if (PyErr_Occurred()) SWIG_fail;
4611 }
4612 resultobj = SWIG_Py_Void();
4613 return resultobj;
4614 fail:
4615 return NULL;
4616 }
4617
4618
4619 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4620 PyObject *resultobj = 0;
4621 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4622 int *arg2 = (int *) 0 ;
4623 int *arg3 = (int *) 0 ;
4624 void *argp1 = 0 ;
4625 int res1 = 0 ;
4626 int temp2 ;
4627 int res2 = SWIG_TMPOBJ ;
4628 int temp3 ;
4629 int res3 = SWIG_TMPOBJ ;
4630 PyObject *swig_obj[1] ;
4631
4632 arg2 = &temp2;
4633 arg3 = &temp3;
4634 if (!args) SWIG_fail;
4635 swig_obj[0] = args;
4636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4637 if (!SWIG_IsOK(res1)) {
4638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4639 }
4640 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4641 {
4642 PyThreadState* __tstate = wxPyBeginAllowThreads();
4643 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4644 wxPyEndAllowThreads(__tstate);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 }
4647 resultobj = SWIG_Py_Void();
4648 if (SWIG_IsTmpObj(res2)) {
4649 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4650 } else {
4651 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4652 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4653 }
4654 if (SWIG_IsTmpObj(res3)) {
4655 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4656 } else {
4657 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4658 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4659 }
4660 return resultobj;
4661 fail:
4662 return NULL;
4663 }
4664
4665
4666 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4667 PyObject *resultobj = 0;
4668 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4669 double arg2 ;
4670 double arg3 ;
4671 void *argp1 = 0 ;
4672 int res1 = 0 ;
4673 double val2 ;
4674 int ecode2 = 0 ;
4675 double val3 ;
4676 int ecode3 = 0 ;
4677 PyObject * obj0 = 0 ;
4678 PyObject * obj1 = 0 ;
4679 PyObject * obj2 = 0 ;
4680 char * kwnames[] = {
4681 (char *) "self",(char *) "xs",(char *) "ys", NULL
4682 };
4683
4684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4686 if (!SWIG_IsOK(res1)) {
4687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4688 }
4689 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4690 ecode2 = SWIG_AsVal_double(obj1, &val2);
4691 if (!SWIG_IsOK(ecode2)) {
4692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4693 }
4694 arg2 = static_cast< double >(val2);
4695 ecode3 = SWIG_AsVal_double(obj2, &val3);
4696 if (!SWIG_IsOK(ecode3)) {
4697 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4698 }
4699 arg3 = static_cast< double >(val3);
4700 {
4701 PyThreadState* __tstate = wxPyBeginAllowThreads();
4702 (arg1)->SetScale(arg2,arg3);
4703 wxPyEndAllowThreads(__tstate);
4704 if (PyErr_Occurred()) SWIG_fail;
4705 }
4706 resultobj = SWIG_Py_Void();
4707 return resultobj;
4708 fail:
4709 return NULL;
4710 }
4711
4712
4713 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4714 PyObject *resultobj = 0;
4715 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4716 double result;
4717 void *argp1 = 0 ;
4718 int res1 = 0 ;
4719 PyObject *swig_obj[1] ;
4720
4721 if (!args) SWIG_fail;
4722 swig_obj[0] = args;
4723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4724 if (!SWIG_IsOK(res1)) {
4725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4726 }
4727 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4728 {
4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
4730 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4734 resultobj = SWIG_From_double(static_cast< double >(result));
4735 return resultobj;
4736 fail:
4737 return NULL;
4738 }
4739
4740
4741 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4742 PyObject *resultobj = 0;
4743 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4744 double result;
4745 void *argp1 = 0 ;
4746 int res1 = 0 ;
4747 PyObject *swig_obj[1] ;
4748
4749 if (!args) SWIG_fail;
4750 swig_obj[0] = args;
4751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4752 if (!SWIG_IsOK(res1)) {
4753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4754 }
4755 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4756 {
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4759 wxPyEndAllowThreads(__tstate);
4760 if (PyErr_Occurred()) SWIG_fail;
4761 }
4762 resultobj = SWIG_From_double(static_cast< double >(result));
4763 return resultobj;
4764 fail:
4765 return NULL;
4766 }
4767
4768
4769 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4770 PyObject *resultobj = 0;
4771 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4772 wxPoint *arg2 = 0 ;
4773 wxPoint result;
4774 void *argp1 = 0 ;
4775 int res1 = 0 ;
4776 wxPoint temp2 ;
4777
4778 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4780 if (!SWIG_IsOK(res1)) {
4781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4782 }
4783 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4784 {
4785 arg2 = &temp2;
4786 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4787 }
4788 {
4789 PyThreadState* __tstate = wxPyBeginAllowThreads();
4790 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4791 wxPyEndAllowThreads(__tstate);
4792 if (PyErr_Occurred()) SWIG_fail;
4793 }
4794 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4795 return resultobj;
4796 fail:
4797 return NULL;
4798 }
4799
4800
4801 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4802 PyObject *resultobj = 0;
4803 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4804 int arg2 ;
4805 int arg3 ;
4806 int *arg4 = (int *) 0 ;
4807 int *arg5 = (int *) 0 ;
4808 void *argp1 = 0 ;
4809 int res1 = 0 ;
4810 int val2 ;
4811 int ecode2 = 0 ;
4812 int val3 ;
4813 int ecode3 = 0 ;
4814 int temp4 ;
4815 int res4 = SWIG_TMPOBJ ;
4816 int temp5 ;
4817 int res5 = SWIG_TMPOBJ ;
4818
4819 arg4 = &temp4;
4820 arg5 = &temp5;
4821 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4823 if (!SWIG_IsOK(res1)) {
4824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4825 }
4826 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4827 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4828 if (!SWIG_IsOK(ecode2)) {
4829 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4830 }
4831 arg2 = static_cast< int >(val2);
4832 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4833 if (!SWIG_IsOK(ecode3)) {
4834 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4835 }
4836 arg3 = static_cast< int >(val3);
4837 {
4838 PyThreadState* __tstate = wxPyBeginAllowThreads();
4839 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4840 wxPyEndAllowThreads(__tstate);
4841 if (PyErr_Occurred()) SWIG_fail;
4842 }
4843 resultobj = SWIG_Py_Void();
4844 if (SWIG_IsTmpObj(res4)) {
4845 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4846 } else {
4847 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4848 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4849 }
4850 if (SWIG_IsTmpObj(res5)) {
4851 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4852 } else {
4853 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4854 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4855 }
4856 return resultobj;
4857 fail:
4858 return NULL;
4859 }
4860
4861
4862 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4863 int argc;
4864 PyObject *argv[4];
4865
4866 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4867 --argc;
4868 if (argc == 2) {
4869 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4870 }
4871 if (argc == 3) {
4872 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4873 }
4874
4875 fail:
4876 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4877 return NULL;
4878 }
4879
4880
4881 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4882 PyObject *resultobj = 0;
4883 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4884 wxPoint *arg2 = 0 ;
4885 wxPoint result;
4886 void *argp1 = 0 ;
4887 int res1 = 0 ;
4888 wxPoint temp2 ;
4889
4890 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4891 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4892 if (!SWIG_IsOK(res1)) {
4893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4894 }
4895 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4896 {
4897 arg2 = &temp2;
4898 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4899 }
4900 {
4901 PyThreadState* __tstate = wxPyBeginAllowThreads();
4902 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4903 wxPyEndAllowThreads(__tstate);
4904 if (PyErr_Occurred()) SWIG_fail;
4905 }
4906 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4907 return resultobj;
4908 fail:
4909 return NULL;
4910 }
4911
4912
4913 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4914 PyObject *resultobj = 0;
4915 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4916 int arg2 ;
4917 int arg3 ;
4918 int *arg4 = (int *) 0 ;
4919 int *arg5 = (int *) 0 ;
4920 void *argp1 = 0 ;
4921 int res1 = 0 ;
4922 int val2 ;
4923 int ecode2 = 0 ;
4924 int val3 ;
4925 int ecode3 = 0 ;
4926 int temp4 ;
4927 int res4 = SWIG_TMPOBJ ;
4928 int temp5 ;
4929 int res5 = SWIG_TMPOBJ ;
4930
4931 arg4 = &temp4;
4932 arg5 = &temp5;
4933 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4935 if (!SWIG_IsOK(res1)) {
4936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4937 }
4938 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4939 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4940 if (!SWIG_IsOK(ecode2)) {
4941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4942 }
4943 arg2 = static_cast< int >(val2);
4944 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4945 if (!SWIG_IsOK(ecode3)) {
4946 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4947 }
4948 arg3 = static_cast< int >(val3);
4949 {
4950 PyThreadState* __tstate = wxPyBeginAllowThreads();
4951 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4952 wxPyEndAllowThreads(__tstate);
4953 if (PyErr_Occurred()) SWIG_fail;
4954 }
4955 resultobj = SWIG_Py_Void();
4956 if (SWIG_IsTmpObj(res4)) {
4957 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4958 } else {
4959 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4960 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4961 }
4962 if (SWIG_IsTmpObj(res5)) {
4963 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4964 } else {
4965 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4966 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4967 }
4968 return resultobj;
4969 fail:
4970 return NULL;
4971 }
4972
4973
4974 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4975 int argc;
4976 PyObject *argv[4];
4977
4978 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4979 --argc;
4980 if (argc == 2) {
4981 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4982 }
4983 if (argc == 3) {
4984 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4985 }
4986
4987 fail:
4988 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4989 return NULL;
4990 }
4991
4992
4993 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4994 PyObject *resultobj = 0;
4995 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4996 void *argp1 = 0 ;
4997 int res1 = 0 ;
4998 PyObject *swig_obj[1] ;
4999
5000 if (!args) SWIG_fail;
5001 swig_obj[0] = args;
5002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5003 if (!SWIG_IsOK(res1)) {
5004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5005 }
5006 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5007 {
5008 PyThreadState* __tstate = wxPyBeginAllowThreads();
5009 (arg1)->AdjustScrollbars();
5010 wxPyEndAllowThreads(__tstate);
5011 if (PyErr_Occurred()) SWIG_fail;
5012 }
5013 resultobj = SWIG_Py_Void();
5014 return resultobj;
5015 fail:
5016 return NULL;
5017 }
5018
5019
5020 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5021 PyObject *resultobj = 0;
5022 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5023 wxScrollWinEvent *arg2 = 0 ;
5024 int result;
5025 void *argp1 = 0 ;
5026 int res1 = 0 ;
5027 void *argp2 = 0 ;
5028 int res2 = 0 ;
5029 PyObject * obj0 = 0 ;
5030 PyObject * obj1 = 0 ;
5031 char * kwnames[] = {
5032 (char *) "self",(char *) "event", NULL
5033 };
5034
5035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5037 if (!SWIG_IsOK(res1)) {
5038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5039 }
5040 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5041 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5042 if (!SWIG_IsOK(res2)) {
5043 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5044 }
5045 if (!argp2) {
5046 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5047 }
5048 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5049 {
5050 PyThreadState* __tstate = wxPyBeginAllowThreads();
5051 result = (int)(arg1)->CalcScrollInc(*arg2);
5052 wxPyEndAllowThreads(__tstate);
5053 if (PyErr_Occurred()) SWIG_fail;
5054 }
5055 resultobj = SWIG_From_int(static_cast< int >(result));
5056 return resultobj;
5057 fail:
5058 return NULL;
5059 }
5060
5061
5062 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5063 PyObject *resultobj = 0;
5064 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5065 wxWindow *arg2 = (wxWindow *) 0 ;
5066 void *argp1 = 0 ;
5067 int res1 = 0 ;
5068 void *argp2 = 0 ;
5069 int res2 = 0 ;
5070 PyObject * obj0 = 0 ;
5071 PyObject * obj1 = 0 ;
5072 char * kwnames[] = {
5073 (char *) "self",(char *) "target", NULL
5074 };
5075
5076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5078 if (!SWIG_IsOK(res1)) {
5079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5080 }
5081 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5082 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5083 if (!SWIG_IsOK(res2)) {
5084 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5085 }
5086 arg2 = reinterpret_cast< wxWindow * >(argp2);
5087 {
5088 PyThreadState* __tstate = wxPyBeginAllowThreads();
5089 (arg1)->SetTargetWindow(arg2);
5090 wxPyEndAllowThreads(__tstate);
5091 if (PyErr_Occurred()) SWIG_fail;
5092 }
5093 resultobj = SWIG_Py_Void();
5094 return resultobj;
5095 fail:
5096 return NULL;
5097 }
5098
5099
5100 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5101 PyObject *resultobj = 0;
5102 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5103 wxWindow *result = 0 ;
5104 void *argp1 = 0 ;
5105 int res1 = 0 ;
5106 PyObject *swig_obj[1] ;
5107
5108 if (!args) SWIG_fail;
5109 swig_obj[0] = args;
5110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5111 if (!SWIG_IsOK(res1)) {
5112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5113 }
5114 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5115 {
5116 PyThreadState* __tstate = wxPyBeginAllowThreads();
5117 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5118 wxPyEndAllowThreads(__tstate);
5119 if (PyErr_Occurred()) SWIG_fail;
5120 }
5121 {
5122 resultobj = wxPyMake_wxObject(result, 0);
5123 }
5124 return resultobj;
5125 fail:
5126 return NULL;
5127 }
5128
5129
5130 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5131 PyObject *resultobj = 0;
5132 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5133 wxRect *arg2 = 0 ;
5134 void *argp1 = 0 ;
5135 int res1 = 0 ;
5136 wxRect temp2 ;
5137 PyObject * obj0 = 0 ;
5138 PyObject * obj1 = 0 ;
5139 char * kwnames[] = {
5140 (char *) "self",(char *) "rect", NULL
5141 };
5142
5143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5145 if (!SWIG_IsOK(res1)) {
5146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5147 }
5148 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5149 {
5150 arg2 = &temp2;
5151 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5152 }
5153 {
5154 PyThreadState* __tstate = wxPyBeginAllowThreads();
5155 (arg1)->SetTargetRect((wxRect const &)*arg2);
5156 wxPyEndAllowThreads(__tstate);
5157 if (PyErr_Occurred()) SWIG_fail;
5158 }
5159 resultobj = SWIG_Py_Void();
5160 return resultobj;
5161 fail:
5162 return NULL;
5163 }
5164
5165
5166 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5167 PyObject *resultobj = 0;
5168 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5169 wxRect result;
5170 void *argp1 = 0 ;
5171 int res1 = 0 ;
5172 PyObject *swig_obj[1] ;
5173
5174 if (!args) SWIG_fail;
5175 swig_obj[0] = args;
5176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5177 if (!SWIG_IsOK(res1)) {
5178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5179 }
5180 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5181 {
5182 PyThreadState* __tstate = wxPyBeginAllowThreads();
5183 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5184 wxPyEndAllowThreads(__tstate);
5185 if (PyErr_Occurred()) SWIG_fail;
5186 }
5187 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5188 return resultobj;
5189 fail:
5190 return NULL;
5191 }
5192
5193
5194 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5195 PyObject *resultobj = 0;
5196 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5197 wxDC *arg2 = 0 ;
5198 void *argp1 = 0 ;
5199 int res1 = 0 ;
5200 void *argp2 = 0 ;
5201 int res2 = 0 ;
5202 PyObject * obj0 = 0 ;
5203 PyObject * obj1 = 0 ;
5204 char * kwnames[] = {
5205 (char *) "self",(char *) "dc", NULL
5206 };
5207
5208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5210 if (!SWIG_IsOK(res1)) {
5211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5212 }
5213 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5214 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5215 if (!SWIG_IsOK(res2)) {
5216 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5217 }
5218 if (!argp2) {
5219 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5220 }
5221 arg2 = reinterpret_cast< wxDC * >(argp2);
5222 {
5223 PyThreadState* __tstate = wxPyBeginAllowThreads();
5224 (arg1)->DoPrepareDC(*arg2);
5225 wxPyEndAllowThreads(__tstate);
5226 if (PyErr_Occurred()) SWIG_fail;
5227 }
5228 resultobj = SWIG_Py_Void();
5229 return resultobj;
5230 fail:
5231 return NULL;
5232 }
5233
5234
5235 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5236 PyObject *resultobj = 0;
5237 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5238 SwigValueWrapper<wxVisualAttributes > result;
5239 int val1 ;
5240 int ecode1 = 0 ;
5241 PyObject * obj0 = 0 ;
5242 char * kwnames[] = {
5243 (char *) "variant", NULL
5244 };
5245
5246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5247 if (obj0) {
5248 ecode1 = SWIG_AsVal_int(obj0, &val1);
5249 if (!SWIG_IsOK(ecode1)) {
5250 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5251 }
5252 arg1 = static_cast< wxWindowVariant >(val1);
5253 }
5254 {
5255 if (!wxPyCheckForApp()) SWIG_fail;
5256 PyThreadState* __tstate = wxPyBeginAllowThreads();
5257 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5258 wxPyEndAllowThreads(__tstate);
5259 if (PyErr_Occurred()) SWIG_fail;
5260 }
5261 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5262 return resultobj;
5263 fail:
5264 return NULL;
5265 }
5266
5267
5268 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5269 PyObject *obj;
5270 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5271 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5272 return SWIG_Py_Void();
5273 }
5274
5275 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5276 return SWIG_Python_InitShadowInstance(args);
5277 }
5278
5279 SWIGINTERN int FrameNameStr_set(PyObject *) {
5280 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5281 return 1;
5282 }
5283
5284
5285 SWIGINTERN PyObject *FrameNameStr_get(void) {
5286 PyObject *pyobj = 0;
5287
5288 {
5289 #if wxUSE_UNICODE
5290 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5291 #else
5292 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5293 #endif
5294 }
5295 return pyobj;
5296 }
5297
5298
5299 SWIGINTERN int DialogNameStr_set(PyObject *) {
5300 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5301 return 1;
5302 }
5303
5304
5305 SWIGINTERN PyObject *DialogNameStr_get(void) {
5306 PyObject *pyobj = 0;
5307
5308 {
5309 #if wxUSE_UNICODE
5310 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5311 #else
5312 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5313 #endif
5314 }
5315 return pyobj;
5316 }
5317
5318
5319 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5320 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5321 return 1;
5322 }
5323
5324
5325 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5326 PyObject *pyobj = 0;
5327
5328 {
5329 #if wxUSE_UNICODE
5330 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5331 #else
5332 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5333 #endif
5334 }
5335 return pyobj;
5336 }
5337
5338
5339 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5340 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5341 return 1;
5342 }
5343
5344
5345 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5346 PyObject *pyobj = 0;
5347
5348 {
5349 #if wxUSE_UNICODE
5350 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5351 #else
5352 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5353 #endif
5354 }
5355 return pyobj;
5356 }
5357
5358
5359 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5360 PyObject *resultobj = 0;
5361 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5362 bool arg2 = (bool) true ;
5363 void *argp1 = 0 ;
5364 int res1 = 0 ;
5365 bool val2 ;
5366 int ecode2 = 0 ;
5367 PyObject * obj0 = 0 ;
5368 PyObject * obj1 = 0 ;
5369 char * kwnames[] = {
5370 (char *) "self",(char *) "maximize", NULL
5371 };
5372
5373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5375 if (!SWIG_IsOK(res1)) {
5376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5377 }
5378 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5379 if (obj1) {
5380 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5381 if (!SWIG_IsOK(ecode2)) {
5382 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5383 }
5384 arg2 = static_cast< bool >(val2);
5385 }
5386 {
5387 PyThreadState* __tstate = wxPyBeginAllowThreads();
5388 (arg1)->Maximize(arg2);
5389 wxPyEndAllowThreads(__tstate);
5390 if (PyErr_Occurred()) SWIG_fail;
5391 }
5392 resultobj = SWIG_Py_Void();
5393 return resultobj;
5394 fail:
5395 return NULL;
5396 }
5397
5398
5399 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5400 PyObject *resultobj = 0;
5401 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5402 void *argp1 = 0 ;
5403 int res1 = 0 ;
5404 PyObject *swig_obj[1] ;
5405
5406 if (!args) SWIG_fail;
5407 swig_obj[0] = args;
5408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5409 if (!SWIG_IsOK(res1)) {
5410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5411 }
5412 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5413 {
5414 PyThreadState* __tstate = wxPyBeginAllowThreads();
5415 (arg1)->Restore();
5416 wxPyEndAllowThreads(__tstate);
5417 if (PyErr_Occurred()) SWIG_fail;
5418 }
5419 resultobj = SWIG_Py_Void();
5420 return resultobj;
5421 fail:
5422 return NULL;
5423 }
5424
5425
5426 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5427 PyObject *resultobj = 0;
5428 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5429 bool arg2 = (bool) true ;
5430 void *argp1 = 0 ;
5431 int res1 = 0 ;
5432 bool val2 ;
5433 int ecode2 = 0 ;
5434 PyObject * obj0 = 0 ;
5435 PyObject * obj1 = 0 ;
5436 char * kwnames[] = {
5437 (char *) "self",(char *) "iconize", NULL
5438 };
5439
5440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5442 if (!SWIG_IsOK(res1)) {
5443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5444 }
5445 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5446 if (obj1) {
5447 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5448 if (!SWIG_IsOK(ecode2)) {
5449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5450 }
5451 arg2 = static_cast< bool >(val2);
5452 }
5453 {
5454 PyThreadState* __tstate = wxPyBeginAllowThreads();
5455 (arg1)->Iconize(arg2);
5456 wxPyEndAllowThreads(__tstate);
5457 if (PyErr_Occurred()) SWIG_fail;
5458 }
5459 resultobj = SWIG_Py_Void();
5460 return resultobj;
5461 fail:
5462 return NULL;
5463 }
5464
5465
5466 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5467 PyObject *resultobj = 0;
5468 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5469 bool result;
5470 void *argp1 = 0 ;
5471 int res1 = 0 ;
5472 PyObject *swig_obj[1] ;
5473
5474 if (!args) SWIG_fail;
5475 swig_obj[0] = args;
5476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5477 if (!SWIG_IsOK(res1)) {
5478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5479 }
5480 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5481 {
5482 PyThreadState* __tstate = wxPyBeginAllowThreads();
5483 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5484 wxPyEndAllowThreads(__tstate);
5485 if (PyErr_Occurred()) SWIG_fail;
5486 }
5487 {
5488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5489 }
5490 return resultobj;
5491 fail:
5492 return NULL;
5493 }
5494
5495
5496 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5497 PyObject *resultobj = 0;
5498 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5499 bool result;
5500 void *argp1 = 0 ;
5501 int res1 = 0 ;
5502 PyObject *swig_obj[1] ;
5503
5504 if (!args) SWIG_fail;
5505 swig_obj[0] = args;
5506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5507 if (!SWIG_IsOK(res1)) {
5508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5509 }
5510 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5511 {
5512 PyThreadState* __tstate = wxPyBeginAllowThreads();
5513 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5514 wxPyEndAllowThreads(__tstate);
5515 if (PyErr_Occurred()) SWIG_fail;
5516 }
5517 {
5518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5519 }
5520 return resultobj;
5521 fail:
5522 return NULL;
5523 }
5524
5525
5526 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5527 PyObject *resultobj = 0;
5528 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5529 bool result;
5530 void *argp1 = 0 ;
5531 int res1 = 0 ;
5532 PyObject *swig_obj[1] ;
5533
5534 if (!args) SWIG_fail;
5535 swig_obj[0] = args;
5536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5537 if (!SWIG_IsOK(res1)) {
5538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5539 }
5540 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5541 {
5542 PyThreadState* __tstate = wxPyBeginAllowThreads();
5543 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5544 wxPyEndAllowThreads(__tstate);
5545 if (PyErr_Occurred()) SWIG_fail;
5546 }
5547 {
5548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5549 }
5550 return resultobj;
5551 fail:
5552 return NULL;
5553 }
5554
5555
5556 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5557 PyObject *resultobj = 0;
5558 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5559 wxIcon result;
5560 void *argp1 = 0 ;
5561 int res1 = 0 ;
5562 PyObject *swig_obj[1] ;
5563
5564 if (!args) SWIG_fail;
5565 swig_obj[0] = args;
5566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5567 if (!SWIG_IsOK(res1)) {
5568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5569 }
5570 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5571 {
5572 PyThreadState* __tstate = wxPyBeginAllowThreads();
5573 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5574 wxPyEndAllowThreads(__tstate);
5575 if (PyErr_Occurred()) SWIG_fail;
5576 }
5577 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5578 return resultobj;
5579 fail:
5580 return NULL;
5581 }
5582
5583
5584 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5585 PyObject *resultobj = 0;
5586 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5587 wxIcon *arg2 = 0 ;
5588 void *argp1 = 0 ;
5589 int res1 = 0 ;
5590 void *argp2 = 0 ;
5591 int res2 = 0 ;
5592 PyObject * obj0 = 0 ;
5593 PyObject * obj1 = 0 ;
5594 char * kwnames[] = {
5595 (char *) "self",(char *) "icon", NULL
5596 };
5597
5598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5600 if (!SWIG_IsOK(res1)) {
5601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5602 }
5603 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5604 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5605 if (!SWIG_IsOK(res2)) {
5606 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5607 }
5608 if (!argp2) {
5609 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5610 }
5611 arg2 = reinterpret_cast< wxIcon * >(argp2);
5612 {
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 (arg1)->SetIcon((wxIcon const &)*arg2);
5615 wxPyEndAllowThreads(__tstate);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 }
5618 resultobj = SWIG_Py_Void();
5619 return resultobj;
5620 fail:
5621 return NULL;
5622 }
5623
5624
5625 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5626 PyObject *resultobj = 0;
5627 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5628 wxIconBundle *arg2 = 0 ;
5629 void *argp1 = 0 ;
5630 int res1 = 0 ;
5631 void *argp2 = 0 ;
5632 int res2 = 0 ;
5633 PyObject * obj0 = 0 ;
5634 PyObject * obj1 = 0 ;
5635 char * kwnames[] = {
5636 (char *) "self",(char *) "icons", NULL
5637 };
5638
5639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5641 if (!SWIG_IsOK(res1)) {
5642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5643 }
5644 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5645 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5646 if (!SWIG_IsOK(res2)) {
5647 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5648 }
5649 if (!argp2) {
5650 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5651 }
5652 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5653 {
5654 PyThreadState* __tstate = wxPyBeginAllowThreads();
5655 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5656 wxPyEndAllowThreads(__tstate);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 }
5659 resultobj = SWIG_Py_Void();
5660 return resultobj;
5661 fail:
5662 return NULL;
5663 }
5664
5665
5666 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5667 PyObject *resultobj = 0;
5668 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5669 bool arg2 ;
5670 long arg3 = (long) wxFULLSCREEN_ALL ;
5671 bool result;
5672 void *argp1 = 0 ;
5673 int res1 = 0 ;
5674 bool val2 ;
5675 int ecode2 = 0 ;
5676 long val3 ;
5677 int ecode3 = 0 ;
5678 PyObject * obj0 = 0 ;
5679 PyObject * obj1 = 0 ;
5680 PyObject * obj2 = 0 ;
5681 char * kwnames[] = {
5682 (char *) "self",(char *) "show",(char *) "style", NULL
5683 };
5684
5685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5687 if (!SWIG_IsOK(res1)) {
5688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5689 }
5690 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5691 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5692 if (!SWIG_IsOK(ecode2)) {
5693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5694 }
5695 arg2 = static_cast< bool >(val2);
5696 if (obj2) {
5697 ecode3 = SWIG_AsVal_long(obj2, &val3);
5698 if (!SWIG_IsOK(ecode3)) {
5699 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5700 }
5701 arg3 = static_cast< long >(val3);
5702 }
5703 {
5704 PyThreadState* __tstate = wxPyBeginAllowThreads();
5705 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5706 wxPyEndAllowThreads(__tstate);
5707 if (PyErr_Occurred()) SWIG_fail;
5708 }
5709 {
5710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5711 }
5712 return resultobj;
5713 fail:
5714 return NULL;
5715 }
5716
5717
5718 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5719 PyObject *resultobj = 0;
5720 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5721 bool result;
5722 void *argp1 = 0 ;
5723 int res1 = 0 ;
5724 PyObject *swig_obj[1] ;
5725
5726 if (!args) SWIG_fail;
5727 swig_obj[0] = args;
5728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5729 if (!SWIG_IsOK(res1)) {
5730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5731 }
5732 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5733 {
5734 PyThreadState* __tstate = wxPyBeginAllowThreads();
5735 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 {
5740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5741 }
5742 return resultobj;
5743 fail:
5744 return NULL;
5745 }
5746
5747
5748 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5749 PyObject *resultobj = 0;
5750 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5751 wxString *arg2 = 0 ;
5752 void *argp1 = 0 ;
5753 int res1 = 0 ;
5754 bool temp2 = false ;
5755 PyObject * obj0 = 0 ;
5756 PyObject * obj1 = 0 ;
5757 char * kwnames[] = {
5758 (char *) "self",(char *) "title", NULL
5759 };
5760
5761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5763 if (!SWIG_IsOK(res1)) {
5764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5765 }
5766 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5767 {
5768 arg2 = wxString_in_helper(obj1);
5769 if (arg2 == NULL) SWIG_fail;
5770 temp2 = true;
5771 }
5772 {
5773 PyThreadState* __tstate = wxPyBeginAllowThreads();
5774 (arg1)->SetTitle((wxString const &)*arg2);
5775 wxPyEndAllowThreads(__tstate);
5776 if (PyErr_Occurred()) SWIG_fail;
5777 }
5778 resultobj = SWIG_Py_Void();
5779 {
5780 if (temp2)
5781 delete arg2;
5782 }
5783 return resultobj;
5784 fail:
5785 {
5786 if (temp2)
5787 delete arg2;
5788 }
5789 return NULL;
5790 }
5791
5792
5793 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5794 PyObject *resultobj = 0;
5795 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5796 wxString result;
5797 void *argp1 = 0 ;
5798 int res1 = 0 ;
5799 PyObject *swig_obj[1] ;
5800
5801 if (!args) SWIG_fail;
5802 swig_obj[0] = args;
5803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5804 if (!SWIG_IsOK(res1)) {
5805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5806 }
5807 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5808 {
5809 PyThreadState* __tstate = wxPyBeginAllowThreads();
5810 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5811 wxPyEndAllowThreads(__tstate);
5812 if (PyErr_Occurred()) SWIG_fail;
5813 }
5814 {
5815 #if wxUSE_UNICODE
5816 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5817 #else
5818 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5819 #endif
5820 }
5821 return resultobj;
5822 fail:
5823 return NULL;
5824 }
5825
5826
5827 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5828 PyObject *resultobj = 0;
5829 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5830 bool arg2 ;
5831 bool result;
5832 void *argp1 = 0 ;
5833 int res1 = 0 ;
5834 bool val2 ;
5835 int ecode2 = 0 ;
5836 PyObject * obj0 = 0 ;
5837 PyObject * obj1 = 0 ;
5838 char * kwnames[] = {
5839 (char *) "self",(char *) "enable", NULL
5840 };
5841
5842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5844 if (!SWIG_IsOK(res1)) {
5845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5846 }
5847 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5848 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5849 if (!SWIG_IsOK(ecode2)) {
5850 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5851 }
5852 arg2 = static_cast< bool >(val2);
5853 {
5854 PyThreadState* __tstate = wxPyBeginAllowThreads();
5855 result = (bool)(arg1)->EnableCloseButton(arg2);
5856 wxPyEndAllowThreads(__tstate);
5857 if (PyErr_Occurred()) SWIG_fail;
5858 }
5859 {
5860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5861 }
5862 return resultobj;
5863 fail:
5864 return NULL;
5865 }
5866
5867
5868 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5869 PyObject *resultobj = 0;
5870 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5871 wxRegion *arg2 = 0 ;
5872 bool result;
5873 void *argp1 = 0 ;
5874 int res1 = 0 ;
5875 void *argp2 = 0 ;
5876 int res2 = 0 ;
5877 PyObject * obj0 = 0 ;
5878 PyObject * obj1 = 0 ;
5879 char * kwnames[] = {
5880 (char *) "self",(char *) "region", NULL
5881 };
5882
5883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5885 if (!SWIG_IsOK(res1)) {
5886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5887 }
5888 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5889 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5890 if (!SWIG_IsOK(res2)) {
5891 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5892 }
5893 if (!argp2) {
5894 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5895 }
5896 arg2 = reinterpret_cast< wxRegion * >(argp2);
5897 {
5898 PyThreadState* __tstate = wxPyBeginAllowThreads();
5899 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5900 wxPyEndAllowThreads(__tstate);
5901 if (PyErr_Occurred()) SWIG_fail;
5902 }
5903 {
5904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5905 }
5906 return resultobj;
5907 fail:
5908 return NULL;
5909 }
5910
5911
5912 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5913 PyObject *resultobj = 0;
5914 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5915 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5916 void *argp1 = 0 ;
5917 int res1 = 0 ;
5918 int val2 ;
5919 int ecode2 = 0 ;
5920 PyObject * obj0 = 0 ;
5921 PyObject * obj1 = 0 ;
5922 char * kwnames[] = {
5923 (char *) "self",(char *) "flags", NULL
5924 };
5925
5926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5928 if (!SWIG_IsOK(res1)) {
5929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5930 }
5931 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5932 if (obj1) {
5933 ecode2 = SWIG_AsVal_int(obj1, &val2);
5934 if (!SWIG_IsOK(ecode2)) {
5935 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5936 }
5937 arg2 = static_cast< int >(val2);
5938 }
5939 {
5940 PyThreadState* __tstate = wxPyBeginAllowThreads();
5941 (arg1)->RequestUserAttention(arg2);
5942 wxPyEndAllowThreads(__tstate);
5943 if (PyErr_Occurred()) SWIG_fail;
5944 }
5945 resultobj = SWIG_Py_Void();
5946 return resultobj;
5947 fail:
5948 return NULL;
5949 }
5950
5951
5952 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5953 PyObject *resultobj = 0;
5954 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5955 bool result;
5956 void *argp1 = 0 ;
5957 int res1 = 0 ;
5958 PyObject *swig_obj[1] ;
5959
5960 if (!args) SWIG_fail;
5961 swig_obj[0] = args;
5962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5963 if (!SWIG_IsOK(res1)) {
5964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5965 }
5966 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5967 {
5968 PyThreadState* __tstate = wxPyBeginAllowThreads();
5969 result = (bool)(arg1)->IsActive();
5970 wxPyEndAllowThreads(__tstate);
5971 if (PyErr_Occurred()) SWIG_fail;
5972 }
5973 {
5974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5975 }
5976 return resultobj;
5977 fail:
5978 return NULL;
5979 }
5980
5981
5982 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5983 PyObject *resultobj = 0;
5984 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5985 bool arg2 ;
5986 void *argp1 = 0 ;
5987 int res1 = 0 ;
5988 bool val2 ;
5989 int ecode2 = 0 ;
5990 PyObject * obj0 = 0 ;
5991 PyObject * obj1 = 0 ;
5992 char * kwnames[] = {
5993 (char *) "self",(char *) "on", NULL
5994 };
5995
5996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5998 if (!SWIG_IsOK(res1)) {
5999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6000 }
6001 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6002 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6003 if (!SWIG_IsOK(ecode2)) {
6004 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6005 }
6006 arg2 = static_cast< bool >(val2);
6007 {
6008 PyThreadState* __tstate = wxPyBeginAllowThreads();
6009 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
6010 wxPyEndAllowThreads(__tstate);
6011 if (PyErr_Occurred()) SWIG_fail;
6012 }
6013 resultobj = SWIG_Py_Void();
6014 return resultobj;
6015 fail:
6016 return NULL;
6017 }
6018
6019
6020 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6021 PyObject *resultobj = 0;
6022 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6023 bool result;
6024 void *argp1 = 0 ;
6025 int res1 = 0 ;
6026 PyObject *swig_obj[1] ;
6027
6028 if (!args) SWIG_fail;
6029 swig_obj[0] = args;
6030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6031 if (!SWIG_IsOK(res1)) {
6032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6033 }
6034 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6035 {
6036 PyThreadState* __tstate = wxPyBeginAllowThreads();
6037 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
6038 wxPyEndAllowThreads(__tstate);
6039 if (PyErr_Occurred()) SWIG_fail;
6040 }
6041 {
6042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6043 }
6044 return resultobj;
6045 fail:
6046 return NULL;
6047 }
6048
6049
6050 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6051 PyObject *resultobj = 0;
6052 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6053 int arg2 = (int) wxBOTH ;
6054 void *argp1 = 0 ;
6055 int res1 = 0 ;
6056 int val2 ;
6057 int ecode2 = 0 ;
6058 PyObject * obj0 = 0 ;
6059 PyObject * obj1 = 0 ;
6060 char * kwnames[] = {
6061 (char *) "self",(char *) "dir", NULL
6062 };
6063
6064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6066 if (!SWIG_IsOK(res1)) {
6067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6068 }
6069 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6070 if (obj1) {
6071 ecode2 = SWIG_AsVal_int(obj1, &val2);
6072 if (!SWIG_IsOK(ecode2)) {
6073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6074 }
6075 arg2 = static_cast< int >(val2);
6076 }
6077 {
6078 PyThreadState* __tstate = wxPyBeginAllowThreads();
6079 (arg1)->CenterOnScreen(arg2);
6080 wxPyEndAllowThreads(__tstate);
6081 if (PyErr_Occurred()) SWIG_fail;
6082 }
6083 resultobj = SWIG_Py_Void();
6084 return resultobj;
6085 fail:
6086 return NULL;
6087 }
6088
6089
6090 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6091 PyObject *resultobj = 0;
6092 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6093 wxWindow *result = 0 ;
6094 void *argp1 = 0 ;
6095 int res1 = 0 ;
6096 PyObject *swig_obj[1] ;
6097
6098 if (!args) SWIG_fail;
6099 swig_obj[0] = args;
6100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6101 if (!SWIG_IsOK(res1)) {
6102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6103 }
6104 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6105 {
6106 PyThreadState* __tstate = wxPyBeginAllowThreads();
6107 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6108 wxPyEndAllowThreads(__tstate);
6109 if (PyErr_Occurred()) SWIG_fail;
6110 }
6111 {
6112 resultobj = wxPyMake_wxObject(result, 0);
6113 }
6114 return resultobj;
6115 fail:
6116 return NULL;
6117 }
6118
6119
6120 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6121 PyObject *resultobj = 0;
6122 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6123 wxWindow *arg2 = (wxWindow *) 0 ;
6124 wxWindow *result = 0 ;
6125 void *argp1 = 0 ;
6126 int res1 = 0 ;
6127 void *argp2 = 0 ;
6128 int res2 = 0 ;
6129 PyObject * obj0 = 0 ;
6130 PyObject * obj1 = 0 ;
6131 char * kwnames[] = {
6132 (char *) "self",(char *) "child", NULL
6133 };
6134
6135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6137 if (!SWIG_IsOK(res1)) {
6138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6139 }
6140 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6141 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6142 if (!SWIG_IsOK(res2)) {
6143 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6144 }
6145 arg2 = reinterpret_cast< wxWindow * >(argp2);
6146 {
6147 PyThreadState* __tstate = wxPyBeginAllowThreads();
6148 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6149 wxPyEndAllowThreads(__tstate);
6150 if (PyErr_Occurred()) SWIG_fail;
6151 }
6152 {
6153 resultobj = wxPyMake_wxObject(result, 0);
6154 }
6155 return resultobj;
6156 fail:
6157 return NULL;
6158 }
6159
6160
6161 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6162 PyObject *resultobj = 0;
6163 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6164 wxWindow *arg2 = (wxWindow *) 0 ;
6165 void *argp1 = 0 ;
6166 int res1 = 0 ;
6167 void *argp2 = 0 ;
6168 int res2 = 0 ;
6169 PyObject * obj0 = 0 ;
6170 PyObject * obj1 = 0 ;
6171 char * kwnames[] = {
6172 (char *) "self",(char *) "win", NULL
6173 };
6174
6175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6177 if (!SWIG_IsOK(res1)) {
6178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6179 }
6180 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6181 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6182 if (!SWIG_IsOK(res2)) {
6183 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6184 }
6185 arg2 = reinterpret_cast< wxWindow * >(argp2);
6186 {
6187 PyThreadState* __tstate = wxPyBeginAllowThreads();
6188 (arg1)->SetTmpDefaultItem(arg2);
6189 wxPyEndAllowThreads(__tstate);
6190 if (PyErr_Occurred()) SWIG_fail;
6191 }
6192 resultobj = SWIG_Py_Void();
6193 return resultobj;
6194 fail:
6195 return NULL;
6196 }
6197
6198
6199 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6200 PyObject *resultobj = 0;
6201 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6202 wxWindow *result = 0 ;
6203 void *argp1 = 0 ;
6204 int res1 = 0 ;
6205 PyObject *swig_obj[1] ;
6206
6207 if (!args) SWIG_fail;
6208 swig_obj[0] = args;
6209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6210 if (!SWIG_IsOK(res1)) {
6211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6212 }
6213 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6214 {
6215 PyThreadState* __tstate = wxPyBeginAllowThreads();
6216 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6217 wxPyEndAllowThreads(__tstate);
6218 if (PyErr_Occurred()) SWIG_fail;
6219 }
6220 {
6221 resultobj = wxPyMake_wxObject(result, 0);
6222 }
6223 return resultobj;
6224 fail:
6225 return NULL;
6226 }
6227
6228
6229 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6230 PyObject *obj;
6231 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6232 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6233 return SWIG_Py_Void();
6234 }
6235
6236 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6237 PyObject *resultobj = 0;
6238 wxWindow *arg1 = (wxWindow *) 0 ;
6239 int arg2 = (int) (int)-1 ;
6240 wxString const &arg3_defvalue = wxPyEmptyString ;
6241 wxString *arg3 = (wxString *) &arg3_defvalue ;
6242 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6243 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6244 wxSize const &arg5_defvalue = wxDefaultSize ;
6245 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6246 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6247 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6248 wxString *arg7 = (wxString *) &arg7_defvalue ;
6249 wxFrame *result = 0 ;
6250 void *argp1 = 0 ;
6251 int res1 = 0 ;
6252 int val2 ;
6253 int ecode2 = 0 ;
6254 bool temp3 = false ;
6255 wxPoint temp4 ;
6256 wxSize temp5 ;
6257 long val6 ;
6258 int ecode6 = 0 ;
6259 bool temp7 = false ;
6260 PyObject * obj0 = 0 ;
6261 PyObject * obj1 = 0 ;
6262 PyObject * obj2 = 0 ;
6263 PyObject * obj3 = 0 ;
6264 PyObject * obj4 = 0 ;
6265 PyObject * obj5 = 0 ;
6266 PyObject * obj6 = 0 ;
6267 char * kwnames[] = {
6268 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6269 };
6270
6271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6273 if (!SWIG_IsOK(res1)) {
6274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6275 }
6276 arg1 = reinterpret_cast< wxWindow * >(argp1);
6277 if (obj1) {
6278 ecode2 = SWIG_AsVal_int(obj1, &val2);
6279 if (!SWIG_IsOK(ecode2)) {
6280 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6281 }
6282 arg2 = static_cast< int >(val2);
6283 }
6284 if (obj2) {
6285 {
6286 arg3 = wxString_in_helper(obj2);
6287 if (arg3 == NULL) SWIG_fail;
6288 temp3 = true;
6289 }
6290 }
6291 if (obj3) {
6292 {
6293 arg4 = &temp4;
6294 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6295 }
6296 }
6297 if (obj4) {
6298 {
6299 arg5 = &temp5;
6300 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6301 }
6302 }
6303 if (obj5) {
6304 ecode6 = SWIG_AsVal_long(obj5, &val6);
6305 if (!SWIG_IsOK(ecode6)) {
6306 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6307 }
6308 arg6 = static_cast< long >(val6);
6309 }
6310 if (obj6) {
6311 {
6312 arg7 = wxString_in_helper(obj6);
6313 if (arg7 == NULL) SWIG_fail;
6314 temp7 = true;
6315 }
6316 }
6317 {
6318 if (!wxPyCheckForApp()) SWIG_fail;
6319 PyThreadState* __tstate = wxPyBeginAllowThreads();
6320 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6321 wxPyEndAllowThreads(__tstate);
6322 if (PyErr_Occurred()) SWIG_fail;
6323 }
6324 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6325 {
6326 if (temp3)
6327 delete arg3;
6328 }
6329 {
6330 if (temp7)
6331 delete arg7;
6332 }
6333 return resultobj;
6334 fail:
6335 {
6336 if (temp3)
6337 delete arg3;
6338 }
6339 {
6340 if (temp7)
6341 delete arg7;
6342 }
6343 return NULL;
6344 }
6345
6346
6347 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6348 PyObject *resultobj = 0;
6349 wxFrame *result = 0 ;
6350
6351 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6352 {
6353 if (!wxPyCheckForApp()) SWIG_fail;
6354 PyThreadState* __tstate = wxPyBeginAllowThreads();
6355 result = (wxFrame *)new wxFrame();
6356 wxPyEndAllowThreads(__tstate);
6357 if (PyErr_Occurred()) SWIG_fail;
6358 }
6359 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6360 return resultobj;
6361 fail:
6362 return NULL;
6363 }
6364
6365
6366 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6367 PyObject *resultobj = 0;
6368 wxFrame *arg1 = (wxFrame *) 0 ;
6369 wxWindow *arg2 = (wxWindow *) 0 ;
6370 int arg3 = (int) (int)-1 ;
6371 wxString const &arg4_defvalue = wxPyEmptyString ;
6372 wxString *arg4 = (wxString *) &arg4_defvalue ;
6373 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6374 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6375 wxSize const &arg6_defvalue = wxDefaultSize ;
6376 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6377 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6378 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6379 wxString *arg8 = (wxString *) &arg8_defvalue ;
6380 bool result;
6381 void *argp1 = 0 ;
6382 int res1 = 0 ;
6383 void *argp2 = 0 ;
6384 int res2 = 0 ;
6385 int val3 ;
6386 int ecode3 = 0 ;
6387 bool temp4 = false ;
6388 wxPoint temp5 ;
6389 wxSize temp6 ;
6390 long val7 ;
6391 int ecode7 = 0 ;
6392 bool temp8 = false ;
6393 PyObject * obj0 = 0 ;
6394 PyObject * obj1 = 0 ;
6395 PyObject * obj2 = 0 ;
6396 PyObject * obj3 = 0 ;
6397 PyObject * obj4 = 0 ;
6398 PyObject * obj5 = 0 ;
6399 PyObject * obj6 = 0 ;
6400 PyObject * obj7 = 0 ;
6401 char * kwnames[] = {
6402 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6403 };
6404
6405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6407 if (!SWIG_IsOK(res1)) {
6408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6409 }
6410 arg1 = reinterpret_cast< wxFrame * >(argp1);
6411 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6412 if (!SWIG_IsOK(res2)) {
6413 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6414 }
6415 arg2 = reinterpret_cast< wxWindow * >(argp2);
6416 if (obj2) {
6417 ecode3 = SWIG_AsVal_int(obj2, &val3);
6418 if (!SWIG_IsOK(ecode3)) {
6419 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6420 }
6421 arg3 = static_cast< int >(val3);
6422 }
6423 if (obj3) {
6424 {
6425 arg4 = wxString_in_helper(obj3);
6426 if (arg4 == NULL) SWIG_fail;
6427 temp4 = true;
6428 }
6429 }
6430 if (obj4) {
6431 {
6432 arg5 = &temp5;
6433 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6434 }
6435 }
6436 if (obj5) {
6437 {
6438 arg6 = &temp6;
6439 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6440 }
6441 }
6442 if (obj6) {
6443 ecode7 = SWIG_AsVal_long(obj6, &val7);
6444 if (!SWIG_IsOK(ecode7)) {
6445 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6446 }
6447 arg7 = static_cast< long >(val7);
6448 }
6449 if (obj7) {
6450 {
6451 arg8 = wxString_in_helper(obj7);
6452 if (arg8 == NULL) SWIG_fail;
6453 temp8 = true;
6454 }
6455 }
6456 {
6457 PyThreadState* __tstate = wxPyBeginAllowThreads();
6458 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6459 wxPyEndAllowThreads(__tstate);
6460 if (PyErr_Occurred()) SWIG_fail;
6461 }
6462 {
6463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6464 }
6465 {
6466 if (temp4)
6467 delete arg4;
6468 }
6469 {
6470 if (temp8)
6471 delete arg8;
6472 }
6473 return resultobj;
6474 fail:
6475 {
6476 if (temp4)
6477 delete arg4;
6478 }
6479 {
6480 if (temp8)
6481 delete arg8;
6482 }
6483 return NULL;
6484 }
6485
6486
6487 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6488 PyObject *resultobj = 0;
6489 wxFrame *arg1 = (wxFrame *) 0 ;
6490 void *argp1 = 0 ;
6491 int res1 = 0 ;
6492 PyObject *swig_obj[1] ;
6493
6494 if (!args) SWIG_fail;
6495 swig_obj[0] = args;
6496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6497 if (!SWIG_IsOK(res1)) {
6498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6499 }
6500 arg1 = reinterpret_cast< wxFrame * >(argp1);
6501 {
6502 PyThreadState* __tstate = wxPyBeginAllowThreads();
6503 (arg1)->SendSizeEvent();
6504 wxPyEndAllowThreads(__tstate);
6505 if (PyErr_Occurred()) SWIG_fail;
6506 }
6507 resultobj = SWIG_Py_Void();
6508 return resultobj;
6509 fail:
6510 return NULL;
6511 }
6512
6513
6514 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6515 PyObject *resultobj = 0;
6516 wxFrame *arg1 = (wxFrame *) 0 ;
6517 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6518 void *argp1 = 0 ;
6519 int res1 = 0 ;
6520 void *argp2 = 0 ;
6521 int res2 = 0 ;
6522 PyObject * obj0 = 0 ;
6523 PyObject * obj1 = 0 ;
6524 char * kwnames[] = {
6525 (char *) "self",(char *) "menubar", NULL
6526 };
6527
6528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6530 if (!SWIG_IsOK(res1)) {
6531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6532 }
6533 arg1 = reinterpret_cast< wxFrame * >(argp1);
6534 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6535 if (!SWIG_IsOK(res2)) {
6536 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6537 }
6538 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6539 {
6540 PyThreadState* __tstate = wxPyBeginAllowThreads();
6541 (arg1)->SetMenuBar(arg2);
6542 wxPyEndAllowThreads(__tstate);
6543 if (PyErr_Occurred()) SWIG_fail;
6544 }
6545 resultobj = SWIG_Py_Void();
6546 return resultobj;
6547 fail:
6548 return NULL;
6549 }
6550
6551
6552 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6553 PyObject *resultobj = 0;
6554 wxFrame *arg1 = (wxFrame *) 0 ;
6555 wxMenuBar *result = 0 ;
6556 void *argp1 = 0 ;
6557 int res1 = 0 ;
6558 PyObject *swig_obj[1] ;
6559
6560 if (!args) SWIG_fail;
6561 swig_obj[0] = args;
6562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6563 if (!SWIG_IsOK(res1)) {
6564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6565 }
6566 arg1 = reinterpret_cast< wxFrame * >(argp1);
6567 {
6568 PyThreadState* __tstate = wxPyBeginAllowThreads();
6569 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6570 wxPyEndAllowThreads(__tstate);
6571 if (PyErr_Occurred()) SWIG_fail;
6572 }
6573 {
6574 resultobj = wxPyMake_wxObject(result, 0);
6575 }
6576 return resultobj;
6577 fail:
6578 return NULL;
6579 }
6580
6581
6582 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6583 PyObject *resultobj = 0;
6584 wxFrame *arg1 = (wxFrame *) 0 ;
6585 int arg2 ;
6586 bool result;
6587 void *argp1 = 0 ;
6588 int res1 = 0 ;
6589 int val2 ;
6590 int ecode2 = 0 ;
6591 PyObject * obj0 = 0 ;
6592 PyObject * obj1 = 0 ;
6593 char * kwnames[] = {
6594 (char *) "self",(char *) "winid", NULL
6595 };
6596
6597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6599 if (!SWIG_IsOK(res1)) {
6600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6601 }
6602 arg1 = reinterpret_cast< wxFrame * >(argp1);
6603 ecode2 = SWIG_AsVal_int(obj1, &val2);
6604 if (!SWIG_IsOK(ecode2)) {
6605 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6606 }
6607 arg2 = static_cast< int >(val2);
6608 {
6609 PyThreadState* __tstate = wxPyBeginAllowThreads();
6610 result = (bool)(arg1)->ProcessCommand(arg2);
6611 wxPyEndAllowThreads(__tstate);
6612 if (PyErr_Occurred()) SWIG_fail;
6613 }
6614 {
6615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6616 }
6617 return resultobj;
6618 fail:
6619 return NULL;
6620 }
6621
6622
6623 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6624 PyObject *resultobj = 0;
6625 wxFrame *arg1 = (wxFrame *) 0 ;
6626 int arg2 = (int) 1 ;
6627 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6628 int arg4 = (int) 0 ;
6629 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6630 wxString *arg5 = (wxString *) &arg5_defvalue ;
6631 wxStatusBar *result = 0 ;
6632 void *argp1 = 0 ;
6633 int res1 = 0 ;
6634 int val2 ;
6635 int ecode2 = 0 ;
6636 long val3 ;
6637 int ecode3 = 0 ;
6638 int val4 ;
6639 int ecode4 = 0 ;
6640 bool temp5 = false ;
6641 PyObject * obj0 = 0 ;
6642 PyObject * obj1 = 0 ;
6643 PyObject * obj2 = 0 ;
6644 PyObject * obj3 = 0 ;
6645 PyObject * obj4 = 0 ;
6646 char * kwnames[] = {
6647 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6648 };
6649
6650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6652 if (!SWIG_IsOK(res1)) {
6653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6654 }
6655 arg1 = reinterpret_cast< wxFrame * >(argp1);
6656 if (obj1) {
6657 ecode2 = SWIG_AsVal_int(obj1, &val2);
6658 if (!SWIG_IsOK(ecode2)) {
6659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6660 }
6661 arg2 = static_cast< int >(val2);
6662 }
6663 if (obj2) {
6664 ecode3 = SWIG_AsVal_long(obj2, &val3);
6665 if (!SWIG_IsOK(ecode3)) {
6666 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6667 }
6668 arg3 = static_cast< long >(val3);
6669 }
6670 if (obj3) {
6671 ecode4 = SWIG_AsVal_int(obj3, &val4);
6672 if (!SWIG_IsOK(ecode4)) {
6673 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6674 }
6675 arg4 = static_cast< int >(val4);
6676 }
6677 if (obj4) {
6678 {
6679 arg5 = wxString_in_helper(obj4);
6680 if (arg5 == NULL) SWIG_fail;
6681 temp5 = true;
6682 }
6683 }
6684 {
6685 PyThreadState* __tstate = wxPyBeginAllowThreads();
6686 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6687 wxPyEndAllowThreads(__tstate);
6688 if (PyErr_Occurred()) SWIG_fail;
6689 }
6690 {
6691 resultobj = wxPyMake_wxObject(result, (bool)0);
6692 }
6693 {
6694 if (temp5)
6695 delete arg5;
6696 }
6697 return resultobj;
6698 fail:
6699 {
6700 if (temp5)
6701 delete arg5;
6702 }
6703 return NULL;
6704 }
6705
6706
6707 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6708 PyObject *resultobj = 0;
6709 wxFrame *arg1 = (wxFrame *) 0 ;
6710 wxStatusBar *result = 0 ;
6711 void *argp1 = 0 ;
6712 int res1 = 0 ;
6713 PyObject *swig_obj[1] ;
6714
6715 if (!args) SWIG_fail;
6716 swig_obj[0] = args;
6717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6718 if (!SWIG_IsOK(res1)) {
6719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6720 }
6721 arg1 = reinterpret_cast< wxFrame * >(argp1);
6722 {
6723 PyThreadState* __tstate = wxPyBeginAllowThreads();
6724 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6725 wxPyEndAllowThreads(__tstate);
6726 if (PyErr_Occurred()) SWIG_fail;
6727 }
6728 {
6729 resultobj = wxPyMake_wxObject(result, (bool)0);
6730 }
6731 return resultobj;
6732 fail:
6733 return NULL;
6734 }
6735
6736
6737 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6738 PyObject *resultobj = 0;
6739 wxFrame *arg1 = (wxFrame *) 0 ;
6740 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6741 void *argp1 = 0 ;
6742 int res1 = 0 ;
6743 void *argp2 = 0 ;
6744 int res2 = 0 ;
6745 PyObject * obj0 = 0 ;
6746 PyObject * obj1 = 0 ;
6747 char * kwnames[] = {
6748 (char *) "self",(char *) "statBar", NULL
6749 };
6750
6751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6753 if (!SWIG_IsOK(res1)) {
6754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6755 }
6756 arg1 = reinterpret_cast< wxFrame * >(argp1);
6757 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6758 if (!SWIG_IsOK(res2)) {
6759 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6760 }
6761 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6762 {
6763 PyThreadState* __tstate = wxPyBeginAllowThreads();
6764 (arg1)->SetStatusBar(arg2);
6765 wxPyEndAllowThreads(__tstate);
6766 if (PyErr_Occurred()) SWIG_fail;
6767 }
6768 resultobj = SWIG_Py_Void();
6769 return resultobj;
6770 fail:
6771 return NULL;
6772 }
6773
6774
6775 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6776 PyObject *resultobj = 0;
6777 wxFrame *arg1 = (wxFrame *) 0 ;
6778 wxString *arg2 = 0 ;
6779 int arg3 = (int) 0 ;
6780 void *argp1 = 0 ;
6781 int res1 = 0 ;
6782 bool temp2 = false ;
6783 int val3 ;
6784 int ecode3 = 0 ;
6785 PyObject * obj0 = 0 ;
6786 PyObject * obj1 = 0 ;
6787 PyObject * obj2 = 0 ;
6788 char * kwnames[] = {
6789 (char *) "self",(char *) "text",(char *) "number", NULL
6790 };
6791
6792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6794 if (!SWIG_IsOK(res1)) {
6795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6796 }
6797 arg1 = reinterpret_cast< wxFrame * >(argp1);
6798 {
6799 arg2 = wxString_in_helper(obj1);
6800 if (arg2 == NULL) SWIG_fail;
6801 temp2 = true;
6802 }
6803 if (obj2) {
6804 ecode3 = SWIG_AsVal_int(obj2, &val3);
6805 if (!SWIG_IsOK(ecode3)) {
6806 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6807 }
6808 arg3 = static_cast< int >(val3);
6809 }
6810 {
6811 PyThreadState* __tstate = wxPyBeginAllowThreads();
6812 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6813 wxPyEndAllowThreads(__tstate);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 }
6816 resultobj = SWIG_Py_Void();
6817 {
6818 if (temp2)
6819 delete arg2;
6820 }
6821 return resultobj;
6822 fail:
6823 {
6824 if (temp2)
6825 delete arg2;
6826 }
6827 return NULL;
6828 }
6829
6830
6831 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6832 PyObject *resultobj = 0;
6833 wxFrame *arg1 = (wxFrame *) 0 ;
6834 int arg2 ;
6835 int *arg3 = (int *) 0 ;
6836 void *argp1 = 0 ;
6837 int res1 = 0 ;
6838 PyObject * obj0 = 0 ;
6839 PyObject * obj1 = 0 ;
6840 char * kwnames[] = {
6841 (char *) "self",(char *) "widths", NULL
6842 };
6843
6844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6846 if (!SWIG_IsOK(res1)) {
6847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6848 }
6849 arg1 = reinterpret_cast< wxFrame * >(argp1);
6850 {
6851 arg2 = PyList_Size(obj1);
6852 arg3 = int_LIST_helper(obj1);
6853 if (arg3 == NULL) SWIG_fail;
6854 }
6855 {
6856 PyThreadState* __tstate = wxPyBeginAllowThreads();
6857 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6858 wxPyEndAllowThreads(__tstate);
6859 if (PyErr_Occurred()) SWIG_fail;
6860 }
6861 resultobj = SWIG_Py_Void();
6862 {
6863 if (arg3) delete [] arg3;
6864 }
6865 return resultobj;
6866 fail:
6867 {
6868 if (arg3) delete [] arg3;
6869 }
6870 return NULL;
6871 }
6872
6873
6874 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6875 PyObject *resultobj = 0;
6876 wxFrame *arg1 = (wxFrame *) 0 ;
6877 wxString *arg2 = 0 ;
6878 int arg3 = (int) 0 ;
6879 void *argp1 = 0 ;
6880 int res1 = 0 ;
6881 bool temp2 = false ;
6882 int val3 ;
6883 int ecode3 = 0 ;
6884 PyObject * obj0 = 0 ;
6885 PyObject * obj1 = 0 ;
6886 PyObject * obj2 = 0 ;
6887 char * kwnames[] = {
6888 (char *) "self",(char *) "text",(char *) "number", NULL
6889 };
6890
6891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6893 if (!SWIG_IsOK(res1)) {
6894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6895 }
6896 arg1 = reinterpret_cast< wxFrame * >(argp1);
6897 {
6898 arg2 = wxString_in_helper(obj1);
6899 if (arg2 == NULL) SWIG_fail;
6900 temp2 = true;
6901 }
6902 if (obj2) {
6903 ecode3 = SWIG_AsVal_int(obj2, &val3);
6904 if (!SWIG_IsOK(ecode3)) {
6905 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6906 }
6907 arg3 = static_cast< int >(val3);
6908 }
6909 {
6910 PyThreadState* __tstate = wxPyBeginAllowThreads();
6911 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6912 wxPyEndAllowThreads(__tstate);
6913 if (PyErr_Occurred()) SWIG_fail;
6914 }
6915 resultobj = SWIG_Py_Void();
6916 {
6917 if (temp2)
6918 delete arg2;
6919 }
6920 return resultobj;
6921 fail:
6922 {
6923 if (temp2)
6924 delete arg2;
6925 }
6926 return NULL;
6927 }
6928
6929
6930 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6931 PyObject *resultobj = 0;
6932 wxFrame *arg1 = (wxFrame *) 0 ;
6933 int arg2 = (int) 0 ;
6934 void *argp1 = 0 ;
6935 int res1 = 0 ;
6936 int val2 ;
6937 int ecode2 = 0 ;
6938 PyObject * obj0 = 0 ;
6939 PyObject * obj1 = 0 ;
6940 char * kwnames[] = {
6941 (char *) "self",(char *) "number", NULL
6942 };
6943
6944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6946 if (!SWIG_IsOK(res1)) {
6947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6948 }
6949 arg1 = reinterpret_cast< wxFrame * >(argp1);
6950 if (obj1) {
6951 ecode2 = SWIG_AsVal_int(obj1, &val2);
6952 if (!SWIG_IsOK(ecode2)) {
6953 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6954 }
6955 arg2 = static_cast< int >(val2);
6956 }
6957 {
6958 PyThreadState* __tstate = wxPyBeginAllowThreads();
6959 (arg1)->PopStatusText(arg2);
6960 wxPyEndAllowThreads(__tstate);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 }
6963 resultobj = SWIG_Py_Void();
6964 return resultobj;
6965 fail:
6966 return NULL;
6967 }
6968
6969
6970 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6971 PyObject *resultobj = 0;
6972 wxFrame *arg1 = (wxFrame *) 0 ;
6973 int arg2 ;
6974 void *argp1 = 0 ;
6975 int res1 = 0 ;
6976 int val2 ;
6977 int ecode2 = 0 ;
6978 PyObject * obj0 = 0 ;
6979 PyObject * obj1 = 0 ;
6980 char * kwnames[] = {
6981 (char *) "self",(char *) "n", NULL
6982 };
6983
6984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6986 if (!SWIG_IsOK(res1)) {
6987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6988 }
6989 arg1 = reinterpret_cast< wxFrame * >(argp1);
6990 ecode2 = SWIG_AsVal_int(obj1, &val2);
6991 if (!SWIG_IsOK(ecode2)) {
6992 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6993 }
6994 arg2 = static_cast< int >(val2);
6995 {
6996 PyThreadState* __tstate = wxPyBeginAllowThreads();
6997 (arg1)->SetStatusBarPane(arg2);
6998 wxPyEndAllowThreads(__tstate);
6999 if (PyErr_Occurred()) SWIG_fail;
7000 }
7001 resultobj = SWIG_Py_Void();
7002 return resultobj;
7003 fail:
7004 return NULL;
7005 }
7006
7007
7008 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7009 PyObject *resultobj = 0;
7010 wxFrame *arg1 = (wxFrame *) 0 ;
7011 int result;
7012 void *argp1 = 0 ;
7013 int res1 = 0 ;
7014 PyObject *swig_obj[1] ;
7015
7016 if (!args) SWIG_fail;
7017 swig_obj[0] = args;
7018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7019 if (!SWIG_IsOK(res1)) {
7020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7021 }
7022 arg1 = reinterpret_cast< wxFrame * >(argp1);
7023 {
7024 PyThreadState* __tstate = wxPyBeginAllowThreads();
7025 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7026 wxPyEndAllowThreads(__tstate);
7027 if (PyErr_Occurred()) SWIG_fail;
7028 }
7029 resultobj = SWIG_From_int(static_cast< int >(result));
7030 return resultobj;
7031 fail:
7032 return NULL;
7033 }
7034
7035
7036 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7037 PyObject *resultobj = 0;
7038 wxFrame *arg1 = (wxFrame *) 0 ;
7039 long arg2 = (long) -1 ;
7040 int arg3 = (int) -1 ;
7041 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7042 wxString *arg4 = (wxString *) &arg4_defvalue ;
7043 wxToolBar *result = 0 ;
7044 void *argp1 = 0 ;
7045 int res1 = 0 ;
7046 long val2 ;
7047 int ecode2 = 0 ;
7048 int val3 ;
7049 int ecode3 = 0 ;
7050 bool temp4 = false ;
7051 PyObject * obj0 = 0 ;
7052 PyObject * obj1 = 0 ;
7053 PyObject * obj2 = 0 ;
7054 PyObject * obj3 = 0 ;
7055 char * kwnames[] = {
7056 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7057 };
7058
7059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7061 if (!SWIG_IsOK(res1)) {
7062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7063 }
7064 arg1 = reinterpret_cast< wxFrame * >(argp1);
7065 if (obj1) {
7066 ecode2 = SWIG_AsVal_long(obj1, &val2);
7067 if (!SWIG_IsOK(ecode2)) {
7068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7069 }
7070 arg2 = static_cast< long >(val2);
7071 }
7072 if (obj2) {
7073 ecode3 = SWIG_AsVal_int(obj2, &val3);
7074 if (!SWIG_IsOK(ecode3)) {
7075 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7076 }
7077 arg3 = static_cast< int >(val3);
7078 }
7079 if (obj3) {
7080 {
7081 arg4 = wxString_in_helper(obj3);
7082 if (arg4 == NULL) SWIG_fail;
7083 temp4 = true;
7084 }
7085 }
7086 {
7087 PyThreadState* __tstate = wxPyBeginAllowThreads();
7088 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7089 wxPyEndAllowThreads(__tstate);
7090 if (PyErr_Occurred()) SWIG_fail;
7091 }
7092 {
7093 resultobj = wxPyMake_wxObject(result, (bool)0);
7094 }
7095 {
7096 if (temp4)
7097 delete arg4;
7098 }
7099 return resultobj;
7100 fail:
7101 {
7102 if (temp4)
7103 delete arg4;
7104 }
7105 return NULL;
7106 }
7107
7108
7109 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7110 PyObject *resultobj = 0;
7111 wxFrame *arg1 = (wxFrame *) 0 ;
7112 wxToolBar *result = 0 ;
7113 void *argp1 = 0 ;
7114 int res1 = 0 ;
7115 PyObject *swig_obj[1] ;
7116
7117 if (!args) SWIG_fail;
7118 swig_obj[0] = args;
7119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7120 if (!SWIG_IsOK(res1)) {
7121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7122 }
7123 arg1 = reinterpret_cast< wxFrame * >(argp1);
7124 {
7125 PyThreadState* __tstate = wxPyBeginAllowThreads();
7126 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7127 wxPyEndAllowThreads(__tstate);
7128 if (PyErr_Occurred()) SWIG_fail;
7129 }
7130 {
7131 resultobj = wxPyMake_wxObject(result, (bool)0);
7132 }
7133 return resultobj;
7134 fail:
7135 return NULL;
7136 }
7137
7138
7139 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7140 PyObject *resultobj = 0;
7141 wxFrame *arg1 = (wxFrame *) 0 ;
7142 wxToolBar *arg2 = (wxToolBar *) 0 ;
7143 void *argp1 = 0 ;
7144 int res1 = 0 ;
7145 void *argp2 = 0 ;
7146 int res2 = 0 ;
7147 PyObject * obj0 = 0 ;
7148 PyObject * obj1 = 0 ;
7149 char * kwnames[] = {
7150 (char *) "self",(char *) "toolbar", NULL
7151 };
7152
7153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7155 if (!SWIG_IsOK(res1)) {
7156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7157 }
7158 arg1 = reinterpret_cast< wxFrame * >(argp1);
7159 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7160 if (!SWIG_IsOK(res2)) {
7161 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7162 }
7163 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7164 {
7165 PyThreadState* __tstate = wxPyBeginAllowThreads();
7166 (arg1)->SetToolBar(arg2);
7167 wxPyEndAllowThreads(__tstate);
7168 if (PyErr_Occurred()) SWIG_fail;
7169 }
7170 resultobj = SWIG_Py_Void();
7171 return resultobj;
7172 fail:
7173 return NULL;
7174 }
7175
7176
7177 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7178 PyObject *resultobj = 0;
7179 wxFrame *arg1 = (wxFrame *) 0 ;
7180 wxString *arg2 = 0 ;
7181 bool arg3 ;
7182 void *argp1 = 0 ;
7183 int res1 = 0 ;
7184 bool temp2 = false ;
7185 bool val3 ;
7186 int ecode3 = 0 ;
7187 PyObject * obj0 = 0 ;
7188 PyObject * obj1 = 0 ;
7189 PyObject * obj2 = 0 ;
7190 char * kwnames[] = {
7191 (char *) "self",(char *) "text",(char *) "show", NULL
7192 };
7193
7194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7196 if (!SWIG_IsOK(res1)) {
7197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7198 }
7199 arg1 = reinterpret_cast< wxFrame * >(argp1);
7200 {
7201 arg2 = wxString_in_helper(obj1);
7202 if (arg2 == NULL) SWIG_fail;
7203 temp2 = true;
7204 }
7205 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7206 if (!SWIG_IsOK(ecode3)) {
7207 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7208 }
7209 arg3 = static_cast< bool >(val3);
7210 {
7211 PyThreadState* __tstate = wxPyBeginAllowThreads();
7212 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 resultobj = SWIG_Py_Void();
7217 {
7218 if (temp2)
7219 delete arg2;
7220 }
7221 return resultobj;
7222 fail:
7223 {
7224 if (temp2)
7225 delete arg2;
7226 }
7227 return NULL;
7228 }
7229
7230
7231 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7232 PyObject *resultobj = 0;
7233 wxFrame *arg1 = (wxFrame *) 0 ;
7234 wxMenu *arg2 = (wxMenu *) NULL ;
7235 void *argp1 = 0 ;
7236 int res1 = 0 ;
7237 void *argp2 = 0 ;
7238 int res2 = 0 ;
7239 PyObject * obj0 = 0 ;
7240 PyObject * obj1 = 0 ;
7241 char * kwnames[] = {
7242 (char *) "self",(char *) "menu", NULL
7243 };
7244
7245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7247 if (!SWIG_IsOK(res1)) {
7248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7249 }
7250 arg1 = reinterpret_cast< wxFrame * >(argp1);
7251 if (obj1) {
7252 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7253 if (!SWIG_IsOK(res2)) {
7254 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7255 }
7256 arg2 = reinterpret_cast< wxMenu * >(argp2);
7257 }
7258 {
7259 PyThreadState* __tstate = wxPyBeginAllowThreads();
7260 (arg1)->DoMenuUpdates(arg2);
7261 wxPyEndAllowThreads(__tstate);
7262 if (PyErr_Occurred()) SWIG_fail;
7263 }
7264 resultobj = SWIG_Py_Void();
7265 return resultobj;
7266 fail:
7267 return NULL;
7268 }
7269
7270
7271 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7272 PyObject *resultobj = 0;
7273 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7274 SwigValueWrapper<wxVisualAttributes > result;
7275 int val1 ;
7276 int ecode1 = 0 ;
7277 PyObject * obj0 = 0 ;
7278 char * kwnames[] = {
7279 (char *) "variant", NULL
7280 };
7281
7282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7283 if (obj0) {
7284 ecode1 = SWIG_AsVal_int(obj0, &val1);
7285 if (!SWIG_IsOK(ecode1)) {
7286 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7287 }
7288 arg1 = static_cast< wxWindowVariant >(val1);
7289 }
7290 {
7291 if (!wxPyCheckForApp()) SWIG_fail;
7292 PyThreadState* __tstate = wxPyBeginAllowThreads();
7293 result = wxFrame::GetClassDefaultAttributes(arg1);
7294 wxPyEndAllowThreads(__tstate);
7295 if (PyErr_Occurred()) SWIG_fail;
7296 }
7297 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7298 return resultobj;
7299 fail:
7300 return NULL;
7301 }
7302
7303
7304 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7305 PyObject *obj;
7306 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7307 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7308 return SWIG_Py_Void();
7309 }
7310
7311 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7312 return SWIG_Python_InitShadowInstance(args);
7313 }
7314
7315 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7316 PyObject *resultobj = 0;
7317 wxWindow *arg1 = (wxWindow *) 0 ;
7318 int arg2 = (int) (int)-1 ;
7319 wxString const &arg3_defvalue = wxPyEmptyString ;
7320 wxString *arg3 = (wxString *) &arg3_defvalue ;
7321 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7322 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7323 wxSize const &arg5_defvalue = wxDefaultSize ;
7324 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7325 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7326 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7327 wxString *arg7 = (wxString *) &arg7_defvalue ;
7328 wxDialog *result = 0 ;
7329 void *argp1 = 0 ;
7330 int res1 = 0 ;
7331 int val2 ;
7332 int ecode2 = 0 ;
7333 bool temp3 = false ;
7334 wxPoint temp4 ;
7335 wxSize temp5 ;
7336 long val6 ;
7337 int ecode6 = 0 ;
7338 bool temp7 = false ;
7339 PyObject * obj0 = 0 ;
7340 PyObject * obj1 = 0 ;
7341 PyObject * obj2 = 0 ;
7342 PyObject * obj3 = 0 ;
7343 PyObject * obj4 = 0 ;
7344 PyObject * obj5 = 0 ;
7345 PyObject * obj6 = 0 ;
7346 char * kwnames[] = {
7347 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7348 };
7349
7350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7352 if (!SWIG_IsOK(res1)) {
7353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7354 }
7355 arg1 = reinterpret_cast< wxWindow * >(argp1);
7356 if (obj1) {
7357 ecode2 = SWIG_AsVal_int(obj1, &val2);
7358 if (!SWIG_IsOK(ecode2)) {
7359 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7360 }
7361 arg2 = static_cast< int >(val2);
7362 }
7363 if (obj2) {
7364 {
7365 arg3 = wxString_in_helper(obj2);
7366 if (arg3 == NULL) SWIG_fail;
7367 temp3 = true;
7368 }
7369 }
7370 if (obj3) {
7371 {
7372 arg4 = &temp4;
7373 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7374 }
7375 }
7376 if (obj4) {
7377 {
7378 arg5 = &temp5;
7379 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7380 }
7381 }
7382 if (obj5) {
7383 ecode6 = SWIG_AsVal_long(obj5, &val6);
7384 if (!SWIG_IsOK(ecode6)) {
7385 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7386 }
7387 arg6 = static_cast< long >(val6);
7388 }
7389 if (obj6) {
7390 {
7391 arg7 = wxString_in_helper(obj6);
7392 if (arg7 == NULL) SWIG_fail;
7393 temp7 = true;
7394 }
7395 }
7396 {
7397 if (!wxPyCheckForApp()) SWIG_fail;
7398 PyThreadState* __tstate = wxPyBeginAllowThreads();
7399 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7400 wxPyEndAllowThreads(__tstate);
7401 if (PyErr_Occurred()) SWIG_fail;
7402 }
7403 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7404 {
7405 if (temp3)
7406 delete arg3;
7407 }
7408 {
7409 if (temp7)
7410 delete arg7;
7411 }
7412 return resultobj;
7413 fail:
7414 {
7415 if (temp3)
7416 delete arg3;
7417 }
7418 {
7419 if (temp7)
7420 delete arg7;
7421 }
7422 return NULL;
7423 }
7424
7425
7426 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7427 PyObject *resultobj = 0;
7428 wxDialog *result = 0 ;
7429
7430 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7431 {
7432 if (!wxPyCheckForApp()) SWIG_fail;
7433 PyThreadState* __tstate = wxPyBeginAllowThreads();
7434 result = (wxDialog *)new wxDialog();
7435 wxPyEndAllowThreads(__tstate);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 }
7438 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7439 return resultobj;
7440 fail:
7441 return NULL;
7442 }
7443
7444
7445 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7446 PyObject *resultobj = 0;
7447 wxDialog *arg1 = (wxDialog *) 0 ;
7448 wxWindow *arg2 = (wxWindow *) 0 ;
7449 int arg3 = (int) (int)-1 ;
7450 wxString const &arg4_defvalue = wxPyEmptyString ;
7451 wxString *arg4 = (wxString *) &arg4_defvalue ;
7452 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7453 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7454 wxSize const &arg6_defvalue = wxDefaultSize ;
7455 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7456 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7457 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7458 wxString *arg8 = (wxString *) &arg8_defvalue ;
7459 bool result;
7460 void *argp1 = 0 ;
7461 int res1 = 0 ;
7462 void *argp2 = 0 ;
7463 int res2 = 0 ;
7464 int val3 ;
7465 int ecode3 = 0 ;
7466 bool temp4 = false ;
7467 wxPoint temp5 ;
7468 wxSize temp6 ;
7469 long val7 ;
7470 int ecode7 = 0 ;
7471 bool temp8 = false ;
7472 PyObject * obj0 = 0 ;
7473 PyObject * obj1 = 0 ;
7474 PyObject * obj2 = 0 ;
7475 PyObject * obj3 = 0 ;
7476 PyObject * obj4 = 0 ;
7477 PyObject * obj5 = 0 ;
7478 PyObject * obj6 = 0 ;
7479 PyObject * obj7 = 0 ;
7480 char * kwnames[] = {
7481 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7482 };
7483
7484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7486 if (!SWIG_IsOK(res1)) {
7487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7488 }
7489 arg1 = reinterpret_cast< wxDialog * >(argp1);
7490 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7491 if (!SWIG_IsOK(res2)) {
7492 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7493 }
7494 arg2 = reinterpret_cast< wxWindow * >(argp2);
7495 if (obj2) {
7496 ecode3 = SWIG_AsVal_int(obj2, &val3);
7497 if (!SWIG_IsOK(ecode3)) {
7498 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7499 }
7500 arg3 = static_cast< int >(val3);
7501 }
7502 if (obj3) {
7503 {
7504 arg4 = wxString_in_helper(obj3);
7505 if (arg4 == NULL) SWIG_fail;
7506 temp4 = true;
7507 }
7508 }
7509 if (obj4) {
7510 {
7511 arg5 = &temp5;
7512 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7513 }
7514 }
7515 if (obj5) {
7516 {
7517 arg6 = &temp6;
7518 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7519 }
7520 }
7521 if (obj6) {
7522 ecode7 = SWIG_AsVal_long(obj6, &val7);
7523 if (!SWIG_IsOK(ecode7)) {
7524 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7525 }
7526 arg7 = static_cast< long >(val7);
7527 }
7528 if (obj7) {
7529 {
7530 arg8 = wxString_in_helper(obj7);
7531 if (arg8 == NULL) SWIG_fail;
7532 temp8 = true;
7533 }
7534 }
7535 {
7536 PyThreadState* __tstate = wxPyBeginAllowThreads();
7537 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7538 wxPyEndAllowThreads(__tstate);
7539 if (PyErr_Occurred()) SWIG_fail;
7540 }
7541 {
7542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7543 }
7544 {
7545 if (temp4)
7546 delete arg4;
7547 }
7548 {
7549 if (temp8)
7550 delete arg8;
7551 }
7552 return resultobj;
7553 fail:
7554 {
7555 if (temp4)
7556 delete arg4;
7557 }
7558 {
7559 if (temp8)
7560 delete arg8;
7561 }
7562 return NULL;
7563 }
7564
7565
7566 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7567 PyObject *resultobj = 0;
7568 wxDialog *arg1 = (wxDialog *) 0 ;
7569 int arg2 ;
7570 void *argp1 = 0 ;
7571 int res1 = 0 ;
7572 int val2 ;
7573 int ecode2 = 0 ;
7574 PyObject * obj0 = 0 ;
7575 PyObject * obj1 = 0 ;
7576 char * kwnames[] = {
7577 (char *) "self",(char *) "returnCode", NULL
7578 };
7579
7580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7582 if (!SWIG_IsOK(res1)) {
7583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7584 }
7585 arg1 = reinterpret_cast< wxDialog * >(argp1);
7586 ecode2 = SWIG_AsVal_int(obj1, &val2);
7587 if (!SWIG_IsOK(ecode2)) {
7588 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7589 }
7590 arg2 = static_cast< int >(val2);
7591 {
7592 PyThreadState* __tstate = wxPyBeginAllowThreads();
7593 (arg1)->SetReturnCode(arg2);
7594 wxPyEndAllowThreads(__tstate);
7595 if (PyErr_Occurred()) SWIG_fail;
7596 }
7597 resultobj = SWIG_Py_Void();
7598 return resultobj;
7599 fail:
7600 return NULL;
7601 }
7602
7603
7604 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7605 PyObject *resultobj = 0;
7606 wxDialog *arg1 = (wxDialog *) 0 ;
7607 int result;
7608 void *argp1 = 0 ;
7609 int res1 = 0 ;
7610 PyObject *swig_obj[1] ;
7611
7612 if (!args) SWIG_fail;
7613 swig_obj[0] = args;
7614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7615 if (!SWIG_IsOK(res1)) {
7616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7617 }
7618 arg1 = reinterpret_cast< wxDialog * >(argp1);
7619 {
7620 PyThreadState* __tstate = wxPyBeginAllowThreads();
7621 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7622 wxPyEndAllowThreads(__tstate);
7623 if (PyErr_Occurred()) SWIG_fail;
7624 }
7625 resultobj = SWIG_From_int(static_cast< int >(result));
7626 return resultobj;
7627 fail:
7628 return NULL;
7629 }
7630
7631
7632 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7633 PyObject *resultobj = 0;
7634 wxDialog *arg1 = (wxDialog *) 0 ;
7635 int arg2 ;
7636 void *argp1 = 0 ;
7637 int res1 = 0 ;
7638 int val2 ;
7639 int ecode2 = 0 ;
7640 PyObject * obj0 = 0 ;
7641 PyObject * obj1 = 0 ;
7642 char * kwnames[] = {
7643 (char *) "self",(char *) "affirmativeId", NULL
7644 };
7645
7646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7648 if (!SWIG_IsOK(res1)) {
7649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7650 }
7651 arg1 = reinterpret_cast< wxDialog * >(argp1);
7652 ecode2 = SWIG_AsVal_int(obj1, &val2);
7653 if (!SWIG_IsOK(ecode2)) {
7654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7655 }
7656 arg2 = static_cast< int >(val2);
7657 {
7658 PyThreadState* __tstate = wxPyBeginAllowThreads();
7659 (arg1)->SetAffirmativeId(arg2);
7660 wxPyEndAllowThreads(__tstate);
7661 if (PyErr_Occurred()) SWIG_fail;
7662 }
7663 resultobj = SWIG_Py_Void();
7664 return resultobj;
7665 fail:
7666 return NULL;
7667 }
7668
7669
7670 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7671 PyObject *resultobj = 0;
7672 wxDialog *arg1 = (wxDialog *) 0 ;
7673 int result;
7674 void *argp1 = 0 ;
7675 int res1 = 0 ;
7676 PyObject *swig_obj[1] ;
7677
7678 if (!args) SWIG_fail;
7679 swig_obj[0] = args;
7680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7681 if (!SWIG_IsOK(res1)) {
7682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7683 }
7684 arg1 = reinterpret_cast< wxDialog * >(argp1);
7685 {
7686 PyThreadState* __tstate = wxPyBeginAllowThreads();
7687 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7688 wxPyEndAllowThreads(__tstate);
7689 if (PyErr_Occurred()) SWIG_fail;
7690 }
7691 resultobj = SWIG_From_int(static_cast< int >(result));
7692 return resultobj;
7693 fail:
7694 return NULL;
7695 }
7696
7697
7698 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7699 PyObject *resultobj = 0;
7700 wxDialog *arg1 = (wxDialog *) 0 ;
7701 int arg2 ;
7702 void *argp1 = 0 ;
7703 int res1 = 0 ;
7704 int val2 ;
7705 int ecode2 = 0 ;
7706 PyObject * obj0 = 0 ;
7707 PyObject * obj1 = 0 ;
7708 char * kwnames[] = {
7709 (char *) "self",(char *) "escapeId", NULL
7710 };
7711
7712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7714 if (!SWIG_IsOK(res1)) {
7715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7716 }
7717 arg1 = reinterpret_cast< wxDialog * >(argp1);
7718 ecode2 = SWIG_AsVal_int(obj1, &val2);
7719 if (!SWIG_IsOK(ecode2)) {
7720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7721 }
7722 arg2 = static_cast< int >(val2);
7723 {
7724 PyThreadState* __tstate = wxPyBeginAllowThreads();
7725 (arg1)->SetEscapeId(arg2);
7726 wxPyEndAllowThreads(__tstate);
7727 if (PyErr_Occurred()) SWIG_fail;
7728 }
7729 resultobj = SWIG_Py_Void();
7730 return resultobj;
7731 fail:
7732 return NULL;
7733 }
7734
7735
7736 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7737 PyObject *resultobj = 0;
7738 wxDialog *arg1 = (wxDialog *) 0 ;
7739 int result;
7740 void *argp1 = 0 ;
7741 int res1 = 0 ;
7742 PyObject *swig_obj[1] ;
7743
7744 if (!args) SWIG_fail;
7745 swig_obj[0] = args;
7746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7747 if (!SWIG_IsOK(res1)) {
7748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7749 }
7750 arg1 = reinterpret_cast< wxDialog * >(argp1);
7751 {
7752 PyThreadState* __tstate = wxPyBeginAllowThreads();
7753 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7754 wxPyEndAllowThreads(__tstate);
7755 if (PyErr_Occurred()) SWIG_fail;
7756 }
7757 resultobj = SWIG_From_int(static_cast< int >(result));
7758 return resultobj;
7759 fail:
7760 return NULL;
7761 }
7762
7763
7764 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7765 PyObject *resultobj = 0;
7766 wxDialog *arg1 = (wxDialog *) 0 ;
7767 wxString *arg2 = 0 ;
7768 wxSizer *result = 0 ;
7769 void *argp1 = 0 ;
7770 int res1 = 0 ;
7771 bool temp2 = false ;
7772 PyObject * obj0 = 0 ;
7773 PyObject * obj1 = 0 ;
7774 char * kwnames[] = {
7775 (char *) "self",(char *) "message", NULL
7776 };
7777
7778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7780 if (!SWIG_IsOK(res1)) {
7781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7782 }
7783 arg1 = reinterpret_cast< wxDialog * >(argp1);
7784 {
7785 arg2 = wxString_in_helper(obj1);
7786 if (arg2 == NULL) SWIG_fail;
7787 temp2 = true;
7788 }
7789 {
7790 PyThreadState* __tstate = wxPyBeginAllowThreads();
7791 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7792 wxPyEndAllowThreads(__tstate);
7793 if (PyErr_Occurred()) SWIG_fail;
7794 }
7795 {
7796 resultobj = wxPyMake_wxObject(result, (bool)0);
7797 }
7798 {
7799 if (temp2)
7800 delete arg2;
7801 }
7802 return resultobj;
7803 fail:
7804 {
7805 if (temp2)
7806 delete arg2;
7807 }
7808 return NULL;
7809 }
7810
7811
7812 SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7813 PyObject *resultobj = 0;
7814 wxDialog *arg1 = (wxDialog *) 0 ;
7815 long arg2 ;
7816 wxSizer *result = 0 ;
7817 void *argp1 = 0 ;
7818 int res1 = 0 ;
7819 long val2 ;
7820 int ecode2 = 0 ;
7821 PyObject * obj0 = 0 ;
7822 PyObject * obj1 = 0 ;
7823 char * kwnames[] = {
7824 (char *) "self",(char *) "flags", NULL
7825 };
7826
7827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7829 if (!SWIG_IsOK(res1)) {
7830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7831 }
7832 arg1 = reinterpret_cast< wxDialog * >(argp1);
7833 ecode2 = SWIG_AsVal_long(obj1, &val2);
7834 if (!SWIG_IsOK(ecode2)) {
7835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7836 }
7837 arg2 = static_cast< long >(val2);
7838 {
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7841 wxPyEndAllowThreads(__tstate);
7842 if (PyErr_Occurred()) SWIG_fail;
7843 }
7844 {
7845 resultobj = wxPyMake_wxObject(result, (bool)0);
7846 }
7847 return resultobj;
7848 fail:
7849 return NULL;
7850 }
7851
7852
7853 SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7854 PyObject *resultobj = 0;
7855 wxDialog *arg1 = (wxDialog *) 0 ;
7856 long arg2 ;
7857 wxSizer *result = 0 ;
7858 void *argp1 = 0 ;
7859 int res1 = 0 ;
7860 long val2 ;
7861 int ecode2 = 0 ;
7862 PyObject * obj0 = 0 ;
7863 PyObject * obj1 = 0 ;
7864 char * kwnames[] = {
7865 (char *) "self",(char *) "flags", NULL
7866 };
7867
7868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7870 if (!SWIG_IsOK(res1)) {
7871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7872 }
7873 arg1 = reinterpret_cast< wxDialog * >(argp1);
7874 ecode2 = SWIG_AsVal_long(obj1, &val2);
7875 if (!SWIG_IsOK(ecode2)) {
7876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7877 }
7878 arg2 = static_cast< long >(val2);
7879 {
7880 PyThreadState* __tstate = wxPyBeginAllowThreads();
7881 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
7882 wxPyEndAllowThreads(__tstate);
7883 if (PyErr_Occurred()) SWIG_fail;
7884 }
7885 {
7886 resultobj = wxPyMake_wxObject(result, (bool)0);
7887 }
7888 return resultobj;
7889 fail:
7890 return NULL;
7891 }
7892
7893
7894 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7895 PyObject *resultobj = 0;
7896 wxDialog *arg1 = (wxDialog *) 0 ;
7897 long arg2 ;
7898 wxStdDialogButtonSizer *result = 0 ;
7899 void *argp1 = 0 ;
7900 int res1 = 0 ;
7901 long val2 ;
7902 int ecode2 = 0 ;
7903 PyObject * obj0 = 0 ;
7904 PyObject * obj1 = 0 ;
7905 char * kwnames[] = {
7906 (char *) "self",(char *) "flags", NULL
7907 };
7908
7909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7911 if (!SWIG_IsOK(res1)) {
7912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7913 }
7914 arg1 = reinterpret_cast< wxDialog * >(argp1);
7915 ecode2 = SWIG_AsVal_long(obj1, &val2);
7916 if (!SWIG_IsOK(ecode2)) {
7917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7918 }
7919 arg2 = static_cast< long >(val2);
7920 {
7921 PyThreadState* __tstate = wxPyBeginAllowThreads();
7922 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7923 wxPyEndAllowThreads(__tstate);
7924 if (PyErr_Occurred()) SWIG_fail;
7925 }
7926 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7927 return resultobj;
7928 fail:
7929 return NULL;
7930 }
7931
7932
7933 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7934 PyObject *resultobj = 0;
7935 wxDialog *arg1 = (wxDialog *) 0 ;
7936 bool result;
7937 void *argp1 = 0 ;
7938 int res1 = 0 ;
7939 PyObject *swig_obj[1] ;
7940
7941 if (!args) SWIG_fail;
7942 swig_obj[0] = args;
7943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7944 if (!SWIG_IsOK(res1)) {
7945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7946 }
7947 arg1 = reinterpret_cast< wxDialog * >(argp1);
7948 {
7949 PyThreadState* __tstate = wxPyBeginAllowThreads();
7950 result = (bool)((wxDialog const *)arg1)->IsModal();
7951 wxPyEndAllowThreads(__tstate);
7952 if (PyErr_Occurred()) SWIG_fail;
7953 }
7954 {
7955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7956 }
7957 return resultobj;
7958 fail:
7959 return NULL;
7960 }
7961
7962
7963 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7964 PyObject *resultobj = 0;
7965 wxDialog *arg1 = (wxDialog *) 0 ;
7966 int result;
7967 void *argp1 = 0 ;
7968 int res1 = 0 ;
7969 PyObject *swig_obj[1] ;
7970
7971 if (!args) SWIG_fail;
7972 swig_obj[0] = args;
7973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7974 if (!SWIG_IsOK(res1)) {
7975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7976 }
7977 arg1 = reinterpret_cast< wxDialog * >(argp1);
7978 {
7979 PyThreadState* __tstate = wxPyBeginAllowThreads();
7980 result = (int)(arg1)->ShowModal();
7981 wxPyEndAllowThreads(__tstate);
7982 if (PyErr_Occurred()) SWIG_fail;
7983 }
7984 resultobj = SWIG_From_int(static_cast< int >(result));
7985 return resultobj;
7986 fail:
7987 return NULL;
7988 }
7989
7990
7991 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7992 PyObject *resultobj = 0;
7993 wxDialog *arg1 = (wxDialog *) 0 ;
7994 int arg2 ;
7995 void *argp1 = 0 ;
7996 int res1 = 0 ;
7997 int val2 ;
7998 int ecode2 = 0 ;
7999 PyObject * obj0 = 0 ;
8000 PyObject * obj1 = 0 ;
8001 char * kwnames[] = {
8002 (char *) "self",(char *) "retCode", NULL
8003 };
8004
8005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8007 if (!SWIG_IsOK(res1)) {
8008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8009 }
8010 arg1 = reinterpret_cast< wxDialog * >(argp1);
8011 ecode2 = SWIG_AsVal_int(obj1, &val2);
8012 if (!SWIG_IsOK(ecode2)) {
8013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8014 }
8015 arg2 = static_cast< int >(val2);
8016 {
8017 PyThreadState* __tstate = wxPyBeginAllowThreads();
8018 (arg1)->EndModal(arg2);
8019 wxPyEndAllowThreads(__tstate);
8020 if (PyErr_Occurred()) SWIG_fail;
8021 }
8022 resultobj = SWIG_Py_Void();
8023 return resultobj;
8024 fail:
8025 return NULL;
8026 }
8027
8028
8029 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8030 PyObject *resultobj = 0;
8031 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8032 SwigValueWrapper<wxVisualAttributes > result;
8033 int val1 ;
8034 int ecode1 = 0 ;
8035 PyObject * obj0 = 0 ;
8036 char * kwnames[] = {
8037 (char *) "variant", NULL
8038 };
8039
8040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8041 if (obj0) {
8042 ecode1 = SWIG_AsVal_int(obj0, &val1);
8043 if (!SWIG_IsOK(ecode1)) {
8044 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8045 }
8046 arg1 = static_cast< wxWindowVariant >(val1);
8047 }
8048 {
8049 if (!wxPyCheckForApp()) SWIG_fail;
8050 PyThreadState* __tstate = wxPyBeginAllowThreads();
8051 result = wxDialog::GetClassDefaultAttributes(arg1);
8052 wxPyEndAllowThreads(__tstate);
8053 if (PyErr_Occurred()) SWIG_fail;
8054 }
8055 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8056 return resultobj;
8057 fail:
8058 return NULL;
8059 }
8060
8061
8062 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8063 PyObject *obj;
8064 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8065 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8066 return SWIG_Py_Void();
8067 }
8068
8069 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8070 return SWIG_Python_InitShadowInstance(args);
8071 }
8072
8073 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8074 PyObject *resultobj = 0;
8075 wxWindow *arg1 = (wxWindow *) 0 ;
8076 int arg2 = (int) (int)-1 ;
8077 wxString const &arg3_defvalue = wxPyEmptyString ;
8078 wxString *arg3 = (wxString *) &arg3_defvalue ;
8079 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8080 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8081 wxSize const &arg5_defvalue = wxDefaultSize ;
8082 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8083 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
8084 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8085 wxString *arg7 = (wxString *) &arg7_defvalue ;
8086 wxMiniFrame *result = 0 ;
8087 void *argp1 = 0 ;
8088 int res1 = 0 ;
8089 int val2 ;
8090 int ecode2 = 0 ;
8091 bool temp3 = false ;
8092 wxPoint temp4 ;
8093 wxSize temp5 ;
8094 long val6 ;
8095 int ecode6 = 0 ;
8096 bool temp7 = false ;
8097 PyObject * obj0 = 0 ;
8098 PyObject * obj1 = 0 ;
8099 PyObject * obj2 = 0 ;
8100 PyObject * obj3 = 0 ;
8101 PyObject * obj4 = 0 ;
8102 PyObject * obj5 = 0 ;
8103 PyObject * obj6 = 0 ;
8104 char * kwnames[] = {
8105 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8106 };
8107
8108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8110 if (!SWIG_IsOK(res1)) {
8111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8112 }
8113 arg1 = reinterpret_cast< wxWindow * >(argp1);
8114 if (obj1) {
8115 ecode2 = SWIG_AsVal_int(obj1, &val2);
8116 if (!SWIG_IsOK(ecode2)) {
8117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8118 }
8119 arg2 = static_cast< int >(val2);
8120 }
8121 if (obj2) {
8122 {
8123 arg3 = wxString_in_helper(obj2);
8124 if (arg3 == NULL) SWIG_fail;
8125 temp3 = true;
8126 }
8127 }
8128 if (obj3) {
8129 {
8130 arg4 = &temp4;
8131 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8132 }
8133 }
8134 if (obj4) {
8135 {
8136 arg5 = &temp5;
8137 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8138 }
8139 }
8140 if (obj5) {
8141 ecode6 = SWIG_AsVal_long(obj5, &val6);
8142 if (!SWIG_IsOK(ecode6)) {
8143 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8144 }
8145 arg6 = static_cast< long >(val6);
8146 }
8147 if (obj6) {
8148 {
8149 arg7 = wxString_in_helper(obj6);
8150 if (arg7 == NULL) SWIG_fail;
8151 temp7 = true;
8152 }
8153 }
8154 {
8155 if (!wxPyCheckForApp()) SWIG_fail;
8156 PyThreadState* __tstate = wxPyBeginAllowThreads();
8157 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8158 wxPyEndAllowThreads(__tstate);
8159 if (PyErr_Occurred()) SWIG_fail;
8160 }
8161 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8162 {
8163 if (temp3)
8164 delete arg3;
8165 }
8166 {
8167 if (temp7)
8168 delete arg7;
8169 }
8170 return resultobj;
8171 fail:
8172 {
8173 if (temp3)
8174 delete arg3;
8175 }
8176 {
8177 if (temp7)
8178 delete arg7;
8179 }
8180 return NULL;
8181 }
8182
8183
8184 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8185 PyObject *resultobj = 0;
8186 wxMiniFrame *result = 0 ;
8187
8188 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8189 {
8190 if (!wxPyCheckForApp()) SWIG_fail;
8191 PyThreadState* __tstate = wxPyBeginAllowThreads();
8192 result = (wxMiniFrame *)new wxMiniFrame();
8193 wxPyEndAllowThreads(__tstate);
8194 if (PyErr_Occurred()) SWIG_fail;
8195 }
8196 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8197 return resultobj;
8198 fail:
8199 return NULL;
8200 }
8201
8202
8203 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8204 PyObject *resultobj = 0;
8205 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8206 wxWindow *arg2 = (wxWindow *) 0 ;
8207 int arg3 = (int) (int)-1 ;
8208 wxString const &arg4_defvalue = wxPyEmptyString ;
8209 wxString *arg4 = (wxString *) &arg4_defvalue ;
8210 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8211 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8212 wxSize const &arg6_defvalue = wxDefaultSize ;
8213 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8214 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8215 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8216 wxString *arg8 = (wxString *) &arg8_defvalue ;
8217 bool result;
8218 void *argp1 = 0 ;
8219 int res1 = 0 ;
8220 void *argp2 = 0 ;
8221 int res2 = 0 ;
8222 int val3 ;
8223 int ecode3 = 0 ;
8224 bool temp4 = false ;
8225 wxPoint temp5 ;
8226 wxSize temp6 ;
8227 long val7 ;
8228 int ecode7 = 0 ;
8229 bool temp8 = false ;
8230 PyObject * obj0 = 0 ;
8231 PyObject * obj1 = 0 ;
8232 PyObject * obj2 = 0 ;
8233 PyObject * obj3 = 0 ;
8234 PyObject * obj4 = 0 ;
8235 PyObject * obj5 = 0 ;
8236 PyObject * obj6 = 0 ;
8237 PyObject * obj7 = 0 ;
8238 char * kwnames[] = {
8239 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8240 };
8241
8242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8244 if (!SWIG_IsOK(res1)) {
8245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8246 }
8247 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8248 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8249 if (!SWIG_IsOK(res2)) {
8250 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8251 }
8252 arg2 = reinterpret_cast< wxWindow * >(argp2);
8253 if (obj2) {
8254 ecode3 = SWIG_AsVal_int(obj2, &val3);
8255 if (!SWIG_IsOK(ecode3)) {
8256 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8257 }
8258 arg3 = static_cast< int >(val3);
8259 }
8260 if (obj3) {
8261 {
8262 arg4 = wxString_in_helper(obj3);
8263 if (arg4 == NULL) SWIG_fail;
8264 temp4 = true;
8265 }
8266 }
8267 if (obj4) {
8268 {
8269 arg5 = &temp5;
8270 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8271 }
8272 }
8273 if (obj5) {
8274 {
8275 arg6 = &temp6;
8276 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8277 }
8278 }
8279 if (obj6) {
8280 ecode7 = SWIG_AsVal_long(obj6, &val7);
8281 if (!SWIG_IsOK(ecode7)) {
8282 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8283 }
8284 arg7 = static_cast< long >(val7);
8285 }
8286 if (obj7) {
8287 {
8288 arg8 = wxString_in_helper(obj7);
8289 if (arg8 == NULL) SWIG_fail;
8290 temp8 = true;
8291 }
8292 }
8293 {
8294 PyThreadState* __tstate = wxPyBeginAllowThreads();
8295 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8296 wxPyEndAllowThreads(__tstate);
8297 if (PyErr_Occurred()) SWIG_fail;
8298 }
8299 {
8300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8301 }
8302 {
8303 if (temp4)
8304 delete arg4;
8305 }
8306 {
8307 if (temp8)
8308 delete arg8;
8309 }
8310 return resultobj;
8311 fail:
8312 {
8313 if (temp4)
8314 delete arg4;
8315 }
8316 {
8317 if (temp8)
8318 delete arg8;
8319 }
8320 return NULL;
8321 }
8322
8323
8324 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8325 PyObject *obj;
8326 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8327 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8328 return SWIG_Py_Void();
8329 }
8330
8331 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8332 return SWIG_Python_InitShadowInstance(args);
8333 }
8334
8335 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8336 PyObject *resultobj = 0;
8337 wxBitmap *arg1 = 0 ;
8338 wxWindow *arg2 = (wxWindow *) 0 ;
8339 int arg3 ;
8340 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8341 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8342 wxSize const &arg5_defvalue = wxDefaultSize ;
8343 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8344 long arg6 = (long) wxNO_BORDER ;
8345 wxSplashScreenWindow *result = 0 ;
8346 void *argp1 = 0 ;
8347 int res1 = 0 ;
8348 void *argp2 = 0 ;
8349 int res2 = 0 ;
8350 int val3 ;
8351 int ecode3 = 0 ;
8352 wxPoint temp4 ;
8353 wxSize temp5 ;
8354 long val6 ;
8355 int ecode6 = 0 ;
8356 PyObject * obj0 = 0 ;
8357 PyObject * obj1 = 0 ;
8358 PyObject * obj2 = 0 ;
8359 PyObject * obj3 = 0 ;
8360 PyObject * obj4 = 0 ;
8361 PyObject * obj5 = 0 ;
8362 char * kwnames[] = {
8363 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8364 };
8365
8366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8367 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8368 if (!SWIG_IsOK(res1)) {
8369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8370 }
8371 if (!argp1) {
8372 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8373 }
8374 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8375 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8376 if (!SWIG_IsOK(res2)) {
8377 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8378 }
8379 arg2 = reinterpret_cast< wxWindow * >(argp2);
8380 ecode3 = SWIG_AsVal_int(obj2, &val3);
8381 if (!SWIG_IsOK(ecode3)) {
8382 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8383 }
8384 arg3 = static_cast< int >(val3);
8385 if (obj3) {
8386 {
8387 arg4 = &temp4;
8388 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8389 }
8390 }
8391 if (obj4) {
8392 {
8393 arg5 = &temp5;
8394 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8395 }
8396 }
8397 if (obj5) {
8398 ecode6 = SWIG_AsVal_long(obj5, &val6);
8399 if (!SWIG_IsOK(ecode6)) {
8400 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8401 }
8402 arg6 = static_cast< long >(val6);
8403 }
8404 {
8405 if (!wxPyCheckForApp()) SWIG_fail;
8406 PyThreadState* __tstate = wxPyBeginAllowThreads();
8407 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8408 wxPyEndAllowThreads(__tstate);
8409 if (PyErr_Occurred()) SWIG_fail;
8410 }
8411 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8412 return resultobj;
8413 fail:
8414 return NULL;
8415 }
8416
8417
8418 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8419 PyObject *resultobj = 0;
8420 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8421 wxBitmap *arg2 = 0 ;
8422 void *argp1 = 0 ;
8423 int res1 = 0 ;
8424 void *argp2 = 0 ;
8425 int res2 = 0 ;
8426 PyObject * obj0 = 0 ;
8427 PyObject * obj1 = 0 ;
8428 char * kwnames[] = {
8429 (char *) "self",(char *) "bitmap", NULL
8430 };
8431
8432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8434 if (!SWIG_IsOK(res1)) {
8435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8436 }
8437 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8438 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8439 if (!SWIG_IsOK(res2)) {
8440 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8441 }
8442 if (!argp2) {
8443 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8444 }
8445 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8446 {
8447 PyThreadState* __tstate = wxPyBeginAllowThreads();
8448 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8449 wxPyEndAllowThreads(__tstate);
8450 if (PyErr_Occurred()) SWIG_fail;
8451 }
8452 resultobj = SWIG_Py_Void();
8453 return resultobj;
8454 fail:
8455 return NULL;
8456 }
8457
8458
8459 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8460 PyObject *resultobj = 0;
8461 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8462 wxBitmap *result = 0 ;
8463 void *argp1 = 0 ;
8464 int res1 = 0 ;
8465 PyObject *swig_obj[1] ;
8466
8467 if (!args) SWIG_fail;
8468 swig_obj[0] = args;
8469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8470 if (!SWIG_IsOK(res1)) {
8471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8472 }
8473 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8474 {
8475 PyThreadState* __tstate = wxPyBeginAllowThreads();
8476 {
8477 wxBitmap &_result_ref = (arg1)->GetBitmap();
8478 result = (wxBitmap *) &_result_ref;
8479 }
8480 wxPyEndAllowThreads(__tstate);
8481 if (PyErr_Occurred()) SWIG_fail;
8482 }
8483 {
8484 wxBitmap* resultptr = new wxBitmap(*result);
8485 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8486 }
8487 return resultobj;
8488 fail:
8489 return NULL;
8490 }
8491
8492
8493 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8494 PyObject *obj;
8495 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8496 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8497 return SWIG_Py_Void();
8498 }
8499
8500 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8501 return SWIG_Python_InitShadowInstance(args);
8502 }
8503
8504 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8505 PyObject *resultobj = 0;
8506 wxBitmap *arg1 = 0 ;
8507 long arg2 ;
8508 int arg3 ;
8509 wxWindow *arg4 = (wxWindow *) 0 ;
8510 int arg5 = (int) -1 ;
8511 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8512 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8513 wxSize const &arg7_defvalue = wxDefaultSize ;
8514 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8515 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8516 wxSplashScreen *result = 0 ;
8517 void *argp1 = 0 ;
8518 int res1 = 0 ;
8519 long val2 ;
8520 int ecode2 = 0 ;
8521 int val3 ;
8522 int ecode3 = 0 ;
8523 void *argp4 = 0 ;
8524 int res4 = 0 ;
8525 int val5 ;
8526 int ecode5 = 0 ;
8527 wxPoint temp6 ;
8528 wxSize temp7 ;
8529 long val8 ;
8530 int ecode8 = 0 ;
8531 PyObject * obj0 = 0 ;
8532 PyObject * obj1 = 0 ;
8533 PyObject * obj2 = 0 ;
8534 PyObject * obj3 = 0 ;
8535 PyObject * obj4 = 0 ;
8536 PyObject * obj5 = 0 ;
8537 PyObject * obj6 = 0 ;
8538 PyObject * obj7 = 0 ;
8539 char * kwnames[] = {
8540 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8541 };
8542
8543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8544 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8545 if (!SWIG_IsOK(res1)) {
8546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8547 }
8548 if (!argp1) {
8549 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8550 }
8551 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8552 ecode2 = SWIG_AsVal_long(obj1, &val2);
8553 if (!SWIG_IsOK(ecode2)) {
8554 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8555 }
8556 arg2 = static_cast< long >(val2);
8557 ecode3 = SWIG_AsVal_int(obj2, &val3);
8558 if (!SWIG_IsOK(ecode3)) {
8559 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8560 }
8561 arg3 = static_cast< int >(val3);
8562 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8563 if (!SWIG_IsOK(res4)) {
8564 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8565 }
8566 arg4 = reinterpret_cast< wxWindow * >(argp4);
8567 if (obj4) {
8568 ecode5 = SWIG_AsVal_int(obj4, &val5);
8569 if (!SWIG_IsOK(ecode5)) {
8570 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8571 }
8572 arg5 = static_cast< int >(val5);
8573 }
8574 if (obj5) {
8575 {
8576 arg6 = &temp6;
8577 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8578 }
8579 }
8580 if (obj6) {
8581 {
8582 arg7 = &temp7;
8583 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8584 }
8585 }
8586 if (obj7) {
8587 ecode8 = SWIG_AsVal_long(obj7, &val8);
8588 if (!SWIG_IsOK(ecode8)) {
8589 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8590 }
8591 arg8 = static_cast< long >(val8);
8592 }
8593 {
8594 if (!wxPyCheckForApp()) SWIG_fail;
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8597 wxPyEndAllowThreads(__tstate);
8598 if (PyErr_Occurred()) SWIG_fail;
8599 }
8600 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8601 return resultobj;
8602 fail:
8603 return NULL;
8604 }
8605
8606
8607 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8608 PyObject *resultobj = 0;
8609 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8610 long result;
8611 void *argp1 = 0 ;
8612 int res1 = 0 ;
8613 PyObject *swig_obj[1] ;
8614
8615 if (!args) SWIG_fail;
8616 swig_obj[0] = args;
8617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8618 if (!SWIG_IsOK(res1)) {
8619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8620 }
8621 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8622 {
8623 PyThreadState* __tstate = wxPyBeginAllowThreads();
8624 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8625 wxPyEndAllowThreads(__tstate);
8626 if (PyErr_Occurred()) SWIG_fail;
8627 }
8628 resultobj = SWIG_From_long(static_cast< long >(result));
8629 return resultobj;
8630 fail:
8631 return NULL;
8632 }
8633
8634
8635 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8636 PyObject *resultobj = 0;
8637 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8638 wxSplashScreenWindow *result = 0 ;
8639 void *argp1 = 0 ;
8640 int res1 = 0 ;
8641 PyObject *swig_obj[1] ;
8642
8643 if (!args) SWIG_fail;
8644 swig_obj[0] = args;
8645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8646 if (!SWIG_IsOK(res1)) {
8647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8648 }
8649 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8650 {
8651 PyThreadState* __tstate = wxPyBeginAllowThreads();
8652 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8653 wxPyEndAllowThreads(__tstate);
8654 if (PyErr_Occurred()) SWIG_fail;
8655 }
8656 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8657 return resultobj;
8658 fail:
8659 return NULL;
8660 }
8661
8662
8663 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8664 PyObject *resultobj = 0;
8665 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8666 int result;
8667 void *argp1 = 0 ;
8668 int res1 = 0 ;
8669 PyObject *swig_obj[1] ;
8670
8671 if (!args) SWIG_fail;
8672 swig_obj[0] = args;
8673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8674 if (!SWIG_IsOK(res1)) {
8675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8676 }
8677 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8678 {
8679 PyThreadState* __tstate = wxPyBeginAllowThreads();
8680 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8681 wxPyEndAllowThreads(__tstate);
8682 if (PyErr_Occurred()) SWIG_fail;
8683 }
8684 resultobj = SWIG_From_int(static_cast< int >(result));
8685 return resultobj;
8686 fail:
8687 return NULL;
8688 }
8689
8690
8691 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8692 PyObject *obj;
8693 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8694 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8695 return SWIG_Py_Void();
8696 }
8697
8698 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8699 return SWIG_Python_InitShadowInstance(args);
8700 }
8701
8702 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8703 PyObject *resultobj = 0;
8704 wxWindow *arg1 = (wxWindow *) 0 ;
8705 int arg2 = (int) -1 ;
8706 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8707 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8708 wxString *arg4 = (wxString *) &arg4_defvalue ;
8709 wxStatusBar *result = 0 ;
8710 void *argp1 = 0 ;
8711 int res1 = 0 ;
8712 int val2 ;
8713 int ecode2 = 0 ;
8714 long val3 ;
8715 int ecode3 = 0 ;
8716 bool temp4 = false ;
8717 PyObject * obj0 = 0 ;
8718 PyObject * obj1 = 0 ;
8719 PyObject * obj2 = 0 ;
8720 PyObject * obj3 = 0 ;
8721 char * kwnames[] = {
8722 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8723 };
8724
8725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8727 if (!SWIG_IsOK(res1)) {
8728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8729 }
8730 arg1 = reinterpret_cast< wxWindow * >(argp1);
8731 if (obj1) {
8732 ecode2 = SWIG_AsVal_int(obj1, &val2);
8733 if (!SWIG_IsOK(ecode2)) {
8734 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8735 }
8736 arg2 = static_cast< int >(val2);
8737 }
8738 if (obj2) {
8739 ecode3 = SWIG_AsVal_long(obj2, &val3);
8740 if (!SWIG_IsOK(ecode3)) {
8741 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8742 }
8743 arg3 = static_cast< long >(val3);
8744 }
8745 if (obj3) {
8746 {
8747 arg4 = wxString_in_helper(obj3);
8748 if (arg4 == NULL) SWIG_fail;
8749 temp4 = true;
8750 }
8751 }
8752 {
8753 if (!wxPyCheckForApp()) SWIG_fail;
8754 PyThreadState* __tstate = wxPyBeginAllowThreads();
8755 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8756 wxPyEndAllowThreads(__tstate);
8757 if (PyErr_Occurred()) SWIG_fail;
8758 }
8759 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8760 {
8761 if (temp4)
8762 delete arg4;
8763 }
8764 return resultobj;
8765 fail:
8766 {
8767 if (temp4)
8768 delete arg4;
8769 }
8770 return NULL;
8771 }
8772
8773
8774 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8775 PyObject *resultobj = 0;
8776 wxStatusBar *result = 0 ;
8777
8778 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8779 {
8780 if (!wxPyCheckForApp()) SWIG_fail;
8781 PyThreadState* __tstate = wxPyBeginAllowThreads();
8782 result = (wxStatusBar *)new wxStatusBar();
8783 wxPyEndAllowThreads(__tstate);
8784 if (PyErr_Occurred()) SWIG_fail;
8785 }
8786 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8787 return resultobj;
8788 fail:
8789 return NULL;
8790 }
8791
8792
8793 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8794 PyObject *resultobj = 0;
8795 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8796 wxWindow *arg2 = (wxWindow *) 0 ;
8797 int arg3 = (int) -1 ;
8798 long arg4 = (long) wxST_SIZEGRIP ;
8799 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8800 wxString *arg5 = (wxString *) &arg5_defvalue ;
8801 bool result;
8802 void *argp1 = 0 ;
8803 int res1 = 0 ;
8804 void *argp2 = 0 ;
8805 int res2 = 0 ;
8806 int val3 ;
8807 int ecode3 = 0 ;
8808 long val4 ;
8809 int ecode4 = 0 ;
8810 bool temp5 = false ;
8811 PyObject * obj0 = 0 ;
8812 PyObject * obj1 = 0 ;
8813 PyObject * obj2 = 0 ;
8814 PyObject * obj3 = 0 ;
8815 PyObject * obj4 = 0 ;
8816 char * kwnames[] = {
8817 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8818 };
8819
8820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8822 if (!SWIG_IsOK(res1)) {
8823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8824 }
8825 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8826 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8827 if (!SWIG_IsOK(res2)) {
8828 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8829 }
8830 arg2 = reinterpret_cast< wxWindow * >(argp2);
8831 if (obj2) {
8832 ecode3 = SWIG_AsVal_int(obj2, &val3);
8833 if (!SWIG_IsOK(ecode3)) {
8834 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8835 }
8836 arg3 = static_cast< int >(val3);
8837 }
8838 if (obj3) {
8839 ecode4 = SWIG_AsVal_long(obj3, &val4);
8840 if (!SWIG_IsOK(ecode4)) {
8841 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8842 }
8843 arg4 = static_cast< long >(val4);
8844 }
8845 if (obj4) {
8846 {
8847 arg5 = wxString_in_helper(obj4);
8848 if (arg5 == NULL) SWIG_fail;
8849 temp5 = true;
8850 }
8851 }
8852 {
8853 PyThreadState* __tstate = wxPyBeginAllowThreads();
8854 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8855 wxPyEndAllowThreads(__tstate);
8856 if (PyErr_Occurred()) SWIG_fail;
8857 }
8858 {
8859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8860 }
8861 {
8862 if (temp5)
8863 delete arg5;
8864 }
8865 return resultobj;
8866 fail:
8867 {
8868 if (temp5)
8869 delete arg5;
8870 }
8871 return NULL;
8872 }
8873
8874
8875 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8876 PyObject *resultobj = 0;
8877 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8878 int arg2 = (int) 1 ;
8879 void *argp1 = 0 ;
8880 int res1 = 0 ;
8881 int val2 ;
8882 int ecode2 = 0 ;
8883 PyObject * obj0 = 0 ;
8884 PyObject * obj1 = 0 ;
8885 char * kwnames[] = {
8886 (char *) "self",(char *) "number", NULL
8887 };
8888
8889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8891 if (!SWIG_IsOK(res1)) {
8892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8893 }
8894 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8895 if (obj1) {
8896 ecode2 = SWIG_AsVal_int(obj1, &val2);
8897 if (!SWIG_IsOK(ecode2)) {
8898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8899 }
8900 arg2 = static_cast< int >(val2);
8901 }
8902 {
8903 PyThreadState* __tstate = wxPyBeginAllowThreads();
8904 (arg1)->SetFieldsCount(arg2);
8905 wxPyEndAllowThreads(__tstate);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 resultobj = SWIG_Py_Void();
8909 return resultobj;
8910 fail:
8911 return NULL;
8912 }
8913
8914
8915 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8916 PyObject *resultobj = 0;
8917 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8918 int result;
8919 void *argp1 = 0 ;
8920 int res1 = 0 ;
8921 PyObject *swig_obj[1] ;
8922
8923 if (!args) SWIG_fail;
8924 swig_obj[0] = args;
8925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8926 if (!SWIG_IsOK(res1)) {
8927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8928 }
8929 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8930 {
8931 PyThreadState* __tstate = wxPyBeginAllowThreads();
8932 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8933 wxPyEndAllowThreads(__tstate);
8934 if (PyErr_Occurred()) SWIG_fail;
8935 }
8936 resultobj = SWIG_From_int(static_cast< int >(result));
8937 return resultobj;
8938 fail:
8939 return NULL;
8940 }
8941
8942
8943 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8944 PyObject *resultobj = 0;
8945 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8946 wxString *arg2 = 0 ;
8947 int arg3 = (int) 0 ;
8948 void *argp1 = 0 ;
8949 int res1 = 0 ;
8950 bool temp2 = false ;
8951 int val3 ;
8952 int ecode3 = 0 ;
8953 PyObject * obj0 = 0 ;
8954 PyObject * obj1 = 0 ;
8955 PyObject * obj2 = 0 ;
8956 char * kwnames[] = {
8957 (char *) "self",(char *) "text",(char *) "number", NULL
8958 };
8959
8960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8962 if (!SWIG_IsOK(res1)) {
8963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8964 }
8965 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8966 {
8967 arg2 = wxString_in_helper(obj1);
8968 if (arg2 == NULL) SWIG_fail;
8969 temp2 = true;
8970 }
8971 if (obj2) {
8972 ecode3 = SWIG_AsVal_int(obj2, &val3);
8973 if (!SWIG_IsOK(ecode3)) {
8974 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8975 }
8976 arg3 = static_cast< int >(val3);
8977 }
8978 {
8979 PyThreadState* __tstate = wxPyBeginAllowThreads();
8980 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8981 wxPyEndAllowThreads(__tstate);
8982 if (PyErr_Occurred()) SWIG_fail;
8983 }
8984 resultobj = SWIG_Py_Void();
8985 {
8986 if (temp2)
8987 delete arg2;
8988 }
8989 return resultobj;
8990 fail:
8991 {
8992 if (temp2)
8993 delete arg2;
8994 }
8995 return NULL;
8996 }
8997
8998
8999 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9000 PyObject *resultobj = 0;
9001 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9002 int arg2 = (int) 0 ;
9003 wxString result;
9004 void *argp1 = 0 ;
9005 int res1 = 0 ;
9006 int val2 ;
9007 int ecode2 = 0 ;
9008 PyObject * obj0 = 0 ;
9009 PyObject * obj1 = 0 ;
9010 char * kwnames[] = {
9011 (char *) "self",(char *) "number", NULL
9012 };
9013
9014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9016 if (!SWIG_IsOK(res1)) {
9017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9018 }
9019 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9020 if (obj1) {
9021 ecode2 = SWIG_AsVal_int(obj1, &val2);
9022 if (!SWIG_IsOK(ecode2)) {
9023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9024 }
9025 arg2 = static_cast< int >(val2);
9026 }
9027 {
9028 PyThreadState* __tstate = wxPyBeginAllowThreads();
9029 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9030 wxPyEndAllowThreads(__tstate);
9031 if (PyErr_Occurred()) SWIG_fail;
9032 }
9033 {
9034 #if wxUSE_UNICODE
9035 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9036 #else
9037 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9038 #endif
9039 }
9040 return resultobj;
9041 fail:
9042 return NULL;
9043 }
9044
9045
9046 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9047 PyObject *resultobj = 0;
9048 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9049 wxString *arg2 = 0 ;
9050 int arg3 = (int) 0 ;
9051 void *argp1 = 0 ;
9052 int res1 = 0 ;
9053 bool temp2 = false ;
9054 int val3 ;
9055 int ecode3 = 0 ;
9056 PyObject * obj0 = 0 ;
9057 PyObject * obj1 = 0 ;
9058 PyObject * obj2 = 0 ;
9059 char * kwnames[] = {
9060 (char *) "self",(char *) "text",(char *) "number", NULL
9061 };
9062
9063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9065 if (!SWIG_IsOK(res1)) {
9066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9067 }
9068 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9069 {
9070 arg2 = wxString_in_helper(obj1);
9071 if (arg2 == NULL) SWIG_fail;
9072 temp2 = true;
9073 }
9074 if (obj2) {
9075 ecode3 = SWIG_AsVal_int(obj2, &val3);
9076 if (!SWIG_IsOK(ecode3)) {
9077 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9078 }
9079 arg3 = static_cast< int >(val3);
9080 }
9081 {
9082 PyThreadState* __tstate = wxPyBeginAllowThreads();
9083 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9084 wxPyEndAllowThreads(__tstate);
9085 if (PyErr_Occurred()) SWIG_fail;
9086 }
9087 resultobj = SWIG_Py_Void();
9088 {
9089 if (temp2)
9090 delete arg2;
9091 }
9092 return resultobj;
9093 fail:
9094 {
9095 if (temp2)
9096 delete arg2;
9097 }
9098 return NULL;
9099 }
9100
9101
9102 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9103 PyObject *resultobj = 0;
9104 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9105 int arg2 = (int) 0 ;
9106 void *argp1 = 0 ;
9107 int res1 = 0 ;
9108 int val2 ;
9109 int ecode2 = 0 ;
9110 PyObject * obj0 = 0 ;
9111 PyObject * obj1 = 0 ;
9112 char * kwnames[] = {
9113 (char *) "self",(char *) "number", NULL
9114 };
9115
9116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9118 if (!SWIG_IsOK(res1)) {
9119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9120 }
9121 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9122 if (obj1) {
9123 ecode2 = SWIG_AsVal_int(obj1, &val2);
9124 if (!SWIG_IsOK(ecode2)) {
9125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9126 }
9127 arg2 = static_cast< int >(val2);
9128 }
9129 {
9130 PyThreadState* __tstate = wxPyBeginAllowThreads();
9131 (arg1)->PopStatusText(arg2);
9132 wxPyEndAllowThreads(__tstate);
9133 if (PyErr_Occurred()) SWIG_fail;
9134 }
9135 resultobj = SWIG_Py_Void();
9136 return resultobj;
9137 fail:
9138 return NULL;
9139 }
9140
9141
9142 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9143 PyObject *resultobj = 0;
9144 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9145 int arg2 ;
9146 int *arg3 = (int *) 0 ;
9147 void *argp1 = 0 ;
9148 int res1 = 0 ;
9149 PyObject * obj0 = 0 ;
9150 PyObject * obj1 = 0 ;
9151 char * kwnames[] = {
9152 (char *) "self",(char *) "widths", NULL
9153 };
9154
9155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9157 if (!SWIG_IsOK(res1)) {
9158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9159 }
9160 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9161 {
9162 arg2 = PyList_Size(obj1);
9163 arg3 = int_LIST_helper(obj1);
9164 if (arg3 == NULL) SWIG_fail;
9165 }
9166 {
9167 PyThreadState* __tstate = wxPyBeginAllowThreads();
9168 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9169 wxPyEndAllowThreads(__tstate);
9170 if (PyErr_Occurred()) SWIG_fail;
9171 }
9172 resultobj = SWIG_Py_Void();
9173 {
9174 if (arg3) delete [] arg3;
9175 }
9176 return resultobj;
9177 fail:
9178 {
9179 if (arg3) delete [] arg3;
9180 }
9181 return NULL;
9182 }
9183
9184
9185 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9186 PyObject *resultobj = 0;
9187 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9188 int arg2 ;
9189 int *arg3 = (int *) 0 ;
9190 void *argp1 = 0 ;
9191 int res1 = 0 ;
9192 PyObject * obj0 = 0 ;
9193 PyObject * obj1 = 0 ;
9194 char * kwnames[] = {
9195 (char *) "self",(char *) "styles", NULL
9196 };
9197
9198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9200 if (!SWIG_IsOK(res1)) {
9201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9202 }
9203 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9204 {
9205 arg2 = PyList_Size(obj1);
9206 arg3 = int_LIST_helper(obj1);
9207 if (arg3 == NULL) SWIG_fail;
9208 }
9209 {
9210 PyThreadState* __tstate = wxPyBeginAllowThreads();
9211 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9212 wxPyEndAllowThreads(__tstate);
9213 if (PyErr_Occurred()) SWIG_fail;
9214 }
9215 resultobj = SWIG_Py_Void();
9216 {
9217 if (arg3) delete [] arg3;
9218 }
9219 return resultobj;
9220 fail:
9221 {
9222 if (arg3) delete [] arg3;
9223 }
9224 return NULL;
9225 }
9226
9227
9228 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9229 PyObject *resultobj = 0;
9230 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9231 int arg2 ;
9232 wxRect result;
9233 void *argp1 = 0 ;
9234 int res1 = 0 ;
9235 int val2 ;
9236 int ecode2 = 0 ;
9237 PyObject * obj0 = 0 ;
9238 PyObject * obj1 = 0 ;
9239 char * kwnames[] = {
9240 (char *) "self",(char *) "i", NULL
9241 };
9242
9243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9245 if (!SWIG_IsOK(res1)) {
9246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9247 }
9248 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9249 ecode2 = SWIG_AsVal_int(obj1, &val2);
9250 if (!SWIG_IsOK(ecode2)) {
9251 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9252 }
9253 arg2 = static_cast< int >(val2);
9254 {
9255 PyThreadState* __tstate = wxPyBeginAllowThreads();
9256 result = wxStatusBar_GetFieldRect(arg1,arg2);
9257 wxPyEndAllowThreads(__tstate);
9258 if (PyErr_Occurred()) SWIG_fail;
9259 }
9260 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9261 return resultobj;
9262 fail:
9263 return NULL;
9264 }
9265
9266
9267 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9268 PyObject *resultobj = 0;
9269 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9270 int arg2 ;
9271 void *argp1 = 0 ;
9272 int res1 = 0 ;
9273 int val2 ;
9274 int ecode2 = 0 ;
9275 PyObject * obj0 = 0 ;
9276 PyObject * obj1 = 0 ;
9277 char * kwnames[] = {
9278 (char *) "self",(char *) "height", NULL
9279 };
9280
9281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9283 if (!SWIG_IsOK(res1)) {
9284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9285 }
9286 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9287 ecode2 = SWIG_AsVal_int(obj1, &val2);
9288 if (!SWIG_IsOK(ecode2)) {
9289 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9290 }
9291 arg2 = static_cast< int >(val2);
9292 {
9293 PyThreadState* __tstate = wxPyBeginAllowThreads();
9294 (arg1)->SetMinHeight(arg2);
9295 wxPyEndAllowThreads(__tstate);
9296 if (PyErr_Occurred()) SWIG_fail;
9297 }
9298 resultobj = SWIG_Py_Void();
9299 return resultobj;
9300 fail:
9301 return NULL;
9302 }
9303
9304
9305 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9306 PyObject *resultobj = 0;
9307 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9308 int result;
9309 void *argp1 = 0 ;
9310 int res1 = 0 ;
9311 PyObject *swig_obj[1] ;
9312
9313 if (!args) SWIG_fail;
9314 swig_obj[0] = args;
9315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9316 if (!SWIG_IsOK(res1)) {
9317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9318 }
9319 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9320 {
9321 PyThreadState* __tstate = wxPyBeginAllowThreads();
9322 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9323 wxPyEndAllowThreads(__tstate);
9324 if (PyErr_Occurred()) SWIG_fail;
9325 }
9326 resultobj = SWIG_From_int(static_cast< int >(result));
9327 return resultobj;
9328 fail:
9329 return NULL;
9330 }
9331
9332
9333 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9334 PyObject *resultobj = 0;
9335 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9336 int result;
9337 void *argp1 = 0 ;
9338 int res1 = 0 ;
9339 PyObject *swig_obj[1] ;
9340
9341 if (!args) SWIG_fail;
9342 swig_obj[0] = args;
9343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9344 if (!SWIG_IsOK(res1)) {
9345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9346 }
9347 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9348 {
9349 PyThreadState* __tstate = wxPyBeginAllowThreads();
9350 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9351 wxPyEndAllowThreads(__tstate);
9352 if (PyErr_Occurred()) SWIG_fail;
9353 }
9354 resultobj = SWIG_From_int(static_cast< int >(result));
9355 return resultobj;
9356 fail:
9357 return NULL;
9358 }
9359
9360
9361 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9362 PyObject *resultobj = 0;
9363 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9364 SwigValueWrapper<wxVisualAttributes > result;
9365 int val1 ;
9366 int ecode1 = 0 ;
9367 PyObject * obj0 = 0 ;
9368 char * kwnames[] = {
9369 (char *) "variant", NULL
9370 };
9371
9372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9373 if (obj0) {
9374 ecode1 = SWIG_AsVal_int(obj0, &val1);
9375 if (!SWIG_IsOK(ecode1)) {
9376 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9377 }
9378 arg1 = static_cast< wxWindowVariant >(val1);
9379 }
9380 {
9381 if (!wxPyCheckForApp()) SWIG_fail;
9382 PyThreadState* __tstate = wxPyBeginAllowThreads();
9383 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9384 wxPyEndAllowThreads(__tstate);
9385 if (PyErr_Occurred()) SWIG_fail;
9386 }
9387 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9388 return resultobj;
9389 fail:
9390 return NULL;
9391 }
9392
9393
9394 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9395 PyObject *obj;
9396 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9397 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9398 return SWIG_Py_Void();
9399 }
9400
9401 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9402 return SWIG_Python_InitShadowInstance(args);
9403 }
9404
9405 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9406 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9407 return 1;
9408 }
9409
9410
9411 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9412 PyObject *pyobj = 0;
9413
9414 {
9415 #if wxUSE_UNICODE
9416 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9417 #else
9418 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9419 #endif
9420 }
9421 return pyobj;
9422 }
9423
9424
9425 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9426 PyObject *resultobj = 0;
9427 wxWindow *arg1 = (wxWindow *) 0 ;
9428 int arg2 = (int) -1 ;
9429 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9430 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9431 wxSize const &arg4_defvalue = wxDefaultSize ;
9432 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9433 long arg5 = (long) wxSP_3D ;
9434 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9435 wxString *arg6 = (wxString *) &arg6_defvalue ;
9436 wxSplitterWindow *result = 0 ;
9437 void *argp1 = 0 ;
9438 int res1 = 0 ;
9439 int val2 ;
9440 int ecode2 = 0 ;
9441 wxPoint temp3 ;
9442 wxSize temp4 ;
9443 long val5 ;
9444 int ecode5 = 0 ;
9445 bool temp6 = false ;
9446 PyObject * obj0 = 0 ;
9447 PyObject * obj1 = 0 ;
9448 PyObject * obj2 = 0 ;
9449 PyObject * obj3 = 0 ;
9450 PyObject * obj4 = 0 ;
9451 PyObject * obj5 = 0 ;
9452 char * kwnames[] = {
9453 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9454 };
9455
9456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9458 if (!SWIG_IsOK(res1)) {
9459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9460 }
9461 arg1 = reinterpret_cast< wxWindow * >(argp1);
9462 if (obj1) {
9463 ecode2 = SWIG_AsVal_int(obj1, &val2);
9464 if (!SWIG_IsOK(ecode2)) {
9465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9466 }
9467 arg2 = static_cast< int >(val2);
9468 }
9469 if (obj2) {
9470 {
9471 arg3 = &temp3;
9472 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9473 }
9474 }
9475 if (obj3) {
9476 {
9477 arg4 = &temp4;
9478 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9479 }
9480 }
9481 if (obj4) {
9482 ecode5 = SWIG_AsVal_long(obj4, &val5);
9483 if (!SWIG_IsOK(ecode5)) {
9484 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9485 }
9486 arg5 = static_cast< long >(val5);
9487 }
9488 if (obj5) {
9489 {
9490 arg6 = wxString_in_helper(obj5);
9491 if (arg6 == NULL) SWIG_fail;
9492 temp6 = true;
9493 }
9494 }
9495 {
9496 if (!wxPyCheckForApp()) SWIG_fail;
9497 PyThreadState* __tstate = wxPyBeginAllowThreads();
9498 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9499 wxPyEndAllowThreads(__tstate);
9500 if (PyErr_Occurred()) SWIG_fail;
9501 }
9502 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9503 {
9504 if (temp6)
9505 delete arg6;
9506 }
9507 return resultobj;
9508 fail:
9509 {
9510 if (temp6)
9511 delete arg6;
9512 }
9513 return NULL;
9514 }
9515
9516
9517 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9518 PyObject *resultobj = 0;
9519 wxSplitterWindow *result = 0 ;
9520
9521 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9522 {
9523 if (!wxPyCheckForApp()) SWIG_fail;
9524 PyThreadState* __tstate = wxPyBeginAllowThreads();
9525 result = (wxSplitterWindow *)new wxSplitterWindow();
9526 wxPyEndAllowThreads(__tstate);
9527 if (PyErr_Occurred()) SWIG_fail;
9528 }
9529 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9530 return resultobj;
9531 fail:
9532 return NULL;
9533 }
9534
9535
9536 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9537 PyObject *resultobj = 0;
9538 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9539 wxWindow *arg2 = (wxWindow *) 0 ;
9540 int arg3 = (int) -1 ;
9541 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9542 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9543 wxSize const &arg5_defvalue = wxDefaultSize ;
9544 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9545 long arg6 = (long) wxSP_3D ;
9546 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9547 wxString *arg7 = (wxString *) &arg7_defvalue ;
9548 bool result;
9549 void *argp1 = 0 ;
9550 int res1 = 0 ;
9551 void *argp2 = 0 ;
9552 int res2 = 0 ;
9553 int val3 ;
9554 int ecode3 = 0 ;
9555 wxPoint temp4 ;
9556 wxSize temp5 ;
9557 long val6 ;
9558 int ecode6 = 0 ;
9559 bool temp7 = false ;
9560 PyObject * obj0 = 0 ;
9561 PyObject * obj1 = 0 ;
9562 PyObject * obj2 = 0 ;
9563 PyObject * obj3 = 0 ;
9564 PyObject * obj4 = 0 ;
9565 PyObject * obj5 = 0 ;
9566 PyObject * obj6 = 0 ;
9567 char * kwnames[] = {
9568 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9569 };
9570
9571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9573 if (!SWIG_IsOK(res1)) {
9574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9575 }
9576 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9577 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9578 if (!SWIG_IsOK(res2)) {
9579 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9580 }
9581 arg2 = reinterpret_cast< wxWindow * >(argp2);
9582 if (obj2) {
9583 ecode3 = SWIG_AsVal_int(obj2, &val3);
9584 if (!SWIG_IsOK(ecode3)) {
9585 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9586 }
9587 arg3 = static_cast< int >(val3);
9588 }
9589 if (obj3) {
9590 {
9591 arg4 = &temp4;
9592 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9593 }
9594 }
9595 if (obj4) {
9596 {
9597 arg5 = &temp5;
9598 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9599 }
9600 }
9601 if (obj5) {
9602 ecode6 = SWIG_AsVal_long(obj5, &val6);
9603 if (!SWIG_IsOK(ecode6)) {
9604 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9605 }
9606 arg6 = static_cast< long >(val6);
9607 }
9608 if (obj6) {
9609 {
9610 arg7 = wxString_in_helper(obj6);
9611 if (arg7 == NULL) SWIG_fail;
9612 temp7 = true;
9613 }
9614 }
9615 {
9616 PyThreadState* __tstate = wxPyBeginAllowThreads();
9617 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9618 wxPyEndAllowThreads(__tstate);
9619 if (PyErr_Occurred()) SWIG_fail;
9620 }
9621 {
9622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9623 }
9624 {
9625 if (temp7)
9626 delete arg7;
9627 }
9628 return resultobj;
9629 fail:
9630 {
9631 if (temp7)
9632 delete arg7;
9633 }
9634 return NULL;
9635 }
9636
9637
9638 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9639 PyObject *resultobj = 0;
9640 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9641 wxWindow *result = 0 ;
9642 void *argp1 = 0 ;
9643 int res1 = 0 ;
9644 PyObject *swig_obj[1] ;
9645
9646 if (!args) SWIG_fail;
9647 swig_obj[0] = args;
9648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9649 if (!SWIG_IsOK(res1)) {
9650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9651 }
9652 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9653 {
9654 PyThreadState* __tstate = wxPyBeginAllowThreads();
9655 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9656 wxPyEndAllowThreads(__tstate);
9657 if (PyErr_Occurred()) SWIG_fail;
9658 }
9659 {
9660 resultobj = wxPyMake_wxObject(result, 0);
9661 }
9662 return resultobj;
9663 fail:
9664 return NULL;
9665 }
9666
9667
9668 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9669 PyObject *resultobj = 0;
9670 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9671 wxWindow *result = 0 ;
9672 void *argp1 = 0 ;
9673 int res1 = 0 ;
9674 PyObject *swig_obj[1] ;
9675
9676 if (!args) SWIG_fail;
9677 swig_obj[0] = args;
9678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9679 if (!SWIG_IsOK(res1)) {
9680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9681 }
9682 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9683 {
9684 PyThreadState* __tstate = wxPyBeginAllowThreads();
9685 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9686 wxPyEndAllowThreads(__tstate);
9687 if (PyErr_Occurred()) SWIG_fail;
9688 }
9689 {
9690 resultobj = wxPyMake_wxObject(result, 0);
9691 }
9692 return resultobj;
9693 fail:
9694 return NULL;
9695 }
9696
9697
9698 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9699 PyObject *resultobj = 0;
9700 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9701 int arg2 ;
9702 void *argp1 = 0 ;
9703 int res1 = 0 ;
9704 int val2 ;
9705 int ecode2 = 0 ;
9706 PyObject * obj0 = 0 ;
9707 PyObject * obj1 = 0 ;
9708 char * kwnames[] = {
9709 (char *) "self",(char *) "mode", NULL
9710 };
9711
9712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9714 if (!SWIG_IsOK(res1)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9716 }
9717 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9718 ecode2 = SWIG_AsVal_int(obj1, &val2);
9719 if (!SWIG_IsOK(ecode2)) {
9720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9721 }
9722 arg2 = static_cast< int >(val2);
9723 {
9724 PyThreadState* __tstate = wxPyBeginAllowThreads();
9725 (arg1)->SetSplitMode(arg2);
9726 wxPyEndAllowThreads(__tstate);
9727 if (PyErr_Occurred()) SWIG_fail;
9728 }
9729 resultobj = SWIG_Py_Void();
9730 return resultobj;
9731 fail:
9732 return NULL;
9733 }
9734
9735
9736 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9737 PyObject *resultobj = 0;
9738 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9739 wxSplitMode result;
9740 void *argp1 = 0 ;
9741 int res1 = 0 ;
9742 PyObject *swig_obj[1] ;
9743
9744 if (!args) SWIG_fail;
9745 swig_obj[0] = args;
9746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9747 if (!SWIG_IsOK(res1)) {
9748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9749 }
9750 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9751 {
9752 PyThreadState* __tstate = wxPyBeginAllowThreads();
9753 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9754 wxPyEndAllowThreads(__tstate);
9755 if (PyErr_Occurred()) SWIG_fail;
9756 }
9757 resultobj = SWIG_From_int(static_cast< int >(result));
9758 return resultobj;
9759 fail:
9760 return NULL;
9761 }
9762
9763
9764 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9765 PyObject *resultobj = 0;
9766 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9767 wxWindow *arg2 = (wxWindow *) 0 ;
9768 void *argp1 = 0 ;
9769 int res1 = 0 ;
9770 void *argp2 = 0 ;
9771 int res2 = 0 ;
9772 PyObject * obj0 = 0 ;
9773 PyObject * obj1 = 0 ;
9774 char * kwnames[] = {
9775 (char *) "self",(char *) "window", NULL
9776 };
9777
9778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9780 if (!SWIG_IsOK(res1)) {
9781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9782 }
9783 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9784 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9785 if (!SWIG_IsOK(res2)) {
9786 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9787 }
9788 arg2 = reinterpret_cast< wxWindow * >(argp2);
9789 {
9790 PyThreadState* __tstate = wxPyBeginAllowThreads();
9791 (arg1)->Initialize(arg2);
9792 wxPyEndAllowThreads(__tstate);
9793 if (PyErr_Occurred()) SWIG_fail;
9794 }
9795 resultobj = SWIG_Py_Void();
9796 return resultobj;
9797 fail:
9798 return NULL;
9799 }
9800
9801
9802 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9803 PyObject *resultobj = 0;
9804 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9805 wxWindow *arg2 = (wxWindow *) 0 ;
9806 wxWindow *arg3 = (wxWindow *) 0 ;
9807 int arg4 = (int) 0 ;
9808 bool result;
9809 void *argp1 = 0 ;
9810 int res1 = 0 ;
9811 void *argp2 = 0 ;
9812 int res2 = 0 ;
9813 void *argp3 = 0 ;
9814 int res3 = 0 ;
9815 int val4 ;
9816 int ecode4 = 0 ;
9817 PyObject * obj0 = 0 ;
9818 PyObject * obj1 = 0 ;
9819 PyObject * obj2 = 0 ;
9820 PyObject * obj3 = 0 ;
9821 char * kwnames[] = {
9822 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9823 };
9824
9825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9827 if (!SWIG_IsOK(res1)) {
9828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9829 }
9830 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9831 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9832 if (!SWIG_IsOK(res2)) {
9833 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9834 }
9835 arg2 = reinterpret_cast< wxWindow * >(argp2);
9836 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9837 if (!SWIG_IsOK(res3)) {
9838 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9839 }
9840 arg3 = reinterpret_cast< wxWindow * >(argp3);
9841 if (obj3) {
9842 ecode4 = SWIG_AsVal_int(obj3, &val4);
9843 if (!SWIG_IsOK(ecode4)) {
9844 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9845 }
9846 arg4 = static_cast< int >(val4);
9847 }
9848 {
9849 PyThreadState* __tstate = wxPyBeginAllowThreads();
9850 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9851 wxPyEndAllowThreads(__tstate);
9852 if (PyErr_Occurred()) SWIG_fail;
9853 }
9854 {
9855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9856 }
9857 return resultobj;
9858 fail:
9859 return NULL;
9860 }
9861
9862
9863 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9864 PyObject *resultobj = 0;
9865 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9866 wxWindow *arg2 = (wxWindow *) 0 ;
9867 wxWindow *arg3 = (wxWindow *) 0 ;
9868 int arg4 = (int) 0 ;
9869 bool result;
9870 void *argp1 = 0 ;
9871 int res1 = 0 ;
9872 void *argp2 = 0 ;
9873 int res2 = 0 ;
9874 void *argp3 = 0 ;
9875 int res3 = 0 ;
9876 int val4 ;
9877 int ecode4 = 0 ;
9878 PyObject * obj0 = 0 ;
9879 PyObject * obj1 = 0 ;
9880 PyObject * obj2 = 0 ;
9881 PyObject * obj3 = 0 ;
9882 char * kwnames[] = {
9883 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9884 };
9885
9886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9888 if (!SWIG_IsOK(res1)) {
9889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9890 }
9891 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9892 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9893 if (!SWIG_IsOK(res2)) {
9894 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9895 }
9896 arg2 = reinterpret_cast< wxWindow * >(argp2);
9897 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9898 if (!SWIG_IsOK(res3)) {
9899 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9900 }
9901 arg3 = reinterpret_cast< wxWindow * >(argp3);
9902 if (obj3) {
9903 ecode4 = SWIG_AsVal_int(obj3, &val4);
9904 if (!SWIG_IsOK(ecode4)) {
9905 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9906 }
9907 arg4 = static_cast< int >(val4);
9908 }
9909 {
9910 PyThreadState* __tstate = wxPyBeginAllowThreads();
9911 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9912 wxPyEndAllowThreads(__tstate);
9913 if (PyErr_Occurred()) SWIG_fail;
9914 }
9915 {
9916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9917 }
9918 return resultobj;
9919 fail:
9920 return NULL;
9921 }
9922
9923
9924 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9925 PyObject *resultobj = 0;
9926 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9927 wxWindow *arg2 = (wxWindow *) NULL ;
9928 bool result;
9929 void *argp1 = 0 ;
9930 int res1 = 0 ;
9931 void *argp2 = 0 ;
9932 int res2 = 0 ;
9933 PyObject * obj0 = 0 ;
9934 PyObject * obj1 = 0 ;
9935 char * kwnames[] = {
9936 (char *) "self",(char *) "toRemove", NULL
9937 };
9938
9939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9941 if (!SWIG_IsOK(res1)) {
9942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9943 }
9944 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9945 if (obj1) {
9946 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9947 if (!SWIG_IsOK(res2)) {
9948 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9949 }
9950 arg2 = reinterpret_cast< wxWindow * >(argp2);
9951 }
9952 {
9953 PyThreadState* __tstate = wxPyBeginAllowThreads();
9954 result = (bool)(arg1)->Unsplit(arg2);
9955 wxPyEndAllowThreads(__tstate);
9956 if (PyErr_Occurred()) SWIG_fail;
9957 }
9958 {
9959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9960 }
9961 return resultobj;
9962 fail:
9963 return NULL;
9964 }
9965
9966
9967 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9968 PyObject *resultobj = 0;
9969 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9970 wxWindow *arg2 = (wxWindow *) 0 ;
9971 wxWindow *arg3 = (wxWindow *) 0 ;
9972 bool result;
9973 void *argp1 = 0 ;
9974 int res1 = 0 ;
9975 void *argp2 = 0 ;
9976 int res2 = 0 ;
9977 void *argp3 = 0 ;
9978 int res3 = 0 ;
9979 PyObject * obj0 = 0 ;
9980 PyObject * obj1 = 0 ;
9981 PyObject * obj2 = 0 ;
9982 char * kwnames[] = {
9983 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9984 };
9985
9986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9988 if (!SWIG_IsOK(res1)) {
9989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9990 }
9991 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9992 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9993 if (!SWIG_IsOK(res2)) {
9994 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9995 }
9996 arg2 = reinterpret_cast< wxWindow * >(argp2);
9997 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9998 if (!SWIG_IsOK(res3)) {
9999 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10000 }
10001 arg3 = reinterpret_cast< wxWindow * >(argp3);
10002 {
10003 PyThreadState* __tstate = wxPyBeginAllowThreads();
10004 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10005 wxPyEndAllowThreads(__tstate);
10006 if (PyErr_Occurred()) SWIG_fail;
10007 }
10008 {
10009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10010 }
10011 return resultobj;
10012 fail:
10013 return NULL;
10014 }
10015
10016
10017 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10018 PyObject *resultobj = 0;
10019 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10020 void *argp1 = 0 ;
10021 int res1 = 0 ;
10022 PyObject *swig_obj[1] ;
10023
10024 if (!args) SWIG_fail;
10025 swig_obj[0] = args;
10026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10027 if (!SWIG_IsOK(res1)) {
10028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10029 }
10030 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10031 {
10032 PyThreadState* __tstate = wxPyBeginAllowThreads();
10033 (arg1)->UpdateSize();
10034 wxPyEndAllowThreads(__tstate);
10035 if (PyErr_Occurred()) SWIG_fail;
10036 }
10037 resultobj = SWIG_Py_Void();
10038 return resultobj;
10039 fail:
10040 return NULL;
10041 }
10042
10043
10044 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10045 PyObject *resultobj = 0;
10046 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10047 bool result;
10048 void *argp1 = 0 ;
10049 int res1 = 0 ;
10050 PyObject *swig_obj[1] ;
10051
10052 if (!args) SWIG_fail;
10053 swig_obj[0] = args;
10054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10055 if (!SWIG_IsOK(res1)) {
10056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10057 }
10058 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10059 {
10060 PyThreadState* __tstate = wxPyBeginAllowThreads();
10061 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10062 wxPyEndAllowThreads(__tstate);
10063 if (PyErr_Occurred()) SWIG_fail;
10064 }
10065 {
10066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10067 }
10068 return resultobj;
10069 fail:
10070 return NULL;
10071 }
10072
10073
10074 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10075 PyObject *resultobj = 0;
10076 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10077 int arg2 ;
10078 void *argp1 = 0 ;
10079 int res1 = 0 ;
10080 int val2 ;
10081 int ecode2 = 0 ;
10082 PyObject * obj0 = 0 ;
10083 PyObject * obj1 = 0 ;
10084 char * kwnames[] = {
10085 (char *) "self",(char *) "width", NULL
10086 };
10087
10088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10090 if (!SWIG_IsOK(res1)) {
10091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10092 }
10093 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10094 ecode2 = SWIG_AsVal_int(obj1, &val2);
10095 if (!SWIG_IsOK(ecode2)) {
10096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10097 }
10098 arg2 = static_cast< int >(val2);
10099 {
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
10101 (arg1)->SetSashSize(arg2);
10102 wxPyEndAllowThreads(__tstate);
10103 if (PyErr_Occurred()) SWIG_fail;
10104 }
10105 resultobj = SWIG_Py_Void();
10106 return resultobj;
10107 fail:
10108 return NULL;
10109 }
10110
10111
10112 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10113 PyObject *resultobj = 0;
10114 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10115 int arg2 ;
10116 void *argp1 = 0 ;
10117 int res1 = 0 ;
10118 int val2 ;
10119 int ecode2 = 0 ;
10120 PyObject * obj0 = 0 ;
10121 PyObject * obj1 = 0 ;
10122 char * kwnames[] = {
10123 (char *) "self",(char *) "width", NULL
10124 };
10125
10126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10128 if (!SWIG_IsOK(res1)) {
10129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10130 }
10131 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10132 ecode2 = SWIG_AsVal_int(obj1, &val2);
10133 if (!SWIG_IsOK(ecode2)) {
10134 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10135 }
10136 arg2 = static_cast< int >(val2);
10137 {
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 (arg1)->SetBorderSize(arg2);
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 resultobj = SWIG_Py_Void();
10144 return resultobj;
10145 fail:
10146 return NULL;
10147 }
10148
10149
10150 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10151 PyObject *resultobj = 0;
10152 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10153 int result;
10154 void *argp1 = 0 ;
10155 int res1 = 0 ;
10156 PyObject *swig_obj[1] ;
10157
10158 if (!args) SWIG_fail;
10159 swig_obj[0] = args;
10160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10161 if (!SWIG_IsOK(res1)) {
10162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10163 }
10164 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10165 {
10166 PyThreadState* __tstate = wxPyBeginAllowThreads();
10167 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10168 wxPyEndAllowThreads(__tstate);
10169 if (PyErr_Occurred()) SWIG_fail;
10170 }
10171 resultobj = SWIG_From_int(static_cast< int >(result));
10172 return resultobj;
10173 fail:
10174 return NULL;
10175 }
10176
10177
10178 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10179 PyObject *resultobj = 0;
10180 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10181 int result;
10182 void *argp1 = 0 ;
10183 int res1 = 0 ;
10184 PyObject *swig_obj[1] ;
10185
10186 if (!args) SWIG_fail;
10187 swig_obj[0] = args;
10188 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10189 if (!SWIG_IsOK(res1)) {
10190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10191 }
10192 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10193 {
10194 PyThreadState* __tstate = wxPyBeginAllowThreads();
10195 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10196 wxPyEndAllowThreads(__tstate);
10197 if (PyErr_Occurred()) SWIG_fail;
10198 }
10199 resultobj = SWIG_From_int(static_cast< int >(result));
10200 return resultobj;
10201 fail:
10202 return NULL;
10203 }
10204
10205
10206 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10207 PyObject *resultobj = 0;
10208 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10209 int arg2 ;
10210 bool arg3 = (bool) true ;
10211 void *argp1 = 0 ;
10212 int res1 = 0 ;
10213 int val2 ;
10214 int ecode2 = 0 ;
10215 bool val3 ;
10216 int ecode3 = 0 ;
10217 PyObject * obj0 = 0 ;
10218 PyObject * obj1 = 0 ;
10219 PyObject * obj2 = 0 ;
10220 char * kwnames[] = {
10221 (char *) "self",(char *) "position",(char *) "redraw", NULL
10222 };
10223
10224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10226 if (!SWIG_IsOK(res1)) {
10227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10228 }
10229 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10230 ecode2 = SWIG_AsVal_int(obj1, &val2);
10231 if (!SWIG_IsOK(ecode2)) {
10232 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10233 }
10234 arg2 = static_cast< int >(val2);
10235 if (obj2) {
10236 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10237 if (!SWIG_IsOK(ecode3)) {
10238 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10239 }
10240 arg3 = static_cast< bool >(val3);
10241 }
10242 {
10243 PyThreadState* __tstate = wxPyBeginAllowThreads();
10244 (arg1)->SetSashPosition(arg2,arg3);
10245 wxPyEndAllowThreads(__tstate);
10246 if (PyErr_Occurred()) SWIG_fail;
10247 }
10248 resultobj = SWIG_Py_Void();
10249 return resultobj;
10250 fail:
10251 return NULL;
10252 }
10253
10254
10255 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10256 PyObject *resultobj = 0;
10257 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10258 int result;
10259 void *argp1 = 0 ;
10260 int res1 = 0 ;
10261 PyObject *swig_obj[1] ;
10262
10263 if (!args) SWIG_fail;
10264 swig_obj[0] = args;
10265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10266 if (!SWIG_IsOK(res1)) {
10267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10268 }
10269 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10270 {
10271 PyThreadState* __tstate = wxPyBeginAllowThreads();
10272 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10273 wxPyEndAllowThreads(__tstate);
10274 if (PyErr_Occurred()) SWIG_fail;
10275 }
10276 resultobj = SWIG_From_int(static_cast< int >(result));
10277 return resultobj;
10278 fail:
10279 return NULL;
10280 }
10281
10282
10283 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10284 PyObject *resultobj = 0;
10285 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10286 double arg2 ;
10287 void *argp1 = 0 ;
10288 int res1 = 0 ;
10289 double val2 ;
10290 int ecode2 = 0 ;
10291 PyObject * obj0 = 0 ;
10292 PyObject * obj1 = 0 ;
10293 char * kwnames[] = {
10294 (char *) "self",(char *) "gravity", NULL
10295 };
10296
10297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10299 if (!SWIG_IsOK(res1)) {
10300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10301 }
10302 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10303 ecode2 = SWIG_AsVal_double(obj1, &val2);
10304 if (!SWIG_IsOK(ecode2)) {
10305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10306 }
10307 arg2 = static_cast< double >(val2);
10308 {
10309 PyThreadState* __tstate = wxPyBeginAllowThreads();
10310 (arg1)->SetSashGravity(arg2);
10311 wxPyEndAllowThreads(__tstate);
10312 if (PyErr_Occurred()) SWIG_fail;
10313 }
10314 resultobj = SWIG_Py_Void();
10315 return resultobj;
10316 fail:
10317 return NULL;
10318 }
10319
10320
10321 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10322 PyObject *resultobj = 0;
10323 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10324 double result;
10325 void *argp1 = 0 ;
10326 int res1 = 0 ;
10327 PyObject *swig_obj[1] ;
10328
10329 if (!args) SWIG_fail;
10330 swig_obj[0] = args;
10331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10332 if (!SWIG_IsOK(res1)) {
10333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10334 }
10335 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10336 {
10337 PyThreadState* __tstate = wxPyBeginAllowThreads();
10338 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10339 wxPyEndAllowThreads(__tstate);
10340 if (PyErr_Occurred()) SWIG_fail;
10341 }
10342 resultobj = SWIG_From_double(static_cast< double >(result));
10343 return resultobj;
10344 fail:
10345 return NULL;
10346 }
10347
10348
10349 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10350 PyObject *resultobj = 0;
10351 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10352 int arg2 ;
10353 void *argp1 = 0 ;
10354 int res1 = 0 ;
10355 int val2 ;
10356 int ecode2 = 0 ;
10357 PyObject * obj0 = 0 ;
10358 PyObject * obj1 = 0 ;
10359 char * kwnames[] = {
10360 (char *) "self",(char *) "min", NULL
10361 };
10362
10363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10365 if (!SWIG_IsOK(res1)) {
10366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10367 }
10368 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10369 ecode2 = SWIG_AsVal_int(obj1, &val2);
10370 if (!SWIG_IsOK(ecode2)) {
10371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10372 }
10373 arg2 = static_cast< int >(val2);
10374 {
10375 PyThreadState* __tstate = wxPyBeginAllowThreads();
10376 (arg1)->SetMinimumPaneSize(arg2);
10377 wxPyEndAllowThreads(__tstate);
10378 if (PyErr_Occurred()) SWIG_fail;
10379 }
10380 resultobj = SWIG_Py_Void();
10381 return resultobj;
10382 fail:
10383 return NULL;
10384 }
10385
10386
10387 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10388 PyObject *resultobj = 0;
10389 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10390 int result;
10391 void *argp1 = 0 ;
10392 int res1 = 0 ;
10393 PyObject *swig_obj[1] ;
10394
10395 if (!args) SWIG_fail;
10396 swig_obj[0] = args;
10397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10398 if (!SWIG_IsOK(res1)) {
10399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10400 }
10401 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10402 {
10403 PyThreadState* __tstate = wxPyBeginAllowThreads();
10404 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10405 wxPyEndAllowThreads(__tstate);
10406 if (PyErr_Occurred()) SWIG_fail;
10407 }
10408 resultobj = SWIG_From_int(static_cast< int >(result));
10409 return resultobj;
10410 fail:
10411 return NULL;
10412 }
10413
10414
10415 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10416 PyObject *resultobj = 0;
10417 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10418 int arg2 ;
10419 int arg3 ;
10420 int arg4 = (int) 5 ;
10421 bool result;
10422 void *argp1 = 0 ;
10423 int res1 = 0 ;
10424 int val2 ;
10425 int ecode2 = 0 ;
10426 int val3 ;
10427 int ecode3 = 0 ;
10428 int val4 ;
10429 int ecode4 = 0 ;
10430 PyObject * obj0 = 0 ;
10431 PyObject * obj1 = 0 ;
10432 PyObject * obj2 = 0 ;
10433 PyObject * obj3 = 0 ;
10434 char * kwnames[] = {
10435 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10436 };
10437
10438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10440 if (!SWIG_IsOK(res1)) {
10441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10442 }
10443 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10444 ecode2 = SWIG_AsVal_int(obj1, &val2);
10445 if (!SWIG_IsOK(ecode2)) {
10446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10447 }
10448 arg2 = static_cast< int >(val2);
10449 ecode3 = SWIG_AsVal_int(obj2, &val3);
10450 if (!SWIG_IsOK(ecode3)) {
10451 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10452 }
10453 arg3 = static_cast< int >(val3);
10454 if (obj3) {
10455 ecode4 = SWIG_AsVal_int(obj3, &val4);
10456 if (!SWIG_IsOK(ecode4)) {
10457 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10458 }
10459 arg4 = static_cast< int >(val4);
10460 }
10461 {
10462 PyThreadState* __tstate = wxPyBeginAllowThreads();
10463 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10464 wxPyEndAllowThreads(__tstate);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
10467 {
10468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10469 }
10470 return resultobj;
10471 fail:
10472 return NULL;
10473 }
10474
10475
10476 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10477 PyObject *resultobj = 0;
10478 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10479 void *argp1 = 0 ;
10480 int res1 = 0 ;
10481 PyObject *swig_obj[1] ;
10482
10483 if (!args) SWIG_fail;
10484 swig_obj[0] = args;
10485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10486 if (!SWIG_IsOK(res1)) {
10487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10488 }
10489 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10490 {
10491 PyThreadState* __tstate = wxPyBeginAllowThreads();
10492 (arg1)->SizeWindows();
10493 wxPyEndAllowThreads(__tstate);
10494 if (PyErr_Occurred()) SWIG_fail;
10495 }
10496 resultobj = SWIG_Py_Void();
10497 return resultobj;
10498 fail:
10499 return NULL;
10500 }
10501
10502
10503 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10504 PyObject *resultobj = 0;
10505 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10506 bool arg2 ;
10507 void *argp1 = 0 ;
10508 int res1 = 0 ;
10509 bool val2 ;
10510 int ecode2 = 0 ;
10511 PyObject * obj0 = 0 ;
10512 PyObject * obj1 = 0 ;
10513 char * kwnames[] = {
10514 (char *) "self",(char *) "needUpdating", NULL
10515 };
10516
10517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10519 if (!SWIG_IsOK(res1)) {
10520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10521 }
10522 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10523 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10524 if (!SWIG_IsOK(ecode2)) {
10525 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10526 }
10527 arg2 = static_cast< bool >(val2);
10528 {
10529 PyThreadState* __tstate = wxPyBeginAllowThreads();
10530 (arg1)->SetNeedUpdating(arg2);
10531 wxPyEndAllowThreads(__tstate);
10532 if (PyErr_Occurred()) SWIG_fail;
10533 }
10534 resultobj = SWIG_Py_Void();
10535 return resultobj;
10536 fail:
10537 return NULL;
10538 }
10539
10540
10541 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10542 PyObject *resultobj = 0;
10543 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10544 bool result;
10545 void *argp1 = 0 ;
10546 int res1 = 0 ;
10547 PyObject *swig_obj[1] ;
10548
10549 if (!args) SWIG_fail;
10550 swig_obj[0] = args;
10551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10552 if (!SWIG_IsOK(res1)) {
10553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10554 }
10555 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10556 {
10557 PyThreadState* __tstate = wxPyBeginAllowThreads();
10558 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10559 wxPyEndAllowThreads(__tstate);
10560 if (PyErr_Occurred()) SWIG_fail;
10561 }
10562 {
10563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10564 }
10565 return resultobj;
10566 fail:
10567 return NULL;
10568 }
10569
10570
10571 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10572 PyObject *resultobj = 0;
10573 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10574 SwigValueWrapper<wxVisualAttributes > result;
10575 int val1 ;
10576 int ecode1 = 0 ;
10577 PyObject * obj0 = 0 ;
10578 char * kwnames[] = {
10579 (char *) "variant", NULL
10580 };
10581
10582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10583 if (obj0) {
10584 ecode1 = SWIG_AsVal_int(obj0, &val1);
10585 if (!SWIG_IsOK(ecode1)) {
10586 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10587 }
10588 arg1 = static_cast< wxWindowVariant >(val1);
10589 }
10590 {
10591 if (!wxPyCheckForApp()) SWIG_fail;
10592 PyThreadState* __tstate = wxPyBeginAllowThreads();
10593 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10594 wxPyEndAllowThreads(__tstate);
10595 if (PyErr_Occurred()) SWIG_fail;
10596 }
10597 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10598 return resultobj;
10599 fail:
10600 return NULL;
10601 }
10602
10603
10604 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10605 PyObject *obj;
10606 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10607 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10608 return SWIG_Py_Void();
10609 }
10610
10611 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10612 return SWIG_Python_InitShadowInstance(args);
10613 }
10614
10615 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10616 PyObject *resultobj = 0;
10617 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10618 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10619 wxSplitterEvent *result = 0 ;
10620 int val1 ;
10621 int ecode1 = 0 ;
10622 void *argp2 = 0 ;
10623 int res2 = 0 ;
10624 PyObject * obj0 = 0 ;
10625 PyObject * obj1 = 0 ;
10626 char * kwnames[] = {
10627 (char *) "type",(char *) "splitter", NULL
10628 };
10629
10630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10631 if (obj0) {
10632 ecode1 = SWIG_AsVal_int(obj0, &val1);
10633 if (!SWIG_IsOK(ecode1)) {
10634 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10635 }
10636 arg1 = static_cast< wxEventType >(val1);
10637 }
10638 if (obj1) {
10639 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10640 if (!SWIG_IsOK(res2)) {
10641 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10642 }
10643 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10644 }
10645 {
10646 PyThreadState* __tstate = wxPyBeginAllowThreads();
10647 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10648 wxPyEndAllowThreads(__tstate);
10649 if (PyErr_Occurred()) SWIG_fail;
10650 }
10651 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10652 return resultobj;
10653 fail:
10654 return NULL;
10655 }
10656
10657
10658 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10659 PyObject *resultobj = 0;
10660 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10661 int arg2 ;
10662 void *argp1 = 0 ;
10663 int res1 = 0 ;
10664 int val2 ;
10665 int ecode2 = 0 ;
10666 PyObject * obj0 = 0 ;
10667 PyObject * obj1 = 0 ;
10668 char * kwnames[] = {
10669 (char *) "self",(char *) "pos", NULL
10670 };
10671
10672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10674 if (!SWIG_IsOK(res1)) {
10675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10676 }
10677 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10678 ecode2 = SWIG_AsVal_int(obj1, &val2);
10679 if (!SWIG_IsOK(ecode2)) {
10680 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10681 }
10682 arg2 = static_cast< int >(val2);
10683 {
10684 PyThreadState* __tstate = wxPyBeginAllowThreads();
10685 (arg1)->SetSashPosition(arg2);
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 resultobj = SWIG_Py_Void();
10690 return resultobj;
10691 fail:
10692 return NULL;
10693 }
10694
10695
10696 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10697 PyObject *resultobj = 0;
10698 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10699 int result;
10700 void *argp1 = 0 ;
10701 int res1 = 0 ;
10702 PyObject *swig_obj[1] ;
10703
10704 if (!args) SWIG_fail;
10705 swig_obj[0] = args;
10706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10707 if (!SWIG_IsOK(res1)) {
10708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10709 }
10710 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10714 wxPyEndAllowThreads(__tstate);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 }
10717 resultobj = SWIG_From_int(static_cast< int >(result));
10718 return resultobj;
10719 fail:
10720 return NULL;
10721 }
10722
10723
10724 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10725 PyObject *resultobj = 0;
10726 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10727 wxWindow *result = 0 ;
10728 void *argp1 = 0 ;
10729 int res1 = 0 ;
10730 PyObject *swig_obj[1] ;
10731
10732 if (!args) SWIG_fail;
10733 swig_obj[0] = args;
10734 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10735 if (!SWIG_IsOK(res1)) {
10736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10737 }
10738 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10739 {
10740 PyThreadState* __tstate = wxPyBeginAllowThreads();
10741 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10742 wxPyEndAllowThreads(__tstate);
10743 if (PyErr_Occurred()) SWIG_fail;
10744 }
10745 {
10746 resultobj = wxPyMake_wxObject(result, 0);
10747 }
10748 return resultobj;
10749 fail:
10750 return NULL;
10751 }
10752
10753
10754 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10755 PyObject *resultobj = 0;
10756 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10757 int result;
10758 void *argp1 = 0 ;
10759 int res1 = 0 ;
10760 PyObject *swig_obj[1] ;
10761
10762 if (!args) SWIG_fail;
10763 swig_obj[0] = args;
10764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10765 if (!SWIG_IsOK(res1)) {
10766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10767 }
10768 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10769 {
10770 PyThreadState* __tstate = wxPyBeginAllowThreads();
10771 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10772 wxPyEndAllowThreads(__tstate);
10773 if (PyErr_Occurred()) SWIG_fail;
10774 }
10775 resultobj = SWIG_From_int(static_cast< int >(result));
10776 return resultobj;
10777 fail:
10778 return NULL;
10779 }
10780
10781
10782 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10783 PyObject *resultobj = 0;
10784 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10785 int result;
10786 void *argp1 = 0 ;
10787 int res1 = 0 ;
10788 PyObject *swig_obj[1] ;
10789
10790 if (!args) SWIG_fail;
10791 swig_obj[0] = args;
10792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10793 if (!SWIG_IsOK(res1)) {
10794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10795 }
10796 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10797 {
10798 PyThreadState* __tstate = wxPyBeginAllowThreads();
10799 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10800 wxPyEndAllowThreads(__tstate);
10801 if (PyErr_Occurred()) SWIG_fail;
10802 }
10803 resultobj = SWIG_From_int(static_cast< int >(result));
10804 return resultobj;
10805 fail:
10806 return NULL;
10807 }
10808
10809
10810 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10811 PyObject *obj;
10812 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10813 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10814 return SWIG_Py_Void();
10815 }
10816
10817 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10818 return SWIG_Python_InitShadowInstance(args);
10819 }
10820
10821 SWIGINTERN int SashNameStr_set(PyObject *) {
10822 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10823 return 1;
10824 }
10825
10826
10827 SWIGINTERN PyObject *SashNameStr_get(void) {
10828 PyObject *pyobj = 0;
10829
10830 {
10831 #if wxUSE_UNICODE
10832 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10833 #else
10834 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10835 #endif
10836 }
10837 return pyobj;
10838 }
10839
10840
10841 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10842 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10843 return 1;
10844 }
10845
10846
10847 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10848 PyObject *pyobj = 0;
10849
10850 {
10851 #if wxUSE_UNICODE
10852 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10853 #else
10854 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10855 #endif
10856 }
10857 return pyobj;
10858 }
10859
10860
10861 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10862 PyObject *resultobj = 0;
10863 wxWindow *arg1 = (wxWindow *) 0 ;
10864 int arg2 = (int) -1 ;
10865 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10866 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10867 wxSize const &arg4_defvalue = wxDefaultSize ;
10868 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10869 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10870 wxString const &arg6_defvalue = wxPySashNameStr ;
10871 wxString *arg6 = (wxString *) &arg6_defvalue ;
10872 wxSashWindow *result = 0 ;
10873 void *argp1 = 0 ;
10874 int res1 = 0 ;
10875 int val2 ;
10876 int ecode2 = 0 ;
10877 wxPoint temp3 ;
10878 wxSize temp4 ;
10879 long val5 ;
10880 int ecode5 = 0 ;
10881 bool temp6 = false ;
10882 PyObject * obj0 = 0 ;
10883 PyObject * obj1 = 0 ;
10884 PyObject * obj2 = 0 ;
10885 PyObject * obj3 = 0 ;
10886 PyObject * obj4 = 0 ;
10887 PyObject * obj5 = 0 ;
10888 char * kwnames[] = {
10889 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10890 };
10891
10892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10894 if (!SWIG_IsOK(res1)) {
10895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10896 }
10897 arg1 = reinterpret_cast< wxWindow * >(argp1);
10898 if (obj1) {
10899 ecode2 = SWIG_AsVal_int(obj1, &val2);
10900 if (!SWIG_IsOK(ecode2)) {
10901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10902 }
10903 arg2 = static_cast< int >(val2);
10904 }
10905 if (obj2) {
10906 {
10907 arg3 = &temp3;
10908 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10909 }
10910 }
10911 if (obj3) {
10912 {
10913 arg4 = &temp4;
10914 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10915 }
10916 }
10917 if (obj4) {
10918 ecode5 = SWIG_AsVal_long(obj4, &val5);
10919 if (!SWIG_IsOK(ecode5)) {
10920 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10921 }
10922 arg5 = static_cast< long >(val5);
10923 }
10924 if (obj5) {
10925 {
10926 arg6 = wxString_in_helper(obj5);
10927 if (arg6 == NULL) SWIG_fail;
10928 temp6 = true;
10929 }
10930 }
10931 {
10932 if (!wxPyCheckForApp()) SWIG_fail;
10933 PyThreadState* __tstate = wxPyBeginAllowThreads();
10934 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10935 wxPyEndAllowThreads(__tstate);
10936 if (PyErr_Occurred()) SWIG_fail;
10937 }
10938 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10939 {
10940 if (temp6)
10941 delete arg6;
10942 }
10943 return resultobj;
10944 fail:
10945 {
10946 if (temp6)
10947 delete arg6;
10948 }
10949 return NULL;
10950 }
10951
10952
10953 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10954 PyObject *resultobj = 0;
10955 wxSashWindow *result = 0 ;
10956
10957 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10958 {
10959 if (!wxPyCheckForApp()) SWIG_fail;
10960 PyThreadState* __tstate = wxPyBeginAllowThreads();
10961 result = (wxSashWindow *)new wxSashWindow();
10962 wxPyEndAllowThreads(__tstate);
10963 if (PyErr_Occurred()) SWIG_fail;
10964 }
10965 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10966 return resultobj;
10967 fail:
10968 return NULL;
10969 }
10970
10971
10972 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10973 PyObject *resultobj = 0;
10974 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10975 wxWindow *arg2 = (wxWindow *) 0 ;
10976 int arg3 = (int) -1 ;
10977 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10978 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10979 wxSize const &arg5_defvalue = wxDefaultSize ;
10980 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10981 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10982 wxString const &arg7_defvalue = wxPySashNameStr ;
10983 wxString *arg7 = (wxString *) &arg7_defvalue ;
10984 bool result;
10985 void *argp1 = 0 ;
10986 int res1 = 0 ;
10987 void *argp2 = 0 ;
10988 int res2 = 0 ;
10989 int val3 ;
10990 int ecode3 = 0 ;
10991 wxPoint temp4 ;
10992 wxSize temp5 ;
10993 long val6 ;
10994 int ecode6 = 0 ;
10995 bool temp7 = false ;
10996 PyObject * obj0 = 0 ;
10997 PyObject * obj1 = 0 ;
10998 PyObject * obj2 = 0 ;
10999 PyObject * obj3 = 0 ;
11000 PyObject * obj4 = 0 ;
11001 PyObject * obj5 = 0 ;
11002 PyObject * obj6 = 0 ;
11003 char * kwnames[] = {
11004 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11005 };
11006
11007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11009 if (!SWIG_IsOK(res1)) {
11010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11011 }
11012 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11013 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11014 if (!SWIG_IsOK(res2)) {
11015 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11016 }
11017 arg2 = reinterpret_cast< wxWindow * >(argp2);
11018 if (obj2) {
11019 ecode3 = SWIG_AsVal_int(obj2, &val3);
11020 if (!SWIG_IsOK(ecode3)) {
11021 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11022 }
11023 arg3 = static_cast< int >(val3);
11024 }
11025 if (obj3) {
11026 {
11027 arg4 = &temp4;
11028 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11029 }
11030 }
11031 if (obj4) {
11032 {
11033 arg5 = &temp5;
11034 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11035 }
11036 }
11037 if (obj5) {
11038 ecode6 = SWIG_AsVal_long(obj5, &val6);
11039 if (!SWIG_IsOK(ecode6)) {
11040 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11041 }
11042 arg6 = static_cast< long >(val6);
11043 }
11044 if (obj6) {
11045 {
11046 arg7 = wxString_in_helper(obj6);
11047 if (arg7 == NULL) SWIG_fail;
11048 temp7 = true;
11049 }
11050 }
11051 {
11052 PyThreadState* __tstate = wxPyBeginAllowThreads();
11053 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11054 wxPyEndAllowThreads(__tstate);
11055 if (PyErr_Occurred()) SWIG_fail;
11056 }
11057 {
11058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11059 }
11060 {
11061 if (temp7)
11062 delete arg7;
11063 }
11064 return resultobj;
11065 fail:
11066 {
11067 if (temp7)
11068 delete arg7;
11069 }
11070 return NULL;
11071 }
11072
11073
11074 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11075 PyObject *resultobj = 0;
11076 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11077 wxSashEdgePosition arg2 ;
11078 bool arg3 ;
11079 void *argp1 = 0 ;
11080 int res1 = 0 ;
11081 int val2 ;
11082 int ecode2 = 0 ;
11083 bool val3 ;
11084 int ecode3 = 0 ;
11085 PyObject * obj0 = 0 ;
11086 PyObject * obj1 = 0 ;
11087 PyObject * obj2 = 0 ;
11088 char * kwnames[] = {
11089 (char *) "self",(char *) "edge",(char *) "sash", NULL
11090 };
11091
11092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11094 if (!SWIG_IsOK(res1)) {
11095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11096 }
11097 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11098 ecode2 = SWIG_AsVal_int(obj1, &val2);
11099 if (!SWIG_IsOK(ecode2)) {
11100 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11101 }
11102 arg2 = static_cast< wxSashEdgePosition >(val2);
11103 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11104 if (!SWIG_IsOK(ecode3)) {
11105 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11106 }
11107 arg3 = static_cast< bool >(val3);
11108 {
11109 PyThreadState* __tstate = wxPyBeginAllowThreads();
11110 (arg1)->SetSashVisible(arg2,arg3);
11111 wxPyEndAllowThreads(__tstate);
11112 if (PyErr_Occurred()) SWIG_fail;
11113 }
11114 resultobj = SWIG_Py_Void();
11115 return resultobj;
11116 fail:
11117 return NULL;
11118 }
11119
11120
11121 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11122 PyObject *resultobj = 0;
11123 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11124 wxSashEdgePosition arg2 ;
11125 bool result;
11126 void *argp1 = 0 ;
11127 int res1 = 0 ;
11128 int val2 ;
11129 int ecode2 = 0 ;
11130 PyObject * obj0 = 0 ;
11131 PyObject * obj1 = 0 ;
11132 char * kwnames[] = {
11133 (char *) "self",(char *) "edge", NULL
11134 };
11135
11136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11138 if (!SWIG_IsOK(res1)) {
11139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11140 }
11141 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11142 ecode2 = SWIG_AsVal_int(obj1, &val2);
11143 if (!SWIG_IsOK(ecode2)) {
11144 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11145 }
11146 arg2 = static_cast< wxSashEdgePosition >(val2);
11147 {
11148 PyThreadState* __tstate = wxPyBeginAllowThreads();
11149 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11150 wxPyEndAllowThreads(__tstate);
11151 if (PyErr_Occurred()) SWIG_fail;
11152 }
11153 {
11154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11155 }
11156 return resultobj;
11157 fail:
11158 return NULL;
11159 }
11160
11161
11162 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11163 PyObject *resultobj = 0;
11164 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11165 wxSashEdgePosition arg2 ;
11166 bool arg3 ;
11167 void *argp1 = 0 ;
11168 int res1 = 0 ;
11169 int val2 ;
11170 int ecode2 = 0 ;
11171 bool val3 ;
11172 int ecode3 = 0 ;
11173 PyObject * obj0 = 0 ;
11174 PyObject * obj1 = 0 ;
11175 PyObject * obj2 = 0 ;
11176 char * kwnames[] = {
11177 (char *) "self",(char *) "edge",(char *) "border", NULL
11178 };
11179
11180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11182 if (!SWIG_IsOK(res1)) {
11183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11184 }
11185 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11186 ecode2 = SWIG_AsVal_int(obj1, &val2);
11187 if (!SWIG_IsOK(ecode2)) {
11188 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11189 }
11190 arg2 = static_cast< wxSashEdgePosition >(val2);
11191 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11192 if (!SWIG_IsOK(ecode3)) {
11193 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11194 }
11195 arg3 = static_cast< bool >(val3);
11196 {
11197 PyThreadState* __tstate = wxPyBeginAllowThreads();
11198 (arg1)->SetSashBorder(arg2,arg3);
11199 wxPyEndAllowThreads(__tstate);
11200 if (PyErr_Occurred()) SWIG_fail;
11201 }
11202 resultobj = SWIG_Py_Void();
11203 return resultobj;
11204 fail:
11205 return NULL;
11206 }
11207
11208
11209 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11210 PyObject *resultobj = 0;
11211 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11212 wxSashEdgePosition arg2 ;
11213 bool result;
11214 void *argp1 = 0 ;
11215 int res1 = 0 ;
11216 int val2 ;
11217 int ecode2 = 0 ;
11218 PyObject * obj0 = 0 ;
11219 PyObject * obj1 = 0 ;
11220 char * kwnames[] = {
11221 (char *) "self",(char *) "edge", NULL
11222 };
11223
11224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11226 if (!SWIG_IsOK(res1)) {
11227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11228 }
11229 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11230 ecode2 = SWIG_AsVal_int(obj1, &val2);
11231 if (!SWIG_IsOK(ecode2)) {
11232 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11233 }
11234 arg2 = static_cast< wxSashEdgePosition >(val2);
11235 {
11236 PyThreadState* __tstate = wxPyBeginAllowThreads();
11237 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11238 wxPyEndAllowThreads(__tstate);
11239 if (PyErr_Occurred()) SWIG_fail;
11240 }
11241 {
11242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11243 }
11244 return resultobj;
11245 fail:
11246 return NULL;
11247 }
11248
11249
11250 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11251 PyObject *resultobj = 0;
11252 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11253 wxSashEdgePosition arg2 ;
11254 int result;
11255 void *argp1 = 0 ;
11256 int res1 = 0 ;
11257 int val2 ;
11258 int ecode2 = 0 ;
11259 PyObject * obj0 = 0 ;
11260 PyObject * obj1 = 0 ;
11261 char * kwnames[] = {
11262 (char *) "self",(char *) "edge", NULL
11263 };
11264
11265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11267 if (!SWIG_IsOK(res1)) {
11268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11269 }
11270 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11271 ecode2 = SWIG_AsVal_int(obj1, &val2);
11272 if (!SWIG_IsOK(ecode2)) {
11273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11274 }
11275 arg2 = static_cast< wxSashEdgePosition >(val2);
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11279 wxPyEndAllowThreads(__tstate);
11280 if (PyErr_Occurred()) SWIG_fail;
11281 }
11282 resultobj = SWIG_From_int(static_cast< int >(result));
11283 return resultobj;
11284 fail:
11285 return NULL;
11286 }
11287
11288
11289 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11290 PyObject *resultobj = 0;
11291 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11292 int arg2 ;
11293 void *argp1 = 0 ;
11294 int res1 = 0 ;
11295 int val2 ;
11296 int ecode2 = 0 ;
11297 PyObject * obj0 = 0 ;
11298 PyObject * obj1 = 0 ;
11299 char * kwnames[] = {
11300 (char *) "self",(char *) "width", NULL
11301 };
11302
11303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11305 if (!SWIG_IsOK(res1)) {
11306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11307 }
11308 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11309 ecode2 = SWIG_AsVal_int(obj1, &val2);
11310 if (!SWIG_IsOK(ecode2)) {
11311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11312 }
11313 arg2 = static_cast< int >(val2);
11314 {
11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
11316 (arg1)->SetDefaultBorderSize(arg2);
11317 wxPyEndAllowThreads(__tstate);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 resultobj = SWIG_Py_Void();
11321 return resultobj;
11322 fail:
11323 return NULL;
11324 }
11325
11326
11327 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11328 PyObject *resultobj = 0;
11329 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11330 int result;
11331 void *argp1 = 0 ;
11332 int res1 = 0 ;
11333 PyObject *swig_obj[1] ;
11334
11335 if (!args) SWIG_fail;
11336 swig_obj[0] = args;
11337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11338 if (!SWIG_IsOK(res1)) {
11339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11340 }
11341 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11342 {
11343 PyThreadState* __tstate = wxPyBeginAllowThreads();
11344 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11345 wxPyEndAllowThreads(__tstate);
11346 if (PyErr_Occurred()) SWIG_fail;
11347 }
11348 resultobj = SWIG_From_int(static_cast< int >(result));
11349 return resultobj;
11350 fail:
11351 return NULL;
11352 }
11353
11354
11355 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11356 PyObject *resultobj = 0;
11357 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11358 int arg2 ;
11359 void *argp1 = 0 ;
11360 int res1 = 0 ;
11361 int val2 ;
11362 int ecode2 = 0 ;
11363 PyObject * obj0 = 0 ;
11364 PyObject * obj1 = 0 ;
11365 char * kwnames[] = {
11366 (char *) "self",(char *) "width", NULL
11367 };
11368
11369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11371 if (!SWIG_IsOK(res1)) {
11372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11373 }
11374 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11375 ecode2 = SWIG_AsVal_int(obj1, &val2);
11376 if (!SWIG_IsOK(ecode2)) {
11377 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11378 }
11379 arg2 = static_cast< int >(val2);
11380 {
11381 PyThreadState* __tstate = wxPyBeginAllowThreads();
11382 (arg1)->SetExtraBorderSize(arg2);
11383 wxPyEndAllowThreads(__tstate);
11384 if (PyErr_Occurred()) SWIG_fail;
11385 }
11386 resultobj = SWIG_Py_Void();
11387 return resultobj;
11388 fail:
11389 return NULL;
11390 }
11391
11392
11393 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11394 PyObject *resultobj = 0;
11395 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11396 int result;
11397 void *argp1 = 0 ;
11398 int res1 = 0 ;
11399 PyObject *swig_obj[1] ;
11400
11401 if (!args) SWIG_fail;
11402 swig_obj[0] = args;
11403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11404 if (!SWIG_IsOK(res1)) {
11405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11406 }
11407 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11408 {
11409 PyThreadState* __tstate = wxPyBeginAllowThreads();
11410 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11411 wxPyEndAllowThreads(__tstate);
11412 if (PyErr_Occurred()) SWIG_fail;
11413 }
11414 resultobj = SWIG_From_int(static_cast< int >(result));
11415 return resultobj;
11416 fail:
11417 return NULL;
11418 }
11419
11420
11421 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11422 PyObject *resultobj = 0;
11423 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11424 int arg2 ;
11425 void *argp1 = 0 ;
11426 int res1 = 0 ;
11427 int val2 ;
11428 int ecode2 = 0 ;
11429 PyObject * obj0 = 0 ;
11430 PyObject * obj1 = 0 ;
11431 char * kwnames[] = {
11432 (char *) "self",(char *) "min", NULL
11433 };
11434
11435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11437 if (!SWIG_IsOK(res1)) {
11438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11439 }
11440 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11441 ecode2 = SWIG_AsVal_int(obj1, &val2);
11442 if (!SWIG_IsOK(ecode2)) {
11443 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11444 }
11445 arg2 = static_cast< int >(val2);
11446 {
11447 PyThreadState* __tstate = wxPyBeginAllowThreads();
11448 (arg1)->SetMinimumSizeX(arg2);
11449 wxPyEndAllowThreads(__tstate);
11450 if (PyErr_Occurred()) SWIG_fail;
11451 }
11452 resultobj = SWIG_Py_Void();
11453 return resultobj;
11454 fail:
11455 return NULL;
11456 }
11457
11458
11459 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11460 PyObject *resultobj = 0;
11461 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11462 int arg2 ;
11463 void *argp1 = 0 ;
11464 int res1 = 0 ;
11465 int val2 ;
11466 int ecode2 = 0 ;
11467 PyObject * obj0 = 0 ;
11468 PyObject * obj1 = 0 ;
11469 char * kwnames[] = {
11470 (char *) "self",(char *) "min", NULL
11471 };
11472
11473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11475 if (!SWIG_IsOK(res1)) {
11476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11477 }
11478 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11479 ecode2 = SWIG_AsVal_int(obj1, &val2);
11480 if (!SWIG_IsOK(ecode2)) {
11481 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11482 }
11483 arg2 = static_cast< int >(val2);
11484 {
11485 PyThreadState* __tstate = wxPyBeginAllowThreads();
11486 (arg1)->SetMinimumSizeY(arg2);
11487 wxPyEndAllowThreads(__tstate);
11488 if (PyErr_Occurred()) SWIG_fail;
11489 }
11490 resultobj = SWIG_Py_Void();
11491 return resultobj;
11492 fail:
11493 return NULL;
11494 }
11495
11496
11497 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11498 PyObject *resultobj = 0;
11499 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11500 int result;
11501 void *argp1 = 0 ;
11502 int res1 = 0 ;
11503 PyObject *swig_obj[1] ;
11504
11505 if (!args) SWIG_fail;
11506 swig_obj[0] = args;
11507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11508 if (!SWIG_IsOK(res1)) {
11509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11510 }
11511 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11512 {
11513 PyThreadState* __tstate = wxPyBeginAllowThreads();
11514 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11515 wxPyEndAllowThreads(__tstate);
11516 if (PyErr_Occurred()) SWIG_fail;
11517 }
11518 resultobj = SWIG_From_int(static_cast< int >(result));
11519 return resultobj;
11520 fail:
11521 return NULL;
11522 }
11523
11524
11525 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11526 PyObject *resultobj = 0;
11527 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11528 int result;
11529 void *argp1 = 0 ;
11530 int res1 = 0 ;
11531 PyObject *swig_obj[1] ;
11532
11533 if (!args) SWIG_fail;
11534 swig_obj[0] = args;
11535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11536 if (!SWIG_IsOK(res1)) {
11537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11538 }
11539 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11540 {
11541 PyThreadState* __tstate = wxPyBeginAllowThreads();
11542 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11543 wxPyEndAllowThreads(__tstate);
11544 if (PyErr_Occurred()) SWIG_fail;
11545 }
11546 resultobj = SWIG_From_int(static_cast< int >(result));
11547 return resultobj;
11548 fail:
11549 return NULL;
11550 }
11551
11552
11553 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11554 PyObject *resultobj = 0;
11555 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11556 int arg2 ;
11557 void *argp1 = 0 ;
11558 int res1 = 0 ;
11559 int val2 ;
11560 int ecode2 = 0 ;
11561 PyObject * obj0 = 0 ;
11562 PyObject * obj1 = 0 ;
11563 char * kwnames[] = {
11564 (char *) "self",(char *) "max", NULL
11565 };
11566
11567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11569 if (!SWIG_IsOK(res1)) {
11570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11571 }
11572 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11573 ecode2 = SWIG_AsVal_int(obj1, &val2);
11574 if (!SWIG_IsOK(ecode2)) {
11575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11576 }
11577 arg2 = static_cast< int >(val2);
11578 {
11579 PyThreadState* __tstate = wxPyBeginAllowThreads();
11580 (arg1)->SetMaximumSizeX(arg2);
11581 wxPyEndAllowThreads(__tstate);
11582 if (PyErr_Occurred()) SWIG_fail;
11583 }
11584 resultobj = SWIG_Py_Void();
11585 return resultobj;
11586 fail:
11587 return NULL;
11588 }
11589
11590
11591 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11592 PyObject *resultobj = 0;
11593 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11594 int arg2 ;
11595 void *argp1 = 0 ;
11596 int res1 = 0 ;
11597 int val2 ;
11598 int ecode2 = 0 ;
11599 PyObject * obj0 = 0 ;
11600 PyObject * obj1 = 0 ;
11601 char * kwnames[] = {
11602 (char *) "self",(char *) "max", NULL
11603 };
11604
11605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11607 if (!SWIG_IsOK(res1)) {
11608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11609 }
11610 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11611 ecode2 = SWIG_AsVal_int(obj1, &val2);
11612 if (!SWIG_IsOK(ecode2)) {
11613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11614 }
11615 arg2 = static_cast< int >(val2);
11616 {
11617 PyThreadState* __tstate = wxPyBeginAllowThreads();
11618 (arg1)->SetMaximumSizeY(arg2);
11619 wxPyEndAllowThreads(__tstate);
11620 if (PyErr_Occurred()) SWIG_fail;
11621 }
11622 resultobj = SWIG_Py_Void();
11623 return resultobj;
11624 fail:
11625 return NULL;
11626 }
11627
11628
11629 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11630 PyObject *resultobj = 0;
11631 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11632 int result;
11633 void *argp1 = 0 ;
11634 int res1 = 0 ;
11635 PyObject *swig_obj[1] ;
11636
11637 if (!args) SWIG_fail;
11638 swig_obj[0] = args;
11639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11640 if (!SWIG_IsOK(res1)) {
11641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11642 }
11643 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11644 {
11645 PyThreadState* __tstate = wxPyBeginAllowThreads();
11646 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11647 wxPyEndAllowThreads(__tstate);
11648 if (PyErr_Occurred()) SWIG_fail;
11649 }
11650 resultobj = SWIG_From_int(static_cast< int >(result));
11651 return resultobj;
11652 fail:
11653 return NULL;
11654 }
11655
11656
11657 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11658 PyObject *resultobj = 0;
11659 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11660 int result;
11661 void *argp1 = 0 ;
11662 int res1 = 0 ;
11663 PyObject *swig_obj[1] ;
11664
11665 if (!args) SWIG_fail;
11666 swig_obj[0] = args;
11667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11668 if (!SWIG_IsOK(res1)) {
11669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11670 }
11671 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11672 {
11673 PyThreadState* __tstate = wxPyBeginAllowThreads();
11674 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11675 wxPyEndAllowThreads(__tstate);
11676 if (PyErr_Occurred()) SWIG_fail;
11677 }
11678 resultobj = SWIG_From_int(static_cast< int >(result));
11679 return resultobj;
11680 fail:
11681 return NULL;
11682 }
11683
11684
11685 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11686 PyObject *resultobj = 0;
11687 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11688 int arg2 ;
11689 int arg3 ;
11690 int arg4 = (int) 2 ;
11691 wxSashEdgePosition result;
11692 void *argp1 = 0 ;
11693 int res1 = 0 ;
11694 int val2 ;
11695 int ecode2 = 0 ;
11696 int val3 ;
11697 int ecode3 = 0 ;
11698 int val4 ;
11699 int ecode4 = 0 ;
11700 PyObject * obj0 = 0 ;
11701 PyObject * obj1 = 0 ;
11702 PyObject * obj2 = 0 ;
11703 PyObject * obj3 = 0 ;
11704 char * kwnames[] = {
11705 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11706 };
11707
11708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11710 if (!SWIG_IsOK(res1)) {
11711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11712 }
11713 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11714 ecode2 = SWIG_AsVal_int(obj1, &val2);
11715 if (!SWIG_IsOK(ecode2)) {
11716 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11717 }
11718 arg2 = static_cast< int >(val2);
11719 ecode3 = SWIG_AsVal_int(obj2, &val3);
11720 if (!SWIG_IsOK(ecode3)) {
11721 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11722 }
11723 arg3 = static_cast< int >(val3);
11724 if (obj3) {
11725 ecode4 = SWIG_AsVal_int(obj3, &val4);
11726 if (!SWIG_IsOK(ecode4)) {
11727 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11728 }
11729 arg4 = static_cast< int >(val4);
11730 }
11731 {
11732 PyThreadState* __tstate = wxPyBeginAllowThreads();
11733 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11734 wxPyEndAllowThreads(__tstate);
11735 if (PyErr_Occurred()) SWIG_fail;
11736 }
11737 resultobj = SWIG_From_int(static_cast< int >(result));
11738 return resultobj;
11739 fail:
11740 return NULL;
11741 }
11742
11743
11744 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11745 PyObject *resultobj = 0;
11746 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11747 void *argp1 = 0 ;
11748 int res1 = 0 ;
11749 PyObject *swig_obj[1] ;
11750
11751 if (!args) SWIG_fail;
11752 swig_obj[0] = args;
11753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11754 if (!SWIG_IsOK(res1)) {
11755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11756 }
11757 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11758 {
11759 PyThreadState* __tstate = wxPyBeginAllowThreads();
11760 (arg1)->SizeWindows();
11761 wxPyEndAllowThreads(__tstate);
11762 if (PyErr_Occurred()) SWIG_fail;
11763 }
11764 resultobj = SWIG_Py_Void();
11765 return resultobj;
11766 fail:
11767 return NULL;
11768 }
11769
11770
11771 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11772 PyObject *obj;
11773 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11774 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11775 return SWIG_Py_Void();
11776 }
11777
11778 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11779 return SWIG_Python_InitShadowInstance(args);
11780 }
11781
11782 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11783 PyObject *resultobj = 0;
11784 int arg1 = (int) 0 ;
11785 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11786 wxSashEvent *result = 0 ;
11787 int val1 ;
11788 int ecode1 = 0 ;
11789 int val2 ;
11790 int ecode2 = 0 ;
11791 PyObject * obj0 = 0 ;
11792 PyObject * obj1 = 0 ;
11793 char * kwnames[] = {
11794 (char *) "id",(char *) "edge", NULL
11795 };
11796
11797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11798 if (obj0) {
11799 ecode1 = SWIG_AsVal_int(obj0, &val1);
11800 if (!SWIG_IsOK(ecode1)) {
11801 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11802 }
11803 arg1 = static_cast< int >(val1);
11804 }
11805 if (obj1) {
11806 ecode2 = SWIG_AsVal_int(obj1, &val2);
11807 if (!SWIG_IsOK(ecode2)) {
11808 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11809 }
11810 arg2 = static_cast< wxSashEdgePosition >(val2);
11811 }
11812 {
11813 PyThreadState* __tstate = wxPyBeginAllowThreads();
11814 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11815 wxPyEndAllowThreads(__tstate);
11816 if (PyErr_Occurred()) SWIG_fail;
11817 }
11818 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11819 return resultobj;
11820 fail:
11821 return NULL;
11822 }
11823
11824
11825 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11826 PyObject *resultobj = 0;
11827 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11828 wxSashEdgePosition arg2 ;
11829 void *argp1 = 0 ;
11830 int res1 = 0 ;
11831 int val2 ;
11832 int ecode2 = 0 ;
11833 PyObject * obj0 = 0 ;
11834 PyObject * obj1 = 0 ;
11835 char * kwnames[] = {
11836 (char *) "self",(char *) "edge", NULL
11837 };
11838
11839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11841 if (!SWIG_IsOK(res1)) {
11842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11843 }
11844 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11845 ecode2 = SWIG_AsVal_int(obj1, &val2);
11846 if (!SWIG_IsOK(ecode2)) {
11847 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11848 }
11849 arg2 = static_cast< wxSashEdgePosition >(val2);
11850 {
11851 PyThreadState* __tstate = wxPyBeginAllowThreads();
11852 (arg1)->SetEdge(arg2);
11853 wxPyEndAllowThreads(__tstate);
11854 if (PyErr_Occurred()) SWIG_fail;
11855 }
11856 resultobj = SWIG_Py_Void();
11857 return resultobj;
11858 fail:
11859 return NULL;
11860 }
11861
11862
11863 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11864 PyObject *resultobj = 0;
11865 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11866 wxSashEdgePosition result;
11867 void *argp1 = 0 ;
11868 int res1 = 0 ;
11869 PyObject *swig_obj[1] ;
11870
11871 if (!args) SWIG_fail;
11872 swig_obj[0] = args;
11873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11874 if (!SWIG_IsOK(res1)) {
11875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11876 }
11877 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11878 {
11879 PyThreadState* __tstate = wxPyBeginAllowThreads();
11880 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11881 wxPyEndAllowThreads(__tstate);
11882 if (PyErr_Occurred()) SWIG_fail;
11883 }
11884 resultobj = SWIG_From_int(static_cast< int >(result));
11885 return resultobj;
11886 fail:
11887 return NULL;
11888 }
11889
11890
11891 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11892 PyObject *resultobj = 0;
11893 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11894 wxRect *arg2 = 0 ;
11895 void *argp1 = 0 ;
11896 int res1 = 0 ;
11897 wxRect temp2 ;
11898 PyObject * obj0 = 0 ;
11899 PyObject * obj1 = 0 ;
11900 char * kwnames[] = {
11901 (char *) "self",(char *) "rect", NULL
11902 };
11903
11904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11906 if (!SWIG_IsOK(res1)) {
11907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11908 }
11909 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11910 {
11911 arg2 = &temp2;
11912 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11913 }
11914 {
11915 PyThreadState* __tstate = wxPyBeginAllowThreads();
11916 (arg1)->SetDragRect((wxRect const &)*arg2);
11917 wxPyEndAllowThreads(__tstate);
11918 if (PyErr_Occurred()) SWIG_fail;
11919 }
11920 resultobj = SWIG_Py_Void();
11921 return resultobj;
11922 fail:
11923 return NULL;
11924 }
11925
11926
11927 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11928 PyObject *resultobj = 0;
11929 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11930 wxRect result;
11931 void *argp1 = 0 ;
11932 int res1 = 0 ;
11933 PyObject *swig_obj[1] ;
11934
11935 if (!args) SWIG_fail;
11936 swig_obj[0] = args;
11937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11938 if (!SWIG_IsOK(res1)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11940 }
11941 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11942 {
11943 PyThreadState* __tstate = wxPyBeginAllowThreads();
11944 result = ((wxSashEvent const *)arg1)->GetDragRect();
11945 wxPyEndAllowThreads(__tstate);
11946 if (PyErr_Occurred()) SWIG_fail;
11947 }
11948 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11949 return resultobj;
11950 fail:
11951 return NULL;
11952 }
11953
11954
11955 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11956 PyObject *resultobj = 0;
11957 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11958 wxSashDragStatus arg2 ;
11959 void *argp1 = 0 ;
11960 int res1 = 0 ;
11961 int val2 ;
11962 int ecode2 = 0 ;
11963 PyObject * obj0 = 0 ;
11964 PyObject * obj1 = 0 ;
11965 char * kwnames[] = {
11966 (char *) "self",(char *) "status", NULL
11967 };
11968
11969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11971 if (!SWIG_IsOK(res1)) {
11972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11973 }
11974 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11975 ecode2 = SWIG_AsVal_int(obj1, &val2);
11976 if (!SWIG_IsOK(ecode2)) {
11977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11978 }
11979 arg2 = static_cast< wxSashDragStatus >(val2);
11980 {
11981 PyThreadState* __tstate = wxPyBeginAllowThreads();
11982 (arg1)->SetDragStatus(arg2);
11983 wxPyEndAllowThreads(__tstate);
11984 if (PyErr_Occurred()) SWIG_fail;
11985 }
11986 resultobj = SWIG_Py_Void();
11987 return resultobj;
11988 fail:
11989 return NULL;
11990 }
11991
11992
11993 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11994 PyObject *resultobj = 0;
11995 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11996 wxSashDragStatus result;
11997 void *argp1 = 0 ;
11998 int res1 = 0 ;
11999 PyObject *swig_obj[1] ;
12000
12001 if (!args) SWIG_fail;
12002 swig_obj[0] = args;
12003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12004 if (!SWIG_IsOK(res1)) {
12005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12006 }
12007 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12008 {
12009 PyThreadState* __tstate = wxPyBeginAllowThreads();
12010 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12011 wxPyEndAllowThreads(__tstate);
12012 if (PyErr_Occurred()) SWIG_fail;
12013 }
12014 resultobj = SWIG_From_int(static_cast< int >(result));
12015 return resultobj;
12016 fail:
12017 return NULL;
12018 }
12019
12020
12021 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12022 PyObject *obj;
12023 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12024 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12025 return SWIG_Py_Void();
12026 }
12027
12028 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12029 return SWIG_Python_InitShadowInstance(args);
12030 }
12031
12032 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12033 PyObject *resultobj = 0;
12034 int arg1 = (int) 0 ;
12035 wxQueryLayoutInfoEvent *result = 0 ;
12036 int val1 ;
12037 int ecode1 = 0 ;
12038 PyObject * obj0 = 0 ;
12039 char * kwnames[] = {
12040 (char *) "id", NULL
12041 };
12042
12043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12044 if (obj0) {
12045 ecode1 = SWIG_AsVal_int(obj0, &val1);
12046 if (!SWIG_IsOK(ecode1)) {
12047 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12048 }
12049 arg1 = static_cast< int >(val1);
12050 }
12051 {
12052 PyThreadState* __tstate = wxPyBeginAllowThreads();
12053 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12054 wxPyEndAllowThreads(__tstate);
12055 if (PyErr_Occurred()) SWIG_fail;
12056 }
12057 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12058 return resultobj;
12059 fail:
12060 return NULL;
12061 }
12062
12063
12064 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12065 PyObject *resultobj = 0;
12066 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12067 int arg2 ;
12068 void *argp1 = 0 ;
12069 int res1 = 0 ;
12070 int val2 ;
12071 int ecode2 = 0 ;
12072 PyObject * obj0 = 0 ;
12073 PyObject * obj1 = 0 ;
12074 char * kwnames[] = {
12075 (char *) "self",(char *) "length", NULL
12076 };
12077
12078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12080 if (!SWIG_IsOK(res1)) {
12081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12082 }
12083 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12084 ecode2 = SWIG_AsVal_int(obj1, &val2);
12085 if (!SWIG_IsOK(ecode2)) {
12086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12087 }
12088 arg2 = static_cast< int >(val2);
12089 {
12090 PyThreadState* __tstate = wxPyBeginAllowThreads();
12091 (arg1)->SetRequestedLength(arg2);
12092 wxPyEndAllowThreads(__tstate);
12093 if (PyErr_Occurred()) SWIG_fail;
12094 }
12095 resultobj = SWIG_Py_Void();
12096 return resultobj;
12097 fail:
12098 return NULL;
12099 }
12100
12101
12102 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12103 PyObject *resultobj = 0;
12104 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12105 int result;
12106 void *argp1 = 0 ;
12107 int res1 = 0 ;
12108 PyObject *swig_obj[1] ;
12109
12110 if (!args) SWIG_fail;
12111 swig_obj[0] = args;
12112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12113 if (!SWIG_IsOK(res1)) {
12114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12115 }
12116 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12117 {
12118 PyThreadState* __tstate = wxPyBeginAllowThreads();
12119 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12120 wxPyEndAllowThreads(__tstate);
12121 if (PyErr_Occurred()) SWIG_fail;
12122 }
12123 resultobj = SWIG_From_int(static_cast< int >(result));
12124 return resultobj;
12125 fail:
12126 return NULL;
12127 }
12128
12129
12130 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12131 PyObject *resultobj = 0;
12132 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12133 int arg2 ;
12134 void *argp1 = 0 ;
12135 int res1 = 0 ;
12136 int val2 ;
12137 int ecode2 = 0 ;
12138 PyObject * obj0 = 0 ;
12139 PyObject * obj1 = 0 ;
12140 char * kwnames[] = {
12141 (char *) "self",(char *) "flags", NULL
12142 };
12143
12144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12146 if (!SWIG_IsOK(res1)) {
12147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12148 }
12149 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12150 ecode2 = SWIG_AsVal_int(obj1, &val2);
12151 if (!SWIG_IsOK(ecode2)) {
12152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12153 }
12154 arg2 = static_cast< int >(val2);
12155 {
12156 PyThreadState* __tstate = wxPyBeginAllowThreads();
12157 (arg1)->SetFlags(arg2);
12158 wxPyEndAllowThreads(__tstate);
12159 if (PyErr_Occurred()) SWIG_fail;
12160 }
12161 resultobj = SWIG_Py_Void();
12162 return resultobj;
12163 fail:
12164 return NULL;
12165 }
12166
12167
12168 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12169 PyObject *resultobj = 0;
12170 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12171 int result;
12172 void *argp1 = 0 ;
12173 int res1 = 0 ;
12174 PyObject *swig_obj[1] ;
12175
12176 if (!args) SWIG_fail;
12177 swig_obj[0] = args;
12178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12179 if (!SWIG_IsOK(res1)) {
12180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12181 }
12182 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12183 {
12184 PyThreadState* __tstate = wxPyBeginAllowThreads();
12185 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12186 wxPyEndAllowThreads(__tstate);
12187 if (PyErr_Occurred()) SWIG_fail;
12188 }
12189 resultobj = SWIG_From_int(static_cast< int >(result));
12190 return resultobj;
12191 fail:
12192 return NULL;
12193 }
12194
12195
12196 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12197 PyObject *resultobj = 0;
12198 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12199 wxSize *arg2 = 0 ;
12200 void *argp1 = 0 ;
12201 int res1 = 0 ;
12202 wxSize temp2 ;
12203 PyObject * obj0 = 0 ;
12204 PyObject * obj1 = 0 ;
12205 char * kwnames[] = {
12206 (char *) "self",(char *) "size", NULL
12207 };
12208
12209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12211 if (!SWIG_IsOK(res1)) {
12212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12213 }
12214 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12215 {
12216 arg2 = &temp2;
12217 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12218 }
12219 {
12220 PyThreadState* __tstate = wxPyBeginAllowThreads();
12221 (arg1)->SetSize((wxSize const &)*arg2);
12222 wxPyEndAllowThreads(__tstate);
12223 if (PyErr_Occurred()) SWIG_fail;
12224 }
12225 resultobj = SWIG_Py_Void();
12226 return resultobj;
12227 fail:
12228 return NULL;
12229 }
12230
12231
12232 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12233 PyObject *resultobj = 0;
12234 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12235 wxSize result;
12236 void *argp1 = 0 ;
12237 int res1 = 0 ;
12238 PyObject *swig_obj[1] ;
12239
12240 if (!args) SWIG_fail;
12241 swig_obj[0] = args;
12242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12243 if (!SWIG_IsOK(res1)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12245 }
12246 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12247 {
12248 PyThreadState* __tstate = wxPyBeginAllowThreads();
12249 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12250 wxPyEndAllowThreads(__tstate);
12251 if (PyErr_Occurred()) SWIG_fail;
12252 }
12253 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12254 return resultobj;
12255 fail:
12256 return NULL;
12257 }
12258
12259
12260 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12261 PyObject *resultobj = 0;
12262 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12263 wxLayoutOrientation arg2 ;
12264 void *argp1 = 0 ;
12265 int res1 = 0 ;
12266 int val2 ;
12267 int ecode2 = 0 ;
12268 PyObject * obj0 = 0 ;
12269 PyObject * obj1 = 0 ;
12270 char * kwnames[] = {
12271 (char *) "self",(char *) "orient", NULL
12272 };
12273
12274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12276 if (!SWIG_IsOK(res1)) {
12277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12278 }
12279 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12280 ecode2 = SWIG_AsVal_int(obj1, &val2);
12281 if (!SWIG_IsOK(ecode2)) {
12282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12283 }
12284 arg2 = static_cast< wxLayoutOrientation >(val2);
12285 {
12286 PyThreadState* __tstate = wxPyBeginAllowThreads();
12287 (arg1)->SetOrientation(arg2);
12288 wxPyEndAllowThreads(__tstate);
12289 if (PyErr_Occurred()) SWIG_fail;
12290 }
12291 resultobj = SWIG_Py_Void();
12292 return resultobj;
12293 fail:
12294 return NULL;
12295 }
12296
12297
12298 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12299 PyObject *resultobj = 0;
12300 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12301 wxLayoutOrientation result;
12302 void *argp1 = 0 ;
12303 int res1 = 0 ;
12304 PyObject *swig_obj[1] ;
12305
12306 if (!args) SWIG_fail;
12307 swig_obj[0] = args;
12308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12309 if (!SWIG_IsOK(res1)) {
12310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12311 }
12312 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12313 {
12314 PyThreadState* __tstate = wxPyBeginAllowThreads();
12315 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12316 wxPyEndAllowThreads(__tstate);
12317 if (PyErr_Occurred()) SWIG_fail;
12318 }
12319 resultobj = SWIG_From_int(static_cast< int >(result));
12320 return resultobj;
12321 fail:
12322 return NULL;
12323 }
12324
12325
12326 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12327 PyObject *resultobj = 0;
12328 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12329 wxLayoutAlignment arg2 ;
12330 void *argp1 = 0 ;
12331 int res1 = 0 ;
12332 int val2 ;
12333 int ecode2 = 0 ;
12334 PyObject * obj0 = 0 ;
12335 PyObject * obj1 = 0 ;
12336 char * kwnames[] = {
12337 (char *) "self",(char *) "align", NULL
12338 };
12339
12340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12342 if (!SWIG_IsOK(res1)) {
12343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12344 }
12345 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12346 ecode2 = SWIG_AsVal_int(obj1, &val2);
12347 if (!SWIG_IsOK(ecode2)) {
12348 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12349 }
12350 arg2 = static_cast< wxLayoutAlignment >(val2);
12351 {
12352 PyThreadState* __tstate = wxPyBeginAllowThreads();
12353 (arg1)->SetAlignment(arg2);
12354 wxPyEndAllowThreads(__tstate);
12355 if (PyErr_Occurred()) SWIG_fail;
12356 }
12357 resultobj = SWIG_Py_Void();
12358 return resultobj;
12359 fail:
12360 return NULL;
12361 }
12362
12363
12364 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12365 PyObject *resultobj = 0;
12366 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12367 wxLayoutAlignment result;
12368 void *argp1 = 0 ;
12369 int res1 = 0 ;
12370 PyObject *swig_obj[1] ;
12371
12372 if (!args) SWIG_fail;
12373 swig_obj[0] = args;
12374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12375 if (!SWIG_IsOK(res1)) {
12376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12377 }
12378 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12379 {
12380 PyThreadState* __tstate = wxPyBeginAllowThreads();
12381 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12382 wxPyEndAllowThreads(__tstate);
12383 if (PyErr_Occurred()) SWIG_fail;
12384 }
12385 resultobj = SWIG_From_int(static_cast< int >(result));
12386 return resultobj;
12387 fail:
12388 return NULL;
12389 }
12390
12391
12392 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12393 PyObject *obj;
12394 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12395 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12396 return SWIG_Py_Void();
12397 }
12398
12399 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12400 return SWIG_Python_InitShadowInstance(args);
12401 }
12402
12403 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12404 PyObject *resultobj = 0;
12405 int arg1 = (int) 0 ;
12406 wxCalculateLayoutEvent *result = 0 ;
12407 int val1 ;
12408 int ecode1 = 0 ;
12409 PyObject * obj0 = 0 ;
12410 char * kwnames[] = {
12411 (char *) "id", NULL
12412 };
12413
12414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12415 if (obj0) {
12416 ecode1 = SWIG_AsVal_int(obj0, &val1);
12417 if (!SWIG_IsOK(ecode1)) {
12418 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12419 }
12420 arg1 = static_cast< int >(val1);
12421 }
12422 {
12423 PyThreadState* __tstate = wxPyBeginAllowThreads();
12424 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12425 wxPyEndAllowThreads(__tstate);
12426 if (PyErr_Occurred()) SWIG_fail;
12427 }
12428 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12429 return resultobj;
12430 fail:
12431 return NULL;
12432 }
12433
12434
12435 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12436 PyObject *resultobj = 0;
12437 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12438 int arg2 ;
12439 void *argp1 = 0 ;
12440 int res1 = 0 ;
12441 int val2 ;
12442 int ecode2 = 0 ;
12443 PyObject * obj0 = 0 ;
12444 PyObject * obj1 = 0 ;
12445 char * kwnames[] = {
12446 (char *) "self",(char *) "flags", NULL
12447 };
12448
12449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12451 if (!SWIG_IsOK(res1)) {
12452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12453 }
12454 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12455 ecode2 = SWIG_AsVal_int(obj1, &val2);
12456 if (!SWIG_IsOK(ecode2)) {
12457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12458 }
12459 arg2 = static_cast< int >(val2);
12460 {
12461 PyThreadState* __tstate = wxPyBeginAllowThreads();
12462 (arg1)->SetFlags(arg2);
12463 wxPyEndAllowThreads(__tstate);
12464 if (PyErr_Occurred()) SWIG_fail;
12465 }
12466 resultobj = SWIG_Py_Void();
12467 return resultobj;
12468 fail:
12469 return NULL;
12470 }
12471
12472
12473 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12474 PyObject *resultobj = 0;
12475 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12476 int result;
12477 void *argp1 = 0 ;
12478 int res1 = 0 ;
12479 PyObject *swig_obj[1] ;
12480
12481 if (!args) SWIG_fail;
12482 swig_obj[0] = args;
12483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12484 if (!SWIG_IsOK(res1)) {
12485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12486 }
12487 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12488 {
12489 PyThreadState* __tstate = wxPyBeginAllowThreads();
12490 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12491 wxPyEndAllowThreads(__tstate);
12492 if (PyErr_Occurred()) SWIG_fail;
12493 }
12494 resultobj = SWIG_From_int(static_cast< int >(result));
12495 return resultobj;
12496 fail:
12497 return NULL;
12498 }
12499
12500
12501 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12502 PyObject *resultobj = 0;
12503 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12504 wxRect *arg2 = 0 ;
12505 void *argp1 = 0 ;
12506 int res1 = 0 ;
12507 wxRect temp2 ;
12508 PyObject * obj0 = 0 ;
12509 PyObject * obj1 = 0 ;
12510 char * kwnames[] = {
12511 (char *) "self",(char *) "rect", NULL
12512 };
12513
12514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12516 if (!SWIG_IsOK(res1)) {
12517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12518 }
12519 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12520 {
12521 arg2 = &temp2;
12522 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12523 }
12524 {
12525 PyThreadState* __tstate = wxPyBeginAllowThreads();
12526 (arg1)->SetRect((wxRect const &)*arg2);
12527 wxPyEndAllowThreads(__tstate);
12528 if (PyErr_Occurred()) SWIG_fail;
12529 }
12530 resultobj = SWIG_Py_Void();
12531 return resultobj;
12532 fail:
12533 return NULL;
12534 }
12535
12536
12537 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12538 PyObject *resultobj = 0;
12539 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12540 wxRect result;
12541 void *argp1 = 0 ;
12542 int res1 = 0 ;
12543 PyObject *swig_obj[1] ;
12544
12545 if (!args) SWIG_fail;
12546 swig_obj[0] = args;
12547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12548 if (!SWIG_IsOK(res1)) {
12549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12550 }
12551 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12552 {
12553 PyThreadState* __tstate = wxPyBeginAllowThreads();
12554 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12555 wxPyEndAllowThreads(__tstate);
12556 if (PyErr_Occurred()) SWIG_fail;
12557 }
12558 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12559 return resultobj;
12560 fail:
12561 return NULL;
12562 }
12563
12564
12565 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12566 PyObject *obj;
12567 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12568 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12569 return SWIG_Py_Void();
12570 }
12571
12572 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12573 return SWIG_Python_InitShadowInstance(args);
12574 }
12575
12576 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12577 PyObject *resultobj = 0;
12578 wxWindow *arg1 = (wxWindow *) 0 ;
12579 int arg2 = (int) -1 ;
12580 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12581 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12582 wxSize const &arg4_defvalue = wxDefaultSize ;
12583 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12584 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12585 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12586 wxString *arg6 = (wxString *) &arg6_defvalue ;
12587 wxSashLayoutWindow *result = 0 ;
12588 void *argp1 = 0 ;
12589 int res1 = 0 ;
12590 int val2 ;
12591 int ecode2 = 0 ;
12592 wxPoint temp3 ;
12593 wxSize temp4 ;
12594 long val5 ;
12595 int ecode5 = 0 ;
12596 bool temp6 = false ;
12597 PyObject * obj0 = 0 ;
12598 PyObject * obj1 = 0 ;
12599 PyObject * obj2 = 0 ;
12600 PyObject * obj3 = 0 ;
12601 PyObject * obj4 = 0 ;
12602 PyObject * obj5 = 0 ;
12603 char * kwnames[] = {
12604 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12605 };
12606
12607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12609 if (!SWIG_IsOK(res1)) {
12610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12611 }
12612 arg1 = reinterpret_cast< wxWindow * >(argp1);
12613 if (obj1) {
12614 ecode2 = SWIG_AsVal_int(obj1, &val2);
12615 if (!SWIG_IsOK(ecode2)) {
12616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12617 }
12618 arg2 = static_cast< int >(val2);
12619 }
12620 if (obj2) {
12621 {
12622 arg3 = &temp3;
12623 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12624 }
12625 }
12626 if (obj3) {
12627 {
12628 arg4 = &temp4;
12629 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12630 }
12631 }
12632 if (obj4) {
12633 ecode5 = SWIG_AsVal_long(obj4, &val5);
12634 if (!SWIG_IsOK(ecode5)) {
12635 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12636 }
12637 arg5 = static_cast< long >(val5);
12638 }
12639 if (obj5) {
12640 {
12641 arg6 = wxString_in_helper(obj5);
12642 if (arg6 == NULL) SWIG_fail;
12643 temp6 = true;
12644 }
12645 }
12646 {
12647 if (!wxPyCheckForApp()) SWIG_fail;
12648 PyThreadState* __tstate = wxPyBeginAllowThreads();
12649 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12650 wxPyEndAllowThreads(__tstate);
12651 if (PyErr_Occurred()) SWIG_fail;
12652 }
12653 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12654 {
12655 if (temp6)
12656 delete arg6;
12657 }
12658 return resultobj;
12659 fail:
12660 {
12661 if (temp6)
12662 delete arg6;
12663 }
12664 return NULL;
12665 }
12666
12667
12668 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12669 PyObject *resultobj = 0;
12670 wxSashLayoutWindow *result = 0 ;
12671
12672 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12673 {
12674 if (!wxPyCheckForApp()) SWIG_fail;
12675 PyThreadState* __tstate = wxPyBeginAllowThreads();
12676 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12677 wxPyEndAllowThreads(__tstate);
12678 if (PyErr_Occurred()) SWIG_fail;
12679 }
12680 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12681 return resultobj;
12682 fail:
12683 return NULL;
12684 }
12685
12686
12687 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12688 PyObject *resultobj = 0;
12689 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12690 wxWindow *arg2 = (wxWindow *) 0 ;
12691 int arg3 = (int) -1 ;
12692 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12693 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12694 wxSize const &arg5_defvalue = wxDefaultSize ;
12695 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12696 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12697 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12698 wxString *arg7 = (wxString *) &arg7_defvalue ;
12699 bool result;
12700 void *argp1 = 0 ;
12701 int res1 = 0 ;
12702 void *argp2 = 0 ;
12703 int res2 = 0 ;
12704 int val3 ;
12705 int ecode3 = 0 ;
12706 wxPoint temp4 ;
12707 wxSize temp5 ;
12708 long val6 ;
12709 int ecode6 = 0 ;
12710 bool temp7 = false ;
12711 PyObject * obj0 = 0 ;
12712 PyObject * obj1 = 0 ;
12713 PyObject * obj2 = 0 ;
12714 PyObject * obj3 = 0 ;
12715 PyObject * obj4 = 0 ;
12716 PyObject * obj5 = 0 ;
12717 PyObject * obj6 = 0 ;
12718 char * kwnames[] = {
12719 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12720 };
12721
12722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12724 if (!SWIG_IsOK(res1)) {
12725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12726 }
12727 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12728 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12729 if (!SWIG_IsOK(res2)) {
12730 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12731 }
12732 arg2 = reinterpret_cast< wxWindow * >(argp2);
12733 if (obj2) {
12734 ecode3 = SWIG_AsVal_int(obj2, &val3);
12735 if (!SWIG_IsOK(ecode3)) {
12736 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12737 }
12738 arg3 = static_cast< int >(val3);
12739 }
12740 if (obj3) {
12741 {
12742 arg4 = &temp4;
12743 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12744 }
12745 }
12746 if (obj4) {
12747 {
12748 arg5 = &temp5;
12749 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12750 }
12751 }
12752 if (obj5) {
12753 ecode6 = SWIG_AsVal_long(obj5, &val6);
12754 if (!SWIG_IsOK(ecode6)) {
12755 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12756 }
12757 arg6 = static_cast< long >(val6);
12758 }
12759 if (obj6) {
12760 {
12761 arg7 = wxString_in_helper(obj6);
12762 if (arg7 == NULL) SWIG_fail;
12763 temp7 = true;
12764 }
12765 }
12766 {
12767 PyThreadState* __tstate = wxPyBeginAllowThreads();
12768 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12769 wxPyEndAllowThreads(__tstate);
12770 if (PyErr_Occurred()) SWIG_fail;
12771 }
12772 {
12773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12774 }
12775 {
12776 if (temp7)
12777 delete arg7;
12778 }
12779 return resultobj;
12780 fail:
12781 {
12782 if (temp7)
12783 delete arg7;
12784 }
12785 return NULL;
12786 }
12787
12788
12789 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12790 PyObject *resultobj = 0;
12791 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12792 wxLayoutAlignment result;
12793 void *argp1 = 0 ;
12794 int res1 = 0 ;
12795 PyObject *swig_obj[1] ;
12796
12797 if (!args) SWIG_fail;
12798 swig_obj[0] = args;
12799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12800 if (!SWIG_IsOK(res1)) {
12801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12802 }
12803 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12804 {
12805 PyThreadState* __tstate = wxPyBeginAllowThreads();
12806 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12807 wxPyEndAllowThreads(__tstate);
12808 if (PyErr_Occurred()) SWIG_fail;
12809 }
12810 resultobj = SWIG_From_int(static_cast< int >(result));
12811 return resultobj;
12812 fail:
12813 return NULL;
12814 }
12815
12816
12817 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12818 PyObject *resultobj = 0;
12819 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12820 wxLayoutOrientation result;
12821 void *argp1 = 0 ;
12822 int res1 = 0 ;
12823 PyObject *swig_obj[1] ;
12824
12825 if (!args) SWIG_fail;
12826 swig_obj[0] = args;
12827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12828 if (!SWIG_IsOK(res1)) {
12829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12830 }
12831 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12832 {
12833 PyThreadState* __tstate = wxPyBeginAllowThreads();
12834 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12835 wxPyEndAllowThreads(__tstate);
12836 if (PyErr_Occurred()) SWIG_fail;
12837 }
12838 resultobj = SWIG_From_int(static_cast< int >(result));
12839 return resultobj;
12840 fail:
12841 return NULL;
12842 }
12843
12844
12845 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12846 PyObject *resultobj = 0;
12847 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12848 wxLayoutAlignment arg2 ;
12849 void *argp1 = 0 ;
12850 int res1 = 0 ;
12851 int val2 ;
12852 int ecode2 = 0 ;
12853 PyObject * obj0 = 0 ;
12854 PyObject * obj1 = 0 ;
12855 char * kwnames[] = {
12856 (char *) "self",(char *) "alignment", NULL
12857 };
12858
12859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12861 if (!SWIG_IsOK(res1)) {
12862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12863 }
12864 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12865 ecode2 = SWIG_AsVal_int(obj1, &val2);
12866 if (!SWIG_IsOK(ecode2)) {
12867 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12868 }
12869 arg2 = static_cast< wxLayoutAlignment >(val2);
12870 {
12871 PyThreadState* __tstate = wxPyBeginAllowThreads();
12872 (arg1)->SetAlignment(arg2);
12873 wxPyEndAllowThreads(__tstate);
12874 if (PyErr_Occurred()) SWIG_fail;
12875 }
12876 resultobj = SWIG_Py_Void();
12877 return resultobj;
12878 fail:
12879 return NULL;
12880 }
12881
12882
12883 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12884 PyObject *resultobj = 0;
12885 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12886 wxSize *arg2 = 0 ;
12887 void *argp1 = 0 ;
12888 int res1 = 0 ;
12889 wxSize temp2 ;
12890 PyObject * obj0 = 0 ;
12891 PyObject * obj1 = 0 ;
12892 char * kwnames[] = {
12893 (char *) "self",(char *) "size", NULL
12894 };
12895
12896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12898 if (!SWIG_IsOK(res1)) {
12899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12900 }
12901 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12902 {
12903 arg2 = &temp2;
12904 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12905 }
12906 {
12907 PyThreadState* __tstate = wxPyBeginAllowThreads();
12908 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12909 wxPyEndAllowThreads(__tstate);
12910 if (PyErr_Occurred()) SWIG_fail;
12911 }
12912 resultobj = SWIG_Py_Void();
12913 return resultobj;
12914 fail:
12915 return NULL;
12916 }
12917
12918
12919 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12920 PyObject *resultobj = 0;
12921 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12922 wxLayoutOrientation arg2 ;
12923 void *argp1 = 0 ;
12924 int res1 = 0 ;
12925 int val2 ;
12926 int ecode2 = 0 ;
12927 PyObject * obj0 = 0 ;
12928 PyObject * obj1 = 0 ;
12929 char * kwnames[] = {
12930 (char *) "self",(char *) "orientation", NULL
12931 };
12932
12933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12935 if (!SWIG_IsOK(res1)) {
12936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12937 }
12938 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12939 ecode2 = SWIG_AsVal_int(obj1, &val2);
12940 if (!SWIG_IsOK(ecode2)) {
12941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12942 }
12943 arg2 = static_cast< wxLayoutOrientation >(val2);
12944 {
12945 PyThreadState* __tstate = wxPyBeginAllowThreads();
12946 (arg1)->SetOrientation(arg2);
12947 wxPyEndAllowThreads(__tstate);
12948 if (PyErr_Occurred()) SWIG_fail;
12949 }
12950 resultobj = SWIG_Py_Void();
12951 return resultobj;
12952 fail:
12953 return NULL;
12954 }
12955
12956
12957 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12958 PyObject *obj;
12959 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12960 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12961 return SWIG_Py_Void();
12962 }
12963
12964 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12965 return SWIG_Python_InitShadowInstance(args);
12966 }
12967
12968 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12969 PyObject *resultobj = 0;
12970 wxLayoutAlgorithm *result = 0 ;
12971
12972 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12973 {
12974 PyThreadState* __tstate = wxPyBeginAllowThreads();
12975 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12976 wxPyEndAllowThreads(__tstate);
12977 if (PyErr_Occurred()) SWIG_fail;
12978 }
12979 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12980 return resultobj;
12981 fail:
12982 return NULL;
12983 }
12984
12985
12986 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12987 PyObject *resultobj = 0;
12988 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12989 void *argp1 = 0 ;
12990 int res1 = 0 ;
12991 PyObject *swig_obj[1] ;
12992
12993 if (!args) SWIG_fail;
12994 swig_obj[0] = args;
12995 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12996 if (!SWIG_IsOK(res1)) {
12997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12998 }
12999 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13000 {
13001 PyThreadState* __tstate = wxPyBeginAllowThreads();
13002 delete arg1;
13003
13004 wxPyEndAllowThreads(__tstate);
13005 if (PyErr_Occurred()) SWIG_fail;
13006 }
13007 resultobj = SWIG_Py_Void();
13008 return resultobj;
13009 fail:
13010 return NULL;
13011 }
13012
13013
13014 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13015 PyObject *resultobj = 0;
13016 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13017 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13018 wxRect *arg3 = (wxRect *) NULL ;
13019 bool result;
13020 void *argp1 = 0 ;
13021 int res1 = 0 ;
13022 void *argp2 = 0 ;
13023 int res2 = 0 ;
13024 void *argp3 = 0 ;
13025 int res3 = 0 ;
13026 PyObject * obj0 = 0 ;
13027 PyObject * obj1 = 0 ;
13028 PyObject * obj2 = 0 ;
13029 char * kwnames[] = {
13030 (char *) "self",(char *) "frame",(char *) "rect", NULL
13031 };
13032
13033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13035 if (!SWIG_IsOK(res1)) {
13036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13037 }
13038 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13039 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13040 if (!SWIG_IsOK(res2)) {
13041 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13042 }
13043 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13044 if (obj2) {
13045 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13046 if (!SWIG_IsOK(res3)) {
13047 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13048 }
13049 arg3 = reinterpret_cast< wxRect * >(argp3);
13050 }
13051 {
13052 PyThreadState* __tstate = wxPyBeginAllowThreads();
13053 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13054 wxPyEndAllowThreads(__tstate);
13055 if (PyErr_Occurred()) SWIG_fail;
13056 }
13057 {
13058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13059 }
13060 return resultobj;
13061 fail:
13062 return NULL;
13063 }
13064
13065
13066 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13067 PyObject *resultobj = 0;
13068 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13069 wxFrame *arg2 = (wxFrame *) 0 ;
13070 wxWindow *arg3 = (wxWindow *) NULL ;
13071 bool result;
13072 void *argp1 = 0 ;
13073 int res1 = 0 ;
13074 void *argp2 = 0 ;
13075 int res2 = 0 ;
13076 void *argp3 = 0 ;
13077 int res3 = 0 ;
13078 PyObject * obj0 = 0 ;
13079 PyObject * obj1 = 0 ;
13080 PyObject * obj2 = 0 ;
13081 char * kwnames[] = {
13082 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13083 };
13084
13085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13087 if (!SWIG_IsOK(res1)) {
13088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13089 }
13090 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13091 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13092 if (!SWIG_IsOK(res2)) {
13093 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13094 }
13095 arg2 = reinterpret_cast< wxFrame * >(argp2);
13096 if (obj2) {
13097 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13098 if (!SWIG_IsOK(res3)) {
13099 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13100 }
13101 arg3 = reinterpret_cast< wxWindow * >(argp3);
13102 }
13103 {
13104 PyThreadState* __tstate = wxPyBeginAllowThreads();
13105 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13106 wxPyEndAllowThreads(__tstate);
13107 if (PyErr_Occurred()) SWIG_fail;
13108 }
13109 {
13110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13111 }
13112 return resultobj;
13113 fail:
13114 return NULL;
13115 }
13116
13117
13118 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13119 PyObject *resultobj = 0;
13120 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13121 wxWindow *arg2 = (wxWindow *) 0 ;
13122 wxWindow *arg3 = (wxWindow *) NULL ;
13123 bool result;
13124 void *argp1 = 0 ;
13125 int res1 = 0 ;
13126 void *argp2 = 0 ;
13127 int res2 = 0 ;
13128 void *argp3 = 0 ;
13129 int res3 = 0 ;
13130 PyObject * obj0 = 0 ;
13131 PyObject * obj1 = 0 ;
13132 PyObject * obj2 = 0 ;
13133 char * kwnames[] = {
13134 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13135 };
13136
13137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13139 if (!SWIG_IsOK(res1)) {
13140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13141 }
13142 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13143 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13144 if (!SWIG_IsOK(res2)) {
13145 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13146 }
13147 arg2 = reinterpret_cast< wxWindow * >(argp2);
13148 if (obj2) {
13149 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13150 if (!SWIG_IsOK(res3)) {
13151 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13152 }
13153 arg3 = reinterpret_cast< wxWindow * >(argp3);
13154 }
13155 {
13156 PyThreadState* __tstate = wxPyBeginAllowThreads();
13157 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13158 wxPyEndAllowThreads(__tstate);
13159 if (PyErr_Occurred()) SWIG_fail;
13160 }
13161 {
13162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13163 }
13164 return resultobj;
13165 fail:
13166 return NULL;
13167 }
13168
13169
13170 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13171 PyObject *obj;
13172 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13173 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13174 return SWIG_Py_Void();
13175 }
13176
13177 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13178 return SWIG_Python_InitShadowInstance(args);
13179 }
13180
13181 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13182 PyObject *resultobj = 0;
13183 wxWindow *arg1 = (wxWindow *) 0 ;
13184 int arg2 = (int) wxBORDER_NONE ;
13185 wxPopupWindow *result = 0 ;
13186 void *argp1 = 0 ;
13187 int res1 = 0 ;
13188 int val2 ;
13189 int ecode2 = 0 ;
13190 PyObject * obj0 = 0 ;
13191 PyObject * obj1 = 0 ;
13192 char * kwnames[] = {
13193 (char *) "parent",(char *) "flags", NULL
13194 };
13195
13196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13198 if (!SWIG_IsOK(res1)) {
13199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13200 }
13201 arg1 = reinterpret_cast< wxWindow * >(argp1);
13202 if (obj1) {
13203 ecode2 = SWIG_AsVal_int(obj1, &val2);
13204 if (!SWIG_IsOK(ecode2)) {
13205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13206 }
13207 arg2 = static_cast< int >(val2);
13208 }
13209 {
13210 if (!wxPyCheckForApp()) SWIG_fail;
13211 PyThreadState* __tstate = wxPyBeginAllowThreads();
13212 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13213 wxPyEndAllowThreads(__tstate);
13214 if (PyErr_Occurred()) SWIG_fail;
13215 }
13216 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13217 return resultobj;
13218 fail:
13219 return NULL;
13220 }
13221
13222
13223 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13224 PyObject *resultobj = 0;
13225 wxPopupWindow *result = 0 ;
13226
13227 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13228 {
13229 if (!wxPyCheckForApp()) SWIG_fail;
13230 PyThreadState* __tstate = wxPyBeginAllowThreads();
13231 result = (wxPopupWindow *)new wxPopupWindow();
13232 wxPyEndAllowThreads(__tstate);
13233 if (PyErr_Occurred()) SWIG_fail;
13234 }
13235 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13236 return resultobj;
13237 fail:
13238 return NULL;
13239 }
13240
13241
13242 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13243 PyObject *resultobj = 0;
13244 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13245 wxWindow *arg2 = (wxWindow *) 0 ;
13246 int arg3 = (int) wxBORDER_NONE ;
13247 bool result;
13248 void *argp1 = 0 ;
13249 int res1 = 0 ;
13250 void *argp2 = 0 ;
13251 int res2 = 0 ;
13252 int val3 ;
13253 int ecode3 = 0 ;
13254 PyObject * obj0 = 0 ;
13255 PyObject * obj1 = 0 ;
13256 PyObject * obj2 = 0 ;
13257 char * kwnames[] = {
13258 (char *) "self",(char *) "parent",(char *) "flags", NULL
13259 };
13260
13261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13263 if (!SWIG_IsOK(res1)) {
13264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13265 }
13266 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13267 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13268 if (!SWIG_IsOK(res2)) {
13269 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13270 }
13271 arg2 = reinterpret_cast< wxWindow * >(argp2);
13272 if (obj2) {
13273 ecode3 = SWIG_AsVal_int(obj2, &val3);
13274 if (!SWIG_IsOK(ecode3)) {
13275 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13276 }
13277 arg3 = static_cast< int >(val3);
13278 }
13279 {
13280 PyThreadState* __tstate = wxPyBeginAllowThreads();
13281 result = (bool)(arg1)->Create(arg2,arg3);
13282 wxPyEndAllowThreads(__tstate);
13283 if (PyErr_Occurred()) SWIG_fail;
13284 }
13285 {
13286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13287 }
13288 return resultobj;
13289 fail:
13290 return NULL;
13291 }
13292
13293
13294 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13295 PyObject *resultobj = 0;
13296 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13297 wxPoint *arg2 = 0 ;
13298 wxSize *arg3 = 0 ;
13299 void *argp1 = 0 ;
13300 int res1 = 0 ;
13301 wxPoint temp2 ;
13302 wxSize temp3 ;
13303 PyObject * obj0 = 0 ;
13304 PyObject * obj1 = 0 ;
13305 PyObject * obj2 = 0 ;
13306 char * kwnames[] = {
13307 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13308 };
13309
13310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13312 if (!SWIG_IsOK(res1)) {
13313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13314 }
13315 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13316 {
13317 arg2 = &temp2;
13318 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13319 }
13320 {
13321 arg3 = &temp3;
13322 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13323 }
13324 {
13325 PyThreadState* __tstate = wxPyBeginAllowThreads();
13326 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13327 wxPyEndAllowThreads(__tstate);
13328 if (PyErr_Occurred()) SWIG_fail;
13329 }
13330 resultobj = SWIG_Py_Void();
13331 return resultobj;
13332 fail:
13333 return NULL;
13334 }
13335
13336
13337 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13338 PyObject *obj;
13339 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13340 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13341 return SWIG_Py_Void();
13342 }
13343
13344 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13345 return SWIG_Python_InitShadowInstance(args);
13346 }
13347
13348 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13349 PyObject *resultobj = 0;
13350 wxWindow *arg1 = (wxWindow *) 0 ;
13351 int arg2 = (int) wxBORDER_NONE ;
13352 wxPyPopupTransientWindow *result = 0 ;
13353 void *argp1 = 0 ;
13354 int res1 = 0 ;
13355 int val2 ;
13356 int ecode2 = 0 ;
13357 PyObject * obj0 = 0 ;
13358 PyObject * obj1 = 0 ;
13359 char * kwnames[] = {
13360 (char *) "parent",(char *) "style", NULL
13361 };
13362
13363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13365 if (!SWIG_IsOK(res1)) {
13366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13367 }
13368 arg1 = reinterpret_cast< wxWindow * >(argp1);
13369 if (obj1) {
13370 ecode2 = SWIG_AsVal_int(obj1, &val2);
13371 if (!SWIG_IsOK(ecode2)) {
13372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13373 }
13374 arg2 = static_cast< int >(val2);
13375 }
13376 {
13377 if (!wxPyCheckForApp()) SWIG_fail;
13378 PyThreadState* __tstate = wxPyBeginAllowThreads();
13379 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13380 wxPyEndAllowThreads(__tstate);
13381 if (PyErr_Occurred()) SWIG_fail;
13382 }
13383 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13384 return resultobj;
13385 fail:
13386 return NULL;
13387 }
13388
13389
13390 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13391 PyObject *resultobj = 0;
13392 wxPyPopupTransientWindow *result = 0 ;
13393
13394 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13395 {
13396 if (!wxPyCheckForApp()) SWIG_fail;
13397 PyThreadState* __tstate = wxPyBeginAllowThreads();
13398 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13399 wxPyEndAllowThreads(__tstate);
13400 if (PyErr_Occurred()) SWIG_fail;
13401 }
13402 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13403 return resultobj;
13404 fail:
13405 return NULL;
13406 }
13407
13408
13409 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13410 PyObject *resultobj = 0;
13411 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13412 PyObject *arg2 = (PyObject *) 0 ;
13413 PyObject *arg3 = (PyObject *) 0 ;
13414 void *argp1 = 0 ;
13415 int res1 = 0 ;
13416 PyObject * obj0 = 0 ;
13417 PyObject * obj1 = 0 ;
13418 PyObject * obj2 = 0 ;
13419 char * kwnames[] = {
13420 (char *) "self",(char *) "self",(char *) "_class", NULL
13421 };
13422
13423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13425 if (!SWIG_IsOK(res1)) {
13426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13427 }
13428 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13429 arg2 = obj1;
13430 arg3 = obj2;
13431 {
13432 PyThreadState* __tstate = wxPyBeginAllowThreads();
13433 (arg1)->_setCallbackInfo(arg2,arg3);
13434 wxPyEndAllowThreads(__tstate);
13435 if (PyErr_Occurred()) SWIG_fail;
13436 }
13437 resultobj = SWIG_Py_Void();
13438 return resultobj;
13439 fail:
13440 return NULL;
13441 }
13442
13443
13444 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13445 PyObject *resultobj = 0;
13446 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13447 wxWindow *arg2 = (wxWindow *) NULL ;
13448 void *argp1 = 0 ;
13449 int res1 = 0 ;
13450 void *argp2 = 0 ;
13451 int res2 = 0 ;
13452 PyObject * obj0 = 0 ;
13453 PyObject * obj1 = 0 ;
13454 char * kwnames[] = {
13455 (char *) "self",(char *) "focus", NULL
13456 };
13457
13458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13460 if (!SWIG_IsOK(res1)) {
13461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13462 }
13463 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13464 if (obj1) {
13465 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13466 if (!SWIG_IsOK(res2)) {
13467 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13468 }
13469 arg2 = reinterpret_cast< wxWindow * >(argp2);
13470 }
13471 {
13472 PyThreadState* __tstate = wxPyBeginAllowThreads();
13473 (arg1)->Popup(arg2);
13474 wxPyEndAllowThreads(__tstate);
13475 if (PyErr_Occurred()) SWIG_fail;
13476 }
13477 resultobj = SWIG_Py_Void();
13478 return resultobj;
13479 fail:
13480 return NULL;
13481 }
13482
13483
13484 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13485 PyObject *resultobj = 0;
13486 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13487 void *argp1 = 0 ;
13488 int res1 = 0 ;
13489 PyObject *swig_obj[1] ;
13490
13491 if (!args) SWIG_fail;
13492 swig_obj[0] = args;
13493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13494 if (!SWIG_IsOK(res1)) {
13495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13496 }
13497 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13498 {
13499 PyThreadState* __tstate = wxPyBeginAllowThreads();
13500 (arg1)->Dismiss();
13501 wxPyEndAllowThreads(__tstate);
13502 if (PyErr_Occurred()) SWIG_fail;
13503 }
13504 resultobj = SWIG_Py_Void();
13505 return resultobj;
13506 fail:
13507 return NULL;
13508 }
13509
13510
13511 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13512 PyObject *obj;
13513 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13514 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13515 return SWIG_Py_Void();
13516 }
13517
13518 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13519 return SWIG_Python_InitShadowInstance(args);
13520 }
13521
13522 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13523 PyObject *resultobj = 0;
13524 wxWindow *arg1 = (wxWindow *) 0 ;
13525 wxString *arg2 = 0 ;
13526 int arg3 = (int) 100 ;
13527 wxRect *arg4 = (wxRect *) NULL ;
13528 wxTipWindow *result = 0 ;
13529 void *argp1 = 0 ;
13530 int res1 = 0 ;
13531 bool temp2 = false ;
13532 int val3 ;
13533 int ecode3 = 0 ;
13534 void *argp4 = 0 ;
13535 int res4 = 0 ;
13536 PyObject * obj0 = 0 ;
13537 PyObject * obj1 = 0 ;
13538 PyObject * obj2 = 0 ;
13539 PyObject * obj3 = 0 ;
13540 char * kwnames[] = {
13541 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13542 };
13543
13544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13546 if (!SWIG_IsOK(res1)) {
13547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13548 }
13549 arg1 = reinterpret_cast< wxWindow * >(argp1);
13550 {
13551 arg2 = wxString_in_helper(obj1);
13552 if (arg2 == NULL) SWIG_fail;
13553 temp2 = true;
13554 }
13555 if (obj2) {
13556 ecode3 = SWIG_AsVal_int(obj2, &val3);
13557 if (!SWIG_IsOK(ecode3)) {
13558 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13559 }
13560 arg3 = static_cast< int >(val3);
13561 }
13562 if (obj3) {
13563 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13564 if (!SWIG_IsOK(res4)) {
13565 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13566 }
13567 arg4 = reinterpret_cast< wxRect * >(argp4);
13568 }
13569 {
13570 if (!wxPyCheckForApp()) SWIG_fail;
13571 PyThreadState* __tstate = wxPyBeginAllowThreads();
13572 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13573 wxPyEndAllowThreads(__tstate);
13574 if (PyErr_Occurred()) SWIG_fail;
13575 }
13576 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13577 {
13578 if (temp2)
13579 delete arg2;
13580 }
13581 return resultobj;
13582 fail:
13583 {
13584 if (temp2)
13585 delete arg2;
13586 }
13587 return NULL;
13588 }
13589
13590
13591 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13592 PyObject *resultobj = 0;
13593 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13594 wxRect *arg2 = 0 ;
13595 void *argp1 = 0 ;
13596 int res1 = 0 ;
13597 wxRect temp2 ;
13598 PyObject * obj0 = 0 ;
13599 PyObject * obj1 = 0 ;
13600 char * kwnames[] = {
13601 (char *) "self",(char *) "rectBound", NULL
13602 };
13603
13604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13606 if (!SWIG_IsOK(res1)) {
13607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13608 }
13609 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13610 {
13611 arg2 = &temp2;
13612 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13613 }
13614 {
13615 PyThreadState* __tstate = wxPyBeginAllowThreads();
13616 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13617 wxPyEndAllowThreads(__tstate);
13618 if (PyErr_Occurred()) SWIG_fail;
13619 }
13620 resultobj = SWIG_Py_Void();
13621 return resultobj;
13622 fail:
13623 return NULL;
13624 }
13625
13626
13627 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13628 PyObject *resultobj = 0;
13629 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13630 void *argp1 = 0 ;
13631 int res1 = 0 ;
13632 PyObject *swig_obj[1] ;
13633
13634 if (!args) SWIG_fail;
13635 swig_obj[0] = args;
13636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13637 if (!SWIG_IsOK(res1)) {
13638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13639 }
13640 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13641 {
13642 PyThreadState* __tstate = wxPyBeginAllowThreads();
13643 (arg1)->Close();
13644 wxPyEndAllowThreads(__tstate);
13645 if (PyErr_Occurred()) SWIG_fail;
13646 }
13647 resultobj = SWIG_Py_Void();
13648 return resultobj;
13649 fail:
13650 return NULL;
13651 }
13652
13653
13654 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13655 PyObject *obj;
13656 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13657 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13658 return SWIG_Py_Void();
13659 }
13660
13661 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13662 return SWIG_Python_InitShadowInstance(args);
13663 }
13664
13665 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13666 PyObject *resultobj = 0;
13667 wxWindow *arg1 = (wxWindow *) 0 ;
13668 int arg2 = (int) wxID_ANY ;
13669 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13670 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13671 wxSize const &arg4_defvalue = wxDefaultSize ;
13672 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13673 long arg5 = (long) 0 ;
13674 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13675 wxString *arg6 = (wxString *) &arg6_defvalue ;
13676 wxPyVScrolledWindow *result = 0 ;
13677 void *argp1 = 0 ;
13678 int res1 = 0 ;
13679 int val2 ;
13680 int ecode2 = 0 ;
13681 wxPoint temp3 ;
13682 wxSize temp4 ;
13683 long val5 ;
13684 int ecode5 = 0 ;
13685 bool temp6 = false ;
13686 PyObject * obj0 = 0 ;
13687 PyObject * obj1 = 0 ;
13688 PyObject * obj2 = 0 ;
13689 PyObject * obj3 = 0 ;
13690 PyObject * obj4 = 0 ;
13691 PyObject * obj5 = 0 ;
13692 char * kwnames[] = {
13693 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13694 };
13695
13696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13698 if (!SWIG_IsOK(res1)) {
13699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13700 }
13701 arg1 = reinterpret_cast< wxWindow * >(argp1);
13702 if (obj1) {
13703 ecode2 = SWIG_AsVal_int(obj1, &val2);
13704 if (!SWIG_IsOK(ecode2)) {
13705 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13706 }
13707 arg2 = static_cast< int >(val2);
13708 }
13709 if (obj2) {
13710 {
13711 arg3 = &temp3;
13712 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13713 }
13714 }
13715 if (obj3) {
13716 {
13717 arg4 = &temp4;
13718 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13719 }
13720 }
13721 if (obj4) {
13722 ecode5 = SWIG_AsVal_long(obj4, &val5);
13723 if (!SWIG_IsOK(ecode5)) {
13724 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13725 }
13726 arg5 = static_cast< long >(val5);
13727 }
13728 if (obj5) {
13729 {
13730 arg6 = wxString_in_helper(obj5);
13731 if (arg6 == NULL) SWIG_fail;
13732 temp6 = true;
13733 }
13734 }
13735 {
13736 if (!wxPyCheckForApp()) SWIG_fail;
13737 PyThreadState* __tstate = wxPyBeginAllowThreads();
13738 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13739 wxPyEndAllowThreads(__tstate);
13740 if (PyErr_Occurred()) SWIG_fail;
13741 }
13742 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13743 {
13744 if (temp6)
13745 delete arg6;
13746 }
13747 return resultobj;
13748 fail:
13749 {
13750 if (temp6)
13751 delete arg6;
13752 }
13753 return NULL;
13754 }
13755
13756
13757 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13758 PyObject *resultobj = 0;
13759 wxPyVScrolledWindow *result = 0 ;
13760
13761 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13762 {
13763 if (!wxPyCheckForApp()) SWIG_fail;
13764 PyThreadState* __tstate = wxPyBeginAllowThreads();
13765 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13766 wxPyEndAllowThreads(__tstate);
13767 if (PyErr_Occurred()) SWIG_fail;
13768 }
13769 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13770 return resultobj;
13771 fail:
13772 return NULL;
13773 }
13774
13775
13776 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13777 PyObject *resultobj = 0;
13778 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13779 PyObject *arg2 = (PyObject *) 0 ;
13780 PyObject *arg3 = (PyObject *) 0 ;
13781 void *argp1 = 0 ;
13782 int res1 = 0 ;
13783 PyObject * obj0 = 0 ;
13784 PyObject * obj1 = 0 ;
13785 PyObject * obj2 = 0 ;
13786 char * kwnames[] = {
13787 (char *) "self",(char *) "self",(char *) "_class", NULL
13788 };
13789
13790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13792 if (!SWIG_IsOK(res1)) {
13793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13794 }
13795 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13796 arg2 = obj1;
13797 arg3 = obj2;
13798 {
13799 PyThreadState* __tstate = wxPyBeginAllowThreads();
13800 (arg1)->_setCallbackInfo(arg2,arg3);
13801 wxPyEndAllowThreads(__tstate);
13802 if (PyErr_Occurred()) SWIG_fail;
13803 }
13804 resultobj = SWIG_Py_Void();
13805 return resultobj;
13806 fail:
13807 return NULL;
13808 }
13809
13810
13811 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13812 PyObject *resultobj = 0;
13813 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13814 wxWindow *arg2 = (wxWindow *) 0 ;
13815 int arg3 = (int) wxID_ANY ;
13816 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13817 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13818 wxSize const &arg5_defvalue = wxDefaultSize ;
13819 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13820 long arg6 = (long) 0 ;
13821 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13822 wxString *arg7 = (wxString *) &arg7_defvalue ;
13823 bool result;
13824 void *argp1 = 0 ;
13825 int res1 = 0 ;
13826 void *argp2 = 0 ;
13827 int res2 = 0 ;
13828 int val3 ;
13829 int ecode3 = 0 ;
13830 wxPoint temp4 ;
13831 wxSize temp5 ;
13832 long val6 ;
13833 int ecode6 = 0 ;
13834 bool temp7 = false ;
13835 PyObject * obj0 = 0 ;
13836 PyObject * obj1 = 0 ;
13837 PyObject * obj2 = 0 ;
13838 PyObject * obj3 = 0 ;
13839 PyObject * obj4 = 0 ;
13840 PyObject * obj5 = 0 ;
13841 PyObject * obj6 = 0 ;
13842 char * kwnames[] = {
13843 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13844 };
13845
13846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13848 if (!SWIG_IsOK(res1)) {
13849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13850 }
13851 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13852 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13853 if (!SWIG_IsOK(res2)) {
13854 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13855 }
13856 arg2 = reinterpret_cast< wxWindow * >(argp2);
13857 if (obj2) {
13858 ecode3 = SWIG_AsVal_int(obj2, &val3);
13859 if (!SWIG_IsOK(ecode3)) {
13860 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13861 }
13862 arg3 = static_cast< int >(val3);
13863 }
13864 if (obj3) {
13865 {
13866 arg4 = &temp4;
13867 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13868 }
13869 }
13870 if (obj4) {
13871 {
13872 arg5 = &temp5;
13873 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13874 }
13875 }
13876 if (obj5) {
13877 ecode6 = SWIG_AsVal_long(obj5, &val6);
13878 if (!SWIG_IsOK(ecode6)) {
13879 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13880 }
13881 arg6 = static_cast< long >(val6);
13882 }
13883 if (obj6) {
13884 {
13885 arg7 = wxString_in_helper(obj6);
13886 if (arg7 == NULL) SWIG_fail;
13887 temp7 = true;
13888 }
13889 }
13890 {
13891 PyThreadState* __tstate = wxPyBeginAllowThreads();
13892 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13893 wxPyEndAllowThreads(__tstate);
13894 if (PyErr_Occurred()) SWIG_fail;
13895 }
13896 {
13897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13898 }
13899 {
13900 if (temp7)
13901 delete arg7;
13902 }
13903 return resultobj;
13904 fail:
13905 {
13906 if (temp7)
13907 delete arg7;
13908 }
13909 return NULL;
13910 }
13911
13912
13913 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13914 PyObject *resultobj = 0;
13915 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13916 size_t arg2 ;
13917 void *argp1 = 0 ;
13918 int res1 = 0 ;
13919 size_t val2 ;
13920 int ecode2 = 0 ;
13921 PyObject * obj0 = 0 ;
13922 PyObject * obj1 = 0 ;
13923 char * kwnames[] = {
13924 (char *) "self",(char *) "count", NULL
13925 };
13926
13927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13929 if (!SWIG_IsOK(res1)) {
13930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13931 }
13932 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13933 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13934 if (!SWIG_IsOK(ecode2)) {
13935 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13936 }
13937 arg2 = static_cast< size_t >(val2);
13938 {
13939 PyThreadState* __tstate = wxPyBeginAllowThreads();
13940 (arg1)->SetLineCount(arg2);
13941 wxPyEndAllowThreads(__tstate);
13942 if (PyErr_Occurred()) SWIG_fail;
13943 }
13944 resultobj = SWIG_Py_Void();
13945 return resultobj;
13946 fail:
13947 return NULL;
13948 }
13949
13950
13951 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13952 PyObject *resultobj = 0;
13953 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13954 size_t arg2 ;
13955 bool result;
13956 void *argp1 = 0 ;
13957 int res1 = 0 ;
13958 size_t val2 ;
13959 int ecode2 = 0 ;
13960 PyObject * obj0 = 0 ;
13961 PyObject * obj1 = 0 ;
13962 char * kwnames[] = {
13963 (char *) "self",(char *) "line", NULL
13964 };
13965
13966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13968 if (!SWIG_IsOK(res1)) {
13969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13970 }
13971 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13972 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13973 if (!SWIG_IsOK(ecode2)) {
13974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13975 }
13976 arg2 = static_cast< size_t >(val2);
13977 {
13978 PyThreadState* __tstate = wxPyBeginAllowThreads();
13979 result = (bool)(arg1)->ScrollToLine(arg2);
13980 wxPyEndAllowThreads(__tstate);
13981 if (PyErr_Occurred()) SWIG_fail;
13982 }
13983 {
13984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13985 }
13986 return resultobj;
13987 fail:
13988 return NULL;
13989 }
13990
13991
13992 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13993 PyObject *resultobj = 0;
13994 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13995 size_t arg2 ;
13996 void *argp1 = 0 ;
13997 int res1 = 0 ;
13998 size_t val2 ;
13999 int ecode2 = 0 ;
14000 PyObject * obj0 = 0 ;
14001 PyObject * obj1 = 0 ;
14002 char * kwnames[] = {
14003 (char *) "self",(char *) "line", NULL
14004 };
14005
14006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
14007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14008 if (!SWIG_IsOK(res1)) {
14009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14010 }
14011 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14012 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14013 if (!SWIG_IsOK(ecode2)) {
14014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
14015 }
14016 arg2 = static_cast< size_t >(val2);
14017 {
14018 PyThreadState* __tstate = wxPyBeginAllowThreads();
14019 (arg1)->RefreshLine(arg2);
14020 wxPyEndAllowThreads(__tstate);
14021 if (PyErr_Occurred()) SWIG_fail;
14022 }
14023 resultobj = SWIG_Py_Void();
14024 return resultobj;
14025 fail:
14026 return NULL;
14027 }
14028
14029
14030 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14031 PyObject *resultobj = 0;
14032 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14033 size_t arg2 ;
14034 size_t arg3 ;
14035 void *argp1 = 0 ;
14036 int res1 = 0 ;
14037 size_t val2 ;
14038 int ecode2 = 0 ;
14039 size_t val3 ;
14040 int ecode3 = 0 ;
14041 PyObject * obj0 = 0 ;
14042 PyObject * obj1 = 0 ;
14043 PyObject * obj2 = 0 ;
14044 char * kwnames[] = {
14045 (char *) "self",(char *) "from",(char *) "to", NULL
14046 };
14047
14048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14050 if (!SWIG_IsOK(res1)) {
14051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14052 }
14053 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14054 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14055 if (!SWIG_IsOK(ecode2)) {
14056 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14057 }
14058 arg2 = static_cast< size_t >(val2);
14059 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14060 if (!SWIG_IsOK(ecode3)) {
14061 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14062 }
14063 arg3 = static_cast< size_t >(val3);
14064 {
14065 PyThreadState* __tstate = wxPyBeginAllowThreads();
14066 (arg1)->RefreshLines(arg2,arg3);
14067 wxPyEndAllowThreads(__tstate);
14068 if (PyErr_Occurred()) SWIG_fail;
14069 }
14070 resultobj = SWIG_Py_Void();
14071 return resultobj;
14072 fail:
14073 return NULL;
14074 }
14075
14076
14077 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14078 PyObject *resultobj = 0;
14079 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14080 int arg2 ;
14081 int arg3 ;
14082 int result;
14083 void *argp1 = 0 ;
14084 int res1 = 0 ;
14085 int val2 ;
14086 int ecode2 = 0 ;
14087 int val3 ;
14088 int ecode3 = 0 ;
14089 PyObject * obj0 = 0 ;
14090 PyObject * obj1 = 0 ;
14091 PyObject * obj2 = 0 ;
14092 char * kwnames[] = {
14093 (char *) "self",(char *) "x",(char *) "y", NULL
14094 };
14095
14096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14098 if (!SWIG_IsOK(res1)) {
14099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14100 }
14101 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14102 ecode2 = SWIG_AsVal_int(obj1, &val2);
14103 if (!SWIG_IsOK(ecode2)) {
14104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14105 }
14106 arg2 = static_cast< int >(val2);
14107 ecode3 = SWIG_AsVal_int(obj2, &val3);
14108 if (!SWIG_IsOK(ecode3)) {
14109 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14110 }
14111 arg3 = static_cast< int >(val3);
14112 {
14113 PyThreadState* __tstate = wxPyBeginAllowThreads();
14114 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14115 wxPyEndAllowThreads(__tstate);
14116 if (PyErr_Occurred()) SWIG_fail;
14117 }
14118 resultobj = SWIG_From_int(static_cast< int >(result));
14119 return resultobj;
14120 fail:
14121 return NULL;
14122 }
14123
14124
14125 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14126 PyObject *resultobj = 0;
14127 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14128 wxPoint *arg2 = 0 ;
14129 int result;
14130 void *argp1 = 0 ;
14131 int res1 = 0 ;
14132 wxPoint temp2 ;
14133 PyObject * obj0 = 0 ;
14134 PyObject * obj1 = 0 ;
14135 char * kwnames[] = {
14136 (char *) "self",(char *) "pt", NULL
14137 };
14138
14139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14141 if (!SWIG_IsOK(res1)) {
14142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14143 }
14144 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14145 {
14146 arg2 = &temp2;
14147 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14148 }
14149 {
14150 PyThreadState* __tstate = wxPyBeginAllowThreads();
14151 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14152 wxPyEndAllowThreads(__tstate);
14153 if (PyErr_Occurred()) SWIG_fail;
14154 }
14155 resultobj = SWIG_From_int(static_cast< int >(result));
14156 return resultobj;
14157 fail:
14158 return NULL;
14159 }
14160
14161
14162 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14163 PyObject *resultobj = 0;
14164 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14165 void *argp1 = 0 ;
14166 int res1 = 0 ;
14167 PyObject *swig_obj[1] ;
14168
14169 if (!args) SWIG_fail;
14170 swig_obj[0] = args;
14171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14172 if (!SWIG_IsOK(res1)) {
14173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14174 }
14175 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14176 {
14177 PyThreadState* __tstate = wxPyBeginAllowThreads();
14178 (arg1)->RefreshAll();
14179 wxPyEndAllowThreads(__tstate);
14180 if (PyErr_Occurred()) SWIG_fail;
14181 }
14182 resultobj = SWIG_Py_Void();
14183 return resultobj;
14184 fail:
14185 return NULL;
14186 }
14187
14188
14189 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14190 PyObject *resultobj = 0;
14191 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14192 size_t result;
14193 void *argp1 = 0 ;
14194 int res1 = 0 ;
14195 PyObject *swig_obj[1] ;
14196
14197 if (!args) SWIG_fail;
14198 swig_obj[0] = args;
14199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14200 if (!SWIG_IsOK(res1)) {
14201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14202 }
14203 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14204 {
14205 PyThreadState* __tstate = wxPyBeginAllowThreads();
14206 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14207 wxPyEndAllowThreads(__tstate);
14208 if (PyErr_Occurred()) SWIG_fail;
14209 }
14210 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14211 return resultobj;
14212 fail:
14213 return NULL;
14214 }
14215
14216
14217 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14218 PyObject *resultobj = 0;
14219 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14220 size_t result;
14221 void *argp1 = 0 ;
14222 int res1 = 0 ;
14223 PyObject *swig_obj[1] ;
14224
14225 if (!args) SWIG_fail;
14226 swig_obj[0] = args;
14227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14228 if (!SWIG_IsOK(res1)) {
14229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14230 }
14231 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14232 {
14233 PyThreadState* __tstate = wxPyBeginAllowThreads();
14234 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14235 wxPyEndAllowThreads(__tstate);
14236 if (PyErr_Occurred()) SWIG_fail;
14237 }
14238 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14239 return resultobj;
14240 fail:
14241 return NULL;
14242 }
14243
14244
14245 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14246 PyObject *resultobj = 0;
14247 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14248 size_t result;
14249 void *argp1 = 0 ;
14250 int res1 = 0 ;
14251 PyObject *swig_obj[1] ;
14252
14253 if (!args) SWIG_fail;
14254 swig_obj[0] = args;
14255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14256 if (!SWIG_IsOK(res1)) {
14257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14258 }
14259 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14260 {
14261 PyThreadState* __tstate = wxPyBeginAllowThreads();
14262 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14263 wxPyEndAllowThreads(__tstate);
14264 if (PyErr_Occurred()) SWIG_fail;
14265 }
14266 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14267 return resultobj;
14268 fail:
14269 return NULL;
14270 }
14271
14272
14273 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14274 PyObject *resultobj = 0;
14275 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14276 size_t arg2 ;
14277 bool result;
14278 void *argp1 = 0 ;
14279 int res1 = 0 ;
14280 size_t val2 ;
14281 int ecode2 = 0 ;
14282 PyObject * obj0 = 0 ;
14283 PyObject * obj1 = 0 ;
14284 char * kwnames[] = {
14285 (char *) "self",(char *) "line", NULL
14286 };
14287
14288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14290 if (!SWIG_IsOK(res1)) {
14291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14292 }
14293 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14294 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14295 if (!SWIG_IsOK(ecode2)) {
14296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14297 }
14298 arg2 = static_cast< size_t >(val2);
14299 {
14300 PyThreadState* __tstate = wxPyBeginAllowThreads();
14301 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14302 wxPyEndAllowThreads(__tstate);
14303 if (PyErr_Occurred()) SWIG_fail;
14304 }
14305 {
14306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14307 }
14308 return resultobj;
14309 fail:
14310 return NULL;
14311 }
14312
14313
14314 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14315 PyObject *resultobj = 0;
14316 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14317 size_t result;
14318 void *argp1 = 0 ;
14319 int res1 = 0 ;
14320 PyObject *swig_obj[1] ;
14321
14322 if (!args) SWIG_fail;
14323 swig_obj[0] = args;
14324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14325 if (!SWIG_IsOK(res1)) {
14326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14327 }
14328 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14329 {
14330 PyThreadState* __tstate = wxPyBeginAllowThreads();
14331 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14332 wxPyEndAllowThreads(__tstate);
14333 if (PyErr_Occurred()) SWIG_fail;
14334 }
14335 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14336 return resultobj;
14337 fail:
14338 return NULL;
14339 }
14340
14341
14342 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14343 PyObject *resultobj = 0;
14344 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14345 size_t result;
14346 void *argp1 = 0 ;
14347 int res1 = 0 ;
14348 PyObject *swig_obj[1] ;
14349
14350 if (!args) SWIG_fail;
14351 swig_obj[0] = args;
14352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14353 if (!SWIG_IsOK(res1)) {
14354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14355 }
14356 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14357 {
14358 PyThreadState* __tstate = wxPyBeginAllowThreads();
14359 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14360 wxPyEndAllowThreads(__tstate);
14361 if (PyErr_Occurred()) SWIG_fail;
14362 }
14363 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14364 return resultobj;
14365 fail:
14366 return NULL;
14367 }
14368
14369
14370 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14371 PyObject *resultobj = 0;
14372 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14373 size_t arg2 ;
14374 bool arg3 = (bool) false ;
14375 size_t result;
14376 void *argp1 = 0 ;
14377 int res1 = 0 ;
14378 size_t val2 ;
14379 int ecode2 = 0 ;
14380 bool val3 ;
14381 int ecode3 = 0 ;
14382 PyObject * obj0 = 0 ;
14383 PyObject * obj1 = 0 ;
14384 PyObject * obj2 = 0 ;
14385 char * kwnames[] = {
14386 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14387 };
14388
14389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14391 if (!SWIG_IsOK(res1)) {
14392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14393 }
14394 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14395 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14396 if (!SWIG_IsOK(ecode2)) {
14397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14398 }
14399 arg2 = static_cast< size_t >(val2);
14400 if (obj2) {
14401 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14402 if (!SWIG_IsOK(ecode3)) {
14403 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14404 }
14405 arg3 = static_cast< bool >(val3);
14406 }
14407 {
14408 PyThreadState* __tstate = wxPyBeginAllowThreads();
14409 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14410 wxPyEndAllowThreads(__tstate);
14411 if (PyErr_Occurred()) SWIG_fail;
14412 }
14413 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14414 return resultobj;
14415 fail:
14416 return NULL;
14417 }
14418
14419
14420 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14421 PyObject *resultobj = 0;
14422 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14423 size_t arg2 ;
14424 size_t arg3 ;
14425 int result;
14426 void *argp1 = 0 ;
14427 int res1 = 0 ;
14428 size_t val2 ;
14429 int ecode2 = 0 ;
14430 size_t val3 ;
14431 int ecode3 = 0 ;
14432 PyObject * obj0 = 0 ;
14433 PyObject * obj1 = 0 ;
14434 PyObject * obj2 = 0 ;
14435 char * kwnames[] = {
14436 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14437 };
14438
14439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14441 if (!SWIG_IsOK(res1)) {
14442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14443 }
14444 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14445 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14446 if (!SWIG_IsOK(ecode2)) {
14447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14448 }
14449 arg2 = static_cast< size_t >(val2);
14450 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14451 if (!SWIG_IsOK(ecode3)) {
14452 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14453 }
14454 arg3 = static_cast< size_t >(val3);
14455 {
14456 PyThreadState* __tstate = wxPyBeginAllowThreads();
14457 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14458 wxPyEndAllowThreads(__tstate);
14459 if (PyErr_Occurred()) SWIG_fail;
14460 }
14461 resultobj = SWIG_From_int(static_cast< int >(result));
14462 return resultobj;
14463 fail:
14464 return NULL;
14465 }
14466
14467
14468 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14469 PyObject *obj;
14470 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14471 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14472 return SWIG_Py_Void();
14473 }
14474
14475 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14476 return SWIG_Python_InitShadowInstance(args);
14477 }
14478
14479 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14480 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14481 return 1;
14482 }
14483
14484
14485 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14486 PyObject *pyobj = 0;
14487
14488 {
14489 #if wxUSE_UNICODE
14490 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14491 #else
14492 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14493 #endif
14494 }
14495 return pyobj;
14496 }
14497
14498
14499 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14500 PyObject *resultobj = 0;
14501 wxWindow *arg1 = (wxWindow *) 0 ;
14502 int arg2 = (int) wxID_ANY ;
14503 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14504 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14505 wxSize const &arg4_defvalue = wxDefaultSize ;
14506 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14507 long arg5 = (long) 0 ;
14508 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14509 wxString *arg6 = (wxString *) &arg6_defvalue ;
14510 wxPyVListBox *result = 0 ;
14511 void *argp1 = 0 ;
14512 int res1 = 0 ;
14513 int val2 ;
14514 int ecode2 = 0 ;
14515 wxPoint temp3 ;
14516 wxSize temp4 ;
14517 long val5 ;
14518 int ecode5 = 0 ;
14519 bool temp6 = false ;
14520 PyObject * obj0 = 0 ;
14521 PyObject * obj1 = 0 ;
14522 PyObject * obj2 = 0 ;
14523 PyObject * obj3 = 0 ;
14524 PyObject * obj4 = 0 ;
14525 PyObject * obj5 = 0 ;
14526 char * kwnames[] = {
14527 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14528 };
14529
14530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14531 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14532 if (!SWIG_IsOK(res1)) {
14533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14534 }
14535 arg1 = reinterpret_cast< wxWindow * >(argp1);
14536 if (obj1) {
14537 ecode2 = SWIG_AsVal_int(obj1, &val2);
14538 if (!SWIG_IsOK(ecode2)) {
14539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14540 }
14541 arg2 = static_cast< int >(val2);
14542 }
14543 if (obj2) {
14544 {
14545 arg3 = &temp3;
14546 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14547 }
14548 }
14549 if (obj3) {
14550 {
14551 arg4 = &temp4;
14552 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14553 }
14554 }
14555 if (obj4) {
14556 ecode5 = SWIG_AsVal_long(obj4, &val5);
14557 if (!SWIG_IsOK(ecode5)) {
14558 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14559 }
14560 arg5 = static_cast< long >(val5);
14561 }
14562 if (obj5) {
14563 {
14564 arg6 = wxString_in_helper(obj5);
14565 if (arg6 == NULL) SWIG_fail;
14566 temp6 = true;
14567 }
14568 }
14569 {
14570 if (!wxPyCheckForApp()) SWIG_fail;
14571 PyThreadState* __tstate = wxPyBeginAllowThreads();
14572 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14573 wxPyEndAllowThreads(__tstate);
14574 if (PyErr_Occurred()) SWIG_fail;
14575 }
14576 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14577 {
14578 if (temp6)
14579 delete arg6;
14580 }
14581 return resultobj;
14582 fail:
14583 {
14584 if (temp6)
14585 delete arg6;
14586 }
14587 return NULL;
14588 }
14589
14590
14591 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14592 PyObject *resultobj = 0;
14593 wxPyVListBox *result = 0 ;
14594
14595 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14596 {
14597 if (!wxPyCheckForApp()) SWIG_fail;
14598 PyThreadState* __tstate = wxPyBeginAllowThreads();
14599 result = (wxPyVListBox *)new wxPyVListBox();
14600 wxPyEndAllowThreads(__tstate);
14601 if (PyErr_Occurred()) SWIG_fail;
14602 }
14603 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14604 return resultobj;
14605 fail:
14606 return NULL;
14607 }
14608
14609
14610 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14611 PyObject *resultobj = 0;
14612 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14613 PyObject *arg2 = (PyObject *) 0 ;
14614 PyObject *arg3 = (PyObject *) 0 ;
14615 void *argp1 = 0 ;
14616 int res1 = 0 ;
14617 PyObject * obj0 = 0 ;
14618 PyObject * obj1 = 0 ;
14619 PyObject * obj2 = 0 ;
14620 char * kwnames[] = {
14621 (char *) "self",(char *) "self",(char *) "_class", NULL
14622 };
14623
14624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) 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__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14628 }
14629 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14630 arg2 = obj1;
14631 arg3 = obj2;
14632 {
14633 PyThreadState* __tstate = wxPyBeginAllowThreads();
14634 (arg1)->_setCallbackInfo(arg2,arg3);
14635 wxPyEndAllowThreads(__tstate);
14636 if (PyErr_Occurred()) SWIG_fail;
14637 }
14638 resultobj = SWIG_Py_Void();
14639 return resultobj;
14640 fail:
14641 return NULL;
14642 }
14643
14644
14645 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14646 PyObject *resultobj = 0;
14647 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14648 wxWindow *arg2 = (wxWindow *) 0 ;
14649 int arg3 = (int) wxID_ANY ;
14650 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14651 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14652 wxSize const &arg5_defvalue = wxDefaultSize ;
14653 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14654 long arg6 = (long) 0 ;
14655 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14656 wxString *arg7 = (wxString *) &arg7_defvalue ;
14657 bool result;
14658 void *argp1 = 0 ;
14659 int res1 = 0 ;
14660 void *argp2 = 0 ;
14661 int res2 = 0 ;
14662 int val3 ;
14663 int ecode3 = 0 ;
14664 wxPoint temp4 ;
14665 wxSize temp5 ;
14666 long val6 ;
14667 int ecode6 = 0 ;
14668 bool temp7 = false ;
14669 PyObject * obj0 = 0 ;
14670 PyObject * obj1 = 0 ;
14671 PyObject * obj2 = 0 ;
14672 PyObject * obj3 = 0 ;
14673 PyObject * obj4 = 0 ;
14674 PyObject * obj5 = 0 ;
14675 PyObject * obj6 = 0 ;
14676 char * kwnames[] = {
14677 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14678 };
14679
14680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14682 if (!SWIG_IsOK(res1)) {
14683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14684 }
14685 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14686 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14687 if (!SWIG_IsOK(res2)) {
14688 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14689 }
14690 arg2 = reinterpret_cast< wxWindow * >(argp2);
14691 if (obj2) {
14692 ecode3 = SWIG_AsVal_int(obj2, &val3);
14693 if (!SWIG_IsOK(ecode3)) {
14694 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14695 }
14696 arg3 = static_cast< int >(val3);
14697 }
14698 if (obj3) {
14699 {
14700 arg4 = &temp4;
14701 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14702 }
14703 }
14704 if (obj4) {
14705 {
14706 arg5 = &temp5;
14707 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14708 }
14709 }
14710 if (obj5) {
14711 ecode6 = SWIG_AsVal_long(obj5, &val6);
14712 if (!SWIG_IsOK(ecode6)) {
14713 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14714 }
14715 arg6 = static_cast< long >(val6);
14716 }
14717 if (obj6) {
14718 {
14719 arg7 = wxString_in_helper(obj6);
14720 if (arg7 == NULL) SWIG_fail;
14721 temp7 = true;
14722 }
14723 }
14724 {
14725 PyThreadState* __tstate = wxPyBeginAllowThreads();
14726 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14727 wxPyEndAllowThreads(__tstate);
14728 if (PyErr_Occurred()) SWIG_fail;
14729 }
14730 {
14731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14732 }
14733 {
14734 if (temp7)
14735 delete arg7;
14736 }
14737 return resultobj;
14738 fail:
14739 {
14740 if (temp7)
14741 delete arg7;
14742 }
14743 return NULL;
14744 }
14745
14746
14747 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14748 PyObject *resultobj = 0;
14749 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14750 size_t result;
14751 void *argp1 = 0 ;
14752 int res1 = 0 ;
14753 PyObject *swig_obj[1] ;
14754
14755 if (!args) SWIG_fail;
14756 swig_obj[0] = args;
14757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14758 if (!SWIG_IsOK(res1)) {
14759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14760 }
14761 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14762 {
14763 PyThreadState* __tstate = wxPyBeginAllowThreads();
14764 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14765 wxPyEndAllowThreads(__tstate);
14766 if (PyErr_Occurred()) SWIG_fail;
14767 }
14768 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14769 return resultobj;
14770 fail:
14771 return NULL;
14772 }
14773
14774
14775 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14776 PyObject *resultobj = 0;
14777 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14778 bool result;
14779 void *argp1 = 0 ;
14780 int res1 = 0 ;
14781 PyObject *swig_obj[1] ;
14782
14783 if (!args) SWIG_fail;
14784 swig_obj[0] = args;
14785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14786 if (!SWIG_IsOK(res1)) {
14787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14788 }
14789 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14790 {
14791 PyThreadState* __tstate = wxPyBeginAllowThreads();
14792 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14793 wxPyEndAllowThreads(__tstate);
14794 if (PyErr_Occurred()) SWIG_fail;
14795 }
14796 {
14797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14798 }
14799 return resultobj;
14800 fail:
14801 return NULL;
14802 }
14803
14804
14805 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14806 PyObject *resultobj = 0;
14807 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14808 int result;
14809 void *argp1 = 0 ;
14810 int res1 = 0 ;
14811 PyObject *swig_obj[1] ;
14812
14813 if (!args) SWIG_fail;
14814 swig_obj[0] = args;
14815 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14816 if (!SWIG_IsOK(res1)) {
14817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14818 }
14819 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14820 {
14821 PyThreadState* __tstate = wxPyBeginAllowThreads();
14822 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14823 wxPyEndAllowThreads(__tstate);
14824 if (PyErr_Occurred()) SWIG_fail;
14825 }
14826 resultobj = SWIG_From_int(static_cast< int >(result));
14827 return resultobj;
14828 fail:
14829 return NULL;
14830 }
14831
14832
14833 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14834 PyObject *resultobj = 0;
14835 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14836 size_t arg2 ;
14837 bool result;
14838 void *argp1 = 0 ;
14839 int res1 = 0 ;
14840 size_t val2 ;
14841 int ecode2 = 0 ;
14842 PyObject * obj0 = 0 ;
14843 PyObject * obj1 = 0 ;
14844 char * kwnames[] = {
14845 (char *) "self",(char *) "item", NULL
14846 };
14847
14848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14850 if (!SWIG_IsOK(res1)) {
14851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14852 }
14853 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14854 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14855 if (!SWIG_IsOK(ecode2)) {
14856 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14857 }
14858 arg2 = static_cast< size_t >(val2);
14859 {
14860 PyThreadState* __tstate = wxPyBeginAllowThreads();
14861 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14862 wxPyEndAllowThreads(__tstate);
14863 if (PyErr_Occurred()) SWIG_fail;
14864 }
14865 {
14866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14867 }
14868 return resultobj;
14869 fail:
14870 return NULL;
14871 }
14872
14873
14874 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14875 PyObject *resultobj = 0;
14876 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14877 size_t arg2 ;
14878 bool result;
14879 void *argp1 = 0 ;
14880 int res1 = 0 ;
14881 size_t val2 ;
14882 int ecode2 = 0 ;
14883 PyObject * obj0 = 0 ;
14884 PyObject * obj1 = 0 ;
14885 char * kwnames[] = {
14886 (char *) "self",(char *) "item", NULL
14887 };
14888
14889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14891 if (!SWIG_IsOK(res1)) {
14892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14893 }
14894 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14895 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14896 if (!SWIG_IsOK(ecode2)) {
14897 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14898 }
14899 arg2 = static_cast< size_t >(val2);
14900 {
14901 PyThreadState* __tstate = wxPyBeginAllowThreads();
14902 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14903 wxPyEndAllowThreads(__tstate);
14904 if (PyErr_Occurred()) SWIG_fail;
14905 }
14906 {
14907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14908 }
14909 return resultobj;
14910 fail:
14911 return NULL;
14912 }
14913
14914
14915 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14916 PyObject *resultobj = 0;
14917 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14918 size_t result;
14919 void *argp1 = 0 ;
14920 int res1 = 0 ;
14921 PyObject *swig_obj[1] ;
14922
14923 if (!args) SWIG_fail;
14924 swig_obj[0] = args;
14925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14926 if (!SWIG_IsOK(res1)) {
14927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14928 }
14929 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14930 {
14931 PyThreadState* __tstate = wxPyBeginAllowThreads();
14932 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14933 wxPyEndAllowThreads(__tstate);
14934 if (PyErr_Occurred()) SWIG_fail;
14935 }
14936 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14937 return resultobj;
14938 fail:
14939 return NULL;
14940 }
14941
14942
14943 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14944 PyObject *resultobj = 0;
14945 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14946 PyObject *result = 0 ;
14947 void *argp1 = 0 ;
14948 int res1 = 0 ;
14949 PyObject *swig_obj[1] ;
14950
14951 if (!args) SWIG_fail;
14952 swig_obj[0] = args;
14953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14954 if (!SWIG_IsOK(res1)) {
14955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14956 }
14957 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14958 {
14959 PyThreadState* __tstate = wxPyBeginAllowThreads();
14960 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14961 wxPyEndAllowThreads(__tstate);
14962 if (PyErr_Occurred()) SWIG_fail;
14963 }
14964 resultobj = result;
14965 return resultobj;
14966 fail:
14967 return NULL;
14968 }
14969
14970
14971 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14972 PyObject *resultobj = 0;
14973 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14974 unsigned long arg2 ;
14975 PyObject *result = 0 ;
14976 void *argp1 = 0 ;
14977 int res1 = 0 ;
14978 unsigned long val2 ;
14979 int ecode2 = 0 ;
14980 PyObject * obj0 = 0 ;
14981 PyObject * obj1 = 0 ;
14982 char * kwnames[] = {
14983 (char *) "self",(char *) "cookie", NULL
14984 };
14985
14986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14988 if (!SWIG_IsOK(res1)) {
14989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14990 }
14991 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14992 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14993 if (!SWIG_IsOK(ecode2)) {
14994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14995 }
14996 arg2 = static_cast< unsigned long >(val2);
14997 {
14998 PyThreadState* __tstate = wxPyBeginAllowThreads();
14999 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
15000 wxPyEndAllowThreads(__tstate);
15001 if (PyErr_Occurred()) SWIG_fail;
15002 }
15003 resultobj = result;
15004 return resultobj;
15005 fail:
15006 return NULL;
15007 }
15008
15009
15010 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15011 PyObject *resultobj = 0;
15012 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15013 wxPoint result;
15014 void *argp1 = 0 ;
15015 int res1 = 0 ;
15016 PyObject *swig_obj[1] ;
15017
15018 if (!args) SWIG_fail;
15019 swig_obj[0] = args;
15020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15021 if (!SWIG_IsOK(res1)) {
15022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15023 }
15024 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15025 {
15026 PyThreadState* __tstate = wxPyBeginAllowThreads();
15027 result = ((wxPyVListBox const *)arg1)->GetMargins();
15028 wxPyEndAllowThreads(__tstate);
15029 if (PyErr_Occurred()) SWIG_fail;
15030 }
15031 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
15032 return resultobj;
15033 fail:
15034 return NULL;
15035 }
15036
15037
15038 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15039 PyObject *resultobj = 0;
15040 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15041 wxColour *result = 0 ;
15042 void *argp1 = 0 ;
15043 int res1 = 0 ;
15044 PyObject *swig_obj[1] ;
15045
15046 if (!args) SWIG_fail;
15047 swig_obj[0] = args;
15048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15049 if (!SWIG_IsOK(res1)) {
15050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15051 }
15052 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15053 {
15054 PyThreadState* __tstate = wxPyBeginAllowThreads();
15055 {
15056 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
15057 result = (wxColour *) &_result_ref;
15058 }
15059 wxPyEndAllowThreads(__tstate);
15060 if (PyErr_Occurred()) SWIG_fail;
15061 }
15062 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
15063 return resultobj;
15064 fail:
15065 return NULL;
15066 }
15067
15068
15069 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15070 PyObject *resultobj = 0;
15071 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15072 size_t arg2 ;
15073 void *argp1 = 0 ;
15074 int res1 = 0 ;
15075 size_t val2 ;
15076 int ecode2 = 0 ;
15077 PyObject * obj0 = 0 ;
15078 PyObject * obj1 = 0 ;
15079 char * kwnames[] = {
15080 (char *) "self",(char *) "count", NULL
15081 };
15082
15083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15085 if (!SWIG_IsOK(res1)) {
15086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15087 }
15088 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15089 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15090 if (!SWIG_IsOK(ecode2)) {
15091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15092 }
15093 arg2 = static_cast< size_t >(val2);
15094 {
15095 PyThreadState* __tstate = wxPyBeginAllowThreads();
15096 (arg1)->SetItemCount(arg2);
15097 wxPyEndAllowThreads(__tstate);
15098 if (PyErr_Occurred()) SWIG_fail;
15099 }
15100 resultobj = SWIG_Py_Void();
15101 return resultobj;
15102 fail:
15103 return NULL;
15104 }
15105
15106
15107 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15108 PyObject *resultobj = 0;
15109 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15110 void *argp1 = 0 ;
15111 int res1 = 0 ;
15112 PyObject *swig_obj[1] ;
15113
15114 if (!args) SWIG_fail;
15115 swig_obj[0] = args;
15116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15117 if (!SWIG_IsOK(res1)) {
15118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15119 }
15120 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15121 {
15122 PyThreadState* __tstate = wxPyBeginAllowThreads();
15123 (arg1)->Clear();
15124 wxPyEndAllowThreads(__tstate);
15125 if (PyErr_Occurred()) SWIG_fail;
15126 }
15127 resultobj = SWIG_Py_Void();
15128 return resultobj;
15129 fail:
15130 return NULL;
15131 }
15132
15133
15134 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15135 PyObject *resultobj = 0;
15136 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15137 int arg2 ;
15138 void *argp1 = 0 ;
15139 int res1 = 0 ;
15140 int val2 ;
15141 int ecode2 = 0 ;
15142 PyObject * obj0 = 0 ;
15143 PyObject * obj1 = 0 ;
15144 char * kwnames[] = {
15145 (char *) "self",(char *) "selection", NULL
15146 };
15147
15148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15150 if (!SWIG_IsOK(res1)) {
15151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15152 }
15153 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15154 ecode2 = SWIG_AsVal_int(obj1, &val2);
15155 if (!SWIG_IsOK(ecode2)) {
15156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15157 }
15158 arg2 = static_cast< int >(val2);
15159 {
15160 PyThreadState* __tstate = wxPyBeginAllowThreads();
15161 (arg1)->SetSelection(arg2);
15162 wxPyEndAllowThreads(__tstate);
15163 if (PyErr_Occurred()) SWIG_fail;
15164 }
15165 resultobj = SWIG_Py_Void();
15166 return resultobj;
15167 fail:
15168 return NULL;
15169 }
15170
15171
15172 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15173 PyObject *resultobj = 0;
15174 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15175 size_t arg2 ;
15176 bool arg3 = (bool) true ;
15177 bool result;
15178 void *argp1 = 0 ;
15179 int res1 = 0 ;
15180 size_t val2 ;
15181 int ecode2 = 0 ;
15182 bool val3 ;
15183 int ecode3 = 0 ;
15184 PyObject * obj0 = 0 ;
15185 PyObject * obj1 = 0 ;
15186 PyObject * obj2 = 0 ;
15187 char * kwnames[] = {
15188 (char *) "self",(char *) "item",(char *) "select", NULL
15189 };
15190
15191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15193 if (!SWIG_IsOK(res1)) {
15194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15195 }
15196 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15197 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15198 if (!SWIG_IsOK(ecode2)) {
15199 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15200 }
15201 arg2 = static_cast< size_t >(val2);
15202 if (obj2) {
15203 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15204 if (!SWIG_IsOK(ecode3)) {
15205 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15206 }
15207 arg3 = static_cast< bool >(val3);
15208 }
15209 {
15210 PyThreadState* __tstate = wxPyBeginAllowThreads();
15211 result = (bool)(arg1)->Select(arg2,arg3);
15212 wxPyEndAllowThreads(__tstate);
15213 if (PyErr_Occurred()) SWIG_fail;
15214 }
15215 {
15216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15217 }
15218 return resultobj;
15219 fail:
15220 return NULL;
15221 }
15222
15223
15224 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15225 PyObject *resultobj = 0;
15226 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15227 size_t arg2 ;
15228 size_t arg3 ;
15229 bool result;
15230 void *argp1 = 0 ;
15231 int res1 = 0 ;
15232 size_t val2 ;
15233 int ecode2 = 0 ;
15234 size_t val3 ;
15235 int ecode3 = 0 ;
15236 PyObject * obj0 = 0 ;
15237 PyObject * obj1 = 0 ;
15238 PyObject * obj2 = 0 ;
15239 char * kwnames[] = {
15240 (char *) "self",(char *) "from",(char *) "to", NULL
15241 };
15242
15243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15245 if (!SWIG_IsOK(res1)) {
15246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15247 }
15248 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15249 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15250 if (!SWIG_IsOK(ecode2)) {
15251 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15252 }
15253 arg2 = static_cast< size_t >(val2);
15254 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15255 if (!SWIG_IsOK(ecode3)) {
15256 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15257 }
15258 arg3 = static_cast< size_t >(val3);
15259 {
15260 PyThreadState* __tstate = wxPyBeginAllowThreads();
15261 result = (bool)(arg1)->SelectRange(arg2,arg3);
15262 wxPyEndAllowThreads(__tstate);
15263 if (PyErr_Occurred()) SWIG_fail;
15264 }
15265 {
15266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15267 }
15268 return resultobj;
15269 fail:
15270 return NULL;
15271 }
15272
15273
15274 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15275 PyObject *resultobj = 0;
15276 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15277 size_t arg2 ;
15278 void *argp1 = 0 ;
15279 int res1 = 0 ;
15280 size_t val2 ;
15281 int ecode2 = 0 ;
15282 PyObject * obj0 = 0 ;
15283 PyObject * obj1 = 0 ;
15284 char * kwnames[] = {
15285 (char *) "self",(char *) "item", NULL
15286 };
15287
15288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15290 if (!SWIG_IsOK(res1)) {
15291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15292 }
15293 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15294 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15295 if (!SWIG_IsOK(ecode2)) {
15296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15297 }
15298 arg2 = static_cast< size_t >(val2);
15299 {
15300 PyThreadState* __tstate = wxPyBeginAllowThreads();
15301 (arg1)->Toggle(arg2);
15302 wxPyEndAllowThreads(__tstate);
15303 if (PyErr_Occurred()) SWIG_fail;
15304 }
15305 resultobj = SWIG_Py_Void();
15306 return resultobj;
15307 fail:
15308 return NULL;
15309 }
15310
15311
15312 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15313 PyObject *resultobj = 0;
15314 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15315 bool result;
15316 void *argp1 = 0 ;
15317 int res1 = 0 ;
15318 PyObject *swig_obj[1] ;
15319
15320 if (!args) SWIG_fail;
15321 swig_obj[0] = args;
15322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15323 if (!SWIG_IsOK(res1)) {
15324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15325 }
15326 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15327 {
15328 PyThreadState* __tstate = wxPyBeginAllowThreads();
15329 result = (bool)(arg1)->SelectAll();
15330 wxPyEndAllowThreads(__tstate);
15331 if (PyErr_Occurred()) SWIG_fail;
15332 }
15333 {
15334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15335 }
15336 return resultobj;
15337 fail:
15338 return NULL;
15339 }
15340
15341
15342 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15343 PyObject *resultobj = 0;
15344 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15345 bool result;
15346 void *argp1 = 0 ;
15347 int res1 = 0 ;
15348 PyObject *swig_obj[1] ;
15349
15350 if (!args) SWIG_fail;
15351 swig_obj[0] = args;
15352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15353 if (!SWIG_IsOK(res1)) {
15354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15355 }
15356 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15357 {
15358 PyThreadState* __tstate = wxPyBeginAllowThreads();
15359 result = (bool)(arg1)->DeselectAll();
15360 wxPyEndAllowThreads(__tstate);
15361 if (PyErr_Occurred()) SWIG_fail;
15362 }
15363 {
15364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15365 }
15366 return resultobj;
15367 fail:
15368 return NULL;
15369 }
15370
15371
15372 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15373 PyObject *resultobj = 0;
15374 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15375 wxPoint *arg2 = 0 ;
15376 void *argp1 = 0 ;
15377 int res1 = 0 ;
15378 wxPoint temp2 ;
15379 PyObject * obj0 = 0 ;
15380 PyObject * obj1 = 0 ;
15381 char * kwnames[] = {
15382 (char *) "self",(char *) "pt", NULL
15383 };
15384
15385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15387 if (!SWIG_IsOK(res1)) {
15388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15389 }
15390 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15391 {
15392 arg2 = &temp2;
15393 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15394 }
15395 {
15396 PyThreadState* __tstate = wxPyBeginAllowThreads();
15397 (arg1)->SetMargins((wxPoint const &)*arg2);
15398 wxPyEndAllowThreads(__tstate);
15399 if (PyErr_Occurred()) SWIG_fail;
15400 }
15401 resultobj = SWIG_Py_Void();
15402 return resultobj;
15403 fail:
15404 return NULL;
15405 }
15406
15407
15408 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15409 PyObject *resultobj = 0;
15410 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15411 int arg2 ;
15412 int arg3 ;
15413 void *argp1 = 0 ;
15414 int res1 = 0 ;
15415 int val2 ;
15416 int ecode2 = 0 ;
15417 int val3 ;
15418 int ecode3 = 0 ;
15419 PyObject * obj0 = 0 ;
15420 PyObject * obj1 = 0 ;
15421 PyObject * obj2 = 0 ;
15422 char * kwnames[] = {
15423 (char *) "self",(char *) "x",(char *) "y", NULL
15424 };
15425
15426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15428 if (!SWIG_IsOK(res1)) {
15429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15430 }
15431 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15432 ecode2 = SWIG_AsVal_int(obj1, &val2);
15433 if (!SWIG_IsOK(ecode2)) {
15434 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15435 }
15436 arg2 = static_cast< int >(val2);
15437 ecode3 = SWIG_AsVal_int(obj2, &val3);
15438 if (!SWIG_IsOK(ecode3)) {
15439 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15440 }
15441 arg3 = static_cast< int >(val3);
15442 {
15443 PyThreadState* __tstate = wxPyBeginAllowThreads();
15444 (arg1)->SetMargins(arg2,arg3);
15445 wxPyEndAllowThreads(__tstate);
15446 if (PyErr_Occurred()) SWIG_fail;
15447 }
15448 resultobj = SWIG_Py_Void();
15449 return resultobj;
15450 fail:
15451 return NULL;
15452 }
15453
15454
15455 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15456 PyObject *resultobj = 0;
15457 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15458 wxColour *arg2 = 0 ;
15459 void *argp1 = 0 ;
15460 int res1 = 0 ;
15461 wxColour temp2 ;
15462 PyObject * obj0 = 0 ;
15463 PyObject * obj1 = 0 ;
15464 char * kwnames[] = {
15465 (char *) "self",(char *) "col", NULL
15466 };
15467
15468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15470 if (!SWIG_IsOK(res1)) {
15471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15472 }
15473 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15474 {
15475 arg2 = &temp2;
15476 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15477 }
15478 {
15479 PyThreadState* __tstate = wxPyBeginAllowThreads();
15480 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15481 wxPyEndAllowThreads(__tstate);
15482 if (PyErr_Occurred()) SWIG_fail;
15483 }
15484 resultobj = SWIG_Py_Void();
15485 return resultobj;
15486 fail:
15487 return NULL;
15488 }
15489
15490
15491 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15492 PyObject *resultobj = 0;
15493 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15494 wxDC *arg2 = 0 ;
15495 wxRect *arg3 = 0 ;
15496 size_t arg4 ;
15497 void *argp1 = 0 ;
15498 int res1 = 0 ;
15499 void *argp2 = 0 ;
15500 int res2 = 0 ;
15501 wxRect temp3 ;
15502 size_t val4 ;
15503 int ecode4 = 0 ;
15504 PyObject * obj0 = 0 ;
15505 PyObject * obj1 = 0 ;
15506 PyObject * obj2 = 0 ;
15507 PyObject * obj3 = 0 ;
15508 char * kwnames[] = {
15509 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15510 };
15511
15512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15514 if (!SWIG_IsOK(res1)) {
15515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15516 }
15517 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15518 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15519 if (!SWIG_IsOK(res2)) {
15520 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15521 }
15522 if (!argp2) {
15523 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15524 }
15525 arg2 = reinterpret_cast< wxDC * >(argp2);
15526 {
15527 arg3 = &temp3;
15528 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15529 }
15530 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15531 if (!SWIG_IsOK(ecode4)) {
15532 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15533 }
15534 arg4 = static_cast< size_t >(val4);
15535 {
15536 PyThreadState* __tstate = wxPyBeginAllowThreads();
15537 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15538 wxPyEndAllowThreads(__tstate);
15539 if (PyErr_Occurred()) SWIG_fail;
15540 }
15541 resultobj = SWIG_Py_Void();
15542 return resultobj;
15543 fail:
15544 return NULL;
15545 }
15546
15547
15548 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15549 PyObject *resultobj = 0;
15550 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15551 wxDC *arg2 = 0 ;
15552 wxRect *arg3 = 0 ;
15553 size_t arg4 ;
15554 void *argp1 = 0 ;
15555 int res1 = 0 ;
15556 void *argp2 = 0 ;
15557 int res2 = 0 ;
15558 wxRect temp3 ;
15559 size_t val4 ;
15560 int ecode4 = 0 ;
15561 PyObject * obj0 = 0 ;
15562 PyObject * obj1 = 0 ;
15563 PyObject * obj2 = 0 ;
15564 PyObject * obj3 = 0 ;
15565 char * kwnames[] = {
15566 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15567 };
15568
15569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15571 if (!SWIG_IsOK(res1)) {
15572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15573 }
15574 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15575 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15576 if (!SWIG_IsOK(res2)) {
15577 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15578 }
15579 if (!argp2) {
15580 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15581 }
15582 arg2 = reinterpret_cast< wxDC * >(argp2);
15583 {
15584 arg3 = &temp3;
15585 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15586 }
15587 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15588 if (!SWIG_IsOK(ecode4)) {
15589 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15590 }
15591 arg4 = static_cast< size_t >(val4);
15592 {
15593 PyThreadState* __tstate = wxPyBeginAllowThreads();
15594 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15595 wxPyEndAllowThreads(__tstate);
15596 if (PyErr_Occurred()) SWIG_fail;
15597 }
15598 resultobj = SWIG_Py_Void();
15599 return resultobj;
15600 fail:
15601 return NULL;
15602 }
15603
15604
15605 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15606 PyObject *obj;
15607 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15608 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15609 return SWIG_Py_Void();
15610 }
15611
15612 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15613 return SWIG_Python_InitShadowInstance(args);
15614 }
15615
15616 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15617 PyObject *resultobj = 0;
15618 wxWindow *arg1 = (wxWindow *) 0 ;
15619 int arg2 = (int) wxID_ANY ;
15620 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15621 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15622 wxSize const &arg4_defvalue = wxDefaultSize ;
15623 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15624 long arg5 = (long) 0 ;
15625 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15626 wxString *arg6 = (wxString *) &arg6_defvalue ;
15627 wxPyHtmlListBox *result = 0 ;
15628 void *argp1 = 0 ;
15629 int res1 = 0 ;
15630 int val2 ;
15631 int ecode2 = 0 ;
15632 wxPoint temp3 ;
15633 wxSize temp4 ;
15634 long val5 ;
15635 int ecode5 = 0 ;
15636 bool temp6 = false ;
15637 PyObject * obj0 = 0 ;
15638 PyObject * obj1 = 0 ;
15639 PyObject * obj2 = 0 ;
15640 PyObject * obj3 = 0 ;
15641 PyObject * obj4 = 0 ;
15642 PyObject * obj5 = 0 ;
15643 char * kwnames[] = {
15644 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15645 };
15646
15647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15649 if (!SWIG_IsOK(res1)) {
15650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15651 }
15652 arg1 = reinterpret_cast< wxWindow * >(argp1);
15653 if (obj1) {
15654 ecode2 = SWIG_AsVal_int(obj1, &val2);
15655 if (!SWIG_IsOK(ecode2)) {
15656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15657 }
15658 arg2 = static_cast< int >(val2);
15659 }
15660 if (obj2) {
15661 {
15662 arg3 = &temp3;
15663 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15664 }
15665 }
15666 if (obj3) {
15667 {
15668 arg4 = &temp4;
15669 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15670 }
15671 }
15672 if (obj4) {
15673 ecode5 = SWIG_AsVal_long(obj4, &val5);
15674 if (!SWIG_IsOK(ecode5)) {
15675 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15676 }
15677 arg5 = static_cast< long >(val5);
15678 }
15679 if (obj5) {
15680 {
15681 arg6 = wxString_in_helper(obj5);
15682 if (arg6 == NULL) SWIG_fail;
15683 temp6 = true;
15684 }
15685 }
15686 {
15687 if (!wxPyCheckForApp()) SWIG_fail;
15688 PyThreadState* __tstate = wxPyBeginAllowThreads();
15689 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15690 wxPyEndAllowThreads(__tstate);
15691 if (PyErr_Occurred()) SWIG_fail;
15692 }
15693 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15694 {
15695 if (temp6)
15696 delete arg6;
15697 }
15698 return resultobj;
15699 fail:
15700 {
15701 if (temp6)
15702 delete arg6;
15703 }
15704 return NULL;
15705 }
15706
15707
15708 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15709 PyObject *resultobj = 0;
15710 wxPyHtmlListBox *result = 0 ;
15711
15712 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15713 {
15714 if (!wxPyCheckForApp()) SWIG_fail;
15715 PyThreadState* __tstate = wxPyBeginAllowThreads();
15716 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15717 wxPyEndAllowThreads(__tstate);
15718 if (PyErr_Occurred()) SWIG_fail;
15719 }
15720 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15721 return resultobj;
15722 fail:
15723 return NULL;
15724 }
15725
15726
15727 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15728 PyObject *resultobj = 0;
15729 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15730 PyObject *arg2 = (PyObject *) 0 ;
15731 PyObject *arg3 = (PyObject *) 0 ;
15732 void *argp1 = 0 ;
15733 int res1 = 0 ;
15734 PyObject * obj0 = 0 ;
15735 PyObject * obj1 = 0 ;
15736 PyObject * obj2 = 0 ;
15737 char * kwnames[] = {
15738 (char *) "self",(char *) "self",(char *) "_class", NULL
15739 };
15740
15741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15743 if (!SWIG_IsOK(res1)) {
15744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15745 }
15746 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15747 arg2 = obj1;
15748 arg3 = obj2;
15749 {
15750 PyThreadState* __tstate = wxPyBeginAllowThreads();
15751 (arg1)->_setCallbackInfo(arg2,arg3);
15752 wxPyEndAllowThreads(__tstate);
15753 if (PyErr_Occurred()) SWIG_fail;
15754 }
15755 resultobj = SWIG_Py_Void();
15756 return resultobj;
15757 fail:
15758 return NULL;
15759 }
15760
15761
15762 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15763 PyObject *resultobj = 0;
15764 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15765 wxWindow *arg2 = (wxWindow *) 0 ;
15766 int arg3 = (int) wxID_ANY ;
15767 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15768 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15769 wxSize const &arg5_defvalue = wxDefaultSize ;
15770 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15771 long arg6 = (long) 0 ;
15772 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15773 wxString *arg7 = (wxString *) &arg7_defvalue ;
15774 bool result;
15775 void *argp1 = 0 ;
15776 int res1 = 0 ;
15777 void *argp2 = 0 ;
15778 int res2 = 0 ;
15779 int val3 ;
15780 int ecode3 = 0 ;
15781 wxPoint temp4 ;
15782 wxSize temp5 ;
15783 long val6 ;
15784 int ecode6 = 0 ;
15785 bool temp7 = false ;
15786 PyObject * obj0 = 0 ;
15787 PyObject * obj1 = 0 ;
15788 PyObject * obj2 = 0 ;
15789 PyObject * obj3 = 0 ;
15790 PyObject * obj4 = 0 ;
15791 PyObject * obj5 = 0 ;
15792 PyObject * obj6 = 0 ;
15793 char * kwnames[] = {
15794 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15795 };
15796
15797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15799 if (!SWIG_IsOK(res1)) {
15800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15801 }
15802 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15803 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15804 if (!SWIG_IsOK(res2)) {
15805 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15806 }
15807 arg2 = reinterpret_cast< wxWindow * >(argp2);
15808 if (obj2) {
15809 ecode3 = SWIG_AsVal_int(obj2, &val3);
15810 if (!SWIG_IsOK(ecode3)) {
15811 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15812 }
15813 arg3 = static_cast< int >(val3);
15814 }
15815 if (obj3) {
15816 {
15817 arg4 = &temp4;
15818 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15819 }
15820 }
15821 if (obj4) {
15822 {
15823 arg5 = &temp5;
15824 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15825 }
15826 }
15827 if (obj5) {
15828 ecode6 = SWIG_AsVal_long(obj5, &val6);
15829 if (!SWIG_IsOK(ecode6)) {
15830 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15831 }
15832 arg6 = static_cast< long >(val6);
15833 }
15834 if (obj6) {
15835 {
15836 arg7 = wxString_in_helper(obj6);
15837 if (arg7 == NULL) SWIG_fail;
15838 temp7 = true;
15839 }
15840 }
15841 {
15842 PyThreadState* __tstate = wxPyBeginAllowThreads();
15843 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15844 wxPyEndAllowThreads(__tstate);
15845 if (PyErr_Occurred()) SWIG_fail;
15846 }
15847 {
15848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15849 }
15850 {
15851 if (temp7)
15852 delete arg7;
15853 }
15854 return resultobj;
15855 fail:
15856 {
15857 if (temp7)
15858 delete arg7;
15859 }
15860 return NULL;
15861 }
15862
15863
15864 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15865 PyObject *resultobj = 0;
15866 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15867 size_t arg2 ;
15868 void *argp1 = 0 ;
15869 int res1 = 0 ;
15870 size_t val2 ;
15871 int ecode2 = 0 ;
15872 PyObject * obj0 = 0 ;
15873 PyObject * obj1 = 0 ;
15874 char * kwnames[] = {
15875 (char *) "self",(char *) "count", NULL
15876 };
15877
15878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15880 if (!SWIG_IsOK(res1)) {
15881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15882 }
15883 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15884 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15885 if (!SWIG_IsOK(ecode2)) {
15886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15887 }
15888 arg2 = static_cast< size_t >(val2);
15889 {
15890 PyThreadState* __tstate = wxPyBeginAllowThreads();
15891 (arg1)->SetItemCount(arg2);
15892 wxPyEndAllowThreads(__tstate);
15893 if (PyErr_Occurred()) SWIG_fail;
15894 }
15895 resultobj = SWIG_Py_Void();
15896 return resultobj;
15897 fail:
15898 return NULL;
15899 }
15900
15901
15902 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15903 PyObject *resultobj = 0;
15904 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15905 wxFileSystem *result = 0 ;
15906 void *argp1 = 0 ;
15907 int res1 = 0 ;
15908 PyObject *swig_obj[1] ;
15909
15910 if (!args) SWIG_fail;
15911 swig_obj[0] = args;
15912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15913 if (!SWIG_IsOK(res1)) {
15914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15915 }
15916 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15917 {
15918 PyThreadState* __tstate = wxPyBeginAllowThreads();
15919 {
15920 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15921 result = (wxFileSystem *) &_result_ref;
15922 }
15923 wxPyEndAllowThreads(__tstate);
15924 if (PyErr_Occurred()) SWIG_fail;
15925 }
15926 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15927 return resultobj;
15928 fail:
15929 return NULL;
15930 }
15931
15932
15933 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15934 PyObject *resultobj = 0;
15935 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15936 size_t arg2 ;
15937 wxHtmlLinkInfo *arg3 = 0 ;
15938 void *argp1 = 0 ;
15939 int res1 = 0 ;
15940 size_t val2 ;
15941 int ecode2 = 0 ;
15942 void *argp3 = 0 ;
15943 int res3 = 0 ;
15944 PyObject * obj0 = 0 ;
15945 PyObject * obj1 = 0 ;
15946 PyObject * obj2 = 0 ;
15947 char * kwnames[] = {
15948 (char *) "self",(char *) "n",(char *) "link", NULL
15949 };
15950
15951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15953 if (!SWIG_IsOK(res1)) {
15954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15955 }
15956 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15957 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15958 if (!SWIG_IsOK(ecode2)) {
15959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15960 }
15961 arg2 = static_cast< size_t >(val2);
15962 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15963 if (!SWIG_IsOK(res3)) {
15964 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15965 }
15966 if (!argp3) {
15967 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15968 }
15969 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15970 {
15971 PyThreadState* __tstate = wxPyBeginAllowThreads();
15972 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15973 wxPyEndAllowThreads(__tstate);
15974 if (PyErr_Occurred()) SWIG_fail;
15975 }
15976 resultobj = SWIG_Py_Void();
15977 return resultobj;
15978 fail:
15979 return NULL;
15980 }
15981
15982
15983 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15984 PyObject *obj;
15985 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15986 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15987 return SWIG_Py_Void();
15988 }
15989
15990 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15991 return SWIG_Python_InitShadowInstance(args);
15992 }
15993
15994 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15995 PyObject *resultobj = 0;
15996 wxPyTaskBarIcon *result = 0 ;
15997
15998 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15999 {
16000 if (!wxPyCheckForApp()) SWIG_fail;
16001 PyThreadState* __tstate = wxPyBeginAllowThreads();
16002 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
16003 wxPyEndAllowThreads(__tstate);
16004 if (PyErr_Occurred()) SWIG_fail;
16005 }
16006 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
16007 return resultobj;
16008 fail:
16009 return NULL;
16010 }
16011
16012
16013 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16014 PyObject *resultobj = 0;
16015 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16016 void *argp1 = 0 ;
16017 int res1 = 0 ;
16018 PyObject *swig_obj[1] ;
16019
16020 if (!args) SWIG_fail;
16021 swig_obj[0] = args;
16022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
16023 if (!SWIG_IsOK(res1)) {
16024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16025 }
16026 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16027 {
16028 PyThreadState* __tstate = wxPyBeginAllowThreads();
16029 delete arg1;
16030
16031 wxPyEndAllowThreads(__tstate);
16032 if (PyErr_Occurred()) SWIG_fail;
16033 }
16034 resultobj = SWIG_Py_Void();
16035 return resultobj;
16036 fail:
16037 return NULL;
16038 }
16039
16040
16041 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16042 PyObject *resultobj = 0;
16043 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16044 PyObject *arg2 = (PyObject *) 0 ;
16045 PyObject *arg3 = (PyObject *) 0 ;
16046 int arg4 ;
16047 void *argp1 = 0 ;
16048 int res1 = 0 ;
16049 int val4 ;
16050 int ecode4 = 0 ;
16051 PyObject * obj0 = 0 ;
16052 PyObject * obj1 = 0 ;
16053 PyObject * obj2 = 0 ;
16054 PyObject * obj3 = 0 ;
16055 char * kwnames[] = {
16056 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16057 };
16058
16059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16061 if (!SWIG_IsOK(res1)) {
16062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16063 }
16064 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16065 arg2 = obj1;
16066 arg3 = obj2;
16067 ecode4 = SWIG_AsVal_int(obj3, &val4);
16068 if (!SWIG_IsOK(ecode4)) {
16069 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16070 }
16071 arg4 = static_cast< int >(val4);
16072 {
16073 PyThreadState* __tstate = wxPyBeginAllowThreads();
16074 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16075 wxPyEndAllowThreads(__tstate);
16076 if (PyErr_Occurred()) SWIG_fail;
16077 }
16078 resultobj = SWIG_Py_Void();
16079 return resultobj;
16080 fail:
16081 return NULL;
16082 }
16083
16084
16085 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16086 PyObject *resultobj = 0;
16087 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16088 void *argp1 = 0 ;
16089 int res1 = 0 ;
16090 PyObject *swig_obj[1] ;
16091
16092 if (!args) SWIG_fail;
16093 swig_obj[0] = args;
16094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16095 if (!SWIG_IsOK(res1)) {
16096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16097 }
16098 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16099 {
16100 PyThreadState* __tstate = wxPyBeginAllowThreads();
16101 wxPyTaskBarIcon_Destroy(arg1);
16102 wxPyEndAllowThreads(__tstate);
16103 if (PyErr_Occurred()) SWIG_fail;
16104 }
16105 resultobj = SWIG_Py_Void();
16106 return resultobj;
16107 fail:
16108 return NULL;
16109 }
16110
16111
16112 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16113 PyObject *resultobj = 0;
16114 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16115 bool result;
16116 void *argp1 = 0 ;
16117 int res1 = 0 ;
16118 PyObject *swig_obj[1] ;
16119
16120 if (!args) SWIG_fail;
16121 swig_obj[0] = args;
16122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16123 if (!SWIG_IsOK(res1)) {
16124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16125 }
16126 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16127 {
16128 PyThreadState* __tstate = wxPyBeginAllowThreads();
16129 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16130 wxPyEndAllowThreads(__tstate);
16131 if (PyErr_Occurred()) SWIG_fail;
16132 }
16133 {
16134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16135 }
16136 return resultobj;
16137 fail:
16138 return NULL;
16139 }
16140
16141
16142 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16143 PyObject *resultobj = 0;
16144 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16145 bool result;
16146 void *argp1 = 0 ;
16147 int res1 = 0 ;
16148 PyObject *swig_obj[1] ;
16149
16150 if (!args) SWIG_fail;
16151 swig_obj[0] = args;
16152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16153 if (!SWIG_IsOK(res1)) {
16154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16155 }
16156 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16157 {
16158 PyThreadState* __tstate = wxPyBeginAllowThreads();
16159 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16160 wxPyEndAllowThreads(__tstate);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 }
16163 {
16164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16165 }
16166 return resultobj;
16167 fail:
16168 return NULL;
16169 }
16170
16171
16172 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16173 PyObject *resultobj = 0;
16174 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16175 wxIcon *arg2 = 0 ;
16176 wxString const &arg3_defvalue = wxPyEmptyString ;
16177 wxString *arg3 = (wxString *) &arg3_defvalue ;
16178 bool result;
16179 void *argp1 = 0 ;
16180 int res1 = 0 ;
16181 void *argp2 = 0 ;
16182 int res2 = 0 ;
16183 bool temp3 = false ;
16184 PyObject * obj0 = 0 ;
16185 PyObject * obj1 = 0 ;
16186 PyObject * obj2 = 0 ;
16187 char * kwnames[] = {
16188 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16189 };
16190
16191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16193 if (!SWIG_IsOK(res1)) {
16194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16195 }
16196 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16197 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16198 if (!SWIG_IsOK(res2)) {
16199 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16200 }
16201 if (!argp2) {
16202 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16203 }
16204 arg2 = reinterpret_cast< wxIcon * >(argp2);
16205 if (obj2) {
16206 {
16207 arg3 = wxString_in_helper(obj2);
16208 if (arg3 == NULL) SWIG_fail;
16209 temp3 = true;
16210 }
16211 }
16212 {
16213 PyThreadState* __tstate = wxPyBeginAllowThreads();
16214 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16215 wxPyEndAllowThreads(__tstate);
16216 if (PyErr_Occurred()) SWIG_fail;
16217 }
16218 {
16219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16220 }
16221 {
16222 if (temp3)
16223 delete arg3;
16224 }
16225 return resultobj;
16226 fail:
16227 {
16228 if (temp3)
16229 delete arg3;
16230 }
16231 return NULL;
16232 }
16233
16234
16235 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16236 PyObject *resultobj = 0;
16237 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16238 bool result;
16239 void *argp1 = 0 ;
16240 int res1 = 0 ;
16241 PyObject *swig_obj[1] ;
16242
16243 if (!args) SWIG_fail;
16244 swig_obj[0] = args;
16245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16246 if (!SWIG_IsOK(res1)) {
16247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16248 }
16249 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16250 {
16251 PyThreadState* __tstate = wxPyBeginAllowThreads();
16252 result = (bool)(arg1)->RemoveIcon();
16253 wxPyEndAllowThreads(__tstate);
16254 if (PyErr_Occurred()) SWIG_fail;
16255 }
16256 {
16257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16258 }
16259 return resultobj;
16260 fail:
16261 return NULL;
16262 }
16263
16264
16265 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16266 PyObject *resultobj = 0;
16267 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16268 wxMenu *arg2 = (wxMenu *) 0 ;
16269 bool result;
16270 void *argp1 = 0 ;
16271 int res1 = 0 ;
16272 void *argp2 = 0 ;
16273 int res2 = 0 ;
16274 PyObject * obj0 = 0 ;
16275 PyObject * obj1 = 0 ;
16276 char * kwnames[] = {
16277 (char *) "self",(char *) "menu", NULL
16278 };
16279
16280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16282 if (!SWIG_IsOK(res1)) {
16283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16284 }
16285 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16286 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16287 if (!SWIG_IsOK(res2)) {
16288 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16289 }
16290 arg2 = reinterpret_cast< wxMenu * >(argp2);
16291 {
16292 PyThreadState* __tstate = wxPyBeginAllowThreads();
16293 result = (bool)(arg1)->PopupMenu(arg2);
16294 wxPyEndAllowThreads(__tstate);
16295 if (PyErr_Occurred()) SWIG_fail;
16296 }
16297 {
16298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16299 }
16300 return resultobj;
16301 fail:
16302 return NULL;
16303 }
16304
16305
16306 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16307 PyObject *obj;
16308 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16309 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16310 return SWIG_Py_Void();
16311 }
16312
16313 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16314 return SWIG_Python_InitShadowInstance(args);
16315 }
16316
16317 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16318 PyObject *resultobj = 0;
16319 wxEventType arg1 ;
16320 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16321 wxTaskBarIconEvent *result = 0 ;
16322 int val1 ;
16323 int ecode1 = 0 ;
16324 void *argp2 = 0 ;
16325 int res2 = 0 ;
16326 PyObject * obj0 = 0 ;
16327 PyObject * obj1 = 0 ;
16328 char * kwnames[] = {
16329 (char *) "evtType",(char *) "tbIcon", NULL
16330 };
16331
16332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16333 ecode1 = SWIG_AsVal_int(obj0, &val1);
16334 if (!SWIG_IsOK(ecode1)) {
16335 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16336 }
16337 arg1 = static_cast< wxEventType >(val1);
16338 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16339 if (!SWIG_IsOK(res2)) {
16340 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16341 }
16342 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16343 {
16344 PyThreadState* __tstate = wxPyBeginAllowThreads();
16345 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16346 wxPyEndAllowThreads(__tstate);
16347 if (PyErr_Occurred()) SWIG_fail;
16348 }
16349 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16350 return resultobj;
16351 fail:
16352 return NULL;
16353 }
16354
16355
16356 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16357 PyObject *obj;
16358 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16359 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16360 return SWIG_Py_Void();
16361 }
16362
16363 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16364 return SWIG_Python_InitShadowInstance(args);
16365 }
16366
16367 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16368 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16369 return 1;
16370 }
16371
16372
16373 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16374 PyObject *pyobj = 0;
16375
16376 {
16377 #if wxUSE_UNICODE
16378 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16379 #else
16380 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16381 #endif
16382 }
16383 return pyobj;
16384 }
16385
16386
16387 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16388 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16389 return 1;
16390 }
16391
16392
16393 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16394 PyObject *pyobj = 0;
16395
16396 {
16397 #if wxUSE_UNICODE
16398 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16399 #else
16400 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16401 #endif
16402 }
16403 return pyobj;
16404 }
16405
16406
16407 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16408 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16409 return 1;
16410 }
16411
16412
16413 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16414 PyObject *pyobj = 0;
16415
16416 {
16417 #if wxUSE_UNICODE
16418 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16419 #else
16420 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16421 #endif
16422 }
16423 return pyobj;
16424 }
16425
16426
16427 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16428 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16429 return 1;
16430 }
16431
16432
16433 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16434 PyObject *pyobj = 0;
16435
16436 {
16437 #if wxUSE_UNICODE
16438 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16439 #else
16440 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16441 #endif
16442 }
16443 return pyobj;
16444 }
16445
16446
16447 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16448 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16449 return 1;
16450 }
16451
16452
16453 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16454 PyObject *pyobj = 0;
16455
16456 {
16457 #if wxUSE_UNICODE
16458 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16459 #else
16460 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16461 #endif
16462 }
16463 return pyobj;
16464 }
16465
16466
16467 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16468 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16469 return 1;
16470 }
16471
16472
16473 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16474 PyObject *pyobj = 0;
16475
16476 {
16477 #if wxUSE_UNICODE
16478 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16479 #else
16480 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16481 #endif
16482 }
16483 return pyobj;
16484 }
16485
16486
16487 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16488 PyObject *resultobj = 0;
16489 wxColourData *result = 0 ;
16490
16491 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16492 {
16493 PyThreadState* __tstate = wxPyBeginAllowThreads();
16494 result = (wxColourData *)new wxColourData();
16495 wxPyEndAllowThreads(__tstate);
16496 if (PyErr_Occurred()) SWIG_fail;
16497 }
16498 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16499 return resultobj;
16500 fail:
16501 return NULL;
16502 }
16503
16504
16505 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16506 PyObject *resultobj = 0;
16507 wxColourData *arg1 = (wxColourData *) 0 ;
16508 void *argp1 = 0 ;
16509 int res1 = 0 ;
16510 PyObject *swig_obj[1] ;
16511
16512 if (!args) SWIG_fail;
16513 swig_obj[0] = args;
16514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16515 if (!SWIG_IsOK(res1)) {
16516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16517 }
16518 arg1 = reinterpret_cast< wxColourData * >(argp1);
16519 {
16520 PyThreadState* __tstate = wxPyBeginAllowThreads();
16521 delete arg1;
16522
16523 wxPyEndAllowThreads(__tstate);
16524 if (PyErr_Occurred()) SWIG_fail;
16525 }
16526 resultobj = SWIG_Py_Void();
16527 return resultobj;
16528 fail:
16529 return NULL;
16530 }
16531
16532
16533 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16534 PyObject *resultobj = 0;
16535 wxColourData *arg1 = (wxColourData *) 0 ;
16536 bool result;
16537 void *argp1 = 0 ;
16538 int res1 = 0 ;
16539 PyObject *swig_obj[1] ;
16540
16541 if (!args) SWIG_fail;
16542 swig_obj[0] = args;
16543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16544 if (!SWIG_IsOK(res1)) {
16545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16546 }
16547 arg1 = reinterpret_cast< wxColourData * >(argp1);
16548 {
16549 PyThreadState* __tstate = wxPyBeginAllowThreads();
16550 result = (bool)(arg1)->GetChooseFull();
16551 wxPyEndAllowThreads(__tstate);
16552 if (PyErr_Occurred()) SWIG_fail;
16553 }
16554 {
16555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16556 }
16557 return resultobj;
16558 fail:
16559 return NULL;
16560 }
16561
16562
16563 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16564 PyObject *resultobj = 0;
16565 wxColourData *arg1 = (wxColourData *) 0 ;
16566 wxColour result;
16567 void *argp1 = 0 ;
16568 int res1 = 0 ;
16569 PyObject *swig_obj[1] ;
16570
16571 if (!args) SWIG_fail;
16572 swig_obj[0] = args;
16573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16574 if (!SWIG_IsOK(res1)) {
16575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16576 }
16577 arg1 = reinterpret_cast< wxColourData * >(argp1);
16578 {
16579 PyThreadState* __tstate = wxPyBeginAllowThreads();
16580 result = (arg1)->GetColour();
16581 wxPyEndAllowThreads(__tstate);
16582 if (PyErr_Occurred()) SWIG_fail;
16583 }
16584 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16585 return resultobj;
16586 fail:
16587 return NULL;
16588 }
16589
16590
16591 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16592 PyObject *resultobj = 0;
16593 wxColourData *arg1 = (wxColourData *) 0 ;
16594 int arg2 ;
16595 wxColour result;
16596 void *argp1 = 0 ;
16597 int res1 = 0 ;
16598 int val2 ;
16599 int ecode2 = 0 ;
16600 PyObject * obj0 = 0 ;
16601 PyObject * obj1 = 0 ;
16602 char * kwnames[] = {
16603 (char *) "self",(char *) "i", NULL
16604 };
16605
16606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16608 if (!SWIG_IsOK(res1)) {
16609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16610 }
16611 arg1 = reinterpret_cast< wxColourData * >(argp1);
16612 ecode2 = SWIG_AsVal_int(obj1, &val2);
16613 if (!SWIG_IsOK(ecode2)) {
16614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16615 }
16616 arg2 = static_cast< int >(val2);
16617 {
16618 PyThreadState* __tstate = wxPyBeginAllowThreads();
16619 result = (arg1)->GetCustomColour(arg2);
16620 wxPyEndAllowThreads(__tstate);
16621 if (PyErr_Occurred()) SWIG_fail;
16622 }
16623 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16624 return resultobj;
16625 fail:
16626 return NULL;
16627 }
16628
16629
16630 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16631 PyObject *resultobj = 0;
16632 wxColourData *arg1 = (wxColourData *) 0 ;
16633 int arg2 ;
16634 void *argp1 = 0 ;
16635 int res1 = 0 ;
16636 int val2 ;
16637 int ecode2 = 0 ;
16638 PyObject * obj0 = 0 ;
16639 PyObject * obj1 = 0 ;
16640 char * kwnames[] = {
16641 (char *) "self",(char *) "flag", NULL
16642 };
16643
16644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16646 if (!SWIG_IsOK(res1)) {
16647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16648 }
16649 arg1 = reinterpret_cast< wxColourData * >(argp1);
16650 ecode2 = SWIG_AsVal_int(obj1, &val2);
16651 if (!SWIG_IsOK(ecode2)) {
16652 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16653 }
16654 arg2 = static_cast< int >(val2);
16655 {
16656 PyThreadState* __tstate = wxPyBeginAllowThreads();
16657 (arg1)->SetChooseFull(arg2);
16658 wxPyEndAllowThreads(__tstate);
16659 if (PyErr_Occurred()) SWIG_fail;
16660 }
16661 resultobj = SWIG_Py_Void();
16662 return resultobj;
16663 fail:
16664 return NULL;
16665 }
16666
16667
16668 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16669 PyObject *resultobj = 0;
16670 wxColourData *arg1 = (wxColourData *) 0 ;
16671 wxColour *arg2 = 0 ;
16672 void *argp1 = 0 ;
16673 int res1 = 0 ;
16674 wxColour temp2 ;
16675 PyObject * obj0 = 0 ;
16676 PyObject * obj1 = 0 ;
16677 char * kwnames[] = {
16678 (char *) "self",(char *) "colour", NULL
16679 };
16680
16681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16683 if (!SWIG_IsOK(res1)) {
16684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16685 }
16686 arg1 = reinterpret_cast< wxColourData * >(argp1);
16687 {
16688 arg2 = &temp2;
16689 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16690 }
16691 {
16692 PyThreadState* __tstate = wxPyBeginAllowThreads();
16693 (arg1)->SetColour((wxColour const &)*arg2);
16694 wxPyEndAllowThreads(__tstate);
16695 if (PyErr_Occurred()) SWIG_fail;
16696 }
16697 resultobj = SWIG_Py_Void();
16698 return resultobj;
16699 fail:
16700 return NULL;
16701 }
16702
16703
16704 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16705 PyObject *resultobj = 0;
16706 wxColourData *arg1 = (wxColourData *) 0 ;
16707 int arg2 ;
16708 wxColour *arg3 = 0 ;
16709 void *argp1 = 0 ;
16710 int res1 = 0 ;
16711 int val2 ;
16712 int ecode2 = 0 ;
16713 wxColour temp3 ;
16714 PyObject * obj0 = 0 ;
16715 PyObject * obj1 = 0 ;
16716 PyObject * obj2 = 0 ;
16717 char * kwnames[] = {
16718 (char *) "self",(char *) "i",(char *) "colour", NULL
16719 };
16720
16721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16723 if (!SWIG_IsOK(res1)) {
16724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16725 }
16726 arg1 = reinterpret_cast< wxColourData * >(argp1);
16727 ecode2 = SWIG_AsVal_int(obj1, &val2);
16728 if (!SWIG_IsOK(ecode2)) {
16729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16730 }
16731 arg2 = static_cast< int >(val2);
16732 {
16733 arg3 = &temp3;
16734 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16735 }
16736 {
16737 PyThreadState* __tstate = wxPyBeginAllowThreads();
16738 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16739 wxPyEndAllowThreads(__tstate);
16740 if (PyErr_Occurred()) SWIG_fail;
16741 }
16742 resultobj = SWIG_Py_Void();
16743 return resultobj;
16744 fail:
16745 return NULL;
16746 }
16747
16748
16749 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16750 PyObject *obj;
16751 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16752 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16753 return SWIG_Py_Void();
16754 }
16755
16756 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16757 return SWIG_Python_InitShadowInstance(args);
16758 }
16759
16760 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16761 PyObject *resultobj = 0;
16762 wxWindow *arg1 = (wxWindow *) 0 ;
16763 wxColourData *arg2 = (wxColourData *) NULL ;
16764 wxColourDialog *result = 0 ;
16765 void *argp1 = 0 ;
16766 int res1 = 0 ;
16767 void *argp2 = 0 ;
16768 int res2 = 0 ;
16769 PyObject * obj0 = 0 ;
16770 PyObject * obj1 = 0 ;
16771 char * kwnames[] = {
16772 (char *) "parent",(char *) "data", NULL
16773 };
16774
16775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16777 if (!SWIG_IsOK(res1)) {
16778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16779 }
16780 arg1 = reinterpret_cast< wxWindow * >(argp1);
16781 if (obj1) {
16782 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16783 if (!SWIG_IsOK(res2)) {
16784 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16785 }
16786 arg2 = reinterpret_cast< wxColourData * >(argp2);
16787 }
16788 {
16789 if (!wxPyCheckForApp()) SWIG_fail;
16790 PyThreadState* __tstate = wxPyBeginAllowThreads();
16791 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16792 wxPyEndAllowThreads(__tstate);
16793 if (PyErr_Occurred()) SWIG_fail;
16794 }
16795 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16796 return resultobj;
16797 fail:
16798 return NULL;
16799 }
16800
16801
16802 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16803 PyObject *resultobj = 0;
16804 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16805 wxColourData *result = 0 ;
16806 void *argp1 = 0 ;
16807 int res1 = 0 ;
16808 PyObject *swig_obj[1] ;
16809
16810 if (!args) SWIG_fail;
16811 swig_obj[0] = args;
16812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16813 if (!SWIG_IsOK(res1)) {
16814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16815 }
16816 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16817 {
16818 PyThreadState* __tstate = wxPyBeginAllowThreads();
16819 {
16820 wxColourData &_result_ref = (arg1)->GetColourData();
16821 result = (wxColourData *) &_result_ref;
16822 }
16823 wxPyEndAllowThreads(__tstate);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
16826 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16827 return resultobj;
16828 fail:
16829 return NULL;
16830 }
16831
16832
16833 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16834 PyObject *obj;
16835 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16836 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16837 return SWIG_Py_Void();
16838 }
16839
16840 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16841 return SWIG_Python_InitShadowInstance(args);
16842 }
16843
16844 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16845 PyObject *resultobj = 0;
16846 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16847 wxColour const &arg2_defvalue = wxNullColour ;
16848 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16849 wxString const &arg3_defvalue = wxPyEmptyString ;
16850 wxString *arg3 = (wxString *) &arg3_defvalue ;
16851 wxColour result;
16852 void *argp1 = 0 ;
16853 int res1 = 0 ;
16854 wxColour temp2 ;
16855 bool temp3 = false ;
16856 PyObject * obj0 = 0 ;
16857 PyObject * obj1 = 0 ;
16858 PyObject * obj2 = 0 ;
16859 char * kwnames[] = {
16860 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16861 };
16862
16863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16864 if (obj0) {
16865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16866 if (!SWIG_IsOK(res1)) {
16867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16868 }
16869 arg1 = reinterpret_cast< wxWindow * >(argp1);
16870 }
16871 if (obj1) {
16872 {
16873 arg2 = &temp2;
16874 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16875 }
16876 }
16877 if (obj2) {
16878 {
16879 arg3 = wxString_in_helper(obj2);
16880 if (arg3 == NULL) SWIG_fail;
16881 temp3 = true;
16882 }
16883 }
16884 {
16885 PyThreadState* __tstate = wxPyBeginAllowThreads();
16886 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16887 wxPyEndAllowThreads(__tstate);
16888 if (PyErr_Occurred()) SWIG_fail;
16889 }
16890 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16891 {
16892 if (temp3)
16893 delete arg3;
16894 }
16895 return resultobj;
16896 fail:
16897 {
16898 if (temp3)
16899 delete arg3;
16900 }
16901 return NULL;
16902 }
16903
16904
16905 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16906 PyObject *resultobj = 0;
16907 wxWindow *arg1 = (wxWindow *) 0 ;
16908 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16909 wxString *arg2 = (wxString *) &arg2_defvalue ;
16910 wxString const &arg3_defvalue = wxPyEmptyString ;
16911 wxString *arg3 = (wxString *) &arg3_defvalue ;
16912 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16913 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16914 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16915 wxSize const &arg6_defvalue = wxDefaultSize ;
16916 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16917 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16918 wxString *arg7 = (wxString *) &arg7_defvalue ;
16919 wxDirDialog *result = 0 ;
16920 void *argp1 = 0 ;
16921 int res1 = 0 ;
16922 bool temp2 = false ;
16923 bool temp3 = false ;
16924 long val4 ;
16925 int ecode4 = 0 ;
16926 wxPoint temp5 ;
16927 wxSize temp6 ;
16928 bool temp7 = false ;
16929 PyObject * obj0 = 0 ;
16930 PyObject * obj1 = 0 ;
16931 PyObject * obj2 = 0 ;
16932 PyObject * obj3 = 0 ;
16933 PyObject * obj4 = 0 ;
16934 PyObject * obj5 = 0 ;
16935 PyObject * obj6 = 0 ;
16936 char * kwnames[] = {
16937 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16938 };
16939
16940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16942 if (!SWIG_IsOK(res1)) {
16943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16944 }
16945 arg1 = reinterpret_cast< wxWindow * >(argp1);
16946 if (obj1) {
16947 {
16948 arg2 = wxString_in_helper(obj1);
16949 if (arg2 == NULL) SWIG_fail;
16950 temp2 = true;
16951 }
16952 }
16953 if (obj2) {
16954 {
16955 arg3 = wxString_in_helper(obj2);
16956 if (arg3 == NULL) SWIG_fail;
16957 temp3 = true;
16958 }
16959 }
16960 if (obj3) {
16961 ecode4 = SWIG_AsVal_long(obj3, &val4);
16962 if (!SWIG_IsOK(ecode4)) {
16963 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16964 }
16965 arg4 = static_cast< long >(val4);
16966 }
16967 if (obj4) {
16968 {
16969 arg5 = &temp5;
16970 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16971 }
16972 }
16973 if (obj5) {
16974 {
16975 arg6 = &temp6;
16976 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16977 }
16978 }
16979 if (obj6) {
16980 {
16981 arg7 = wxString_in_helper(obj6);
16982 if (arg7 == NULL) SWIG_fail;
16983 temp7 = true;
16984 }
16985 }
16986 {
16987 if (!wxPyCheckForApp()) SWIG_fail;
16988 PyThreadState* __tstate = wxPyBeginAllowThreads();
16989 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16990 wxPyEndAllowThreads(__tstate);
16991 if (PyErr_Occurred()) SWIG_fail;
16992 }
16993 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16994 {
16995 if (temp2)
16996 delete arg2;
16997 }
16998 {
16999 if (temp3)
17000 delete arg3;
17001 }
17002 {
17003 if (temp7)
17004 delete arg7;
17005 }
17006 return resultobj;
17007 fail:
17008 {
17009 if (temp2)
17010 delete arg2;
17011 }
17012 {
17013 if (temp3)
17014 delete arg3;
17015 }
17016 {
17017 if (temp7)
17018 delete arg7;
17019 }
17020 return NULL;
17021 }
17022
17023
17024 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17025 PyObject *resultobj = 0;
17026 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17027 wxString result;
17028 void *argp1 = 0 ;
17029 int res1 = 0 ;
17030 PyObject *swig_obj[1] ;
17031
17032 if (!args) SWIG_fail;
17033 swig_obj[0] = args;
17034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17035 if (!SWIG_IsOK(res1)) {
17036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17037 }
17038 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17039 {
17040 PyThreadState* __tstate = wxPyBeginAllowThreads();
17041 result = (arg1)->GetPath();
17042 wxPyEndAllowThreads(__tstate);
17043 if (PyErr_Occurred()) SWIG_fail;
17044 }
17045 {
17046 #if wxUSE_UNICODE
17047 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17048 #else
17049 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17050 #endif
17051 }
17052 return resultobj;
17053 fail:
17054 return NULL;
17055 }
17056
17057
17058 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17059 PyObject *resultobj = 0;
17060 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17061 wxString result;
17062 void *argp1 = 0 ;
17063 int res1 = 0 ;
17064 PyObject *swig_obj[1] ;
17065
17066 if (!args) SWIG_fail;
17067 swig_obj[0] = args;
17068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17069 if (!SWIG_IsOK(res1)) {
17070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17071 }
17072 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17073 {
17074 PyThreadState* __tstate = wxPyBeginAllowThreads();
17075 result = (arg1)->GetMessage();
17076 wxPyEndAllowThreads(__tstate);
17077 if (PyErr_Occurred()) SWIG_fail;
17078 }
17079 {
17080 #if wxUSE_UNICODE
17081 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17082 #else
17083 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17084 #endif
17085 }
17086 return resultobj;
17087 fail:
17088 return NULL;
17089 }
17090
17091
17092 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17093 PyObject *resultobj = 0;
17094 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17095 wxString *arg2 = 0 ;
17096 void *argp1 = 0 ;
17097 int res1 = 0 ;
17098 bool temp2 = false ;
17099 PyObject * obj0 = 0 ;
17100 PyObject * obj1 = 0 ;
17101 char * kwnames[] = {
17102 (char *) "self",(char *) "message", NULL
17103 };
17104
17105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17107 if (!SWIG_IsOK(res1)) {
17108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17109 }
17110 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17111 {
17112 arg2 = wxString_in_helper(obj1);
17113 if (arg2 == NULL) SWIG_fail;
17114 temp2 = true;
17115 }
17116 {
17117 PyThreadState* __tstate = wxPyBeginAllowThreads();
17118 (arg1)->SetMessage((wxString const &)*arg2);
17119 wxPyEndAllowThreads(__tstate);
17120 if (PyErr_Occurred()) SWIG_fail;
17121 }
17122 resultobj = SWIG_Py_Void();
17123 {
17124 if (temp2)
17125 delete arg2;
17126 }
17127 return resultobj;
17128 fail:
17129 {
17130 if (temp2)
17131 delete arg2;
17132 }
17133 return NULL;
17134 }
17135
17136
17137 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17138 PyObject *resultobj = 0;
17139 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17140 wxString *arg2 = 0 ;
17141 void *argp1 = 0 ;
17142 int res1 = 0 ;
17143 bool temp2 = false ;
17144 PyObject * obj0 = 0 ;
17145 PyObject * obj1 = 0 ;
17146 char * kwnames[] = {
17147 (char *) "self",(char *) "path", NULL
17148 };
17149
17150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17152 if (!SWIG_IsOK(res1)) {
17153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17154 }
17155 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17156 {
17157 arg2 = wxString_in_helper(obj1);
17158 if (arg2 == NULL) SWIG_fail;
17159 temp2 = true;
17160 }
17161 {
17162 PyThreadState* __tstate = wxPyBeginAllowThreads();
17163 (arg1)->SetPath((wxString const &)*arg2);
17164 wxPyEndAllowThreads(__tstate);
17165 if (PyErr_Occurred()) SWIG_fail;
17166 }
17167 resultobj = SWIG_Py_Void();
17168 {
17169 if (temp2)
17170 delete arg2;
17171 }
17172 return resultobj;
17173 fail:
17174 {
17175 if (temp2)
17176 delete arg2;
17177 }
17178 return NULL;
17179 }
17180
17181
17182 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17183 PyObject *obj;
17184 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17185 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17186 return SWIG_Py_Void();
17187 }
17188
17189 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17190 return SWIG_Python_InitShadowInstance(args);
17191 }
17192
17193 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17194 PyObject *resultobj = 0;
17195 wxWindow *arg1 = (wxWindow *) 0 ;
17196 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17197 wxString *arg2 = (wxString *) &arg2_defvalue ;
17198 wxString const &arg3_defvalue = wxPyEmptyString ;
17199 wxString *arg3 = (wxString *) &arg3_defvalue ;
17200 wxString const &arg4_defvalue = wxPyEmptyString ;
17201 wxString *arg4 = (wxString *) &arg4_defvalue ;
17202 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17203 wxString *arg5 = (wxString *) &arg5_defvalue ;
17204 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17205 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17206 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17207 wxFileDialog *result = 0 ;
17208 void *argp1 = 0 ;
17209 int res1 = 0 ;
17210 bool temp2 = false ;
17211 bool temp3 = false ;
17212 bool temp4 = false ;
17213 bool temp5 = false ;
17214 long val6 ;
17215 int ecode6 = 0 ;
17216 wxPoint temp7 ;
17217 PyObject * obj0 = 0 ;
17218 PyObject * obj1 = 0 ;
17219 PyObject * obj2 = 0 ;
17220 PyObject * obj3 = 0 ;
17221 PyObject * obj4 = 0 ;
17222 PyObject * obj5 = 0 ;
17223 PyObject * obj6 = 0 ;
17224 char * kwnames[] = {
17225 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17226 };
17227
17228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17230 if (!SWIG_IsOK(res1)) {
17231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17232 }
17233 arg1 = reinterpret_cast< wxWindow * >(argp1);
17234 if (obj1) {
17235 {
17236 arg2 = wxString_in_helper(obj1);
17237 if (arg2 == NULL) SWIG_fail;
17238 temp2 = true;
17239 }
17240 }
17241 if (obj2) {
17242 {
17243 arg3 = wxString_in_helper(obj2);
17244 if (arg3 == NULL) SWIG_fail;
17245 temp3 = true;
17246 }
17247 }
17248 if (obj3) {
17249 {
17250 arg4 = wxString_in_helper(obj3);
17251 if (arg4 == NULL) SWIG_fail;
17252 temp4 = true;
17253 }
17254 }
17255 if (obj4) {
17256 {
17257 arg5 = wxString_in_helper(obj4);
17258 if (arg5 == NULL) SWIG_fail;
17259 temp5 = true;
17260 }
17261 }
17262 if (obj5) {
17263 ecode6 = SWIG_AsVal_long(obj5, &val6);
17264 if (!SWIG_IsOK(ecode6)) {
17265 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17266 }
17267 arg6 = static_cast< long >(val6);
17268 }
17269 if (obj6) {
17270 {
17271 arg7 = &temp7;
17272 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17273 }
17274 }
17275 {
17276 if (!wxPyCheckForApp()) SWIG_fail;
17277 PyThreadState* __tstate = wxPyBeginAllowThreads();
17278 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17279 wxPyEndAllowThreads(__tstate);
17280 if (PyErr_Occurred()) SWIG_fail;
17281 }
17282 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17283 {
17284 if (temp2)
17285 delete arg2;
17286 }
17287 {
17288 if (temp3)
17289 delete arg3;
17290 }
17291 {
17292 if (temp4)
17293 delete arg4;
17294 }
17295 {
17296 if (temp5)
17297 delete arg5;
17298 }
17299 return resultobj;
17300 fail:
17301 {
17302 if (temp2)
17303 delete arg2;
17304 }
17305 {
17306 if (temp3)
17307 delete arg3;
17308 }
17309 {
17310 if (temp4)
17311 delete arg4;
17312 }
17313 {
17314 if (temp5)
17315 delete arg5;
17316 }
17317 return NULL;
17318 }
17319
17320
17321 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17322 PyObject *resultobj = 0;
17323 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17324 wxString *arg2 = 0 ;
17325 void *argp1 = 0 ;
17326 int res1 = 0 ;
17327 bool temp2 = false ;
17328 PyObject * obj0 = 0 ;
17329 PyObject * obj1 = 0 ;
17330 char * kwnames[] = {
17331 (char *) "self",(char *) "message", NULL
17332 };
17333
17334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17336 if (!SWIG_IsOK(res1)) {
17337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17338 }
17339 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17340 {
17341 arg2 = wxString_in_helper(obj1);
17342 if (arg2 == NULL) SWIG_fail;
17343 temp2 = true;
17344 }
17345 {
17346 PyThreadState* __tstate = wxPyBeginAllowThreads();
17347 (arg1)->SetMessage((wxString const &)*arg2);
17348 wxPyEndAllowThreads(__tstate);
17349 if (PyErr_Occurred()) SWIG_fail;
17350 }
17351 resultobj = SWIG_Py_Void();
17352 {
17353 if (temp2)
17354 delete arg2;
17355 }
17356 return resultobj;
17357 fail:
17358 {
17359 if (temp2)
17360 delete arg2;
17361 }
17362 return NULL;
17363 }
17364
17365
17366 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17367 PyObject *resultobj = 0;
17368 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17369 wxString *arg2 = 0 ;
17370 void *argp1 = 0 ;
17371 int res1 = 0 ;
17372 bool temp2 = false ;
17373 PyObject * obj0 = 0 ;
17374 PyObject * obj1 = 0 ;
17375 char * kwnames[] = {
17376 (char *) "self",(char *) "path", NULL
17377 };
17378
17379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17381 if (!SWIG_IsOK(res1)) {
17382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17383 }
17384 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17385 {
17386 arg2 = wxString_in_helper(obj1);
17387 if (arg2 == NULL) SWIG_fail;
17388 temp2 = true;
17389 }
17390 {
17391 PyThreadState* __tstate = wxPyBeginAllowThreads();
17392 (arg1)->SetPath((wxString const &)*arg2);
17393 wxPyEndAllowThreads(__tstate);
17394 if (PyErr_Occurred()) SWIG_fail;
17395 }
17396 resultobj = SWIG_Py_Void();
17397 {
17398 if (temp2)
17399 delete arg2;
17400 }
17401 return resultobj;
17402 fail:
17403 {
17404 if (temp2)
17405 delete arg2;
17406 }
17407 return NULL;
17408 }
17409
17410
17411 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17412 PyObject *resultobj = 0;
17413 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17414 wxString *arg2 = 0 ;
17415 void *argp1 = 0 ;
17416 int res1 = 0 ;
17417 bool temp2 = false ;
17418 PyObject * obj0 = 0 ;
17419 PyObject * obj1 = 0 ;
17420 char * kwnames[] = {
17421 (char *) "self",(char *) "dir", NULL
17422 };
17423
17424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17426 if (!SWIG_IsOK(res1)) {
17427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17428 }
17429 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17430 {
17431 arg2 = wxString_in_helper(obj1);
17432 if (arg2 == NULL) SWIG_fail;
17433 temp2 = true;
17434 }
17435 {
17436 PyThreadState* __tstate = wxPyBeginAllowThreads();
17437 (arg1)->SetDirectory((wxString const &)*arg2);
17438 wxPyEndAllowThreads(__tstate);
17439 if (PyErr_Occurred()) SWIG_fail;
17440 }
17441 resultobj = SWIG_Py_Void();
17442 {
17443 if (temp2)
17444 delete arg2;
17445 }
17446 return resultobj;
17447 fail:
17448 {
17449 if (temp2)
17450 delete arg2;
17451 }
17452 return NULL;
17453 }
17454
17455
17456 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17457 PyObject *resultobj = 0;
17458 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17459 wxString *arg2 = 0 ;
17460 void *argp1 = 0 ;
17461 int res1 = 0 ;
17462 bool temp2 = false ;
17463 PyObject * obj0 = 0 ;
17464 PyObject * obj1 = 0 ;
17465 char * kwnames[] = {
17466 (char *) "self",(char *) "name", NULL
17467 };
17468
17469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17471 if (!SWIG_IsOK(res1)) {
17472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17473 }
17474 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17475 {
17476 arg2 = wxString_in_helper(obj1);
17477 if (arg2 == NULL) SWIG_fail;
17478 temp2 = true;
17479 }
17480 {
17481 PyThreadState* __tstate = wxPyBeginAllowThreads();
17482 (arg1)->SetFilename((wxString const &)*arg2);
17483 wxPyEndAllowThreads(__tstate);
17484 if (PyErr_Occurred()) SWIG_fail;
17485 }
17486 resultobj = SWIG_Py_Void();
17487 {
17488 if (temp2)
17489 delete arg2;
17490 }
17491 return resultobj;
17492 fail:
17493 {
17494 if (temp2)
17495 delete arg2;
17496 }
17497 return NULL;
17498 }
17499
17500
17501 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17502 PyObject *resultobj = 0;
17503 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17504 wxString *arg2 = 0 ;
17505 void *argp1 = 0 ;
17506 int res1 = 0 ;
17507 bool temp2 = false ;
17508 PyObject * obj0 = 0 ;
17509 PyObject * obj1 = 0 ;
17510 char * kwnames[] = {
17511 (char *) "self",(char *) "wildCard", NULL
17512 };
17513
17514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17516 if (!SWIG_IsOK(res1)) {
17517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17518 }
17519 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17520 {
17521 arg2 = wxString_in_helper(obj1);
17522 if (arg2 == NULL) SWIG_fail;
17523 temp2 = true;
17524 }
17525 {
17526 PyThreadState* __tstate = wxPyBeginAllowThreads();
17527 (arg1)->SetWildcard((wxString const &)*arg2);
17528 wxPyEndAllowThreads(__tstate);
17529 if (PyErr_Occurred()) SWIG_fail;
17530 }
17531 resultobj = SWIG_Py_Void();
17532 {
17533 if (temp2)
17534 delete arg2;
17535 }
17536 return resultobj;
17537 fail:
17538 {
17539 if (temp2)
17540 delete arg2;
17541 }
17542 return NULL;
17543 }
17544
17545
17546 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17547 PyObject *resultobj = 0;
17548 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17549 int arg2 ;
17550 void *argp1 = 0 ;
17551 int res1 = 0 ;
17552 int val2 ;
17553 int ecode2 = 0 ;
17554 PyObject * obj0 = 0 ;
17555 PyObject * obj1 = 0 ;
17556 char * kwnames[] = {
17557 (char *) "self",(char *) "filterIndex", NULL
17558 };
17559
17560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17562 if (!SWIG_IsOK(res1)) {
17563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17564 }
17565 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17566 ecode2 = SWIG_AsVal_int(obj1, &val2);
17567 if (!SWIG_IsOK(ecode2)) {
17568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17569 }
17570 arg2 = static_cast< int >(val2);
17571 {
17572 PyThreadState* __tstate = wxPyBeginAllowThreads();
17573 (arg1)->SetFilterIndex(arg2);
17574 wxPyEndAllowThreads(__tstate);
17575 if (PyErr_Occurred()) SWIG_fail;
17576 }
17577 resultobj = SWIG_Py_Void();
17578 return resultobj;
17579 fail:
17580 return NULL;
17581 }
17582
17583
17584 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17585 PyObject *resultobj = 0;
17586 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17587 wxString result;
17588 void *argp1 = 0 ;
17589 int res1 = 0 ;
17590 PyObject *swig_obj[1] ;
17591
17592 if (!args) SWIG_fail;
17593 swig_obj[0] = args;
17594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17595 if (!SWIG_IsOK(res1)) {
17596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17597 }
17598 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17599 {
17600 PyThreadState* __tstate = wxPyBeginAllowThreads();
17601 result = ((wxFileDialog const *)arg1)->GetMessage();
17602 wxPyEndAllowThreads(__tstate);
17603 if (PyErr_Occurred()) SWIG_fail;
17604 }
17605 {
17606 #if wxUSE_UNICODE
17607 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17608 #else
17609 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17610 #endif
17611 }
17612 return resultobj;
17613 fail:
17614 return NULL;
17615 }
17616
17617
17618 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17619 PyObject *resultobj = 0;
17620 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17621 wxString result;
17622 void *argp1 = 0 ;
17623 int res1 = 0 ;
17624 PyObject *swig_obj[1] ;
17625
17626 if (!args) SWIG_fail;
17627 swig_obj[0] = args;
17628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17629 if (!SWIG_IsOK(res1)) {
17630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17631 }
17632 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17633 {
17634 PyThreadState* __tstate = wxPyBeginAllowThreads();
17635 result = ((wxFileDialog const *)arg1)->GetPath();
17636 wxPyEndAllowThreads(__tstate);
17637 if (PyErr_Occurred()) SWIG_fail;
17638 }
17639 {
17640 #if wxUSE_UNICODE
17641 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17642 #else
17643 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17644 #endif
17645 }
17646 return resultobj;
17647 fail:
17648 return NULL;
17649 }
17650
17651
17652 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17653 PyObject *resultobj = 0;
17654 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17655 wxString result;
17656 void *argp1 = 0 ;
17657 int res1 = 0 ;
17658 PyObject *swig_obj[1] ;
17659
17660 if (!args) SWIG_fail;
17661 swig_obj[0] = args;
17662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17663 if (!SWIG_IsOK(res1)) {
17664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17665 }
17666 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17667 {
17668 PyThreadState* __tstate = wxPyBeginAllowThreads();
17669 result = ((wxFileDialog const *)arg1)->GetDirectory();
17670 wxPyEndAllowThreads(__tstate);
17671 if (PyErr_Occurred()) SWIG_fail;
17672 }
17673 {
17674 #if wxUSE_UNICODE
17675 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17676 #else
17677 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17678 #endif
17679 }
17680 return resultobj;
17681 fail:
17682 return NULL;
17683 }
17684
17685
17686 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17687 PyObject *resultobj = 0;
17688 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17689 wxString result;
17690 void *argp1 = 0 ;
17691 int res1 = 0 ;
17692 PyObject *swig_obj[1] ;
17693
17694 if (!args) SWIG_fail;
17695 swig_obj[0] = args;
17696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17697 if (!SWIG_IsOK(res1)) {
17698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17699 }
17700 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17701 {
17702 PyThreadState* __tstate = wxPyBeginAllowThreads();
17703 result = ((wxFileDialog const *)arg1)->GetFilename();
17704 wxPyEndAllowThreads(__tstate);
17705 if (PyErr_Occurred()) SWIG_fail;
17706 }
17707 {
17708 #if wxUSE_UNICODE
17709 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17710 #else
17711 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17712 #endif
17713 }
17714 return resultobj;
17715 fail:
17716 return NULL;
17717 }
17718
17719
17720 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17721 PyObject *resultobj = 0;
17722 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17723 wxString result;
17724 void *argp1 = 0 ;
17725 int res1 = 0 ;
17726 PyObject *swig_obj[1] ;
17727
17728 if (!args) SWIG_fail;
17729 swig_obj[0] = args;
17730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17731 if (!SWIG_IsOK(res1)) {
17732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17733 }
17734 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17735 {
17736 PyThreadState* __tstate = wxPyBeginAllowThreads();
17737 result = ((wxFileDialog const *)arg1)->GetWildcard();
17738 wxPyEndAllowThreads(__tstate);
17739 if (PyErr_Occurred()) SWIG_fail;
17740 }
17741 {
17742 #if wxUSE_UNICODE
17743 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17744 #else
17745 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17746 #endif
17747 }
17748 return resultobj;
17749 fail:
17750 return NULL;
17751 }
17752
17753
17754 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17755 PyObject *resultobj = 0;
17756 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17757 int result;
17758 void *argp1 = 0 ;
17759 int res1 = 0 ;
17760 PyObject *swig_obj[1] ;
17761
17762 if (!args) SWIG_fail;
17763 swig_obj[0] = args;
17764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17765 if (!SWIG_IsOK(res1)) {
17766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17767 }
17768 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17769 {
17770 PyThreadState* __tstate = wxPyBeginAllowThreads();
17771 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17772 wxPyEndAllowThreads(__tstate);
17773 if (PyErr_Occurred()) SWIG_fail;
17774 }
17775 resultobj = SWIG_From_int(static_cast< int >(result));
17776 return resultobj;
17777 fail:
17778 return NULL;
17779 }
17780
17781
17782 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17783 PyObject *resultobj = 0;
17784 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17785 PyObject *result = 0 ;
17786 void *argp1 = 0 ;
17787 int res1 = 0 ;
17788 PyObject *swig_obj[1] ;
17789
17790 if (!args) SWIG_fail;
17791 swig_obj[0] = args;
17792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17793 if (!SWIG_IsOK(res1)) {
17794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17795 }
17796 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17797 {
17798 PyThreadState* __tstate = wxPyBeginAllowThreads();
17799 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17800 wxPyEndAllowThreads(__tstate);
17801 if (PyErr_Occurred()) SWIG_fail;
17802 }
17803 resultobj = result;
17804 return resultobj;
17805 fail:
17806 return NULL;
17807 }
17808
17809
17810 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17811 PyObject *resultobj = 0;
17812 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17813 PyObject *result = 0 ;
17814 void *argp1 = 0 ;
17815 int res1 = 0 ;
17816 PyObject *swig_obj[1] ;
17817
17818 if (!args) SWIG_fail;
17819 swig_obj[0] = args;
17820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17821 if (!SWIG_IsOK(res1)) {
17822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17823 }
17824 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17825 {
17826 PyThreadState* __tstate = wxPyBeginAllowThreads();
17827 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17828 wxPyEndAllowThreads(__tstate);
17829 if (PyErr_Occurred()) SWIG_fail;
17830 }
17831 resultobj = result;
17832 return resultobj;
17833 fail:
17834 return NULL;
17835 }
17836
17837
17838 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17839 PyObject *obj;
17840 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17841 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17842 return SWIG_Py_Void();
17843 }
17844
17845 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17846 return SWIG_Python_InitShadowInstance(args);
17847 }
17848
17849 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17850 PyObject *resultobj = 0;
17851 wxWindow *arg1 = (wxWindow *) 0 ;
17852 wxString *arg2 = 0 ;
17853 wxString *arg3 = 0 ;
17854 int arg4 = (int) 0 ;
17855 wxString *arg5 = (wxString *) NULL ;
17856 long arg6 = (long) wxCHOICEDLG_STYLE ;
17857 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17858 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17859 wxMultiChoiceDialog *result = 0 ;
17860 void *argp1 = 0 ;
17861 int res1 = 0 ;
17862 bool temp2 = false ;
17863 bool temp3 = false ;
17864 long val6 ;
17865 int ecode6 = 0 ;
17866 wxPoint temp7 ;
17867 PyObject * obj0 = 0 ;
17868 PyObject * obj1 = 0 ;
17869 PyObject * obj2 = 0 ;
17870 PyObject * obj3 = 0 ;
17871 PyObject * obj4 = 0 ;
17872 PyObject * obj5 = 0 ;
17873 char * kwnames[] = {
17874 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17875 };
17876
17877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17879 if (!SWIG_IsOK(res1)) {
17880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17881 }
17882 arg1 = reinterpret_cast< wxWindow * >(argp1);
17883 {
17884 arg2 = wxString_in_helper(obj1);
17885 if (arg2 == NULL) SWIG_fail;
17886 temp2 = true;
17887 }
17888 {
17889 arg3 = wxString_in_helper(obj2);
17890 if (arg3 == NULL) SWIG_fail;
17891 temp3 = true;
17892 }
17893 if (obj3) {
17894 {
17895 arg4 = PyList_Size(obj3);
17896 arg5 = wxString_LIST_helper(obj3);
17897 if (arg5 == NULL) SWIG_fail;
17898 }
17899 }
17900 if (obj4) {
17901 ecode6 = SWIG_AsVal_long(obj4, &val6);
17902 if (!SWIG_IsOK(ecode6)) {
17903 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17904 }
17905 arg6 = static_cast< long >(val6);
17906 }
17907 if (obj5) {
17908 {
17909 arg7 = &temp7;
17910 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17911 }
17912 }
17913 {
17914 if (!wxPyCheckForApp()) SWIG_fail;
17915 PyThreadState* __tstate = wxPyBeginAllowThreads();
17916 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17917 wxPyEndAllowThreads(__tstate);
17918 if (PyErr_Occurred()) SWIG_fail;
17919 }
17920 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17921 {
17922 if (temp2)
17923 delete arg2;
17924 }
17925 {
17926 if (temp3)
17927 delete arg3;
17928 }
17929 {
17930 if (arg5) delete [] arg5;
17931 }
17932 return resultobj;
17933 fail:
17934 {
17935 if (temp2)
17936 delete arg2;
17937 }
17938 {
17939 if (temp3)
17940 delete arg3;
17941 }
17942 {
17943 if (arg5) delete [] arg5;
17944 }
17945 return NULL;
17946 }
17947
17948
17949 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17950 PyObject *resultobj = 0;
17951 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17952 wxArrayInt *arg2 = 0 ;
17953 void *argp1 = 0 ;
17954 int res1 = 0 ;
17955 bool temp2 = false ;
17956 PyObject * obj0 = 0 ;
17957 PyObject * obj1 = 0 ;
17958 char * kwnames[] = {
17959 (char *) "self",(char *) "selections", NULL
17960 };
17961
17962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17964 if (!SWIG_IsOK(res1)) {
17965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17966 }
17967 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17968 {
17969 if (! PySequence_Check(obj1)) {
17970 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17971 SWIG_fail;
17972 }
17973 arg2 = new wxArrayInt;
17974 temp2 = true;
17975 int i, len=PySequence_Length(obj1);
17976 for (i=0; i<len; i++) {
17977 PyObject* item = PySequence_GetItem(obj1, i);
17978 PyObject* number = PyNumber_Int(item);
17979 arg2->Add(PyInt_AS_LONG(number));
17980 Py_DECREF(item);
17981 Py_DECREF(number);
17982 }
17983 }
17984 {
17985 PyThreadState* __tstate = wxPyBeginAllowThreads();
17986 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17987 wxPyEndAllowThreads(__tstate);
17988 if (PyErr_Occurred()) SWIG_fail;
17989 }
17990 resultobj = SWIG_Py_Void();
17991 {
17992 if (temp2) delete arg2;
17993 }
17994 return resultobj;
17995 fail:
17996 {
17997 if (temp2) delete arg2;
17998 }
17999 return NULL;
18000 }
18001
18002
18003 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18004 PyObject *resultobj = 0;
18005 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18006 PyObject *result = 0 ;
18007 void *argp1 = 0 ;
18008 int res1 = 0 ;
18009 PyObject *swig_obj[1] ;
18010
18011 if (!args) SWIG_fail;
18012 swig_obj[0] = args;
18013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18014 if (!SWIG_IsOK(res1)) {
18015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18016 }
18017 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18018 {
18019 PyThreadState* __tstate = wxPyBeginAllowThreads();
18020 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
18021 wxPyEndAllowThreads(__tstate);
18022 if (PyErr_Occurred()) SWIG_fail;
18023 }
18024 resultobj = result;
18025 return resultobj;
18026 fail:
18027 return NULL;
18028 }
18029
18030
18031 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18032 PyObject *obj;
18033 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18034 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
18035 return SWIG_Py_Void();
18036 }
18037
18038 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18039 return SWIG_Python_InitShadowInstance(args);
18040 }
18041
18042 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18043 PyObject *resultobj = 0;
18044 wxWindow *arg1 = (wxWindow *) 0 ;
18045 wxString *arg2 = 0 ;
18046 wxString *arg3 = 0 ;
18047 int arg4 ;
18048 wxString *arg5 = (wxString *) 0 ;
18049 long arg6 = (long) wxCHOICEDLG_STYLE ;
18050 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18051 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18052 wxSingleChoiceDialog *result = 0 ;
18053 void *argp1 = 0 ;
18054 int res1 = 0 ;
18055 bool temp2 = false ;
18056 bool temp3 = false ;
18057 long val6 ;
18058 int ecode6 = 0 ;
18059 wxPoint temp7 ;
18060 PyObject * obj0 = 0 ;
18061 PyObject * obj1 = 0 ;
18062 PyObject * obj2 = 0 ;
18063 PyObject * obj3 = 0 ;
18064 PyObject * obj4 = 0 ;
18065 PyObject * obj5 = 0 ;
18066 char * kwnames[] = {
18067 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18068 };
18069
18070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18072 if (!SWIG_IsOK(res1)) {
18073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18074 }
18075 arg1 = reinterpret_cast< wxWindow * >(argp1);
18076 {
18077 arg2 = wxString_in_helper(obj1);
18078 if (arg2 == NULL) SWIG_fail;
18079 temp2 = true;
18080 }
18081 {
18082 arg3 = wxString_in_helper(obj2);
18083 if (arg3 == NULL) SWIG_fail;
18084 temp3 = true;
18085 }
18086 {
18087 arg4 = PyList_Size(obj3);
18088 arg5 = wxString_LIST_helper(obj3);
18089 if (arg5 == NULL) SWIG_fail;
18090 }
18091 if (obj4) {
18092 ecode6 = SWIG_AsVal_long(obj4, &val6);
18093 if (!SWIG_IsOK(ecode6)) {
18094 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18095 }
18096 arg6 = static_cast< long >(val6);
18097 }
18098 if (obj5) {
18099 {
18100 arg7 = &temp7;
18101 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18102 }
18103 }
18104 {
18105 if (!wxPyCheckForApp()) SWIG_fail;
18106 PyThreadState* __tstate = wxPyBeginAllowThreads();
18107 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18108 wxPyEndAllowThreads(__tstate);
18109 if (PyErr_Occurred()) SWIG_fail;
18110 }
18111 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18112 {
18113 if (temp2)
18114 delete arg2;
18115 }
18116 {
18117 if (temp3)
18118 delete arg3;
18119 }
18120 {
18121 if (arg5) delete [] arg5;
18122 }
18123 return resultobj;
18124 fail:
18125 {
18126 if (temp2)
18127 delete arg2;
18128 }
18129 {
18130 if (temp3)
18131 delete arg3;
18132 }
18133 {
18134 if (arg5) delete [] arg5;
18135 }
18136 return NULL;
18137 }
18138
18139
18140 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18141 PyObject *resultobj = 0;
18142 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18143 int result;
18144 void *argp1 = 0 ;
18145 int res1 = 0 ;
18146 PyObject *swig_obj[1] ;
18147
18148 if (!args) SWIG_fail;
18149 swig_obj[0] = args;
18150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18151 if (!SWIG_IsOK(res1)) {
18152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18153 }
18154 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18155 {
18156 PyThreadState* __tstate = wxPyBeginAllowThreads();
18157 result = (int)(arg1)->GetSelection();
18158 wxPyEndAllowThreads(__tstate);
18159 if (PyErr_Occurred()) SWIG_fail;
18160 }
18161 resultobj = SWIG_From_int(static_cast< int >(result));
18162 return resultobj;
18163 fail:
18164 return NULL;
18165 }
18166
18167
18168 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18169 PyObject *resultobj = 0;
18170 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18171 wxString result;
18172 void *argp1 = 0 ;
18173 int res1 = 0 ;
18174 PyObject *swig_obj[1] ;
18175
18176 if (!args) SWIG_fail;
18177 swig_obj[0] = args;
18178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18179 if (!SWIG_IsOK(res1)) {
18180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18181 }
18182 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18183 {
18184 PyThreadState* __tstate = wxPyBeginAllowThreads();
18185 result = (arg1)->GetStringSelection();
18186 wxPyEndAllowThreads(__tstate);
18187 if (PyErr_Occurred()) SWIG_fail;
18188 }
18189 {
18190 #if wxUSE_UNICODE
18191 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18192 #else
18193 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18194 #endif
18195 }
18196 return resultobj;
18197 fail:
18198 return NULL;
18199 }
18200
18201
18202 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18203 PyObject *resultobj = 0;
18204 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18205 int arg2 ;
18206 void *argp1 = 0 ;
18207 int res1 = 0 ;
18208 int val2 ;
18209 int ecode2 = 0 ;
18210 PyObject * obj0 = 0 ;
18211 PyObject * obj1 = 0 ;
18212 char * kwnames[] = {
18213 (char *) "self",(char *) "sel", NULL
18214 };
18215
18216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18218 if (!SWIG_IsOK(res1)) {
18219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18220 }
18221 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18222 ecode2 = SWIG_AsVal_int(obj1, &val2);
18223 if (!SWIG_IsOK(ecode2)) {
18224 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18225 }
18226 arg2 = static_cast< int >(val2);
18227 {
18228 PyThreadState* __tstate = wxPyBeginAllowThreads();
18229 (arg1)->SetSelection(arg2);
18230 wxPyEndAllowThreads(__tstate);
18231 if (PyErr_Occurred()) SWIG_fail;
18232 }
18233 resultobj = SWIG_Py_Void();
18234 return resultobj;
18235 fail:
18236 return NULL;
18237 }
18238
18239
18240 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18241 PyObject *obj;
18242 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18243 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18244 return SWIG_Py_Void();
18245 }
18246
18247 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18248 return SWIG_Python_InitShadowInstance(args);
18249 }
18250
18251 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18252 PyObject *resultobj = 0;
18253 wxWindow *arg1 = (wxWindow *) 0 ;
18254 wxString *arg2 = 0 ;
18255 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18256 wxString *arg3 = (wxString *) &arg3_defvalue ;
18257 wxString const &arg4_defvalue = wxPyEmptyString ;
18258 wxString *arg4 = (wxString *) &arg4_defvalue ;
18259 long arg5 = (long) wxTextEntryDialogStyle ;
18260 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18261 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18262 wxTextEntryDialog *result = 0 ;
18263 void *argp1 = 0 ;
18264 int res1 = 0 ;
18265 bool temp2 = false ;
18266 bool temp3 = false ;
18267 bool temp4 = false ;
18268 long val5 ;
18269 int ecode5 = 0 ;
18270 wxPoint temp6 ;
18271 PyObject * obj0 = 0 ;
18272 PyObject * obj1 = 0 ;
18273 PyObject * obj2 = 0 ;
18274 PyObject * obj3 = 0 ;
18275 PyObject * obj4 = 0 ;
18276 PyObject * obj5 = 0 ;
18277 char * kwnames[] = {
18278 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18279 };
18280
18281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18283 if (!SWIG_IsOK(res1)) {
18284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18285 }
18286 arg1 = reinterpret_cast< wxWindow * >(argp1);
18287 {
18288 arg2 = wxString_in_helper(obj1);
18289 if (arg2 == NULL) SWIG_fail;
18290 temp2 = true;
18291 }
18292 if (obj2) {
18293 {
18294 arg3 = wxString_in_helper(obj2);
18295 if (arg3 == NULL) SWIG_fail;
18296 temp3 = true;
18297 }
18298 }
18299 if (obj3) {
18300 {
18301 arg4 = wxString_in_helper(obj3);
18302 if (arg4 == NULL) SWIG_fail;
18303 temp4 = true;
18304 }
18305 }
18306 if (obj4) {
18307 ecode5 = SWIG_AsVal_long(obj4, &val5);
18308 if (!SWIG_IsOK(ecode5)) {
18309 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18310 }
18311 arg5 = static_cast< long >(val5);
18312 }
18313 if (obj5) {
18314 {
18315 arg6 = &temp6;
18316 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18317 }
18318 }
18319 {
18320 if (!wxPyCheckForApp()) SWIG_fail;
18321 PyThreadState* __tstate = wxPyBeginAllowThreads();
18322 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18323 wxPyEndAllowThreads(__tstate);
18324 if (PyErr_Occurred()) SWIG_fail;
18325 }
18326 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18327 {
18328 if (temp2)
18329 delete arg2;
18330 }
18331 {
18332 if (temp3)
18333 delete arg3;
18334 }
18335 {
18336 if (temp4)
18337 delete arg4;
18338 }
18339 return resultobj;
18340 fail:
18341 {
18342 if (temp2)
18343 delete arg2;
18344 }
18345 {
18346 if (temp3)
18347 delete arg3;
18348 }
18349 {
18350 if (temp4)
18351 delete arg4;
18352 }
18353 return NULL;
18354 }
18355
18356
18357 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18358 PyObject *resultobj = 0;
18359 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18360 wxString result;
18361 void *argp1 = 0 ;
18362 int res1 = 0 ;
18363 PyObject *swig_obj[1] ;
18364
18365 if (!args) SWIG_fail;
18366 swig_obj[0] = args;
18367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18368 if (!SWIG_IsOK(res1)) {
18369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18370 }
18371 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18372 {
18373 PyThreadState* __tstate = wxPyBeginAllowThreads();
18374 result = (arg1)->GetValue();
18375 wxPyEndAllowThreads(__tstate);
18376 if (PyErr_Occurred()) SWIG_fail;
18377 }
18378 {
18379 #if wxUSE_UNICODE
18380 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18381 #else
18382 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18383 #endif
18384 }
18385 return resultobj;
18386 fail:
18387 return NULL;
18388 }
18389
18390
18391 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18392 PyObject *resultobj = 0;
18393 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18394 wxString *arg2 = 0 ;
18395 void *argp1 = 0 ;
18396 int res1 = 0 ;
18397 bool temp2 = false ;
18398 PyObject * obj0 = 0 ;
18399 PyObject * obj1 = 0 ;
18400 char * kwnames[] = {
18401 (char *) "self",(char *) "value", NULL
18402 };
18403
18404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18406 if (!SWIG_IsOK(res1)) {
18407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18408 }
18409 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18410 {
18411 arg2 = wxString_in_helper(obj1);
18412 if (arg2 == NULL) SWIG_fail;
18413 temp2 = true;
18414 }
18415 {
18416 PyThreadState* __tstate = wxPyBeginAllowThreads();
18417 (arg1)->SetValue((wxString const &)*arg2);
18418 wxPyEndAllowThreads(__tstate);
18419 if (PyErr_Occurred()) SWIG_fail;
18420 }
18421 resultobj = SWIG_Py_Void();
18422 {
18423 if (temp2)
18424 delete arg2;
18425 }
18426 return resultobj;
18427 fail:
18428 {
18429 if (temp2)
18430 delete arg2;
18431 }
18432 return NULL;
18433 }
18434
18435
18436 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18437 PyObject *obj;
18438 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18439 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18440 return SWIG_Py_Void();
18441 }
18442
18443 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18444 return SWIG_Python_InitShadowInstance(args);
18445 }
18446
18447 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18448 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18449 return 1;
18450 }
18451
18452
18453 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18454 PyObject *pyobj = 0;
18455
18456 {
18457 #if wxUSE_UNICODE
18458 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18459 #else
18460 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18461 #endif
18462 }
18463 return pyobj;
18464 }
18465
18466
18467 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18468 PyObject *resultobj = 0;
18469 wxWindow *arg1 = (wxWindow *) 0 ;
18470 wxString *arg2 = 0 ;
18471 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18472 wxString *arg3 = (wxString *) &arg3_defvalue ;
18473 wxString const &arg4_defvalue = wxPyEmptyString ;
18474 wxString *arg4 = (wxString *) &arg4_defvalue ;
18475 long arg5 = (long) wxTextEntryDialogStyle ;
18476 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18477 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18478 wxPasswordEntryDialog *result = 0 ;
18479 void *argp1 = 0 ;
18480 int res1 = 0 ;
18481 bool temp2 = false ;
18482 bool temp3 = false ;
18483 bool temp4 = false ;
18484 long val5 ;
18485 int ecode5 = 0 ;
18486 wxPoint temp6 ;
18487 PyObject * obj0 = 0 ;
18488 PyObject * obj1 = 0 ;
18489 PyObject * obj2 = 0 ;
18490 PyObject * obj3 = 0 ;
18491 PyObject * obj4 = 0 ;
18492 PyObject * obj5 = 0 ;
18493 char * kwnames[] = {
18494 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18495 };
18496
18497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18499 if (!SWIG_IsOK(res1)) {
18500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18501 }
18502 arg1 = reinterpret_cast< wxWindow * >(argp1);
18503 {
18504 arg2 = wxString_in_helper(obj1);
18505 if (arg2 == NULL) SWIG_fail;
18506 temp2 = true;
18507 }
18508 if (obj2) {
18509 {
18510 arg3 = wxString_in_helper(obj2);
18511 if (arg3 == NULL) SWIG_fail;
18512 temp3 = true;
18513 }
18514 }
18515 if (obj3) {
18516 {
18517 arg4 = wxString_in_helper(obj3);
18518 if (arg4 == NULL) SWIG_fail;
18519 temp4 = true;
18520 }
18521 }
18522 if (obj4) {
18523 ecode5 = SWIG_AsVal_long(obj4, &val5);
18524 if (!SWIG_IsOK(ecode5)) {
18525 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18526 }
18527 arg5 = static_cast< long >(val5);
18528 }
18529 if (obj5) {
18530 {
18531 arg6 = &temp6;
18532 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18533 }
18534 }
18535 {
18536 PyThreadState* __tstate = wxPyBeginAllowThreads();
18537 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18538 wxPyEndAllowThreads(__tstate);
18539 if (PyErr_Occurred()) SWIG_fail;
18540 }
18541 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18542 {
18543 if (temp2)
18544 delete arg2;
18545 }
18546 {
18547 if (temp3)
18548 delete arg3;
18549 }
18550 {
18551 if (temp4)
18552 delete arg4;
18553 }
18554 return resultobj;
18555 fail:
18556 {
18557 if (temp2)
18558 delete arg2;
18559 }
18560 {
18561 if (temp3)
18562 delete arg3;
18563 }
18564 {
18565 if (temp4)
18566 delete arg4;
18567 }
18568 return NULL;
18569 }
18570
18571
18572 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18573 PyObject *obj;
18574 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18575 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18576 return SWIG_Py_Void();
18577 }
18578
18579 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18580 return SWIG_Python_InitShadowInstance(args);
18581 }
18582
18583 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18584 PyObject *resultobj = 0;
18585 wxWindow *arg1 = (wxWindow *) 0 ;
18586 wxString *arg2 = 0 ;
18587 wxString *arg3 = 0 ;
18588 wxString *arg4 = 0 ;
18589 long arg5 ;
18590 long arg6 ;
18591 long arg7 ;
18592 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18593 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18594 wxNumberEntryDialog *result = 0 ;
18595 void *argp1 = 0 ;
18596 int res1 = 0 ;
18597 bool temp2 = false ;
18598 bool temp3 = false ;
18599 bool temp4 = false ;
18600 long val5 ;
18601 int ecode5 = 0 ;
18602 long val6 ;
18603 int ecode6 = 0 ;
18604 long val7 ;
18605 int ecode7 = 0 ;
18606 wxPoint temp8 ;
18607 PyObject * obj0 = 0 ;
18608 PyObject * obj1 = 0 ;
18609 PyObject * obj2 = 0 ;
18610 PyObject * obj3 = 0 ;
18611 PyObject * obj4 = 0 ;
18612 PyObject * obj5 = 0 ;
18613 PyObject * obj6 = 0 ;
18614 PyObject * obj7 = 0 ;
18615 char * kwnames[] = {
18616 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18617 };
18618
18619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18621 if (!SWIG_IsOK(res1)) {
18622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18623 }
18624 arg1 = reinterpret_cast< wxWindow * >(argp1);
18625 {
18626 arg2 = wxString_in_helper(obj1);
18627 if (arg2 == NULL) SWIG_fail;
18628 temp2 = true;
18629 }
18630 {
18631 arg3 = wxString_in_helper(obj2);
18632 if (arg3 == NULL) SWIG_fail;
18633 temp3 = true;
18634 }
18635 {
18636 arg4 = wxString_in_helper(obj3);
18637 if (arg4 == NULL) SWIG_fail;
18638 temp4 = true;
18639 }
18640 ecode5 = SWIG_AsVal_long(obj4, &val5);
18641 if (!SWIG_IsOK(ecode5)) {
18642 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18643 }
18644 arg5 = static_cast< long >(val5);
18645 ecode6 = SWIG_AsVal_long(obj5, &val6);
18646 if (!SWIG_IsOK(ecode6)) {
18647 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18648 }
18649 arg6 = static_cast< long >(val6);
18650 ecode7 = SWIG_AsVal_long(obj6, &val7);
18651 if (!SWIG_IsOK(ecode7)) {
18652 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18653 }
18654 arg7 = static_cast< long >(val7);
18655 if (obj7) {
18656 {
18657 arg8 = &temp8;
18658 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18659 }
18660 }
18661 {
18662 if (!wxPyCheckForApp()) SWIG_fail;
18663 PyThreadState* __tstate = wxPyBeginAllowThreads();
18664 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18665 wxPyEndAllowThreads(__tstate);
18666 if (PyErr_Occurred()) SWIG_fail;
18667 }
18668 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18669 {
18670 if (temp2)
18671 delete arg2;
18672 }
18673 {
18674 if (temp3)
18675 delete arg3;
18676 }
18677 {
18678 if (temp4)
18679 delete arg4;
18680 }
18681 return resultobj;
18682 fail:
18683 {
18684 if (temp2)
18685 delete arg2;
18686 }
18687 {
18688 if (temp3)
18689 delete arg3;
18690 }
18691 {
18692 if (temp4)
18693 delete arg4;
18694 }
18695 return NULL;
18696 }
18697
18698
18699 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18700 PyObject *resultobj = 0;
18701 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18702 long result;
18703 void *argp1 = 0 ;
18704 int res1 = 0 ;
18705 PyObject *swig_obj[1] ;
18706
18707 if (!args) SWIG_fail;
18708 swig_obj[0] = args;
18709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18710 if (!SWIG_IsOK(res1)) {
18711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18712 }
18713 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18714 {
18715 PyThreadState* __tstate = wxPyBeginAllowThreads();
18716 result = (long)(arg1)->GetValue();
18717 wxPyEndAllowThreads(__tstate);
18718 if (PyErr_Occurred()) SWIG_fail;
18719 }
18720 resultobj = SWIG_From_long(static_cast< long >(result));
18721 return resultobj;
18722 fail:
18723 return NULL;
18724 }
18725
18726
18727 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18728 PyObject *obj;
18729 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18730 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18731 return SWIG_Py_Void();
18732 }
18733
18734 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18735 return SWIG_Python_InitShadowInstance(args);
18736 }
18737
18738 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18739 PyObject *resultobj = 0;
18740 wxFontData *result = 0 ;
18741
18742 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18743 {
18744 PyThreadState* __tstate = wxPyBeginAllowThreads();
18745 result = (wxFontData *)new wxFontData();
18746 wxPyEndAllowThreads(__tstate);
18747 if (PyErr_Occurred()) SWIG_fail;
18748 }
18749 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18750 return resultobj;
18751 fail:
18752 return NULL;
18753 }
18754
18755
18756 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18757 PyObject *resultobj = 0;
18758 wxFontData *arg1 = (wxFontData *) 0 ;
18759 void *argp1 = 0 ;
18760 int res1 = 0 ;
18761 PyObject *swig_obj[1] ;
18762
18763 if (!args) SWIG_fail;
18764 swig_obj[0] = args;
18765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18766 if (!SWIG_IsOK(res1)) {
18767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18768 }
18769 arg1 = reinterpret_cast< wxFontData * >(argp1);
18770 {
18771 PyThreadState* __tstate = wxPyBeginAllowThreads();
18772 delete arg1;
18773
18774 wxPyEndAllowThreads(__tstate);
18775 if (PyErr_Occurred()) SWIG_fail;
18776 }
18777 resultobj = SWIG_Py_Void();
18778 return resultobj;
18779 fail:
18780 return NULL;
18781 }
18782
18783
18784 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18785 PyObject *resultobj = 0;
18786 wxFontData *arg1 = (wxFontData *) 0 ;
18787 bool arg2 ;
18788 void *argp1 = 0 ;
18789 int res1 = 0 ;
18790 bool val2 ;
18791 int ecode2 = 0 ;
18792 PyObject * obj0 = 0 ;
18793 PyObject * obj1 = 0 ;
18794 char * kwnames[] = {
18795 (char *) "self",(char *) "enable", NULL
18796 };
18797
18798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18800 if (!SWIG_IsOK(res1)) {
18801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18802 }
18803 arg1 = reinterpret_cast< wxFontData * >(argp1);
18804 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18805 if (!SWIG_IsOK(ecode2)) {
18806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18807 }
18808 arg2 = static_cast< bool >(val2);
18809 {
18810 PyThreadState* __tstate = wxPyBeginAllowThreads();
18811 (arg1)->EnableEffects(arg2);
18812 wxPyEndAllowThreads(__tstate);
18813 if (PyErr_Occurred()) SWIG_fail;
18814 }
18815 resultobj = SWIG_Py_Void();
18816 return resultobj;
18817 fail:
18818 return NULL;
18819 }
18820
18821
18822 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18823 PyObject *resultobj = 0;
18824 wxFontData *arg1 = (wxFontData *) 0 ;
18825 bool result;
18826 void *argp1 = 0 ;
18827 int res1 = 0 ;
18828 PyObject *swig_obj[1] ;
18829
18830 if (!args) SWIG_fail;
18831 swig_obj[0] = args;
18832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18833 if (!SWIG_IsOK(res1)) {
18834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18835 }
18836 arg1 = reinterpret_cast< wxFontData * >(argp1);
18837 {
18838 PyThreadState* __tstate = wxPyBeginAllowThreads();
18839 result = (bool)(arg1)->GetAllowSymbols();
18840 wxPyEndAllowThreads(__tstate);
18841 if (PyErr_Occurred()) SWIG_fail;
18842 }
18843 {
18844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18845 }
18846 return resultobj;
18847 fail:
18848 return NULL;
18849 }
18850
18851
18852 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18853 PyObject *resultobj = 0;
18854 wxFontData *arg1 = (wxFontData *) 0 ;
18855 wxColour result;
18856 void *argp1 = 0 ;
18857 int res1 = 0 ;
18858 PyObject *swig_obj[1] ;
18859
18860 if (!args) SWIG_fail;
18861 swig_obj[0] = args;
18862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18863 if (!SWIG_IsOK(res1)) {
18864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18865 }
18866 arg1 = reinterpret_cast< wxFontData * >(argp1);
18867 {
18868 PyThreadState* __tstate = wxPyBeginAllowThreads();
18869 result = (arg1)->GetColour();
18870 wxPyEndAllowThreads(__tstate);
18871 if (PyErr_Occurred()) SWIG_fail;
18872 }
18873 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18874 return resultobj;
18875 fail:
18876 return NULL;
18877 }
18878
18879
18880 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18881 PyObject *resultobj = 0;
18882 wxFontData *arg1 = (wxFontData *) 0 ;
18883 wxFont result;
18884 void *argp1 = 0 ;
18885 int res1 = 0 ;
18886 PyObject *swig_obj[1] ;
18887
18888 if (!args) SWIG_fail;
18889 swig_obj[0] = args;
18890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18891 if (!SWIG_IsOK(res1)) {
18892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18893 }
18894 arg1 = reinterpret_cast< wxFontData * >(argp1);
18895 {
18896 PyThreadState* __tstate = wxPyBeginAllowThreads();
18897 result = (arg1)->GetChosenFont();
18898 wxPyEndAllowThreads(__tstate);
18899 if (PyErr_Occurred()) SWIG_fail;
18900 }
18901 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18902 return resultobj;
18903 fail:
18904 return NULL;
18905 }
18906
18907
18908 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18909 PyObject *resultobj = 0;
18910 wxFontData *arg1 = (wxFontData *) 0 ;
18911 bool result;
18912 void *argp1 = 0 ;
18913 int res1 = 0 ;
18914 PyObject *swig_obj[1] ;
18915
18916 if (!args) SWIG_fail;
18917 swig_obj[0] = args;
18918 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18919 if (!SWIG_IsOK(res1)) {
18920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18921 }
18922 arg1 = reinterpret_cast< wxFontData * >(argp1);
18923 {
18924 PyThreadState* __tstate = wxPyBeginAllowThreads();
18925 result = (bool)(arg1)->GetEnableEffects();
18926 wxPyEndAllowThreads(__tstate);
18927 if (PyErr_Occurred()) SWIG_fail;
18928 }
18929 {
18930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18931 }
18932 return resultobj;
18933 fail:
18934 return NULL;
18935 }
18936
18937
18938 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18939 PyObject *resultobj = 0;
18940 wxFontData *arg1 = (wxFontData *) 0 ;
18941 wxFont result;
18942 void *argp1 = 0 ;
18943 int res1 = 0 ;
18944 PyObject *swig_obj[1] ;
18945
18946 if (!args) SWIG_fail;
18947 swig_obj[0] = args;
18948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18949 if (!SWIG_IsOK(res1)) {
18950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18951 }
18952 arg1 = reinterpret_cast< wxFontData * >(argp1);
18953 {
18954 PyThreadState* __tstate = wxPyBeginAllowThreads();
18955 result = (arg1)->GetInitialFont();
18956 wxPyEndAllowThreads(__tstate);
18957 if (PyErr_Occurred()) SWIG_fail;
18958 }
18959 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18960 return resultobj;
18961 fail:
18962 return NULL;
18963 }
18964
18965
18966 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18967 PyObject *resultobj = 0;
18968 wxFontData *arg1 = (wxFontData *) 0 ;
18969 bool result;
18970 void *argp1 = 0 ;
18971 int res1 = 0 ;
18972 PyObject *swig_obj[1] ;
18973
18974 if (!args) SWIG_fail;
18975 swig_obj[0] = args;
18976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18977 if (!SWIG_IsOK(res1)) {
18978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18979 }
18980 arg1 = reinterpret_cast< wxFontData * >(argp1);
18981 {
18982 PyThreadState* __tstate = wxPyBeginAllowThreads();
18983 result = (bool)(arg1)->GetShowHelp();
18984 wxPyEndAllowThreads(__tstate);
18985 if (PyErr_Occurred()) SWIG_fail;
18986 }
18987 {
18988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18989 }
18990 return resultobj;
18991 fail:
18992 return NULL;
18993 }
18994
18995
18996 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18997 PyObject *resultobj = 0;
18998 wxFontData *arg1 = (wxFontData *) 0 ;
18999 bool arg2 ;
19000 void *argp1 = 0 ;
19001 int res1 = 0 ;
19002 bool val2 ;
19003 int ecode2 = 0 ;
19004 PyObject * obj0 = 0 ;
19005 PyObject * obj1 = 0 ;
19006 char * kwnames[] = {
19007 (char *) "self",(char *) "allowSymbols", NULL
19008 };
19009
19010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
19011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19012 if (!SWIG_IsOK(res1)) {
19013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19014 }
19015 arg1 = reinterpret_cast< wxFontData * >(argp1);
19016 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19017 if (!SWIG_IsOK(ecode2)) {
19018 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19019 }
19020 arg2 = static_cast< bool >(val2);
19021 {
19022 PyThreadState* __tstate = wxPyBeginAllowThreads();
19023 (arg1)->SetAllowSymbols(arg2);
19024 wxPyEndAllowThreads(__tstate);
19025 if (PyErr_Occurred()) SWIG_fail;
19026 }
19027 resultobj = SWIG_Py_Void();
19028 return resultobj;
19029 fail:
19030 return NULL;
19031 }
19032
19033
19034 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19035 PyObject *resultobj = 0;
19036 wxFontData *arg1 = (wxFontData *) 0 ;
19037 wxFont *arg2 = 0 ;
19038 void *argp1 = 0 ;
19039 int res1 = 0 ;
19040 void *argp2 = 0 ;
19041 int res2 = 0 ;
19042 PyObject * obj0 = 0 ;
19043 PyObject * obj1 = 0 ;
19044 char * kwnames[] = {
19045 (char *) "self",(char *) "font", NULL
19046 };
19047
19048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
19049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19050 if (!SWIG_IsOK(res1)) {
19051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19052 }
19053 arg1 = reinterpret_cast< wxFontData * >(argp1);
19054 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19055 if (!SWIG_IsOK(res2)) {
19056 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19057 }
19058 if (!argp2) {
19059 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19060 }
19061 arg2 = reinterpret_cast< wxFont * >(argp2);
19062 {
19063 PyThreadState* __tstate = wxPyBeginAllowThreads();
19064 (arg1)->SetChosenFont((wxFont const &)*arg2);
19065 wxPyEndAllowThreads(__tstate);
19066 if (PyErr_Occurred()) SWIG_fail;
19067 }
19068 resultobj = SWIG_Py_Void();
19069 return resultobj;
19070 fail:
19071 return NULL;
19072 }
19073
19074
19075 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19076 PyObject *resultobj = 0;
19077 wxFontData *arg1 = (wxFontData *) 0 ;
19078 wxColour *arg2 = 0 ;
19079 void *argp1 = 0 ;
19080 int res1 = 0 ;
19081 wxColour temp2 ;
19082 PyObject * obj0 = 0 ;
19083 PyObject * obj1 = 0 ;
19084 char * kwnames[] = {
19085 (char *) "self",(char *) "colour", NULL
19086 };
19087
19088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19090 if (!SWIG_IsOK(res1)) {
19091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19092 }
19093 arg1 = reinterpret_cast< wxFontData * >(argp1);
19094 {
19095 arg2 = &temp2;
19096 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19097 }
19098 {
19099 PyThreadState* __tstate = wxPyBeginAllowThreads();
19100 (arg1)->SetColour((wxColour const &)*arg2);
19101 wxPyEndAllowThreads(__tstate);
19102 if (PyErr_Occurred()) SWIG_fail;
19103 }
19104 resultobj = SWIG_Py_Void();
19105 return resultobj;
19106 fail:
19107 return NULL;
19108 }
19109
19110
19111 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19112 PyObject *resultobj = 0;
19113 wxFontData *arg1 = (wxFontData *) 0 ;
19114 wxFont *arg2 = 0 ;
19115 void *argp1 = 0 ;
19116 int res1 = 0 ;
19117 void *argp2 = 0 ;
19118 int res2 = 0 ;
19119 PyObject * obj0 = 0 ;
19120 PyObject * obj1 = 0 ;
19121 char * kwnames[] = {
19122 (char *) "self",(char *) "font", NULL
19123 };
19124
19125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19127 if (!SWIG_IsOK(res1)) {
19128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19129 }
19130 arg1 = reinterpret_cast< wxFontData * >(argp1);
19131 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19132 if (!SWIG_IsOK(res2)) {
19133 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19134 }
19135 if (!argp2) {
19136 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19137 }
19138 arg2 = reinterpret_cast< wxFont * >(argp2);
19139 {
19140 PyThreadState* __tstate = wxPyBeginAllowThreads();
19141 (arg1)->SetInitialFont((wxFont const &)*arg2);
19142 wxPyEndAllowThreads(__tstate);
19143 if (PyErr_Occurred()) SWIG_fail;
19144 }
19145 resultobj = SWIG_Py_Void();
19146 return resultobj;
19147 fail:
19148 return NULL;
19149 }
19150
19151
19152 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19153 PyObject *resultobj = 0;
19154 wxFontData *arg1 = (wxFontData *) 0 ;
19155 int arg2 ;
19156 int arg3 ;
19157 void *argp1 = 0 ;
19158 int res1 = 0 ;
19159 int val2 ;
19160 int ecode2 = 0 ;
19161 int val3 ;
19162 int ecode3 = 0 ;
19163 PyObject * obj0 = 0 ;
19164 PyObject * obj1 = 0 ;
19165 PyObject * obj2 = 0 ;
19166 char * kwnames[] = {
19167 (char *) "self",(char *) "min",(char *) "max", NULL
19168 };
19169
19170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19172 if (!SWIG_IsOK(res1)) {
19173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19174 }
19175 arg1 = reinterpret_cast< wxFontData * >(argp1);
19176 ecode2 = SWIG_AsVal_int(obj1, &val2);
19177 if (!SWIG_IsOK(ecode2)) {
19178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19179 }
19180 arg2 = static_cast< int >(val2);
19181 ecode3 = SWIG_AsVal_int(obj2, &val3);
19182 if (!SWIG_IsOK(ecode3)) {
19183 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19184 }
19185 arg3 = static_cast< int >(val3);
19186 {
19187 PyThreadState* __tstate = wxPyBeginAllowThreads();
19188 (arg1)->SetRange(arg2,arg3);
19189 wxPyEndAllowThreads(__tstate);
19190 if (PyErr_Occurred()) SWIG_fail;
19191 }
19192 resultobj = SWIG_Py_Void();
19193 return resultobj;
19194 fail:
19195 return NULL;
19196 }
19197
19198
19199 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19200 PyObject *resultobj = 0;
19201 wxFontData *arg1 = (wxFontData *) 0 ;
19202 bool arg2 ;
19203 void *argp1 = 0 ;
19204 int res1 = 0 ;
19205 bool val2 ;
19206 int ecode2 = 0 ;
19207 PyObject * obj0 = 0 ;
19208 PyObject * obj1 = 0 ;
19209 char * kwnames[] = {
19210 (char *) "self",(char *) "showHelp", NULL
19211 };
19212
19213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19214 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19215 if (!SWIG_IsOK(res1)) {
19216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19217 }
19218 arg1 = reinterpret_cast< wxFontData * >(argp1);
19219 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19220 if (!SWIG_IsOK(ecode2)) {
19221 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19222 }
19223 arg2 = static_cast< bool >(val2);
19224 {
19225 PyThreadState* __tstate = wxPyBeginAllowThreads();
19226 (arg1)->SetShowHelp(arg2);
19227 wxPyEndAllowThreads(__tstate);
19228 if (PyErr_Occurred()) SWIG_fail;
19229 }
19230 resultobj = SWIG_Py_Void();
19231 return resultobj;
19232 fail:
19233 return NULL;
19234 }
19235
19236
19237 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19238 PyObject *obj;
19239 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19240 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19241 return SWIG_Py_Void();
19242 }
19243
19244 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19245 return SWIG_Python_InitShadowInstance(args);
19246 }
19247
19248 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19249 PyObject *resultobj = 0;
19250 wxWindow *arg1 = (wxWindow *) 0 ;
19251 wxFontData *arg2 = 0 ;
19252 wxFontDialog *result = 0 ;
19253 void *argp1 = 0 ;
19254 int res1 = 0 ;
19255 void *argp2 = 0 ;
19256 int res2 = 0 ;
19257 PyObject * obj0 = 0 ;
19258 PyObject * obj1 = 0 ;
19259 char * kwnames[] = {
19260 (char *) "parent",(char *) "data", NULL
19261 };
19262
19263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19265 if (!SWIG_IsOK(res1)) {
19266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19267 }
19268 arg1 = reinterpret_cast< wxWindow * >(argp1);
19269 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19270 if (!SWIG_IsOK(res2)) {
19271 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19272 }
19273 if (!argp2) {
19274 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19275 }
19276 arg2 = reinterpret_cast< wxFontData * >(argp2);
19277 {
19278 if (!wxPyCheckForApp()) SWIG_fail;
19279 PyThreadState* __tstate = wxPyBeginAllowThreads();
19280 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19281 wxPyEndAllowThreads(__tstate);
19282 if (PyErr_Occurred()) SWIG_fail;
19283 }
19284 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19285 return resultobj;
19286 fail:
19287 return NULL;
19288 }
19289
19290
19291 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19292 PyObject *resultobj = 0;
19293 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19294 wxFontData *result = 0 ;
19295 void *argp1 = 0 ;
19296 int res1 = 0 ;
19297 PyObject *swig_obj[1] ;
19298
19299 if (!args) SWIG_fail;
19300 swig_obj[0] = args;
19301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19302 if (!SWIG_IsOK(res1)) {
19303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19304 }
19305 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19306 {
19307 PyThreadState* __tstate = wxPyBeginAllowThreads();
19308 {
19309 wxFontData &_result_ref = (arg1)->GetFontData();
19310 result = (wxFontData *) &_result_ref;
19311 }
19312 wxPyEndAllowThreads(__tstate);
19313 if (PyErr_Occurred()) SWIG_fail;
19314 }
19315 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19316 return resultobj;
19317 fail:
19318 return NULL;
19319 }
19320
19321
19322 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19323 PyObject *obj;
19324 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19325 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19326 return SWIG_Py_Void();
19327 }
19328
19329 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19330 return SWIG_Python_InitShadowInstance(args);
19331 }
19332
19333 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19334 PyObject *resultobj = 0;
19335 wxWindow *arg1 = (wxWindow *) NULL ;
19336 wxFont const &arg2_defvalue = wxNullFont ;
19337 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19338 wxString const &arg3_defvalue = wxPyEmptyString ;
19339 wxString *arg3 = (wxString *) &arg3_defvalue ;
19340 wxFont result;
19341 void *argp1 = 0 ;
19342 int res1 = 0 ;
19343 void *argp2 = 0 ;
19344 int res2 = 0 ;
19345 bool temp3 = false ;
19346 PyObject * obj0 = 0 ;
19347 PyObject * obj1 = 0 ;
19348 PyObject * obj2 = 0 ;
19349 char * kwnames[] = {
19350 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19351 };
19352
19353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19354 if (obj0) {
19355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19356 if (!SWIG_IsOK(res1)) {
19357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19358 }
19359 arg1 = reinterpret_cast< wxWindow * >(argp1);
19360 }
19361 if (obj1) {
19362 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19363 if (!SWIG_IsOK(res2)) {
19364 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19365 }
19366 if (!argp2) {
19367 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19368 }
19369 arg2 = reinterpret_cast< wxFont * >(argp2);
19370 }
19371 if (obj2) {
19372 {
19373 arg3 = wxString_in_helper(obj2);
19374 if (arg3 == NULL) SWIG_fail;
19375 temp3 = true;
19376 }
19377 }
19378 {
19379 PyThreadState* __tstate = wxPyBeginAllowThreads();
19380 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19381 wxPyEndAllowThreads(__tstate);
19382 if (PyErr_Occurred()) SWIG_fail;
19383 }
19384 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19385 {
19386 if (temp3)
19387 delete arg3;
19388 }
19389 return resultobj;
19390 fail:
19391 {
19392 if (temp3)
19393 delete arg3;
19394 }
19395 return NULL;
19396 }
19397
19398
19399 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19400 PyObject *resultobj = 0;
19401 wxWindow *arg1 = (wxWindow *) 0 ;
19402 wxString *arg2 = 0 ;
19403 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19404 wxString *arg3 = (wxString *) &arg3_defvalue ;
19405 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19406 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19407 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19408 wxMessageDialog *result = 0 ;
19409 void *argp1 = 0 ;
19410 int res1 = 0 ;
19411 bool temp2 = false ;
19412 bool temp3 = false ;
19413 long val4 ;
19414 int ecode4 = 0 ;
19415 wxPoint temp5 ;
19416 PyObject * obj0 = 0 ;
19417 PyObject * obj1 = 0 ;
19418 PyObject * obj2 = 0 ;
19419 PyObject * obj3 = 0 ;
19420 PyObject * obj4 = 0 ;
19421 char * kwnames[] = {
19422 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19423 };
19424
19425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19427 if (!SWIG_IsOK(res1)) {
19428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19429 }
19430 arg1 = reinterpret_cast< wxWindow * >(argp1);
19431 {
19432 arg2 = wxString_in_helper(obj1);
19433 if (arg2 == NULL) SWIG_fail;
19434 temp2 = true;
19435 }
19436 if (obj2) {
19437 {
19438 arg3 = wxString_in_helper(obj2);
19439 if (arg3 == NULL) SWIG_fail;
19440 temp3 = true;
19441 }
19442 }
19443 if (obj3) {
19444 ecode4 = SWIG_AsVal_long(obj3, &val4);
19445 if (!SWIG_IsOK(ecode4)) {
19446 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19447 }
19448 arg4 = static_cast< long >(val4);
19449 }
19450 if (obj4) {
19451 {
19452 arg5 = &temp5;
19453 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19454 }
19455 }
19456 {
19457 if (!wxPyCheckForApp()) SWIG_fail;
19458 PyThreadState* __tstate = wxPyBeginAllowThreads();
19459 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19460 wxPyEndAllowThreads(__tstate);
19461 if (PyErr_Occurred()) SWIG_fail;
19462 }
19463 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19464 {
19465 if (temp2)
19466 delete arg2;
19467 }
19468 {
19469 if (temp3)
19470 delete arg3;
19471 }
19472 return resultobj;
19473 fail:
19474 {
19475 if (temp2)
19476 delete arg2;
19477 }
19478 {
19479 if (temp3)
19480 delete arg3;
19481 }
19482 return NULL;
19483 }
19484
19485
19486 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19487 PyObject *obj;
19488 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19489 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19490 return SWIG_Py_Void();
19491 }
19492
19493 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19494 return SWIG_Python_InitShadowInstance(args);
19495 }
19496
19497 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19498 PyObject *resultobj = 0;
19499 wxString *arg1 = 0 ;
19500 wxString *arg2 = 0 ;
19501 int arg3 = (int) 100 ;
19502 wxWindow *arg4 = (wxWindow *) NULL ;
19503 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19504 wxProgressDialog *result = 0 ;
19505 bool temp1 = false ;
19506 bool temp2 = false ;
19507 int val3 ;
19508 int ecode3 = 0 ;
19509 void *argp4 = 0 ;
19510 int res4 = 0 ;
19511 int val5 ;
19512 int ecode5 = 0 ;
19513 PyObject * obj0 = 0 ;
19514 PyObject * obj1 = 0 ;
19515 PyObject * obj2 = 0 ;
19516 PyObject * obj3 = 0 ;
19517 PyObject * obj4 = 0 ;
19518 char * kwnames[] = {
19519 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19520 };
19521
19522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19523 {
19524 arg1 = wxString_in_helper(obj0);
19525 if (arg1 == NULL) SWIG_fail;
19526 temp1 = true;
19527 }
19528 {
19529 arg2 = wxString_in_helper(obj1);
19530 if (arg2 == NULL) SWIG_fail;
19531 temp2 = true;
19532 }
19533 if (obj2) {
19534 ecode3 = SWIG_AsVal_int(obj2, &val3);
19535 if (!SWIG_IsOK(ecode3)) {
19536 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19537 }
19538 arg3 = static_cast< int >(val3);
19539 }
19540 if (obj3) {
19541 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19542 if (!SWIG_IsOK(res4)) {
19543 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19544 }
19545 arg4 = reinterpret_cast< wxWindow * >(argp4);
19546 }
19547 if (obj4) {
19548 ecode5 = SWIG_AsVal_int(obj4, &val5);
19549 if (!SWIG_IsOK(ecode5)) {
19550 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19551 }
19552 arg5 = static_cast< int >(val5);
19553 }
19554 {
19555 if (!wxPyCheckForApp()) SWIG_fail;
19556 PyThreadState* __tstate = wxPyBeginAllowThreads();
19557 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19558 wxPyEndAllowThreads(__tstate);
19559 if (PyErr_Occurred()) SWIG_fail;
19560 }
19561 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19562 {
19563 if (temp1)
19564 delete arg1;
19565 }
19566 {
19567 if (temp2)
19568 delete arg2;
19569 }
19570 return resultobj;
19571 fail:
19572 {
19573 if (temp1)
19574 delete arg1;
19575 }
19576 {
19577 if (temp2)
19578 delete arg2;
19579 }
19580 return NULL;
19581 }
19582
19583
19584 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19585 PyObject *resultobj = 0;
19586 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19587 int arg2 ;
19588 wxString const &arg3_defvalue = wxPyEmptyString ;
19589 wxString *arg3 = (wxString *) &arg3_defvalue ;
19590 bool *arg4 = (bool *) 0 ;
19591 bool result;
19592 void *argp1 = 0 ;
19593 int res1 = 0 ;
19594 int val2 ;
19595 int ecode2 = 0 ;
19596 bool temp3 = false ;
19597 bool temp4 ;
19598 int res4 = SWIG_TMPOBJ ;
19599 PyObject * obj0 = 0 ;
19600 PyObject * obj1 = 0 ;
19601 PyObject * obj2 = 0 ;
19602 char * kwnames[] = {
19603 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19604 };
19605
19606 arg4 = &temp4;
19607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19609 if (!SWIG_IsOK(res1)) {
19610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19611 }
19612 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19613 ecode2 = SWIG_AsVal_int(obj1, &val2);
19614 if (!SWIG_IsOK(ecode2)) {
19615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19616 }
19617 arg2 = static_cast< int >(val2);
19618 if (obj2) {
19619 {
19620 arg3 = wxString_in_helper(obj2);
19621 if (arg3 == NULL) SWIG_fail;
19622 temp3 = true;
19623 }
19624 }
19625 {
19626 PyThreadState* __tstate = wxPyBeginAllowThreads();
19627 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19628 wxPyEndAllowThreads(__tstate);
19629 if (PyErr_Occurred()) SWIG_fail;
19630 }
19631 {
19632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19633 }
19634 if (SWIG_IsTmpObj(res4)) {
19635 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19636 } else {
19637 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19638 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19639 }
19640 {
19641 if (temp3)
19642 delete arg3;
19643 }
19644 return resultobj;
19645 fail:
19646 {
19647 if (temp3)
19648 delete arg3;
19649 }
19650 return NULL;
19651 }
19652
19653
19654 SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19655 PyObject *resultobj = 0;
19656 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19657 wxString const &arg2_defvalue = wxPyEmptyString ;
19658 wxString *arg2 = (wxString *) &arg2_defvalue ;
19659 bool *arg3 = (bool *) 0 ;
19660 bool result;
19661 void *argp1 = 0 ;
19662 int res1 = 0 ;
19663 bool temp2 = false ;
19664 bool temp3 ;
19665 int res3 = SWIG_TMPOBJ ;
19666 PyObject * obj0 = 0 ;
19667 PyObject * obj1 = 0 ;
19668 char * kwnames[] = {
19669 (char *) "self",(char *) "newmsg", NULL
19670 };
19671
19672 arg3 = &temp3;
19673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
19674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19675 if (!SWIG_IsOK(res1)) {
19676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19677 }
19678 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19679 if (obj1) {
19680 {
19681 arg2 = wxString_in_helper(obj1);
19682 if (arg2 == NULL) SWIG_fail;
19683 temp2 = true;
19684 }
19685 }
19686 {
19687 PyThreadState* __tstate = wxPyBeginAllowThreads();
19688 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
19689 wxPyEndAllowThreads(__tstate);
19690 if (PyErr_Occurred()) SWIG_fail;
19691 }
19692 {
19693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19694 }
19695 if (SWIG_IsTmpObj(res3)) {
19696 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19697 } else {
19698 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19699 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19700 }
19701 {
19702 if (temp2)
19703 delete arg2;
19704 }
19705 return resultobj;
19706 fail:
19707 {
19708 if (temp2)
19709 delete arg2;
19710 }
19711 return NULL;
19712 }
19713
19714
19715 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19716 PyObject *resultobj = 0;
19717 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19718 void *argp1 = 0 ;
19719 int res1 = 0 ;
19720 PyObject *swig_obj[1] ;
19721
19722 if (!args) SWIG_fail;
19723 swig_obj[0] = args;
19724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19725 if (!SWIG_IsOK(res1)) {
19726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19727 }
19728 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19729 {
19730 PyThreadState* __tstate = wxPyBeginAllowThreads();
19731 (arg1)->Resume();
19732 wxPyEndAllowThreads(__tstate);
19733 if (PyErr_Occurred()) SWIG_fail;
19734 }
19735 resultobj = SWIG_Py_Void();
19736 return resultobj;
19737 fail:
19738 return NULL;
19739 }
19740
19741
19742 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19743 PyObject *obj;
19744 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19745 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19746 return SWIG_Py_Void();
19747 }
19748
19749 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19750 return SWIG_Python_InitShadowInstance(args);
19751 }
19752
19753 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19754 PyObject *resultobj = 0;
19755 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19756 int arg2 = (int) 0 ;
19757 wxFindDialogEvent *result = 0 ;
19758 int val1 ;
19759 int ecode1 = 0 ;
19760 int val2 ;
19761 int ecode2 = 0 ;
19762 PyObject * obj0 = 0 ;
19763 PyObject * obj1 = 0 ;
19764 char * kwnames[] = {
19765 (char *) "commandType",(char *) "id", NULL
19766 };
19767
19768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19769 if (obj0) {
19770 ecode1 = SWIG_AsVal_int(obj0, &val1);
19771 if (!SWIG_IsOK(ecode1)) {
19772 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19773 }
19774 arg1 = static_cast< wxEventType >(val1);
19775 }
19776 if (obj1) {
19777 ecode2 = SWIG_AsVal_int(obj1, &val2);
19778 if (!SWIG_IsOK(ecode2)) {
19779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19780 }
19781 arg2 = static_cast< int >(val2);
19782 }
19783 {
19784 PyThreadState* __tstate = wxPyBeginAllowThreads();
19785 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19786 wxPyEndAllowThreads(__tstate);
19787 if (PyErr_Occurred()) SWIG_fail;
19788 }
19789 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19790 return resultobj;
19791 fail:
19792 return NULL;
19793 }
19794
19795
19796 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19797 PyObject *resultobj = 0;
19798 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19799 int result;
19800 void *argp1 = 0 ;
19801 int res1 = 0 ;
19802 PyObject *swig_obj[1] ;
19803
19804 if (!args) SWIG_fail;
19805 swig_obj[0] = args;
19806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19807 if (!SWIG_IsOK(res1)) {
19808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19809 }
19810 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19811 {
19812 PyThreadState* __tstate = wxPyBeginAllowThreads();
19813 result = (int)(arg1)->GetFlags();
19814 wxPyEndAllowThreads(__tstate);
19815 if (PyErr_Occurred()) SWIG_fail;
19816 }
19817 resultobj = SWIG_From_int(static_cast< int >(result));
19818 return resultobj;
19819 fail:
19820 return NULL;
19821 }
19822
19823
19824 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19825 PyObject *resultobj = 0;
19826 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19827 wxString *result = 0 ;
19828 void *argp1 = 0 ;
19829 int res1 = 0 ;
19830 PyObject *swig_obj[1] ;
19831
19832 if (!args) SWIG_fail;
19833 swig_obj[0] = args;
19834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19835 if (!SWIG_IsOK(res1)) {
19836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19837 }
19838 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19839 {
19840 PyThreadState* __tstate = wxPyBeginAllowThreads();
19841 {
19842 wxString const &_result_ref = (arg1)->GetFindString();
19843 result = (wxString *) &_result_ref;
19844 }
19845 wxPyEndAllowThreads(__tstate);
19846 if (PyErr_Occurred()) SWIG_fail;
19847 }
19848 {
19849 #if wxUSE_UNICODE
19850 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19851 #else
19852 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19853 #endif
19854 }
19855 return resultobj;
19856 fail:
19857 return NULL;
19858 }
19859
19860
19861 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19862 PyObject *resultobj = 0;
19863 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19864 wxString *result = 0 ;
19865 void *argp1 = 0 ;
19866 int res1 = 0 ;
19867 PyObject *swig_obj[1] ;
19868
19869 if (!args) SWIG_fail;
19870 swig_obj[0] = args;
19871 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19872 if (!SWIG_IsOK(res1)) {
19873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19874 }
19875 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19876 {
19877 PyThreadState* __tstate = wxPyBeginAllowThreads();
19878 {
19879 wxString const &_result_ref = (arg1)->GetReplaceString();
19880 result = (wxString *) &_result_ref;
19881 }
19882 wxPyEndAllowThreads(__tstate);
19883 if (PyErr_Occurred()) SWIG_fail;
19884 }
19885 {
19886 #if wxUSE_UNICODE
19887 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19888 #else
19889 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19890 #endif
19891 }
19892 return resultobj;
19893 fail:
19894 return NULL;
19895 }
19896
19897
19898 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19899 PyObject *resultobj = 0;
19900 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19901 wxFindReplaceDialog *result = 0 ;
19902 void *argp1 = 0 ;
19903 int res1 = 0 ;
19904 PyObject *swig_obj[1] ;
19905
19906 if (!args) SWIG_fail;
19907 swig_obj[0] = args;
19908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19909 if (!SWIG_IsOK(res1)) {
19910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19911 }
19912 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19913 {
19914 PyThreadState* __tstate = wxPyBeginAllowThreads();
19915 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19916 wxPyEndAllowThreads(__tstate);
19917 if (PyErr_Occurred()) SWIG_fail;
19918 }
19919 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19920 return resultobj;
19921 fail:
19922 return NULL;
19923 }
19924
19925
19926 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19927 PyObject *resultobj = 0;
19928 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19929 int arg2 ;
19930 void *argp1 = 0 ;
19931 int res1 = 0 ;
19932 int val2 ;
19933 int ecode2 = 0 ;
19934 PyObject * obj0 = 0 ;
19935 PyObject * obj1 = 0 ;
19936 char * kwnames[] = {
19937 (char *) "self",(char *) "flags", NULL
19938 };
19939
19940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19942 if (!SWIG_IsOK(res1)) {
19943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19944 }
19945 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19946 ecode2 = SWIG_AsVal_int(obj1, &val2);
19947 if (!SWIG_IsOK(ecode2)) {
19948 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19949 }
19950 arg2 = static_cast< int >(val2);
19951 {
19952 PyThreadState* __tstate = wxPyBeginAllowThreads();
19953 (arg1)->SetFlags(arg2);
19954 wxPyEndAllowThreads(__tstate);
19955 if (PyErr_Occurred()) SWIG_fail;
19956 }
19957 resultobj = SWIG_Py_Void();
19958 return resultobj;
19959 fail:
19960 return NULL;
19961 }
19962
19963
19964 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19965 PyObject *resultobj = 0;
19966 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19967 wxString *arg2 = 0 ;
19968 void *argp1 = 0 ;
19969 int res1 = 0 ;
19970 bool temp2 = false ;
19971 PyObject * obj0 = 0 ;
19972 PyObject * obj1 = 0 ;
19973 char * kwnames[] = {
19974 (char *) "self",(char *) "str", NULL
19975 };
19976
19977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19979 if (!SWIG_IsOK(res1)) {
19980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19981 }
19982 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19983 {
19984 arg2 = wxString_in_helper(obj1);
19985 if (arg2 == NULL) SWIG_fail;
19986 temp2 = true;
19987 }
19988 {
19989 PyThreadState* __tstate = wxPyBeginAllowThreads();
19990 (arg1)->SetFindString((wxString const &)*arg2);
19991 wxPyEndAllowThreads(__tstate);
19992 if (PyErr_Occurred()) SWIG_fail;
19993 }
19994 resultobj = SWIG_Py_Void();
19995 {
19996 if (temp2)
19997 delete arg2;
19998 }
19999 return resultobj;
20000 fail:
20001 {
20002 if (temp2)
20003 delete arg2;
20004 }
20005 return NULL;
20006 }
20007
20008
20009 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20010 PyObject *resultobj = 0;
20011 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20012 wxString *arg2 = 0 ;
20013 void *argp1 = 0 ;
20014 int res1 = 0 ;
20015 bool temp2 = false ;
20016 PyObject * obj0 = 0 ;
20017 PyObject * obj1 = 0 ;
20018 char * kwnames[] = {
20019 (char *) "self",(char *) "str", NULL
20020 };
20021
20022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20024 if (!SWIG_IsOK(res1)) {
20025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20026 }
20027 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20028 {
20029 arg2 = wxString_in_helper(obj1);
20030 if (arg2 == NULL) SWIG_fail;
20031 temp2 = true;
20032 }
20033 {
20034 PyThreadState* __tstate = wxPyBeginAllowThreads();
20035 (arg1)->SetReplaceString((wxString const &)*arg2);
20036 wxPyEndAllowThreads(__tstate);
20037 if (PyErr_Occurred()) SWIG_fail;
20038 }
20039 resultobj = SWIG_Py_Void();
20040 {
20041 if (temp2)
20042 delete arg2;
20043 }
20044 return resultobj;
20045 fail:
20046 {
20047 if (temp2)
20048 delete arg2;
20049 }
20050 return NULL;
20051 }
20052
20053
20054 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20055 PyObject *obj;
20056 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20057 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
20058 return SWIG_Py_Void();
20059 }
20060
20061 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20062 return SWIG_Python_InitShadowInstance(args);
20063 }
20064
20065 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20066 PyObject *resultobj = 0;
20067 int arg1 = (int) 0 ;
20068 wxFindReplaceData *result = 0 ;
20069 int val1 ;
20070 int ecode1 = 0 ;
20071 PyObject * obj0 = 0 ;
20072 char * kwnames[] = {
20073 (char *) "flags", NULL
20074 };
20075
20076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20077 if (obj0) {
20078 ecode1 = SWIG_AsVal_int(obj0, &val1);
20079 if (!SWIG_IsOK(ecode1)) {
20080 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20081 }
20082 arg1 = static_cast< int >(val1);
20083 }
20084 {
20085 PyThreadState* __tstate = wxPyBeginAllowThreads();
20086 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20087 wxPyEndAllowThreads(__tstate);
20088 if (PyErr_Occurred()) SWIG_fail;
20089 }
20090 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20091 return resultobj;
20092 fail:
20093 return NULL;
20094 }
20095
20096
20097 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20098 PyObject *resultobj = 0;
20099 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20100 void *argp1 = 0 ;
20101 int res1 = 0 ;
20102 PyObject *swig_obj[1] ;
20103
20104 if (!args) SWIG_fail;
20105 swig_obj[0] = args;
20106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20107 if (!SWIG_IsOK(res1)) {
20108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20109 }
20110 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20111 {
20112 PyThreadState* __tstate = wxPyBeginAllowThreads();
20113 delete arg1;
20114
20115 wxPyEndAllowThreads(__tstate);
20116 if (PyErr_Occurred()) SWIG_fail;
20117 }
20118 resultobj = SWIG_Py_Void();
20119 return resultobj;
20120 fail:
20121 return NULL;
20122 }
20123
20124
20125 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20126 PyObject *resultobj = 0;
20127 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20128 wxString *result = 0 ;
20129 void *argp1 = 0 ;
20130 int res1 = 0 ;
20131 PyObject *swig_obj[1] ;
20132
20133 if (!args) SWIG_fail;
20134 swig_obj[0] = args;
20135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20136 if (!SWIG_IsOK(res1)) {
20137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20138 }
20139 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20140 {
20141 PyThreadState* __tstate = wxPyBeginAllowThreads();
20142 {
20143 wxString const &_result_ref = (arg1)->GetFindString();
20144 result = (wxString *) &_result_ref;
20145 }
20146 wxPyEndAllowThreads(__tstate);
20147 if (PyErr_Occurred()) SWIG_fail;
20148 }
20149 {
20150 #if wxUSE_UNICODE
20151 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20152 #else
20153 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20154 #endif
20155 }
20156 return resultobj;
20157 fail:
20158 return NULL;
20159 }
20160
20161
20162 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20163 PyObject *resultobj = 0;
20164 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20165 wxString *result = 0 ;
20166 void *argp1 = 0 ;
20167 int res1 = 0 ;
20168 PyObject *swig_obj[1] ;
20169
20170 if (!args) SWIG_fail;
20171 swig_obj[0] = args;
20172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20173 if (!SWIG_IsOK(res1)) {
20174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20175 }
20176 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20177 {
20178 PyThreadState* __tstate = wxPyBeginAllowThreads();
20179 {
20180 wxString const &_result_ref = (arg1)->GetReplaceString();
20181 result = (wxString *) &_result_ref;
20182 }
20183 wxPyEndAllowThreads(__tstate);
20184 if (PyErr_Occurred()) SWIG_fail;
20185 }
20186 {
20187 #if wxUSE_UNICODE
20188 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20189 #else
20190 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20191 #endif
20192 }
20193 return resultobj;
20194 fail:
20195 return NULL;
20196 }
20197
20198
20199 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20200 PyObject *resultobj = 0;
20201 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20202 int result;
20203 void *argp1 = 0 ;
20204 int res1 = 0 ;
20205 PyObject *swig_obj[1] ;
20206
20207 if (!args) SWIG_fail;
20208 swig_obj[0] = args;
20209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20210 if (!SWIG_IsOK(res1)) {
20211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20212 }
20213 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20214 {
20215 PyThreadState* __tstate = wxPyBeginAllowThreads();
20216 result = (int)(arg1)->GetFlags();
20217 wxPyEndAllowThreads(__tstate);
20218 if (PyErr_Occurred()) SWIG_fail;
20219 }
20220 resultobj = SWIG_From_int(static_cast< int >(result));
20221 return resultobj;
20222 fail:
20223 return NULL;
20224 }
20225
20226
20227 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20228 PyObject *resultobj = 0;
20229 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20230 int arg2 ;
20231 void *argp1 = 0 ;
20232 int res1 = 0 ;
20233 int val2 ;
20234 int ecode2 = 0 ;
20235 PyObject * obj0 = 0 ;
20236 PyObject * obj1 = 0 ;
20237 char * kwnames[] = {
20238 (char *) "self",(char *) "flags", NULL
20239 };
20240
20241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20243 if (!SWIG_IsOK(res1)) {
20244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20245 }
20246 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20247 ecode2 = SWIG_AsVal_int(obj1, &val2);
20248 if (!SWIG_IsOK(ecode2)) {
20249 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20250 }
20251 arg2 = static_cast< int >(val2);
20252 {
20253 PyThreadState* __tstate = wxPyBeginAllowThreads();
20254 (arg1)->SetFlags(arg2);
20255 wxPyEndAllowThreads(__tstate);
20256 if (PyErr_Occurred()) SWIG_fail;
20257 }
20258 resultobj = SWIG_Py_Void();
20259 return resultobj;
20260 fail:
20261 return NULL;
20262 }
20263
20264
20265 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20266 PyObject *resultobj = 0;
20267 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20268 wxString *arg2 = 0 ;
20269 void *argp1 = 0 ;
20270 int res1 = 0 ;
20271 bool temp2 = false ;
20272 PyObject * obj0 = 0 ;
20273 PyObject * obj1 = 0 ;
20274 char * kwnames[] = {
20275 (char *) "self",(char *) "str", NULL
20276 };
20277
20278 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20279 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20280 if (!SWIG_IsOK(res1)) {
20281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20282 }
20283 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20284 {
20285 arg2 = wxString_in_helper(obj1);
20286 if (arg2 == NULL) SWIG_fail;
20287 temp2 = true;
20288 }
20289 {
20290 PyThreadState* __tstate = wxPyBeginAllowThreads();
20291 (arg1)->SetFindString((wxString const &)*arg2);
20292 wxPyEndAllowThreads(__tstate);
20293 if (PyErr_Occurred()) SWIG_fail;
20294 }
20295 resultobj = SWIG_Py_Void();
20296 {
20297 if (temp2)
20298 delete arg2;
20299 }
20300 return resultobj;
20301 fail:
20302 {
20303 if (temp2)
20304 delete arg2;
20305 }
20306 return NULL;
20307 }
20308
20309
20310 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20311 PyObject *resultobj = 0;
20312 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20313 wxString *arg2 = 0 ;
20314 void *argp1 = 0 ;
20315 int res1 = 0 ;
20316 bool temp2 = false ;
20317 PyObject * obj0 = 0 ;
20318 PyObject * obj1 = 0 ;
20319 char * kwnames[] = {
20320 (char *) "self",(char *) "str", NULL
20321 };
20322
20323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20325 if (!SWIG_IsOK(res1)) {
20326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20327 }
20328 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20329 {
20330 arg2 = wxString_in_helper(obj1);
20331 if (arg2 == NULL) SWIG_fail;
20332 temp2 = true;
20333 }
20334 {
20335 PyThreadState* __tstate = wxPyBeginAllowThreads();
20336 (arg1)->SetReplaceString((wxString const &)*arg2);
20337 wxPyEndAllowThreads(__tstate);
20338 if (PyErr_Occurred()) SWIG_fail;
20339 }
20340 resultobj = SWIG_Py_Void();
20341 {
20342 if (temp2)
20343 delete arg2;
20344 }
20345 return resultobj;
20346 fail:
20347 {
20348 if (temp2)
20349 delete arg2;
20350 }
20351 return NULL;
20352 }
20353
20354
20355 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20356 PyObject *obj;
20357 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20358 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20359 return SWIG_Py_Void();
20360 }
20361
20362 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20363 return SWIG_Python_InitShadowInstance(args);
20364 }
20365
20366 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20367 PyObject *resultobj = 0;
20368 wxWindow *arg1 = (wxWindow *) 0 ;
20369 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20370 wxString *arg3 = 0 ;
20371 int arg4 = (int) 0 ;
20372 wxFindReplaceDialog *result = 0 ;
20373 void *argp1 = 0 ;
20374 int res1 = 0 ;
20375 void *argp2 = 0 ;
20376 int res2 = 0 ;
20377 bool temp3 = false ;
20378 int val4 ;
20379 int ecode4 = 0 ;
20380 PyObject * obj0 = 0 ;
20381 PyObject * obj1 = 0 ;
20382 PyObject * obj2 = 0 ;
20383 PyObject * obj3 = 0 ;
20384 char * kwnames[] = {
20385 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20386 };
20387
20388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20390 if (!SWIG_IsOK(res1)) {
20391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20392 }
20393 arg1 = reinterpret_cast< wxWindow * >(argp1);
20394 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20395 if (!SWIG_IsOK(res2)) {
20396 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20397 }
20398 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20399 {
20400 arg3 = wxString_in_helper(obj2);
20401 if (arg3 == NULL) SWIG_fail;
20402 temp3 = true;
20403 }
20404 if (obj3) {
20405 ecode4 = SWIG_AsVal_int(obj3, &val4);
20406 if (!SWIG_IsOK(ecode4)) {
20407 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20408 }
20409 arg4 = static_cast< int >(val4);
20410 }
20411 {
20412 if (!wxPyCheckForApp()) SWIG_fail;
20413 PyThreadState* __tstate = wxPyBeginAllowThreads();
20414 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20415 wxPyEndAllowThreads(__tstate);
20416 if (PyErr_Occurred()) SWIG_fail;
20417 }
20418 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20419 {
20420 if (temp3)
20421 delete arg3;
20422 }
20423 return resultobj;
20424 fail:
20425 {
20426 if (temp3)
20427 delete arg3;
20428 }
20429 return NULL;
20430 }
20431
20432
20433 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20434 PyObject *resultobj = 0;
20435 wxFindReplaceDialog *result = 0 ;
20436
20437 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20438 {
20439 if (!wxPyCheckForApp()) SWIG_fail;
20440 PyThreadState* __tstate = wxPyBeginAllowThreads();
20441 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20442 wxPyEndAllowThreads(__tstate);
20443 if (PyErr_Occurred()) SWIG_fail;
20444 }
20445 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20446 return resultobj;
20447 fail:
20448 return NULL;
20449 }
20450
20451
20452 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20453 PyObject *resultobj = 0;
20454 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20455 wxWindow *arg2 = (wxWindow *) 0 ;
20456 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20457 wxString *arg4 = 0 ;
20458 int arg5 = (int) 0 ;
20459 bool result;
20460 void *argp1 = 0 ;
20461 int res1 = 0 ;
20462 void *argp2 = 0 ;
20463 int res2 = 0 ;
20464 void *argp3 = 0 ;
20465 int res3 = 0 ;
20466 bool temp4 = false ;
20467 int val5 ;
20468 int ecode5 = 0 ;
20469 PyObject * obj0 = 0 ;
20470 PyObject * obj1 = 0 ;
20471 PyObject * obj2 = 0 ;
20472 PyObject * obj3 = 0 ;
20473 PyObject * obj4 = 0 ;
20474 char * kwnames[] = {
20475 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20476 };
20477
20478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20480 if (!SWIG_IsOK(res1)) {
20481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20482 }
20483 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20484 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20485 if (!SWIG_IsOK(res2)) {
20486 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20487 }
20488 arg2 = reinterpret_cast< wxWindow * >(argp2);
20489 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20490 if (!SWIG_IsOK(res3)) {
20491 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20492 }
20493 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20494 {
20495 arg4 = wxString_in_helper(obj3);
20496 if (arg4 == NULL) SWIG_fail;
20497 temp4 = true;
20498 }
20499 if (obj4) {
20500 ecode5 = SWIG_AsVal_int(obj4, &val5);
20501 if (!SWIG_IsOK(ecode5)) {
20502 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20503 }
20504 arg5 = static_cast< int >(val5);
20505 }
20506 {
20507 PyThreadState* __tstate = wxPyBeginAllowThreads();
20508 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20509 wxPyEndAllowThreads(__tstate);
20510 if (PyErr_Occurred()) SWIG_fail;
20511 }
20512 {
20513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20514 }
20515 {
20516 if (temp4)
20517 delete arg4;
20518 }
20519 return resultobj;
20520 fail:
20521 {
20522 if (temp4)
20523 delete arg4;
20524 }
20525 return NULL;
20526 }
20527
20528
20529 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20530 PyObject *resultobj = 0;
20531 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20532 wxFindReplaceData *result = 0 ;
20533 void *argp1 = 0 ;
20534 int res1 = 0 ;
20535 PyObject *swig_obj[1] ;
20536
20537 if (!args) SWIG_fail;
20538 swig_obj[0] = args;
20539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20540 if (!SWIG_IsOK(res1)) {
20541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20542 }
20543 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20544 {
20545 PyThreadState* __tstate = wxPyBeginAllowThreads();
20546 result = (wxFindReplaceData *)(arg1)->GetData();
20547 wxPyEndAllowThreads(__tstate);
20548 if (PyErr_Occurred()) SWIG_fail;
20549 }
20550 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20551 return resultobj;
20552 fail:
20553 return NULL;
20554 }
20555
20556
20557 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20558 PyObject *resultobj = 0;
20559 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20560 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20561 void *argp1 = 0 ;
20562 int res1 = 0 ;
20563 void *argp2 = 0 ;
20564 int res2 = 0 ;
20565 PyObject * obj0 = 0 ;
20566 PyObject * obj1 = 0 ;
20567 char * kwnames[] = {
20568 (char *) "self",(char *) "data", NULL
20569 };
20570
20571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20573 if (!SWIG_IsOK(res1)) {
20574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20575 }
20576 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20577 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20578 if (!SWIG_IsOK(res2)) {
20579 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20580 }
20581 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20582 {
20583 PyThreadState* __tstate = wxPyBeginAllowThreads();
20584 (arg1)->SetData(arg2);
20585 wxPyEndAllowThreads(__tstate);
20586 if (PyErr_Occurred()) SWIG_fail;
20587 }
20588 resultobj = SWIG_Py_Void();
20589 return resultobj;
20590 fail:
20591 return NULL;
20592 }
20593
20594
20595 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20596 PyObject *obj;
20597 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20598 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20599 return SWIG_Py_Void();
20600 }
20601
20602 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20603 return SWIG_Python_InitShadowInstance(args);
20604 }
20605
20606 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20607 PyObject *resultobj = 0;
20608 wxWindow *arg1 = (wxWindow *) 0 ;
20609 int arg2 = (int) (int)-1 ;
20610 wxString const &arg3_defvalue = wxPyEmptyString ;
20611 wxString *arg3 = (wxString *) &arg3_defvalue ;
20612 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20613 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20614 wxSize const &arg5_defvalue = wxDefaultSize ;
20615 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20616 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20617 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20618 wxString *arg7 = (wxString *) &arg7_defvalue ;
20619 wxMDIParentFrame *result = 0 ;
20620 void *argp1 = 0 ;
20621 int res1 = 0 ;
20622 int val2 ;
20623 int ecode2 = 0 ;
20624 bool temp3 = false ;
20625 wxPoint temp4 ;
20626 wxSize temp5 ;
20627 long val6 ;
20628 int ecode6 = 0 ;
20629 bool temp7 = false ;
20630 PyObject * obj0 = 0 ;
20631 PyObject * obj1 = 0 ;
20632 PyObject * obj2 = 0 ;
20633 PyObject * obj3 = 0 ;
20634 PyObject * obj4 = 0 ;
20635 PyObject * obj5 = 0 ;
20636 PyObject * obj6 = 0 ;
20637 char * kwnames[] = {
20638 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20639 };
20640
20641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20643 if (!SWIG_IsOK(res1)) {
20644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20645 }
20646 arg1 = reinterpret_cast< wxWindow * >(argp1);
20647 if (obj1) {
20648 ecode2 = SWIG_AsVal_int(obj1, &val2);
20649 if (!SWIG_IsOK(ecode2)) {
20650 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20651 }
20652 arg2 = static_cast< int >(val2);
20653 }
20654 if (obj2) {
20655 {
20656 arg3 = wxString_in_helper(obj2);
20657 if (arg3 == NULL) SWIG_fail;
20658 temp3 = true;
20659 }
20660 }
20661 if (obj3) {
20662 {
20663 arg4 = &temp4;
20664 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20665 }
20666 }
20667 if (obj4) {
20668 {
20669 arg5 = &temp5;
20670 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20671 }
20672 }
20673 if (obj5) {
20674 ecode6 = SWIG_AsVal_long(obj5, &val6);
20675 if (!SWIG_IsOK(ecode6)) {
20676 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20677 }
20678 arg6 = static_cast< long >(val6);
20679 }
20680 if (obj6) {
20681 {
20682 arg7 = wxString_in_helper(obj6);
20683 if (arg7 == NULL) SWIG_fail;
20684 temp7 = true;
20685 }
20686 }
20687 {
20688 if (!wxPyCheckForApp()) SWIG_fail;
20689 PyThreadState* __tstate = wxPyBeginAllowThreads();
20690 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20691 wxPyEndAllowThreads(__tstate);
20692 if (PyErr_Occurred()) SWIG_fail;
20693 }
20694 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20695 {
20696 if (temp3)
20697 delete arg3;
20698 }
20699 {
20700 if (temp7)
20701 delete arg7;
20702 }
20703 return resultobj;
20704 fail:
20705 {
20706 if (temp3)
20707 delete arg3;
20708 }
20709 {
20710 if (temp7)
20711 delete arg7;
20712 }
20713 return NULL;
20714 }
20715
20716
20717 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20718 PyObject *resultobj = 0;
20719 wxMDIParentFrame *result = 0 ;
20720
20721 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20722 {
20723 if (!wxPyCheckForApp()) SWIG_fail;
20724 PyThreadState* __tstate = wxPyBeginAllowThreads();
20725 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20726 wxPyEndAllowThreads(__tstate);
20727 if (PyErr_Occurred()) SWIG_fail;
20728 }
20729 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20730 return resultobj;
20731 fail:
20732 return NULL;
20733 }
20734
20735
20736 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20737 PyObject *resultobj = 0;
20738 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20739 wxWindow *arg2 = (wxWindow *) 0 ;
20740 int arg3 = (int) (int)-1 ;
20741 wxString const &arg4_defvalue = wxPyEmptyString ;
20742 wxString *arg4 = (wxString *) &arg4_defvalue ;
20743 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20744 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20745 wxSize const &arg6_defvalue = wxDefaultSize ;
20746 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20747 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20748 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20749 wxString *arg8 = (wxString *) &arg8_defvalue ;
20750 bool result;
20751 void *argp1 = 0 ;
20752 int res1 = 0 ;
20753 void *argp2 = 0 ;
20754 int res2 = 0 ;
20755 int val3 ;
20756 int ecode3 = 0 ;
20757 bool temp4 = false ;
20758 wxPoint temp5 ;
20759 wxSize temp6 ;
20760 long val7 ;
20761 int ecode7 = 0 ;
20762 bool temp8 = false ;
20763 PyObject * obj0 = 0 ;
20764 PyObject * obj1 = 0 ;
20765 PyObject * obj2 = 0 ;
20766 PyObject * obj3 = 0 ;
20767 PyObject * obj4 = 0 ;
20768 PyObject * obj5 = 0 ;
20769 PyObject * obj6 = 0 ;
20770 PyObject * obj7 = 0 ;
20771 char * kwnames[] = {
20772 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20773 };
20774
20775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20777 if (!SWIG_IsOK(res1)) {
20778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20779 }
20780 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20781 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20782 if (!SWIG_IsOK(res2)) {
20783 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20784 }
20785 arg2 = reinterpret_cast< wxWindow * >(argp2);
20786 if (obj2) {
20787 ecode3 = SWIG_AsVal_int(obj2, &val3);
20788 if (!SWIG_IsOK(ecode3)) {
20789 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20790 }
20791 arg3 = static_cast< int >(val3);
20792 }
20793 if (obj3) {
20794 {
20795 arg4 = wxString_in_helper(obj3);
20796 if (arg4 == NULL) SWIG_fail;
20797 temp4 = true;
20798 }
20799 }
20800 if (obj4) {
20801 {
20802 arg5 = &temp5;
20803 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20804 }
20805 }
20806 if (obj5) {
20807 {
20808 arg6 = &temp6;
20809 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20810 }
20811 }
20812 if (obj6) {
20813 ecode7 = SWIG_AsVal_long(obj6, &val7);
20814 if (!SWIG_IsOK(ecode7)) {
20815 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20816 }
20817 arg7 = static_cast< long >(val7);
20818 }
20819 if (obj7) {
20820 {
20821 arg8 = wxString_in_helper(obj7);
20822 if (arg8 == NULL) SWIG_fail;
20823 temp8 = true;
20824 }
20825 }
20826 {
20827 PyThreadState* __tstate = wxPyBeginAllowThreads();
20828 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20829 wxPyEndAllowThreads(__tstate);
20830 if (PyErr_Occurred()) SWIG_fail;
20831 }
20832 {
20833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20834 }
20835 {
20836 if (temp4)
20837 delete arg4;
20838 }
20839 {
20840 if (temp8)
20841 delete arg8;
20842 }
20843 return resultobj;
20844 fail:
20845 {
20846 if (temp4)
20847 delete arg4;
20848 }
20849 {
20850 if (temp8)
20851 delete arg8;
20852 }
20853 return NULL;
20854 }
20855
20856
20857 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20858 PyObject *resultobj = 0;
20859 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20860 void *argp1 = 0 ;
20861 int res1 = 0 ;
20862 PyObject *swig_obj[1] ;
20863
20864 if (!args) SWIG_fail;
20865 swig_obj[0] = args;
20866 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20867 if (!SWIG_IsOK(res1)) {
20868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20869 }
20870 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20871 {
20872 PyThreadState* __tstate = wxPyBeginAllowThreads();
20873 (arg1)->ActivateNext();
20874 wxPyEndAllowThreads(__tstate);
20875 if (PyErr_Occurred()) SWIG_fail;
20876 }
20877 resultobj = SWIG_Py_Void();
20878 return resultobj;
20879 fail:
20880 return NULL;
20881 }
20882
20883
20884 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20885 PyObject *resultobj = 0;
20886 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20887 void *argp1 = 0 ;
20888 int res1 = 0 ;
20889 PyObject *swig_obj[1] ;
20890
20891 if (!args) SWIG_fail;
20892 swig_obj[0] = args;
20893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20894 if (!SWIG_IsOK(res1)) {
20895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20896 }
20897 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20898 {
20899 PyThreadState* __tstate = wxPyBeginAllowThreads();
20900 (arg1)->ActivatePrevious();
20901 wxPyEndAllowThreads(__tstate);
20902 if (PyErr_Occurred()) SWIG_fail;
20903 }
20904 resultobj = SWIG_Py_Void();
20905 return resultobj;
20906 fail:
20907 return NULL;
20908 }
20909
20910
20911 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20912 PyObject *resultobj = 0;
20913 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20914 void *argp1 = 0 ;
20915 int res1 = 0 ;
20916 PyObject *swig_obj[1] ;
20917
20918 if (!args) SWIG_fail;
20919 swig_obj[0] = args;
20920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20921 if (!SWIG_IsOK(res1)) {
20922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20923 }
20924 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20925 {
20926 PyThreadState* __tstate = wxPyBeginAllowThreads();
20927 (arg1)->ArrangeIcons();
20928 wxPyEndAllowThreads(__tstate);
20929 if (PyErr_Occurred()) SWIG_fail;
20930 }
20931 resultobj = SWIG_Py_Void();
20932 return resultobj;
20933 fail:
20934 return NULL;
20935 }
20936
20937
20938 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20939 PyObject *resultobj = 0;
20940 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20941 void *argp1 = 0 ;
20942 int res1 = 0 ;
20943 PyObject *swig_obj[1] ;
20944
20945 if (!args) SWIG_fail;
20946 swig_obj[0] = args;
20947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20948 if (!SWIG_IsOK(res1)) {
20949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20950 }
20951 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20952 {
20953 PyThreadState* __tstate = wxPyBeginAllowThreads();
20954 (arg1)->Cascade();
20955 wxPyEndAllowThreads(__tstate);
20956 if (PyErr_Occurred()) SWIG_fail;
20957 }
20958 resultobj = SWIG_Py_Void();
20959 return resultobj;
20960 fail:
20961 return NULL;
20962 }
20963
20964
20965 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20966 PyObject *resultobj = 0;
20967 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20968 wxMDIChildFrame *result = 0 ;
20969 void *argp1 = 0 ;
20970 int res1 = 0 ;
20971 PyObject *swig_obj[1] ;
20972
20973 if (!args) SWIG_fail;
20974 swig_obj[0] = args;
20975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20976 if (!SWIG_IsOK(res1)) {
20977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20978 }
20979 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20980 {
20981 PyThreadState* __tstate = wxPyBeginAllowThreads();
20982 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20983 wxPyEndAllowThreads(__tstate);
20984 if (PyErr_Occurred()) SWIG_fail;
20985 }
20986 {
20987 resultobj = wxPyMake_wxObject(result, (bool)0);
20988 }
20989 return resultobj;
20990 fail:
20991 return NULL;
20992 }
20993
20994
20995 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20996 PyObject *resultobj = 0;
20997 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20998 wxMDIClientWindow *result = 0 ;
20999 void *argp1 = 0 ;
21000 int res1 = 0 ;
21001 PyObject *swig_obj[1] ;
21002
21003 if (!args) SWIG_fail;
21004 swig_obj[0] = args;
21005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21006 if (!SWIG_IsOK(res1)) {
21007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21008 }
21009 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21010 {
21011 PyThreadState* __tstate = wxPyBeginAllowThreads();
21012 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
21013 wxPyEndAllowThreads(__tstate);
21014 if (PyErr_Occurred()) SWIG_fail;
21015 }
21016 {
21017 resultobj = wxPyMake_wxObject(result, (bool)0);
21018 }
21019 return resultobj;
21020 fail:
21021 return NULL;
21022 }
21023
21024
21025 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21026 PyObject *resultobj = 0;
21027 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21028 wxMenu *result = 0 ;
21029 void *argp1 = 0 ;
21030 int res1 = 0 ;
21031 PyObject *swig_obj[1] ;
21032
21033 if (!args) SWIG_fail;
21034 swig_obj[0] = args;
21035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21036 if (!SWIG_IsOK(res1)) {
21037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21038 }
21039 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21040 {
21041 PyThreadState* __tstate = wxPyBeginAllowThreads();
21042 result = (wxMenu *)(arg1)->GetWindowMenu();
21043 wxPyEndAllowThreads(__tstate);
21044 if (PyErr_Occurred()) SWIG_fail;
21045 }
21046 {
21047 resultobj = wxPyMake_wxObject(result, 0);
21048 }
21049 return resultobj;
21050 fail:
21051 return NULL;
21052 }
21053
21054
21055 SWIGINTERN PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21056 PyObject *resultobj = 0;
21057 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21058 wxMenu *arg2 = (wxMenu *) 0 ;
21059 void *argp1 = 0 ;
21060 int res1 = 0 ;
21061 void *argp2 = 0 ;
21062 int res2 = 0 ;
21063 PyObject * obj0 = 0 ;
21064 PyObject * obj1 = 0 ;
21065 char * kwnames[] = {
21066 (char *) "self",(char *) "menu", NULL
21067 };
21068
21069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail;
21070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21071 if (!SWIG_IsOK(res1)) {
21072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21073 }
21074 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21075 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
21076 if (!SWIG_IsOK(res2)) {
21077 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
21078 }
21079 arg2 = reinterpret_cast< wxMenu * >(argp2);
21080 {
21081 PyThreadState* __tstate = wxPyBeginAllowThreads();
21082 (arg1)->SetWindowMenu(arg2);
21083 wxPyEndAllowThreads(__tstate);
21084 if (PyErr_Occurred()) SWIG_fail;
21085 }
21086 resultobj = SWIG_Py_Void();
21087 return resultobj;
21088 fail:
21089 return NULL;
21090 }
21091
21092
21093 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21094 PyObject *resultobj = 0;
21095 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21096 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
21097 void *argp1 = 0 ;
21098 int res1 = 0 ;
21099 int val2 ;
21100 int ecode2 = 0 ;
21101 PyObject * obj0 = 0 ;
21102 PyObject * obj1 = 0 ;
21103 char * kwnames[] = {
21104 (char *) "self",(char *) "orient", NULL
21105 };
21106
21107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
21108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21109 if (!SWIG_IsOK(res1)) {
21110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21111 }
21112 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21113 if (obj1) {
21114 ecode2 = SWIG_AsVal_int(obj1, &val2);
21115 if (!SWIG_IsOK(ecode2)) {
21116 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21117 }
21118 arg2 = static_cast< wxOrientation >(val2);
21119 }
21120 {
21121 PyThreadState* __tstate = wxPyBeginAllowThreads();
21122 (arg1)->Tile(arg2);
21123 wxPyEndAllowThreads(__tstate);
21124 if (PyErr_Occurred()) SWIG_fail;
21125 }
21126 resultobj = SWIG_Py_Void();
21127 return resultobj;
21128 fail:
21129 return NULL;
21130 }
21131
21132
21133 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21134 PyObject *obj;
21135 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21136 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21137 return SWIG_Py_Void();
21138 }
21139
21140 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21141 return SWIG_Python_InitShadowInstance(args);
21142 }
21143
21144 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21145 PyObject *resultobj = 0;
21146 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21147 int arg2 = (int) (int)-1 ;
21148 wxString const &arg3_defvalue = wxPyEmptyString ;
21149 wxString *arg3 = (wxString *) &arg3_defvalue ;
21150 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21151 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21152 wxSize const &arg5_defvalue = wxDefaultSize ;
21153 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21154 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21155 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21156 wxString *arg7 = (wxString *) &arg7_defvalue ;
21157 wxMDIChildFrame *result = 0 ;
21158 void *argp1 = 0 ;
21159 int res1 = 0 ;
21160 int val2 ;
21161 int ecode2 = 0 ;
21162 bool temp3 = false ;
21163 wxPoint temp4 ;
21164 wxSize temp5 ;
21165 long val6 ;
21166 int ecode6 = 0 ;
21167 bool temp7 = false ;
21168 PyObject * obj0 = 0 ;
21169 PyObject * obj1 = 0 ;
21170 PyObject * obj2 = 0 ;
21171 PyObject * obj3 = 0 ;
21172 PyObject * obj4 = 0 ;
21173 PyObject * obj5 = 0 ;
21174 PyObject * obj6 = 0 ;
21175 char * kwnames[] = {
21176 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21177 };
21178
21179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21181 if (!SWIG_IsOK(res1)) {
21182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21183 }
21184 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21185 if (obj1) {
21186 ecode2 = SWIG_AsVal_int(obj1, &val2);
21187 if (!SWIG_IsOK(ecode2)) {
21188 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21189 }
21190 arg2 = static_cast< int >(val2);
21191 }
21192 if (obj2) {
21193 {
21194 arg3 = wxString_in_helper(obj2);
21195 if (arg3 == NULL) SWIG_fail;
21196 temp3 = true;
21197 }
21198 }
21199 if (obj3) {
21200 {
21201 arg4 = &temp4;
21202 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21203 }
21204 }
21205 if (obj4) {
21206 {
21207 arg5 = &temp5;
21208 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21209 }
21210 }
21211 if (obj5) {
21212 ecode6 = SWIG_AsVal_long(obj5, &val6);
21213 if (!SWIG_IsOK(ecode6)) {
21214 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21215 }
21216 arg6 = static_cast< long >(val6);
21217 }
21218 if (obj6) {
21219 {
21220 arg7 = wxString_in_helper(obj6);
21221 if (arg7 == NULL) SWIG_fail;
21222 temp7 = true;
21223 }
21224 }
21225 {
21226 if (!wxPyCheckForApp()) SWIG_fail;
21227 PyThreadState* __tstate = wxPyBeginAllowThreads();
21228 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21229 wxPyEndAllowThreads(__tstate);
21230 if (PyErr_Occurred()) SWIG_fail;
21231 }
21232 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21233 {
21234 if (temp3)
21235 delete arg3;
21236 }
21237 {
21238 if (temp7)
21239 delete arg7;
21240 }
21241 return resultobj;
21242 fail:
21243 {
21244 if (temp3)
21245 delete arg3;
21246 }
21247 {
21248 if (temp7)
21249 delete arg7;
21250 }
21251 return NULL;
21252 }
21253
21254
21255 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21256 PyObject *resultobj = 0;
21257 wxMDIChildFrame *result = 0 ;
21258
21259 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21260 {
21261 if (!wxPyCheckForApp()) SWIG_fail;
21262 PyThreadState* __tstate = wxPyBeginAllowThreads();
21263 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21264 wxPyEndAllowThreads(__tstate);
21265 if (PyErr_Occurred()) SWIG_fail;
21266 }
21267 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21268 return resultobj;
21269 fail:
21270 return NULL;
21271 }
21272
21273
21274 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21275 PyObject *resultobj = 0;
21276 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21277 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21278 int arg3 = (int) (int)-1 ;
21279 wxString const &arg4_defvalue = wxPyEmptyString ;
21280 wxString *arg4 = (wxString *) &arg4_defvalue ;
21281 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21282 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21283 wxSize const &arg6_defvalue = wxDefaultSize ;
21284 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21285 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21286 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21287 wxString *arg8 = (wxString *) &arg8_defvalue ;
21288 bool result;
21289 void *argp1 = 0 ;
21290 int res1 = 0 ;
21291 void *argp2 = 0 ;
21292 int res2 = 0 ;
21293 int val3 ;
21294 int ecode3 = 0 ;
21295 bool temp4 = false ;
21296 wxPoint temp5 ;
21297 wxSize temp6 ;
21298 long val7 ;
21299 int ecode7 = 0 ;
21300 bool temp8 = false ;
21301 PyObject * obj0 = 0 ;
21302 PyObject * obj1 = 0 ;
21303 PyObject * obj2 = 0 ;
21304 PyObject * obj3 = 0 ;
21305 PyObject * obj4 = 0 ;
21306 PyObject * obj5 = 0 ;
21307 PyObject * obj6 = 0 ;
21308 PyObject * obj7 = 0 ;
21309 char * kwnames[] = {
21310 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21311 };
21312
21313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21315 if (!SWIG_IsOK(res1)) {
21316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21317 }
21318 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21319 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21320 if (!SWIG_IsOK(res2)) {
21321 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21322 }
21323 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21324 if (obj2) {
21325 ecode3 = SWIG_AsVal_int(obj2, &val3);
21326 if (!SWIG_IsOK(ecode3)) {
21327 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21328 }
21329 arg3 = static_cast< int >(val3);
21330 }
21331 if (obj3) {
21332 {
21333 arg4 = wxString_in_helper(obj3);
21334 if (arg4 == NULL) SWIG_fail;
21335 temp4 = true;
21336 }
21337 }
21338 if (obj4) {
21339 {
21340 arg5 = &temp5;
21341 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21342 }
21343 }
21344 if (obj5) {
21345 {
21346 arg6 = &temp6;
21347 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21348 }
21349 }
21350 if (obj6) {
21351 ecode7 = SWIG_AsVal_long(obj6, &val7);
21352 if (!SWIG_IsOK(ecode7)) {
21353 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21354 }
21355 arg7 = static_cast< long >(val7);
21356 }
21357 if (obj7) {
21358 {
21359 arg8 = wxString_in_helper(obj7);
21360 if (arg8 == NULL) SWIG_fail;
21361 temp8 = true;
21362 }
21363 }
21364 {
21365 PyThreadState* __tstate = wxPyBeginAllowThreads();
21366 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21367 wxPyEndAllowThreads(__tstate);
21368 if (PyErr_Occurred()) SWIG_fail;
21369 }
21370 {
21371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21372 }
21373 {
21374 if (temp4)
21375 delete arg4;
21376 }
21377 {
21378 if (temp8)
21379 delete arg8;
21380 }
21381 return resultobj;
21382 fail:
21383 {
21384 if (temp4)
21385 delete arg4;
21386 }
21387 {
21388 if (temp8)
21389 delete arg8;
21390 }
21391 return NULL;
21392 }
21393
21394
21395 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21396 PyObject *resultobj = 0;
21397 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21398 void *argp1 = 0 ;
21399 int res1 = 0 ;
21400 PyObject *swig_obj[1] ;
21401
21402 if (!args) SWIG_fail;
21403 swig_obj[0] = args;
21404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21405 if (!SWIG_IsOK(res1)) {
21406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21407 }
21408 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21409 {
21410 PyThreadState* __tstate = wxPyBeginAllowThreads();
21411 (arg1)->Activate();
21412 wxPyEndAllowThreads(__tstate);
21413 if (PyErr_Occurred()) SWIG_fail;
21414 }
21415 resultobj = SWIG_Py_Void();
21416 return resultobj;
21417 fail:
21418 return NULL;
21419 }
21420
21421
21422 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21423 PyObject *obj;
21424 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21425 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21426 return SWIG_Py_Void();
21427 }
21428
21429 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21430 return SWIG_Python_InitShadowInstance(args);
21431 }
21432
21433 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21434 PyObject *resultobj = 0;
21435 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21436 long arg2 = (long) 0 ;
21437 wxMDIClientWindow *result = 0 ;
21438 void *argp1 = 0 ;
21439 int res1 = 0 ;
21440 long val2 ;
21441 int ecode2 = 0 ;
21442 PyObject * obj0 = 0 ;
21443 PyObject * obj1 = 0 ;
21444 char * kwnames[] = {
21445 (char *) "parent",(char *) "style", NULL
21446 };
21447
21448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21450 if (!SWIG_IsOK(res1)) {
21451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21452 }
21453 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21454 if (obj1) {
21455 ecode2 = SWIG_AsVal_long(obj1, &val2);
21456 if (!SWIG_IsOK(ecode2)) {
21457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21458 }
21459 arg2 = static_cast< long >(val2);
21460 }
21461 {
21462 if (!wxPyCheckForApp()) SWIG_fail;
21463 PyThreadState* __tstate = wxPyBeginAllowThreads();
21464 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21465 wxPyEndAllowThreads(__tstate);
21466 if (PyErr_Occurred()) SWIG_fail;
21467 }
21468 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21469 return resultobj;
21470 fail:
21471 return NULL;
21472 }
21473
21474
21475 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21476 PyObject *resultobj = 0;
21477 wxMDIClientWindow *result = 0 ;
21478
21479 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21480 {
21481 if (!wxPyCheckForApp()) SWIG_fail;
21482 PyThreadState* __tstate = wxPyBeginAllowThreads();
21483 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21484 wxPyEndAllowThreads(__tstate);
21485 if (PyErr_Occurred()) SWIG_fail;
21486 }
21487 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21488 return resultobj;
21489 fail:
21490 return NULL;
21491 }
21492
21493
21494 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21495 PyObject *resultobj = 0;
21496 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21497 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21498 long arg3 = (long) 0 ;
21499 bool result;
21500 void *argp1 = 0 ;
21501 int res1 = 0 ;
21502 void *argp2 = 0 ;
21503 int res2 = 0 ;
21504 long val3 ;
21505 int ecode3 = 0 ;
21506 PyObject * obj0 = 0 ;
21507 PyObject * obj1 = 0 ;
21508 PyObject * obj2 = 0 ;
21509 char * kwnames[] = {
21510 (char *) "self",(char *) "parent",(char *) "style", NULL
21511 };
21512
21513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21515 if (!SWIG_IsOK(res1)) {
21516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21517 }
21518 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21519 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21520 if (!SWIG_IsOK(res2)) {
21521 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21522 }
21523 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21524 if (obj2) {
21525 ecode3 = SWIG_AsVal_long(obj2, &val3);
21526 if (!SWIG_IsOK(ecode3)) {
21527 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21528 }
21529 arg3 = static_cast< long >(val3);
21530 }
21531 {
21532 PyThreadState* __tstate = wxPyBeginAllowThreads();
21533 result = (bool)(arg1)->Create(arg2,arg3);
21534 wxPyEndAllowThreads(__tstate);
21535 if (PyErr_Occurred()) SWIG_fail;
21536 }
21537 {
21538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21539 }
21540 return resultobj;
21541 fail:
21542 return NULL;
21543 }
21544
21545
21546 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21547 PyObject *obj;
21548 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21549 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21550 return SWIG_Py_Void();
21551 }
21552
21553 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21554 return SWIG_Python_InitShadowInstance(args);
21555 }
21556
21557 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21558 PyObject *resultobj = 0;
21559 wxWindow *arg1 = (wxWindow *) 0 ;
21560 int arg2 = (int) (int)-1 ;
21561 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21562 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21563 wxSize const &arg4_defvalue = wxDefaultSize ;
21564 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21565 long arg5 = (long) 0 ;
21566 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21567 wxString *arg6 = (wxString *) &arg6_defvalue ;
21568 wxPyWindow *result = 0 ;
21569 void *argp1 = 0 ;
21570 int res1 = 0 ;
21571 int val2 ;
21572 int ecode2 = 0 ;
21573 wxPoint temp3 ;
21574 wxSize temp4 ;
21575 long val5 ;
21576 int ecode5 = 0 ;
21577 bool temp6 = false ;
21578 PyObject * obj0 = 0 ;
21579 PyObject * obj1 = 0 ;
21580 PyObject * obj2 = 0 ;
21581 PyObject * obj3 = 0 ;
21582 PyObject * obj4 = 0 ;
21583 PyObject * obj5 = 0 ;
21584 char * kwnames[] = {
21585 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21586 };
21587
21588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21590 if (!SWIG_IsOK(res1)) {
21591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21592 }
21593 arg1 = reinterpret_cast< wxWindow * >(argp1);
21594 if (obj1) {
21595 ecode2 = SWIG_AsVal_int(obj1, &val2);
21596 if (!SWIG_IsOK(ecode2)) {
21597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21598 }
21599 arg2 = static_cast< int >(val2);
21600 }
21601 if (obj2) {
21602 {
21603 arg3 = &temp3;
21604 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21605 }
21606 }
21607 if (obj3) {
21608 {
21609 arg4 = &temp4;
21610 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21611 }
21612 }
21613 if (obj4) {
21614 ecode5 = SWIG_AsVal_long(obj4, &val5);
21615 if (!SWIG_IsOK(ecode5)) {
21616 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21617 }
21618 arg5 = static_cast< long >(val5);
21619 }
21620 if (obj5) {
21621 {
21622 arg6 = wxString_in_helper(obj5);
21623 if (arg6 == NULL) SWIG_fail;
21624 temp6 = true;
21625 }
21626 }
21627 {
21628 if (!wxPyCheckForApp()) SWIG_fail;
21629 PyThreadState* __tstate = wxPyBeginAllowThreads();
21630 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21631 wxPyEndAllowThreads(__tstate);
21632 if (PyErr_Occurred()) SWIG_fail;
21633 }
21634 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21635 {
21636 if (temp6)
21637 delete arg6;
21638 }
21639 return resultobj;
21640 fail:
21641 {
21642 if (temp6)
21643 delete arg6;
21644 }
21645 return NULL;
21646 }
21647
21648
21649 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21650 PyObject *resultobj = 0;
21651 wxPyWindow *result = 0 ;
21652
21653 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21654 {
21655 if (!wxPyCheckForApp()) SWIG_fail;
21656 PyThreadState* __tstate = wxPyBeginAllowThreads();
21657 result = (wxPyWindow *)new wxPyWindow();
21658 wxPyEndAllowThreads(__tstate);
21659 if (PyErr_Occurred()) SWIG_fail;
21660 }
21661 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21662 return resultobj;
21663 fail:
21664 return NULL;
21665 }
21666
21667
21668 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21669 PyObject *resultobj = 0;
21670 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21671 PyObject *arg2 = (PyObject *) 0 ;
21672 PyObject *arg3 = (PyObject *) 0 ;
21673 void *argp1 = 0 ;
21674 int res1 = 0 ;
21675 PyObject * obj0 = 0 ;
21676 PyObject * obj1 = 0 ;
21677 PyObject * obj2 = 0 ;
21678 char * kwnames[] = {
21679 (char *) "self",(char *) "self",(char *) "_class", NULL
21680 };
21681
21682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21684 if (!SWIG_IsOK(res1)) {
21685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21686 }
21687 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21688 arg2 = obj1;
21689 arg3 = obj2;
21690 {
21691 PyThreadState* __tstate = wxPyBeginAllowThreads();
21692 (arg1)->_setCallbackInfo(arg2,arg3);
21693 wxPyEndAllowThreads(__tstate);
21694 if (PyErr_Occurred()) SWIG_fail;
21695 }
21696 resultobj = SWIG_Py_Void();
21697 return resultobj;
21698 fail:
21699 return NULL;
21700 }
21701
21702
21703 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21704 PyObject *resultobj = 0;
21705 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21706 wxSize *arg2 = 0 ;
21707 void *argp1 = 0 ;
21708 int res1 = 0 ;
21709 wxSize temp2 ;
21710 PyObject * obj0 = 0 ;
21711 PyObject * obj1 = 0 ;
21712 char * kwnames[] = {
21713 (char *) "self",(char *) "size", NULL
21714 };
21715
21716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21718 if (!SWIG_IsOK(res1)) {
21719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21720 }
21721 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21722 {
21723 arg2 = &temp2;
21724 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21725 }
21726 {
21727 PyThreadState* __tstate = wxPyBeginAllowThreads();
21728 (arg1)->SetBestSize((wxSize const &)*arg2);
21729 wxPyEndAllowThreads(__tstate);
21730 if (PyErr_Occurred()) SWIG_fail;
21731 }
21732 resultobj = SWIG_Py_Void();
21733 return resultobj;
21734 fail:
21735 return NULL;
21736 }
21737
21738
21739 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21740 PyObject *resultobj = 0;
21741 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21742 wxDC *arg2 = (wxDC *) 0 ;
21743 bool result;
21744 void *argp1 = 0 ;
21745 int res1 = 0 ;
21746 void *argp2 = 0 ;
21747 int res2 = 0 ;
21748 PyObject * obj0 = 0 ;
21749 PyObject * obj1 = 0 ;
21750 char * kwnames[] = {
21751 (char *) "self",(char *) "dc", NULL
21752 };
21753
21754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21756 if (!SWIG_IsOK(res1)) {
21757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21758 }
21759 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21760 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21761 if (!SWIG_IsOK(res2)) {
21762 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21763 }
21764 arg2 = reinterpret_cast< wxDC * >(argp2);
21765 {
21766 PyThreadState* __tstate = wxPyBeginAllowThreads();
21767 result = (bool)(arg1)->DoEraseBackground(arg2);
21768 wxPyEndAllowThreads(__tstate);
21769 if (PyErr_Occurred()) SWIG_fail;
21770 }
21771 {
21772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21773 }
21774 return resultobj;
21775 fail:
21776 return NULL;
21777 }
21778
21779
21780 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21781 PyObject *resultobj = 0;
21782 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21783 int arg2 ;
21784 int arg3 ;
21785 int arg4 ;
21786 int arg5 ;
21787 void *argp1 = 0 ;
21788 int res1 = 0 ;
21789 int val2 ;
21790 int ecode2 = 0 ;
21791 int val3 ;
21792 int ecode3 = 0 ;
21793 int val4 ;
21794 int ecode4 = 0 ;
21795 int val5 ;
21796 int ecode5 = 0 ;
21797 PyObject * obj0 = 0 ;
21798 PyObject * obj1 = 0 ;
21799 PyObject * obj2 = 0 ;
21800 PyObject * obj3 = 0 ;
21801 PyObject * obj4 = 0 ;
21802 char * kwnames[] = {
21803 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21804 };
21805
21806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21808 if (!SWIG_IsOK(res1)) {
21809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21810 }
21811 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21812 ecode2 = SWIG_AsVal_int(obj1, &val2);
21813 if (!SWIG_IsOK(ecode2)) {
21814 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21815 }
21816 arg2 = static_cast< int >(val2);
21817 ecode3 = SWIG_AsVal_int(obj2, &val3);
21818 if (!SWIG_IsOK(ecode3)) {
21819 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21820 }
21821 arg3 = static_cast< int >(val3);
21822 ecode4 = SWIG_AsVal_int(obj3, &val4);
21823 if (!SWIG_IsOK(ecode4)) {
21824 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21825 }
21826 arg4 = static_cast< int >(val4);
21827 ecode5 = SWIG_AsVal_int(obj4, &val5);
21828 if (!SWIG_IsOK(ecode5)) {
21829 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21830 }
21831 arg5 = static_cast< int >(val5);
21832 {
21833 PyThreadState* __tstate = wxPyBeginAllowThreads();
21834 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21835 wxPyEndAllowThreads(__tstate);
21836 if (PyErr_Occurred()) SWIG_fail;
21837 }
21838 resultobj = SWIG_Py_Void();
21839 return resultobj;
21840 fail:
21841 return NULL;
21842 }
21843
21844
21845 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21846 PyObject *resultobj = 0;
21847 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21848 int arg2 ;
21849 int arg3 ;
21850 int arg4 ;
21851 int arg5 ;
21852 int arg6 = (int) wxSIZE_AUTO ;
21853 void *argp1 = 0 ;
21854 int res1 = 0 ;
21855 int val2 ;
21856 int ecode2 = 0 ;
21857 int val3 ;
21858 int ecode3 = 0 ;
21859 int val4 ;
21860 int ecode4 = 0 ;
21861 int val5 ;
21862 int ecode5 = 0 ;
21863 int val6 ;
21864 int ecode6 = 0 ;
21865 PyObject * obj0 = 0 ;
21866 PyObject * obj1 = 0 ;
21867 PyObject * obj2 = 0 ;
21868 PyObject * obj3 = 0 ;
21869 PyObject * obj4 = 0 ;
21870 PyObject * obj5 = 0 ;
21871 char * kwnames[] = {
21872 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21873 };
21874
21875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21877 if (!SWIG_IsOK(res1)) {
21878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21879 }
21880 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21881 ecode2 = SWIG_AsVal_int(obj1, &val2);
21882 if (!SWIG_IsOK(ecode2)) {
21883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21884 }
21885 arg2 = static_cast< int >(val2);
21886 ecode3 = SWIG_AsVal_int(obj2, &val3);
21887 if (!SWIG_IsOK(ecode3)) {
21888 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21889 }
21890 arg3 = static_cast< int >(val3);
21891 ecode4 = SWIG_AsVal_int(obj3, &val4);
21892 if (!SWIG_IsOK(ecode4)) {
21893 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21894 }
21895 arg4 = static_cast< int >(val4);
21896 ecode5 = SWIG_AsVal_int(obj4, &val5);
21897 if (!SWIG_IsOK(ecode5)) {
21898 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21899 }
21900 arg5 = static_cast< int >(val5);
21901 if (obj5) {
21902 ecode6 = SWIG_AsVal_int(obj5, &val6);
21903 if (!SWIG_IsOK(ecode6)) {
21904 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21905 }
21906 arg6 = static_cast< int >(val6);
21907 }
21908 {
21909 PyThreadState* __tstate = wxPyBeginAllowThreads();
21910 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21911 wxPyEndAllowThreads(__tstate);
21912 if (PyErr_Occurred()) SWIG_fail;
21913 }
21914 resultobj = SWIG_Py_Void();
21915 return resultobj;
21916 fail:
21917 return NULL;
21918 }
21919
21920
21921 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21922 PyObject *resultobj = 0;
21923 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21924 int arg2 ;
21925 int arg3 ;
21926 void *argp1 = 0 ;
21927 int res1 = 0 ;
21928 int val2 ;
21929 int ecode2 = 0 ;
21930 int val3 ;
21931 int ecode3 = 0 ;
21932 PyObject * obj0 = 0 ;
21933 PyObject * obj1 = 0 ;
21934 PyObject * obj2 = 0 ;
21935 char * kwnames[] = {
21936 (char *) "self",(char *) "width",(char *) "height", NULL
21937 };
21938
21939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21941 if (!SWIG_IsOK(res1)) {
21942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21943 }
21944 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21945 ecode2 = SWIG_AsVal_int(obj1, &val2);
21946 if (!SWIG_IsOK(ecode2)) {
21947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21948 }
21949 arg2 = static_cast< int >(val2);
21950 ecode3 = SWIG_AsVal_int(obj2, &val3);
21951 if (!SWIG_IsOK(ecode3)) {
21952 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21953 }
21954 arg3 = static_cast< int >(val3);
21955 {
21956 PyThreadState* __tstate = wxPyBeginAllowThreads();
21957 (arg1)->DoSetClientSize(arg2,arg3);
21958 wxPyEndAllowThreads(__tstate);
21959 if (PyErr_Occurred()) SWIG_fail;
21960 }
21961 resultobj = SWIG_Py_Void();
21962 return resultobj;
21963 fail:
21964 return NULL;
21965 }
21966
21967
21968 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21969 PyObject *resultobj = 0;
21970 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21971 int arg2 ;
21972 int arg3 ;
21973 void *argp1 = 0 ;
21974 int res1 = 0 ;
21975 int val2 ;
21976 int ecode2 = 0 ;
21977 int val3 ;
21978 int ecode3 = 0 ;
21979 PyObject * obj0 = 0 ;
21980 PyObject * obj1 = 0 ;
21981 PyObject * obj2 = 0 ;
21982 char * kwnames[] = {
21983 (char *) "self",(char *) "x",(char *) "y", NULL
21984 };
21985
21986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21988 if (!SWIG_IsOK(res1)) {
21989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21990 }
21991 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21992 ecode2 = SWIG_AsVal_int(obj1, &val2);
21993 if (!SWIG_IsOK(ecode2)) {
21994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21995 }
21996 arg2 = static_cast< int >(val2);
21997 ecode3 = SWIG_AsVal_int(obj2, &val3);
21998 if (!SWIG_IsOK(ecode3)) {
21999 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22000 }
22001 arg3 = static_cast< int >(val3);
22002 {
22003 PyThreadState* __tstate = wxPyBeginAllowThreads();
22004 (arg1)->DoSetVirtualSize(arg2,arg3);
22005 wxPyEndAllowThreads(__tstate);
22006 if (PyErr_Occurred()) SWIG_fail;
22007 }
22008 resultobj = SWIG_Py_Void();
22009 return resultobj;
22010 fail:
22011 return NULL;
22012 }
22013
22014
22015 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22016 PyObject *resultobj = 0;
22017 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22018 int *arg2 = (int *) 0 ;
22019 int *arg3 = (int *) 0 ;
22020 void *argp1 = 0 ;
22021 int res1 = 0 ;
22022 int temp2 ;
22023 int res2 = SWIG_TMPOBJ ;
22024 int temp3 ;
22025 int res3 = SWIG_TMPOBJ ;
22026 PyObject *swig_obj[1] ;
22027
22028 arg2 = &temp2;
22029 arg3 = &temp3;
22030 if (!args) SWIG_fail;
22031 swig_obj[0] = args;
22032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22033 if (!SWIG_IsOK(res1)) {
22034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22035 }
22036 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22037 {
22038 PyThreadState* __tstate = wxPyBeginAllowThreads();
22039 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
22040 wxPyEndAllowThreads(__tstate);
22041 if (PyErr_Occurred()) SWIG_fail;
22042 }
22043 resultobj = SWIG_Py_Void();
22044 if (SWIG_IsTmpObj(res2)) {
22045 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22046 } else {
22047 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22048 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22049 }
22050 if (SWIG_IsTmpObj(res3)) {
22051 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22052 } else {
22053 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22054 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22055 }
22056 return resultobj;
22057 fail:
22058 return NULL;
22059 }
22060
22061
22062 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22063 PyObject *resultobj = 0;
22064 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22065 int *arg2 = (int *) 0 ;
22066 int *arg3 = (int *) 0 ;
22067 void *argp1 = 0 ;
22068 int res1 = 0 ;
22069 int temp2 ;
22070 int res2 = SWIG_TMPOBJ ;
22071 int temp3 ;
22072 int res3 = SWIG_TMPOBJ ;
22073 PyObject *swig_obj[1] ;
22074
22075 arg2 = &temp2;
22076 arg3 = &temp3;
22077 if (!args) SWIG_fail;
22078 swig_obj[0] = args;
22079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22080 if (!SWIG_IsOK(res1)) {
22081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22082 }
22083 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22084 {
22085 PyThreadState* __tstate = wxPyBeginAllowThreads();
22086 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22087 wxPyEndAllowThreads(__tstate);
22088 if (PyErr_Occurred()) SWIG_fail;
22089 }
22090 resultobj = SWIG_Py_Void();
22091 if (SWIG_IsTmpObj(res2)) {
22092 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22093 } else {
22094 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22095 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22096 }
22097 if (SWIG_IsTmpObj(res3)) {
22098 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22099 } else {
22100 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22101 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22102 }
22103 return resultobj;
22104 fail:
22105 return NULL;
22106 }
22107
22108
22109 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22110 PyObject *resultobj = 0;
22111 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22112 int *arg2 = (int *) 0 ;
22113 int *arg3 = (int *) 0 ;
22114 void *argp1 = 0 ;
22115 int res1 = 0 ;
22116 int temp2 ;
22117 int res2 = SWIG_TMPOBJ ;
22118 int temp3 ;
22119 int res3 = SWIG_TMPOBJ ;
22120 PyObject *swig_obj[1] ;
22121
22122 arg2 = &temp2;
22123 arg3 = &temp3;
22124 if (!args) SWIG_fail;
22125 swig_obj[0] = args;
22126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22127 if (!SWIG_IsOK(res1)) {
22128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22129 }
22130 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22131 {
22132 PyThreadState* __tstate = wxPyBeginAllowThreads();
22133 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22134 wxPyEndAllowThreads(__tstate);
22135 if (PyErr_Occurred()) SWIG_fail;
22136 }
22137 resultobj = SWIG_Py_Void();
22138 if (SWIG_IsTmpObj(res2)) {
22139 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22140 } else {
22141 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22142 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22143 }
22144 if (SWIG_IsTmpObj(res3)) {
22145 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22146 } else {
22147 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22148 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22149 }
22150 return resultobj;
22151 fail:
22152 return NULL;
22153 }
22154
22155
22156 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22157 PyObject *resultobj = 0;
22158 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22159 wxSize result;
22160 void *argp1 = 0 ;
22161 int res1 = 0 ;
22162 PyObject *swig_obj[1] ;
22163
22164 if (!args) SWIG_fail;
22165 swig_obj[0] = args;
22166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22167 if (!SWIG_IsOK(res1)) {
22168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22169 }
22170 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22171 {
22172 PyThreadState* __tstate = wxPyBeginAllowThreads();
22173 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22174 wxPyEndAllowThreads(__tstate);
22175 if (PyErr_Occurred()) SWIG_fail;
22176 }
22177 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22178 return resultobj;
22179 fail:
22180 return NULL;
22181 }
22182
22183
22184 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22185 PyObject *resultobj = 0;
22186 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22187 wxSize result;
22188 void *argp1 = 0 ;
22189 int res1 = 0 ;
22190 PyObject *swig_obj[1] ;
22191
22192 if (!args) SWIG_fail;
22193 swig_obj[0] = args;
22194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22195 if (!SWIG_IsOK(res1)) {
22196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22197 }
22198 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22199 {
22200 PyThreadState* __tstate = wxPyBeginAllowThreads();
22201 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22202 wxPyEndAllowThreads(__tstate);
22203 if (PyErr_Occurred()) SWIG_fail;
22204 }
22205 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22206 return resultobj;
22207 fail:
22208 return NULL;
22209 }
22210
22211
22212 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22213 PyObject *resultobj = 0;
22214 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22215 SwigValueWrapper<wxVisualAttributes > result;
22216 void *argp1 = 0 ;
22217 int res1 = 0 ;
22218 PyObject *swig_obj[1] ;
22219
22220 if (!args) SWIG_fail;
22221 swig_obj[0] = args;
22222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22223 if (!SWIG_IsOK(res1)) {
22224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22225 }
22226 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22227 {
22228 PyThreadState* __tstate = wxPyBeginAllowThreads();
22229 result = (arg1)->GetDefaultAttributes();
22230 wxPyEndAllowThreads(__tstate);
22231 if (PyErr_Occurred()) SWIG_fail;
22232 }
22233 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22234 return resultobj;
22235 fail:
22236 return NULL;
22237 }
22238
22239
22240 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22241 PyObject *resultobj = 0;
22242 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22243 void *argp1 = 0 ;
22244 int res1 = 0 ;
22245 PyObject *swig_obj[1] ;
22246
22247 if (!args) SWIG_fail;
22248 swig_obj[0] = args;
22249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22250 if (!SWIG_IsOK(res1)) {
22251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22252 }
22253 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22254 {
22255 PyThreadState* __tstate = wxPyBeginAllowThreads();
22256 (arg1)->OnInternalIdle();
22257 wxPyEndAllowThreads(__tstate);
22258 if (PyErr_Occurred()) SWIG_fail;
22259 }
22260 resultobj = SWIG_Py_Void();
22261 return resultobj;
22262 fail:
22263 return NULL;
22264 }
22265
22266
22267 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22268 PyObject *obj;
22269 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22270 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22271 return SWIG_Py_Void();
22272 }
22273
22274 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22275 return SWIG_Python_InitShadowInstance(args);
22276 }
22277
22278 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22279 PyObject *resultobj = 0;
22280 wxWindow *arg1 = (wxWindow *) 0 ;
22281 int arg2 = (int) (int)-1 ;
22282 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22283 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22284 wxSize const &arg4_defvalue = wxDefaultSize ;
22285 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22286 long arg5 = (long) 0 ;
22287 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22288 wxString *arg6 = (wxString *) &arg6_defvalue ;
22289 wxPyPanel *result = 0 ;
22290 void *argp1 = 0 ;
22291 int res1 = 0 ;
22292 int val2 ;
22293 int ecode2 = 0 ;
22294 wxPoint temp3 ;
22295 wxSize temp4 ;
22296 long val5 ;
22297 int ecode5 = 0 ;
22298 bool temp6 = false ;
22299 PyObject * obj0 = 0 ;
22300 PyObject * obj1 = 0 ;
22301 PyObject * obj2 = 0 ;
22302 PyObject * obj3 = 0 ;
22303 PyObject * obj4 = 0 ;
22304 PyObject * obj5 = 0 ;
22305 char * kwnames[] = {
22306 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22307 };
22308
22309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22311 if (!SWIG_IsOK(res1)) {
22312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22313 }
22314 arg1 = reinterpret_cast< wxWindow * >(argp1);
22315 if (obj1) {
22316 ecode2 = SWIG_AsVal_int(obj1, &val2);
22317 if (!SWIG_IsOK(ecode2)) {
22318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22319 }
22320 arg2 = static_cast< int >(val2);
22321 }
22322 if (obj2) {
22323 {
22324 arg3 = &temp3;
22325 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22326 }
22327 }
22328 if (obj3) {
22329 {
22330 arg4 = &temp4;
22331 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22332 }
22333 }
22334 if (obj4) {
22335 ecode5 = SWIG_AsVal_long(obj4, &val5);
22336 if (!SWIG_IsOK(ecode5)) {
22337 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22338 }
22339 arg5 = static_cast< long >(val5);
22340 }
22341 if (obj5) {
22342 {
22343 arg6 = wxString_in_helper(obj5);
22344 if (arg6 == NULL) SWIG_fail;
22345 temp6 = true;
22346 }
22347 }
22348 {
22349 if (!wxPyCheckForApp()) SWIG_fail;
22350 PyThreadState* __tstate = wxPyBeginAllowThreads();
22351 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22352 wxPyEndAllowThreads(__tstate);
22353 if (PyErr_Occurred()) SWIG_fail;
22354 }
22355 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22356 {
22357 if (temp6)
22358 delete arg6;
22359 }
22360 return resultobj;
22361 fail:
22362 {
22363 if (temp6)
22364 delete arg6;
22365 }
22366 return NULL;
22367 }
22368
22369
22370 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22371 PyObject *resultobj = 0;
22372 wxPyPanel *result = 0 ;
22373
22374 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22375 {
22376 if (!wxPyCheckForApp()) SWIG_fail;
22377 PyThreadState* __tstate = wxPyBeginAllowThreads();
22378 result = (wxPyPanel *)new wxPyPanel();
22379 wxPyEndAllowThreads(__tstate);
22380 if (PyErr_Occurred()) SWIG_fail;
22381 }
22382 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22383 return resultobj;
22384 fail:
22385 return NULL;
22386 }
22387
22388
22389 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22390 PyObject *resultobj = 0;
22391 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22392 PyObject *arg2 = (PyObject *) 0 ;
22393 PyObject *arg3 = (PyObject *) 0 ;
22394 void *argp1 = 0 ;
22395 int res1 = 0 ;
22396 PyObject * obj0 = 0 ;
22397 PyObject * obj1 = 0 ;
22398 PyObject * obj2 = 0 ;
22399 char * kwnames[] = {
22400 (char *) "self",(char *) "self",(char *) "_class", NULL
22401 };
22402
22403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22405 if (!SWIG_IsOK(res1)) {
22406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22407 }
22408 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22409 arg2 = obj1;
22410 arg3 = obj2;
22411 {
22412 PyThreadState* __tstate = wxPyBeginAllowThreads();
22413 (arg1)->_setCallbackInfo(arg2,arg3);
22414 wxPyEndAllowThreads(__tstate);
22415 if (PyErr_Occurred()) SWIG_fail;
22416 }
22417 resultobj = SWIG_Py_Void();
22418 return resultobj;
22419 fail:
22420 return NULL;
22421 }
22422
22423
22424 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22425 PyObject *resultobj = 0;
22426 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22427 wxSize *arg2 = 0 ;
22428 void *argp1 = 0 ;
22429 int res1 = 0 ;
22430 wxSize temp2 ;
22431 PyObject * obj0 = 0 ;
22432 PyObject * obj1 = 0 ;
22433 char * kwnames[] = {
22434 (char *) "self",(char *) "size", NULL
22435 };
22436
22437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22439 if (!SWIG_IsOK(res1)) {
22440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22441 }
22442 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22443 {
22444 arg2 = &temp2;
22445 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22446 }
22447 {
22448 PyThreadState* __tstate = wxPyBeginAllowThreads();
22449 (arg1)->SetBestSize((wxSize const &)*arg2);
22450 wxPyEndAllowThreads(__tstate);
22451 if (PyErr_Occurred()) SWIG_fail;
22452 }
22453 resultobj = SWIG_Py_Void();
22454 return resultobj;
22455 fail:
22456 return NULL;
22457 }
22458
22459
22460 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22461 PyObject *resultobj = 0;
22462 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22463 wxDC *arg2 = (wxDC *) 0 ;
22464 bool result;
22465 void *argp1 = 0 ;
22466 int res1 = 0 ;
22467 void *argp2 = 0 ;
22468 int res2 = 0 ;
22469 PyObject * obj0 = 0 ;
22470 PyObject * obj1 = 0 ;
22471 char * kwnames[] = {
22472 (char *) "self",(char *) "dc", NULL
22473 };
22474
22475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22477 if (!SWIG_IsOK(res1)) {
22478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22479 }
22480 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22481 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22482 if (!SWIG_IsOK(res2)) {
22483 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22484 }
22485 arg2 = reinterpret_cast< wxDC * >(argp2);
22486 {
22487 PyThreadState* __tstate = wxPyBeginAllowThreads();
22488 result = (bool)(arg1)->DoEraseBackground(arg2);
22489 wxPyEndAllowThreads(__tstate);
22490 if (PyErr_Occurred()) SWIG_fail;
22491 }
22492 {
22493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22494 }
22495 return resultobj;
22496 fail:
22497 return NULL;
22498 }
22499
22500
22501 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22502 PyObject *resultobj = 0;
22503 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22504 int arg2 ;
22505 int arg3 ;
22506 int arg4 ;
22507 int arg5 ;
22508 void *argp1 = 0 ;
22509 int res1 = 0 ;
22510 int val2 ;
22511 int ecode2 = 0 ;
22512 int val3 ;
22513 int ecode3 = 0 ;
22514 int val4 ;
22515 int ecode4 = 0 ;
22516 int val5 ;
22517 int ecode5 = 0 ;
22518 PyObject * obj0 = 0 ;
22519 PyObject * obj1 = 0 ;
22520 PyObject * obj2 = 0 ;
22521 PyObject * obj3 = 0 ;
22522 PyObject * obj4 = 0 ;
22523 char * kwnames[] = {
22524 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22525 };
22526
22527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22529 if (!SWIG_IsOK(res1)) {
22530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22531 }
22532 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22533 ecode2 = SWIG_AsVal_int(obj1, &val2);
22534 if (!SWIG_IsOK(ecode2)) {
22535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22536 }
22537 arg2 = static_cast< int >(val2);
22538 ecode3 = SWIG_AsVal_int(obj2, &val3);
22539 if (!SWIG_IsOK(ecode3)) {
22540 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22541 }
22542 arg3 = static_cast< int >(val3);
22543 ecode4 = SWIG_AsVal_int(obj3, &val4);
22544 if (!SWIG_IsOK(ecode4)) {
22545 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22546 }
22547 arg4 = static_cast< int >(val4);
22548 ecode5 = SWIG_AsVal_int(obj4, &val5);
22549 if (!SWIG_IsOK(ecode5)) {
22550 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22551 }
22552 arg5 = static_cast< int >(val5);
22553 {
22554 PyThreadState* __tstate = wxPyBeginAllowThreads();
22555 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22556 wxPyEndAllowThreads(__tstate);
22557 if (PyErr_Occurred()) SWIG_fail;
22558 }
22559 resultobj = SWIG_Py_Void();
22560 return resultobj;
22561 fail:
22562 return NULL;
22563 }
22564
22565
22566 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22567 PyObject *resultobj = 0;
22568 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22569 int arg2 ;
22570 int arg3 ;
22571 int arg4 ;
22572 int arg5 ;
22573 int arg6 = (int) wxSIZE_AUTO ;
22574 void *argp1 = 0 ;
22575 int res1 = 0 ;
22576 int val2 ;
22577 int ecode2 = 0 ;
22578 int val3 ;
22579 int ecode3 = 0 ;
22580 int val4 ;
22581 int ecode4 = 0 ;
22582 int val5 ;
22583 int ecode5 = 0 ;
22584 int val6 ;
22585 int ecode6 = 0 ;
22586 PyObject * obj0 = 0 ;
22587 PyObject * obj1 = 0 ;
22588 PyObject * obj2 = 0 ;
22589 PyObject * obj3 = 0 ;
22590 PyObject * obj4 = 0 ;
22591 PyObject * obj5 = 0 ;
22592 char * kwnames[] = {
22593 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22594 };
22595
22596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22598 if (!SWIG_IsOK(res1)) {
22599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22600 }
22601 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22602 ecode2 = SWIG_AsVal_int(obj1, &val2);
22603 if (!SWIG_IsOK(ecode2)) {
22604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22605 }
22606 arg2 = static_cast< int >(val2);
22607 ecode3 = SWIG_AsVal_int(obj2, &val3);
22608 if (!SWIG_IsOK(ecode3)) {
22609 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22610 }
22611 arg3 = static_cast< int >(val3);
22612 ecode4 = SWIG_AsVal_int(obj3, &val4);
22613 if (!SWIG_IsOK(ecode4)) {
22614 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22615 }
22616 arg4 = static_cast< int >(val4);
22617 ecode5 = SWIG_AsVal_int(obj4, &val5);
22618 if (!SWIG_IsOK(ecode5)) {
22619 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22620 }
22621 arg5 = static_cast< int >(val5);
22622 if (obj5) {
22623 ecode6 = SWIG_AsVal_int(obj5, &val6);
22624 if (!SWIG_IsOK(ecode6)) {
22625 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22626 }
22627 arg6 = static_cast< int >(val6);
22628 }
22629 {
22630 PyThreadState* __tstate = wxPyBeginAllowThreads();
22631 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22632 wxPyEndAllowThreads(__tstate);
22633 if (PyErr_Occurred()) SWIG_fail;
22634 }
22635 resultobj = SWIG_Py_Void();
22636 return resultobj;
22637 fail:
22638 return NULL;
22639 }
22640
22641
22642 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22643 PyObject *resultobj = 0;
22644 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22645 int arg2 ;
22646 int arg3 ;
22647 void *argp1 = 0 ;
22648 int res1 = 0 ;
22649 int val2 ;
22650 int ecode2 = 0 ;
22651 int val3 ;
22652 int ecode3 = 0 ;
22653 PyObject * obj0 = 0 ;
22654 PyObject * obj1 = 0 ;
22655 PyObject * obj2 = 0 ;
22656 char * kwnames[] = {
22657 (char *) "self",(char *) "width",(char *) "height", NULL
22658 };
22659
22660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22662 if (!SWIG_IsOK(res1)) {
22663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22664 }
22665 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22666 ecode2 = SWIG_AsVal_int(obj1, &val2);
22667 if (!SWIG_IsOK(ecode2)) {
22668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22669 }
22670 arg2 = static_cast< int >(val2);
22671 ecode3 = SWIG_AsVal_int(obj2, &val3);
22672 if (!SWIG_IsOK(ecode3)) {
22673 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22674 }
22675 arg3 = static_cast< int >(val3);
22676 {
22677 PyThreadState* __tstate = wxPyBeginAllowThreads();
22678 (arg1)->DoSetClientSize(arg2,arg3);
22679 wxPyEndAllowThreads(__tstate);
22680 if (PyErr_Occurred()) SWIG_fail;
22681 }
22682 resultobj = SWIG_Py_Void();
22683 return resultobj;
22684 fail:
22685 return NULL;
22686 }
22687
22688
22689 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22690 PyObject *resultobj = 0;
22691 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22692 int arg2 ;
22693 int arg3 ;
22694 void *argp1 = 0 ;
22695 int res1 = 0 ;
22696 int val2 ;
22697 int ecode2 = 0 ;
22698 int val3 ;
22699 int ecode3 = 0 ;
22700 PyObject * obj0 = 0 ;
22701 PyObject * obj1 = 0 ;
22702 PyObject * obj2 = 0 ;
22703 char * kwnames[] = {
22704 (char *) "self",(char *) "x",(char *) "y", NULL
22705 };
22706
22707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22709 if (!SWIG_IsOK(res1)) {
22710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22711 }
22712 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22713 ecode2 = SWIG_AsVal_int(obj1, &val2);
22714 if (!SWIG_IsOK(ecode2)) {
22715 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22716 }
22717 arg2 = static_cast< int >(val2);
22718 ecode3 = SWIG_AsVal_int(obj2, &val3);
22719 if (!SWIG_IsOK(ecode3)) {
22720 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22721 }
22722 arg3 = static_cast< int >(val3);
22723 {
22724 PyThreadState* __tstate = wxPyBeginAllowThreads();
22725 (arg1)->DoSetVirtualSize(arg2,arg3);
22726 wxPyEndAllowThreads(__tstate);
22727 if (PyErr_Occurred()) SWIG_fail;
22728 }
22729 resultobj = SWIG_Py_Void();
22730 return resultobj;
22731 fail:
22732 return NULL;
22733 }
22734
22735
22736 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22737 PyObject *resultobj = 0;
22738 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22739 int *arg2 = (int *) 0 ;
22740 int *arg3 = (int *) 0 ;
22741 void *argp1 = 0 ;
22742 int res1 = 0 ;
22743 int temp2 ;
22744 int res2 = SWIG_TMPOBJ ;
22745 int temp3 ;
22746 int res3 = SWIG_TMPOBJ ;
22747 PyObject *swig_obj[1] ;
22748
22749 arg2 = &temp2;
22750 arg3 = &temp3;
22751 if (!args) SWIG_fail;
22752 swig_obj[0] = args;
22753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22754 if (!SWIG_IsOK(res1)) {
22755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22756 }
22757 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22758 {
22759 PyThreadState* __tstate = wxPyBeginAllowThreads();
22760 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22761 wxPyEndAllowThreads(__tstate);
22762 if (PyErr_Occurred()) SWIG_fail;
22763 }
22764 resultobj = SWIG_Py_Void();
22765 if (SWIG_IsTmpObj(res2)) {
22766 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22767 } else {
22768 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22769 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22770 }
22771 if (SWIG_IsTmpObj(res3)) {
22772 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22773 } else {
22774 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22775 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22776 }
22777 return resultobj;
22778 fail:
22779 return NULL;
22780 }
22781
22782
22783 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22784 PyObject *resultobj = 0;
22785 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22786 int *arg2 = (int *) 0 ;
22787 int *arg3 = (int *) 0 ;
22788 void *argp1 = 0 ;
22789 int res1 = 0 ;
22790 int temp2 ;
22791 int res2 = SWIG_TMPOBJ ;
22792 int temp3 ;
22793 int res3 = SWIG_TMPOBJ ;
22794 PyObject *swig_obj[1] ;
22795
22796 arg2 = &temp2;
22797 arg3 = &temp3;
22798 if (!args) SWIG_fail;
22799 swig_obj[0] = args;
22800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22801 if (!SWIG_IsOK(res1)) {
22802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22803 }
22804 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22805 {
22806 PyThreadState* __tstate = wxPyBeginAllowThreads();
22807 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22808 wxPyEndAllowThreads(__tstate);
22809 if (PyErr_Occurred()) SWIG_fail;
22810 }
22811 resultobj = SWIG_Py_Void();
22812 if (SWIG_IsTmpObj(res2)) {
22813 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22814 } else {
22815 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22816 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22817 }
22818 if (SWIG_IsTmpObj(res3)) {
22819 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22820 } else {
22821 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22822 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22823 }
22824 return resultobj;
22825 fail:
22826 return NULL;
22827 }
22828
22829
22830 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22831 PyObject *resultobj = 0;
22832 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22833 int *arg2 = (int *) 0 ;
22834 int *arg3 = (int *) 0 ;
22835 void *argp1 = 0 ;
22836 int res1 = 0 ;
22837 int temp2 ;
22838 int res2 = SWIG_TMPOBJ ;
22839 int temp3 ;
22840 int res3 = SWIG_TMPOBJ ;
22841 PyObject *swig_obj[1] ;
22842
22843 arg2 = &temp2;
22844 arg3 = &temp3;
22845 if (!args) SWIG_fail;
22846 swig_obj[0] = args;
22847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22848 if (!SWIG_IsOK(res1)) {
22849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22850 }
22851 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22852 {
22853 PyThreadState* __tstate = wxPyBeginAllowThreads();
22854 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22855 wxPyEndAllowThreads(__tstate);
22856 if (PyErr_Occurred()) SWIG_fail;
22857 }
22858 resultobj = SWIG_Py_Void();
22859 if (SWIG_IsTmpObj(res2)) {
22860 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22861 } else {
22862 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22863 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22864 }
22865 if (SWIG_IsTmpObj(res3)) {
22866 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22867 } else {
22868 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22869 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22870 }
22871 return resultobj;
22872 fail:
22873 return NULL;
22874 }
22875
22876
22877 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22878 PyObject *resultobj = 0;
22879 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22880 wxSize result;
22881 void *argp1 = 0 ;
22882 int res1 = 0 ;
22883 PyObject *swig_obj[1] ;
22884
22885 if (!args) SWIG_fail;
22886 swig_obj[0] = args;
22887 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22888 if (!SWIG_IsOK(res1)) {
22889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22890 }
22891 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22892 {
22893 PyThreadState* __tstate = wxPyBeginAllowThreads();
22894 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22895 wxPyEndAllowThreads(__tstate);
22896 if (PyErr_Occurred()) SWIG_fail;
22897 }
22898 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22899 return resultobj;
22900 fail:
22901 return NULL;
22902 }
22903
22904
22905 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22906 PyObject *resultobj = 0;
22907 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22908 wxSize result;
22909 void *argp1 = 0 ;
22910 int res1 = 0 ;
22911 PyObject *swig_obj[1] ;
22912
22913 if (!args) SWIG_fail;
22914 swig_obj[0] = args;
22915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22916 if (!SWIG_IsOK(res1)) {
22917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22918 }
22919 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22920 {
22921 PyThreadState* __tstate = wxPyBeginAllowThreads();
22922 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22923 wxPyEndAllowThreads(__tstate);
22924 if (PyErr_Occurred()) SWIG_fail;
22925 }
22926 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22927 return resultobj;
22928 fail:
22929 return NULL;
22930 }
22931
22932
22933 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22934 PyObject *resultobj = 0;
22935 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22936 SwigValueWrapper<wxVisualAttributes > result;
22937 void *argp1 = 0 ;
22938 int res1 = 0 ;
22939 PyObject *swig_obj[1] ;
22940
22941 if (!args) SWIG_fail;
22942 swig_obj[0] = args;
22943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22944 if (!SWIG_IsOK(res1)) {
22945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22946 }
22947 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22948 {
22949 PyThreadState* __tstate = wxPyBeginAllowThreads();
22950 result = (arg1)->GetDefaultAttributes();
22951 wxPyEndAllowThreads(__tstate);
22952 if (PyErr_Occurred()) SWIG_fail;
22953 }
22954 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22955 return resultobj;
22956 fail:
22957 return NULL;
22958 }
22959
22960
22961 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22962 PyObject *resultobj = 0;
22963 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22964 void *argp1 = 0 ;
22965 int res1 = 0 ;
22966 PyObject *swig_obj[1] ;
22967
22968 if (!args) SWIG_fail;
22969 swig_obj[0] = args;
22970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22971 if (!SWIG_IsOK(res1)) {
22972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22973 }
22974 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22975 {
22976 PyThreadState* __tstate = wxPyBeginAllowThreads();
22977 (arg1)->OnInternalIdle();
22978 wxPyEndAllowThreads(__tstate);
22979 if (PyErr_Occurred()) SWIG_fail;
22980 }
22981 resultobj = SWIG_Py_Void();
22982 return resultobj;
22983 fail:
22984 return NULL;
22985 }
22986
22987
22988 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22989 PyObject *obj;
22990 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22991 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22992 return SWIG_Py_Void();
22993 }
22994
22995 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22996 return SWIG_Python_InitShadowInstance(args);
22997 }
22998
22999 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23000 PyObject *resultobj = 0;
23001 wxWindow *arg1 = (wxWindow *) 0 ;
23002 int arg2 = (int) (int)-1 ;
23003 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23004 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23005 wxSize const &arg4_defvalue = wxDefaultSize ;
23006 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23007 long arg5 = (long) 0 ;
23008 wxString const &arg6_defvalue = wxPyPanelNameStr ;
23009 wxString *arg6 = (wxString *) &arg6_defvalue ;
23010 wxPyScrolledWindow *result = 0 ;
23011 void *argp1 = 0 ;
23012 int res1 = 0 ;
23013 int val2 ;
23014 int ecode2 = 0 ;
23015 wxPoint temp3 ;
23016 wxSize temp4 ;
23017 long val5 ;
23018 int ecode5 = 0 ;
23019 bool temp6 = false ;
23020 PyObject * obj0 = 0 ;
23021 PyObject * obj1 = 0 ;
23022 PyObject * obj2 = 0 ;
23023 PyObject * obj3 = 0 ;
23024 PyObject * obj4 = 0 ;
23025 PyObject * obj5 = 0 ;
23026 char * kwnames[] = {
23027 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23028 };
23029
23030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23032 if (!SWIG_IsOK(res1)) {
23033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23034 }
23035 arg1 = reinterpret_cast< wxWindow * >(argp1);
23036 if (obj1) {
23037 ecode2 = SWIG_AsVal_int(obj1, &val2);
23038 if (!SWIG_IsOK(ecode2)) {
23039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23040 }
23041 arg2 = static_cast< int >(val2);
23042 }
23043 if (obj2) {
23044 {
23045 arg3 = &temp3;
23046 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23047 }
23048 }
23049 if (obj3) {
23050 {
23051 arg4 = &temp4;
23052 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23053 }
23054 }
23055 if (obj4) {
23056 ecode5 = SWIG_AsVal_long(obj4, &val5);
23057 if (!SWIG_IsOK(ecode5)) {
23058 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23059 }
23060 arg5 = static_cast< long >(val5);
23061 }
23062 if (obj5) {
23063 {
23064 arg6 = wxString_in_helper(obj5);
23065 if (arg6 == NULL) SWIG_fail;
23066 temp6 = true;
23067 }
23068 }
23069 {
23070 if (!wxPyCheckForApp()) SWIG_fail;
23071 PyThreadState* __tstate = wxPyBeginAllowThreads();
23072 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23073 wxPyEndAllowThreads(__tstate);
23074 if (PyErr_Occurred()) SWIG_fail;
23075 }
23076 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
23077 {
23078 if (temp6)
23079 delete arg6;
23080 }
23081 return resultobj;
23082 fail:
23083 {
23084 if (temp6)
23085 delete arg6;
23086 }
23087 return NULL;
23088 }
23089
23090
23091 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23092 PyObject *resultobj = 0;
23093 wxPyScrolledWindow *result = 0 ;
23094
23095 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
23096 {
23097 if (!wxPyCheckForApp()) SWIG_fail;
23098 PyThreadState* __tstate = wxPyBeginAllowThreads();
23099 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
23100 wxPyEndAllowThreads(__tstate);
23101 if (PyErr_Occurred()) SWIG_fail;
23102 }
23103 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
23104 return resultobj;
23105 fail:
23106 return NULL;
23107 }
23108
23109
23110 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23111 PyObject *resultobj = 0;
23112 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23113 PyObject *arg2 = (PyObject *) 0 ;
23114 PyObject *arg3 = (PyObject *) 0 ;
23115 void *argp1 = 0 ;
23116 int res1 = 0 ;
23117 PyObject * obj0 = 0 ;
23118 PyObject * obj1 = 0 ;
23119 PyObject * obj2 = 0 ;
23120 char * kwnames[] = {
23121 (char *) "self",(char *) "self",(char *) "_class", NULL
23122 };
23123
23124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23126 if (!SWIG_IsOK(res1)) {
23127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23128 }
23129 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23130 arg2 = obj1;
23131 arg3 = obj2;
23132 {
23133 PyThreadState* __tstate = wxPyBeginAllowThreads();
23134 (arg1)->_setCallbackInfo(arg2,arg3);
23135 wxPyEndAllowThreads(__tstate);
23136 if (PyErr_Occurred()) SWIG_fail;
23137 }
23138 resultobj = SWIG_Py_Void();
23139 return resultobj;
23140 fail:
23141 return NULL;
23142 }
23143
23144
23145 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23146 PyObject *resultobj = 0;
23147 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23148 wxSize *arg2 = 0 ;
23149 void *argp1 = 0 ;
23150 int res1 = 0 ;
23151 wxSize temp2 ;
23152 PyObject * obj0 = 0 ;
23153 PyObject * obj1 = 0 ;
23154 char * kwnames[] = {
23155 (char *) "self",(char *) "size", NULL
23156 };
23157
23158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
23159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23160 if (!SWIG_IsOK(res1)) {
23161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23162 }
23163 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23164 {
23165 arg2 = &temp2;
23166 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23167 }
23168 {
23169 PyThreadState* __tstate = wxPyBeginAllowThreads();
23170 (arg1)->SetBestSize((wxSize const &)*arg2);
23171 wxPyEndAllowThreads(__tstate);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 }
23174 resultobj = SWIG_Py_Void();
23175 return resultobj;
23176 fail:
23177 return NULL;
23178 }
23179
23180
23181 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23182 PyObject *resultobj = 0;
23183 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23184 wxDC *arg2 = (wxDC *) 0 ;
23185 bool result;
23186 void *argp1 = 0 ;
23187 int res1 = 0 ;
23188 void *argp2 = 0 ;
23189 int res2 = 0 ;
23190 PyObject * obj0 = 0 ;
23191 PyObject * obj1 = 0 ;
23192 char * kwnames[] = {
23193 (char *) "self",(char *) "dc", NULL
23194 };
23195
23196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23198 if (!SWIG_IsOK(res1)) {
23199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23200 }
23201 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23202 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23203 if (!SWIG_IsOK(res2)) {
23204 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23205 }
23206 arg2 = reinterpret_cast< wxDC * >(argp2);
23207 {
23208 PyThreadState* __tstate = wxPyBeginAllowThreads();
23209 result = (bool)(arg1)->DoEraseBackground(arg2);
23210 wxPyEndAllowThreads(__tstate);
23211 if (PyErr_Occurred()) SWIG_fail;
23212 }
23213 {
23214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23215 }
23216 return resultobj;
23217 fail:
23218 return NULL;
23219 }
23220
23221
23222 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23223 PyObject *resultobj = 0;
23224 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23225 int arg2 ;
23226 int arg3 ;
23227 int arg4 ;
23228 int arg5 ;
23229 void *argp1 = 0 ;
23230 int res1 = 0 ;
23231 int val2 ;
23232 int ecode2 = 0 ;
23233 int val3 ;
23234 int ecode3 = 0 ;
23235 int val4 ;
23236 int ecode4 = 0 ;
23237 int val5 ;
23238 int ecode5 = 0 ;
23239 PyObject * obj0 = 0 ;
23240 PyObject * obj1 = 0 ;
23241 PyObject * obj2 = 0 ;
23242 PyObject * obj3 = 0 ;
23243 PyObject * obj4 = 0 ;
23244 char * kwnames[] = {
23245 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23246 };
23247
23248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23250 if (!SWIG_IsOK(res1)) {
23251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23252 }
23253 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23254 ecode2 = SWIG_AsVal_int(obj1, &val2);
23255 if (!SWIG_IsOK(ecode2)) {
23256 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23257 }
23258 arg2 = static_cast< int >(val2);
23259 ecode3 = SWIG_AsVal_int(obj2, &val3);
23260 if (!SWIG_IsOK(ecode3)) {
23261 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23262 }
23263 arg3 = static_cast< int >(val3);
23264 ecode4 = SWIG_AsVal_int(obj3, &val4);
23265 if (!SWIG_IsOK(ecode4)) {
23266 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23267 }
23268 arg4 = static_cast< int >(val4);
23269 ecode5 = SWIG_AsVal_int(obj4, &val5);
23270 if (!SWIG_IsOK(ecode5)) {
23271 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23272 }
23273 arg5 = static_cast< int >(val5);
23274 {
23275 PyThreadState* __tstate = wxPyBeginAllowThreads();
23276 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23277 wxPyEndAllowThreads(__tstate);
23278 if (PyErr_Occurred()) SWIG_fail;
23279 }
23280 resultobj = SWIG_Py_Void();
23281 return resultobj;
23282 fail:
23283 return NULL;
23284 }
23285
23286
23287 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23288 PyObject *resultobj = 0;
23289 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23290 int arg2 ;
23291 int arg3 ;
23292 int arg4 ;
23293 int arg5 ;
23294 int arg6 = (int) wxSIZE_AUTO ;
23295 void *argp1 = 0 ;
23296 int res1 = 0 ;
23297 int val2 ;
23298 int ecode2 = 0 ;
23299 int val3 ;
23300 int ecode3 = 0 ;
23301 int val4 ;
23302 int ecode4 = 0 ;
23303 int val5 ;
23304 int ecode5 = 0 ;
23305 int val6 ;
23306 int ecode6 = 0 ;
23307 PyObject * obj0 = 0 ;
23308 PyObject * obj1 = 0 ;
23309 PyObject * obj2 = 0 ;
23310 PyObject * obj3 = 0 ;
23311 PyObject * obj4 = 0 ;
23312 PyObject * obj5 = 0 ;
23313 char * kwnames[] = {
23314 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23315 };
23316
23317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23319 if (!SWIG_IsOK(res1)) {
23320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23321 }
23322 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23323 ecode2 = SWIG_AsVal_int(obj1, &val2);
23324 if (!SWIG_IsOK(ecode2)) {
23325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23326 }
23327 arg2 = static_cast< int >(val2);
23328 ecode3 = SWIG_AsVal_int(obj2, &val3);
23329 if (!SWIG_IsOK(ecode3)) {
23330 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23331 }
23332 arg3 = static_cast< int >(val3);
23333 ecode4 = SWIG_AsVal_int(obj3, &val4);
23334 if (!SWIG_IsOK(ecode4)) {
23335 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23336 }
23337 arg4 = static_cast< int >(val4);
23338 ecode5 = SWIG_AsVal_int(obj4, &val5);
23339 if (!SWIG_IsOK(ecode5)) {
23340 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23341 }
23342 arg5 = static_cast< int >(val5);
23343 if (obj5) {
23344 ecode6 = SWIG_AsVal_int(obj5, &val6);
23345 if (!SWIG_IsOK(ecode6)) {
23346 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23347 }
23348 arg6 = static_cast< int >(val6);
23349 }
23350 {
23351 PyThreadState* __tstate = wxPyBeginAllowThreads();
23352 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23353 wxPyEndAllowThreads(__tstate);
23354 if (PyErr_Occurred()) SWIG_fail;
23355 }
23356 resultobj = SWIG_Py_Void();
23357 return resultobj;
23358 fail:
23359 return NULL;
23360 }
23361
23362
23363 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23364 PyObject *resultobj = 0;
23365 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23366 int arg2 ;
23367 int arg3 ;
23368 void *argp1 = 0 ;
23369 int res1 = 0 ;
23370 int val2 ;
23371 int ecode2 = 0 ;
23372 int val3 ;
23373 int ecode3 = 0 ;
23374 PyObject * obj0 = 0 ;
23375 PyObject * obj1 = 0 ;
23376 PyObject * obj2 = 0 ;
23377 char * kwnames[] = {
23378 (char *) "self",(char *) "width",(char *) "height", NULL
23379 };
23380
23381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23383 if (!SWIG_IsOK(res1)) {
23384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23385 }
23386 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23387 ecode2 = SWIG_AsVal_int(obj1, &val2);
23388 if (!SWIG_IsOK(ecode2)) {
23389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23390 }
23391 arg2 = static_cast< int >(val2);
23392 ecode3 = SWIG_AsVal_int(obj2, &val3);
23393 if (!SWIG_IsOK(ecode3)) {
23394 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23395 }
23396 arg3 = static_cast< int >(val3);
23397 {
23398 PyThreadState* __tstate = wxPyBeginAllowThreads();
23399 (arg1)->DoSetClientSize(arg2,arg3);
23400 wxPyEndAllowThreads(__tstate);
23401 if (PyErr_Occurred()) SWIG_fail;
23402 }
23403 resultobj = SWIG_Py_Void();
23404 return resultobj;
23405 fail:
23406 return NULL;
23407 }
23408
23409
23410 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23411 PyObject *resultobj = 0;
23412 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23413 int arg2 ;
23414 int arg3 ;
23415 void *argp1 = 0 ;
23416 int res1 = 0 ;
23417 int val2 ;
23418 int ecode2 = 0 ;
23419 int val3 ;
23420 int ecode3 = 0 ;
23421 PyObject * obj0 = 0 ;
23422 PyObject * obj1 = 0 ;
23423 PyObject * obj2 = 0 ;
23424 char * kwnames[] = {
23425 (char *) "self",(char *) "x",(char *) "y", NULL
23426 };
23427
23428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23430 if (!SWIG_IsOK(res1)) {
23431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23432 }
23433 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23434 ecode2 = SWIG_AsVal_int(obj1, &val2);
23435 if (!SWIG_IsOK(ecode2)) {
23436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23437 }
23438 arg2 = static_cast< int >(val2);
23439 ecode3 = SWIG_AsVal_int(obj2, &val3);
23440 if (!SWIG_IsOK(ecode3)) {
23441 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23442 }
23443 arg3 = static_cast< int >(val3);
23444 {
23445 PyThreadState* __tstate = wxPyBeginAllowThreads();
23446 (arg1)->DoSetVirtualSize(arg2,arg3);
23447 wxPyEndAllowThreads(__tstate);
23448 if (PyErr_Occurred()) SWIG_fail;
23449 }
23450 resultobj = SWIG_Py_Void();
23451 return resultobj;
23452 fail:
23453 return NULL;
23454 }
23455
23456
23457 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23458 PyObject *resultobj = 0;
23459 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23460 int *arg2 = (int *) 0 ;
23461 int *arg3 = (int *) 0 ;
23462 void *argp1 = 0 ;
23463 int res1 = 0 ;
23464 int temp2 ;
23465 int res2 = SWIG_TMPOBJ ;
23466 int temp3 ;
23467 int res3 = SWIG_TMPOBJ ;
23468 PyObject *swig_obj[1] ;
23469
23470 arg2 = &temp2;
23471 arg3 = &temp3;
23472 if (!args) SWIG_fail;
23473 swig_obj[0] = args;
23474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23475 if (!SWIG_IsOK(res1)) {
23476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23477 }
23478 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23479 {
23480 PyThreadState* __tstate = wxPyBeginAllowThreads();
23481 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23482 wxPyEndAllowThreads(__tstate);
23483 if (PyErr_Occurred()) SWIG_fail;
23484 }
23485 resultobj = SWIG_Py_Void();
23486 if (SWIG_IsTmpObj(res2)) {
23487 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23488 } else {
23489 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23490 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23491 }
23492 if (SWIG_IsTmpObj(res3)) {
23493 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23494 } else {
23495 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23496 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23497 }
23498 return resultobj;
23499 fail:
23500 return NULL;
23501 }
23502
23503
23504 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23505 PyObject *resultobj = 0;
23506 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23507 int *arg2 = (int *) 0 ;
23508 int *arg3 = (int *) 0 ;
23509 void *argp1 = 0 ;
23510 int res1 = 0 ;
23511 int temp2 ;
23512 int res2 = SWIG_TMPOBJ ;
23513 int temp3 ;
23514 int res3 = SWIG_TMPOBJ ;
23515 PyObject *swig_obj[1] ;
23516
23517 arg2 = &temp2;
23518 arg3 = &temp3;
23519 if (!args) SWIG_fail;
23520 swig_obj[0] = args;
23521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23522 if (!SWIG_IsOK(res1)) {
23523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23524 }
23525 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23526 {
23527 PyThreadState* __tstate = wxPyBeginAllowThreads();
23528 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23529 wxPyEndAllowThreads(__tstate);
23530 if (PyErr_Occurred()) SWIG_fail;
23531 }
23532 resultobj = SWIG_Py_Void();
23533 if (SWIG_IsTmpObj(res2)) {
23534 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23535 } else {
23536 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23537 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23538 }
23539 if (SWIG_IsTmpObj(res3)) {
23540 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23541 } else {
23542 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23543 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23544 }
23545 return resultobj;
23546 fail:
23547 return NULL;
23548 }
23549
23550
23551 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23552 PyObject *resultobj = 0;
23553 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23554 int *arg2 = (int *) 0 ;
23555 int *arg3 = (int *) 0 ;
23556 void *argp1 = 0 ;
23557 int res1 = 0 ;
23558 int temp2 ;
23559 int res2 = SWIG_TMPOBJ ;
23560 int temp3 ;
23561 int res3 = SWIG_TMPOBJ ;
23562 PyObject *swig_obj[1] ;
23563
23564 arg2 = &temp2;
23565 arg3 = &temp3;
23566 if (!args) SWIG_fail;
23567 swig_obj[0] = args;
23568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23569 if (!SWIG_IsOK(res1)) {
23570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23571 }
23572 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23573 {
23574 PyThreadState* __tstate = wxPyBeginAllowThreads();
23575 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23576 wxPyEndAllowThreads(__tstate);
23577 if (PyErr_Occurred()) SWIG_fail;
23578 }
23579 resultobj = SWIG_Py_Void();
23580 if (SWIG_IsTmpObj(res2)) {
23581 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23582 } else {
23583 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23584 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23585 }
23586 if (SWIG_IsTmpObj(res3)) {
23587 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23588 } else {
23589 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23590 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23591 }
23592 return resultobj;
23593 fail:
23594 return NULL;
23595 }
23596
23597
23598 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23599 PyObject *resultobj = 0;
23600 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23601 wxSize result;
23602 void *argp1 = 0 ;
23603 int res1 = 0 ;
23604 PyObject *swig_obj[1] ;
23605
23606 if (!args) SWIG_fail;
23607 swig_obj[0] = args;
23608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23609 if (!SWIG_IsOK(res1)) {
23610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23611 }
23612 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23613 {
23614 PyThreadState* __tstate = wxPyBeginAllowThreads();
23615 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23616 wxPyEndAllowThreads(__tstate);
23617 if (PyErr_Occurred()) SWIG_fail;
23618 }
23619 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23620 return resultobj;
23621 fail:
23622 return NULL;
23623 }
23624
23625
23626 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23627 PyObject *resultobj = 0;
23628 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23629 wxSize result;
23630 void *argp1 = 0 ;
23631 int res1 = 0 ;
23632 PyObject *swig_obj[1] ;
23633
23634 if (!args) SWIG_fail;
23635 swig_obj[0] = args;
23636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23637 if (!SWIG_IsOK(res1)) {
23638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23639 }
23640 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23641 {
23642 PyThreadState* __tstate = wxPyBeginAllowThreads();
23643 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23644 wxPyEndAllowThreads(__tstate);
23645 if (PyErr_Occurred()) SWIG_fail;
23646 }
23647 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23648 return resultobj;
23649 fail:
23650 return NULL;
23651 }
23652
23653
23654 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23655 PyObject *resultobj = 0;
23656 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23657 SwigValueWrapper<wxVisualAttributes > result;
23658 void *argp1 = 0 ;
23659 int res1 = 0 ;
23660 PyObject *swig_obj[1] ;
23661
23662 if (!args) SWIG_fail;
23663 swig_obj[0] = args;
23664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23665 if (!SWIG_IsOK(res1)) {
23666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23667 }
23668 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23669 {
23670 PyThreadState* __tstate = wxPyBeginAllowThreads();
23671 result = (arg1)->GetDefaultAttributes();
23672 wxPyEndAllowThreads(__tstate);
23673 if (PyErr_Occurred()) SWIG_fail;
23674 }
23675 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23676 return resultobj;
23677 fail:
23678 return NULL;
23679 }
23680
23681
23682 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23683 PyObject *resultobj = 0;
23684 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23685 void *argp1 = 0 ;
23686 int res1 = 0 ;
23687 PyObject *swig_obj[1] ;
23688
23689 if (!args) SWIG_fail;
23690 swig_obj[0] = args;
23691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23692 if (!SWIG_IsOK(res1)) {
23693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23694 }
23695 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23696 {
23697 PyThreadState* __tstate = wxPyBeginAllowThreads();
23698 (arg1)->OnInternalIdle();
23699 wxPyEndAllowThreads(__tstate);
23700 if (PyErr_Occurred()) SWIG_fail;
23701 }
23702 resultobj = SWIG_Py_Void();
23703 return resultobj;
23704 fail:
23705 return NULL;
23706 }
23707
23708
23709 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23710 PyObject *obj;
23711 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23712 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23713 return SWIG_Py_Void();
23714 }
23715
23716 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23717 return SWIG_Python_InitShadowInstance(args);
23718 }
23719
23720 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23721 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23722 return 1;
23723 }
23724
23725
23726 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23727 PyObject *pyobj = 0;
23728
23729 {
23730 #if wxUSE_UNICODE
23731 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23732 #else
23733 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23734 #endif
23735 }
23736 return pyobj;
23737 }
23738
23739
23740 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23741 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23742 return 1;
23743 }
23744
23745
23746 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23747 PyObject *pyobj = 0;
23748
23749 {
23750 #if wxUSE_UNICODE
23751 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23752 #else
23753 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23754 #endif
23755 }
23756 return pyobj;
23757 }
23758
23759
23760 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23761 PyObject *resultobj = 0;
23762 wxPrintData *result = 0 ;
23763
23764 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23765 {
23766 PyThreadState* __tstate = wxPyBeginAllowThreads();
23767 result = (wxPrintData *)new wxPrintData();
23768 wxPyEndAllowThreads(__tstate);
23769 if (PyErr_Occurred()) SWIG_fail;
23770 }
23771 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23772 return resultobj;
23773 fail:
23774 return NULL;
23775 }
23776
23777
23778 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23779 PyObject *resultobj = 0;
23780 wxPrintData *arg1 = 0 ;
23781 wxPrintData *result = 0 ;
23782 void *argp1 = 0 ;
23783 int res1 = 0 ;
23784
23785 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23786 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23787 if (!SWIG_IsOK(res1)) {
23788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23789 }
23790 if (!argp1) {
23791 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23792 }
23793 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23794 {
23795 PyThreadState* __tstate = wxPyBeginAllowThreads();
23796 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23797 wxPyEndAllowThreads(__tstate);
23798 if (PyErr_Occurred()) SWIG_fail;
23799 }
23800 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23801 return resultobj;
23802 fail:
23803 return NULL;
23804 }
23805
23806
23807 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23808 int argc;
23809 PyObject *argv[2];
23810
23811 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23812 --argc;
23813 if (argc == 0) {
23814 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23815 }
23816 if (argc == 1) {
23817 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23818 }
23819
23820 fail:
23821 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23822 return NULL;
23823 }
23824
23825
23826 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23827 PyObject *resultobj = 0;
23828 wxPrintData *arg1 = (wxPrintData *) 0 ;
23829 void *argp1 = 0 ;
23830 int res1 = 0 ;
23831 PyObject *swig_obj[1] ;
23832
23833 if (!args) SWIG_fail;
23834 swig_obj[0] = args;
23835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23836 if (!SWIG_IsOK(res1)) {
23837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23838 }
23839 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23840 {
23841 PyThreadState* __tstate = wxPyBeginAllowThreads();
23842 delete arg1;
23843
23844 wxPyEndAllowThreads(__tstate);
23845 if (PyErr_Occurred()) SWIG_fail;
23846 }
23847 resultobj = SWIG_Py_Void();
23848 return resultobj;
23849 fail:
23850 return NULL;
23851 }
23852
23853
23854 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23855 PyObject *resultobj = 0;
23856 wxPrintData *arg1 = (wxPrintData *) 0 ;
23857 int result;
23858 void *argp1 = 0 ;
23859 int res1 = 0 ;
23860 PyObject *swig_obj[1] ;
23861
23862 if (!args) SWIG_fail;
23863 swig_obj[0] = args;
23864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23865 if (!SWIG_IsOK(res1)) {
23866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23867 }
23868 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23869 {
23870 PyThreadState* __tstate = wxPyBeginAllowThreads();
23871 result = (int)(arg1)->GetNoCopies();
23872 wxPyEndAllowThreads(__tstate);
23873 if (PyErr_Occurred()) SWIG_fail;
23874 }
23875 resultobj = SWIG_From_int(static_cast< int >(result));
23876 return resultobj;
23877 fail:
23878 return NULL;
23879 }
23880
23881
23882 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23883 PyObject *resultobj = 0;
23884 wxPrintData *arg1 = (wxPrintData *) 0 ;
23885 bool result;
23886 void *argp1 = 0 ;
23887 int res1 = 0 ;
23888 PyObject *swig_obj[1] ;
23889
23890 if (!args) SWIG_fail;
23891 swig_obj[0] = args;
23892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23893 if (!SWIG_IsOK(res1)) {
23894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23895 }
23896 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23897 {
23898 PyThreadState* __tstate = wxPyBeginAllowThreads();
23899 result = (bool)(arg1)->GetCollate();
23900 wxPyEndAllowThreads(__tstate);
23901 if (PyErr_Occurred()) SWIG_fail;
23902 }
23903 {
23904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23905 }
23906 return resultobj;
23907 fail:
23908 return NULL;
23909 }
23910
23911
23912 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23913 PyObject *resultobj = 0;
23914 wxPrintData *arg1 = (wxPrintData *) 0 ;
23915 int result;
23916 void *argp1 = 0 ;
23917 int res1 = 0 ;
23918 PyObject *swig_obj[1] ;
23919
23920 if (!args) SWIG_fail;
23921 swig_obj[0] = args;
23922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23923 if (!SWIG_IsOK(res1)) {
23924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23925 }
23926 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23927 {
23928 PyThreadState* __tstate = wxPyBeginAllowThreads();
23929 result = (int)(arg1)->GetOrientation();
23930 wxPyEndAllowThreads(__tstate);
23931 if (PyErr_Occurred()) SWIG_fail;
23932 }
23933 resultobj = SWIG_From_int(static_cast< int >(result));
23934 return resultobj;
23935 fail:
23936 return NULL;
23937 }
23938
23939
23940 SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23941 PyObject *resultobj = 0;
23942 wxPrintData *arg1 = (wxPrintData *) 0 ;
23943 bool result;
23944 void *argp1 = 0 ;
23945 int res1 = 0 ;
23946 PyObject *swig_obj[1] ;
23947
23948 if (!args) SWIG_fail;
23949 swig_obj[0] = args;
23950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23951 if (!SWIG_IsOK(res1)) {
23952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23953 }
23954 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23955 {
23956 PyThreadState* __tstate = wxPyBeginAllowThreads();
23957 result = (bool)(arg1)->IsOk();
23958 wxPyEndAllowThreads(__tstate);
23959 if (PyErr_Occurred()) SWIG_fail;
23960 }
23961 {
23962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23963 }
23964 return resultobj;
23965 fail:
23966 return NULL;
23967 }
23968
23969
23970 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23971 PyObject *resultobj = 0;
23972 wxPrintData *arg1 = (wxPrintData *) 0 ;
23973 wxString *result = 0 ;
23974 void *argp1 = 0 ;
23975 int res1 = 0 ;
23976 PyObject *swig_obj[1] ;
23977
23978 if (!args) SWIG_fail;
23979 swig_obj[0] = args;
23980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23981 if (!SWIG_IsOK(res1)) {
23982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23983 }
23984 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23985 {
23986 PyThreadState* __tstate = wxPyBeginAllowThreads();
23987 {
23988 wxString const &_result_ref = (arg1)->GetPrinterName();
23989 result = (wxString *) &_result_ref;
23990 }
23991 wxPyEndAllowThreads(__tstate);
23992 if (PyErr_Occurred()) SWIG_fail;
23993 }
23994 {
23995 #if wxUSE_UNICODE
23996 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23997 #else
23998 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23999 #endif
24000 }
24001 return resultobj;
24002 fail:
24003 return NULL;
24004 }
24005
24006
24007 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24008 PyObject *resultobj = 0;
24009 wxPrintData *arg1 = (wxPrintData *) 0 ;
24010 bool result;
24011 void *argp1 = 0 ;
24012 int res1 = 0 ;
24013 PyObject *swig_obj[1] ;
24014
24015 if (!args) SWIG_fail;
24016 swig_obj[0] = args;
24017 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24018 if (!SWIG_IsOK(res1)) {
24019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24020 }
24021 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24022 {
24023 PyThreadState* __tstate = wxPyBeginAllowThreads();
24024 result = (bool)(arg1)->GetColour();
24025 wxPyEndAllowThreads(__tstate);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 }
24028 {
24029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24030 }
24031 return resultobj;
24032 fail:
24033 return NULL;
24034 }
24035
24036
24037 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24038 PyObject *resultobj = 0;
24039 wxPrintData *arg1 = (wxPrintData *) 0 ;
24040 wxDuplexMode result;
24041 void *argp1 = 0 ;
24042 int res1 = 0 ;
24043 PyObject *swig_obj[1] ;
24044
24045 if (!args) SWIG_fail;
24046 swig_obj[0] = args;
24047 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24048 if (!SWIG_IsOK(res1)) {
24049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24050 }
24051 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24052 {
24053 PyThreadState* __tstate = wxPyBeginAllowThreads();
24054 result = (wxDuplexMode)(arg1)->GetDuplex();
24055 wxPyEndAllowThreads(__tstate);
24056 if (PyErr_Occurred()) SWIG_fail;
24057 }
24058 resultobj = SWIG_From_int(static_cast< int >(result));
24059 return resultobj;
24060 fail:
24061 return NULL;
24062 }
24063
24064
24065 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24066 PyObject *resultobj = 0;
24067 wxPrintData *arg1 = (wxPrintData *) 0 ;
24068 wxPaperSize result;
24069 void *argp1 = 0 ;
24070 int res1 = 0 ;
24071 PyObject *swig_obj[1] ;
24072
24073 if (!args) SWIG_fail;
24074 swig_obj[0] = args;
24075 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24076 if (!SWIG_IsOK(res1)) {
24077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24078 }
24079 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24080 {
24081 PyThreadState* __tstate = wxPyBeginAllowThreads();
24082 result = (wxPaperSize)(arg1)->GetPaperId();
24083 wxPyEndAllowThreads(__tstate);
24084 if (PyErr_Occurred()) SWIG_fail;
24085 }
24086 resultobj = SWIG_From_int(static_cast< int >(result));
24087 return resultobj;
24088 fail:
24089 return NULL;
24090 }
24091
24092
24093 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24094 PyObject *resultobj = 0;
24095 wxPrintData *arg1 = (wxPrintData *) 0 ;
24096 wxSize *result = 0 ;
24097 void *argp1 = 0 ;
24098 int res1 = 0 ;
24099 PyObject *swig_obj[1] ;
24100
24101 if (!args) SWIG_fail;
24102 swig_obj[0] = args;
24103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24104 if (!SWIG_IsOK(res1)) {
24105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24106 }
24107 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24108 {
24109 PyThreadState* __tstate = wxPyBeginAllowThreads();
24110 {
24111 wxSize const &_result_ref = (arg1)->GetPaperSize();
24112 result = (wxSize *) &_result_ref;
24113 }
24114 wxPyEndAllowThreads(__tstate);
24115 if (PyErr_Occurred()) SWIG_fail;
24116 }
24117 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
24118 return resultobj;
24119 fail:
24120 return NULL;
24121 }
24122
24123
24124 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24125 PyObject *resultobj = 0;
24126 wxPrintData *arg1 = (wxPrintData *) 0 ;
24127 int result;
24128 void *argp1 = 0 ;
24129 int res1 = 0 ;
24130 PyObject *swig_obj[1] ;
24131
24132 if (!args) SWIG_fail;
24133 swig_obj[0] = args;
24134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24135 if (!SWIG_IsOK(res1)) {
24136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24137 }
24138 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24139 {
24140 PyThreadState* __tstate = wxPyBeginAllowThreads();
24141 result = (int)(arg1)->GetQuality();
24142 wxPyEndAllowThreads(__tstate);
24143 if (PyErr_Occurred()) SWIG_fail;
24144 }
24145 resultobj = SWIG_From_int(static_cast< int >(result));
24146 return resultobj;
24147 fail:
24148 return NULL;
24149 }
24150
24151
24152 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24153 PyObject *resultobj = 0;
24154 wxPrintData *arg1 = (wxPrintData *) 0 ;
24155 wxPrintBin result;
24156 void *argp1 = 0 ;
24157 int res1 = 0 ;
24158 PyObject *swig_obj[1] ;
24159
24160 if (!args) SWIG_fail;
24161 swig_obj[0] = args;
24162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24163 if (!SWIG_IsOK(res1)) {
24164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24165 }
24166 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24167 {
24168 PyThreadState* __tstate = wxPyBeginAllowThreads();
24169 result = (wxPrintBin)(arg1)->GetBin();
24170 wxPyEndAllowThreads(__tstate);
24171 if (PyErr_Occurred()) SWIG_fail;
24172 }
24173 resultobj = SWIG_From_int(static_cast< int >(result));
24174 return resultobj;
24175 fail:
24176 return NULL;
24177 }
24178
24179
24180 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24181 PyObject *resultobj = 0;
24182 wxPrintData *arg1 = (wxPrintData *) 0 ;
24183 wxPrintMode result;
24184 void *argp1 = 0 ;
24185 int res1 = 0 ;
24186 PyObject *swig_obj[1] ;
24187
24188 if (!args) SWIG_fail;
24189 swig_obj[0] = args;
24190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24191 if (!SWIG_IsOK(res1)) {
24192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24193 }
24194 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24195 {
24196 PyThreadState* __tstate = wxPyBeginAllowThreads();
24197 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24198 wxPyEndAllowThreads(__tstate);
24199 if (PyErr_Occurred()) SWIG_fail;
24200 }
24201 resultobj = SWIG_From_int(static_cast< int >(result));
24202 return resultobj;
24203 fail:
24204 return NULL;
24205 }
24206
24207
24208 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24209 PyObject *resultobj = 0;
24210 wxPrintData *arg1 = (wxPrintData *) 0 ;
24211 int arg2 ;
24212 void *argp1 = 0 ;
24213 int res1 = 0 ;
24214 int val2 ;
24215 int ecode2 = 0 ;
24216 PyObject * obj0 = 0 ;
24217 PyObject * obj1 = 0 ;
24218 char * kwnames[] = {
24219 (char *) "self",(char *) "v", NULL
24220 };
24221
24222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24224 if (!SWIG_IsOK(res1)) {
24225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24226 }
24227 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24228 ecode2 = SWIG_AsVal_int(obj1, &val2);
24229 if (!SWIG_IsOK(ecode2)) {
24230 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24231 }
24232 arg2 = static_cast< int >(val2);
24233 {
24234 PyThreadState* __tstate = wxPyBeginAllowThreads();
24235 (arg1)->SetNoCopies(arg2);
24236 wxPyEndAllowThreads(__tstate);
24237 if (PyErr_Occurred()) SWIG_fail;
24238 }
24239 resultobj = SWIG_Py_Void();
24240 return resultobj;
24241 fail:
24242 return NULL;
24243 }
24244
24245
24246 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24247 PyObject *resultobj = 0;
24248 wxPrintData *arg1 = (wxPrintData *) 0 ;
24249 bool arg2 ;
24250 void *argp1 = 0 ;
24251 int res1 = 0 ;
24252 bool val2 ;
24253 int ecode2 = 0 ;
24254 PyObject * obj0 = 0 ;
24255 PyObject * obj1 = 0 ;
24256 char * kwnames[] = {
24257 (char *) "self",(char *) "flag", NULL
24258 };
24259
24260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24262 if (!SWIG_IsOK(res1)) {
24263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24264 }
24265 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24266 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24267 if (!SWIG_IsOK(ecode2)) {
24268 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24269 }
24270 arg2 = static_cast< bool >(val2);
24271 {
24272 PyThreadState* __tstate = wxPyBeginAllowThreads();
24273 (arg1)->SetCollate(arg2);
24274 wxPyEndAllowThreads(__tstate);
24275 if (PyErr_Occurred()) SWIG_fail;
24276 }
24277 resultobj = SWIG_Py_Void();
24278 return resultobj;
24279 fail:
24280 return NULL;
24281 }
24282
24283
24284 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24285 PyObject *resultobj = 0;
24286 wxPrintData *arg1 = (wxPrintData *) 0 ;
24287 int arg2 ;
24288 void *argp1 = 0 ;
24289 int res1 = 0 ;
24290 int val2 ;
24291 int ecode2 = 0 ;
24292 PyObject * obj0 = 0 ;
24293 PyObject * obj1 = 0 ;
24294 char * kwnames[] = {
24295 (char *) "self",(char *) "orient", NULL
24296 };
24297
24298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24300 if (!SWIG_IsOK(res1)) {
24301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24302 }
24303 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24304 ecode2 = SWIG_AsVal_int(obj1, &val2);
24305 if (!SWIG_IsOK(ecode2)) {
24306 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24307 }
24308 arg2 = static_cast< int >(val2);
24309 {
24310 PyThreadState* __tstate = wxPyBeginAllowThreads();
24311 (arg1)->SetOrientation(arg2);
24312 wxPyEndAllowThreads(__tstate);
24313 if (PyErr_Occurred()) SWIG_fail;
24314 }
24315 resultobj = SWIG_Py_Void();
24316 return resultobj;
24317 fail:
24318 return NULL;
24319 }
24320
24321
24322 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24323 PyObject *resultobj = 0;
24324 wxPrintData *arg1 = (wxPrintData *) 0 ;
24325 wxString *arg2 = 0 ;
24326 void *argp1 = 0 ;
24327 int res1 = 0 ;
24328 bool temp2 = false ;
24329 PyObject * obj0 = 0 ;
24330 PyObject * obj1 = 0 ;
24331 char * kwnames[] = {
24332 (char *) "self",(char *) "name", NULL
24333 };
24334
24335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24337 if (!SWIG_IsOK(res1)) {
24338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24339 }
24340 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24341 {
24342 arg2 = wxString_in_helper(obj1);
24343 if (arg2 == NULL) SWIG_fail;
24344 temp2 = true;
24345 }
24346 {
24347 PyThreadState* __tstate = wxPyBeginAllowThreads();
24348 (arg1)->SetPrinterName((wxString const &)*arg2);
24349 wxPyEndAllowThreads(__tstate);
24350 if (PyErr_Occurred()) SWIG_fail;
24351 }
24352 resultobj = SWIG_Py_Void();
24353 {
24354 if (temp2)
24355 delete arg2;
24356 }
24357 return resultobj;
24358 fail:
24359 {
24360 if (temp2)
24361 delete arg2;
24362 }
24363 return NULL;
24364 }
24365
24366
24367 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24368 PyObject *resultobj = 0;
24369 wxPrintData *arg1 = (wxPrintData *) 0 ;
24370 bool arg2 ;
24371 void *argp1 = 0 ;
24372 int res1 = 0 ;
24373 bool val2 ;
24374 int ecode2 = 0 ;
24375 PyObject * obj0 = 0 ;
24376 PyObject * obj1 = 0 ;
24377 char * kwnames[] = {
24378 (char *) "self",(char *) "colour", NULL
24379 };
24380
24381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24383 if (!SWIG_IsOK(res1)) {
24384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24385 }
24386 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24387 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24388 if (!SWIG_IsOK(ecode2)) {
24389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24390 }
24391 arg2 = static_cast< bool >(val2);
24392 {
24393 PyThreadState* __tstate = wxPyBeginAllowThreads();
24394 (arg1)->SetColour(arg2);
24395 wxPyEndAllowThreads(__tstate);
24396 if (PyErr_Occurred()) SWIG_fail;
24397 }
24398 resultobj = SWIG_Py_Void();
24399 return resultobj;
24400 fail:
24401 return NULL;
24402 }
24403
24404
24405 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24406 PyObject *resultobj = 0;
24407 wxPrintData *arg1 = (wxPrintData *) 0 ;
24408 wxDuplexMode arg2 ;
24409 void *argp1 = 0 ;
24410 int res1 = 0 ;
24411 int val2 ;
24412 int ecode2 = 0 ;
24413 PyObject * obj0 = 0 ;
24414 PyObject * obj1 = 0 ;
24415 char * kwnames[] = {
24416 (char *) "self",(char *) "duplex", NULL
24417 };
24418
24419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24421 if (!SWIG_IsOK(res1)) {
24422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24423 }
24424 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24425 ecode2 = SWIG_AsVal_int(obj1, &val2);
24426 if (!SWIG_IsOK(ecode2)) {
24427 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24428 }
24429 arg2 = static_cast< wxDuplexMode >(val2);
24430 {
24431 PyThreadState* __tstate = wxPyBeginAllowThreads();
24432 (arg1)->SetDuplex(arg2);
24433 wxPyEndAllowThreads(__tstate);
24434 if (PyErr_Occurred()) SWIG_fail;
24435 }
24436 resultobj = SWIG_Py_Void();
24437 return resultobj;
24438 fail:
24439 return NULL;
24440 }
24441
24442
24443 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24444 PyObject *resultobj = 0;
24445 wxPrintData *arg1 = (wxPrintData *) 0 ;
24446 wxPaperSize arg2 ;
24447 void *argp1 = 0 ;
24448 int res1 = 0 ;
24449 int val2 ;
24450 int ecode2 = 0 ;
24451 PyObject * obj0 = 0 ;
24452 PyObject * obj1 = 0 ;
24453 char * kwnames[] = {
24454 (char *) "self",(char *) "sizeId", NULL
24455 };
24456
24457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24459 if (!SWIG_IsOK(res1)) {
24460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24461 }
24462 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24463 ecode2 = SWIG_AsVal_int(obj1, &val2);
24464 if (!SWIG_IsOK(ecode2)) {
24465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24466 }
24467 arg2 = static_cast< wxPaperSize >(val2);
24468 {
24469 PyThreadState* __tstate = wxPyBeginAllowThreads();
24470 (arg1)->SetPaperId(arg2);
24471 wxPyEndAllowThreads(__tstate);
24472 if (PyErr_Occurred()) SWIG_fail;
24473 }
24474 resultobj = SWIG_Py_Void();
24475 return resultobj;
24476 fail:
24477 return NULL;
24478 }
24479
24480
24481 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24482 PyObject *resultobj = 0;
24483 wxPrintData *arg1 = (wxPrintData *) 0 ;
24484 wxSize *arg2 = 0 ;
24485 void *argp1 = 0 ;
24486 int res1 = 0 ;
24487 wxSize temp2 ;
24488 PyObject * obj0 = 0 ;
24489 PyObject * obj1 = 0 ;
24490 char * kwnames[] = {
24491 (char *) "self",(char *) "sz", NULL
24492 };
24493
24494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24496 if (!SWIG_IsOK(res1)) {
24497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24498 }
24499 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24500 {
24501 arg2 = &temp2;
24502 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24503 }
24504 {
24505 PyThreadState* __tstate = wxPyBeginAllowThreads();
24506 (arg1)->SetPaperSize((wxSize const &)*arg2);
24507 wxPyEndAllowThreads(__tstate);
24508 if (PyErr_Occurred()) SWIG_fail;
24509 }
24510 resultobj = SWIG_Py_Void();
24511 return resultobj;
24512 fail:
24513 return NULL;
24514 }
24515
24516
24517 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24518 PyObject *resultobj = 0;
24519 wxPrintData *arg1 = (wxPrintData *) 0 ;
24520 int arg2 ;
24521 void *argp1 = 0 ;
24522 int res1 = 0 ;
24523 int val2 ;
24524 int ecode2 = 0 ;
24525 PyObject * obj0 = 0 ;
24526 PyObject * obj1 = 0 ;
24527 char * kwnames[] = {
24528 (char *) "self",(char *) "quality", NULL
24529 };
24530
24531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24533 if (!SWIG_IsOK(res1)) {
24534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24535 }
24536 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24537 ecode2 = SWIG_AsVal_int(obj1, &val2);
24538 if (!SWIG_IsOK(ecode2)) {
24539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24540 }
24541 arg2 = static_cast< int >(val2);
24542 {
24543 PyThreadState* __tstate = wxPyBeginAllowThreads();
24544 (arg1)->SetQuality(arg2);
24545 wxPyEndAllowThreads(__tstate);
24546 if (PyErr_Occurred()) SWIG_fail;
24547 }
24548 resultobj = SWIG_Py_Void();
24549 return resultobj;
24550 fail:
24551 return NULL;
24552 }
24553
24554
24555 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24556 PyObject *resultobj = 0;
24557 wxPrintData *arg1 = (wxPrintData *) 0 ;
24558 wxPrintBin arg2 ;
24559 void *argp1 = 0 ;
24560 int res1 = 0 ;
24561 int val2 ;
24562 int ecode2 = 0 ;
24563 PyObject * obj0 = 0 ;
24564 PyObject * obj1 = 0 ;
24565 char * kwnames[] = {
24566 (char *) "self",(char *) "bin", NULL
24567 };
24568
24569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24571 if (!SWIG_IsOK(res1)) {
24572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24573 }
24574 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24575 ecode2 = SWIG_AsVal_int(obj1, &val2);
24576 if (!SWIG_IsOK(ecode2)) {
24577 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24578 }
24579 arg2 = static_cast< wxPrintBin >(val2);
24580 {
24581 PyThreadState* __tstate = wxPyBeginAllowThreads();
24582 (arg1)->SetBin(arg2);
24583 wxPyEndAllowThreads(__tstate);
24584 if (PyErr_Occurred()) SWIG_fail;
24585 }
24586 resultobj = SWIG_Py_Void();
24587 return resultobj;
24588 fail:
24589 return NULL;
24590 }
24591
24592
24593 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24594 PyObject *resultobj = 0;
24595 wxPrintData *arg1 = (wxPrintData *) 0 ;
24596 wxPrintMode arg2 ;
24597 void *argp1 = 0 ;
24598 int res1 = 0 ;
24599 int val2 ;
24600 int ecode2 = 0 ;
24601 PyObject * obj0 = 0 ;
24602 PyObject * obj1 = 0 ;
24603 char * kwnames[] = {
24604 (char *) "self",(char *) "printMode", NULL
24605 };
24606
24607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24609 if (!SWIG_IsOK(res1)) {
24610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24611 }
24612 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24613 ecode2 = SWIG_AsVal_int(obj1, &val2);
24614 if (!SWIG_IsOK(ecode2)) {
24615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24616 }
24617 arg2 = static_cast< wxPrintMode >(val2);
24618 {
24619 PyThreadState* __tstate = wxPyBeginAllowThreads();
24620 (arg1)->SetPrintMode(arg2);
24621 wxPyEndAllowThreads(__tstate);
24622 if (PyErr_Occurred()) SWIG_fail;
24623 }
24624 resultobj = SWIG_Py_Void();
24625 return resultobj;
24626 fail:
24627 return NULL;
24628 }
24629
24630
24631 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24632 PyObject *resultobj = 0;
24633 wxPrintData *arg1 = (wxPrintData *) 0 ;
24634 wxString result;
24635 void *argp1 = 0 ;
24636 int res1 = 0 ;
24637 PyObject *swig_obj[1] ;
24638
24639 if (!args) SWIG_fail;
24640 swig_obj[0] = args;
24641 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24642 if (!SWIG_IsOK(res1)) {
24643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24644 }
24645 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24646 {
24647 PyThreadState* __tstate = wxPyBeginAllowThreads();
24648 result = ((wxPrintData const *)arg1)->GetFilename();
24649 wxPyEndAllowThreads(__tstate);
24650 if (PyErr_Occurred()) SWIG_fail;
24651 }
24652 {
24653 #if wxUSE_UNICODE
24654 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24655 #else
24656 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24657 #endif
24658 }
24659 return resultobj;
24660 fail:
24661 return NULL;
24662 }
24663
24664
24665 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24666 PyObject *resultobj = 0;
24667 wxPrintData *arg1 = (wxPrintData *) 0 ;
24668 wxString *arg2 = 0 ;
24669 void *argp1 = 0 ;
24670 int res1 = 0 ;
24671 bool temp2 = false ;
24672 PyObject * obj0 = 0 ;
24673 PyObject * obj1 = 0 ;
24674 char * kwnames[] = {
24675 (char *) "self",(char *) "filename", NULL
24676 };
24677
24678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24680 if (!SWIG_IsOK(res1)) {
24681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24682 }
24683 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24684 {
24685 arg2 = wxString_in_helper(obj1);
24686 if (arg2 == NULL) SWIG_fail;
24687 temp2 = true;
24688 }
24689 {
24690 PyThreadState* __tstate = wxPyBeginAllowThreads();
24691 (arg1)->SetFilename((wxString const &)*arg2);
24692 wxPyEndAllowThreads(__tstate);
24693 if (PyErr_Occurred()) SWIG_fail;
24694 }
24695 resultobj = SWIG_Py_Void();
24696 {
24697 if (temp2)
24698 delete arg2;
24699 }
24700 return resultobj;
24701 fail:
24702 {
24703 if (temp2)
24704 delete arg2;
24705 }
24706 return NULL;
24707 }
24708
24709
24710 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24711 PyObject *resultobj = 0;
24712 wxPrintData *arg1 = (wxPrintData *) 0 ;
24713 PyObject *result = 0 ;
24714 void *argp1 = 0 ;
24715 int res1 = 0 ;
24716 PyObject *swig_obj[1] ;
24717
24718 if (!args) SWIG_fail;
24719 swig_obj[0] = args;
24720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24721 if (!SWIG_IsOK(res1)) {
24722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24723 }
24724 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24725 {
24726 PyThreadState* __tstate = wxPyBeginAllowThreads();
24727 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24728 wxPyEndAllowThreads(__tstate);
24729 if (PyErr_Occurred()) SWIG_fail;
24730 }
24731 resultobj = result;
24732 return resultobj;
24733 fail:
24734 return NULL;
24735 }
24736
24737
24738 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24739 PyObject *resultobj = 0;
24740 wxPrintData *arg1 = (wxPrintData *) 0 ;
24741 PyObject *arg2 = (PyObject *) 0 ;
24742 void *argp1 = 0 ;
24743 int res1 = 0 ;
24744 PyObject * obj0 = 0 ;
24745 PyObject * obj1 = 0 ;
24746 char * kwnames[] = {
24747 (char *) "self",(char *) "data", NULL
24748 };
24749
24750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24752 if (!SWIG_IsOK(res1)) {
24753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24754 }
24755 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24756 arg2 = obj1;
24757 {
24758 PyThreadState* __tstate = wxPyBeginAllowThreads();
24759 wxPrintData_SetPrivData(arg1,arg2);
24760 wxPyEndAllowThreads(__tstate);
24761 if (PyErr_Occurred()) SWIG_fail;
24762 }
24763 resultobj = SWIG_Py_Void();
24764 return resultobj;
24765 fail:
24766 return NULL;
24767 }
24768
24769
24770 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24771 PyObject *obj;
24772 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24773 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24774 return SWIG_Py_Void();
24775 }
24776
24777 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24778 return SWIG_Python_InitShadowInstance(args);
24779 }
24780
24781 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24782 PyObject *resultobj = 0;
24783 wxPageSetupDialogData *result = 0 ;
24784
24785 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24786 {
24787 PyThreadState* __tstate = wxPyBeginAllowThreads();
24788 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24789 wxPyEndAllowThreads(__tstate);
24790 if (PyErr_Occurred()) SWIG_fail;
24791 }
24792 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24793 return resultobj;
24794 fail:
24795 return NULL;
24796 }
24797
24798
24799 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24800 PyObject *resultobj = 0;
24801 wxPageSetupDialogData *arg1 = 0 ;
24802 wxPageSetupDialogData *result = 0 ;
24803 void *argp1 = 0 ;
24804 int res1 = 0 ;
24805
24806 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24808 if (!SWIG_IsOK(res1)) {
24809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24810 }
24811 if (!argp1) {
24812 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24813 }
24814 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24815 {
24816 PyThreadState* __tstate = wxPyBeginAllowThreads();
24817 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24818 wxPyEndAllowThreads(__tstate);
24819 if (PyErr_Occurred()) SWIG_fail;
24820 }
24821 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24822 return resultobj;
24823 fail:
24824 return NULL;
24825 }
24826
24827
24828 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24829 PyObject *resultobj = 0;
24830 wxPrintData *arg1 = 0 ;
24831 wxPageSetupDialogData *result = 0 ;
24832 void *argp1 = 0 ;
24833 int res1 = 0 ;
24834
24835 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24837 if (!SWIG_IsOK(res1)) {
24838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24839 }
24840 if (!argp1) {
24841 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24842 }
24843 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24844 {
24845 PyThreadState* __tstate = wxPyBeginAllowThreads();
24846 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24847 wxPyEndAllowThreads(__tstate);
24848 if (PyErr_Occurred()) SWIG_fail;
24849 }
24850 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24851 return resultobj;
24852 fail:
24853 return NULL;
24854 }
24855
24856
24857 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24858 int argc;
24859 PyObject *argv[2];
24860
24861 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24862 --argc;
24863 if (argc == 0) {
24864 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24865 }
24866 if (argc == 1) {
24867 int _v = 0;
24868 {
24869 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24870 _v = SWIG_CheckState(res);
24871 }
24872 if (!_v) goto check_2;
24873 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24874 }
24875 check_2:
24876
24877 if (argc == 1) {
24878 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24879 }
24880
24881 fail:
24882 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24883 return NULL;
24884 }
24885
24886
24887 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24888 PyObject *resultobj = 0;
24889 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24890 void *argp1 = 0 ;
24891 int res1 = 0 ;
24892 PyObject *swig_obj[1] ;
24893
24894 if (!args) SWIG_fail;
24895 swig_obj[0] = args;
24896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24897 if (!SWIG_IsOK(res1)) {
24898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24899 }
24900 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24901 {
24902 PyThreadState* __tstate = wxPyBeginAllowThreads();
24903 delete arg1;
24904
24905 wxPyEndAllowThreads(__tstate);
24906 if (PyErr_Occurred()) SWIG_fail;
24907 }
24908 resultobj = SWIG_Py_Void();
24909 return resultobj;
24910 fail:
24911 return NULL;
24912 }
24913
24914
24915 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24916 PyObject *resultobj = 0;
24917 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24918 bool arg2 ;
24919 void *argp1 = 0 ;
24920 int res1 = 0 ;
24921 bool val2 ;
24922 int ecode2 = 0 ;
24923 PyObject * obj0 = 0 ;
24924 PyObject * obj1 = 0 ;
24925 char * kwnames[] = {
24926 (char *) "self",(char *) "flag", NULL
24927 };
24928
24929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24931 if (!SWIG_IsOK(res1)) {
24932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24933 }
24934 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24935 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24936 if (!SWIG_IsOK(ecode2)) {
24937 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24938 }
24939 arg2 = static_cast< bool >(val2);
24940 {
24941 PyThreadState* __tstate = wxPyBeginAllowThreads();
24942 (arg1)->EnableHelp(arg2);
24943 wxPyEndAllowThreads(__tstate);
24944 if (PyErr_Occurred()) SWIG_fail;
24945 }
24946 resultobj = SWIG_Py_Void();
24947 return resultobj;
24948 fail:
24949 return NULL;
24950 }
24951
24952
24953 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24954 PyObject *resultobj = 0;
24955 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24956 bool arg2 ;
24957 void *argp1 = 0 ;
24958 int res1 = 0 ;
24959 bool val2 ;
24960 int ecode2 = 0 ;
24961 PyObject * obj0 = 0 ;
24962 PyObject * obj1 = 0 ;
24963 char * kwnames[] = {
24964 (char *) "self",(char *) "flag", NULL
24965 };
24966
24967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24969 if (!SWIG_IsOK(res1)) {
24970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24971 }
24972 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24973 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24974 if (!SWIG_IsOK(ecode2)) {
24975 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24976 }
24977 arg2 = static_cast< bool >(val2);
24978 {
24979 PyThreadState* __tstate = wxPyBeginAllowThreads();
24980 (arg1)->EnableMargins(arg2);
24981 wxPyEndAllowThreads(__tstate);
24982 if (PyErr_Occurred()) SWIG_fail;
24983 }
24984 resultobj = SWIG_Py_Void();
24985 return resultobj;
24986 fail:
24987 return NULL;
24988 }
24989
24990
24991 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24992 PyObject *resultobj = 0;
24993 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24994 bool arg2 ;
24995 void *argp1 = 0 ;
24996 int res1 = 0 ;
24997 bool val2 ;
24998 int ecode2 = 0 ;
24999 PyObject * obj0 = 0 ;
25000 PyObject * obj1 = 0 ;
25001 char * kwnames[] = {
25002 (char *) "self",(char *) "flag", NULL
25003 };
25004
25005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
25006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25007 if (!SWIG_IsOK(res1)) {
25008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25009 }
25010 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25011 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25012 if (!SWIG_IsOK(ecode2)) {
25013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25014 }
25015 arg2 = static_cast< bool >(val2);
25016 {
25017 PyThreadState* __tstate = wxPyBeginAllowThreads();
25018 (arg1)->EnableOrientation(arg2);
25019 wxPyEndAllowThreads(__tstate);
25020 if (PyErr_Occurred()) SWIG_fail;
25021 }
25022 resultobj = SWIG_Py_Void();
25023 return resultobj;
25024 fail:
25025 return NULL;
25026 }
25027
25028
25029 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25030 PyObject *resultobj = 0;
25031 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25032 bool arg2 ;
25033 void *argp1 = 0 ;
25034 int res1 = 0 ;
25035 bool val2 ;
25036 int ecode2 = 0 ;
25037 PyObject * obj0 = 0 ;
25038 PyObject * obj1 = 0 ;
25039 char * kwnames[] = {
25040 (char *) "self",(char *) "flag", NULL
25041 };
25042
25043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
25044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25045 if (!SWIG_IsOK(res1)) {
25046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25047 }
25048 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25049 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25050 if (!SWIG_IsOK(ecode2)) {
25051 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25052 }
25053 arg2 = static_cast< bool >(val2);
25054 {
25055 PyThreadState* __tstate = wxPyBeginAllowThreads();
25056 (arg1)->EnablePaper(arg2);
25057 wxPyEndAllowThreads(__tstate);
25058 if (PyErr_Occurred()) SWIG_fail;
25059 }
25060 resultobj = SWIG_Py_Void();
25061 return resultobj;
25062 fail:
25063 return NULL;
25064 }
25065
25066
25067 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25068 PyObject *resultobj = 0;
25069 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25070 bool arg2 ;
25071 void *argp1 = 0 ;
25072 int res1 = 0 ;
25073 bool val2 ;
25074 int ecode2 = 0 ;
25075 PyObject * obj0 = 0 ;
25076 PyObject * obj1 = 0 ;
25077 char * kwnames[] = {
25078 (char *) "self",(char *) "flag", NULL
25079 };
25080
25081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
25082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25083 if (!SWIG_IsOK(res1)) {
25084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25085 }
25086 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25087 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25088 if (!SWIG_IsOK(ecode2)) {
25089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25090 }
25091 arg2 = static_cast< bool >(val2);
25092 {
25093 PyThreadState* __tstate = wxPyBeginAllowThreads();
25094 (arg1)->EnablePrinter(arg2);
25095 wxPyEndAllowThreads(__tstate);
25096 if (PyErr_Occurred()) SWIG_fail;
25097 }
25098 resultobj = SWIG_Py_Void();
25099 return resultobj;
25100 fail:
25101 return NULL;
25102 }
25103
25104
25105 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25106 PyObject *resultobj = 0;
25107 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25108 bool result;
25109 void *argp1 = 0 ;
25110 int res1 = 0 ;
25111 PyObject *swig_obj[1] ;
25112
25113 if (!args) SWIG_fail;
25114 swig_obj[0] = args;
25115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25116 if (!SWIG_IsOK(res1)) {
25117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25118 }
25119 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25120 {
25121 PyThreadState* __tstate = wxPyBeginAllowThreads();
25122 result = (bool)(arg1)->GetDefaultMinMargins();
25123 wxPyEndAllowThreads(__tstate);
25124 if (PyErr_Occurred()) SWIG_fail;
25125 }
25126 {
25127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25128 }
25129 return resultobj;
25130 fail:
25131 return NULL;
25132 }
25133
25134
25135 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25136 PyObject *resultobj = 0;
25137 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25138 bool result;
25139 void *argp1 = 0 ;
25140 int res1 = 0 ;
25141 PyObject *swig_obj[1] ;
25142
25143 if (!args) SWIG_fail;
25144 swig_obj[0] = args;
25145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25146 if (!SWIG_IsOK(res1)) {
25147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25148 }
25149 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25150 {
25151 PyThreadState* __tstate = wxPyBeginAllowThreads();
25152 result = (bool)(arg1)->GetEnableMargins();
25153 wxPyEndAllowThreads(__tstate);
25154 if (PyErr_Occurred()) SWIG_fail;
25155 }
25156 {
25157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25158 }
25159 return resultobj;
25160 fail:
25161 return NULL;
25162 }
25163
25164
25165 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25166 PyObject *resultobj = 0;
25167 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25168 bool result;
25169 void *argp1 = 0 ;
25170 int res1 = 0 ;
25171 PyObject *swig_obj[1] ;
25172
25173 if (!args) SWIG_fail;
25174 swig_obj[0] = args;
25175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25176 if (!SWIG_IsOK(res1)) {
25177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25178 }
25179 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25180 {
25181 PyThreadState* __tstate = wxPyBeginAllowThreads();
25182 result = (bool)(arg1)->GetEnableOrientation();
25183 wxPyEndAllowThreads(__tstate);
25184 if (PyErr_Occurred()) SWIG_fail;
25185 }
25186 {
25187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25188 }
25189 return resultobj;
25190 fail:
25191 return NULL;
25192 }
25193
25194
25195 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25196 PyObject *resultobj = 0;
25197 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25198 bool result;
25199 void *argp1 = 0 ;
25200 int res1 = 0 ;
25201 PyObject *swig_obj[1] ;
25202
25203 if (!args) SWIG_fail;
25204 swig_obj[0] = args;
25205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25206 if (!SWIG_IsOK(res1)) {
25207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25208 }
25209 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25210 {
25211 PyThreadState* __tstate = wxPyBeginAllowThreads();
25212 result = (bool)(arg1)->GetEnablePaper();
25213 wxPyEndAllowThreads(__tstate);
25214 if (PyErr_Occurred()) SWIG_fail;
25215 }
25216 {
25217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25218 }
25219 return resultobj;
25220 fail:
25221 return NULL;
25222 }
25223
25224
25225 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25226 PyObject *resultobj = 0;
25227 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25228 bool result;
25229 void *argp1 = 0 ;
25230 int res1 = 0 ;
25231 PyObject *swig_obj[1] ;
25232
25233 if (!args) SWIG_fail;
25234 swig_obj[0] = args;
25235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25236 if (!SWIG_IsOK(res1)) {
25237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25238 }
25239 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25240 {
25241 PyThreadState* __tstate = wxPyBeginAllowThreads();
25242 result = (bool)(arg1)->GetEnablePrinter();
25243 wxPyEndAllowThreads(__tstate);
25244 if (PyErr_Occurred()) SWIG_fail;
25245 }
25246 {
25247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25248 }
25249 return resultobj;
25250 fail:
25251 return NULL;
25252 }
25253
25254
25255 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25256 PyObject *resultobj = 0;
25257 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25258 bool result;
25259 void *argp1 = 0 ;
25260 int res1 = 0 ;
25261 PyObject *swig_obj[1] ;
25262
25263 if (!args) SWIG_fail;
25264 swig_obj[0] = args;
25265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25266 if (!SWIG_IsOK(res1)) {
25267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25268 }
25269 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25270 {
25271 PyThreadState* __tstate = wxPyBeginAllowThreads();
25272 result = (bool)(arg1)->GetEnableHelp();
25273 wxPyEndAllowThreads(__tstate);
25274 if (PyErr_Occurred()) SWIG_fail;
25275 }
25276 {
25277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25278 }
25279 return resultobj;
25280 fail:
25281 return NULL;
25282 }
25283
25284
25285 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25286 PyObject *resultobj = 0;
25287 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25288 bool result;
25289 void *argp1 = 0 ;
25290 int res1 = 0 ;
25291 PyObject *swig_obj[1] ;
25292
25293 if (!args) SWIG_fail;
25294 swig_obj[0] = args;
25295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25296 if (!SWIG_IsOK(res1)) {
25297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25298 }
25299 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25300 {
25301 PyThreadState* __tstate = wxPyBeginAllowThreads();
25302 result = (bool)(arg1)->GetDefaultInfo();
25303 wxPyEndAllowThreads(__tstate);
25304 if (PyErr_Occurred()) SWIG_fail;
25305 }
25306 {
25307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25308 }
25309 return resultobj;
25310 fail:
25311 return NULL;
25312 }
25313
25314
25315 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25316 PyObject *resultobj = 0;
25317 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25318 wxPoint result;
25319 void *argp1 = 0 ;
25320 int res1 = 0 ;
25321 PyObject *swig_obj[1] ;
25322
25323 if (!args) SWIG_fail;
25324 swig_obj[0] = args;
25325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25326 if (!SWIG_IsOK(res1)) {
25327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25328 }
25329 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25330 {
25331 PyThreadState* __tstate = wxPyBeginAllowThreads();
25332 result = (arg1)->GetMarginTopLeft();
25333 wxPyEndAllowThreads(__tstate);
25334 if (PyErr_Occurred()) SWIG_fail;
25335 }
25336 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25337 return resultobj;
25338 fail:
25339 return NULL;
25340 }
25341
25342
25343 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25344 PyObject *resultobj = 0;
25345 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25346 wxPoint result;
25347 void *argp1 = 0 ;
25348 int res1 = 0 ;
25349 PyObject *swig_obj[1] ;
25350
25351 if (!args) SWIG_fail;
25352 swig_obj[0] = args;
25353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25354 if (!SWIG_IsOK(res1)) {
25355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25356 }
25357 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25358 {
25359 PyThreadState* __tstate = wxPyBeginAllowThreads();
25360 result = (arg1)->GetMarginBottomRight();
25361 wxPyEndAllowThreads(__tstate);
25362 if (PyErr_Occurred()) SWIG_fail;
25363 }
25364 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25365 return resultobj;
25366 fail:
25367 return NULL;
25368 }
25369
25370
25371 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25372 PyObject *resultobj = 0;
25373 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25374 wxPoint result;
25375 void *argp1 = 0 ;
25376 int res1 = 0 ;
25377 PyObject *swig_obj[1] ;
25378
25379 if (!args) SWIG_fail;
25380 swig_obj[0] = args;
25381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25382 if (!SWIG_IsOK(res1)) {
25383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25384 }
25385 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25386 {
25387 PyThreadState* __tstate = wxPyBeginAllowThreads();
25388 result = (arg1)->GetMinMarginTopLeft();
25389 wxPyEndAllowThreads(__tstate);
25390 if (PyErr_Occurred()) SWIG_fail;
25391 }
25392 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25393 return resultobj;
25394 fail:
25395 return NULL;
25396 }
25397
25398
25399 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25400 PyObject *resultobj = 0;
25401 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25402 wxPoint result;
25403 void *argp1 = 0 ;
25404 int res1 = 0 ;
25405 PyObject *swig_obj[1] ;
25406
25407 if (!args) SWIG_fail;
25408 swig_obj[0] = args;
25409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25410 if (!SWIG_IsOK(res1)) {
25411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25412 }
25413 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25414 {
25415 PyThreadState* __tstate = wxPyBeginAllowThreads();
25416 result = (arg1)->GetMinMarginBottomRight();
25417 wxPyEndAllowThreads(__tstate);
25418 if (PyErr_Occurred()) SWIG_fail;
25419 }
25420 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25421 return resultobj;
25422 fail:
25423 return NULL;
25424 }
25425
25426
25427 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25428 PyObject *resultobj = 0;
25429 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25430 wxPaperSize result;
25431 void *argp1 = 0 ;
25432 int res1 = 0 ;
25433 PyObject *swig_obj[1] ;
25434
25435 if (!args) SWIG_fail;
25436 swig_obj[0] = args;
25437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25438 if (!SWIG_IsOK(res1)) {
25439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25440 }
25441 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25442 {
25443 PyThreadState* __tstate = wxPyBeginAllowThreads();
25444 result = (wxPaperSize)(arg1)->GetPaperId();
25445 wxPyEndAllowThreads(__tstate);
25446 if (PyErr_Occurred()) SWIG_fail;
25447 }
25448 resultobj = SWIG_From_int(static_cast< int >(result));
25449 return resultobj;
25450 fail:
25451 return NULL;
25452 }
25453
25454
25455 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25456 PyObject *resultobj = 0;
25457 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25458 wxSize result;
25459 void *argp1 = 0 ;
25460 int res1 = 0 ;
25461 PyObject *swig_obj[1] ;
25462
25463 if (!args) SWIG_fail;
25464 swig_obj[0] = args;
25465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25466 if (!SWIG_IsOK(res1)) {
25467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25468 }
25469 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25470 {
25471 PyThreadState* __tstate = wxPyBeginAllowThreads();
25472 result = (arg1)->GetPaperSize();
25473 wxPyEndAllowThreads(__tstate);
25474 if (PyErr_Occurred()) SWIG_fail;
25475 }
25476 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25477 return resultobj;
25478 fail:
25479 return NULL;
25480 }
25481
25482
25483 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25484 PyObject *resultobj = 0;
25485 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25486 wxPrintData *result = 0 ;
25487 void *argp1 = 0 ;
25488 int res1 = 0 ;
25489 PyObject *swig_obj[1] ;
25490
25491 if (!args) SWIG_fail;
25492 swig_obj[0] = args;
25493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25494 if (!SWIG_IsOK(res1)) {
25495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25496 }
25497 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25498 {
25499 PyThreadState* __tstate = wxPyBeginAllowThreads();
25500 {
25501 wxPrintData &_result_ref = (arg1)->GetPrintData();
25502 result = (wxPrintData *) &_result_ref;
25503 }
25504 wxPyEndAllowThreads(__tstate);
25505 if (PyErr_Occurred()) SWIG_fail;
25506 }
25507 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25508 return resultobj;
25509 fail:
25510 return NULL;
25511 }
25512
25513
25514 SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25515 PyObject *resultobj = 0;
25516 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25517 bool result;
25518 void *argp1 = 0 ;
25519 int res1 = 0 ;
25520 PyObject *swig_obj[1] ;
25521
25522 if (!args) SWIG_fail;
25523 swig_obj[0] = args;
25524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25525 if (!SWIG_IsOK(res1)) {
25526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25527 }
25528 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25529 {
25530 PyThreadState* __tstate = wxPyBeginAllowThreads();
25531 result = (bool)(arg1)->IsOk();
25532 wxPyEndAllowThreads(__tstate);
25533 if (PyErr_Occurred()) SWIG_fail;
25534 }
25535 {
25536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25537 }
25538 return resultobj;
25539 fail:
25540 return NULL;
25541 }
25542
25543
25544 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25545 PyObject *resultobj = 0;
25546 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25547 bool arg2 ;
25548 void *argp1 = 0 ;
25549 int res1 = 0 ;
25550 bool val2 ;
25551 int ecode2 = 0 ;
25552 PyObject * obj0 = 0 ;
25553 PyObject * obj1 = 0 ;
25554 char * kwnames[] = {
25555 (char *) "self",(char *) "flag", NULL
25556 };
25557
25558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25560 if (!SWIG_IsOK(res1)) {
25561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25562 }
25563 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25564 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25565 if (!SWIG_IsOK(ecode2)) {
25566 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25567 }
25568 arg2 = static_cast< bool >(val2);
25569 {
25570 PyThreadState* __tstate = wxPyBeginAllowThreads();
25571 (arg1)->SetDefaultInfo(arg2);
25572 wxPyEndAllowThreads(__tstate);
25573 if (PyErr_Occurred()) SWIG_fail;
25574 }
25575 resultobj = SWIG_Py_Void();
25576 return resultobj;
25577 fail:
25578 return NULL;
25579 }
25580
25581
25582 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25583 PyObject *resultobj = 0;
25584 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25585 bool arg2 ;
25586 void *argp1 = 0 ;
25587 int res1 = 0 ;
25588 bool val2 ;
25589 int ecode2 = 0 ;
25590 PyObject * obj0 = 0 ;
25591 PyObject * obj1 = 0 ;
25592 char * kwnames[] = {
25593 (char *) "self",(char *) "flag", NULL
25594 };
25595
25596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25598 if (!SWIG_IsOK(res1)) {
25599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25600 }
25601 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25602 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25603 if (!SWIG_IsOK(ecode2)) {
25604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25605 }
25606 arg2 = static_cast< bool >(val2);
25607 {
25608 PyThreadState* __tstate = wxPyBeginAllowThreads();
25609 (arg1)->SetDefaultMinMargins(arg2);
25610 wxPyEndAllowThreads(__tstate);
25611 if (PyErr_Occurred()) SWIG_fail;
25612 }
25613 resultobj = SWIG_Py_Void();
25614 return resultobj;
25615 fail:
25616 return NULL;
25617 }
25618
25619
25620 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25621 PyObject *resultobj = 0;
25622 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25623 wxPoint *arg2 = 0 ;
25624 void *argp1 = 0 ;
25625 int res1 = 0 ;
25626 wxPoint temp2 ;
25627 PyObject * obj0 = 0 ;
25628 PyObject * obj1 = 0 ;
25629 char * kwnames[] = {
25630 (char *) "self",(char *) "pt", NULL
25631 };
25632
25633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25635 if (!SWIG_IsOK(res1)) {
25636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25637 }
25638 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25639 {
25640 arg2 = &temp2;
25641 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25642 }
25643 {
25644 PyThreadState* __tstate = wxPyBeginAllowThreads();
25645 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25646 wxPyEndAllowThreads(__tstate);
25647 if (PyErr_Occurred()) SWIG_fail;
25648 }
25649 resultobj = SWIG_Py_Void();
25650 return resultobj;
25651 fail:
25652 return NULL;
25653 }
25654
25655
25656 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25657 PyObject *resultobj = 0;
25658 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25659 wxPoint *arg2 = 0 ;
25660 void *argp1 = 0 ;
25661 int res1 = 0 ;
25662 wxPoint temp2 ;
25663 PyObject * obj0 = 0 ;
25664 PyObject * obj1 = 0 ;
25665 char * kwnames[] = {
25666 (char *) "self",(char *) "pt", NULL
25667 };
25668
25669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25671 if (!SWIG_IsOK(res1)) {
25672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25673 }
25674 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25675 {
25676 arg2 = &temp2;
25677 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25678 }
25679 {
25680 PyThreadState* __tstate = wxPyBeginAllowThreads();
25681 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25682 wxPyEndAllowThreads(__tstate);
25683 if (PyErr_Occurred()) SWIG_fail;
25684 }
25685 resultobj = SWIG_Py_Void();
25686 return resultobj;
25687 fail:
25688 return NULL;
25689 }
25690
25691
25692 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25693 PyObject *resultobj = 0;
25694 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25695 wxPoint *arg2 = 0 ;
25696 void *argp1 = 0 ;
25697 int res1 = 0 ;
25698 wxPoint temp2 ;
25699 PyObject * obj0 = 0 ;
25700 PyObject * obj1 = 0 ;
25701 char * kwnames[] = {
25702 (char *) "self",(char *) "pt", NULL
25703 };
25704
25705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25707 if (!SWIG_IsOK(res1)) {
25708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25709 }
25710 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25711 {
25712 arg2 = &temp2;
25713 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25714 }
25715 {
25716 PyThreadState* __tstate = wxPyBeginAllowThreads();
25717 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25718 wxPyEndAllowThreads(__tstate);
25719 if (PyErr_Occurred()) SWIG_fail;
25720 }
25721 resultobj = SWIG_Py_Void();
25722 return resultobj;
25723 fail:
25724 return NULL;
25725 }
25726
25727
25728 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25729 PyObject *resultobj = 0;
25730 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25731 wxPoint *arg2 = 0 ;
25732 void *argp1 = 0 ;
25733 int res1 = 0 ;
25734 wxPoint temp2 ;
25735 PyObject * obj0 = 0 ;
25736 PyObject * obj1 = 0 ;
25737 char * kwnames[] = {
25738 (char *) "self",(char *) "pt", NULL
25739 };
25740
25741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25743 if (!SWIG_IsOK(res1)) {
25744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25745 }
25746 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25747 {
25748 arg2 = &temp2;
25749 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25750 }
25751 {
25752 PyThreadState* __tstate = wxPyBeginAllowThreads();
25753 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25754 wxPyEndAllowThreads(__tstate);
25755 if (PyErr_Occurred()) SWIG_fail;
25756 }
25757 resultobj = SWIG_Py_Void();
25758 return resultobj;
25759 fail:
25760 return NULL;
25761 }
25762
25763
25764 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25765 PyObject *resultobj = 0;
25766 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25767 wxPaperSize arg2 ;
25768 void *argp1 = 0 ;
25769 int res1 = 0 ;
25770 int val2 ;
25771 int ecode2 = 0 ;
25772 PyObject * obj0 = 0 ;
25773 PyObject * obj1 = 0 ;
25774 char * kwnames[] = {
25775 (char *) "self",(char *) "id", NULL
25776 };
25777
25778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25780 if (!SWIG_IsOK(res1)) {
25781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25782 }
25783 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25784 ecode2 = SWIG_AsVal_int(obj1, &val2);
25785 if (!SWIG_IsOK(ecode2)) {
25786 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25787 }
25788 arg2 = static_cast< wxPaperSize >(val2);
25789 {
25790 PyThreadState* __tstate = wxPyBeginAllowThreads();
25791 (arg1)->SetPaperId(arg2);
25792 wxPyEndAllowThreads(__tstate);
25793 if (PyErr_Occurred()) SWIG_fail;
25794 }
25795 resultobj = SWIG_Py_Void();
25796 return resultobj;
25797 fail:
25798 return NULL;
25799 }
25800
25801
25802 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25803 PyObject *resultobj = 0;
25804 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25805 wxSize *arg2 = 0 ;
25806 void *argp1 = 0 ;
25807 int res1 = 0 ;
25808 wxSize temp2 ;
25809 PyObject * obj0 = 0 ;
25810 PyObject * obj1 = 0 ;
25811 char * kwnames[] = {
25812 (char *) "self",(char *) "size", NULL
25813 };
25814
25815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25817 if (!SWIG_IsOK(res1)) {
25818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25819 }
25820 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25821 {
25822 arg2 = &temp2;
25823 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25824 }
25825 {
25826 PyThreadState* __tstate = wxPyBeginAllowThreads();
25827 (arg1)->SetPaperSize((wxSize const &)*arg2);
25828 wxPyEndAllowThreads(__tstate);
25829 if (PyErr_Occurred()) SWIG_fail;
25830 }
25831 resultobj = SWIG_Py_Void();
25832 return resultobj;
25833 fail:
25834 return NULL;
25835 }
25836
25837
25838 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25839 PyObject *resultobj = 0;
25840 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25841 wxPrintData *arg2 = 0 ;
25842 void *argp1 = 0 ;
25843 int res1 = 0 ;
25844 void *argp2 = 0 ;
25845 int res2 = 0 ;
25846 PyObject * obj0 = 0 ;
25847 PyObject * obj1 = 0 ;
25848 char * kwnames[] = {
25849 (char *) "self",(char *) "printData", NULL
25850 };
25851
25852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25854 if (!SWIG_IsOK(res1)) {
25855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25856 }
25857 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25858 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25859 if (!SWIG_IsOK(res2)) {
25860 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25861 }
25862 if (!argp2) {
25863 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25864 }
25865 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25866 {
25867 PyThreadState* __tstate = wxPyBeginAllowThreads();
25868 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25869 wxPyEndAllowThreads(__tstate);
25870 if (PyErr_Occurred()) SWIG_fail;
25871 }
25872 resultobj = SWIG_Py_Void();
25873 return resultobj;
25874 fail:
25875 return NULL;
25876 }
25877
25878
25879 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25880 PyObject *resultobj = 0;
25881 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25882 void *argp1 = 0 ;
25883 int res1 = 0 ;
25884 PyObject *swig_obj[1] ;
25885
25886 if (!args) SWIG_fail;
25887 swig_obj[0] = args;
25888 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25889 if (!SWIG_IsOK(res1)) {
25890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25891 }
25892 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25893 {
25894 PyThreadState* __tstate = wxPyBeginAllowThreads();
25895 (arg1)->CalculateIdFromPaperSize();
25896 wxPyEndAllowThreads(__tstate);
25897 if (PyErr_Occurred()) SWIG_fail;
25898 }
25899 resultobj = SWIG_Py_Void();
25900 return resultobj;
25901 fail:
25902 return NULL;
25903 }
25904
25905
25906 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25907 PyObject *resultobj = 0;
25908 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25909 void *argp1 = 0 ;
25910 int res1 = 0 ;
25911 PyObject *swig_obj[1] ;
25912
25913 if (!args) SWIG_fail;
25914 swig_obj[0] = args;
25915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25916 if (!SWIG_IsOK(res1)) {
25917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25918 }
25919 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25920 {
25921 PyThreadState* __tstate = wxPyBeginAllowThreads();
25922 (arg1)->CalculatePaperSizeFromId();
25923 wxPyEndAllowThreads(__tstate);
25924 if (PyErr_Occurred()) SWIG_fail;
25925 }
25926 resultobj = SWIG_Py_Void();
25927 return resultobj;
25928 fail:
25929 return NULL;
25930 }
25931
25932
25933 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25934 PyObject *obj;
25935 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25936 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25937 return SWIG_Py_Void();
25938 }
25939
25940 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25941 return SWIG_Python_InitShadowInstance(args);
25942 }
25943
25944 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25945 PyObject *resultobj = 0;
25946 wxWindow *arg1 = (wxWindow *) 0 ;
25947 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25948 wxPageSetupDialog *result = 0 ;
25949 void *argp1 = 0 ;
25950 int res1 = 0 ;
25951 void *argp2 = 0 ;
25952 int res2 = 0 ;
25953 PyObject * obj0 = 0 ;
25954 PyObject * obj1 = 0 ;
25955 char * kwnames[] = {
25956 (char *) "parent",(char *) "data", NULL
25957 };
25958
25959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25961 if (!SWIG_IsOK(res1)) {
25962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25963 }
25964 arg1 = reinterpret_cast< wxWindow * >(argp1);
25965 if (obj1) {
25966 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25967 if (!SWIG_IsOK(res2)) {
25968 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25969 }
25970 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25971 }
25972 {
25973 if (!wxPyCheckForApp()) SWIG_fail;
25974 PyThreadState* __tstate = wxPyBeginAllowThreads();
25975 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25976 wxPyEndAllowThreads(__tstate);
25977 if (PyErr_Occurred()) SWIG_fail;
25978 }
25979 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25980 return resultobj;
25981 fail:
25982 return NULL;
25983 }
25984
25985
25986 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25987 PyObject *resultobj = 0;
25988 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25989 void *argp1 = 0 ;
25990 int res1 = 0 ;
25991 PyObject *swig_obj[1] ;
25992
25993 if (!args) SWIG_fail;
25994 swig_obj[0] = args;
25995 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25996 if (!SWIG_IsOK(res1)) {
25997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25998 }
25999 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26000 {
26001 PyThreadState* __tstate = wxPyBeginAllowThreads();
26002 delete arg1;
26003
26004 wxPyEndAllowThreads(__tstate);
26005 if (PyErr_Occurred()) SWIG_fail;
26006 }
26007 resultobj = SWIG_Py_Void();
26008 return resultobj;
26009 fail:
26010 return NULL;
26011 }
26012
26013
26014 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26015 PyObject *resultobj = 0;
26016 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26017 wxPageSetupDialogData *result = 0 ;
26018 void *argp1 = 0 ;
26019 int res1 = 0 ;
26020 PyObject *swig_obj[1] ;
26021
26022 if (!args) SWIG_fail;
26023 swig_obj[0] = args;
26024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26025 if (!SWIG_IsOK(res1)) {
26026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26027 }
26028 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26029 {
26030 PyThreadState* __tstate = wxPyBeginAllowThreads();
26031 {
26032 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
26033 result = (wxPageSetupDialogData *) &_result_ref;
26034 }
26035 wxPyEndAllowThreads(__tstate);
26036 if (PyErr_Occurred()) SWIG_fail;
26037 }
26038 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26039 return resultobj;
26040 fail:
26041 return NULL;
26042 }
26043
26044
26045 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26046 PyObject *resultobj = 0;
26047 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26048 wxPageSetupDialogData *result = 0 ;
26049 void *argp1 = 0 ;
26050 int res1 = 0 ;
26051 PyObject *swig_obj[1] ;
26052
26053 if (!args) SWIG_fail;
26054 swig_obj[0] = args;
26055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26056 if (!SWIG_IsOK(res1)) {
26057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26058 }
26059 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26060 {
26061 PyThreadState* __tstate = wxPyBeginAllowThreads();
26062 {
26063 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
26064 result = (wxPageSetupDialogData *) &_result_ref;
26065 }
26066 wxPyEndAllowThreads(__tstate);
26067 if (PyErr_Occurred()) SWIG_fail;
26068 }
26069 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26070 return resultobj;
26071 fail:
26072 return NULL;
26073 }
26074
26075
26076 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26077 PyObject *resultobj = 0;
26078 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26079 int result;
26080 void *argp1 = 0 ;
26081 int res1 = 0 ;
26082 PyObject *swig_obj[1] ;
26083
26084 if (!args) SWIG_fail;
26085 swig_obj[0] = args;
26086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26087 if (!SWIG_IsOK(res1)) {
26088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26089 }
26090 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26091 {
26092 PyThreadState* __tstate = wxPyBeginAllowThreads();
26093 result = (int)(arg1)->ShowModal();
26094 wxPyEndAllowThreads(__tstate);
26095 if (PyErr_Occurred()) SWIG_fail;
26096 }
26097 resultobj = SWIG_From_int(static_cast< int >(result));
26098 return resultobj;
26099 fail:
26100 return NULL;
26101 }
26102
26103
26104 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26105 PyObject *obj;
26106 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26107 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
26108 return SWIG_Py_Void();
26109 }
26110
26111 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26112 return SWIG_Python_InitShadowInstance(args);
26113 }
26114
26115 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26116 PyObject *resultobj = 0;
26117 wxPrintDialogData *result = 0 ;
26118
26119 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26120 {
26121 PyThreadState* __tstate = wxPyBeginAllowThreads();
26122 result = (wxPrintDialogData *)new wxPrintDialogData();
26123 wxPyEndAllowThreads(__tstate);
26124 if (PyErr_Occurred()) SWIG_fail;
26125 }
26126 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26127 return resultobj;
26128 fail:
26129 return NULL;
26130 }
26131
26132
26133 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26134 PyObject *resultobj = 0;
26135 wxPrintData *arg1 = 0 ;
26136 wxPrintDialogData *result = 0 ;
26137 void *argp1 = 0 ;
26138 int res1 = 0 ;
26139
26140 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26142 if (!SWIG_IsOK(res1)) {
26143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26144 }
26145 if (!argp1) {
26146 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26147 }
26148 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26149 {
26150 PyThreadState* __tstate = wxPyBeginAllowThreads();
26151 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26152 wxPyEndAllowThreads(__tstate);
26153 if (PyErr_Occurred()) SWIG_fail;
26154 }
26155 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26156 return resultobj;
26157 fail:
26158 return NULL;
26159 }
26160
26161
26162 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26163 PyObject *resultobj = 0;
26164 wxPrintDialogData *arg1 = 0 ;
26165 wxPrintDialogData *result = 0 ;
26166 void *argp1 = 0 ;
26167 int res1 = 0 ;
26168
26169 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26171 if (!SWIG_IsOK(res1)) {
26172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26173 }
26174 if (!argp1) {
26175 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26176 }
26177 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26178 {
26179 PyThreadState* __tstate = wxPyBeginAllowThreads();
26180 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26181 wxPyEndAllowThreads(__tstate);
26182 if (PyErr_Occurred()) SWIG_fail;
26183 }
26184 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26185 return resultobj;
26186 fail:
26187 return NULL;
26188 }
26189
26190
26191 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26192 int argc;
26193 PyObject *argv[2];
26194
26195 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26196 --argc;
26197 if (argc == 0) {
26198 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26199 }
26200 if (argc == 1) {
26201 int _v = 0;
26202 {
26203 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26204 _v = SWIG_CheckState(res);
26205 }
26206 if (!_v) goto check_2;
26207 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26208 }
26209 check_2:
26210
26211 if (argc == 1) {
26212 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26213 }
26214
26215 fail:
26216 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26217 return NULL;
26218 }
26219
26220
26221 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26222 PyObject *resultobj = 0;
26223 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26224 void *argp1 = 0 ;
26225 int res1 = 0 ;
26226 PyObject *swig_obj[1] ;
26227
26228 if (!args) SWIG_fail;
26229 swig_obj[0] = args;
26230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26231 if (!SWIG_IsOK(res1)) {
26232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26233 }
26234 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26235 {
26236 PyThreadState* __tstate = wxPyBeginAllowThreads();
26237 delete arg1;
26238
26239 wxPyEndAllowThreads(__tstate);
26240 if (PyErr_Occurred()) SWIG_fail;
26241 }
26242 resultobj = SWIG_Py_Void();
26243 return resultobj;
26244 fail:
26245 return NULL;
26246 }
26247
26248
26249 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26250 PyObject *resultobj = 0;
26251 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26252 int result;
26253 void *argp1 = 0 ;
26254 int res1 = 0 ;
26255 PyObject *swig_obj[1] ;
26256
26257 if (!args) SWIG_fail;
26258 swig_obj[0] = args;
26259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26260 if (!SWIG_IsOK(res1)) {
26261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26262 }
26263 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26264 {
26265 PyThreadState* __tstate = wxPyBeginAllowThreads();
26266 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26267 wxPyEndAllowThreads(__tstate);
26268 if (PyErr_Occurred()) SWIG_fail;
26269 }
26270 resultobj = SWIG_From_int(static_cast< int >(result));
26271 return resultobj;
26272 fail:
26273 return NULL;
26274 }
26275
26276
26277 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26278 PyObject *resultobj = 0;
26279 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26280 int result;
26281 void *argp1 = 0 ;
26282 int res1 = 0 ;
26283 PyObject *swig_obj[1] ;
26284
26285 if (!args) SWIG_fail;
26286 swig_obj[0] = args;
26287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26288 if (!SWIG_IsOK(res1)) {
26289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26290 }
26291 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26292 {
26293 PyThreadState* __tstate = wxPyBeginAllowThreads();
26294 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26295 wxPyEndAllowThreads(__tstate);
26296 if (PyErr_Occurred()) SWIG_fail;
26297 }
26298 resultobj = SWIG_From_int(static_cast< int >(result));
26299 return resultobj;
26300 fail:
26301 return NULL;
26302 }
26303
26304
26305 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26306 PyObject *resultobj = 0;
26307 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26308 int result;
26309 void *argp1 = 0 ;
26310 int res1 = 0 ;
26311 PyObject *swig_obj[1] ;
26312
26313 if (!args) SWIG_fail;
26314 swig_obj[0] = args;
26315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26316 if (!SWIG_IsOK(res1)) {
26317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26318 }
26319 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26320 {
26321 PyThreadState* __tstate = wxPyBeginAllowThreads();
26322 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26323 wxPyEndAllowThreads(__tstate);
26324 if (PyErr_Occurred()) SWIG_fail;
26325 }
26326 resultobj = SWIG_From_int(static_cast< int >(result));
26327 return resultobj;
26328 fail:
26329 return NULL;
26330 }
26331
26332
26333 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26334 PyObject *resultobj = 0;
26335 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26336 int result;
26337 void *argp1 = 0 ;
26338 int res1 = 0 ;
26339 PyObject *swig_obj[1] ;
26340
26341 if (!args) SWIG_fail;
26342 swig_obj[0] = args;
26343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26344 if (!SWIG_IsOK(res1)) {
26345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26346 }
26347 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26348 {
26349 PyThreadState* __tstate = wxPyBeginAllowThreads();
26350 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26351 wxPyEndAllowThreads(__tstate);
26352 if (PyErr_Occurred()) SWIG_fail;
26353 }
26354 resultobj = SWIG_From_int(static_cast< int >(result));
26355 return resultobj;
26356 fail:
26357 return NULL;
26358 }
26359
26360
26361 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26362 PyObject *resultobj = 0;
26363 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26364 int result;
26365 void *argp1 = 0 ;
26366 int res1 = 0 ;
26367 PyObject *swig_obj[1] ;
26368
26369 if (!args) SWIG_fail;
26370 swig_obj[0] = args;
26371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26372 if (!SWIG_IsOK(res1)) {
26373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26374 }
26375 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26376 {
26377 PyThreadState* __tstate = wxPyBeginAllowThreads();
26378 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26379 wxPyEndAllowThreads(__tstate);
26380 if (PyErr_Occurred()) SWIG_fail;
26381 }
26382 resultobj = SWIG_From_int(static_cast< int >(result));
26383 return resultobj;
26384 fail:
26385 return NULL;
26386 }
26387
26388
26389 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26390 PyObject *resultobj = 0;
26391 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26392 bool result;
26393 void *argp1 = 0 ;
26394 int res1 = 0 ;
26395 PyObject *swig_obj[1] ;
26396
26397 if (!args) SWIG_fail;
26398 swig_obj[0] = args;
26399 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26400 if (!SWIG_IsOK(res1)) {
26401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26402 }
26403 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26404 {
26405 PyThreadState* __tstate = wxPyBeginAllowThreads();
26406 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26407 wxPyEndAllowThreads(__tstate);
26408 if (PyErr_Occurred()) SWIG_fail;
26409 }
26410 {
26411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26412 }
26413 return resultobj;
26414 fail:
26415 return NULL;
26416 }
26417
26418
26419 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26420 PyObject *resultobj = 0;
26421 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26422 bool result;
26423 void *argp1 = 0 ;
26424 int res1 = 0 ;
26425 PyObject *swig_obj[1] ;
26426
26427 if (!args) SWIG_fail;
26428 swig_obj[0] = args;
26429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26430 if (!SWIG_IsOK(res1)) {
26431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26432 }
26433 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26434 {
26435 PyThreadState* __tstate = wxPyBeginAllowThreads();
26436 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26437 wxPyEndAllowThreads(__tstate);
26438 if (PyErr_Occurred()) SWIG_fail;
26439 }
26440 {
26441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26442 }
26443 return resultobj;
26444 fail:
26445 return NULL;
26446 }
26447
26448
26449 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26450 PyObject *resultobj = 0;
26451 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26452 bool result;
26453 void *argp1 = 0 ;
26454 int res1 = 0 ;
26455 PyObject *swig_obj[1] ;
26456
26457 if (!args) SWIG_fail;
26458 swig_obj[0] = args;
26459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26460 if (!SWIG_IsOK(res1)) {
26461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26462 }
26463 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26464 {
26465 PyThreadState* __tstate = wxPyBeginAllowThreads();
26466 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26467 wxPyEndAllowThreads(__tstate);
26468 if (PyErr_Occurred()) SWIG_fail;
26469 }
26470 {
26471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26472 }
26473 return resultobj;
26474 fail:
26475 return NULL;
26476 }
26477
26478
26479 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26480 PyObject *resultobj = 0;
26481 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26482 bool result;
26483 void *argp1 = 0 ;
26484 int res1 = 0 ;
26485 PyObject *swig_obj[1] ;
26486
26487 if (!args) SWIG_fail;
26488 swig_obj[0] = args;
26489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26490 if (!SWIG_IsOK(res1)) {
26491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26492 }
26493 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26494 {
26495 PyThreadState* __tstate = wxPyBeginAllowThreads();
26496 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26497 wxPyEndAllowThreads(__tstate);
26498 if (PyErr_Occurred()) SWIG_fail;
26499 }
26500 {
26501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26502 }
26503 return resultobj;
26504 fail:
26505 return NULL;
26506 }
26507
26508
26509 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26510 PyObject *resultobj = 0;
26511 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26512 int arg2 ;
26513 void *argp1 = 0 ;
26514 int res1 = 0 ;
26515 int val2 ;
26516 int ecode2 = 0 ;
26517 PyObject * obj0 = 0 ;
26518 PyObject * obj1 = 0 ;
26519 char * kwnames[] = {
26520 (char *) "self",(char *) "v", NULL
26521 };
26522
26523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26525 if (!SWIG_IsOK(res1)) {
26526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26527 }
26528 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26529 ecode2 = SWIG_AsVal_int(obj1, &val2);
26530 if (!SWIG_IsOK(ecode2)) {
26531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26532 }
26533 arg2 = static_cast< int >(val2);
26534 {
26535 PyThreadState* __tstate = wxPyBeginAllowThreads();
26536 (arg1)->SetFromPage(arg2);
26537 wxPyEndAllowThreads(__tstate);
26538 if (PyErr_Occurred()) SWIG_fail;
26539 }
26540 resultobj = SWIG_Py_Void();
26541 return resultobj;
26542 fail:
26543 return NULL;
26544 }
26545
26546
26547 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26548 PyObject *resultobj = 0;
26549 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26550 int arg2 ;
26551 void *argp1 = 0 ;
26552 int res1 = 0 ;
26553 int val2 ;
26554 int ecode2 = 0 ;
26555 PyObject * obj0 = 0 ;
26556 PyObject * obj1 = 0 ;
26557 char * kwnames[] = {
26558 (char *) "self",(char *) "v", NULL
26559 };
26560
26561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26563 if (!SWIG_IsOK(res1)) {
26564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26565 }
26566 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26567 ecode2 = SWIG_AsVal_int(obj1, &val2);
26568 if (!SWIG_IsOK(ecode2)) {
26569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26570 }
26571 arg2 = static_cast< int >(val2);
26572 {
26573 PyThreadState* __tstate = wxPyBeginAllowThreads();
26574 (arg1)->SetToPage(arg2);
26575 wxPyEndAllowThreads(__tstate);
26576 if (PyErr_Occurred()) SWIG_fail;
26577 }
26578 resultobj = SWIG_Py_Void();
26579 return resultobj;
26580 fail:
26581 return NULL;
26582 }
26583
26584
26585 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26586 PyObject *resultobj = 0;
26587 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26588 int arg2 ;
26589 void *argp1 = 0 ;
26590 int res1 = 0 ;
26591 int val2 ;
26592 int ecode2 = 0 ;
26593 PyObject * obj0 = 0 ;
26594 PyObject * obj1 = 0 ;
26595 char * kwnames[] = {
26596 (char *) "self",(char *) "v", NULL
26597 };
26598
26599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26601 if (!SWIG_IsOK(res1)) {
26602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26603 }
26604 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26605 ecode2 = SWIG_AsVal_int(obj1, &val2);
26606 if (!SWIG_IsOK(ecode2)) {
26607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26608 }
26609 arg2 = static_cast< int >(val2);
26610 {
26611 PyThreadState* __tstate = wxPyBeginAllowThreads();
26612 (arg1)->SetMinPage(arg2);
26613 wxPyEndAllowThreads(__tstate);
26614 if (PyErr_Occurred()) SWIG_fail;
26615 }
26616 resultobj = SWIG_Py_Void();
26617 return resultobj;
26618 fail:
26619 return NULL;
26620 }
26621
26622
26623 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26624 PyObject *resultobj = 0;
26625 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26626 int arg2 ;
26627 void *argp1 = 0 ;
26628 int res1 = 0 ;
26629 int val2 ;
26630 int ecode2 = 0 ;
26631 PyObject * obj0 = 0 ;
26632 PyObject * obj1 = 0 ;
26633 char * kwnames[] = {
26634 (char *) "self",(char *) "v", NULL
26635 };
26636
26637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26639 if (!SWIG_IsOK(res1)) {
26640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26641 }
26642 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26643 ecode2 = SWIG_AsVal_int(obj1, &val2);
26644 if (!SWIG_IsOK(ecode2)) {
26645 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26646 }
26647 arg2 = static_cast< int >(val2);
26648 {
26649 PyThreadState* __tstate = wxPyBeginAllowThreads();
26650 (arg1)->SetMaxPage(arg2);
26651 wxPyEndAllowThreads(__tstate);
26652 if (PyErr_Occurred()) SWIG_fail;
26653 }
26654 resultobj = SWIG_Py_Void();
26655 return resultobj;
26656 fail:
26657 return NULL;
26658 }
26659
26660
26661 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26662 PyObject *resultobj = 0;
26663 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26664 int arg2 ;
26665 void *argp1 = 0 ;
26666 int res1 = 0 ;
26667 int val2 ;
26668 int ecode2 = 0 ;
26669 PyObject * obj0 = 0 ;
26670 PyObject * obj1 = 0 ;
26671 char * kwnames[] = {
26672 (char *) "self",(char *) "v", NULL
26673 };
26674
26675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26677 if (!SWIG_IsOK(res1)) {
26678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26679 }
26680 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26681 ecode2 = SWIG_AsVal_int(obj1, &val2);
26682 if (!SWIG_IsOK(ecode2)) {
26683 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26684 }
26685 arg2 = static_cast< int >(val2);
26686 {
26687 PyThreadState* __tstate = wxPyBeginAllowThreads();
26688 (arg1)->SetNoCopies(arg2);
26689 wxPyEndAllowThreads(__tstate);
26690 if (PyErr_Occurred()) SWIG_fail;
26691 }
26692 resultobj = SWIG_Py_Void();
26693 return resultobj;
26694 fail:
26695 return NULL;
26696 }
26697
26698
26699 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26700 PyObject *resultobj = 0;
26701 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26702 bool arg2 ;
26703 void *argp1 = 0 ;
26704 int res1 = 0 ;
26705 bool val2 ;
26706 int ecode2 = 0 ;
26707 PyObject * obj0 = 0 ;
26708 PyObject * obj1 = 0 ;
26709 char * kwnames[] = {
26710 (char *) "self",(char *) "flag", NULL
26711 };
26712
26713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26715 if (!SWIG_IsOK(res1)) {
26716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26717 }
26718 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26719 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26720 if (!SWIG_IsOK(ecode2)) {
26721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26722 }
26723 arg2 = static_cast< bool >(val2);
26724 {
26725 PyThreadState* __tstate = wxPyBeginAllowThreads();
26726 (arg1)->SetAllPages(arg2);
26727 wxPyEndAllowThreads(__tstate);
26728 if (PyErr_Occurred()) SWIG_fail;
26729 }
26730 resultobj = SWIG_Py_Void();
26731 return resultobj;
26732 fail:
26733 return NULL;
26734 }
26735
26736
26737 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26738 PyObject *resultobj = 0;
26739 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26740 bool arg2 ;
26741 void *argp1 = 0 ;
26742 int res1 = 0 ;
26743 bool val2 ;
26744 int ecode2 = 0 ;
26745 PyObject * obj0 = 0 ;
26746 PyObject * obj1 = 0 ;
26747 char * kwnames[] = {
26748 (char *) "self",(char *) "flag", NULL
26749 };
26750
26751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26753 if (!SWIG_IsOK(res1)) {
26754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26755 }
26756 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26757 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26758 if (!SWIG_IsOK(ecode2)) {
26759 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26760 }
26761 arg2 = static_cast< bool >(val2);
26762 {
26763 PyThreadState* __tstate = wxPyBeginAllowThreads();
26764 (arg1)->SetSelection(arg2);
26765 wxPyEndAllowThreads(__tstate);
26766 if (PyErr_Occurred()) SWIG_fail;
26767 }
26768 resultobj = SWIG_Py_Void();
26769 return resultobj;
26770 fail:
26771 return NULL;
26772 }
26773
26774
26775 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26776 PyObject *resultobj = 0;
26777 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26778 bool arg2 ;
26779 void *argp1 = 0 ;
26780 int res1 = 0 ;
26781 bool val2 ;
26782 int ecode2 = 0 ;
26783 PyObject * obj0 = 0 ;
26784 PyObject * obj1 = 0 ;
26785 char * kwnames[] = {
26786 (char *) "self",(char *) "flag", NULL
26787 };
26788
26789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26791 if (!SWIG_IsOK(res1)) {
26792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26793 }
26794 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26795 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26796 if (!SWIG_IsOK(ecode2)) {
26797 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26798 }
26799 arg2 = static_cast< bool >(val2);
26800 {
26801 PyThreadState* __tstate = wxPyBeginAllowThreads();
26802 (arg1)->SetCollate(arg2);
26803 wxPyEndAllowThreads(__tstate);
26804 if (PyErr_Occurred()) SWIG_fail;
26805 }
26806 resultobj = SWIG_Py_Void();
26807 return resultobj;
26808 fail:
26809 return NULL;
26810 }
26811
26812
26813 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26814 PyObject *resultobj = 0;
26815 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26816 bool arg2 ;
26817 void *argp1 = 0 ;
26818 int res1 = 0 ;
26819 bool val2 ;
26820 int ecode2 = 0 ;
26821 PyObject * obj0 = 0 ;
26822 PyObject * obj1 = 0 ;
26823 char * kwnames[] = {
26824 (char *) "self",(char *) "flag", NULL
26825 };
26826
26827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26829 if (!SWIG_IsOK(res1)) {
26830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26831 }
26832 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26833 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26834 if (!SWIG_IsOK(ecode2)) {
26835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26836 }
26837 arg2 = static_cast< bool >(val2);
26838 {
26839 PyThreadState* __tstate = wxPyBeginAllowThreads();
26840 (arg1)->SetPrintToFile(arg2);
26841 wxPyEndAllowThreads(__tstate);
26842 if (PyErr_Occurred()) SWIG_fail;
26843 }
26844 resultobj = SWIG_Py_Void();
26845 return resultobj;
26846 fail:
26847 return NULL;
26848 }
26849
26850
26851 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26852 PyObject *resultobj = 0;
26853 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26854 bool arg2 ;
26855 void *argp1 = 0 ;
26856 int res1 = 0 ;
26857 bool val2 ;
26858 int ecode2 = 0 ;
26859 PyObject * obj0 = 0 ;
26860 PyObject * obj1 = 0 ;
26861 char * kwnames[] = {
26862 (char *) "self",(char *) "flag", NULL
26863 };
26864
26865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26867 if (!SWIG_IsOK(res1)) {
26868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26869 }
26870 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26871 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26872 if (!SWIG_IsOK(ecode2)) {
26873 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26874 }
26875 arg2 = static_cast< bool >(val2);
26876 {
26877 PyThreadState* __tstate = wxPyBeginAllowThreads();
26878 (arg1)->EnablePrintToFile(arg2);
26879 wxPyEndAllowThreads(__tstate);
26880 if (PyErr_Occurred()) SWIG_fail;
26881 }
26882 resultobj = SWIG_Py_Void();
26883 return resultobj;
26884 fail:
26885 return NULL;
26886 }
26887
26888
26889 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26890 PyObject *resultobj = 0;
26891 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26892 bool arg2 ;
26893 void *argp1 = 0 ;
26894 int res1 = 0 ;
26895 bool val2 ;
26896 int ecode2 = 0 ;
26897 PyObject * obj0 = 0 ;
26898 PyObject * obj1 = 0 ;
26899 char * kwnames[] = {
26900 (char *) "self",(char *) "flag", NULL
26901 };
26902
26903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26905 if (!SWIG_IsOK(res1)) {
26906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26907 }
26908 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26909 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26910 if (!SWIG_IsOK(ecode2)) {
26911 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26912 }
26913 arg2 = static_cast< bool >(val2);
26914 {
26915 PyThreadState* __tstate = wxPyBeginAllowThreads();
26916 (arg1)->EnableSelection(arg2);
26917 wxPyEndAllowThreads(__tstate);
26918 if (PyErr_Occurred()) SWIG_fail;
26919 }
26920 resultobj = SWIG_Py_Void();
26921 return resultobj;
26922 fail:
26923 return NULL;
26924 }
26925
26926
26927 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26928 PyObject *resultobj = 0;
26929 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26930 bool arg2 ;
26931 void *argp1 = 0 ;
26932 int res1 = 0 ;
26933 bool val2 ;
26934 int ecode2 = 0 ;
26935 PyObject * obj0 = 0 ;
26936 PyObject * obj1 = 0 ;
26937 char * kwnames[] = {
26938 (char *) "self",(char *) "flag", NULL
26939 };
26940
26941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26943 if (!SWIG_IsOK(res1)) {
26944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26945 }
26946 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26947 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26948 if (!SWIG_IsOK(ecode2)) {
26949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26950 }
26951 arg2 = static_cast< bool >(val2);
26952 {
26953 PyThreadState* __tstate = wxPyBeginAllowThreads();
26954 (arg1)->EnablePageNumbers(arg2);
26955 wxPyEndAllowThreads(__tstate);
26956 if (PyErr_Occurred()) SWIG_fail;
26957 }
26958 resultobj = SWIG_Py_Void();
26959 return resultobj;
26960 fail:
26961 return NULL;
26962 }
26963
26964
26965 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26966 PyObject *resultobj = 0;
26967 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26968 bool arg2 ;
26969 void *argp1 = 0 ;
26970 int res1 = 0 ;
26971 bool val2 ;
26972 int ecode2 = 0 ;
26973 PyObject * obj0 = 0 ;
26974 PyObject * obj1 = 0 ;
26975 char * kwnames[] = {
26976 (char *) "self",(char *) "flag", NULL
26977 };
26978
26979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26981 if (!SWIG_IsOK(res1)) {
26982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26983 }
26984 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26985 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26986 if (!SWIG_IsOK(ecode2)) {
26987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26988 }
26989 arg2 = static_cast< bool >(val2);
26990 {
26991 PyThreadState* __tstate = wxPyBeginAllowThreads();
26992 (arg1)->EnableHelp(arg2);
26993 wxPyEndAllowThreads(__tstate);
26994 if (PyErr_Occurred()) SWIG_fail;
26995 }
26996 resultobj = SWIG_Py_Void();
26997 return resultobj;
26998 fail:
26999 return NULL;
27000 }
27001
27002
27003 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27004 PyObject *resultobj = 0;
27005 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27006 bool result;
27007 void *argp1 = 0 ;
27008 int res1 = 0 ;
27009 PyObject *swig_obj[1] ;
27010
27011 if (!args) SWIG_fail;
27012 swig_obj[0] = args;
27013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27014 if (!SWIG_IsOK(res1)) {
27015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27016 }
27017 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27018 {
27019 PyThreadState* __tstate = wxPyBeginAllowThreads();
27020 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
27021 wxPyEndAllowThreads(__tstate);
27022 if (PyErr_Occurred()) SWIG_fail;
27023 }
27024 {
27025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27026 }
27027 return resultobj;
27028 fail:
27029 return NULL;
27030 }
27031
27032
27033 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27034 PyObject *resultobj = 0;
27035 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27036 bool result;
27037 void *argp1 = 0 ;
27038 int res1 = 0 ;
27039 PyObject *swig_obj[1] ;
27040
27041 if (!args) SWIG_fail;
27042 swig_obj[0] = args;
27043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27044 if (!SWIG_IsOK(res1)) {
27045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27046 }
27047 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27048 {
27049 PyThreadState* __tstate = wxPyBeginAllowThreads();
27050 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
27051 wxPyEndAllowThreads(__tstate);
27052 if (PyErr_Occurred()) SWIG_fail;
27053 }
27054 {
27055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27056 }
27057 return resultobj;
27058 fail:
27059 return NULL;
27060 }
27061
27062
27063 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27064 PyObject *resultobj = 0;
27065 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27066 bool result;
27067 void *argp1 = 0 ;
27068 int res1 = 0 ;
27069 PyObject *swig_obj[1] ;
27070
27071 if (!args) SWIG_fail;
27072 swig_obj[0] = args;
27073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27074 if (!SWIG_IsOK(res1)) {
27075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27076 }
27077 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27078 {
27079 PyThreadState* __tstate = wxPyBeginAllowThreads();
27080 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
27081 wxPyEndAllowThreads(__tstate);
27082 if (PyErr_Occurred()) SWIG_fail;
27083 }
27084 {
27085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27086 }
27087 return resultobj;
27088 fail:
27089 return NULL;
27090 }
27091
27092
27093 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27094 PyObject *resultobj = 0;
27095 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27096 bool result;
27097 void *argp1 = 0 ;
27098 int res1 = 0 ;
27099 PyObject *swig_obj[1] ;
27100
27101 if (!args) SWIG_fail;
27102 swig_obj[0] = args;
27103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27104 if (!SWIG_IsOK(res1)) {
27105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27106 }
27107 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27108 {
27109 PyThreadState* __tstate = wxPyBeginAllowThreads();
27110 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
27111 wxPyEndAllowThreads(__tstate);
27112 if (PyErr_Occurred()) SWIG_fail;
27113 }
27114 {
27115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27116 }
27117 return resultobj;
27118 fail:
27119 return NULL;
27120 }
27121
27122
27123 SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27124 PyObject *resultobj = 0;
27125 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27126 bool result;
27127 void *argp1 = 0 ;
27128 int res1 = 0 ;
27129 PyObject *swig_obj[1] ;
27130
27131 if (!args) SWIG_fail;
27132 swig_obj[0] = args;
27133 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27134 if (!SWIG_IsOK(res1)) {
27135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27136 }
27137 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27138 {
27139 PyThreadState* __tstate = wxPyBeginAllowThreads();
27140 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
27141 wxPyEndAllowThreads(__tstate);
27142 if (PyErr_Occurred()) SWIG_fail;
27143 }
27144 {
27145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27146 }
27147 return resultobj;
27148 fail:
27149 return NULL;
27150 }
27151
27152
27153 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27154 PyObject *resultobj = 0;
27155 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27156 wxPrintData *result = 0 ;
27157 void *argp1 = 0 ;
27158 int res1 = 0 ;
27159 PyObject *swig_obj[1] ;
27160
27161 if (!args) SWIG_fail;
27162 swig_obj[0] = args;
27163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27164 if (!SWIG_IsOK(res1)) {
27165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27166 }
27167 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27168 {
27169 PyThreadState* __tstate = wxPyBeginAllowThreads();
27170 {
27171 wxPrintData &_result_ref = (arg1)->GetPrintData();
27172 result = (wxPrintData *) &_result_ref;
27173 }
27174 wxPyEndAllowThreads(__tstate);
27175 if (PyErr_Occurred()) SWIG_fail;
27176 }
27177 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27178 return resultobj;
27179 fail:
27180 return NULL;
27181 }
27182
27183
27184 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27185 PyObject *resultobj = 0;
27186 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27187 wxPrintData *arg2 = 0 ;
27188 void *argp1 = 0 ;
27189 int res1 = 0 ;
27190 void *argp2 = 0 ;
27191 int res2 = 0 ;
27192 PyObject * obj0 = 0 ;
27193 PyObject * obj1 = 0 ;
27194 char * kwnames[] = {
27195 (char *) "self",(char *) "printData", NULL
27196 };
27197
27198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27200 if (!SWIG_IsOK(res1)) {
27201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27202 }
27203 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27204 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27205 if (!SWIG_IsOK(res2)) {
27206 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27207 }
27208 if (!argp2) {
27209 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27210 }
27211 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27212 {
27213 PyThreadState* __tstate = wxPyBeginAllowThreads();
27214 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27215 wxPyEndAllowThreads(__tstate);
27216 if (PyErr_Occurred()) SWIG_fail;
27217 }
27218 resultobj = SWIG_Py_Void();
27219 return resultobj;
27220 fail:
27221 return NULL;
27222 }
27223
27224
27225 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27226 PyObject *obj;
27227 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27228 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27229 return SWIG_Py_Void();
27230 }
27231
27232 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27233 return SWIG_Python_InitShadowInstance(args);
27234 }
27235
27236 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27237 PyObject *resultobj = 0;
27238 wxWindow *arg1 = (wxWindow *) 0 ;
27239 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27240 wxPrintDialog *result = 0 ;
27241 void *argp1 = 0 ;
27242 int res1 = 0 ;
27243 void *argp2 = 0 ;
27244 int res2 = 0 ;
27245 PyObject * obj0 = 0 ;
27246 PyObject * obj1 = 0 ;
27247 char * kwnames[] = {
27248 (char *) "parent",(char *) "data", NULL
27249 };
27250
27251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27253 if (!SWIG_IsOK(res1)) {
27254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27255 }
27256 arg1 = reinterpret_cast< wxWindow * >(argp1);
27257 if (obj1) {
27258 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27259 if (!SWIG_IsOK(res2)) {
27260 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27261 }
27262 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27263 }
27264 {
27265 if (!wxPyCheckForApp()) SWIG_fail;
27266 PyThreadState* __tstate = wxPyBeginAllowThreads();
27267 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27268 wxPyEndAllowThreads(__tstate);
27269 if (PyErr_Occurred()) SWIG_fail;
27270 }
27271 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27272 return resultobj;
27273 fail:
27274 return NULL;
27275 }
27276
27277
27278 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27279 PyObject *resultobj = 0;
27280 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27281 void *argp1 = 0 ;
27282 int res1 = 0 ;
27283 PyObject *swig_obj[1] ;
27284
27285 if (!args) SWIG_fail;
27286 swig_obj[0] = args;
27287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27288 if (!SWIG_IsOK(res1)) {
27289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27290 }
27291 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27292 {
27293 PyThreadState* __tstate = wxPyBeginAllowThreads();
27294 delete arg1;
27295
27296 wxPyEndAllowThreads(__tstate);
27297 if (PyErr_Occurred()) SWIG_fail;
27298 }
27299 resultobj = SWIG_Py_Void();
27300 return resultobj;
27301 fail:
27302 return NULL;
27303 }
27304
27305
27306 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27307 PyObject *resultobj = 0;
27308 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27309 int result;
27310 void *argp1 = 0 ;
27311 int res1 = 0 ;
27312 PyObject *swig_obj[1] ;
27313
27314 if (!args) SWIG_fail;
27315 swig_obj[0] = args;
27316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27317 if (!SWIG_IsOK(res1)) {
27318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27319 }
27320 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27321 {
27322 PyThreadState* __tstate = wxPyBeginAllowThreads();
27323 result = (int)(arg1)->ShowModal();
27324 wxPyEndAllowThreads(__tstate);
27325 if (PyErr_Occurred()) SWIG_fail;
27326 }
27327 resultobj = SWIG_From_int(static_cast< int >(result));
27328 return resultobj;
27329 fail:
27330 return NULL;
27331 }
27332
27333
27334 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27335 PyObject *resultobj = 0;
27336 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27337 wxPrintDialogData *result = 0 ;
27338 void *argp1 = 0 ;
27339 int res1 = 0 ;
27340 PyObject *swig_obj[1] ;
27341
27342 if (!args) SWIG_fail;
27343 swig_obj[0] = args;
27344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27345 if (!SWIG_IsOK(res1)) {
27346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27347 }
27348 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27349 {
27350 PyThreadState* __tstate = wxPyBeginAllowThreads();
27351 {
27352 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27353 result = (wxPrintDialogData *) &_result_ref;
27354 }
27355 wxPyEndAllowThreads(__tstate);
27356 if (PyErr_Occurred()) SWIG_fail;
27357 }
27358 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27359 return resultobj;
27360 fail:
27361 return NULL;
27362 }
27363
27364
27365 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27366 PyObject *resultobj = 0;
27367 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27368 wxPrintData *result = 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_wxPrintDialog, 0 | 0 );
27376 if (!SWIG_IsOK(res1)) {
27377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27378 }
27379 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27380 {
27381 PyThreadState* __tstate = wxPyBeginAllowThreads();
27382 {
27383 wxPrintData &_result_ref = (arg1)->GetPrintData();
27384 result = (wxPrintData *) &_result_ref;
27385 }
27386 wxPyEndAllowThreads(__tstate);
27387 if (PyErr_Occurred()) SWIG_fail;
27388 }
27389 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27390 return resultobj;
27391 fail:
27392 return NULL;
27393 }
27394
27395
27396 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27397 PyObject *resultobj = 0;
27398 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27399 wxDC *result = 0 ;
27400 void *argp1 = 0 ;
27401 int res1 = 0 ;
27402 PyObject *swig_obj[1] ;
27403
27404 if (!args) SWIG_fail;
27405 swig_obj[0] = args;
27406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27407 if (!SWIG_IsOK(res1)) {
27408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27409 }
27410 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27411 {
27412 PyThreadState* __tstate = wxPyBeginAllowThreads();
27413 result = (wxDC *)(arg1)->GetPrintDC();
27414 wxPyEndAllowThreads(__tstate);
27415 if (PyErr_Occurred()) SWIG_fail;
27416 }
27417 {
27418 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27419 }
27420 return resultobj;
27421 fail:
27422 return NULL;
27423 }
27424
27425
27426 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27427 PyObject *obj;
27428 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27429 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27430 return SWIG_Py_Void();
27431 }
27432
27433 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27434 return SWIG_Python_InitShadowInstance(args);
27435 }
27436
27437 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27438 PyObject *resultobj = 0;
27439 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27440 wxPrinter *result = 0 ;
27441 void *argp1 = 0 ;
27442 int res1 = 0 ;
27443 PyObject * obj0 = 0 ;
27444 char * kwnames[] = {
27445 (char *) "data", NULL
27446 };
27447
27448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27449 if (obj0) {
27450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27451 if (!SWIG_IsOK(res1)) {
27452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27453 }
27454 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27455 }
27456 {
27457 if (!wxPyCheckForApp()) SWIG_fail;
27458 PyThreadState* __tstate = wxPyBeginAllowThreads();
27459 result = (wxPrinter *)new wxPrinter(arg1);
27460 wxPyEndAllowThreads(__tstate);
27461 if (PyErr_Occurred()) SWIG_fail;
27462 }
27463 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27464 return resultobj;
27465 fail:
27466 return NULL;
27467 }
27468
27469
27470 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27471 PyObject *resultobj = 0;
27472 wxPrinter *arg1 = (wxPrinter *) 0 ;
27473 void *argp1 = 0 ;
27474 int res1 = 0 ;
27475 PyObject *swig_obj[1] ;
27476
27477 if (!args) SWIG_fail;
27478 swig_obj[0] = args;
27479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27480 if (!SWIG_IsOK(res1)) {
27481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27482 }
27483 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27484 {
27485 PyThreadState* __tstate = wxPyBeginAllowThreads();
27486 delete arg1;
27487
27488 wxPyEndAllowThreads(__tstate);
27489 if (PyErr_Occurred()) SWIG_fail;
27490 }
27491 resultobj = SWIG_Py_Void();
27492 return resultobj;
27493 fail:
27494 return NULL;
27495 }
27496
27497
27498 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27499 PyObject *resultobj = 0;
27500 wxPrinter *arg1 = (wxPrinter *) 0 ;
27501 wxWindow *arg2 = (wxWindow *) 0 ;
27502 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27503 wxWindow *result = 0 ;
27504 void *argp1 = 0 ;
27505 int res1 = 0 ;
27506 void *argp2 = 0 ;
27507 int res2 = 0 ;
27508 void *argp3 = 0 ;
27509 int res3 = 0 ;
27510 PyObject * obj0 = 0 ;
27511 PyObject * obj1 = 0 ;
27512 PyObject * obj2 = 0 ;
27513 char * kwnames[] = {
27514 (char *) "self",(char *) "parent",(char *) "printout", NULL
27515 };
27516
27517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27519 if (!SWIG_IsOK(res1)) {
27520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27521 }
27522 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27523 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27524 if (!SWIG_IsOK(res2)) {
27525 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27526 }
27527 arg2 = reinterpret_cast< wxWindow * >(argp2);
27528 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27529 if (!SWIG_IsOK(res3)) {
27530 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27531 }
27532 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27533 {
27534 PyThreadState* __tstate = wxPyBeginAllowThreads();
27535 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27536 wxPyEndAllowThreads(__tstate);
27537 if (PyErr_Occurred()) SWIG_fail;
27538 }
27539 {
27540 resultobj = wxPyMake_wxObject(result, 0);
27541 }
27542 return resultobj;
27543 fail:
27544 return NULL;
27545 }
27546
27547
27548 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27549 PyObject *resultobj = 0;
27550 wxPrinter *arg1 = (wxPrinter *) 0 ;
27551 wxWindow *arg2 = (wxWindow *) 0 ;
27552 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27553 wxString *arg4 = 0 ;
27554 void *argp1 = 0 ;
27555 int res1 = 0 ;
27556 void *argp2 = 0 ;
27557 int res2 = 0 ;
27558 void *argp3 = 0 ;
27559 int res3 = 0 ;
27560 bool temp4 = false ;
27561 PyObject * obj0 = 0 ;
27562 PyObject * obj1 = 0 ;
27563 PyObject * obj2 = 0 ;
27564 PyObject * obj3 = 0 ;
27565 char * kwnames[] = {
27566 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27567 };
27568
27569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27571 if (!SWIG_IsOK(res1)) {
27572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27573 }
27574 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27575 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27576 if (!SWIG_IsOK(res2)) {
27577 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27578 }
27579 arg2 = reinterpret_cast< wxWindow * >(argp2);
27580 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27581 if (!SWIG_IsOK(res3)) {
27582 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27583 }
27584 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27585 {
27586 arg4 = wxString_in_helper(obj3);
27587 if (arg4 == NULL) SWIG_fail;
27588 temp4 = true;
27589 }
27590 {
27591 PyThreadState* __tstate = wxPyBeginAllowThreads();
27592 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27593 wxPyEndAllowThreads(__tstate);
27594 if (PyErr_Occurred()) SWIG_fail;
27595 }
27596 resultobj = SWIG_Py_Void();
27597 {
27598 if (temp4)
27599 delete arg4;
27600 }
27601 return resultobj;
27602 fail:
27603 {
27604 if (temp4)
27605 delete arg4;
27606 }
27607 return NULL;
27608 }
27609
27610
27611 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27612 PyObject *resultobj = 0;
27613 wxPrinter *arg1 = (wxPrinter *) 0 ;
27614 wxWindow *arg2 = (wxWindow *) 0 ;
27615 bool result;
27616 void *argp1 = 0 ;
27617 int res1 = 0 ;
27618 void *argp2 = 0 ;
27619 int res2 = 0 ;
27620 PyObject * obj0 = 0 ;
27621 PyObject * obj1 = 0 ;
27622 char * kwnames[] = {
27623 (char *) "self",(char *) "parent", NULL
27624 };
27625
27626 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27627 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27628 if (!SWIG_IsOK(res1)) {
27629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27630 }
27631 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27632 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27633 if (!SWIG_IsOK(res2)) {
27634 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27635 }
27636 arg2 = reinterpret_cast< wxWindow * >(argp2);
27637 {
27638 PyThreadState* __tstate = wxPyBeginAllowThreads();
27639 result = (bool)(arg1)->Setup(arg2);
27640 wxPyEndAllowThreads(__tstate);
27641 if (PyErr_Occurred()) SWIG_fail;
27642 }
27643 {
27644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27645 }
27646 return resultobj;
27647 fail:
27648 return NULL;
27649 }
27650
27651
27652 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27653 PyObject *resultobj = 0;
27654 wxPrinter *arg1 = (wxPrinter *) 0 ;
27655 wxWindow *arg2 = (wxWindow *) 0 ;
27656 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27657 bool arg4 = (bool) true ;
27658 bool result;
27659 void *argp1 = 0 ;
27660 int res1 = 0 ;
27661 void *argp2 = 0 ;
27662 int res2 = 0 ;
27663 void *argp3 = 0 ;
27664 int res3 = 0 ;
27665 bool val4 ;
27666 int ecode4 = 0 ;
27667 PyObject * obj0 = 0 ;
27668 PyObject * obj1 = 0 ;
27669 PyObject * obj2 = 0 ;
27670 PyObject * obj3 = 0 ;
27671 char * kwnames[] = {
27672 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27673 };
27674
27675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27677 if (!SWIG_IsOK(res1)) {
27678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27679 }
27680 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27681 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27682 if (!SWIG_IsOK(res2)) {
27683 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27684 }
27685 arg2 = reinterpret_cast< wxWindow * >(argp2);
27686 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27687 if (!SWIG_IsOK(res3)) {
27688 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27689 }
27690 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27691 if (obj3) {
27692 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27693 if (!SWIG_IsOK(ecode4)) {
27694 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27695 }
27696 arg4 = static_cast< bool >(val4);
27697 }
27698 {
27699 PyThreadState* __tstate = wxPyBeginAllowThreads();
27700 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27701 wxPyEndAllowThreads(__tstate);
27702 if (PyErr_Occurred()) SWIG_fail;
27703 }
27704 {
27705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27706 }
27707 return resultobj;
27708 fail:
27709 return NULL;
27710 }
27711
27712
27713 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27714 PyObject *resultobj = 0;
27715 wxPrinter *arg1 = (wxPrinter *) 0 ;
27716 wxWindow *arg2 = (wxWindow *) 0 ;
27717 wxDC *result = 0 ;
27718 void *argp1 = 0 ;
27719 int res1 = 0 ;
27720 void *argp2 = 0 ;
27721 int res2 = 0 ;
27722 PyObject * obj0 = 0 ;
27723 PyObject * obj1 = 0 ;
27724 char * kwnames[] = {
27725 (char *) "self",(char *) "parent", NULL
27726 };
27727
27728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27730 if (!SWIG_IsOK(res1)) {
27731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27732 }
27733 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27734 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27735 if (!SWIG_IsOK(res2)) {
27736 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27737 }
27738 arg2 = reinterpret_cast< wxWindow * >(argp2);
27739 {
27740 PyThreadState* __tstate = wxPyBeginAllowThreads();
27741 result = (wxDC *)(arg1)->PrintDialog(arg2);
27742 wxPyEndAllowThreads(__tstate);
27743 if (PyErr_Occurred()) SWIG_fail;
27744 }
27745 {
27746 resultobj = wxPyMake_wxObject(result, (bool)0);
27747 }
27748 return resultobj;
27749 fail:
27750 return NULL;
27751 }
27752
27753
27754 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27755 PyObject *resultobj = 0;
27756 wxPrinter *arg1 = (wxPrinter *) 0 ;
27757 wxPrintDialogData *result = 0 ;
27758 void *argp1 = 0 ;
27759 int res1 = 0 ;
27760 PyObject *swig_obj[1] ;
27761
27762 if (!args) SWIG_fail;
27763 swig_obj[0] = args;
27764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27765 if (!SWIG_IsOK(res1)) {
27766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27767 }
27768 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27769 {
27770 PyThreadState* __tstate = wxPyBeginAllowThreads();
27771 {
27772 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27773 result = (wxPrintDialogData *) &_result_ref;
27774 }
27775 wxPyEndAllowThreads(__tstate);
27776 if (PyErr_Occurred()) SWIG_fail;
27777 }
27778 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27779 return resultobj;
27780 fail:
27781 return NULL;
27782 }
27783
27784
27785 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27786 PyObject *resultobj = 0;
27787 wxPrinter *arg1 = (wxPrinter *) 0 ;
27788 bool result;
27789 void *argp1 = 0 ;
27790 int res1 = 0 ;
27791 PyObject *swig_obj[1] ;
27792
27793 if (!args) SWIG_fail;
27794 swig_obj[0] = args;
27795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27796 if (!SWIG_IsOK(res1)) {
27797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27798 }
27799 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27800 {
27801 PyThreadState* __tstate = wxPyBeginAllowThreads();
27802 result = (bool)(arg1)->GetAbort();
27803 wxPyEndAllowThreads(__tstate);
27804 if (PyErr_Occurred()) SWIG_fail;
27805 }
27806 {
27807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27808 }
27809 return resultobj;
27810 fail:
27811 return NULL;
27812 }
27813
27814
27815 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27816 PyObject *resultobj = 0;
27817 wxPrinterError result;
27818
27819 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27820 {
27821 PyThreadState* __tstate = wxPyBeginAllowThreads();
27822 result = (wxPrinterError)wxPrinter::GetLastError();
27823 wxPyEndAllowThreads(__tstate);
27824 if (PyErr_Occurred()) SWIG_fail;
27825 }
27826 resultobj = SWIG_From_int(static_cast< int >(result));
27827 return resultobj;
27828 fail:
27829 return NULL;
27830 }
27831
27832
27833 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27834 PyObject *obj;
27835 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27836 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27837 return SWIG_Py_Void();
27838 }
27839
27840 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27841 return SWIG_Python_InitShadowInstance(args);
27842 }
27843
27844 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27845 PyObject *resultobj = 0;
27846 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27847 wxString *arg1 = (wxString *) &arg1_defvalue ;
27848 wxPyPrintout *result = 0 ;
27849 bool temp1 = false ;
27850 PyObject * obj0 = 0 ;
27851 char * kwnames[] = {
27852 (char *) "title", NULL
27853 };
27854
27855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27856 if (obj0) {
27857 {
27858 arg1 = wxString_in_helper(obj0);
27859 if (arg1 == NULL) SWIG_fail;
27860 temp1 = true;
27861 }
27862 }
27863 {
27864 if (!wxPyCheckForApp()) SWIG_fail;
27865 PyThreadState* __tstate = wxPyBeginAllowThreads();
27866 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27867 wxPyEndAllowThreads(__tstate);
27868 if (PyErr_Occurred()) SWIG_fail;
27869 }
27870 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27871 {
27872 if (temp1)
27873 delete arg1;
27874 }
27875 return resultobj;
27876 fail:
27877 {
27878 if (temp1)
27879 delete arg1;
27880 }
27881 return NULL;
27882 }
27883
27884
27885 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27886 PyObject *resultobj = 0;
27887 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27888 void *argp1 = 0 ;
27889 int res1 = 0 ;
27890 PyObject *swig_obj[1] ;
27891
27892 if (!args) SWIG_fail;
27893 swig_obj[0] = args;
27894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27895 if (!SWIG_IsOK(res1)) {
27896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27897 }
27898 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27899 {
27900 PyThreadState* __tstate = wxPyBeginAllowThreads();
27901 delete arg1;
27902
27903 wxPyEndAllowThreads(__tstate);
27904 if (PyErr_Occurred()) SWIG_fail;
27905 }
27906 resultobj = SWIG_Py_Void();
27907 return resultobj;
27908 fail:
27909 return NULL;
27910 }
27911
27912
27913 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27914 PyObject *resultobj = 0;
27915 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27916 PyObject *arg2 = (PyObject *) 0 ;
27917 PyObject *arg3 = (PyObject *) 0 ;
27918 void *argp1 = 0 ;
27919 int res1 = 0 ;
27920 PyObject * obj0 = 0 ;
27921 PyObject * obj1 = 0 ;
27922 PyObject * obj2 = 0 ;
27923 char * kwnames[] = {
27924 (char *) "self",(char *) "self",(char *) "_class", NULL
27925 };
27926
27927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27929 if (!SWIG_IsOK(res1)) {
27930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27931 }
27932 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27933 arg2 = obj1;
27934 arg3 = obj2;
27935 {
27936 PyThreadState* __tstate = wxPyBeginAllowThreads();
27937 (arg1)->_setCallbackInfo(arg2,arg3);
27938 wxPyEndAllowThreads(__tstate);
27939 if (PyErr_Occurred()) SWIG_fail;
27940 }
27941 resultobj = SWIG_Py_Void();
27942 return resultobj;
27943 fail:
27944 return NULL;
27945 }
27946
27947
27948 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27949 PyObject *resultobj = 0;
27950 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27951 wxString result;
27952 void *argp1 = 0 ;
27953 int res1 = 0 ;
27954 PyObject *swig_obj[1] ;
27955
27956 if (!args) SWIG_fail;
27957 swig_obj[0] = args;
27958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27959 if (!SWIG_IsOK(res1)) {
27960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27961 }
27962 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27963 {
27964 PyThreadState* __tstate = wxPyBeginAllowThreads();
27965 result = ((wxPyPrintout const *)arg1)->GetTitle();
27966 wxPyEndAllowThreads(__tstate);
27967 if (PyErr_Occurred()) SWIG_fail;
27968 }
27969 {
27970 #if wxUSE_UNICODE
27971 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27972 #else
27973 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27974 #endif
27975 }
27976 return resultobj;
27977 fail:
27978 return NULL;
27979 }
27980
27981
27982 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27983 PyObject *resultobj = 0;
27984 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27985 wxDC *result = 0 ;
27986 void *argp1 = 0 ;
27987 int res1 = 0 ;
27988 PyObject *swig_obj[1] ;
27989
27990 if (!args) SWIG_fail;
27991 swig_obj[0] = args;
27992 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27993 if (!SWIG_IsOK(res1)) {
27994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27995 }
27996 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27997 {
27998 PyThreadState* __tstate = wxPyBeginAllowThreads();
27999 result = (wxDC *)(arg1)->GetDC();
28000 wxPyEndAllowThreads(__tstate);
28001 if (PyErr_Occurred()) SWIG_fail;
28002 }
28003 {
28004 resultobj = wxPyMake_wxObject(result, (bool)0);
28005 }
28006 return resultobj;
28007 fail:
28008 return NULL;
28009 }
28010
28011
28012 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28013 PyObject *resultobj = 0;
28014 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28015 wxDC *arg2 = (wxDC *) 0 ;
28016 void *argp1 = 0 ;
28017 int res1 = 0 ;
28018 void *argp2 = 0 ;
28019 int res2 = 0 ;
28020 PyObject * obj0 = 0 ;
28021 PyObject * obj1 = 0 ;
28022 char * kwnames[] = {
28023 (char *) "self",(char *) "dc", NULL
28024 };
28025
28026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
28027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28028 if (!SWIG_IsOK(res1)) {
28029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28030 }
28031 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28032 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
28033 if (!SWIG_IsOK(res2)) {
28034 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28035 }
28036 arg2 = reinterpret_cast< wxDC * >(argp2);
28037 {
28038 PyThreadState* __tstate = wxPyBeginAllowThreads();
28039 (arg1)->SetDC(arg2);
28040 wxPyEndAllowThreads(__tstate);
28041 if (PyErr_Occurred()) SWIG_fail;
28042 }
28043 resultobj = SWIG_Py_Void();
28044 return resultobj;
28045 fail:
28046 return NULL;
28047 }
28048
28049
28050 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28051 PyObject *resultobj = 0;
28052 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28053 wxSize *arg2 = 0 ;
28054 void *argp1 = 0 ;
28055 int res1 = 0 ;
28056 wxSize temp2 ;
28057 PyObject * obj0 = 0 ;
28058 PyObject * obj1 = 0 ;
28059 char * kwnames[] = {
28060 (char *) "self",(char *) "imageSize", NULL
28061 };
28062
28063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
28064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28065 if (!SWIG_IsOK(res1)) {
28066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28067 }
28068 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28069 {
28070 arg2 = &temp2;
28071 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28072 }
28073 {
28074 PyThreadState* __tstate = wxPyBeginAllowThreads();
28075 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
28076 wxPyEndAllowThreads(__tstate);
28077 if (PyErr_Occurred()) SWIG_fail;
28078 }
28079 resultobj = SWIG_Py_Void();
28080 return resultobj;
28081 fail:
28082 return NULL;
28083 }
28084
28085
28086 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28087 PyObject *resultobj = 0;
28088 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28089 wxSize *arg2 = 0 ;
28090 void *argp1 = 0 ;
28091 int res1 = 0 ;
28092 wxSize temp2 ;
28093 PyObject * obj0 = 0 ;
28094 PyObject * obj1 = 0 ;
28095 char * kwnames[] = {
28096 (char *) "self",(char *) "imageSize", NULL
28097 };
28098
28099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
28100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28101 if (!SWIG_IsOK(res1)) {
28102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28103 }
28104 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28105 {
28106 arg2 = &temp2;
28107 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28108 }
28109 {
28110 PyThreadState* __tstate = wxPyBeginAllowThreads();
28111 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
28112 wxPyEndAllowThreads(__tstate);
28113 if (PyErr_Occurred()) SWIG_fail;
28114 }
28115 resultobj = SWIG_Py_Void();
28116 return resultobj;
28117 fail:
28118 return NULL;
28119 }
28120
28121
28122 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28123 PyObject *resultobj = 0;
28124 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28125 wxSize *arg2 = 0 ;
28126 wxPageSetupDialogData *arg3 = 0 ;
28127 void *argp1 = 0 ;
28128 int res1 = 0 ;
28129 wxSize temp2 ;
28130 void *argp3 = 0 ;
28131 int res3 = 0 ;
28132 PyObject * obj0 = 0 ;
28133 PyObject * obj1 = 0 ;
28134 PyObject * obj2 = 0 ;
28135 char * kwnames[] = {
28136 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28137 };
28138
28139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28141 if (!SWIG_IsOK(res1)) {
28142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28143 }
28144 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28145 {
28146 arg2 = &temp2;
28147 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28148 }
28149 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28150 if (!SWIG_IsOK(res3)) {
28151 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28152 }
28153 if (!argp3) {
28154 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28155 }
28156 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
28157 {
28158 PyThreadState* __tstate = wxPyBeginAllowThreads();
28159 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
28160 wxPyEndAllowThreads(__tstate);
28161 if (PyErr_Occurred()) SWIG_fail;
28162 }
28163 resultobj = SWIG_Py_Void();
28164 return resultobj;
28165 fail:
28166 return NULL;
28167 }
28168
28169
28170 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28171 PyObject *resultobj = 0;
28172 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28173 void *argp1 = 0 ;
28174 int res1 = 0 ;
28175 PyObject *swig_obj[1] ;
28176
28177 if (!args) SWIG_fail;
28178 swig_obj[0] = args;
28179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28180 if (!SWIG_IsOK(res1)) {
28181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28182 }
28183 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28184 {
28185 PyThreadState* __tstate = wxPyBeginAllowThreads();
28186 (arg1)->MapScreenSizeToPaper();
28187 wxPyEndAllowThreads(__tstate);
28188 if (PyErr_Occurred()) SWIG_fail;
28189 }
28190 resultobj = SWIG_Py_Void();
28191 return resultobj;
28192 fail:
28193 return NULL;
28194 }
28195
28196
28197 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28198 PyObject *resultobj = 0;
28199 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28200 void *argp1 = 0 ;
28201 int res1 = 0 ;
28202 PyObject *swig_obj[1] ;
28203
28204 if (!args) SWIG_fail;
28205 swig_obj[0] = args;
28206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28207 if (!SWIG_IsOK(res1)) {
28208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28209 }
28210 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28211 {
28212 PyThreadState* __tstate = wxPyBeginAllowThreads();
28213 (arg1)->MapScreenSizeToPage();
28214 wxPyEndAllowThreads(__tstate);
28215 if (PyErr_Occurred()) SWIG_fail;
28216 }
28217 resultobj = SWIG_Py_Void();
28218 return resultobj;
28219 fail:
28220 return NULL;
28221 }
28222
28223
28224 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28225 PyObject *resultobj = 0;
28226 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28227 wxPageSetupDialogData *arg2 = 0 ;
28228 void *argp1 = 0 ;
28229 int res1 = 0 ;
28230 void *argp2 = 0 ;
28231 int res2 = 0 ;
28232 PyObject * obj0 = 0 ;
28233 PyObject * obj1 = 0 ;
28234 char * kwnames[] = {
28235 (char *) "self",(char *) "pageSetupData", NULL
28236 };
28237
28238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
28239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28240 if (!SWIG_IsOK(res1)) {
28241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28242 }
28243 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28244 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28245 if (!SWIG_IsOK(res2)) {
28246 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28247 }
28248 if (!argp2) {
28249 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28250 }
28251 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28252 {
28253 PyThreadState* __tstate = wxPyBeginAllowThreads();
28254 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
28255 wxPyEndAllowThreads(__tstate);
28256 if (PyErr_Occurred()) SWIG_fail;
28257 }
28258 resultobj = SWIG_Py_Void();
28259 return resultobj;
28260 fail:
28261 return NULL;
28262 }
28263
28264
28265 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28266 PyObject *resultobj = 0;
28267 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28268 void *argp1 = 0 ;
28269 int res1 = 0 ;
28270 PyObject *swig_obj[1] ;
28271
28272 if (!args) SWIG_fail;
28273 swig_obj[0] = args;
28274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28275 if (!SWIG_IsOK(res1)) {
28276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28277 }
28278 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28279 {
28280 PyThreadState* __tstate = wxPyBeginAllowThreads();
28281 (arg1)->MapScreenSizeToDevice();
28282 wxPyEndAllowThreads(__tstate);
28283 if (PyErr_Occurred()) SWIG_fail;
28284 }
28285 resultobj = SWIG_Py_Void();
28286 return resultobj;
28287 fail:
28288 return NULL;
28289 }
28290
28291
28292 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28293 PyObject *resultobj = 0;
28294 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28295 wxRect result;
28296 void *argp1 = 0 ;
28297 int res1 = 0 ;
28298 PyObject *swig_obj[1] ;
28299
28300 if (!args) SWIG_fail;
28301 swig_obj[0] = args;
28302 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28303 if (!SWIG_IsOK(res1)) {
28304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28305 }
28306 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28307 {
28308 PyThreadState* __tstate = wxPyBeginAllowThreads();
28309 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
28310 wxPyEndAllowThreads(__tstate);
28311 if (PyErr_Occurred()) SWIG_fail;
28312 }
28313 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28314 return resultobj;
28315 fail:
28316 return NULL;
28317 }
28318
28319
28320 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28321 PyObject *resultobj = 0;
28322 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28323 wxRect result;
28324 void *argp1 = 0 ;
28325 int res1 = 0 ;
28326 PyObject *swig_obj[1] ;
28327
28328 if (!args) SWIG_fail;
28329 swig_obj[0] = args;
28330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28331 if (!SWIG_IsOK(res1)) {
28332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28333 }
28334 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28335 {
28336 PyThreadState* __tstate = wxPyBeginAllowThreads();
28337 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
28338 wxPyEndAllowThreads(__tstate);
28339 if (PyErr_Occurred()) SWIG_fail;
28340 }
28341 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28342 return resultobj;
28343 fail:
28344 return NULL;
28345 }
28346
28347
28348 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28349 PyObject *resultobj = 0;
28350 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28351 wxPageSetupDialogData *arg2 = 0 ;
28352 wxRect result;
28353 void *argp1 = 0 ;
28354 int res1 = 0 ;
28355 void *argp2 = 0 ;
28356 int res2 = 0 ;
28357 PyObject * obj0 = 0 ;
28358 PyObject * obj1 = 0 ;
28359 char * kwnames[] = {
28360 (char *) "self",(char *) "pageSetupData", NULL
28361 };
28362
28363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
28364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28365 if (!SWIG_IsOK(res1)) {
28366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28367 }
28368 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28369 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28370 if (!SWIG_IsOK(res2)) {
28371 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28372 }
28373 if (!argp2) {
28374 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28375 }
28376 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28377 {
28378 PyThreadState* __tstate = wxPyBeginAllowThreads();
28379 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
28380 wxPyEndAllowThreads(__tstate);
28381 if (PyErr_Occurred()) SWIG_fail;
28382 }
28383 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28384 return resultobj;
28385 fail:
28386 return NULL;
28387 }
28388
28389
28390 SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28391 PyObject *resultobj = 0;
28392 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28393 int arg2 ;
28394 int arg3 ;
28395 void *argp1 = 0 ;
28396 int res1 = 0 ;
28397 int val2 ;
28398 int ecode2 = 0 ;
28399 int val3 ;
28400 int ecode3 = 0 ;
28401 PyObject * obj0 = 0 ;
28402 PyObject * obj1 = 0 ;
28403 PyObject * obj2 = 0 ;
28404 char * kwnames[] = {
28405 (char *) "self",(char *) "x",(char *) "y", NULL
28406 };
28407
28408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28410 if (!SWIG_IsOK(res1)) {
28411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28412 }
28413 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28414 ecode2 = SWIG_AsVal_int(obj1, &val2);
28415 if (!SWIG_IsOK(ecode2)) {
28416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28417 }
28418 arg2 = static_cast< int >(val2);
28419 ecode3 = SWIG_AsVal_int(obj2, &val3);
28420 if (!SWIG_IsOK(ecode3)) {
28421 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28422 }
28423 arg3 = static_cast< int >(val3);
28424 {
28425 PyThreadState* __tstate = wxPyBeginAllowThreads();
28426 (arg1)->SetLogicalOrigin(arg2,arg3);
28427 wxPyEndAllowThreads(__tstate);
28428 if (PyErr_Occurred()) SWIG_fail;
28429 }
28430 resultobj = SWIG_Py_Void();
28431 return resultobj;
28432 fail:
28433 return NULL;
28434 }
28435
28436
28437 SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28438 PyObject *resultobj = 0;
28439 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28440 int arg2 ;
28441 int arg3 ;
28442 void *argp1 = 0 ;
28443 int res1 = 0 ;
28444 int val2 ;
28445 int ecode2 = 0 ;
28446 int val3 ;
28447 int ecode3 = 0 ;
28448 PyObject * obj0 = 0 ;
28449 PyObject * obj1 = 0 ;
28450 PyObject * obj2 = 0 ;
28451 char * kwnames[] = {
28452 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28453 };
28454
28455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28457 if (!SWIG_IsOK(res1)) {
28458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28459 }
28460 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28461 ecode2 = SWIG_AsVal_int(obj1, &val2);
28462 if (!SWIG_IsOK(ecode2)) {
28463 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28464 }
28465 arg2 = static_cast< int >(val2);
28466 ecode3 = SWIG_AsVal_int(obj2, &val3);
28467 if (!SWIG_IsOK(ecode3)) {
28468 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28469 }
28470 arg3 = static_cast< int >(val3);
28471 {
28472 PyThreadState* __tstate = wxPyBeginAllowThreads();
28473 (arg1)->OffsetLogicalOrigin(arg2,arg3);
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_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28485 PyObject *resultobj = 0;
28486 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28487 int arg2 ;
28488 int arg3 ;
28489 void *argp1 = 0 ;
28490 int res1 = 0 ;
28491 int val2 ;
28492 int ecode2 = 0 ;
28493 int val3 ;
28494 int ecode3 = 0 ;
28495 PyObject * obj0 = 0 ;
28496 PyObject * obj1 = 0 ;
28497 PyObject * obj2 = 0 ;
28498 char * kwnames[] = {
28499 (char *) "self",(char *) "w",(char *) "h", NULL
28500 };
28501
28502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28504 if (!SWIG_IsOK(res1)) {
28505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28506 }
28507 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28508 ecode2 = SWIG_AsVal_int(obj1, &val2);
28509 if (!SWIG_IsOK(ecode2)) {
28510 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28511 }
28512 arg2 = static_cast< int >(val2);
28513 ecode3 = SWIG_AsVal_int(obj2, &val3);
28514 if (!SWIG_IsOK(ecode3)) {
28515 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28516 }
28517 arg3 = static_cast< int >(val3);
28518 {
28519 PyThreadState* __tstate = wxPyBeginAllowThreads();
28520 (arg1)->SetPageSizePixels(arg2,arg3);
28521 wxPyEndAllowThreads(__tstate);
28522 if (PyErr_Occurred()) SWIG_fail;
28523 }
28524 resultobj = SWIG_Py_Void();
28525 return resultobj;
28526 fail:
28527 return NULL;
28528 }
28529
28530
28531 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28532 PyObject *resultobj = 0;
28533 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28534 int *arg2 = (int *) 0 ;
28535 int *arg3 = (int *) 0 ;
28536 void *argp1 = 0 ;
28537 int res1 = 0 ;
28538 int temp2 ;
28539 int res2 = SWIG_TMPOBJ ;
28540 int temp3 ;
28541 int res3 = SWIG_TMPOBJ ;
28542 PyObject *swig_obj[1] ;
28543
28544 arg2 = &temp2;
28545 arg3 = &temp3;
28546 if (!args) SWIG_fail;
28547 swig_obj[0] = args;
28548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28549 if (!SWIG_IsOK(res1)) {
28550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28551 }
28552 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28553 {
28554 PyThreadState* __tstate = wxPyBeginAllowThreads();
28555 (arg1)->GetPageSizePixels(arg2,arg3);
28556 wxPyEndAllowThreads(__tstate);
28557 if (PyErr_Occurred()) SWIG_fail;
28558 }
28559 resultobj = SWIG_Py_Void();
28560 if (SWIG_IsTmpObj(res2)) {
28561 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28562 } else {
28563 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28564 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28565 }
28566 if (SWIG_IsTmpObj(res3)) {
28567 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28568 } else {
28569 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28570 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28571 }
28572 return resultobj;
28573 fail:
28574 return NULL;
28575 }
28576
28577
28578 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28579 PyObject *resultobj = 0;
28580 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28581 int arg2 ;
28582 int arg3 ;
28583 void *argp1 = 0 ;
28584 int res1 = 0 ;
28585 int val2 ;
28586 int ecode2 = 0 ;
28587 int val3 ;
28588 int ecode3 = 0 ;
28589 PyObject * obj0 = 0 ;
28590 PyObject * obj1 = 0 ;
28591 PyObject * obj2 = 0 ;
28592 char * kwnames[] = {
28593 (char *) "self",(char *) "w",(char *) "h", NULL
28594 };
28595
28596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28598 if (!SWIG_IsOK(res1)) {
28599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28600 }
28601 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28602 ecode2 = SWIG_AsVal_int(obj1, &val2);
28603 if (!SWIG_IsOK(ecode2)) {
28604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28605 }
28606 arg2 = static_cast< int >(val2);
28607 ecode3 = SWIG_AsVal_int(obj2, &val3);
28608 if (!SWIG_IsOK(ecode3)) {
28609 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28610 }
28611 arg3 = static_cast< int >(val3);
28612 {
28613 PyThreadState* __tstate = wxPyBeginAllowThreads();
28614 (arg1)->SetPageSizeMM(arg2,arg3);
28615 wxPyEndAllowThreads(__tstate);
28616 if (PyErr_Occurred()) SWIG_fail;
28617 }
28618 resultobj = SWIG_Py_Void();
28619 return resultobj;
28620 fail:
28621 return NULL;
28622 }
28623
28624
28625 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28626 PyObject *resultobj = 0;
28627 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28628 int *arg2 = (int *) 0 ;
28629 int *arg3 = (int *) 0 ;
28630 void *argp1 = 0 ;
28631 int res1 = 0 ;
28632 int temp2 ;
28633 int res2 = SWIG_TMPOBJ ;
28634 int temp3 ;
28635 int res3 = SWIG_TMPOBJ ;
28636 PyObject *swig_obj[1] ;
28637
28638 arg2 = &temp2;
28639 arg3 = &temp3;
28640 if (!args) SWIG_fail;
28641 swig_obj[0] = args;
28642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28643 if (!SWIG_IsOK(res1)) {
28644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28645 }
28646 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28647 {
28648 PyThreadState* __tstate = wxPyBeginAllowThreads();
28649 (arg1)->GetPageSizeMM(arg2,arg3);
28650 wxPyEndAllowThreads(__tstate);
28651 if (PyErr_Occurred()) SWIG_fail;
28652 }
28653 resultobj = SWIG_Py_Void();
28654 if (SWIG_IsTmpObj(res2)) {
28655 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28656 } else {
28657 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28658 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28659 }
28660 if (SWIG_IsTmpObj(res3)) {
28661 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28662 } else {
28663 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28664 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28665 }
28666 return resultobj;
28667 fail:
28668 return NULL;
28669 }
28670
28671
28672 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28673 PyObject *resultobj = 0;
28674 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28675 int arg2 ;
28676 int arg3 ;
28677 void *argp1 = 0 ;
28678 int res1 = 0 ;
28679 int val2 ;
28680 int ecode2 = 0 ;
28681 int val3 ;
28682 int ecode3 = 0 ;
28683 PyObject * obj0 = 0 ;
28684 PyObject * obj1 = 0 ;
28685 PyObject * obj2 = 0 ;
28686 char * kwnames[] = {
28687 (char *) "self",(char *) "x",(char *) "y", NULL
28688 };
28689
28690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28692 if (!SWIG_IsOK(res1)) {
28693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28694 }
28695 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28696 ecode2 = SWIG_AsVal_int(obj1, &val2);
28697 if (!SWIG_IsOK(ecode2)) {
28698 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28699 }
28700 arg2 = static_cast< int >(val2);
28701 ecode3 = SWIG_AsVal_int(obj2, &val3);
28702 if (!SWIG_IsOK(ecode3)) {
28703 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28704 }
28705 arg3 = static_cast< int >(val3);
28706 {
28707 PyThreadState* __tstate = wxPyBeginAllowThreads();
28708 (arg1)->SetPPIScreen(arg2,arg3);
28709 wxPyEndAllowThreads(__tstate);
28710 if (PyErr_Occurred()) SWIG_fail;
28711 }
28712 resultobj = SWIG_Py_Void();
28713 return resultobj;
28714 fail:
28715 return NULL;
28716 }
28717
28718
28719 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28720 PyObject *resultobj = 0;
28721 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28722 int *arg2 = (int *) 0 ;
28723 int *arg3 = (int *) 0 ;
28724 void *argp1 = 0 ;
28725 int res1 = 0 ;
28726 int temp2 ;
28727 int res2 = SWIG_TMPOBJ ;
28728 int temp3 ;
28729 int res3 = SWIG_TMPOBJ ;
28730 PyObject *swig_obj[1] ;
28731
28732 arg2 = &temp2;
28733 arg3 = &temp3;
28734 if (!args) SWIG_fail;
28735 swig_obj[0] = args;
28736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28737 if (!SWIG_IsOK(res1)) {
28738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28739 }
28740 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28741 {
28742 PyThreadState* __tstate = wxPyBeginAllowThreads();
28743 (arg1)->GetPPIScreen(arg2,arg3);
28744 wxPyEndAllowThreads(__tstate);
28745 if (PyErr_Occurred()) SWIG_fail;
28746 }
28747 resultobj = SWIG_Py_Void();
28748 if (SWIG_IsTmpObj(res2)) {
28749 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28750 } else {
28751 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28752 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28753 }
28754 if (SWIG_IsTmpObj(res3)) {
28755 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28756 } else {
28757 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28758 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28759 }
28760 return resultobj;
28761 fail:
28762 return NULL;
28763 }
28764
28765
28766 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28767 PyObject *resultobj = 0;
28768 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28769 int arg2 ;
28770 int arg3 ;
28771 void *argp1 = 0 ;
28772 int res1 = 0 ;
28773 int val2 ;
28774 int ecode2 = 0 ;
28775 int val3 ;
28776 int ecode3 = 0 ;
28777 PyObject * obj0 = 0 ;
28778 PyObject * obj1 = 0 ;
28779 PyObject * obj2 = 0 ;
28780 char * kwnames[] = {
28781 (char *) "self",(char *) "x",(char *) "y", NULL
28782 };
28783
28784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28786 if (!SWIG_IsOK(res1)) {
28787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28788 }
28789 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28790 ecode2 = SWIG_AsVal_int(obj1, &val2);
28791 if (!SWIG_IsOK(ecode2)) {
28792 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28793 }
28794 arg2 = static_cast< int >(val2);
28795 ecode3 = SWIG_AsVal_int(obj2, &val3);
28796 if (!SWIG_IsOK(ecode3)) {
28797 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28798 }
28799 arg3 = static_cast< int >(val3);
28800 {
28801 PyThreadState* __tstate = wxPyBeginAllowThreads();
28802 (arg1)->SetPPIPrinter(arg2,arg3);
28803 wxPyEndAllowThreads(__tstate);
28804 if (PyErr_Occurred()) SWIG_fail;
28805 }
28806 resultobj = SWIG_Py_Void();
28807 return resultobj;
28808 fail:
28809 return NULL;
28810 }
28811
28812
28813 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28814 PyObject *resultobj = 0;
28815 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28816 int *arg2 = (int *) 0 ;
28817 int *arg3 = (int *) 0 ;
28818 void *argp1 = 0 ;
28819 int res1 = 0 ;
28820 int temp2 ;
28821 int res2 = SWIG_TMPOBJ ;
28822 int temp3 ;
28823 int res3 = SWIG_TMPOBJ ;
28824 PyObject *swig_obj[1] ;
28825
28826 arg2 = &temp2;
28827 arg3 = &temp3;
28828 if (!args) SWIG_fail;
28829 swig_obj[0] = args;
28830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28831 if (!SWIG_IsOK(res1)) {
28832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28833 }
28834 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28835 {
28836 PyThreadState* __tstate = wxPyBeginAllowThreads();
28837 (arg1)->GetPPIPrinter(arg2,arg3);
28838 wxPyEndAllowThreads(__tstate);
28839 if (PyErr_Occurred()) SWIG_fail;
28840 }
28841 resultobj = SWIG_Py_Void();
28842 if (SWIG_IsTmpObj(res2)) {
28843 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28844 } else {
28845 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28846 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28847 }
28848 if (SWIG_IsTmpObj(res3)) {
28849 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28850 } else {
28851 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28852 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28853 }
28854 return resultobj;
28855 fail:
28856 return NULL;
28857 }
28858
28859
28860 SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28861 PyObject *resultobj = 0;
28862 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28863 wxRect *arg2 = 0 ;
28864 void *argp1 = 0 ;
28865 int res1 = 0 ;
28866 wxRect temp2 ;
28867 PyObject * obj0 = 0 ;
28868 PyObject * obj1 = 0 ;
28869 char * kwnames[] = {
28870 (char *) "self",(char *) "paperRectPixels", NULL
28871 };
28872
28873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
28874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28875 if (!SWIG_IsOK(res1)) {
28876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28877 }
28878 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28879 {
28880 arg2 = &temp2;
28881 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
28882 }
28883 {
28884 PyThreadState* __tstate = wxPyBeginAllowThreads();
28885 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
28886 wxPyEndAllowThreads(__tstate);
28887 if (PyErr_Occurred()) SWIG_fail;
28888 }
28889 resultobj = SWIG_Py_Void();
28890 return resultobj;
28891 fail:
28892 return NULL;
28893 }
28894
28895
28896 SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28897 PyObject *resultobj = 0;
28898 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28899 wxRect result;
28900 void *argp1 = 0 ;
28901 int res1 = 0 ;
28902 PyObject *swig_obj[1] ;
28903
28904 if (!args) SWIG_fail;
28905 swig_obj[0] = args;
28906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28907 if (!SWIG_IsOK(res1)) {
28908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28909 }
28910 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28911 {
28912 PyThreadState* __tstate = wxPyBeginAllowThreads();
28913 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
28914 wxPyEndAllowThreads(__tstate);
28915 if (PyErr_Occurred()) SWIG_fail;
28916 }
28917 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28918 return resultobj;
28919 fail:
28920 return NULL;
28921 }
28922
28923
28924 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28925 PyObject *resultobj = 0;
28926 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28927 bool result;
28928 void *argp1 = 0 ;
28929 int res1 = 0 ;
28930 PyObject *swig_obj[1] ;
28931
28932 if (!args) SWIG_fail;
28933 swig_obj[0] = args;
28934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28935 if (!SWIG_IsOK(res1)) {
28936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28937 }
28938 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28939 {
28940 PyThreadState* __tstate = wxPyBeginAllowThreads();
28941 result = (bool)(arg1)->IsPreview();
28942 wxPyEndAllowThreads(__tstate);
28943 if (PyErr_Occurred()) SWIG_fail;
28944 }
28945 {
28946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28947 }
28948 return resultobj;
28949 fail:
28950 return NULL;
28951 }
28952
28953
28954 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28955 PyObject *resultobj = 0;
28956 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28957 bool arg2 ;
28958 void *argp1 = 0 ;
28959 int res1 = 0 ;
28960 bool val2 ;
28961 int ecode2 = 0 ;
28962 PyObject * obj0 = 0 ;
28963 PyObject * obj1 = 0 ;
28964 char * kwnames[] = {
28965 (char *) "self",(char *) "p", NULL
28966 };
28967
28968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28970 if (!SWIG_IsOK(res1)) {
28971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28972 }
28973 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28974 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28975 if (!SWIG_IsOK(ecode2)) {
28976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28977 }
28978 arg2 = static_cast< bool >(val2);
28979 {
28980 PyThreadState* __tstate = wxPyBeginAllowThreads();
28981 (arg1)->SetIsPreview(arg2);
28982 wxPyEndAllowThreads(__tstate);
28983 if (PyErr_Occurred()) SWIG_fail;
28984 }
28985 resultobj = SWIG_Py_Void();
28986 return resultobj;
28987 fail:
28988 return NULL;
28989 }
28990
28991
28992 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28993 PyObject *resultobj = 0;
28994 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28995 int arg2 ;
28996 int arg3 ;
28997 bool result;
28998 void *argp1 = 0 ;
28999 int res1 = 0 ;
29000 int val2 ;
29001 int ecode2 = 0 ;
29002 int val3 ;
29003 int ecode3 = 0 ;
29004 PyObject * obj0 = 0 ;
29005 PyObject * obj1 = 0 ;
29006 PyObject * obj2 = 0 ;
29007 char * kwnames[] = {
29008 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29009 };
29010
29011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29013 if (!SWIG_IsOK(res1)) {
29014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29015 }
29016 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29017 ecode2 = SWIG_AsVal_int(obj1, &val2);
29018 if (!SWIG_IsOK(ecode2)) {
29019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29020 }
29021 arg2 = static_cast< int >(val2);
29022 ecode3 = SWIG_AsVal_int(obj2, &val3);
29023 if (!SWIG_IsOK(ecode3)) {
29024 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29025 }
29026 arg3 = static_cast< int >(val3);
29027 {
29028 PyThreadState* __tstate = wxPyBeginAllowThreads();
29029 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
29030 wxPyEndAllowThreads(__tstate);
29031 if (PyErr_Occurred()) SWIG_fail;
29032 }
29033 {
29034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29035 }
29036 return resultobj;
29037 fail:
29038 return NULL;
29039 }
29040
29041
29042 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29043 PyObject *resultobj = 0;
29044 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29045 void *argp1 = 0 ;
29046 int res1 = 0 ;
29047 PyObject *swig_obj[1] ;
29048
29049 if (!args) SWIG_fail;
29050 swig_obj[0] = args;
29051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29052 if (!SWIG_IsOK(res1)) {
29053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29054 }
29055 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29056 {
29057 PyThreadState* __tstate = wxPyBeginAllowThreads();
29058 (arg1)->OnEndDocument();
29059 wxPyEndAllowThreads(__tstate);
29060 if (PyErr_Occurred()) SWIG_fail;
29061 }
29062 resultobj = SWIG_Py_Void();
29063 return resultobj;
29064 fail:
29065 return NULL;
29066 }
29067
29068
29069 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29070 PyObject *resultobj = 0;
29071 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29072 void *argp1 = 0 ;
29073 int res1 = 0 ;
29074 PyObject *swig_obj[1] ;
29075
29076 if (!args) SWIG_fail;
29077 swig_obj[0] = args;
29078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29079 if (!SWIG_IsOK(res1)) {
29080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29081 }
29082 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29083 {
29084 PyThreadState* __tstate = wxPyBeginAllowThreads();
29085 (arg1)->OnBeginPrinting();
29086 wxPyEndAllowThreads(__tstate);
29087 if (PyErr_Occurred()) SWIG_fail;
29088 }
29089 resultobj = SWIG_Py_Void();
29090 return resultobj;
29091 fail:
29092 return NULL;
29093 }
29094
29095
29096 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29097 PyObject *resultobj = 0;
29098 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
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_wxPyPrintout, 0 | 0 );
29106 if (!SWIG_IsOK(res1)) {
29107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29108 }
29109 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29110 {
29111 PyThreadState* __tstate = wxPyBeginAllowThreads();
29112 (arg1)->OnEndPrinting();
29113 wxPyEndAllowThreads(__tstate);
29114 if (PyErr_Occurred()) SWIG_fail;
29115 }
29116 resultobj = SWIG_Py_Void();
29117 return resultobj;
29118 fail:
29119 return NULL;
29120 }
29121
29122
29123 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29124 PyObject *resultobj = 0;
29125 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29126 void *argp1 = 0 ;
29127 int res1 = 0 ;
29128 PyObject *swig_obj[1] ;
29129
29130 if (!args) SWIG_fail;
29131 swig_obj[0] = args;
29132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29133 if (!SWIG_IsOK(res1)) {
29134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29135 }
29136 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29137 {
29138 PyThreadState* __tstate = wxPyBeginAllowThreads();
29139 (arg1)->OnPreparePrinting();
29140 wxPyEndAllowThreads(__tstate);
29141 if (PyErr_Occurred()) SWIG_fail;
29142 }
29143 resultobj = SWIG_Py_Void();
29144 return resultobj;
29145 fail:
29146 return NULL;
29147 }
29148
29149
29150 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29151 PyObject *resultobj = 0;
29152 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29153 int arg2 ;
29154 bool result;
29155 void *argp1 = 0 ;
29156 int res1 = 0 ;
29157 int val2 ;
29158 int ecode2 = 0 ;
29159 PyObject * obj0 = 0 ;
29160 PyObject * obj1 = 0 ;
29161 char * kwnames[] = {
29162 (char *) "self",(char *) "page", NULL
29163 };
29164
29165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
29166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29167 if (!SWIG_IsOK(res1)) {
29168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29169 }
29170 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29171 ecode2 = SWIG_AsVal_int(obj1, &val2);
29172 if (!SWIG_IsOK(ecode2)) {
29173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29174 }
29175 arg2 = static_cast< int >(val2);
29176 {
29177 PyThreadState* __tstate = wxPyBeginAllowThreads();
29178 result = (bool)(arg1)->HasPage(arg2);
29179 wxPyEndAllowThreads(__tstate);
29180 if (PyErr_Occurred()) SWIG_fail;
29181 }
29182 {
29183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29184 }
29185 return resultobj;
29186 fail:
29187 return NULL;
29188 }
29189
29190
29191 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29192 PyObject *resultobj = 0;
29193 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29194 int *arg2 = (int *) 0 ;
29195 int *arg3 = (int *) 0 ;
29196 int *arg4 = (int *) 0 ;
29197 int *arg5 = (int *) 0 ;
29198 void *argp1 = 0 ;
29199 int res1 = 0 ;
29200 int temp2 ;
29201 int res2 = SWIG_TMPOBJ ;
29202 int temp3 ;
29203 int res3 = SWIG_TMPOBJ ;
29204 int temp4 ;
29205 int res4 = SWIG_TMPOBJ ;
29206 int temp5 ;
29207 int res5 = SWIG_TMPOBJ ;
29208 PyObject *swig_obj[1] ;
29209
29210 arg2 = &temp2;
29211 arg3 = &temp3;
29212 arg4 = &temp4;
29213 arg5 = &temp5;
29214 if (!args) SWIG_fail;
29215 swig_obj[0] = args;
29216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29217 if (!SWIG_IsOK(res1)) {
29218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29219 }
29220 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29221 {
29222 PyThreadState* __tstate = wxPyBeginAllowThreads();
29223 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
29224 wxPyEndAllowThreads(__tstate);
29225 if (PyErr_Occurred()) SWIG_fail;
29226 }
29227 resultobj = SWIG_Py_Void();
29228 if (SWIG_IsTmpObj(res2)) {
29229 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29230 } else {
29231 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29232 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29233 }
29234 if (SWIG_IsTmpObj(res3)) {
29235 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29236 } else {
29237 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29238 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29239 }
29240 if (SWIG_IsTmpObj(res4)) {
29241 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
29242 } else {
29243 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29244 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
29245 }
29246 if (SWIG_IsTmpObj(res5)) {
29247 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
29248 } else {
29249 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29250 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
29251 }
29252 return resultobj;
29253 fail:
29254 return NULL;
29255 }
29256
29257
29258 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29259 PyObject *obj;
29260 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29261 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
29262 return SWIG_Py_Void();
29263 }
29264
29265 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29266 return SWIG_Python_InitShadowInstance(args);
29267 }
29268
29269 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29270 PyObject *resultobj = 0;
29271 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29272 wxWindow *arg2 = (wxWindow *) 0 ;
29273 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29274 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29275 wxSize const &arg4_defvalue = wxDefaultSize ;
29276 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29277 long arg5 = (long) 0 ;
29278 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
29279 wxString *arg6 = (wxString *) &arg6_defvalue ;
29280 wxPreviewCanvas *result = 0 ;
29281 void *argp1 = 0 ;
29282 int res1 = 0 ;
29283 void *argp2 = 0 ;
29284 int res2 = 0 ;
29285 wxPoint temp3 ;
29286 wxSize temp4 ;
29287 long val5 ;
29288 int ecode5 = 0 ;
29289 bool temp6 = false ;
29290 PyObject * obj0 = 0 ;
29291 PyObject * obj1 = 0 ;
29292 PyObject * obj2 = 0 ;
29293 PyObject * obj3 = 0 ;
29294 PyObject * obj4 = 0 ;
29295 PyObject * obj5 = 0 ;
29296 char * kwnames[] = {
29297 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29298 };
29299
29300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
29301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29302 if (!SWIG_IsOK(res1)) {
29303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29304 }
29305 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29306 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29307 if (!SWIG_IsOK(res2)) {
29308 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29309 }
29310 arg2 = reinterpret_cast< wxWindow * >(argp2);
29311 if (obj2) {
29312 {
29313 arg3 = &temp3;
29314 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29315 }
29316 }
29317 if (obj3) {
29318 {
29319 arg4 = &temp4;
29320 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29321 }
29322 }
29323 if (obj4) {
29324 ecode5 = SWIG_AsVal_long(obj4, &val5);
29325 if (!SWIG_IsOK(ecode5)) {
29326 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29327 }
29328 arg5 = static_cast< long >(val5);
29329 }
29330 if (obj5) {
29331 {
29332 arg6 = wxString_in_helper(obj5);
29333 if (arg6 == NULL) SWIG_fail;
29334 temp6 = true;
29335 }
29336 }
29337 {
29338 if (!wxPyCheckForApp()) SWIG_fail;
29339 PyThreadState* __tstate = wxPyBeginAllowThreads();
29340 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
29341 wxPyEndAllowThreads(__tstate);
29342 if (PyErr_Occurred()) SWIG_fail;
29343 }
29344 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
29345 {
29346 if (temp6)
29347 delete arg6;
29348 }
29349 return resultobj;
29350 fail:
29351 {
29352 if (temp6)
29353 delete arg6;
29354 }
29355 return NULL;
29356 }
29357
29358
29359 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29360 PyObject *obj;
29361 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29362 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
29363 return SWIG_Py_Void();
29364 }
29365
29366 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29367 return SWIG_Python_InitShadowInstance(args);
29368 }
29369
29370 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29371 PyObject *resultobj = 0;
29372 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29373 wxFrame *arg2 = (wxFrame *) 0 ;
29374 wxString *arg3 = 0 ;
29375 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29376 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29377 wxSize const &arg5_defvalue = wxDefaultSize ;
29378 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29379 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29380 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29381 wxString *arg7 = (wxString *) &arg7_defvalue ;
29382 wxPreviewFrame *result = 0 ;
29383 int res1 = 0 ;
29384 void *argp2 = 0 ;
29385 int res2 = 0 ;
29386 bool temp3 = false ;
29387 wxPoint temp4 ;
29388 wxSize temp5 ;
29389 long val6 ;
29390 int ecode6 = 0 ;
29391 bool temp7 = false ;
29392 PyObject * obj0 = 0 ;
29393 PyObject * obj1 = 0 ;
29394 PyObject * obj2 = 0 ;
29395 PyObject * obj3 = 0 ;
29396 PyObject * obj4 = 0 ;
29397 PyObject * obj5 = 0 ;
29398 PyObject * obj6 = 0 ;
29399 char * kwnames[] = {
29400 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29401 };
29402
29403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29404 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29405 if (!SWIG_IsOK(res1)) {
29406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29407 }
29408 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29409 if (!SWIG_IsOK(res2)) {
29410 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29411 }
29412 arg2 = reinterpret_cast< wxFrame * >(argp2);
29413 {
29414 arg3 = wxString_in_helper(obj2);
29415 if (arg3 == NULL) SWIG_fail;
29416 temp3 = true;
29417 }
29418 if (obj3) {
29419 {
29420 arg4 = &temp4;
29421 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29422 }
29423 }
29424 if (obj4) {
29425 {
29426 arg5 = &temp5;
29427 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29428 }
29429 }
29430 if (obj5) {
29431 ecode6 = SWIG_AsVal_long(obj5, &val6);
29432 if (!SWIG_IsOK(ecode6)) {
29433 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29434 }
29435 arg6 = static_cast< long >(val6);
29436 }
29437 if (obj6) {
29438 {
29439 arg7 = wxString_in_helper(obj6);
29440 if (arg7 == NULL) SWIG_fail;
29441 temp7 = true;
29442 }
29443 }
29444 {
29445 if (!wxPyCheckForApp()) SWIG_fail;
29446 PyThreadState* __tstate = wxPyBeginAllowThreads();
29447 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29448 wxPyEndAllowThreads(__tstate);
29449 if (PyErr_Occurred()) SWIG_fail;
29450 }
29451 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
29452 {
29453 if (temp3)
29454 delete arg3;
29455 }
29456 {
29457 if (temp7)
29458 delete arg7;
29459 }
29460 return resultobj;
29461 fail:
29462 {
29463 if (temp3)
29464 delete arg3;
29465 }
29466 {
29467 if (temp7)
29468 delete arg7;
29469 }
29470 return NULL;
29471 }
29472
29473
29474 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29475 PyObject *resultobj = 0;
29476 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29477 void *argp1 = 0 ;
29478 int res1 = 0 ;
29479 PyObject *swig_obj[1] ;
29480
29481 if (!args) SWIG_fail;
29482 swig_obj[0] = args;
29483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29484 if (!SWIG_IsOK(res1)) {
29485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29486 }
29487 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29488 {
29489 PyThreadState* __tstate = wxPyBeginAllowThreads();
29490 (arg1)->Initialize();
29491 wxPyEndAllowThreads(__tstate);
29492 if (PyErr_Occurred()) SWIG_fail;
29493 }
29494 resultobj = SWIG_Py_Void();
29495 return resultobj;
29496 fail:
29497 return NULL;
29498 }
29499
29500
29501 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29502 PyObject *resultobj = 0;
29503 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29504 void *argp1 = 0 ;
29505 int res1 = 0 ;
29506 PyObject *swig_obj[1] ;
29507
29508 if (!args) SWIG_fail;
29509 swig_obj[0] = args;
29510 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29511 if (!SWIG_IsOK(res1)) {
29512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29513 }
29514 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29515 {
29516 PyThreadState* __tstate = wxPyBeginAllowThreads();
29517 (arg1)->CreateControlBar();
29518 wxPyEndAllowThreads(__tstate);
29519 if (PyErr_Occurred()) SWIG_fail;
29520 }
29521 resultobj = SWIG_Py_Void();
29522 return resultobj;
29523 fail:
29524 return NULL;
29525 }
29526
29527
29528 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29529 PyObject *resultobj = 0;
29530 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29531 void *argp1 = 0 ;
29532 int res1 = 0 ;
29533 PyObject *swig_obj[1] ;
29534
29535 if (!args) SWIG_fail;
29536 swig_obj[0] = args;
29537 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29538 if (!SWIG_IsOK(res1)) {
29539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29540 }
29541 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29542 {
29543 PyThreadState* __tstate = wxPyBeginAllowThreads();
29544 (arg1)->CreateCanvas();
29545 wxPyEndAllowThreads(__tstate);
29546 if (PyErr_Occurred()) SWIG_fail;
29547 }
29548 resultobj = SWIG_Py_Void();
29549 return resultobj;
29550 fail:
29551 return NULL;
29552 }
29553
29554
29555 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29556 PyObject *resultobj = 0;
29557 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29558 wxPreviewControlBar *result = 0 ;
29559 void *argp1 = 0 ;
29560 int res1 = 0 ;
29561 PyObject *swig_obj[1] ;
29562
29563 if (!args) SWIG_fail;
29564 swig_obj[0] = args;
29565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29566 if (!SWIG_IsOK(res1)) {
29567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29568 }
29569 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29570 {
29571 PyThreadState* __tstate = wxPyBeginAllowThreads();
29572 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29573 wxPyEndAllowThreads(__tstate);
29574 if (PyErr_Occurred()) SWIG_fail;
29575 }
29576 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29577 return resultobj;
29578 fail:
29579 return NULL;
29580 }
29581
29582
29583 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29584 PyObject *obj;
29585 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29586 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29587 return SWIG_Py_Void();
29588 }
29589
29590 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29591 return SWIG_Python_InitShadowInstance(args);
29592 }
29593
29594 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29595 PyObject *resultobj = 0;
29596 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29597 long arg2 ;
29598 wxWindow *arg3 = (wxWindow *) 0 ;
29599 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29600 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29601 wxSize const &arg5_defvalue = wxDefaultSize ;
29602 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29603 long arg6 = (long) wxTAB_TRAVERSAL ;
29604 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29605 wxString *arg7 = (wxString *) &arg7_defvalue ;
29606 wxPreviewControlBar *result = 0 ;
29607 void *argp1 = 0 ;
29608 int res1 = 0 ;
29609 long val2 ;
29610 int ecode2 = 0 ;
29611 void *argp3 = 0 ;
29612 int res3 = 0 ;
29613 wxPoint temp4 ;
29614 wxSize temp5 ;
29615 long val6 ;
29616 int ecode6 = 0 ;
29617 bool temp7 = false ;
29618 PyObject * obj0 = 0 ;
29619 PyObject * obj1 = 0 ;
29620 PyObject * obj2 = 0 ;
29621 PyObject * obj3 = 0 ;
29622 PyObject * obj4 = 0 ;
29623 PyObject * obj5 = 0 ;
29624 PyObject * obj6 = 0 ;
29625 char * kwnames[] = {
29626 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29627 };
29628
29629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29631 if (!SWIG_IsOK(res1)) {
29632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29633 }
29634 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29635 ecode2 = SWIG_AsVal_long(obj1, &val2);
29636 if (!SWIG_IsOK(ecode2)) {
29637 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29638 }
29639 arg2 = static_cast< long >(val2);
29640 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29641 if (!SWIG_IsOK(res3)) {
29642 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29643 }
29644 arg3 = reinterpret_cast< wxWindow * >(argp3);
29645 if (obj3) {
29646 {
29647 arg4 = &temp4;
29648 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29649 }
29650 }
29651 if (obj4) {
29652 {
29653 arg5 = &temp5;
29654 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29655 }
29656 }
29657 if (obj5) {
29658 ecode6 = SWIG_AsVal_long(obj5, &val6);
29659 if (!SWIG_IsOK(ecode6)) {
29660 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29661 }
29662 arg6 = static_cast< long >(val6);
29663 }
29664 if (obj6) {
29665 {
29666 arg7 = wxString_in_helper(obj6);
29667 if (arg7 == NULL) SWIG_fail;
29668 temp7 = true;
29669 }
29670 }
29671 {
29672 if (!wxPyCheckForApp()) SWIG_fail;
29673 PyThreadState* __tstate = wxPyBeginAllowThreads();
29674 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29675 wxPyEndAllowThreads(__tstate);
29676 if (PyErr_Occurred()) SWIG_fail;
29677 }
29678 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29679 {
29680 if (temp7)
29681 delete arg7;
29682 }
29683 return resultobj;
29684 fail:
29685 {
29686 if (temp7)
29687 delete arg7;
29688 }
29689 return NULL;
29690 }
29691
29692
29693 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29694 PyObject *resultobj = 0;
29695 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29696 int result;
29697 void *argp1 = 0 ;
29698 int res1 = 0 ;
29699 PyObject *swig_obj[1] ;
29700
29701 if (!args) SWIG_fail;
29702 swig_obj[0] = args;
29703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29704 if (!SWIG_IsOK(res1)) {
29705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29706 }
29707 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29708 {
29709 PyThreadState* __tstate = wxPyBeginAllowThreads();
29710 result = (int)(arg1)->GetZoomControl();
29711 wxPyEndAllowThreads(__tstate);
29712 if (PyErr_Occurred()) SWIG_fail;
29713 }
29714 resultobj = SWIG_From_int(static_cast< int >(result));
29715 return resultobj;
29716 fail:
29717 return NULL;
29718 }
29719
29720
29721 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29722 PyObject *resultobj = 0;
29723 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29724 int arg2 ;
29725 void *argp1 = 0 ;
29726 int res1 = 0 ;
29727 int val2 ;
29728 int ecode2 = 0 ;
29729 PyObject * obj0 = 0 ;
29730 PyObject * obj1 = 0 ;
29731 char * kwnames[] = {
29732 (char *) "self",(char *) "zoom", NULL
29733 };
29734
29735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29737 if (!SWIG_IsOK(res1)) {
29738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29739 }
29740 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29741 ecode2 = SWIG_AsVal_int(obj1, &val2);
29742 if (!SWIG_IsOK(ecode2)) {
29743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29744 }
29745 arg2 = static_cast< int >(val2);
29746 {
29747 PyThreadState* __tstate = wxPyBeginAllowThreads();
29748 (arg1)->SetZoomControl(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_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29760 PyObject *resultobj = 0;
29761 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29762 wxPrintPreview *result = 0 ;
29763 void *argp1 = 0 ;
29764 int res1 = 0 ;
29765 PyObject *swig_obj[1] ;
29766
29767 if (!args) SWIG_fail;
29768 swig_obj[0] = args;
29769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29770 if (!SWIG_IsOK(res1)) {
29771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29772 }
29773 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29774 {
29775 PyThreadState* __tstate = wxPyBeginAllowThreads();
29776 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29777 wxPyEndAllowThreads(__tstate);
29778 if (PyErr_Occurred()) SWIG_fail;
29779 }
29780 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29781 return resultobj;
29782 fail:
29783 return NULL;
29784 }
29785
29786
29787 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29788 PyObject *resultobj = 0;
29789 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29790 void *argp1 = 0 ;
29791 int res1 = 0 ;
29792 PyObject *swig_obj[1] ;
29793
29794 if (!args) SWIG_fail;
29795 swig_obj[0] = args;
29796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29797 if (!SWIG_IsOK(res1)) {
29798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29799 }
29800 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29801 {
29802 PyThreadState* __tstate = wxPyBeginAllowThreads();
29803 (arg1)->OnNext();
29804 wxPyEndAllowThreads(__tstate);
29805 if (PyErr_Occurred()) SWIG_fail;
29806 }
29807 resultobj = SWIG_Py_Void();
29808 return resultobj;
29809 fail:
29810 return NULL;
29811 }
29812
29813
29814 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29815 PyObject *resultobj = 0;
29816 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29817 void *argp1 = 0 ;
29818 int res1 = 0 ;
29819 PyObject *swig_obj[1] ;
29820
29821 if (!args) SWIG_fail;
29822 swig_obj[0] = args;
29823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29824 if (!SWIG_IsOK(res1)) {
29825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29826 }
29827 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29828 {
29829 PyThreadState* __tstate = wxPyBeginAllowThreads();
29830 (arg1)->OnPrevious();
29831 wxPyEndAllowThreads(__tstate);
29832 if (PyErr_Occurred()) SWIG_fail;
29833 }
29834 resultobj = SWIG_Py_Void();
29835 return resultobj;
29836 fail:
29837 return NULL;
29838 }
29839
29840
29841 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29842 PyObject *resultobj = 0;
29843 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29844 void *argp1 = 0 ;
29845 int res1 = 0 ;
29846 PyObject *swig_obj[1] ;
29847
29848 if (!args) SWIG_fail;
29849 swig_obj[0] = args;
29850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29851 if (!SWIG_IsOK(res1)) {
29852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29853 }
29854 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29855 {
29856 PyThreadState* __tstate = wxPyBeginAllowThreads();
29857 (arg1)->OnFirst();
29858 wxPyEndAllowThreads(__tstate);
29859 if (PyErr_Occurred()) SWIG_fail;
29860 }
29861 resultobj = SWIG_Py_Void();
29862 return resultobj;
29863 fail:
29864 return NULL;
29865 }
29866
29867
29868 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29869 PyObject *resultobj = 0;
29870 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29871 void *argp1 = 0 ;
29872 int res1 = 0 ;
29873 PyObject *swig_obj[1] ;
29874
29875 if (!args) SWIG_fail;
29876 swig_obj[0] = args;
29877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29878 if (!SWIG_IsOK(res1)) {
29879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29880 }
29881 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29882 {
29883 PyThreadState* __tstate = wxPyBeginAllowThreads();
29884 (arg1)->OnLast();
29885 wxPyEndAllowThreads(__tstate);
29886 if (PyErr_Occurred()) SWIG_fail;
29887 }
29888 resultobj = SWIG_Py_Void();
29889 return resultobj;
29890 fail:
29891 return NULL;
29892 }
29893
29894
29895 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29896 PyObject *resultobj = 0;
29897 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29898 void *argp1 = 0 ;
29899 int res1 = 0 ;
29900 PyObject *swig_obj[1] ;
29901
29902 if (!args) SWIG_fail;
29903 swig_obj[0] = args;
29904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29905 if (!SWIG_IsOK(res1)) {
29906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29907 }
29908 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29909 {
29910 PyThreadState* __tstate = wxPyBeginAllowThreads();
29911 (arg1)->OnGoto();
29912 wxPyEndAllowThreads(__tstate);
29913 if (PyErr_Occurred()) SWIG_fail;
29914 }
29915 resultobj = SWIG_Py_Void();
29916 return resultobj;
29917 fail:
29918 return NULL;
29919 }
29920
29921
29922 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29923 PyObject *obj;
29924 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29925 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29926 return SWIG_Py_Void();
29927 }
29928
29929 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29930 return SWIG_Python_InitShadowInstance(args);
29931 }
29932
29933 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29934 PyObject *resultobj = 0;
29935 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29936 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29937 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29938 wxPrintPreview *result = 0 ;
29939 int res1 = 0 ;
29940 int res2 = 0 ;
29941 void *argp3 = 0 ;
29942 int res3 = 0 ;
29943
29944 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29945 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29946 if (!SWIG_IsOK(res1)) {
29947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29948 }
29949 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29950 if (!SWIG_IsOK(res2)) {
29951 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29952 }
29953 if (swig_obj[2]) {
29954 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29955 if (!SWIG_IsOK(res3)) {
29956 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29957 }
29958 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29959 }
29960 {
29961 if (!wxPyCheckForApp()) SWIG_fail;
29962 PyThreadState* __tstate = wxPyBeginAllowThreads();
29963 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29964 wxPyEndAllowThreads(__tstate);
29965 if (PyErr_Occurred()) SWIG_fail;
29966 }
29967 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29968 return resultobj;
29969 fail:
29970 return NULL;
29971 }
29972
29973
29974 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29975 PyObject *resultobj = 0;
29976 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29977 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29978 wxPrintData *arg3 = (wxPrintData *) 0 ;
29979 wxPrintPreview *result = 0 ;
29980 int res1 = 0 ;
29981 int res2 = 0 ;
29982 void *argp3 = 0 ;
29983 int res3 = 0 ;
29984
29985 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29986 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29987 if (!SWIG_IsOK(res1)) {
29988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29989 }
29990 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29991 if (!SWIG_IsOK(res2)) {
29992 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29993 }
29994 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29995 if (!SWIG_IsOK(res3)) {
29996 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29997 }
29998 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29999 {
30000 if (!wxPyCheckForApp()) SWIG_fail;
30001 PyThreadState* __tstate = wxPyBeginAllowThreads();
30002 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30003 wxPyEndAllowThreads(__tstate);
30004 if (PyErr_Occurred()) SWIG_fail;
30005 }
30006 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30007 return resultobj;
30008 fail:
30009 return NULL;
30010 }
30011
30012
30013 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
30014 int argc;
30015 PyObject *argv[4];
30016
30017 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
30018 --argc;
30019 if ((argc >= 2) && (argc <= 3)) {
30020 int _v = 0;
30021 if (argc > 2) {
30022 {
30023 void *vptr = 0;
30024 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30025 _v = SWIG_CheckState(res);
30026 }
30027 if (!_v) goto check_1;
30028 }
30029 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
30030 }
30031 check_1:
30032
30033 if (argc == 3) {
30034 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
30035 }
30036
30037 fail:
30038 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
30039 return NULL;
30040 }
30041
30042
30043 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30044 PyObject *resultobj = 0;
30045 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30046 void *argp1 = 0 ;
30047 int res1 = 0 ;
30048 PyObject *swig_obj[1] ;
30049
30050 if (!args) SWIG_fail;
30051 swig_obj[0] = args;
30052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
30053 if (!SWIG_IsOK(res1)) {
30054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30055 }
30056 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30057 {
30058 PyThreadState* __tstate = wxPyBeginAllowThreads();
30059 delete arg1;
30060
30061 wxPyEndAllowThreads(__tstate);
30062 if (PyErr_Occurred()) SWIG_fail;
30063 }
30064 resultobj = SWIG_Py_Void();
30065 return resultobj;
30066 fail:
30067 return NULL;
30068 }
30069
30070
30071 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30072 PyObject *resultobj = 0;
30073 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30074 int arg2 ;
30075 bool result;
30076 void *argp1 = 0 ;
30077 int res1 = 0 ;
30078 int val2 ;
30079 int ecode2 = 0 ;
30080 PyObject * obj0 = 0 ;
30081 PyObject * obj1 = 0 ;
30082 char * kwnames[] = {
30083 (char *) "self",(char *) "pageNum", NULL
30084 };
30085
30086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
30087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30088 if (!SWIG_IsOK(res1)) {
30089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30090 }
30091 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30092 ecode2 = SWIG_AsVal_int(obj1, &val2);
30093 if (!SWIG_IsOK(ecode2)) {
30094 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30095 }
30096 arg2 = static_cast< int >(val2);
30097 {
30098 PyThreadState* __tstate = wxPyBeginAllowThreads();
30099 result = (bool)(arg1)->SetCurrentPage(arg2);
30100 wxPyEndAllowThreads(__tstate);
30101 if (PyErr_Occurred()) SWIG_fail;
30102 }
30103 {
30104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30105 }
30106 return resultobj;
30107 fail:
30108 return NULL;
30109 }
30110
30111
30112 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30113 PyObject *resultobj = 0;
30114 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30115 int result;
30116 void *argp1 = 0 ;
30117 int res1 = 0 ;
30118 PyObject *swig_obj[1] ;
30119
30120 if (!args) SWIG_fail;
30121 swig_obj[0] = args;
30122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30123 if (!SWIG_IsOK(res1)) {
30124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30125 }
30126 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30127 {
30128 PyThreadState* __tstate = wxPyBeginAllowThreads();
30129 result = (int)(arg1)->GetCurrentPage();
30130 wxPyEndAllowThreads(__tstate);
30131 if (PyErr_Occurred()) SWIG_fail;
30132 }
30133 resultobj = SWIG_From_int(static_cast< int >(result));
30134 return resultobj;
30135 fail:
30136 return NULL;
30137 }
30138
30139
30140 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30141 PyObject *resultobj = 0;
30142 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30143 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30144 void *argp1 = 0 ;
30145 int res1 = 0 ;
30146 int res2 = 0 ;
30147 PyObject * obj0 = 0 ;
30148 PyObject * obj1 = 0 ;
30149 char * kwnames[] = {
30150 (char *) "self",(char *) "printout", NULL
30151 };
30152
30153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
30154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30155 if (!SWIG_IsOK(res1)) {
30156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30157 }
30158 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30159 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30160 if (!SWIG_IsOK(res2)) {
30161 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30162 }
30163 {
30164 PyThreadState* __tstate = wxPyBeginAllowThreads();
30165 (arg1)->SetPrintout(arg2);
30166 wxPyEndAllowThreads(__tstate);
30167 if (PyErr_Occurred()) SWIG_fail;
30168 }
30169 resultobj = SWIG_Py_Void();
30170 return resultobj;
30171 fail:
30172 return NULL;
30173 }
30174
30175
30176 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30177 PyObject *resultobj = 0;
30178 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30179 wxPyPrintout *result = 0 ;
30180 void *argp1 = 0 ;
30181 int res1 = 0 ;
30182 PyObject *swig_obj[1] ;
30183
30184 if (!args) SWIG_fail;
30185 swig_obj[0] = args;
30186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30187 if (!SWIG_IsOK(res1)) {
30188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30189 }
30190 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30191 {
30192 PyThreadState* __tstate = wxPyBeginAllowThreads();
30193 result = (wxPyPrintout *)(arg1)->GetPrintout();
30194 wxPyEndAllowThreads(__tstate);
30195 if (PyErr_Occurred()) SWIG_fail;
30196 }
30197 {
30198 resultobj = wxPyMake_wxObject(result, 0);
30199 }
30200 return resultobj;
30201 fail:
30202 return NULL;
30203 }
30204
30205
30206 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30207 PyObject *resultobj = 0;
30208 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30209 wxPyPrintout *result = 0 ;
30210 void *argp1 = 0 ;
30211 int res1 = 0 ;
30212 PyObject *swig_obj[1] ;
30213
30214 if (!args) SWIG_fail;
30215 swig_obj[0] = args;
30216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30217 if (!SWIG_IsOK(res1)) {
30218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30219 }
30220 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30221 {
30222 PyThreadState* __tstate = wxPyBeginAllowThreads();
30223 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
30224 wxPyEndAllowThreads(__tstate);
30225 if (PyErr_Occurred()) SWIG_fail;
30226 }
30227 {
30228 resultobj = wxPyMake_wxObject(result, 0);
30229 }
30230 return resultobj;
30231 fail:
30232 return NULL;
30233 }
30234
30235
30236 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30237 PyObject *resultobj = 0;
30238 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30239 wxFrame *arg2 = (wxFrame *) 0 ;
30240 void *argp1 = 0 ;
30241 int res1 = 0 ;
30242 void *argp2 = 0 ;
30243 int res2 = 0 ;
30244 PyObject * obj0 = 0 ;
30245 PyObject * obj1 = 0 ;
30246 char * kwnames[] = {
30247 (char *) "self",(char *) "frame", NULL
30248 };
30249
30250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
30251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30252 if (!SWIG_IsOK(res1)) {
30253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30254 }
30255 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30256 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30257 if (!SWIG_IsOK(res2)) {
30258 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30259 }
30260 arg2 = reinterpret_cast< wxFrame * >(argp2);
30261 {
30262 PyThreadState* __tstate = wxPyBeginAllowThreads();
30263 (arg1)->SetFrame(arg2);
30264 wxPyEndAllowThreads(__tstate);
30265 if (PyErr_Occurred()) SWIG_fail;
30266 }
30267 resultobj = SWIG_Py_Void();
30268 return resultobj;
30269 fail:
30270 return NULL;
30271 }
30272
30273
30274 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30275 PyObject *resultobj = 0;
30276 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30277 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30278 void *argp1 = 0 ;
30279 int res1 = 0 ;
30280 void *argp2 = 0 ;
30281 int res2 = 0 ;
30282 PyObject * obj0 = 0 ;
30283 PyObject * obj1 = 0 ;
30284 char * kwnames[] = {
30285 (char *) "self",(char *) "canvas", NULL
30286 };
30287
30288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30290 if (!SWIG_IsOK(res1)) {
30291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30292 }
30293 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30294 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30295 if (!SWIG_IsOK(res2)) {
30296 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30297 }
30298 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30299 {
30300 PyThreadState* __tstate = wxPyBeginAllowThreads();
30301 (arg1)->SetCanvas(arg2);
30302 wxPyEndAllowThreads(__tstate);
30303 if (PyErr_Occurred()) SWIG_fail;
30304 }
30305 resultobj = SWIG_Py_Void();
30306 return resultobj;
30307 fail:
30308 return NULL;
30309 }
30310
30311
30312 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30313 PyObject *resultobj = 0;
30314 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30315 wxFrame *result = 0 ;
30316 void *argp1 = 0 ;
30317 int res1 = 0 ;
30318 PyObject *swig_obj[1] ;
30319
30320 if (!args) SWIG_fail;
30321 swig_obj[0] = args;
30322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30323 if (!SWIG_IsOK(res1)) {
30324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30325 }
30326 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30327 {
30328 PyThreadState* __tstate = wxPyBeginAllowThreads();
30329 result = (wxFrame *)(arg1)->GetFrame();
30330 wxPyEndAllowThreads(__tstate);
30331 if (PyErr_Occurred()) SWIG_fail;
30332 }
30333 {
30334 resultobj = wxPyMake_wxObject(result, 0);
30335 }
30336 return resultobj;
30337 fail:
30338 return NULL;
30339 }
30340
30341
30342 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30343 PyObject *resultobj = 0;
30344 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30345 wxPreviewCanvas *result = 0 ;
30346 void *argp1 = 0 ;
30347 int res1 = 0 ;
30348 PyObject *swig_obj[1] ;
30349
30350 if (!args) SWIG_fail;
30351 swig_obj[0] = args;
30352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30353 if (!SWIG_IsOK(res1)) {
30354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30355 }
30356 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30357 {
30358 PyThreadState* __tstate = wxPyBeginAllowThreads();
30359 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
30360 wxPyEndAllowThreads(__tstate);
30361 if (PyErr_Occurred()) SWIG_fail;
30362 }
30363 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30364 return resultobj;
30365 fail:
30366 return NULL;
30367 }
30368
30369
30370 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30371 PyObject *resultobj = 0;
30372 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30373 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30374 wxDC *arg3 = 0 ;
30375 bool result;
30376 void *argp1 = 0 ;
30377 int res1 = 0 ;
30378 void *argp2 = 0 ;
30379 int res2 = 0 ;
30380 void *argp3 = 0 ;
30381 int res3 = 0 ;
30382 PyObject * obj0 = 0 ;
30383 PyObject * obj1 = 0 ;
30384 PyObject * obj2 = 0 ;
30385 char * kwnames[] = {
30386 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30387 };
30388
30389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30391 if (!SWIG_IsOK(res1)) {
30392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30393 }
30394 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30395 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30396 if (!SWIG_IsOK(res2)) {
30397 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30398 }
30399 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30400 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30401 if (!SWIG_IsOK(res3)) {
30402 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30403 }
30404 if (!argp3) {
30405 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30406 }
30407 arg3 = reinterpret_cast< wxDC * >(argp3);
30408 {
30409 PyThreadState* __tstate = wxPyBeginAllowThreads();
30410 result = (bool)(arg1)->PaintPage(arg2,*arg3);
30411 wxPyEndAllowThreads(__tstate);
30412 if (PyErr_Occurred()) SWIG_fail;
30413 }
30414 {
30415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30416 }
30417 return resultobj;
30418 fail:
30419 return NULL;
30420 }
30421
30422
30423 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30424 PyObject *resultobj = 0;
30425 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30426 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30427 wxDC *arg3 = 0 ;
30428 bool result;
30429 void *argp1 = 0 ;
30430 int res1 = 0 ;
30431 void *argp2 = 0 ;
30432 int res2 = 0 ;
30433 void *argp3 = 0 ;
30434 int res3 = 0 ;
30435 PyObject * obj0 = 0 ;
30436 PyObject * obj1 = 0 ;
30437 PyObject * obj2 = 0 ;
30438 char * kwnames[] = {
30439 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30440 };
30441
30442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30444 if (!SWIG_IsOK(res1)) {
30445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30446 }
30447 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30448 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30449 if (!SWIG_IsOK(res2)) {
30450 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30451 }
30452 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30453 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30454 if (!SWIG_IsOK(res3)) {
30455 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30456 }
30457 if (!argp3) {
30458 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30459 }
30460 arg3 = reinterpret_cast< wxDC * >(argp3);
30461 {
30462 PyThreadState* __tstate = wxPyBeginAllowThreads();
30463 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30464 wxPyEndAllowThreads(__tstate);
30465 if (PyErr_Occurred()) SWIG_fail;
30466 }
30467 {
30468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30469 }
30470 return resultobj;
30471 fail:
30472 return NULL;
30473 }
30474
30475
30476 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30477 PyObject *resultobj = 0;
30478 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30479 int arg2 ;
30480 bool result;
30481 void *argp1 = 0 ;
30482 int res1 = 0 ;
30483 int val2 ;
30484 int ecode2 = 0 ;
30485 PyObject * obj0 = 0 ;
30486 PyObject * obj1 = 0 ;
30487 char * kwnames[] = {
30488 (char *) "self",(char *) "pageNum", NULL
30489 };
30490
30491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30493 if (!SWIG_IsOK(res1)) {
30494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30495 }
30496 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30497 ecode2 = SWIG_AsVal_int(obj1, &val2);
30498 if (!SWIG_IsOK(ecode2)) {
30499 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30500 }
30501 arg2 = static_cast< int >(val2);
30502 {
30503 PyThreadState* __tstate = wxPyBeginAllowThreads();
30504 result = (bool)(arg1)->RenderPage(arg2);
30505 wxPyEndAllowThreads(__tstate);
30506 if (PyErr_Occurred()) SWIG_fail;
30507 }
30508 {
30509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30510 }
30511 return resultobj;
30512 fail:
30513 return NULL;
30514 }
30515
30516
30517 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30518 PyObject *resultobj = 0;
30519 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30520 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30521 void *argp1 = 0 ;
30522 int res1 = 0 ;
30523 void *argp2 = 0 ;
30524 int res2 = 0 ;
30525 PyObject * obj0 = 0 ;
30526 PyObject * obj1 = 0 ;
30527 char * kwnames[] = {
30528 (char *) "self",(char *) "canvas", NULL
30529 };
30530
30531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30533 if (!SWIG_IsOK(res1)) {
30534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30535 }
30536 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30537 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30538 if (!SWIG_IsOK(res2)) {
30539 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30540 }
30541 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30542 {
30543 PyThreadState* __tstate = wxPyBeginAllowThreads();
30544 (arg1)->AdjustScrollbars(arg2);
30545 wxPyEndAllowThreads(__tstate);
30546 if (PyErr_Occurred()) SWIG_fail;
30547 }
30548 resultobj = SWIG_Py_Void();
30549 return resultobj;
30550 fail:
30551 return NULL;
30552 }
30553
30554
30555 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30556 PyObject *resultobj = 0;
30557 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30558 wxPrintDialogData *result = 0 ;
30559 void *argp1 = 0 ;
30560 int res1 = 0 ;
30561 PyObject *swig_obj[1] ;
30562
30563 if (!args) SWIG_fail;
30564 swig_obj[0] = args;
30565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30566 if (!SWIG_IsOK(res1)) {
30567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30568 }
30569 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30570 {
30571 PyThreadState* __tstate = wxPyBeginAllowThreads();
30572 {
30573 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30574 result = (wxPrintDialogData *) &_result_ref;
30575 }
30576 wxPyEndAllowThreads(__tstate);
30577 if (PyErr_Occurred()) SWIG_fail;
30578 }
30579 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30580 return resultobj;
30581 fail:
30582 return NULL;
30583 }
30584
30585
30586 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30587 PyObject *resultobj = 0;
30588 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30589 int arg2 ;
30590 void *argp1 = 0 ;
30591 int res1 = 0 ;
30592 int val2 ;
30593 int ecode2 = 0 ;
30594 PyObject * obj0 = 0 ;
30595 PyObject * obj1 = 0 ;
30596 char * kwnames[] = {
30597 (char *) "self",(char *) "percent", NULL
30598 };
30599
30600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30602 if (!SWIG_IsOK(res1)) {
30603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30604 }
30605 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30606 ecode2 = SWIG_AsVal_int(obj1, &val2);
30607 if (!SWIG_IsOK(ecode2)) {
30608 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30609 }
30610 arg2 = static_cast< int >(val2);
30611 {
30612 PyThreadState* __tstate = wxPyBeginAllowThreads();
30613 (arg1)->SetZoom(arg2);
30614 wxPyEndAllowThreads(__tstate);
30615 if (PyErr_Occurred()) SWIG_fail;
30616 }
30617 resultobj = SWIG_Py_Void();
30618 return resultobj;
30619 fail:
30620 return NULL;
30621 }
30622
30623
30624 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30625 PyObject *resultobj = 0;
30626 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30627 int result;
30628 void *argp1 = 0 ;
30629 int res1 = 0 ;
30630 PyObject *swig_obj[1] ;
30631
30632 if (!args) SWIG_fail;
30633 swig_obj[0] = args;
30634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30635 if (!SWIG_IsOK(res1)) {
30636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30637 }
30638 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30639 {
30640 PyThreadState* __tstate = wxPyBeginAllowThreads();
30641 result = (int)(arg1)->GetZoom();
30642 wxPyEndAllowThreads(__tstate);
30643 if (PyErr_Occurred()) SWIG_fail;
30644 }
30645 resultobj = SWIG_From_int(static_cast< int >(result));
30646 return resultobj;
30647 fail:
30648 return NULL;
30649 }
30650
30651
30652 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30653 PyObject *resultobj = 0;
30654 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30655 int result;
30656 void *argp1 = 0 ;
30657 int res1 = 0 ;
30658 PyObject *swig_obj[1] ;
30659
30660 if (!args) SWIG_fail;
30661 swig_obj[0] = args;
30662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30663 if (!SWIG_IsOK(res1)) {
30664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30665 }
30666 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30667 {
30668 PyThreadState* __tstate = wxPyBeginAllowThreads();
30669 result = (int)(arg1)->GetMaxPage();
30670 wxPyEndAllowThreads(__tstate);
30671 if (PyErr_Occurred()) SWIG_fail;
30672 }
30673 resultobj = SWIG_From_int(static_cast< int >(result));
30674 return resultobj;
30675 fail:
30676 return NULL;
30677 }
30678
30679
30680 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30681 PyObject *resultobj = 0;
30682 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30683 int result;
30684 void *argp1 = 0 ;
30685 int res1 = 0 ;
30686 PyObject *swig_obj[1] ;
30687
30688 if (!args) SWIG_fail;
30689 swig_obj[0] = args;
30690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30691 if (!SWIG_IsOK(res1)) {
30692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30693 }
30694 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30695 {
30696 PyThreadState* __tstate = wxPyBeginAllowThreads();
30697 result = (int)(arg1)->GetMinPage();
30698 wxPyEndAllowThreads(__tstate);
30699 if (PyErr_Occurred()) SWIG_fail;
30700 }
30701 resultobj = SWIG_From_int(static_cast< int >(result));
30702 return resultobj;
30703 fail:
30704 return NULL;
30705 }
30706
30707
30708 SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30709 PyObject *resultobj = 0;
30710 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30711 bool result;
30712 void *argp1 = 0 ;
30713 int res1 = 0 ;
30714 PyObject *swig_obj[1] ;
30715
30716 if (!args) SWIG_fail;
30717 swig_obj[0] = args;
30718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30719 if (!SWIG_IsOK(res1)) {
30720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30721 }
30722 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30723 {
30724 PyThreadState* __tstate = wxPyBeginAllowThreads();
30725 result = (bool)(arg1)->IsOk();
30726 wxPyEndAllowThreads(__tstate);
30727 if (PyErr_Occurred()) SWIG_fail;
30728 }
30729 {
30730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30731 }
30732 return resultobj;
30733 fail:
30734 return NULL;
30735 }
30736
30737
30738 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30739 PyObject *resultobj = 0;
30740 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30741 bool arg2 ;
30742 void *argp1 = 0 ;
30743 int res1 = 0 ;
30744 bool val2 ;
30745 int ecode2 = 0 ;
30746 PyObject * obj0 = 0 ;
30747 PyObject * obj1 = 0 ;
30748 char * kwnames[] = {
30749 (char *) "self",(char *) "ok", NULL
30750 };
30751
30752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30754 if (!SWIG_IsOK(res1)) {
30755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30756 }
30757 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30758 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30759 if (!SWIG_IsOK(ecode2)) {
30760 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30761 }
30762 arg2 = static_cast< bool >(val2);
30763 {
30764 PyThreadState* __tstate = wxPyBeginAllowThreads();
30765 (arg1)->SetOk(arg2);
30766 wxPyEndAllowThreads(__tstate);
30767 if (PyErr_Occurred()) SWIG_fail;
30768 }
30769 resultobj = SWIG_Py_Void();
30770 return resultobj;
30771 fail:
30772 return NULL;
30773 }
30774
30775
30776 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30777 PyObject *resultobj = 0;
30778 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30779 bool arg2 ;
30780 bool result;
30781 void *argp1 = 0 ;
30782 int res1 = 0 ;
30783 bool val2 ;
30784 int ecode2 = 0 ;
30785 PyObject * obj0 = 0 ;
30786 PyObject * obj1 = 0 ;
30787 char * kwnames[] = {
30788 (char *) "self",(char *) "interactive", NULL
30789 };
30790
30791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30793 if (!SWIG_IsOK(res1)) {
30794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30795 }
30796 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30797 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30798 if (!SWIG_IsOK(ecode2)) {
30799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30800 }
30801 arg2 = static_cast< bool >(val2);
30802 {
30803 PyThreadState* __tstate = wxPyBeginAllowThreads();
30804 result = (bool)(arg1)->Print(arg2);
30805 wxPyEndAllowThreads(__tstate);
30806 if (PyErr_Occurred()) SWIG_fail;
30807 }
30808 {
30809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30810 }
30811 return resultobj;
30812 fail:
30813 return NULL;
30814 }
30815
30816
30817 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30818 PyObject *resultobj = 0;
30819 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30820 void *argp1 = 0 ;
30821 int res1 = 0 ;
30822 PyObject *swig_obj[1] ;
30823
30824 if (!args) SWIG_fail;
30825 swig_obj[0] = args;
30826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30827 if (!SWIG_IsOK(res1)) {
30828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30829 }
30830 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30831 {
30832 PyThreadState* __tstate = wxPyBeginAllowThreads();
30833 (arg1)->DetermineScaling();
30834 wxPyEndAllowThreads(__tstate);
30835 if (PyErr_Occurred()) SWIG_fail;
30836 }
30837 resultobj = SWIG_Py_Void();
30838 return resultobj;
30839 fail:
30840 return NULL;
30841 }
30842
30843
30844 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30845 PyObject *obj;
30846 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30847 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30848 return SWIG_Py_Void();
30849 }
30850
30851 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30852 return SWIG_Python_InitShadowInstance(args);
30853 }
30854
30855 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30856 PyObject *resultobj = 0;
30857 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30858 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30859 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30860 wxPyPrintPreview *result = 0 ;
30861 int res1 = 0 ;
30862 int res2 = 0 ;
30863 void *argp3 = 0 ;
30864 int res3 = 0 ;
30865
30866 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30867 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30868 if (!SWIG_IsOK(res1)) {
30869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30870 }
30871 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30872 if (!SWIG_IsOK(res2)) {
30873 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30874 }
30875 if (swig_obj[2]) {
30876 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30877 if (!SWIG_IsOK(res3)) {
30878 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30879 }
30880 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30881 }
30882 {
30883 if (!wxPyCheckForApp()) SWIG_fail;
30884 PyThreadState* __tstate = wxPyBeginAllowThreads();
30885 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30886 wxPyEndAllowThreads(__tstate);
30887 if (PyErr_Occurred()) SWIG_fail;
30888 }
30889 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30890 return resultobj;
30891 fail:
30892 return NULL;
30893 }
30894
30895
30896 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30897 PyObject *resultobj = 0;
30898 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30899 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30900 wxPrintData *arg3 = (wxPrintData *) 0 ;
30901 wxPyPrintPreview *result = 0 ;
30902 int res1 = 0 ;
30903 int res2 = 0 ;
30904 void *argp3 = 0 ;
30905 int res3 = 0 ;
30906
30907 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30908 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30909 if (!SWIG_IsOK(res1)) {
30910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30911 }
30912 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30913 if (!SWIG_IsOK(res2)) {
30914 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30915 }
30916 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30917 if (!SWIG_IsOK(res3)) {
30918 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30919 }
30920 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30921 {
30922 if (!wxPyCheckForApp()) SWIG_fail;
30923 PyThreadState* __tstate = wxPyBeginAllowThreads();
30924 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30925 wxPyEndAllowThreads(__tstate);
30926 if (PyErr_Occurred()) SWIG_fail;
30927 }
30928 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30929 return resultobj;
30930 fail:
30931 return NULL;
30932 }
30933
30934
30935 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30936 int argc;
30937 PyObject *argv[4];
30938
30939 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30940 --argc;
30941 if ((argc >= 2) && (argc <= 3)) {
30942 int _v = 0;
30943 if (argc > 2) {
30944 {
30945 void *vptr = 0;
30946 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30947 _v = SWIG_CheckState(res);
30948 }
30949 if (!_v) goto check_1;
30950 }
30951 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30952 }
30953 check_1:
30954
30955 if (argc == 3) {
30956 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30957 }
30958
30959 fail:
30960 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30961 return NULL;
30962 }
30963
30964
30965 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30966 PyObject *resultobj = 0;
30967 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30968 PyObject *arg2 = (PyObject *) 0 ;
30969 PyObject *arg3 = (PyObject *) 0 ;
30970 void *argp1 = 0 ;
30971 int res1 = 0 ;
30972 PyObject * obj0 = 0 ;
30973 PyObject * obj1 = 0 ;
30974 PyObject * obj2 = 0 ;
30975 char * kwnames[] = {
30976 (char *) "self",(char *) "self",(char *) "_class", NULL
30977 };
30978
30979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30981 if (!SWIG_IsOK(res1)) {
30982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30983 }
30984 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30985 arg2 = obj1;
30986 arg3 = obj2;
30987 {
30988 PyThreadState* __tstate = wxPyBeginAllowThreads();
30989 (arg1)->_setCallbackInfo(arg2,arg3);
30990 wxPyEndAllowThreads(__tstate);
30991 if (PyErr_Occurred()) SWIG_fail;
30992 }
30993 resultobj = SWIG_Py_Void();
30994 return resultobj;
30995 fail:
30996 return NULL;
30997 }
30998
30999
31000 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31001 PyObject *obj;
31002 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31003 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
31004 return SWIG_Py_Void();
31005 }
31006
31007 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31008 return SWIG_Python_InitShadowInstance(args);
31009 }
31010
31011 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31012 PyObject *resultobj = 0;
31013 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31014 wxFrame *arg2 = (wxFrame *) 0 ;
31015 wxString *arg3 = 0 ;
31016 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31017 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31018 wxSize const &arg5_defvalue = wxDefaultSize ;
31019 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31020 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
31021 wxString const &arg7_defvalue = wxPyFrameNameStr ;
31022 wxString *arg7 = (wxString *) &arg7_defvalue ;
31023 wxPyPreviewFrame *result = 0 ;
31024 void *argp1 = 0 ;
31025 int res1 = 0 ;
31026 void *argp2 = 0 ;
31027 int res2 = 0 ;
31028 bool temp3 = false ;
31029 wxPoint temp4 ;
31030 wxSize temp5 ;
31031 long val6 ;
31032 int ecode6 = 0 ;
31033 bool temp7 = false ;
31034 PyObject * obj0 = 0 ;
31035 PyObject * obj1 = 0 ;
31036 PyObject * obj2 = 0 ;
31037 PyObject * obj3 = 0 ;
31038 PyObject * obj4 = 0 ;
31039 PyObject * obj5 = 0 ;
31040 PyObject * obj6 = 0 ;
31041 char * kwnames[] = {
31042 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31043 };
31044
31045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31047 if (!SWIG_IsOK(res1)) {
31048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31049 }
31050 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31051 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
31052 if (!SWIG_IsOK(res2)) {
31053 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31054 }
31055 arg2 = reinterpret_cast< wxFrame * >(argp2);
31056 {
31057 arg3 = wxString_in_helper(obj2);
31058 if (arg3 == NULL) SWIG_fail;
31059 temp3 = true;
31060 }
31061 if (obj3) {
31062 {
31063 arg4 = &temp4;
31064 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31065 }
31066 }
31067 if (obj4) {
31068 {
31069 arg5 = &temp5;
31070 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31071 }
31072 }
31073 if (obj5) {
31074 ecode6 = SWIG_AsVal_long(obj5, &val6);
31075 if (!SWIG_IsOK(ecode6)) {
31076 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31077 }
31078 arg6 = static_cast< long >(val6);
31079 }
31080 if (obj6) {
31081 {
31082 arg7 = wxString_in_helper(obj6);
31083 if (arg7 == NULL) SWIG_fail;
31084 temp7 = true;
31085 }
31086 }
31087 {
31088 if (!wxPyCheckForApp()) SWIG_fail;
31089 PyThreadState* __tstate = wxPyBeginAllowThreads();
31090 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31091 wxPyEndAllowThreads(__tstate);
31092 if (PyErr_Occurred()) SWIG_fail;
31093 }
31094 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
31095 {
31096 if (temp3)
31097 delete arg3;
31098 }
31099 {
31100 if (temp7)
31101 delete arg7;
31102 }
31103 return resultobj;
31104 fail:
31105 {
31106 if (temp3)
31107 delete arg3;
31108 }
31109 {
31110 if (temp7)
31111 delete arg7;
31112 }
31113 return NULL;
31114 }
31115
31116
31117 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31118 PyObject *resultobj = 0;
31119 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31120 PyObject *arg2 = (PyObject *) 0 ;
31121 PyObject *arg3 = (PyObject *) 0 ;
31122 void *argp1 = 0 ;
31123 int res1 = 0 ;
31124 PyObject * obj0 = 0 ;
31125 PyObject * obj1 = 0 ;
31126 PyObject * obj2 = 0 ;
31127 char * kwnames[] = {
31128 (char *) "self",(char *) "self",(char *) "_class", NULL
31129 };
31130
31131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31133 if (!SWIG_IsOK(res1)) {
31134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31135 }
31136 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31137 arg2 = obj1;
31138 arg3 = obj2;
31139 {
31140 PyThreadState* __tstate = wxPyBeginAllowThreads();
31141 (arg1)->_setCallbackInfo(arg2,arg3);
31142 wxPyEndAllowThreads(__tstate);
31143 if (PyErr_Occurred()) SWIG_fail;
31144 }
31145 resultobj = SWIG_Py_Void();
31146 return resultobj;
31147 fail:
31148 return NULL;
31149 }
31150
31151
31152 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31153 PyObject *resultobj = 0;
31154 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31155 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
31156 void *argp1 = 0 ;
31157 int res1 = 0 ;
31158 void *argp2 = 0 ;
31159 int res2 = 0 ;
31160 PyObject * obj0 = 0 ;
31161 PyObject * obj1 = 0 ;
31162 char * kwnames[] = {
31163 (char *) "self",(char *) "canvas", NULL
31164 };
31165
31166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
31167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31168 if (!SWIG_IsOK(res1)) {
31169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31170 }
31171 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31172 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
31173 if (!SWIG_IsOK(res2)) {
31174 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31175 }
31176 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
31177 {
31178 PyThreadState* __tstate = wxPyBeginAllowThreads();
31179 (arg1)->SetPreviewCanvas(arg2);
31180 wxPyEndAllowThreads(__tstate);
31181 if (PyErr_Occurred()) SWIG_fail;
31182 }
31183 resultobj = SWIG_Py_Void();
31184 return resultobj;
31185 fail:
31186 return NULL;
31187 }
31188
31189
31190 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31191 PyObject *resultobj = 0;
31192 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31193 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
31194 void *argp1 = 0 ;
31195 int res1 = 0 ;
31196 void *argp2 = 0 ;
31197 int res2 = 0 ;
31198 PyObject * obj0 = 0 ;
31199 PyObject * obj1 = 0 ;
31200 char * kwnames[] = {
31201 (char *) "self",(char *) "bar", NULL
31202 };
31203
31204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
31205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31206 if (!SWIG_IsOK(res1)) {
31207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31208 }
31209 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31210 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31211 if (!SWIG_IsOK(res2)) {
31212 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31213 }
31214 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
31215 {
31216 PyThreadState* __tstate = wxPyBeginAllowThreads();
31217 (arg1)->SetControlBar(arg2);
31218 wxPyEndAllowThreads(__tstate);
31219 if (PyErr_Occurred()) SWIG_fail;
31220 }
31221 resultobj = SWIG_Py_Void();
31222 return resultobj;
31223 fail:
31224 return NULL;
31225 }
31226
31227
31228 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31229 PyObject *resultobj = 0;
31230 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31231 void *argp1 = 0 ;
31232 int res1 = 0 ;
31233 PyObject *swig_obj[1] ;
31234
31235 if (!args) SWIG_fail;
31236 swig_obj[0] = args;
31237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31238 if (!SWIG_IsOK(res1)) {
31239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31240 }
31241 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31242 {
31243 PyThreadState* __tstate = wxPyBeginAllowThreads();
31244 (arg1)->Initialize();
31245 wxPyEndAllowThreads(__tstate);
31246 if (PyErr_Occurred()) SWIG_fail;
31247 }
31248 resultobj = SWIG_Py_Void();
31249 return resultobj;
31250 fail:
31251 return NULL;
31252 }
31253
31254
31255 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31256 PyObject *resultobj = 0;
31257 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31258 void *argp1 = 0 ;
31259 int res1 = 0 ;
31260 PyObject *swig_obj[1] ;
31261
31262 if (!args) SWIG_fail;
31263 swig_obj[0] = args;
31264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31265 if (!SWIG_IsOK(res1)) {
31266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31267 }
31268 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31269 {
31270 PyThreadState* __tstate = wxPyBeginAllowThreads();
31271 (arg1)->CreateCanvas();
31272 wxPyEndAllowThreads(__tstate);
31273 if (PyErr_Occurred()) SWIG_fail;
31274 }
31275 resultobj = SWIG_Py_Void();
31276 return resultobj;
31277 fail:
31278 return NULL;
31279 }
31280
31281
31282 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31283 PyObject *resultobj = 0;
31284 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31285 void *argp1 = 0 ;
31286 int res1 = 0 ;
31287 PyObject *swig_obj[1] ;
31288
31289 if (!args) SWIG_fail;
31290 swig_obj[0] = args;
31291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31292 if (!SWIG_IsOK(res1)) {
31293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31294 }
31295 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31296 {
31297 PyThreadState* __tstate = wxPyBeginAllowThreads();
31298 (arg1)->CreateControlBar();
31299 wxPyEndAllowThreads(__tstate);
31300 if (PyErr_Occurred()) SWIG_fail;
31301 }
31302 resultobj = SWIG_Py_Void();
31303 return resultobj;
31304 fail:
31305 return NULL;
31306 }
31307
31308
31309 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31310 PyObject *obj;
31311 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31312 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
31313 return SWIG_Py_Void();
31314 }
31315
31316 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31317 return SWIG_Python_InitShadowInstance(args);
31318 }
31319
31320 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31321 PyObject *resultobj = 0;
31322 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31323 long arg2 ;
31324 wxWindow *arg3 = (wxWindow *) 0 ;
31325 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31326 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31327 wxSize const &arg5_defvalue = wxDefaultSize ;
31328 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31329 long arg6 = (long) 0 ;
31330 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31331 wxString *arg7 = (wxString *) &arg7_defvalue ;
31332 wxPyPreviewControlBar *result = 0 ;
31333 void *argp1 = 0 ;
31334 int res1 = 0 ;
31335 long val2 ;
31336 int ecode2 = 0 ;
31337 void *argp3 = 0 ;
31338 int res3 = 0 ;
31339 wxPoint temp4 ;
31340 wxSize temp5 ;
31341 long val6 ;
31342 int ecode6 = 0 ;
31343 bool temp7 = false ;
31344 PyObject * obj0 = 0 ;
31345 PyObject * obj1 = 0 ;
31346 PyObject * obj2 = 0 ;
31347 PyObject * obj3 = 0 ;
31348 PyObject * obj4 = 0 ;
31349 PyObject * obj5 = 0 ;
31350 PyObject * obj6 = 0 ;
31351 char * kwnames[] = {
31352 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31353 };
31354
31355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31357 if (!SWIG_IsOK(res1)) {
31358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31359 }
31360 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31361 ecode2 = SWIG_AsVal_long(obj1, &val2);
31362 if (!SWIG_IsOK(ecode2)) {
31363 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31364 }
31365 arg2 = static_cast< long >(val2);
31366 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31367 if (!SWIG_IsOK(res3)) {
31368 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31369 }
31370 arg3 = reinterpret_cast< wxWindow * >(argp3);
31371 if (obj3) {
31372 {
31373 arg4 = &temp4;
31374 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31375 }
31376 }
31377 if (obj4) {
31378 {
31379 arg5 = &temp5;
31380 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31381 }
31382 }
31383 if (obj5) {
31384 ecode6 = SWIG_AsVal_long(obj5, &val6);
31385 if (!SWIG_IsOK(ecode6)) {
31386 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31387 }
31388 arg6 = static_cast< long >(val6);
31389 }
31390 if (obj6) {
31391 {
31392 arg7 = wxString_in_helper(obj6);
31393 if (arg7 == NULL) SWIG_fail;
31394 temp7 = true;
31395 }
31396 }
31397 {
31398 if (!wxPyCheckForApp()) SWIG_fail;
31399 PyThreadState* __tstate = wxPyBeginAllowThreads();
31400 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31401 wxPyEndAllowThreads(__tstate);
31402 if (PyErr_Occurred()) SWIG_fail;
31403 }
31404 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
31405 {
31406 if (temp7)
31407 delete arg7;
31408 }
31409 return resultobj;
31410 fail:
31411 {
31412 if (temp7)
31413 delete arg7;
31414 }
31415 return NULL;
31416 }
31417
31418
31419 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31420 PyObject *resultobj = 0;
31421 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31422 PyObject *arg2 = (PyObject *) 0 ;
31423 PyObject *arg3 = (PyObject *) 0 ;
31424 void *argp1 = 0 ;
31425 int res1 = 0 ;
31426 PyObject * obj0 = 0 ;
31427 PyObject * obj1 = 0 ;
31428 PyObject * obj2 = 0 ;
31429 char * kwnames[] = {
31430 (char *) "self",(char *) "self",(char *) "_class", NULL
31431 };
31432
31433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31435 if (!SWIG_IsOK(res1)) {
31436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31437 }
31438 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31439 arg2 = obj1;
31440 arg3 = obj2;
31441 {
31442 PyThreadState* __tstate = wxPyBeginAllowThreads();
31443 (arg1)->_setCallbackInfo(arg2,arg3);
31444 wxPyEndAllowThreads(__tstate);
31445 if (PyErr_Occurred()) SWIG_fail;
31446 }
31447 resultobj = SWIG_Py_Void();
31448 return resultobj;
31449 fail:
31450 return NULL;
31451 }
31452
31453
31454 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31455 PyObject *resultobj = 0;
31456 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31457 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
31458 void *argp1 = 0 ;
31459 int res1 = 0 ;
31460 void *argp2 = 0 ;
31461 int res2 = 0 ;
31462 PyObject * obj0 = 0 ;
31463 PyObject * obj1 = 0 ;
31464 char * kwnames[] = {
31465 (char *) "self",(char *) "preview", NULL
31466 };
31467
31468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31470 if (!SWIG_IsOK(res1)) {
31471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31472 }
31473 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31474 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31475 if (!SWIG_IsOK(res2)) {
31476 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31477 }
31478 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
31479 {
31480 PyThreadState* __tstate = wxPyBeginAllowThreads();
31481 (arg1)->SetPrintPreview(arg2);
31482 wxPyEndAllowThreads(__tstate);
31483 if (PyErr_Occurred()) SWIG_fail;
31484 }
31485 resultobj = SWIG_Py_Void();
31486 return resultobj;
31487 fail:
31488 return NULL;
31489 }
31490
31491
31492 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31493 PyObject *resultobj = 0;
31494 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31495 void *argp1 = 0 ;
31496 int res1 = 0 ;
31497 PyObject *swig_obj[1] ;
31498
31499 if (!args) SWIG_fail;
31500 swig_obj[0] = args;
31501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31502 if (!SWIG_IsOK(res1)) {
31503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31504 }
31505 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31506 {
31507 PyThreadState* __tstate = wxPyBeginAllowThreads();
31508 (arg1)->CreateButtons();
31509 wxPyEndAllowThreads(__tstate);
31510 if (PyErr_Occurred()) SWIG_fail;
31511 }
31512 resultobj = SWIG_Py_Void();
31513 return resultobj;
31514 fail:
31515 return NULL;
31516 }
31517
31518
31519 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31520 PyObject *resultobj = 0;
31521 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31522 int arg2 ;
31523 void *argp1 = 0 ;
31524 int res1 = 0 ;
31525 int val2 ;
31526 int ecode2 = 0 ;
31527 PyObject * obj0 = 0 ;
31528 PyObject * obj1 = 0 ;
31529 char * kwnames[] = {
31530 (char *) "self",(char *) "zoom", NULL
31531 };
31532
31533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31535 if (!SWIG_IsOK(res1)) {
31536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31537 }
31538 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31539 ecode2 = SWIG_AsVal_int(obj1, &val2);
31540 if (!SWIG_IsOK(ecode2)) {
31541 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31542 }
31543 arg2 = static_cast< int >(val2);
31544 {
31545 PyThreadState* __tstate = wxPyBeginAllowThreads();
31546 (arg1)->SetZoomControl(arg2);
31547 wxPyEndAllowThreads(__tstate);
31548 if (PyErr_Occurred()) SWIG_fail;
31549 }
31550 resultobj = SWIG_Py_Void();
31551 return resultobj;
31552 fail:
31553 return NULL;
31554 }
31555
31556
31557 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31558 PyObject *obj;
31559 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31560 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31561 return SWIG_Py_Void();
31562 }
31563
31564 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31565 return SWIG_Python_InitShadowInstance(args);
31566 }
31567
31568 static PyMethodDef SwigMethods[] = {
31569 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
31570 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
31571 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31572 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
31573 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31574 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
31575 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
31576 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31577 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
31578 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31579 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31580 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31581 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31582 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31583 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
31584 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
31585 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
31586 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
31587 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
31588 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31589 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
31590 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31591 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
31592 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
31593 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31594 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31595 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
31596 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31597 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
31598 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31599 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31600 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
31601 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
31602 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
31603 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
31604 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
31605 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
31606 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
31607 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31608 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
31609 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31610 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31611 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31612 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
31613 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
31614 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
31615 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31616 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31617 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
31618 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
31619 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
31620 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
31621 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31622 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31623 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31624 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31625 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
31626 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31627 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
31628 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31629 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31630 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31631 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31632 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
31633 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31634 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31635 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
31636 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31637 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31638 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31639 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31640 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31641 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
31642 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
31643 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31644 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
31645 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31646 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31647 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31648 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31649 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
31650 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
31651 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
31652 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
31653 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31654 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
31655 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
31656 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
31657 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
31658 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
31659 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
31660 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31661 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31662 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31663 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31664 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31665 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
31666 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31667 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31668 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
31669 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
31670 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31671 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
31672 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31673 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
31674 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
31675 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31676 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31677 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
31678 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
31679 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
31680 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31681 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31682 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31683 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
31684 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
31685 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
31686 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31687 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
31688 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31689 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31690 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
31691 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31692 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31693 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31694 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31695 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31696 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31697 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31698 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31699 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31700 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
31701 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31702 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
31703 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
31704 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31705 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
31706 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31707 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31708 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
31709 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
31710 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
31711 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31712 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31713 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31714 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31715 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31716 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31717 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
31718 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31719 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31720 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31721 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
31722 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31723 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
31724 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
31725 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
31726 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
31727 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
31728 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31729 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
31730 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
31731 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
31732 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31733 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
31734 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
31735 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31736 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31737 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31738 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31739 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31740 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
31741 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
31742 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
31743 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31744 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
31745 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31746 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31747 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31748 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31749 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31750 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31751 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31752 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31753 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31754 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31755 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31756 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31757 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31758 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31759 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31760 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31761 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31762 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31763 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31764 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31765 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31766 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
31767 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31768 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
31769 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
31770 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
31771 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
31772 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31773 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
31774 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
31775 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
31776 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31777 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
31778 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
31779 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31780 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
31781 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31782 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
31783 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31784 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
31785 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31786 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
31787 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
31788 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
31789 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31790 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31791 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
31792 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31793 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
31794 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
31795 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
31796 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31797 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
31798 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31799 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31800 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
31801 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31802 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31803 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31804 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
31805 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31806 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31807 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
31808 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31809 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31810 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31811 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
31812 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
31813 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31814 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31815 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31816 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
31817 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31818 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31819 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31820 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31821 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31822 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
31823 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
31824 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31825 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31826 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31827 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31828 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31829 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
31830 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
31831 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31832 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
31833 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31834 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31835 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31836 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
31837 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31838 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31839 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31840 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31841 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31842 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31843 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31844 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
31845 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31846 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31847 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31848 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31849 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31850 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
31851 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
31852 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31853 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
31854 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31855 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31856 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31857 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31858 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
31859 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31860 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31861 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31862 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31863 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31864 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31865 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31866 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31867 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31868 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31869 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31870 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31871 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31872 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31873 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31874 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31875 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31876 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31877 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31878 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31879 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31880 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31881 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31882 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31883 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31884 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31885 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31886 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31887 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31888 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31889 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31890 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31891 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31892 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31893 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31894 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31895 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31896 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31897 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31898 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31899 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31900 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31901 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31902 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31903 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31904 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31905 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31906 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31907 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31908 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31909 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31910 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31911 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31912 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31913 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31914 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31915 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31916 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31917 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31918 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31919 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31920 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31921 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31922 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31923 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31924 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31925 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31926 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31927 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31928 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31929 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31930 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31931 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31932 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31933 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31934 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31935 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31936 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31937 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31938 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31939 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31940 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
31941 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
31942 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
31943 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31944 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
31945 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
31946 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
31947 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
31948 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31949 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31950 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
31951 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31952 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
31953 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
31954 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31955 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
31956 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31957 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
31958 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
31959 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31960 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
31961 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31962 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31963 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31964 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31965 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
31966 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31967 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
31968 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
31969 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31970 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31971 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31972 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31973 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31974 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
31975 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31976 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31977 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31978 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31979 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31980 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31981 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
31982 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
31983 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31984 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
31985 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
31986 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
31987 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31988 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31989 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31990 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31991 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31992 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31993 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
31994 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31995 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31996 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31997 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31998 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31999 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
32000 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
32001 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
32002 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32003 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32004 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32005 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
32006 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
32007 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
32008 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
32009 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
32010 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
32011 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
32012 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32013 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32014 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32015 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
32016 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
32017 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32018 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
32019 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32020 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
32021 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32022 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
32023 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
32024 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32025 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
32026 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32027 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
32028 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
32029 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
32030 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
32031 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
32032 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
32033 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_MDIParentFrame_GetWindowMenu, METH_O, NULL},
32034 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
32035 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
32036 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
32037 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
32038 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32039 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
32040 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32041 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
32042 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
32043 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
32044 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32045 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
32046 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32047 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
32048 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
32049 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32050 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
32051 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32052 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
32053 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32054 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32055 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32056 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32057 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32058 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
32059 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
32060 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
32061 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
32062 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
32063 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
32064 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
32065 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
32066 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
32067 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
32068 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
32069 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32070 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
32071 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32072 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32073 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32074 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32075 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32076 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
32077 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
32078 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
32079 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
32080 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
32081 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
32082 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
32083 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
32084 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
32085 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32086 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
32087 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32088 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
32089 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32090 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32091 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32092 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32093 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32094 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
32095 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
32096 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
32097 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
32098 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
32099 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
32100 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
32101 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
32102 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
32103 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
32104 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
32105 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
32106 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
32107 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
32108 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
32109 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
32110 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
32111 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
32112 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
32113 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
32114 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
32115 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
32116 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
32117 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32118 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32119 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32120 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
32121 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32122 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
32123 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32124 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32125 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
32126 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
32127 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
32128 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
32129 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
32130 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
32131 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
32132 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
32133 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
32134 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
32135 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
32136 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32137 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32138 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32139 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
32140 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32141 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
32142 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
32143 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
32144 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
32145 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
32146 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
32147 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
32148 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
32149 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
32150 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
32151 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
32152 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
32153 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
32154 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
32155 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
32156 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32157 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32158 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32159 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32160 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32161 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32162 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32163 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32164 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32165 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
32166 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
32167 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
32168 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
32169 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32170 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
32171 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
32172 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
32173 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
32174 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
32175 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
32176 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
32177 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
32178 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
32179 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
32180 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
32181 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
32182 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
32183 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
32184 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
32185 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
32186 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
32187 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
32188 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32189 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
32190 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
32191 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32192 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
32193 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32194 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32195 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32196 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32197 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32198 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
32199 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32200 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
32201 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
32202 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
32203 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
32204 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
32205 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
32206 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32207 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
32208 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
32209 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32210 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
32211 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
32212 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
32213 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
32214 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
32215 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
32216 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
32217 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
32218 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
32219 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32220 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
32221 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
32222 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32223 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32224 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
32225 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
32226 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
32227 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
32228 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
32229 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
32230 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
32231 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32232 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
32233 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
32234 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
32235 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
32236 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32237 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32238 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
32239 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
32240 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32241 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
32242 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
32243 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
32244 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
32245 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32246 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32247 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
32248 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
32249 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
32250 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
32251 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
32252 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
32253 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32254 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
32255 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
32256 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
32257 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
32258 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32259 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
32260 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
32261 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
32262 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
32263 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
32264 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
32265 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
32266 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
32267 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
32268 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32269 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
32270 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
32271 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32272 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
32273 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
32274 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
32275 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
32276 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
32277 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
32278 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32279 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
32280 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32281 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
32282 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
32283 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
32284 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
32285 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
32286 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
32287 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
32288 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
32289 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
32290 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
32291 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
32292 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
32293 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
32294 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
32295 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
32296 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32297 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32298 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
32299 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
32300 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
32301 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
32302 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
32303 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
32304 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
32305 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
32306 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
32307 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
32308 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
32309 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
32310 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
32311 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32312 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
32313 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
32314 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
32315 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
32316 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32317 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
32318 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
32319 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32320 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32321 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32322 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32323 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
32324 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
32325 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
32326 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
32327 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
32328 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32329 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32330 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32331 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
32332 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32333 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
32334 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
32335 { NULL, NULL, 0, NULL }
32336 };
32337
32338
32339 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32340
32341 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
32342 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32343 }
32344 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32345 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32346 }
32347 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32348 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32349 }
32350 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32351 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32352 }
32353 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32354 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32355 }
32356 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32357 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32358 }
32359 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32360 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32361 }
32362 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
32363 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32364 }
32365 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32366 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32367 }
32368 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32369 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32370 }
32371 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
32372 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
32373 }
32374 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32375 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32376 }
32377 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
32378 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
32379 }
32380 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32381 return (void *)((wxEvent *) ((wxPyEvent *) x));
32382 }
32383 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
32384 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
32385 }
32386 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32387 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32388 }
32389 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32390 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32391 }
32392 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32393 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32394 }
32395 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32396 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32397 }
32398 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32399 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32400 }
32401 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32402 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32403 }
32404 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32405 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32406 }
32407 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32408 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32409 }
32410 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32411 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32412 }
32413 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32414 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32415 }
32416 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32417 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32418 }
32419 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
32420 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
32421 }
32422 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32423 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32424 }
32425 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32426 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32427 }
32428 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32429 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32430 }
32431 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32432 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32433 }
32434 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32435 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32436 }
32437 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32438 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32439 }
32440 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32441 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32442 }
32443 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32444 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32445 }
32446 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
32447 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
32448 }
32449 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
32450 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32451 }
32452 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32453 return (void *)((wxEvent *) ((wxShowEvent *) x));
32454 }
32455 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32456 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32457 }
32458 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32459 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32460 }
32461 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32462 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32463 }
32464 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32465 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32466 }
32467 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32468 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32469 }
32470 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32471 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32472 }
32473 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32474 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32475 }
32476 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32477 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32478 }
32479 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32480 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32481 }
32482 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32483 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32484 }
32485 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32486 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32487 }
32488 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32489 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32490 }
32491 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32492 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32493 }
32494 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32495 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32496 }
32497 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32498 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32499 }
32500 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32501 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32502 }
32503 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32504 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32505 }
32506 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32507 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32508 }
32509 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32510 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32511 }
32512 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32513 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32514 }
32515 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32516 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32517 }
32518 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32519 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32520 }
32521 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32522 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32523 }
32524 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32525 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32526 }
32527 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32528 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32529 }
32530 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32531 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32532 }
32533 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32534 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32535 }
32536 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32537 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32538 }
32539 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32540 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32541 }
32542 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32543 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32544 }
32545 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32546 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32547 }
32548 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32549 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32550 }
32551 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32552 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32553 }
32554 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32555 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32556 }
32557 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32558 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32559 }
32560 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32561 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32562 }
32563 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32564 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32565 }
32566 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32567 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32568 }
32569 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32570 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32571 }
32572 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32573 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32574 }
32575 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32576 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32577 }
32578 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32579 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32580 }
32581 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32582 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32583 }
32584 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32585 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32586 }
32587 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32588 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32589 }
32590 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32591 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32592 }
32593 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32594 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32595 }
32596 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32597 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32598 }
32599 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32600 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32601 }
32602 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32603 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32604 }
32605 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32606 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32607 }
32608 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32609 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32610 }
32611 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32612 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32613 }
32614 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32615 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32616 }
32617 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32618 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32619 }
32620 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32621 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32622 }
32623 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32624 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32625 }
32626 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32627 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32628 }
32629 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32630 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32631 }
32632 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32633 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32634 }
32635 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32636 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32637 }
32638 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32639 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32640 }
32641 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32642 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32643 }
32644 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32645 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32646 }
32647 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32648 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32649 }
32650 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32651 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32652 }
32653 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32654 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32655 }
32656 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32657 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32658 }
32659 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32660 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32661 }
32662 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32663 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32664 }
32665 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32666 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32667 }
32668 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32669 return (void *)((wxObject *) ((wxSizerItem *) x));
32670 }
32671 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32672 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32673 }
32674 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32675 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32676 }
32677 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32678 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32679 }
32680 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32681 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32682 }
32683 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32684 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32685 }
32686 static void *_p_wxSizerTo_p_wxObject(void *x) {
32687 return (void *)((wxObject *) ((wxSizer *) x));
32688 }
32689 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32690 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32691 }
32692 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32693 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32694 }
32695 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32696 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32697 }
32698 static void *_p_wxEventTo_p_wxObject(void *x) {
32699 return (void *)((wxObject *) ((wxEvent *) x));
32700 }
32701 static void *_p_wxFontDataTo_p_wxObject(void *x) {
32702 return (void *)((wxObject *) ((wxFontData *) x));
32703 }
32704 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32705 return (void *)((wxObject *) ((wxPrintData *) x));
32706 }
32707 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32708 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32709 }
32710 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32711 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32712 }
32713 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32714 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32715 }
32716 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32717 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32718 }
32719 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32720 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32721 }
32722 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32723 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32724 }
32725 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32726 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32727 }
32728 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32729 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32730 }
32731 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32732 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32733 }
32734 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32735 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32736 }
32737 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32738 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32739 }
32740 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32741 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32742 }
32743 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32744 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32745 }
32746 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32747 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32748 }
32749 static void *_p_wxControlTo_p_wxObject(void *x) {
32750 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32751 }
32752 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32753 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32754 }
32755 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32756 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32757 }
32758 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32759 return (void *)((wxObject *) ((wxFSFile *) x));
32760 }
32761 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32762 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32763 }
32764 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32765 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32766 }
32767 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32769 }
32770 static void *_p_wxColourDataTo_p_wxObject(void *x) {
32771 return (void *)((wxObject *) ((wxColourData *) x));
32772 }
32773 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32774 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32775 }
32776 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32777 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32778 }
32779 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32780 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32781 }
32782 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32783 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32784 }
32785 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32786 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32787 }
32788 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32789 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32790 }
32791 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32792 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32793 }
32794 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32796 }
32797 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32799 }
32800 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32802 }
32803 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32804 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32805 }
32806 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32808 }
32809 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32810 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32811 }
32812 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32813 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32814 }
32815 static void *_p_wxPrinterTo_p_wxObject(void *x) {
32816 return (void *)((wxObject *) ((wxPrinter *) x));
32817 }
32818 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32819 return (void *)((wxObject *) ((wxMenuItem *) x));
32820 }
32821 static void *_p_wxDateEventTo_p_wxObject(void *x) {
32822 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32823 }
32824 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32825 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32826 }
32827 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32828 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32829 }
32830 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32831 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32832 }
32833 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32834 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32835 }
32836 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32837 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32838 }
32839 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32840 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32841 }
32842 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32843 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32844 }
32845 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32846 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32847 }
32848 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32849 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32850 }
32851 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32852 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32853 }
32854 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32855 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32856 }
32857 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32858 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32859 }
32860 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32861 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32862 }
32863 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32864 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32865 }
32866 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32867 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32868 }
32869 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32870 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32871 }
32872 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32873 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32874 }
32875 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32876 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32877 }
32878 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32879 return (void *)((wxObject *) ((wxImageHandler *) x));
32880 }
32881 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32882 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32883 }
32884 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32885 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32886 }
32887 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32888 return (void *)((wxObject *) ((wxEvtHandler *) x));
32889 }
32890 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
32891 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
32892 }
32893 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32894 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32895 }
32896 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32898 }
32899 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32901 }
32902 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32903 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32904 }
32905 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32906 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32907 }
32908 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32910 }
32911 static void *_p_wxImageTo_p_wxObject(void *x) {
32912 return (void *)((wxObject *) ((wxImage *) x));
32913 }
32914 static void *_p_wxFrameTo_p_wxObject(void *x) {
32915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32916 }
32917 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32918 return (void *)((wxObject *) ((wxPyPrintout *) x));
32919 }
32920 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32921 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32922 }
32923 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32924 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32925 }
32926 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32928 }
32929 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32931 }
32932 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32933 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32934 }
32935 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32936 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32937 }
32938 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32939 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32940 }
32941 static void *_p_wxWindowTo_p_wxObject(void *x) {
32942 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32943 }
32944 static void *_p_wxMenuTo_p_wxObject(void *x) {
32945 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32946 }
32947 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32948 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32949 }
32950 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32951 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32952 }
32953 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32954 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32955 }
32956 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32958 }
32959 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32961 }
32962 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32963 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32964 }
32965 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32967 }
32968 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32970 }
32971 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32972 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32973 }
32974 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32975 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32976 }
32977 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32978 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32979 }
32980 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32982 }
32983 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32984 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32985 }
32986 static void *_p_wxSashEventTo_p_wxObject(void *x) {
32987 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32988 }
32989 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32990 return (void *)((wxObject *) ((wxPrintPreview *) x));
32991 }
32992 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32993 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32994 }
32995 static void *_p_wxPanelTo_p_wxObject(void *x) {
32996 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32997 }
32998 static void *_p_wxDialogTo_p_wxObject(void *x) {
32999 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
33000 }
33001 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
33002 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33003 }
33004 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
33005 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33006 }
33007 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
33008 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33009 }
33010 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
33011 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
33012 }
33013 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
33014 return (void *)((wxObject *) ((wxPrintDialog *) x));
33015 }
33016 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33017 return (void *)((wxObject *) ((wxFileSystem *) x));
33018 }
33019 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33020 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33021 }
33022 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33023 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33024 }
33025 static void *_p_wxPyAppTo_p_wxObject(void *x) {
33026 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33027 }
33028 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33029 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33030 }
33031 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33032 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33033 }
33034 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33035 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33036 }
33037 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33038 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33039 }
33040 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33041 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33042 }
33043 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
33044 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
33045 }
33046 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
33047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33048 }
33049 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33050 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33051 }
33052 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33053 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33054 }
33055 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33056 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33057 }
33058 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33059 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33060 }
33061 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
33062 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
33063 }
33064 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
33065 return (void *)((wxObject *) ((wxPrintDialogData *) x));
33066 }
33067 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33068 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33069 }
33070 static void *_p_wxValidatorTo_p_wxObject(void *x) {
33071 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33072 }
33073 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
33074 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33075 }
33076 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33077 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
33078 }
33079 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
33080 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33081 }
33082 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
33083 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33084 }
33085 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
33086 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33087 }
33088 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
33089 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
33090 }
33091 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
33092 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
33093 }
33094 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
33095 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
33096 }
33097 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
33098 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
33099 }
33100 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
33101 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
33102 }
33103 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
33104 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
33105 }
33106 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
33107 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
33108 }
33109 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
33110 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
33111 }
33112 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
33113 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
33114 }
33115 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
33116 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
33117 }
33118 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
33119 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
33120 }
33121 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
33122 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
33123 }
33124 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
33125 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33126 }
33127 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
33128 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
33129 }
33130 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33131 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
33132 }
33133 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33134 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
33135 }
33136 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
33137 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
33138 }
33139 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
33140 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
33141 }
33142 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
33143 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
33144 }
33145 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33146 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
33147 }
33148 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33149 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33150 }
33151 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33152 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33153 }
33154 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33155 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33156 }
33157 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33158 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33159 }
33160 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33161 return (void *)((wxWindow *) ((wxMenuBar *) x));
33162 }
33163 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33164 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33165 }
33166 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33167 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33168 }
33169 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33170 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33171 }
33172 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
33173 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
33174 }
33175 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
33176 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33177 }
33178 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33179 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33180 }
33181 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33182 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33183 }
33184 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33185 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33186 }
33187 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33188 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33189 }
33190 static void *_p_wxPanelTo_p_wxWindow(void *x) {
33191 return (void *)((wxWindow *) ((wxPanel *) x));
33192 }
33193 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33194 return (void *)((wxWindow *) ((wxStatusBar *) x));
33195 }
33196 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33197 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33198 }
33199 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33200 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33201 }
33202 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33203 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33204 }
33205 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33206 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33207 }
33208 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33209 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33210 }
33211 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33212 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33213 }
33214 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33215 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33216 }
33217 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33218 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33219 }
33220 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33221 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33222 }
33223 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33224 return (void *)((wxWindow *) ((wxSashWindow *) x));
33225 }
33226 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33227 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33228 }
33229 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33230 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33231 }
33232 static void *_p_wxControlTo_p_wxWindow(void *x) {
33233 return (void *)((wxWindow *) ((wxControl *) x));
33234 }
33235 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33236 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33237 }
33238 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33239 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33240 }
33241 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33242 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33243 }
33244 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33245 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33246 }
33247 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33248 return (void *)((wxWindow *) ((wxPyWindow *) x));
33249 }
33250 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33251 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33252 }
33253 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33254 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33255 }
33256 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33257 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33258 }
33259 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33260 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33261 }
33262 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33263 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33264 }
33265 static void *_p_wxFrameTo_p_wxWindow(void *x) {
33266 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33267 }
33268 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33269 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33270 }
33271 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33272 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33273 }
33274 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33275 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33276 }
33277 static void *_p_wxDialogTo_p_wxWindow(void *x) {
33278 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33279 }
33280 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33281 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33282 }
33283 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33284 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33285 }
33286 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33287 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33288 }
33289 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
33290 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
33291 }
33292 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
33293 return (void *)((wxDialog *) ((wxColourDialog *) x));
33294 }
33295 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
33296 return (void *)((wxDialog *) ((wxDirDialog *) x));
33297 }
33298 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
33299 return (void *)((wxDialog *) ((wxFontDialog *) x));
33300 }
33301 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
33302 return (void *)((wxDialog *) ((wxFileDialog *) x));
33303 }
33304 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
33305 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
33306 }
33307 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
33308 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
33309 }
33310 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
33311 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
33312 }
33313 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
33314 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33315 }
33316 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
33317 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
33318 }
33319 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
33320 return (void *)((wxDialog *) ((wxMessageDialog *) x));
33321 }
33322 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
33323 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
33324 }
33325 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33326 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33327 }
33328 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33329 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33330 }
33331 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33332 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33333 }
33334 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33335 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33336 }
33337 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33338 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33339 }
33340 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33341 return (void *)((wxPanel *) ((wxPyPanel *) x));
33342 }
33343 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33344 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33345 }
33346 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33347 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33348 }
33349 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33350 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33351 }
33352 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33353 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33354 }
33355 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33356 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33357 }
33358 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33359 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33360 }
33361 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
33362 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
33363 }
33364 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33365 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33366 }
33367 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
33368 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
33369 }
33370 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
33371 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
33372 }
33373 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33374 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33375 }
33376 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33377 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33378 }
33379 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
33380 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
33381 }
33382 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33383 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33384 }
33385 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33386 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33387 }
33388 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
33389 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
33390 }
33391 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
33392 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33393 }
33394 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33395 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
33396 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};
33397 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
33398 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33399 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33400 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33401 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33402 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33403 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33404 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33405 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33406 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33407 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33408 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33409 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33410 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33411 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33412 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33413 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33414 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33415 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33416 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33417 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33418 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33419 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33420 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33421 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33422 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33423 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33424 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33425 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33426 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33427 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33428 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33429 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33430 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33431 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33432 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33433 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33434 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33435 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33436 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33437 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33438 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33439 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33440 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33441 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33442 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33443 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33444 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33445 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33446 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33447 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33448 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33449 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
33450 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33451 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
33452 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
33453 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33454 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33455 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33456 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33457 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33458 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33459 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33460 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33461 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33462 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33463 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33464 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33465 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33466 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33467 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33468 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33469 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33470 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33471 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33472 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33473 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33474 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33475 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33476 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33477 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33478 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33479 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33480 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33481 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33482 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33483 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33484 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33485 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33486 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33487 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33488 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33489 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33490 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33491 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33492 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33493 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33494 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33495 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33496 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33497 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33498 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33499 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33500 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33501 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33502 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33503 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33504 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33505 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33506 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33507 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33508 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33509 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33510 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33511 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33512 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33513 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33514 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33515 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33516 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33517 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33518 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33519 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33520 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33521 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33522 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33523 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33524 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33525 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33526 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33527 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33528 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33529 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33530 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33531 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33532 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33533 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33534 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33535 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33536 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33537 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33538 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33539 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33540 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33541 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33542 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33543 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33544 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33545 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33546 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33547 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33548 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33549 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33550 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33551 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33552 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33553 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33554 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33555 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33556 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33557 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33558 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33559
33560 static swig_type_info *swig_type_initial[] = {
33561 &_swigt__p_bool,
33562 &_swigt__p_char,
33563 &_swigt__p_form_ops_t,
33564 &_swigt__p_int,
33565 &_swigt__p_unsigned_char,
33566 &_swigt__p_unsigned_int,
33567 &_swigt__p_unsigned_long,
33568 &_swigt__p_wxANIHandler,
33569 &_swigt__p_wxAcceleratorTable,
33570 &_swigt__p_wxActivateEvent,
33571 &_swigt__p_wxArrayInt,
33572 &_swigt__p_wxBMPHandler,
33573 &_swigt__p_wxBitmap,
33574 &_swigt__p_wxBoxSizer,
33575 &_swigt__p_wxCURHandler,
33576 &_swigt__p_wxCalculateLayoutEvent,
33577 &_swigt__p_wxChildFocusEvent,
33578 &_swigt__p_wxClipboardTextEvent,
33579 &_swigt__p_wxCloseEvent,
33580 &_swigt__p_wxColour,
33581 &_swigt__p_wxColourData,
33582 &_swigt__p_wxColourDialog,
33583 &_swigt__p_wxCommandEvent,
33584 &_swigt__p_wxContextMenuEvent,
33585 &_swigt__p_wxControl,
33586 &_swigt__p_wxControlWithItems,
33587 &_swigt__p_wxDC,
33588 &_swigt__p_wxDateEvent,
33589 &_swigt__p_wxDialog,
33590 &_swigt__p_wxDirDialog,
33591 &_swigt__p_wxDisplayChangedEvent,
33592 &_swigt__p_wxDropFilesEvent,
33593 &_swigt__p_wxDuplexMode,
33594 &_swigt__p_wxEraseEvent,
33595 &_swigt__p_wxEvent,
33596 &_swigt__p_wxEvtHandler,
33597 &_swigt__p_wxFSFile,
33598 &_swigt__p_wxFileDialog,
33599 &_swigt__p_wxFileSystem,
33600 &_swigt__p_wxFindDialogEvent,
33601 &_swigt__p_wxFindReplaceData,
33602 &_swigt__p_wxFindReplaceDialog,
33603 &_swigt__p_wxFlexGridSizer,
33604 &_swigt__p_wxFocusEvent,
33605 &_swigt__p_wxFont,
33606 &_swigt__p_wxFontData,
33607 &_swigt__p_wxFontDialog,
33608 &_swigt__p_wxFrame,
33609 &_swigt__p_wxGBSizerItem,
33610 &_swigt__p_wxGIFHandler,
33611 &_swigt__p_wxGridBagSizer,
33612 &_swigt__p_wxGridSizer,
33613 &_swigt__p_wxHtmlLinkInfo,
33614 &_swigt__p_wxICOHandler,
33615 &_swigt__p_wxIcon,
33616 &_swigt__p_wxIconBundle,
33617 &_swigt__p_wxIconizeEvent,
33618 &_swigt__p_wxIdleEvent,
33619 &_swigt__p_wxImage,
33620 &_swigt__p_wxImageHandler,
33621 &_swigt__p_wxIndividualLayoutConstraint,
33622 &_swigt__p_wxInitDialogEvent,
33623 &_swigt__p_wxJPEGHandler,
33624 &_swigt__p_wxKeyEvent,
33625 &_swigt__p_wxLayoutAlgorithm,
33626 &_swigt__p_wxLayoutConstraints,
33627 &_swigt__p_wxMDIChildFrame,
33628 &_swigt__p_wxMDIClientWindow,
33629 &_swigt__p_wxMDIParentFrame,
33630 &_swigt__p_wxMaximizeEvent,
33631 &_swigt__p_wxMenu,
33632 &_swigt__p_wxMenuBar,
33633 &_swigt__p_wxMenuEvent,
33634 &_swigt__p_wxMenuItem,
33635 &_swigt__p_wxMessageDialog,
33636 &_swigt__p_wxMiniFrame,
33637 &_swigt__p_wxMouseCaptureChangedEvent,
33638 &_swigt__p_wxMouseCaptureLostEvent,
33639 &_swigt__p_wxMouseEvent,
33640 &_swigt__p_wxMoveEvent,
33641 &_swigt__p_wxMultiChoiceDialog,
33642 &_swigt__p_wxNavigationKeyEvent,
33643 &_swigt__p_wxNcPaintEvent,
33644 &_swigt__p_wxNotifyEvent,
33645 &_swigt__p_wxNumberEntryDialog,
33646 &_swigt__p_wxObject,
33647 &_swigt__p_wxPCXHandler,
33648 &_swigt__p_wxPNGHandler,
33649 &_swigt__p_wxPNMHandler,
33650 &_swigt__p_wxPageSetupDialog,
33651 &_swigt__p_wxPageSetupDialogData,
33652 &_swigt__p_wxPaintEvent,
33653 &_swigt__p_wxPaletteChangedEvent,
33654 &_swigt__p_wxPanel,
33655 &_swigt__p_wxPaperSize,
33656 &_swigt__p_wxPasswordEntryDialog,
33657 &_swigt__p_wxPoint,
33658 &_swigt__p_wxPopupWindow,
33659 &_swigt__p_wxPreviewCanvas,
33660 &_swigt__p_wxPreviewControlBar,
33661 &_swigt__p_wxPreviewFrame,
33662 &_swigt__p_wxPrintData,
33663 &_swigt__p_wxPrintDialog,
33664 &_swigt__p_wxPrintDialogData,
33665 &_swigt__p_wxPrintPreview,
33666 &_swigt__p_wxPrinter,
33667 &_swigt__p_wxProgressDialog,
33668 &_swigt__p_wxPyApp,
33669 &_swigt__p_wxPyCommandEvent,
33670 &_swigt__p_wxPyEvent,
33671 &_swigt__p_wxPyHtmlListBox,
33672 &_swigt__p_wxPyImageHandler,
33673 &_swigt__p_wxPyPanel,
33674 &_swigt__p_wxPyPopupTransientWindow,
33675 &_swigt__p_wxPyPreviewControlBar,
33676 &_swigt__p_wxPyPreviewFrame,
33677 &_swigt__p_wxPyPrintPreview,
33678 &_swigt__p_wxPyPrintout,
33679 &_swigt__p_wxPyScrolledWindow,
33680 &_swigt__p_wxPySizer,
33681 &_swigt__p_wxPyTaskBarIcon,
33682 &_swigt__p_wxPyVListBox,
33683 &_swigt__p_wxPyVScrolledWindow,
33684 &_swigt__p_wxPyValidator,
33685 &_swigt__p_wxPyWindow,
33686 &_swigt__p_wxQueryLayoutInfoEvent,
33687 &_swigt__p_wxQueryNewPaletteEvent,
33688 &_swigt__p_wxRect,
33689 &_swigt__p_wxRegion,
33690 &_swigt__p_wxSashEvent,
33691 &_swigt__p_wxSashLayoutWindow,
33692 &_swigt__p_wxSashWindow,
33693 &_swigt__p_wxScrollEvent,
33694 &_swigt__p_wxScrollWinEvent,
33695 &_swigt__p_wxScrolledWindow,
33696 &_swigt__p_wxSetCursorEvent,
33697 &_swigt__p_wxShowEvent,
33698 &_swigt__p_wxSingleChoiceDialog,
33699 &_swigt__p_wxSize,
33700 &_swigt__p_wxSizeEvent,
33701 &_swigt__p_wxSizer,
33702 &_swigt__p_wxSizerItem,
33703 &_swigt__p_wxSplashScreen,
33704 &_swigt__p_wxSplashScreenWindow,
33705 &_swigt__p_wxSplitterEvent,
33706 &_swigt__p_wxSplitterWindow,
33707 &_swigt__p_wxStaticBoxSizer,
33708 &_swigt__p_wxStatusBar,
33709 &_swigt__p_wxStdDialogButtonSizer,
33710 &_swigt__p_wxString,
33711 &_swigt__p_wxSysColourChangedEvent,
33712 &_swigt__p_wxTIFFHandler,
33713 &_swigt__p_wxTaskBarIcon,
33714 &_swigt__p_wxTaskBarIconEvent,
33715 &_swigt__p_wxTextEntryDialog,
33716 &_swigt__p_wxTipWindow,
33717 &_swigt__p_wxToolBar,
33718 &_swigt__p_wxTopLevelWindow,
33719 &_swigt__p_wxUpdateUIEvent,
33720 &_swigt__p_wxValidator,
33721 &_swigt__p_wxVisualAttributes,
33722 &_swigt__p_wxWindow,
33723 &_swigt__p_wxWindowCreateEvent,
33724 &_swigt__p_wxWindowDestroyEvent,
33725 &_swigt__p_wxXPMHandler,
33726 };
33727
33728 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
33729 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33730 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33731 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33732 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33733 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33734 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33735 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
33736 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33737 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33738 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33739 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33740 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
33741 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33742 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
33743 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
33744 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33745 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33746 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33747 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33748 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33749 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
33750 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}};
33751 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
33752 static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
33753 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33754 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33755 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33756 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33757 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33758 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33759 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33760 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33761 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
33762 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
33763 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33764 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33765 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33766 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33767 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33768 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33769 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33770 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33771 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33772 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33773 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33774 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33775 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33776 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33777 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33778 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33779 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33780 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33781 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
33782 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33783 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33784 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33785 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33786 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
33787 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
33788 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33789 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33790 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33791 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33792 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33793 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33794 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33795 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33796 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}};
33797 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
33798 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33799 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33800 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33801 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33802 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33803 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33804 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33805 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33806 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33807 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33808 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33809 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}};
33810 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33811 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
33812 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33813 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33814 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33815 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33816 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33817 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33818 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33819 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33820 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33821 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33822 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33823 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
33824 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33825 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33826 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33827 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33828 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33829 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33830 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33831 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33832 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
33833 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33834 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33835 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33836 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33837 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33838 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
33839 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
33840 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33841 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33842 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}};
33843 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33844 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33845 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33846 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}};
33847 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33848 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}};
33849 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}};
33850 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33851 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33852 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33853 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}};
33854 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33855 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33856 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33857 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33858 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}};
33859 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33860 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33861 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33862 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33863 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33864 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33865 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}};
33866 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}};
33867 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33868 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33869 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33870 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33871 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33872 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33873 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}};
33874 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33875 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}};
33876 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33877 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33878 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33879 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33880 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33881 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33882 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33883 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33884 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33885 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33886 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33887 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}};
33888 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33889 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
33890 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
33891 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
33892 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
33893
33894 static swig_cast_info *swig_cast_initial[] = {
33895 _swigc__p_bool,
33896 _swigc__p_char,
33897 _swigc__p_form_ops_t,
33898 _swigc__p_int,
33899 _swigc__p_unsigned_char,
33900 _swigc__p_unsigned_int,
33901 _swigc__p_unsigned_long,
33902 _swigc__p_wxANIHandler,
33903 _swigc__p_wxAcceleratorTable,
33904 _swigc__p_wxActivateEvent,
33905 _swigc__p_wxArrayInt,
33906 _swigc__p_wxBMPHandler,
33907 _swigc__p_wxBitmap,
33908 _swigc__p_wxBoxSizer,
33909 _swigc__p_wxCURHandler,
33910 _swigc__p_wxCalculateLayoutEvent,
33911 _swigc__p_wxChildFocusEvent,
33912 _swigc__p_wxClipboardTextEvent,
33913 _swigc__p_wxCloseEvent,
33914 _swigc__p_wxColour,
33915 _swigc__p_wxColourData,
33916 _swigc__p_wxColourDialog,
33917 _swigc__p_wxCommandEvent,
33918 _swigc__p_wxContextMenuEvent,
33919 _swigc__p_wxControl,
33920 _swigc__p_wxControlWithItems,
33921 _swigc__p_wxDC,
33922 _swigc__p_wxDateEvent,
33923 _swigc__p_wxDialog,
33924 _swigc__p_wxDirDialog,
33925 _swigc__p_wxDisplayChangedEvent,
33926 _swigc__p_wxDropFilesEvent,
33927 _swigc__p_wxDuplexMode,
33928 _swigc__p_wxEraseEvent,
33929 _swigc__p_wxEvent,
33930 _swigc__p_wxEvtHandler,
33931 _swigc__p_wxFSFile,
33932 _swigc__p_wxFileDialog,
33933 _swigc__p_wxFileSystem,
33934 _swigc__p_wxFindDialogEvent,
33935 _swigc__p_wxFindReplaceData,
33936 _swigc__p_wxFindReplaceDialog,
33937 _swigc__p_wxFlexGridSizer,
33938 _swigc__p_wxFocusEvent,
33939 _swigc__p_wxFont,
33940 _swigc__p_wxFontData,
33941 _swigc__p_wxFontDialog,
33942 _swigc__p_wxFrame,
33943 _swigc__p_wxGBSizerItem,
33944 _swigc__p_wxGIFHandler,
33945 _swigc__p_wxGridBagSizer,
33946 _swigc__p_wxGridSizer,
33947 _swigc__p_wxHtmlLinkInfo,
33948 _swigc__p_wxICOHandler,
33949 _swigc__p_wxIcon,
33950 _swigc__p_wxIconBundle,
33951 _swigc__p_wxIconizeEvent,
33952 _swigc__p_wxIdleEvent,
33953 _swigc__p_wxImage,
33954 _swigc__p_wxImageHandler,
33955 _swigc__p_wxIndividualLayoutConstraint,
33956 _swigc__p_wxInitDialogEvent,
33957 _swigc__p_wxJPEGHandler,
33958 _swigc__p_wxKeyEvent,
33959 _swigc__p_wxLayoutAlgorithm,
33960 _swigc__p_wxLayoutConstraints,
33961 _swigc__p_wxMDIChildFrame,
33962 _swigc__p_wxMDIClientWindow,
33963 _swigc__p_wxMDIParentFrame,
33964 _swigc__p_wxMaximizeEvent,
33965 _swigc__p_wxMenu,
33966 _swigc__p_wxMenuBar,
33967 _swigc__p_wxMenuEvent,
33968 _swigc__p_wxMenuItem,
33969 _swigc__p_wxMessageDialog,
33970 _swigc__p_wxMiniFrame,
33971 _swigc__p_wxMouseCaptureChangedEvent,
33972 _swigc__p_wxMouseCaptureLostEvent,
33973 _swigc__p_wxMouseEvent,
33974 _swigc__p_wxMoveEvent,
33975 _swigc__p_wxMultiChoiceDialog,
33976 _swigc__p_wxNavigationKeyEvent,
33977 _swigc__p_wxNcPaintEvent,
33978 _swigc__p_wxNotifyEvent,
33979 _swigc__p_wxNumberEntryDialog,
33980 _swigc__p_wxObject,
33981 _swigc__p_wxPCXHandler,
33982 _swigc__p_wxPNGHandler,
33983 _swigc__p_wxPNMHandler,
33984 _swigc__p_wxPageSetupDialog,
33985 _swigc__p_wxPageSetupDialogData,
33986 _swigc__p_wxPaintEvent,
33987 _swigc__p_wxPaletteChangedEvent,
33988 _swigc__p_wxPanel,
33989 _swigc__p_wxPaperSize,
33990 _swigc__p_wxPasswordEntryDialog,
33991 _swigc__p_wxPoint,
33992 _swigc__p_wxPopupWindow,
33993 _swigc__p_wxPreviewCanvas,
33994 _swigc__p_wxPreviewControlBar,
33995 _swigc__p_wxPreviewFrame,
33996 _swigc__p_wxPrintData,
33997 _swigc__p_wxPrintDialog,
33998 _swigc__p_wxPrintDialogData,
33999 _swigc__p_wxPrintPreview,
34000 _swigc__p_wxPrinter,
34001 _swigc__p_wxProgressDialog,
34002 _swigc__p_wxPyApp,
34003 _swigc__p_wxPyCommandEvent,
34004 _swigc__p_wxPyEvent,
34005 _swigc__p_wxPyHtmlListBox,
34006 _swigc__p_wxPyImageHandler,
34007 _swigc__p_wxPyPanel,
34008 _swigc__p_wxPyPopupTransientWindow,
34009 _swigc__p_wxPyPreviewControlBar,
34010 _swigc__p_wxPyPreviewFrame,
34011 _swigc__p_wxPyPrintPreview,
34012 _swigc__p_wxPyPrintout,
34013 _swigc__p_wxPyScrolledWindow,
34014 _swigc__p_wxPySizer,
34015 _swigc__p_wxPyTaskBarIcon,
34016 _swigc__p_wxPyVListBox,
34017 _swigc__p_wxPyVScrolledWindow,
34018 _swigc__p_wxPyValidator,
34019 _swigc__p_wxPyWindow,
34020 _swigc__p_wxQueryLayoutInfoEvent,
34021 _swigc__p_wxQueryNewPaletteEvent,
34022 _swigc__p_wxRect,
34023 _swigc__p_wxRegion,
34024 _swigc__p_wxSashEvent,
34025 _swigc__p_wxSashLayoutWindow,
34026 _swigc__p_wxSashWindow,
34027 _swigc__p_wxScrollEvent,
34028 _swigc__p_wxScrollWinEvent,
34029 _swigc__p_wxScrolledWindow,
34030 _swigc__p_wxSetCursorEvent,
34031 _swigc__p_wxShowEvent,
34032 _swigc__p_wxSingleChoiceDialog,
34033 _swigc__p_wxSize,
34034 _swigc__p_wxSizeEvent,
34035 _swigc__p_wxSizer,
34036 _swigc__p_wxSizerItem,
34037 _swigc__p_wxSplashScreen,
34038 _swigc__p_wxSplashScreenWindow,
34039 _swigc__p_wxSplitterEvent,
34040 _swigc__p_wxSplitterWindow,
34041 _swigc__p_wxStaticBoxSizer,
34042 _swigc__p_wxStatusBar,
34043 _swigc__p_wxStdDialogButtonSizer,
34044 _swigc__p_wxString,
34045 _swigc__p_wxSysColourChangedEvent,
34046 _swigc__p_wxTIFFHandler,
34047 _swigc__p_wxTaskBarIcon,
34048 _swigc__p_wxTaskBarIconEvent,
34049 _swigc__p_wxTextEntryDialog,
34050 _swigc__p_wxTipWindow,
34051 _swigc__p_wxToolBar,
34052 _swigc__p_wxTopLevelWindow,
34053 _swigc__p_wxUpdateUIEvent,
34054 _swigc__p_wxValidator,
34055 _swigc__p_wxVisualAttributes,
34056 _swigc__p_wxWindow,
34057 _swigc__p_wxWindowCreateEvent,
34058 _swigc__p_wxWindowDestroyEvent,
34059 _swigc__p_wxXPMHandler,
34060 };
34061
34062
34063 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34064
34065 static swig_const_info swig_const_table[] = {
34066 {0, 0, 0, 0.0, 0, 0}};
34067
34068 #ifdef __cplusplus
34069 }
34070 #endif
34071 /* -----------------------------------------------------------------------------
34072 * Type initialization:
34073 * This problem is tough by the requirement that no dynamic
34074 * memory is used. Also, since swig_type_info structures store pointers to
34075 * swig_cast_info structures and swig_cast_info structures store pointers back
34076 * to swig_type_info structures, we need some lookup code at initialization.
34077 * The idea is that swig generates all the structures that are needed.
34078 * The runtime then collects these partially filled structures.
34079 * The SWIG_InitializeModule function takes these initial arrays out of
34080 * swig_module, and does all the lookup, filling in the swig_module.types
34081 * array with the correct data and linking the correct swig_cast_info
34082 * structures together.
34083 *
34084 * The generated swig_type_info structures are assigned staticly to an initial
34085 * array. We just loop though that array, and handle each type individually.
34086 * First we lookup if this type has been already loaded, and if so, use the
34087 * loaded structure instead of the generated one. Then we have to fill in the
34088 * cast linked list. The cast data is initially stored in something like a
34089 * two-dimensional array. Each row corresponds to a type (there are the same
34090 * number of rows as there are in the swig_type_initial array). Each entry in
34091 * a column is one of the swig_cast_info structures for that type.
34092 * The cast_initial array is actually an array of arrays, because each row has
34093 * a variable number of columns. So to actually build the cast linked list,
34094 * we find the array of casts associated with the type, and loop through it
34095 * adding the casts to the list. The one last trick we need to do is making
34096 * sure the type pointer in the swig_cast_info struct is correct.
34097 *
34098 * First off, we lookup the cast->type name to see if it is already loaded.
34099 * There are three cases to handle:
34100 * 1) If the cast->type has already been loaded AND the type we are adding
34101 * casting info to has not been loaded (it is in this module), THEN we
34102 * replace the cast->type pointer with the type pointer that has already
34103 * been loaded.
34104 * 2) If BOTH types (the one we are adding casting info to, and the
34105 * cast->type) are loaded, THEN the cast info has already been loaded by
34106 * the previous module so we just ignore it.
34107 * 3) Finally, if cast->type has not already been loaded, then we add that
34108 * swig_cast_info to the linked list (because the cast->type) pointer will
34109 * be correct.
34110 * ----------------------------------------------------------------------------- */
34111
34112 #ifdef __cplusplus
34113 extern "C" {
34114 #if 0
34115 } /* c-mode */
34116 #endif
34117 #endif
34118
34119 #if 0
34120 #define SWIGRUNTIME_DEBUG
34121 #endif
34122
34123 SWIGRUNTIME void
34124 SWIG_InitializeModule(void *clientdata) {
34125 size_t i;
34126 swig_module_info *module_head;
34127 static int init_run = 0;
34128
34129 clientdata = clientdata;
34130
34131 if (init_run) return;
34132 init_run = 1;
34133
34134 /* Initialize the swig_module */
34135 swig_module.type_initial = swig_type_initial;
34136 swig_module.cast_initial = swig_cast_initial;
34137
34138 /* Try and load any already created modules */
34139 module_head = SWIG_GetModule(clientdata);
34140 if (module_head) {
34141 swig_module.next = module_head->next;
34142 module_head->next = &swig_module;
34143 } else {
34144 /* This is the first module loaded */
34145 swig_module.next = &swig_module;
34146 SWIG_SetModule(clientdata, &swig_module);
34147 }
34148
34149 /* Now work on filling in swig_module.types */
34150 #ifdef SWIGRUNTIME_DEBUG
34151 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
34152 #endif
34153 for (i = 0; i < swig_module.size; ++i) {
34154 swig_type_info *type = 0;
34155 swig_type_info *ret;
34156 swig_cast_info *cast;
34157
34158 #ifdef SWIGRUNTIME_DEBUG
34159 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34160 #endif
34161
34162 /* if there is another module already loaded */
34163 if (swig_module.next != &swig_module) {
34164 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
34165 }
34166 if (type) {
34167 /* Overwrite clientdata field */
34168 #ifdef SWIGRUNTIME_DEBUG
34169 printf("SWIG_InitializeModule: found type %s\n", type->name);
34170 #endif
34171 if (swig_module.type_initial[i]->clientdata) {
34172 type->clientdata = swig_module.type_initial[i]->clientdata;
34173 #ifdef SWIGRUNTIME_DEBUG
34174 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
34175 #endif
34176 }
34177 } else {
34178 type = swig_module.type_initial[i];
34179 }
34180
34181 /* Insert casting types */
34182 cast = swig_module.cast_initial[i];
34183 while (cast->type) {
34184 /* Don't need to add information already in the list */
34185 ret = 0;
34186 #ifdef SWIGRUNTIME_DEBUG
34187 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
34188 #endif
34189 if (swig_module.next != &swig_module) {
34190 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
34191 #ifdef SWIGRUNTIME_DEBUG
34192 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
34193 #endif
34194 }
34195 if (ret) {
34196 if (type == swig_module.type_initial[i]) {
34197 #ifdef SWIGRUNTIME_DEBUG
34198 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
34199 #endif
34200 cast->type = ret;
34201 ret = 0;
34202 } else {
34203 /* Check for casting already in the list */
34204 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
34205 #ifdef SWIGRUNTIME_DEBUG
34206 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
34207 #endif
34208 if (!ocast) ret = 0;
34209 }
34210 }
34211
34212 if (!ret) {
34213 #ifdef SWIGRUNTIME_DEBUG
34214 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
34215 #endif
34216 if (type->cast) {
34217 type->cast->prev = cast;
34218 cast->next = type->cast;
34219 }
34220 type->cast = cast;
34221 }
34222 cast++;
34223 }
34224 /* Set entry in modules->types array equal to the type */
34225 swig_module.types[i] = type;
34226 }
34227 swig_module.types[i] = 0;
34228
34229 #ifdef SWIGRUNTIME_DEBUG
34230 printf("**** SWIG_InitializeModule: Cast List ******\n");
34231 for (i = 0; i < swig_module.size; ++i) {
34232 int j = 0;
34233 swig_cast_info *cast = swig_module.cast_initial[i];
34234 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34235 while (cast->type) {
34236 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
34237 cast++;
34238 ++j;
34239 }
34240 printf("---- Total casts: %d\n",j);
34241 }
34242 printf("**** SWIG_InitializeModule: Cast List ******\n");
34243 #endif
34244 }
34245
34246 /* This function will propagate the clientdata field of type to
34247 * any new swig_type_info structures that have been added into the list
34248 * of equivalent types. It is like calling
34249 * SWIG_TypeClientData(type, clientdata) a second time.
34250 */
34251 SWIGRUNTIME void
34252 SWIG_PropagateClientData(void) {
34253 size_t i;
34254 swig_cast_info *equiv;
34255 static int init_run = 0;
34256
34257 if (init_run) return;
34258 init_run = 1;
34259
34260 for (i = 0; i < swig_module.size; i++) {
34261 if (swig_module.types[i]->clientdata) {
34262 equiv = swig_module.types[i]->cast;
34263 while (equiv) {
34264 if (!equiv->converter) {
34265 if (equiv->type && !equiv->type->clientdata)
34266 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
34267 }
34268 equiv = equiv->next;
34269 }
34270 }
34271 }
34272 }
34273
34274 #ifdef __cplusplus
34275 #if 0
34276 {
34277 /* c-mode */
34278 #endif
34279 }
34280 #endif
34281
34282
34283
34284 #ifdef __cplusplus
34285 extern "C" {
34286 #endif
34287
34288 /* Python-specific SWIG API */
34289 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34290 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34291 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34292
34293 /* -----------------------------------------------------------------------------
34294 * global variable support code.
34295 * ----------------------------------------------------------------------------- */
34296
34297 typedef struct swig_globalvar {
34298 char *name; /* Name of global variable */
34299 PyObject *(*get_attr)(void); /* Return the current value */
34300 int (*set_attr)(PyObject *); /* Set the value */
34301 struct swig_globalvar *next;
34302 } swig_globalvar;
34303
34304 typedef struct swig_varlinkobject {
34305 PyObject_HEAD
34306 swig_globalvar *vars;
34307 } swig_varlinkobject;
34308
34309 SWIGINTERN PyObject *
34310 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
34311 return PyString_FromString("<Swig global variables>");
34312 }
34313
34314 SWIGINTERN PyObject *
34315 swig_varlink_str(swig_varlinkobject *v) {
34316 PyObject *str = PyString_FromString("(");
34317 swig_globalvar *var;
34318 for (var = v->vars; var; var=var->next) {
34319 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
34320 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
34321 }
34322 PyString_ConcatAndDel(&str,PyString_FromString(")"));
34323 return str;
34324 }
34325
34326 SWIGINTERN int
34327 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
34328 PyObject *str = swig_varlink_str(v);
34329 fprintf(fp,"Swig global variables ");
34330 fprintf(fp,"%s\n", PyString_AsString(str));
34331 Py_DECREF(str);
34332 return 0;
34333 }
34334
34335 SWIGINTERN void
34336 swig_varlink_dealloc(swig_varlinkobject *v) {
34337 swig_globalvar *var = v->vars;
34338 while (var) {
34339 swig_globalvar *n = var->next;
34340 free(var->name);
34341 free(var);
34342 var = n;
34343 }
34344 }
34345
34346 SWIGINTERN PyObject *
34347 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
34348 PyObject *res = NULL;
34349 swig_globalvar *var = v->vars;
34350 while (var) {
34351 if (strcmp(var->name,n) == 0) {
34352 res = (*var->get_attr)();
34353 break;
34354 }
34355 var = var->next;
34356 }
34357 if (res == NULL && !PyErr_Occurred()) {
34358 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34359 }
34360 return res;
34361 }
34362
34363 SWIGINTERN int
34364 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
34365 int res = 1;
34366 swig_globalvar *var = v->vars;
34367 while (var) {
34368 if (strcmp(var->name,n) == 0) {
34369 res = (*var->set_attr)(p);
34370 break;
34371 }
34372 var = var->next;
34373 }
34374 if (res == 1 && !PyErr_Occurred()) {
34375 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34376 }
34377 return res;
34378 }
34379
34380 SWIGINTERN PyTypeObject*
34381 swig_varlink_type(void) {
34382 static char varlink__doc__[] = "Swig var link object";
34383 static PyTypeObject varlink_type;
34384 static int type_init = 0;
34385 if (!type_init) {
34386 const PyTypeObject tmp
34387 = {
34388 PyObject_HEAD_INIT(NULL)
34389 0, /* Number of items in variable part (ob_size) */
34390 (char *)"swigvarlink", /* Type name (tp_name) */
34391 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
34392 0, /* Itemsize (tp_itemsize) */
34393 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
34394 (printfunc) swig_varlink_print, /* Print (tp_print) */
34395 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
34396 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
34397 0, /* tp_compare */
34398 (reprfunc) swig_varlink_repr, /* tp_repr */
34399 0, /* tp_as_number */
34400 0, /* tp_as_sequence */
34401 0, /* tp_as_mapping */
34402 0, /* tp_hash */
34403 0, /* tp_call */
34404 (reprfunc)swig_varlink_str, /* tp_str */
34405 0, /* tp_getattro */
34406 0, /* tp_setattro */
34407 0, /* tp_as_buffer */
34408 0, /* tp_flags */
34409 varlink__doc__, /* tp_doc */
34410 0, /* tp_traverse */
34411 0, /* tp_clear */
34412 0, /* tp_richcompare */
34413 0, /* tp_weaklistoffset */
34414 #if PY_VERSION_HEX >= 0x02020000
34415 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34416 #endif
34417 #if PY_VERSION_HEX >= 0x02030000
34418 0, /* tp_del */
34419 #endif
34420 #ifdef COUNT_ALLOCS
34421 0,0,0,0 /* tp_alloc -> tp_next */
34422 #endif
34423 };
34424 varlink_type = tmp;
34425 varlink_type.ob_type = &PyType_Type;
34426 type_init = 1;
34427 }
34428 return &varlink_type;
34429 }
34430
34431 /* Create a variable linking object for use later */
34432 SWIGINTERN PyObject *
34433 SWIG_Python_newvarlink(void) {
34434 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
34435 if (result) {
34436 result->vars = 0;
34437 }
34438 return ((PyObject*) result);
34439 }
34440
34441 SWIGINTERN void
34442 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
34443 swig_varlinkobject *v = (swig_varlinkobject *) p;
34444 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
34445 if (gv) {
34446 size_t size = strlen(name)+1;
34447 gv->name = (char *)malloc(size);
34448 if (gv->name) {
34449 strncpy(gv->name,name,size);
34450 gv->get_attr = get_attr;
34451 gv->set_attr = set_attr;
34452 gv->next = v->vars;
34453 }
34454 }
34455 v->vars = gv;
34456 }
34457
34458 SWIGINTERN PyObject *
34459 SWIG_globals() {
34460 static PyObject *_SWIG_globals = 0;
34461 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
34462 return _SWIG_globals;
34463 }
34464
34465 /* -----------------------------------------------------------------------------
34466 * constants/methods manipulation
34467 * ----------------------------------------------------------------------------- */
34468
34469 /* Install Constants */
34470 SWIGINTERN void
34471 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34472 PyObject *obj = 0;
34473 size_t i;
34474 for (i = 0; constants[i].type; ++i) {
34475 switch(constants[i].type) {
34476 case SWIG_PY_POINTER:
34477 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34478 break;
34479 case SWIG_PY_BINARY:
34480 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34481 break;
34482 default:
34483 obj = 0;
34484 break;
34485 }
34486 if (obj) {
34487 PyDict_SetItemString(d, constants[i].name, obj);
34488 Py_DECREF(obj);
34489 }
34490 }
34491 }
34492
34493 /* -----------------------------------------------------------------------------*/
34494 /* Fix SwigMethods to carry the callback ptrs when needed */
34495 /* -----------------------------------------------------------------------------*/
34496
34497 SWIGINTERN void
34498 SWIG_Python_FixMethods(PyMethodDef *methods,
34499 swig_const_info *const_table,
34500 swig_type_info **types,
34501 swig_type_info **types_initial) {
34502 size_t i;
34503 for (i = 0; methods[i].ml_name; ++i) {
34504 const char *c = methods[i].ml_doc;
34505 if (c && (c = strstr(c, "swig_ptr: "))) {
34506 int j;
34507 swig_const_info *ci = 0;
34508 const char *name = c + 10;
34509 for (j = 0; const_table[j].type; ++j) {
34510 if (strncmp(const_table[j].name, name,
34511 strlen(const_table[j].name)) == 0) {
34512 ci = &(const_table[j]);
34513 break;
34514 }
34515 }
34516 if (ci) {
34517 size_t shift = (ci->ptype) - types;
34518 swig_type_info *ty = types_initial[shift];
34519 size_t ldoc = (c - methods[i].ml_doc);
34520 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34521 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34522 if (ndoc) {
34523 char *buff = ndoc;
34524 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34525 if (ptr) {
34526 strncpy(buff, methods[i].ml_doc, ldoc);
34527 buff += ldoc;
34528 strncpy(buff, "swig_ptr: ", 10);
34529 buff += 10;
34530 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34531 methods[i].ml_doc = ndoc;
34532 }
34533 }
34534 }
34535 }
34536 }
34537 }
34538
34539 #ifdef __cplusplus
34540 }
34541 #endif
34542
34543 /* -----------------------------------------------------------------------------*
34544 * Partial Init method
34545 * -----------------------------------------------------------------------------*/
34546
34547 #ifdef __cplusplus
34548 extern "C"
34549 #endif
34550 SWIGEXPORT void SWIG_init(void) {
34551 PyObject *m, *d;
34552
34553 /* Fix SwigMethods to carry the callback ptrs when needed */
34554 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34555
34556 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34557 d = PyModule_GetDict(m);
34558
34559 SWIG_InitializeModule(0);
34560 SWIG_InstallConstants(d,swig_const_table);
34561
34562
34563 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34564 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34565 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34566 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34567 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34568 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34569 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34570 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34571 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34572 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34573 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
34574 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34575 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34576 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34577 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34578 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
34579 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
34580 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
34581 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
34582 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
34583 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
34584 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
34585 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
34586 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
34587 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
34588 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
34589 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
34590 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
34591 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
34592 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
34593 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
34594 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
34595 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
34596 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
34597 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
34598 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
34599 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
34600 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
34601 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
34602 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
34603 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
34604 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
34605 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
34606 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
34607 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
34608 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
34609 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34610 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34611 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34612 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34613 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34614 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34615 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34616 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34617 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34618 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34619 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34620 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34621 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34622 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34623 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34624 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34625 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34626 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34627 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34628 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34629 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34630 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34631 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34632 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34633 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34634 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34635 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34636 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34637 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34638 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34639 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34640 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34641 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34642 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34643 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34644 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34645 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34646 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34647 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34648 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34649 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34650 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34651 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34652 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34653 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34654 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34655 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34656 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34657 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34658 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34659 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34660 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34661 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34662 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34663 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34664 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34665 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34666 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34667 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34668
34669 // Map renamed classes back to their common name for OOR
34670 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34671 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34672 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34673
34674 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34675 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34676 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34677 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34678 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34679 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34680 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34681 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34682 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34683 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34684 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34685 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34686 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
34687 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34688 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34689 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34690 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34691 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34692 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34693 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34694 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34695 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
34696 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
34697 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34698 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34699 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34700 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34701 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34702 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
34703 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
34704 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
34705 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34706 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34707 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
34708 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
34709 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
34710 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
34711 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
34712 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
34713 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
34714 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
34715 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
34716 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34717 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34718 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34719 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34720 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34721 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34722 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34723 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34724 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34725 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34726 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34727 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34728 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34729 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34730 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34731 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34732 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34733 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34734 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34735 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34736 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34737 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34738 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34739 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34740 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34741 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34742 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34743 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34744 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34745 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34746 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34747 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34748 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34749 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34750 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34751 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34752 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34753 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34754 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34755 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34756 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34757 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34758 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34759 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34760 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34761 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34762 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34763 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34764 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34765 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34766 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34767 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34768 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34769 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34770 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34771 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34772 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34773 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34774 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34775 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34776 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34777 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34778
34779 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34780
34781 }
34782