]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
* wx.Panel doesn't have a SetTitle anymore. What was this used for
[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 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
996
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1000
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1004
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1008
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1012
1013
1014 /* Runtime API */
1015
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1019
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1025
1026
1027 /* Runtime API implementation */
1028
1029 /* Error manipulation */
1030
1031 SWIGINTERN void
1032 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1034 PyErr_SetObject(errtype, obj);
1035 Py_DECREF(obj);
1036 SWIG_PYTHON_THREAD_END_BLOCK;
1037 }
1038
1039 SWIGINTERN void
1040 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1042 PyErr_SetString(errtype, (char *) msg);
1043 SWIG_PYTHON_THREAD_END_BLOCK;
1044 }
1045
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1047
1048 /* Set a constant value */
1049
1050 SWIGINTERN void
1051 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1052 PyDict_SetItemString(d, (char*) name, obj);
1053 Py_DECREF(obj);
1054 }
1055
1056 /* Append a value to the result obj */
1057
1058 SWIGINTERN PyObject*
1059 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1061 if (!result) {
1062 result = obj;
1063 } else if (result == Py_None) {
1064 Py_DECREF(result);
1065 result = obj;
1066 } else {
1067 if (!PyList_Check(result)) {
1068 PyObject *o2 = result;
1069 result = PyList_New(1);
1070 PyList_SetItem(result, 0, o2);
1071 }
1072 PyList_Append(result,obj);
1073 Py_DECREF(obj);
1074 }
1075 return result;
1076 #else
1077 PyObject* o2;
1078 PyObject* o3;
1079 if (!result) {
1080 result = obj;
1081 } else if (result == Py_None) {
1082 Py_DECREF(result);
1083 result = obj;
1084 } else {
1085 if (!PyTuple_Check(result)) {
1086 o2 = result;
1087 result = PyTuple_New(1);
1088 PyTuple_SET_ITEM(result, 0, o2);
1089 }
1090 o3 = PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3, 0, obj);
1092 o2 = result;
1093 result = PySequence_Concat(o2, o3);
1094 Py_DECREF(o2);
1095 Py_DECREF(o3);
1096 }
1097 return result;
1098 #endif
1099 }
1100
1101 /* Unpack the argument tuple */
1102
1103 SWIGINTERN int
1104 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1105 {
1106 if (!args) {
1107 if (!min && !max) {
1108 return 1;
1109 } else {
1110 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1111 name, (min == max ? "" : "at least "), min);
1112 return 0;
1113 }
1114 }
1115 if (!PyTuple_Check(args)) {
1116 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1117 return 0;
1118 } else {
1119 register int l = PyTuple_GET_SIZE(args);
1120 if (l < min) {
1121 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1122 name, (min == max ? "" : "at least "), min, l);
1123 return 0;
1124 } else if (l > max) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at most "), max, l);
1127 return 0;
1128 } else {
1129 register int i;
1130 for (i = 0; i < l; ++i) {
1131 objs[i] = PyTuple_GET_ITEM(args, i);
1132 }
1133 for (; l < max; ++l) {
1134 objs[l] = 0;
1135 }
1136 return i + 1;
1137 }
1138 }
1139 }
1140
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1144 #else
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1146 #endif
1147
1148 /*
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1151 */
1152 #ifdef __cplusplus
1153 #define SWIG_STATIC_POINTER(var) var
1154 #else
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1156 #endif
1157
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1161
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1165
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1167
1168 #ifdef __cplusplus
1169 extern "C" {
1170 #if 0
1171 } /* cc-mode */
1172 #endif
1173 #endif
1174
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1180 # endif
1181 # endif
1182 #endif
1183
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1185 # ifdef Py_None
1186 # undef Py_None
1187 # define Py_None SWIG_Py_None()
1188 # endif
1189 SWIGRUNTIMEINLINE PyObject *
1190 _SWIG_Py_None(void)
1191 {
1192 PyObject *none = Py_BuildValue("");
1193 Py_DECREF(none);
1194 return none;
1195 }
1196 SWIGRUNTIME PyObject *
1197 SWIG_Py_None(void)
1198 {
1199 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1200 return none;
1201 }
1202 #endif
1203
1204 /* The python void return value */
1205
1206 SWIGRUNTIMEINLINE PyObject *
1207 SWIG_Py_Void(void)
1208 {
1209 PyObject *none = Py_None;
1210 Py_INCREF(none);
1211 return none;
1212 }
1213
1214 /* PySwigClientData */
1215
1216 typedef struct {
1217 PyObject *klass;
1218 PyObject *newraw;
1219 PyObject *newargs;
1220 PyObject *destroy;
1221 int delargs;
1222 int implicitconv;
1223 } PySwigClientData;
1224
1225 SWIGRUNTIMEINLINE int
1226 SWIG_Python_CheckImplicit(swig_type_info *ty)
1227 {
1228 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1229 return data ? data->implicitconv : 0;
1230 }
1231
1232 SWIGRUNTIMEINLINE PyObject *
1233 SWIG_Python_ExceptionType(swig_type_info *desc) {
1234 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1235 PyObject *klass = data ? data->klass : 0;
1236 return (klass ? klass : PyExc_RuntimeError);
1237 }
1238
1239
1240 SWIGRUNTIME PySwigClientData *
1241 PySwigClientData_New(PyObject* obj)
1242 {
1243 if (!obj) {
1244 return 0;
1245 } else {
1246 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1247 /* the klass element */
1248 data->klass = obj;
1249 Py_INCREF(data->klass);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj)) {
1252 data->newraw = 0;
1253 data->newargs = obj;
1254 Py_INCREF(obj);
1255 } else {
1256 #if (PY_VERSION_HEX < 0x02020000)
1257 data->newraw = 0;
1258 #else
1259 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1260 #endif
1261 if (data->newraw) {
1262 Py_INCREF(data->newraw);
1263 data->newargs = PyTuple_New(1);
1264 PyTuple_SetItem(data->newargs, 0, obj);
1265 } else {
1266 data->newargs = obj;
1267 }
1268 Py_INCREF(data->newargs);
1269 }
1270 /* the destroy method, aka as the C++ delete method */
1271 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1273 PyErr_Clear();
1274 data->destroy = 0;
1275 }
1276 if (data->destroy) {
1277 int flags;
1278 Py_INCREF(data->destroy);
1279 flags = PyCFunction_GET_FLAGS(data->destroy);
1280 #ifdef METH_O
1281 data->delargs = !(flags & (METH_O));
1282 #else
1283 data->delargs = 0;
1284 #endif
1285 } else {
1286 data->delargs = 0;
1287 }
1288 data->implicitconv = 0;
1289 return data;
1290 }
1291 }
1292
1293 SWIGRUNTIME void
1294 PySwigClientData_Del(PySwigClientData* data)
1295 {
1296 Py_XDECREF(data->newraw);
1297 Py_XDECREF(data->newargs);
1298 Py_XDECREF(data->destroy);
1299 }
1300
1301 /* =============== PySwigObject =====================*/
1302
1303 typedef struct {
1304 PyObject_HEAD
1305 void *ptr;
1306 swig_type_info *ty;
1307 int own;
1308 PyObject *next;
1309 } PySwigObject;
1310
1311 SWIGRUNTIME PyObject *
1312 PySwigObject_long(PySwigObject *v)
1313 {
1314 return PyLong_FromVoidPtr(v->ptr);
1315 }
1316
1317 SWIGRUNTIME PyObject *
1318 PySwigObject_format(const char* fmt, PySwigObject *v)
1319 {
1320 PyObject *res = NULL;
1321 PyObject *args = PyTuple_New(1);
1322 if (args) {
1323 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1324 PyObject *ofmt = PyString_FromString(fmt);
1325 if (ofmt) {
1326 res = PyString_Format(ofmt,args);
1327 Py_DECREF(ofmt);
1328 }
1329 Py_DECREF(args);
1330 }
1331 }
1332 return res;
1333 }
1334
1335 SWIGRUNTIME PyObject *
1336 PySwigObject_oct(PySwigObject *v)
1337 {
1338 return PySwigObject_format("%o",v);
1339 }
1340
1341 SWIGRUNTIME PyObject *
1342 PySwigObject_hex(PySwigObject *v)
1343 {
1344 return PySwigObject_format("%x",v);
1345 }
1346
1347 SWIGRUNTIME PyObject *
1348 #ifdef METH_NOARGS
1349 PySwigObject_repr(PySwigObject *v)
1350 #else
1351 PySwigObject_repr(PySwigObject *v, PyObject *args)
1352 #endif
1353 {
1354 const char *name = SWIG_TypePrettyName(v->ty);
1355 PyObject *hex = PySwigObject_hex(v);
1356 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1357 Py_DECREF(hex);
1358 if (v->next) {
1359 #ifdef METH_NOARGS
1360 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1361 #else
1362 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1363 #endif
1364 PyString_ConcatAndDel(&repr,nrep);
1365 }
1366 return repr;
1367 }
1368
1369 SWIGRUNTIME int
1370 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1371 {
1372 #ifdef METH_NOARGS
1373 PyObject *repr = PySwigObject_repr(v);
1374 #else
1375 PyObject *repr = PySwigObject_repr(v, NULL);
1376 #endif
1377 if (repr) {
1378 fputs(PyString_AsString(repr), fp);
1379 Py_DECREF(repr);
1380 return 0;
1381 } else {
1382 return 1;
1383 }
1384 }
1385
1386 SWIGRUNTIME PyObject *
1387 PySwigObject_str(PySwigObject *v)
1388 {
1389 char result[SWIG_BUFFER_SIZE];
1390 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1391 PyString_FromString(result) : 0;
1392 }
1393
1394 SWIGRUNTIME int
1395 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1396 {
1397 void *i = v->ptr;
1398 void *j = w->ptr;
1399 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1400 }
1401
1402 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1403
1404 SWIGRUNTIME PyTypeObject*
1405 PySwigObject_type(void) {
1406 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1407 return type;
1408 }
1409
1410 SWIGRUNTIMEINLINE int
1411 PySwigObject_Check(PyObject *op) {
1412 return ((op)->ob_type == PySwigObject_type())
1413 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1414 }
1415
1416 SWIGRUNTIME PyObject *
1417 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1418
1419 SWIGRUNTIME void
1420 PySwigObject_dealloc(PyObject *v)
1421 {
1422 PySwigObject *sobj = (PySwigObject *) v;
1423 PyObject *next = sobj->next;
1424 if (sobj->own) {
1425 swig_type_info *ty = sobj->ty;
1426 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1427 PyObject *destroy = data ? data->destroy : 0;
1428 if (destroy) {
1429 /* destroy is always a VARARGS method */
1430 PyObject *res;
1431 if (data->delargs) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1434 res = SWIG_Python_CallFunctor(destroy, tmp);
1435 Py_DECREF(tmp);
1436 } else {
1437 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1438 PyObject *mself = PyCFunction_GET_SELF(destroy);
1439 res = ((*meth)(mself, v));
1440 }
1441 Py_XDECREF(res);
1442 } else {
1443 const char *name = SWIG_TypePrettyName(ty);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1446 #endif
1447 }
1448 }
1449 Py_XDECREF(next);
1450 PyObject_DEL(v);
1451 }
1452
1453 SWIGRUNTIME PyObject*
1454 PySwigObject_append(PyObject* v, PyObject* next)
1455 {
1456 PySwigObject *sobj = (PySwigObject *) v;
1457 #ifndef METH_O
1458 PyObject *tmp = 0;
1459 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1460 next = tmp;
1461 #endif
1462 if (!PySwigObject_Check(next)) {
1463 return NULL;
1464 }
1465 sobj->next = next;
1466 Py_INCREF(next);
1467 return SWIG_Py_Void();
1468 }
1469
1470 SWIGRUNTIME PyObject*
1471 #ifdef METH_NOARGS
1472 PySwigObject_next(PyObject* v)
1473 #else
1474 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1475 #endif
1476 {
1477 PySwigObject *sobj = (PySwigObject *) v;
1478 if (sobj->next) {
1479 Py_INCREF(sobj->next);
1480 return sobj->next;
1481 } else {
1482 return SWIG_Py_Void();
1483 }
1484 }
1485
1486 SWIGINTERN PyObject*
1487 #ifdef METH_NOARGS
1488 PySwigObject_disown(PyObject *v)
1489 #else
1490 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1491 #endif
1492 {
1493 PySwigObject *sobj = (PySwigObject *)v;
1494 sobj->own = 0;
1495 return SWIG_Py_Void();
1496 }
1497
1498 SWIGINTERN PyObject*
1499 #ifdef METH_NOARGS
1500 PySwigObject_acquire(PyObject *v)
1501 #else
1502 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1503 #endif
1504 {
1505 PySwigObject *sobj = (PySwigObject *)v;
1506 sobj->own = SWIG_POINTER_OWN;
1507 return SWIG_Py_Void();
1508 }
1509
1510 SWIGINTERN PyObject*
1511 PySwigObject_own(PyObject *v, PyObject *args)
1512 {
1513 PyObject *val = 0;
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1516 #else
1517 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1518 #endif
1519 {
1520 return NULL;
1521 }
1522 else
1523 {
1524 PySwigObject *sobj = (PySwigObject *)v;
1525 PyObject *obj = PyBool_FromLong(sobj->own);
1526 if (val) {
1527 #ifdef METH_NOARGS
1528 if (PyObject_IsTrue(val)) {
1529 PySwigObject_acquire(v);
1530 } else {
1531 PySwigObject_disown(v);
1532 }
1533 #else
1534 if (PyObject_IsTrue(val)) {
1535 PySwigObject_acquire(v,args);
1536 } else {
1537 PySwigObject_disown(v,args);
1538 }
1539 #endif
1540 }
1541 return obj;
1542 }
1543 }
1544
1545 #ifdef METH_O
1546 static PyMethodDef
1547 swigobject_methods[] = {
1548 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1554 {0, 0, 0, 0}
1555 };
1556 #else
1557 static PyMethodDef
1558 swigobject_methods[] = {
1559 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1565 {0, 0, 0, 0}
1566 };
1567 #endif
1568
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject *
1571 PySwigObject_getattr(PySwigObject *sobj,char *name)
1572 {
1573 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1574 }
1575 #endif
1576
1577 SWIGRUNTIME PyTypeObject*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1580
1581 static PyNumberMethods PySwigObject_as_number = {
1582 (binaryfunc)0, /*nb_add*/
1583 (binaryfunc)0, /*nb_subtract*/
1584 (binaryfunc)0, /*nb_multiply*/
1585 (binaryfunc)0, /*nb_divide*/
1586 (binaryfunc)0, /*nb_remainder*/
1587 (binaryfunc)0, /*nb_divmod*/
1588 (ternaryfunc)0,/*nb_power*/
1589 (unaryfunc)0, /*nb_negative*/
1590 (unaryfunc)0, /*nb_positive*/
1591 (unaryfunc)0, /*nb_absolute*/
1592 (inquiry)0, /*nb_nonzero*/
1593 0, /*nb_invert*/
1594 0, /*nb_lshift*/
1595 0, /*nb_rshift*/
1596 0, /*nb_and*/
1597 0, /*nb_xor*/
1598 0, /*nb_or*/
1599 (coercion)0, /*nb_coerce*/
1600 (unaryfunc)PySwigObject_long, /*nb_int*/
1601 (unaryfunc)PySwigObject_long, /*nb_long*/
1602 (unaryfunc)0, /*nb_float*/
1603 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1604 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1609 #endif
1610 };
1611
1612 static PyTypeObject pyswigobject_type;
1613 static int type_init = 0;
1614 if (!type_init) {
1615 const PyTypeObject tmp
1616 = {
1617 PyObject_HEAD_INIT(NULL)
1618 0, /* ob_size */
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1623 (printfunc)PySwigObject_print, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1626 #else
1627 (getattrfunc)0, /* tp_getattr */
1628 #endif
1629 (setattrfunc)0, /* tp_setattr */
1630 (cmpfunc)PySwigObject_compare, /* tp_compare */
1631 (reprfunc)PySwigObject_repr, /* tp_repr */
1632 &PySwigObject_as_number, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc)0, /* tp_hash */
1636 (ternaryfunc)0, /* tp_call */
1637 (reprfunc)PySwigObject_str, /* tp_str */
1638 PyObject_GenericGetAttr, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT, /* tp_flags */
1642 swigobject_doc, /* tp_doc */
1643 0, /* tp_traverse */
1644 0, /* tp_clear */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1648 0, /* tp_iter */
1649 0, /* tp_iternext */
1650 swigobject_methods, /* tp_methods */
1651 0, /* tp_members */
1652 0, /* tp_getset */
1653 0, /* tp_base */
1654 0, /* tp_dict */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1658 0, /* tp_init */
1659 0, /* tp_alloc */
1660 0, /* tp_new */
1661 0, /* tp_free */
1662 0, /* tp_is_gc */
1663 0, /* tp_bases */
1664 0, /* tp_mro */
1665 0, /* tp_cache */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1668 #endif
1669 #if PY_VERSION_HEX >= 0x02030000
1670 0, /* tp_del */
1671 #endif
1672 #ifdef COUNT_ALLOCS
1673 0,0,0,0 /* tp_alloc -> tp_next */
1674 #endif
1675 };
1676 pyswigobject_type = tmp;
1677 pyswigobject_type.ob_type = &PyType_Type;
1678 type_init = 1;
1679 }
1680 return &pyswigobject_type;
1681 }
1682
1683 SWIGRUNTIME PyObject *
1684 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1685 {
1686 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1687 if (sobj) {
1688 sobj->ptr = ptr;
1689 sobj->ty = ty;
1690 sobj->own = own;
1691 sobj->next = 0;
1692 }
1693 return (PyObject *)sobj;
1694 }
1695
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1699
1700 typedef struct {
1701 PyObject_HEAD
1702 void *pack;
1703 swig_type_info *ty;
1704 size_t size;
1705 } PySwigPacked;
1706
1707 SWIGRUNTIME int
1708 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1709 {
1710 char result[SWIG_BUFFER_SIZE];
1711 fputs("<Swig Packed ", fp);
1712 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1713 fputs("at ", fp);
1714 fputs(result, fp);
1715 }
1716 fputs(v->ty->name,fp);
1717 fputs(">", fp);
1718 return 0;
1719 }
1720
1721 SWIGRUNTIME PyObject *
1722 PySwigPacked_repr(PySwigPacked *v)
1723 {
1724 char result[SWIG_BUFFER_SIZE];
1725 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1727 } else {
1728 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1729 }
1730 }
1731
1732 SWIGRUNTIME PyObject *
1733 PySwigPacked_str(PySwigPacked *v)
1734 {
1735 char result[SWIG_BUFFER_SIZE];
1736 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1737 return PyString_FromFormat("%s%s", result, v->ty->name);
1738 } else {
1739 return PyString_FromString(v->ty->name);
1740 }
1741 }
1742
1743 SWIGRUNTIME int
1744 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1745 {
1746 size_t i = v->size;
1747 size_t j = w->size;
1748 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1749 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1750 }
1751
1752 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1753
1754 SWIGRUNTIME PyTypeObject*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1757 return type;
1758 }
1759
1760 SWIGRUNTIMEINLINE int
1761 PySwigPacked_Check(PyObject *op) {
1762 return ((op)->ob_type == _PySwigPacked_type())
1763 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1764 }
1765
1766 SWIGRUNTIME void
1767 PySwigPacked_dealloc(PyObject *v)
1768 {
1769 if (PySwigPacked_Check(v)) {
1770 PySwigPacked *sobj = (PySwigPacked *) v;
1771 free(sobj->pack);
1772 }
1773 PyObject_DEL(v);
1774 }
1775
1776 SWIGRUNTIME PyTypeObject*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type;
1780 static int type_init = 0;
1781 if (!type_init) {
1782 const PyTypeObject tmp
1783 = {
1784 PyObject_HEAD_INIT(NULL)
1785 0, /* ob_size */
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1790 (printfunc)PySwigPacked_print, /* tp_print */
1791 (getattrfunc)0, /* tp_getattr */
1792 (setattrfunc)0, /* tp_setattr */
1793 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1794 (reprfunc)PySwigPacked_repr, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc)0, /* tp_hash */
1799 (ternaryfunc)0, /* tp_call */
1800 (reprfunc)PySwigPacked_str, /* tp_str */
1801 PyObject_GenericGetAttr, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT, /* tp_flags */
1805 swigpacked_doc, /* tp_doc */
1806 0, /* tp_traverse */
1807 0, /* tp_clear */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1811 0, /* tp_iter */
1812 0, /* tp_iternext */
1813 0, /* tp_methods */
1814 0, /* tp_members */
1815 0, /* tp_getset */
1816 0, /* tp_base */
1817 0, /* tp_dict */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1821 0, /* tp_init */
1822 0, /* tp_alloc */
1823 0, /* tp_new */
1824 0, /* tp_free */
1825 0, /* tp_is_gc */
1826 0, /* tp_bases */
1827 0, /* tp_mro */
1828 0, /* tp_cache */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1831 #endif
1832 #if PY_VERSION_HEX >= 0x02030000
1833 0, /* tp_del */
1834 #endif
1835 #ifdef COUNT_ALLOCS
1836 0,0,0,0 /* tp_alloc -> tp_next */
1837 #endif
1838 };
1839 pyswigpacked_type = tmp;
1840 pyswigpacked_type.ob_type = &PyType_Type;
1841 type_init = 1;
1842 }
1843 return &pyswigpacked_type;
1844 }
1845
1846 SWIGRUNTIME PyObject *
1847 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1848 {
1849 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1850 if (sobj) {
1851 void *pack = malloc(size);
1852 if (pack) {
1853 memcpy(pack, ptr, size);
1854 sobj->pack = pack;
1855 sobj->ty = ty;
1856 sobj->size = size;
1857 } else {
1858 PyObject_DEL((PyObject *) sobj);
1859 sobj = 0;
1860 }
1861 }
1862 return (PyObject *) sobj;
1863 }
1864
1865 SWIGRUNTIME swig_type_info *
1866 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1867 {
1868 if (PySwigPacked_Check(obj)) {
1869 PySwigPacked *sobj = (PySwigPacked *)obj;
1870 if (sobj->size != size) return 0;
1871 memcpy(ptr, sobj->pack, size);
1872 return sobj->ty;
1873 } else {
1874 return 0;
1875 }
1876 }
1877
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1881
1882 SWIGRUNTIMEINLINE PyObject *
1883 _SWIG_This(void)
1884 {
1885 return PyString_FromString("this");
1886 }
1887
1888 SWIGRUNTIME PyObject *
1889 SWIG_This(void)
1890 {
1891 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1892 return swig_this;
1893 }
1894
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1896
1897 SWIGRUNTIME PySwigObject *
1898 SWIG_Python_GetSwigThis(PyObject *pyobj)
1899 {
1900 if (PySwigObject_Check(pyobj)) {
1901 return (PySwigObject *) pyobj;
1902 } else {
1903 PyObject *obj = 0;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj)) {
1906 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1907 } else {
1908 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1909 if (dictptr != NULL) {
1910 PyObject *dict = *dictptr;
1911 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1912 } else {
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj)) {
1915 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1916 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1917 }
1918 #endif
1919 obj = PyObject_GetAttr(pyobj,SWIG_This());
1920 if (obj) {
1921 Py_DECREF(obj);
1922 } else {
1923 if (PyErr_Occurred()) PyErr_Clear();
1924 return 0;
1925 }
1926 }
1927 }
1928 #else
1929 obj = PyObject_GetAttr(pyobj,SWIG_This());
1930 if (obj) {
1931 Py_DECREF(obj);
1932 } else {
1933 if (PyErr_Occurred()) PyErr_Clear();
1934 return 0;
1935 }
1936 #endif
1937 if (obj && !PySwigObject_Check(obj)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj);
1941 }
1942 return (PySwigObject *)obj;
1943 }
1944 }
1945
1946 /* Acquire a pointer value */
1947
1948 SWIGRUNTIME int
1949 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1950 if (own) {
1951 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1952 if (sobj) {
1953 int oldown = sobj->own;
1954 sobj->own = own;
1955 return oldown;
1956 }
1957 }
1958 return 0;
1959 }
1960
1961 /* Convert a pointer value */
1962
1963 SWIGRUNTIME int
1964 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1965 if (!obj) return SWIG_ERROR;
1966 if (obj == Py_None) {
1967 if (ptr) *ptr = 0;
1968 return SWIG_OK;
1969 } else {
1970 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1971 while (sobj) {
1972 void *vptr = sobj->ptr;
1973 if (ty) {
1974 swig_type_info *to = sobj->ty;
1975 if (to == ty) {
1976 /* no type cast needed */
1977 if (ptr) *ptr = vptr;
1978 break;
1979 } else {
1980 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1981 if (!tc) {
1982 sobj = (PySwigObject *)sobj->next;
1983 } else {
1984 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1985 break;
1986 }
1987 }
1988 } else {
1989 if (ptr) *ptr = vptr;
1990 break;
1991 }
1992 }
1993 if (sobj) {
1994 if (own) *own = sobj->own;
1995 if (flags & SWIG_POINTER_DISOWN) {
1996 sobj->own = 0;
1997 }
1998 return SWIG_OK;
1999 } else {
2000 int res = SWIG_ERROR;
2001 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2002 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2003 if (data && !data->implicitconv) {
2004 PyObject *klass = data->klass;
2005 if (klass) {
2006 PyObject *impconv;
2007 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv = SWIG_Python_CallFunctor(klass, obj);
2009 data->implicitconv = 0;
2010 if (PyErr_Occurred()) {
2011 PyErr_Clear();
2012 impconv = 0;
2013 }
2014 if (impconv) {
2015 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2016 if (iobj) {
2017 void *vptr;
2018 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2019 if (SWIG_IsOK(res)) {
2020 if (ptr) {
2021 *ptr = vptr;
2022 /* transfer the ownership to 'ptr' */
2023 iobj->own = 0;
2024 res = SWIG_AddCast(res);
2025 res = SWIG_AddNewMask(res);
2026 } else {
2027 res = SWIG_AddCast(res);
2028 }
2029 }
2030 }
2031 Py_DECREF(impconv);
2032 }
2033 }
2034 }
2035 }
2036 return res;
2037 }
2038 }
2039 }
2040
2041 /* Convert a function ptr value */
2042
2043 SWIGRUNTIME int
2044 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2045 if (!PyCFunction_Check(obj)) {
2046 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2047 } else {
2048 void *vptr = 0;
2049
2050 /* here we get the method pointer for callbacks */
2051 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2052 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2053 if (desc) {
2054 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2055 if (!desc) return SWIG_ERROR;
2056 }
2057 if (ty) {
2058 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2059 if (!tc) return SWIG_ERROR;
2060 *ptr = SWIG_TypeCast(tc,vptr);
2061 } else {
2062 *ptr = vptr;
2063 }
2064 return SWIG_OK;
2065 }
2066 }
2067
2068 /* Convert a packed value value */
2069
2070 SWIGRUNTIME int
2071 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2072 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2073 if (!to) return SWIG_ERROR;
2074 if (ty) {
2075 if (to != ty) {
2076 /* check type cast? */
2077 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2078 if (!tc) return SWIG_ERROR;
2079 }
2080 }
2081 return SWIG_OK;
2082 }
2083
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2087
2088 /*
2089 Create a new instance object, whitout calling __init__, and set the
2090 'this' attribute.
2091 */
2092
2093 SWIGRUNTIME PyObject*
2094 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2095 {
2096 #if (PY_VERSION_HEX >= 0x02020000)
2097 PyObject *inst = 0;
2098 PyObject *newraw = data->newraw;
2099 if (newraw) {
2100 inst = PyObject_Call(newraw, data->newargs, NULL);
2101 if (inst) {
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2104 if (dictptr != NULL) {
2105 PyObject *dict = *dictptr;
2106 if (dict == NULL) {
2107 dict = PyDict_New();
2108 *dictptr = dict;
2109 PyDict_SetItem(dict, SWIG_This(), swig_this);
2110 }
2111 }
2112 #else
2113 PyObject *key = SWIG_This();
2114 PyObject_SetAttr(inst, key, swig_this);
2115 #endif
2116 }
2117 } else {
2118 PyObject *dict = PyDict_New();
2119 PyDict_SetItem(dict, SWIG_This(), swig_this);
2120 inst = PyInstance_NewRaw(data->newargs, dict);
2121 Py_DECREF(dict);
2122 }
2123 return inst;
2124 #else
2125 #if (PY_VERSION_HEX >= 0x02010000)
2126 PyObject *inst;
2127 PyObject *dict = PyDict_New();
2128 PyDict_SetItem(dict, SWIG_This(), swig_this);
2129 inst = PyInstance_NewRaw(data->newargs, dict);
2130 Py_DECREF(dict);
2131 return (PyObject *) inst;
2132 #else
2133 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2134 if (inst == NULL) {
2135 return NULL;
2136 }
2137 inst->in_class = (PyClassObject *)data->newargs;
2138 Py_INCREF(inst->in_class);
2139 inst->in_dict = PyDict_New();
2140 if (inst->in_dict == NULL) {
2141 Py_DECREF(inst);
2142 return NULL;
2143 }
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst->in_weakreflist = NULL;
2146 #endif
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst);
2149 #endif
2150 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2151 return (PyObject *) inst;
2152 #endif
2153 #endif
2154 }
2155
2156 SWIGRUNTIME void
2157 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2158 {
2159 PyObject *dict;
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2162 if (dictptr != NULL) {
2163 dict = *dictptr;
2164 if (dict == NULL) {
2165 dict = PyDict_New();
2166 *dictptr = dict;
2167 }
2168 PyDict_SetItem(dict, SWIG_This(), swig_this);
2169 return;
2170 }
2171 #endif
2172 dict = PyObject_GetAttrString(inst, "__dict__");
2173 PyDict_SetItem(dict, SWIG_This(), swig_this);
2174 Py_DECREF(dict);
2175 }
2176
2177
2178 SWIGINTERN PyObject *
2179 SWIG_Python_InitShadowInstance(PyObject *args) {
2180 PyObject *obj[2];
2181 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2182 return NULL;
2183 } else {
2184 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2185 if (sthis) {
2186 PySwigObject_append((PyObject*) sthis, obj[1]);
2187 } else {
2188 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2189 }
2190 return SWIG_Py_Void();
2191 }
2192 }
2193
2194 /* Create a new pointer object */
2195
2196 SWIGRUNTIME PyObject *
2197 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2198 if (!ptr) {
2199 return SWIG_Py_Void();
2200 } else {
2201 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2202 PyObject *robj = PySwigObject_New(ptr, type, own);
2203 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2204 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2205 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2206 if (inst) {
2207 Py_DECREF(robj);
2208 robj = inst;
2209 }
2210 }
2211 return robj;
2212 }
2213 }
2214
2215 /* Create a new packed object */
2216
2217 SWIGRUNTIMEINLINE PyObject *
2218 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2219 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2220 }
2221
2222 /* -----------------------------------------------------------------------------*
2223 * Get type list
2224 * -----------------------------------------------------------------------------*/
2225
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2228 #endif
2229
2230 SWIGRUNTIME swig_module_info *
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer = (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2237 #else
2238 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2240 if (PyErr_Occurred()) {
2241 PyErr_Clear();
2242 type_pointer = (void *)0;
2243 }
2244 #endif
2245 }
2246 return (swig_module_info *) type_pointer;
2247 }
2248
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2252 SWIGINTERN int
2253 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2254 {
2255 PyObject *dict;
2256 if (!PyModule_Check(m)) {
2257 PyErr_SetString(PyExc_TypeError,
2258 "PyModule_AddObject() needs module as first arg");
2259 return SWIG_ERROR;
2260 }
2261 if (!o) {
2262 PyErr_SetString(PyExc_TypeError,
2263 "PyModule_AddObject() needs non-NULL value");
2264 return SWIG_ERROR;
2265 }
2266
2267 dict = PyModule_GetDict(m);
2268 if (dict == NULL) {
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2271 PyModule_GetName(m));
2272 return SWIG_ERROR;
2273 }
2274 if (PyDict_SetItemString(dict, name, o))
2275 return SWIG_ERROR;
2276 Py_DECREF(o);
2277 return SWIG_OK;
2278 }
2279 #endif
2280
2281 SWIGRUNTIME void
2282 SWIG_Python_DestroyModule(void *vptr)
2283 {
2284 swig_module_info *swig_module = (swig_module_info *) vptr;
2285 swig_type_info **types = swig_module->types;
2286 size_t i;
2287 for (i =0; i < swig_module->size; ++i) {
2288 swig_type_info *ty = types[i];
2289 if (ty->owndata) {
2290 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2291 if (data) PySwigClientData_Del(data);
2292 }
2293 }
2294 Py_DECREF(SWIG_This());
2295 }
2296
2297 SWIGRUNTIME void
2298 SWIG_Python_SetModule(swig_module_info *swig_module) {
2299 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2300
2301 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2302 swig_empty_runtime_method_table);
2303 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2304 if (pointer && module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2306 } else {
2307 Py_XDECREF(pointer);
2308 }
2309 }
2310
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject *
2313 SWIG_Python_TypeCache() {
2314 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2315 return cache;
2316 }
2317
2318 SWIGRUNTIME swig_type_info *
2319 SWIG_Python_TypeQuery(const char *type)
2320 {
2321 PyObject *cache = SWIG_Python_TypeCache();
2322 PyObject *key = PyString_FromString(type);
2323 PyObject *obj = PyDict_GetItem(cache, key);
2324 swig_type_info *descriptor;
2325 if (obj) {
2326 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2327 } else {
2328 swig_module_info *swig_module = SWIG_Python_GetModule();
2329 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2330 if (descriptor) {
2331 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2332 PyDict_SetItem(cache, key, obj);
2333 Py_DECREF(obj);
2334 }
2335 }
2336 Py_DECREF(key);
2337 return descriptor;
2338 }
2339
2340 /*
2341 For backward compatibility only
2342 */
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2346
2347 SWIGRUNTIME int
2348 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2349 {
2350 if (PyErr_Occurred()) {
2351 PyObject *type = 0;
2352 PyObject *value = 0;
2353 PyObject *traceback = 0;
2354 PyErr_Fetch(&type, &value, &traceback);
2355 if (value) {
2356 PyObject *old_str = PyObject_Str(value);
2357 Py_XINCREF(type);
2358 PyErr_Clear();
2359 if (infront) {
2360 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2361 } else {
2362 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2363 }
2364 Py_DECREF(old_str);
2365 }
2366 return 1;
2367 } else {
2368 return 0;
2369 }
2370 }
2371
2372 SWIGRUNTIME int
2373 SWIG_Python_ArgFail(int argnum)
2374 {
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2377 char mesg[256];
2378 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2379 return SWIG_Python_AddErrMesg(mesg, 1);
2380 } else {
2381 return 0;
2382 }
2383 }
2384
2385 SWIGRUNTIMEINLINE const char *
2386 PySwigObject_GetDesc(PyObject *self)
2387 {
2388 PySwigObject *v = (PySwigObject *)self;
2389 swig_type_info *ty = v ? v->ty : 0;
2390 return ty ? ty->str : (char*)"";
2391 }
2392
2393 SWIGRUNTIME void
2394 SWIG_Python_TypeError(const char *type, PyObject *obj)
2395 {
2396 if (type) {
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj && PySwigObject_Check(obj)) {
2399 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2400 if (otype) {
2401 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2402 type, otype);
2403 return;
2404 }
2405 } else
2406 #endif
2407 {
2408 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2409 if (otype) {
2410 PyObject *str = PyObject_Str(obj);
2411 const char *cstr = str ? PyString_AsString(str) : 0;
2412 if (cstr) {
2413 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2414 type, otype, cstr);
2415 } else {
2416 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2417 type, otype);
2418 }
2419 Py_XDECREF(str);
2420 return;
2421 }
2422 }
2423 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2424 } else {
2425 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2426 }
2427 }
2428
2429
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2431 SWIGRUNTIME void *
2432 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2433 void *result;
2434 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2435 PyErr_Clear();
2436 if (flags & SWIG_POINTER_EXCEPTION) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2438 SWIG_Python_ArgFail(argnum);
2439 }
2440 }
2441 return result;
2442 }
2443
2444
2445 #ifdef __cplusplus
2446 #if 0
2447 { /* cc-mode */
2448 #endif
2449 }
2450 #endif
2451
2452
2453
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2455
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2457
2458
2459
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2461
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_form_ops_t swig_types[1]
2464 #define SWIGTYPE_p_int swig_types[2]
2465 #define SWIGTYPE_p_unsigned_char swig_types[3]
2466 #define SWIGTYPE_p_unsigned_int swig_types[4]
2467 #define SWIGTYPE_p_unsigned_long swig_types[5]
2468 #define SWIGTYPE_p_wxANIHandler swig_types[6]
2469 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
2470 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
2471 #define SWIGTYPE_p_wxArrayInt swig_types[9]
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473 #define SWIGTYPE_p_wxBitmap swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxCURHandler swig_types[13]
2476 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
2477 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2478 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
2479 #define SWIGTYPE_p_wxColour swig_types[17]
2480 #define SWIGTYPE_p_wxColourData swig_types[18]
2481 #define SWIGTYPE_p_wxColourDialog swig_types[19]
2482 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
2483 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
2484 #define SWIGTYPE_p_wxControl swig_types[22]
2485 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
2486 #define SWIGTYPE_p_wxDC swig_types[24]
2487 #define SWIGTYPE_p_wxDateEvent swig_types[25]
2488 #define SWIGTYPE_p_wxDialog swig_types[26]
2489 #define SWIGTYPE_p_wxDirDialog swig_types[27]
2490 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
2491 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
2492 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
2493 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
2494 #define SWIGTYPE_p_wxEvent swig_types[32]
2495 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
2496 #define SWIGTYPE_p_wxFSFile swig_types[34]
2497 #define SWIGTYPE_p_wxFileDialog swig_types[35]
2498 #define SWIGTYPE_p_wxFileSystem swig_types[36]
2499 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
2500 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
2501 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
2502 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
2503 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
2504 #define SWIGTYPE_p_wxFont swig_types[42]
2505 #define SWIGTYPE_p_wxFontData swig_types[43]
2506 #define SWIGTYPE_p_wxFontDialog swig_types[44]
2507 #define SWIGTYPE_p_wxFrame swig_types[45]
2508 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
2509 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
2510 #define SWIGTYPE_p_wxGridBagSizer swig_types[48]
2511 #define SWIGTYPE_p_wxGridSizer swig_types[49]
2512 #define SWIGTYPE_p_wxICOHandler swig_types[50]
2513 #define SWIGTYPE_p_wxIcon swig_types[51]
2514 #define SWIGTYPE_p_wxIconBundle swig_types[52]
2515 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
2516 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
2517 #define SWIGTYPE_p_wxImage swig_types[55]
2518 #define SWIGTYPE_p_wxImageHandler swig_types[56]
2519 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
2520 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
2521 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
2522 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
2523 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
2524 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
2525 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
2526 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
2527 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
2528 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
2529 #define SWIGTYPE_p_wxMenu swig_types[67]
2530 #define SWIGTYPE_p_wxMenuBar swig_types[68]
2531 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenuItem swig_types[70]
2533 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
2534 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
2535 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
2536 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
2537 #define SWIGTYPE_p_wxMoveEvent swig_types[75]
2538 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
2539 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
2540 #define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
2541 #define SWIGTYPE_p_wxNotifyEvent swig_types[79]
2542 #define SWIGTYPE_p_wxObject swig_types[80]
2543 #define SWIGTYPE_p_wxPCXHandler swig_types[81]
2544 #define SWIGTYPE_p_wxPNGHandler swig_types[82]
2545 #define SWIGTYPE_p_wxPNMHandler swig_types[83]
2546 #define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
2547 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
2548 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
2549 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
2550 #define SWIGTYPE_p_wxPanel swig_types[88]
2551 #define SWIGTYPE_p_wxPaperSize swig_types[89]
2552 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
2553 #define SWIGTYPE_p_wxPoint swig_types[91]
2554 #define SWIGTYPE_p_wxPopupWindow swig_types[92]
2555 #define SWIGTYPE_p_wxPreviewCanvas swig_types[93]
2556 #define SWIGTYPE_p_wxPreviewControlBar swig_types[94]
2557 #define SWIGTYPE_p_wxPreviewFrame swig_types[95]
2558 #define SWIGTYPE_p_wxPrintData swig_types[96]
2559 #define SWIGTYPE_p_wxPrintDialog swig_types[97]
2560 #define SWIGTYPE_p_wxPrintDialogData swig_types[98]
2561 #define SWIGTYPE_p_wxPrintPreview swig_types[99]
2562 #define SWIGTYPE_p_wxPrinter swig_types[100]
2563 #define SWIGTYPE_p_wxProgressDialog swig_types[101]
2564 #define SWIGTYPE_p_wxPyApp swig_types[102]
2565 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
2566 #define SWIGTYPE_p_wxPyEvent swig_types[104]
2567 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[105]
2568 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
2569 #define SWIGTYPE_p_wxPyPanel swig_types[107]
2570 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108]
2571 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109]
2572 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[110]
2573 #define SWIGTYPE_p_wxPyPrintPreview swig_types[111]
2574 #define SWIGTYPE_p_wxPyPrintout swig_types[112]
2575 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[113]
2576 #define SWIGTYPE_p_wxPySizer swig_types[114]
2577 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115]
2578 #define SWIGTYPE_p_wxPyVListBox swig_types[116]
2579 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117]
2580 #define SWIGTYPE_p_wxPyValidator swig_types[118]
2581 #define SWIGTYPE_p_wxPyWindow swig_types[119]
2582 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120]
2583 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121]
2584 #define SWIGTYPE_p_wxRect swig_types[122]
2585 #define SWIGTYPE_p_wxRegion swig_types[123]
2586 #define SWIGTYPE_p_wxSashEvent swig_types[124]
2587 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[125]
2588 #define SWIGTYPE_p_wxSashWindow swig_types[126]
2589 #define SWIGTYPE_p_wxScrollEvent swig_types[127]
2590 #define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
2591 #define SWIGTYPE_p_wxScrolledWindow swig_types[129]
2592 #define SWIGTYPE_p_wxSetCursorEvent swig_types[130]
2593 #define SWIGTYPE_p_wxShowEvent swig_types[131]
2594 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132]
2595 #define SWIGTYPE_p_wxSize swig_types[133]
2596 #define SWIGTYPE_p_wxSizeEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSizer swig_types[135]
2598 #define SWIGTYPE_p_wxSizerItem swig_types[136]
2599 #define SWIGTYPE_p_wxSplashScreen swig_types[137]
2600 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[138]
2601 #define SWIGTYPE_p_wxSplitterEvent swig_types[139]
2602 #define SWIGTYPE_p_wxSplitterWindow swig_types[140]
2603 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[141]
2604 #define SWIGTYPE_p_wxStatusBar swig_types[142]
2605 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
2606 #define SWIGTYPE_p_wxString swig_types[144]
2607 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145]
2608 #define SWIGTYPE_p_wxTIFFHandler swig_types[146]
2609 #define SWIGTYPE_p_wxTaskBarIcon swig_types[147]
2610 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148]
2611 #define SWIGTYPE_p_wxTextEntryDialog swig_types[149]
2612 #define SWIGTYPE_p_wxTipWindow swig_types[150]
2613 #define SWIGTYPE_p_wxToolBar swig_types[151]
2614 #define SWIGTYPE_p_wxTopLevelWindow swig_types[152]
2615 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[153]
2616 #define SWIGTYPE_p_wxValidator swig_types[154]
2617 #define SWIGTYPE_p_wxVisualAttributes swig_types[155]
2618 #define SWIGTYPE_p_wxWindow swig_types[156]
2619 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[157]
2620 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158]
2621 #define SWIGTYPE_p_wxXPMHandler swig_types[159]
2622 static swig_type_info *swig_types[161];
2623 static swig_module_info swig_module = {swig_types, 160, 0, 0, 0, 0};
2624 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2625 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2626
2627 /* -------- TYPES TABLE (END) -------- */
2628
2629 #if (PY_VERSION_HEX <= 0x02000000)
2630 # if !defined(SWIG_PYTHON_CLASSIC)
2631 # error "This python version requires to use swig with the '-classic' option"
2632 # endif
2633 #endif
2634 #if (PY_VERSION_HEX <= 0x02020000)
2635 # error "This python version requires to use swig with the '-nomodern' option"
2636 #endif
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodernargs' option"
2639 #endif
2640 #ifndef METH_O
2641 # error "This python version requires to use swig with the '-nofastunpack' option"
2642 #endif
2643
2644 /*-----------------------------------------------
2645 @(target):= _windows_.so
2646 ------------------------------------------------*/
2647 #define SWIG_init init_windows_
2648
2649 #define SWIG_name "_windows_"
2650
2651 #define SWIGVERSION 0x010329
2652
2653
2654 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2655 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2656
2657
2658 #include <stdexcept>
2659
2660
2661 namespace swig {
2662 class PyObject_ptr {
2663 protected:
2664 PyObject *_obj;
2665
2666 public:
2667 PyObject_ptr() :_obj(0)
2668 {
2669 }
2670
2671 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2672 {
2673 Py_XINCREF(_obj);
2674 }
2675
2676 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2677 {
2678 if (initial_ref) Py_XINCREF(_obj);
2679 }
2680
2681 PyObject_ptr & operator=(const PyObject_ptr& item)
2682 {
2683 Py_XINCREF(item._obj);
2684 Py_XDECREF(_obj);
2685 _obj = item._obj;
2686 return *this;
2687 }
2688
2689 ~PyObject_ptr()
2690 {
2691 Py_XDECREF(_obj);
2692 }
2693
2694 operator PyObject *() const
2695 {
2696 return _obj;
2697 }
2698
2699 PyObject *operator->() const
2700 {
2701 return _obj;
2702 }
2703 };
2704 }
2705
2706
2707 namespace swig {
2708 struct PyObject_var : PyObject_ptr {
2709 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2710
2711 PyObject_var & operator = (PyObject* obj)
2712 {
2713 Py_XDECREF(_obj);
2714 _obj = obj;
2715 return *this;
2716 }
2717 };
2718 }
2719
2720
2721 #include "wx/wxPython/wxPython.h"
2722 #include "wx/wxPython/pyclasses.h"
2723
2724
2725 static const wxString wxPyEmptyString(wxEmptyString);
2726 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2727
2728
2729
2730 #include <limits.h>
2731 #ifndef LLONG_MIN
2732 # define LLONG_MIN LONG_LONG_MIN
2733 #endif
2734 #ifndef LLONG_MAX
2735 # define LLONG_MAX LONG_LONG_MAX
2736 #endif
2737 #ifndef ULLONG_MAX
2738 # define ULLONG_MAX ULONG_LONG_MAX
2739 #endif
2740
2741
2742 SWIGINTERN int
2743 SWIG_AsVal_long (PyObject* obj, long* val)
2744 {
2745 if (PyNumber_Check(obj)) {
2746 if (val) *val = PyInt_AsLong(obj);
2747 return SWIG_OK;
2748 }
2749 return SWIG_TypeError;
2750 }
2751
2752
2753 SWIGINTERN int
2754 SWIG_AsVal_int (PyObject * obj, int *val)
2755 {
2756 long v;
2757 int res = SWIG_AsVal_long (obj, &v);
2758 if (SWIG_IsOK(res)) {
2759 if ((v < INT_MIN || v > INT_MAX)) {
2760 return SWIG_OverflowError;
2761 } else {
2762 if (val) *val = static_cast< int >(v);
2763 }
2764 }
2765 return res;
2766 }
2767
2768
2769 SWIGINTERN int
2770 SWIG_AsVal_bool (PyObject *obj, bool *val)
2771 {
2772 if (obj == Py_True) {
2773 if (val) *val = true;
2774 return SWIG_OK;
2775 } else if (obj == Py_False) {
2776 if (val) *val = false;
2777 return SWIG_OK;
2778 } else {
2779 long v = 0;
2780 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2781 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2782 return res;
2783 }
2784 }
2785
2786
2787 #define SWIG_From_long PyInt_FromLong
2788
2789
2790 SWIGINTERNINLINE PyObject *
2791 SWIG_From_int (int value)
2792 {
2793 return SWIG_From_long (value);
2794 }
2795
2796
2797 SWIGINTERN int
2798 SWIG_AsVal_double (PyObject *obj, double* val)
2799 {
2800 if (PyNumber_Check(obj)) {
2801 if (val) *val = PyFloat_AsDouble(obj);
2802 return SWIG_OK;
2803 }
2804 return SWIG_TypeError;
2805 }
2806
2807
2808 #define SWIG_From_double PyFloat_FromDouble
2809
2810 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2811 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2812 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2813 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2814 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2815 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2816
2817
2818 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2819 wxRect r;
2820 self->GetFieldRect(i, r);
2821 return r;
2822 }
2823 static const wxString wxPySplitterNameStr(wxT("splitter"));
2824 static const wxString wxPySashNameStr(wxT("sashWindow"));
2825 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2826
2827 #include <wx/popupwin.h>
2828
2829
2830 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2831 {
2832 public:
2833 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2834 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2835 : wxPopupTransientWindow(parent, style) {}
2836
2837 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2838 DEC_PYCALLBACK__(OnDismiss);
2839 DEC_PYCALLBACK_BOOL_(CanDismiss);
2840 PYPRIVATE;
2841 };
2842
2843
2844 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2845 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2846 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2847
2848
2849 #include <wx/tipwin.h>
2850
2851 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2852 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2853 }
2854
2855 #include <wx/tipwin.h>
2856
2857
2858 #include <wx/vscroll.h>
2859
2860
2861 class wxPyVScrolledWindow : public wxVScrolledWindow
2862 {
2863 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2864 public:
2865 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2866
2867 wxPyVScrolledWindow(wxWindow *parent,
2868 wxWindowID id = wxID_ANY,
2869 const wxPoint& pos = wxDefaultPosition,
2870 const wxSize& size = wxDefaultSize,
2871 long style = 0,
2872 const wxString& name = wxPyPanelNameStr)
2873 : wxVScrolledWindow(parent, id, pos, size, style, name)
2874 {}
2875
2876 // Overridable virtuals
2877
2878 // this function must be overridden in the derived class and it should
2879 // return the height of the given line in pixels
2880 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2881
2882
2883 // this function doesn't have to be overridden but it may be useful to do
2884 // it if calculating the lines heights is a relatively expensive operation
2885 // as it gives the user code a possibility to calculate several of them at
2886 // once
2887 //
2888 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2889 // shouldn't rely on the latter being called for all lines in the interval
2890 // specified here. It is also possible that OnGetLineHeight() will be
2891 // called for the lines outside of this interval, so this is really just a
2892 // hint, not a promise.
2893 //
2894 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2895 // usual
2896 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2897
2898
2899 // when the number of lines changes, we try to estimate the total height
2900 // of all lines which is a rather expensive operation in terms of lines
2901 // access, so if the user code may estimate the average height
2902 // better/faster than we do, it should override this function to implement
2903 // its own logic
2904 //
2905 // this function should return the best guess for the total height it may
2906 // make
2907 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2908
2909
2910 // Also expose some other interesting protected methods
2911
2912
2913 // find the index of the line we need to show at the top of the window such
2914 // that the last (fully or partially) visible line is the given one
2915 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2916 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2917
2918 // get the total height of the lines between lineMin (inclusive) and
2919 // lineMax (exclusive)
2920 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2921 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2922
2923
2924 PYPRIVATE;
2925 };
2926
2927 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2928
2929 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2930 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2931 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2932
2933
2934 SWIGINTERN int
2935 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2936 {
2937 long v = 0;
2938 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2939 return SWIG_TypeError;
2940 }
2941 else if (val)
2942 *val = (unsigned long)v;
2943 return SWIG_OK;
2944 }
2945
2946
2947 SWIGINTERNINLINE int
2948 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2949 {
2950 unsigned long v;
2951 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2952 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2953 return res;
2954 }
2955
2956
2957 SWIGINTERNINLINE PyObject*
2958 SWIG_From_unsigned_SS_long (unsigned long value)
2959 {
2960 return (value > LONG_MAX) ?
2961 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2962 }
2963
2964
2965 SWIGINTERNINLINE PyObject *
2966 SWIG_From_size_t (size_t value)
2967 {
2968 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2969 }
2970
2971
2972 #include <wx/vlbox.h>
2973
2974 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2975
2976 class wxPyVListBox : public wxVListBox
2977 {
2978 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2979 public:
2980 wxPyVListBox() : wxVListBox() {}
2981
2982 wxPyVListBox(wxWindow *parent,
2983 wxWindowID id = wxID_ANY,
2984 const wxPoint& pos = wxDefaultPosition,
2985 const wxSize& size = wxDefaultSize,
2986 long style = 0,
2987 const wxString& name = wxPyVListBoxNameStr)
2988 : wxVListBox(parent, id, pos, size, style, name)
2989 {}
2990
2991 // Overridable virtuals
2992
2993 // the derived class must implement this function to actually draw the item
2994 // with the given index on the provided DC
2995 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2996 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
2997
2998
2999 // the derived class must implement this method to return the height of the
3000 // specified item
3001 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3002 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3003
3004
3005 // this method may be used to draw separators between the lines; note that
3006 // the rectangle may be modified, typically to deflate it a bit before
3007 // passing to OnDrawItem()
3008 //
3009 // the base class version doesn't do anything
3010 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3011 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3012
3013
3014 // this method is used to draw the items background and, maybe, a border
3015 // around it
3016 //
3017 // the base class version implements a reasonable default behaviour which
3018 // consists in drawing the selected item with the standard background
3019 // colour and drawing a border around the item if it is either selected or
3020 // current
3021 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3022 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3023
3024
3025 PYPRIVATE;
3026 };
3027
3028 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3029
3030 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3031 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3032 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3033 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3034
3035
3036 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3037 unsigned long cookie = 0;
3038 int selected = self->GetFirstSelected(cookie);
3039 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3040 PyObject* tup = PyTuple_New(2);
3041 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3042 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3043 wxPyEndBlockThreads(blocked);
3044 return tup;
3045 }
3046 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3047 int selected = self->GetNextSelected(cookie);
3048 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3049 PyObject* tup = PyTuple_New(2);
3050 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3051 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3052 wxPyEndBlockThreads(blocked);
3053 return tup;
3054 }
3055
3056 #include <wx/htmllbox.h>
3057
3058
3059 class wxPyHtmlListBox : public wxHtmlListBox
3060 {
3061 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3062 public:
3063 wxPyHtmlListBox() : wxHtmlListBox() {}
3064
3065 wxPyHtmlListBox(wxWindow *parent,
3066 wxWindowID id = wxID_ANY,
3067 const wxPoint& pos = wxDefaultPosition,
3068 const wxSize& size = wxDefaultSize,
3069 long style = 0,
3070 const wxString& name = wxPyVListBoxNameStr)
3071 : wxHtmlListBox(parent, id, pos, size, style, name)
3072 {}
3073
3074 // Overridable virtuals
3075
3076 // this method must be implemented in the derived class and should return
3077 // the body (i.e. without <html>) of the HTML for the given item
3078 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3079
3080 // this function may be overridden to decorate HTML returned by OnGetItem()
3081 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3082
3083 // These are from wxVListBox
3084 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3085 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3086
3087 // TODO:
3088 // // this method allows to customize the selection appearance: it may be used
3089 // // to specify the colour of the text which normally has the given colour
3090 // // colFg when it is inside the selection
3091 // //
3092 // // by default, the original colour is not used at all and all text has the
3093 // // same (default for this system) colour inside selection
3094 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3095
3096 // // this is the same as GetSelectedTextColour() but allows to customize the
3097 // // background colour -- this is even more rarely used as you can change it
3098 // // globally using SetSelectionBackground()
3099 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3100
3101
3102 PYPRIVATE;
3103 };
3104
3105
3106 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3107
3108 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3109 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3110 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3111 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3112
3113
3114
3115
3116
3117 #ifndef wxHAS_TASK_BAR_ICON
3118 // implement dummy classes for platforms that don't have it
3119
3120 class wxTaskBarIcon : public wxEvtHandler
3121 {
3122 public:
3123 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3124 };
3125
3126
3127 class wxTaskBarIconEvent : public wxEvent
3128 {
3129 public:
3130 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3131 { wxPyRaiseNotImplemented(); }
3132 virtual wxEvent* Clone() const { return NULL; }
3133 bool IsOk() const { return false; }
3134 bool IsIconInstalled() const { return false; }
3135 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3136 bool RemoveIcon() { return false; }
3137 bool PopupMenu(wxMenu *menu) { return false; }
3138 };
3139
3140 enum {
3141 wxEVT_TASKBAR_MOVE = 0,
3142 wxEVT_TASKBAR_LEFT_DOWN = 0,
3143 wxEVT_TASKBAR_LEFT_UP = 0,
3144 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3145 wxEVT_TASKBAR_RIGHT_UP = 0,
3146 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3147 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3148 };
3149
3150
3151 #else
3152 // Otherwise make a class that can virtualize CreatePopupMenu
3153 class wxPyTaskBarIcon : public wxTaskBarIcon
3154 {
3155 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3156 public:
3157 wxPyTaskBarIcon() : wxTaskBarIcon()
3158 {}
3159
3160 wxMenu* CreatePopupMenu() {
3161 wxMenu *rval = NULL;
3162 bool found;
3163 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3164 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3165 PyObject* ro;
3166 wxMenu* ptr;
3167 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3168 if (ro) {
3169 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3170 rval = ptr;
3171 Py_DECREF(ro);
3172 }
3173 }
3174 wxPyEndBlockThreads(blocked);
3175 if (! found)
3176 rval = wxTaskBarIcon::CreatePopupMenu();
3177 return rval;
3178 }
3179
3180 PYPRIVATE;
3181 };
3182
3183 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3184
3185 #endif
3186
3187 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3188 self->RemoveIcon();
3189 delete self;
3190 }
3191 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3192 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3193 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3194 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3195 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3196 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3197 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3198 wxArrayString arr;
3199 self->GetFilenames(arr);
3200 return wxArrayString2PyList_helper(arr);
3201 }
3202 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3203 wxArrayString arr;
3204 self->GetPaths(arr);
3205 return wxArrayString2PyList_helper(arr);
3206 }
3207 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3208 return wxArrayInt2PyList_helper(self->GetSelections());
3209 }
3210 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){
3211 return new wxSingleChoiceDialog(parent, message, caption,
3212 choices, choices_array, NULL, style, pos);
3213 }
3214 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3215
3216 #include <wx/mdi.h>
3217
3218 // C++ version of Python aware wxWindow
3219 class wxPyWindow : public wxWindow
3220 {
3221 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3222 public:
3223 wxPyWindow() : wxWindow() {}
3224 wxPyWindow(wxWindow* parent, const wxWindowID id,
3225 const wxPoint& pos = wxDefaultPosition,
3226 const wxSize& size = wxDefaultSize,
3227 long style = 0,
3228 const wxString& name = wxPyPanelNameStr)
3229 : wxWindow(parent, id, pos, size, style, name) {}
3230
3231 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3232
3233 bool DoEraseBackground(wxDC* dc) {
3234 #ifdef __WXMSW__
3235 return wxWindow::DoEraseBackground(dc->GetHDC());
3236 #else
3237 dc->SetBackground(wxBrush(GetBackgroundColour()));
3238 dc->Clear();
3239 return true;
3240 #endif
3241 }
3242
3243 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3244 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3245 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3246 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3247
3248 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3249 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3250 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3251
3252 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3253 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3254
3255 DEC_PYCALLBACK__(InitDialog);
3256 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3257 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3258 DEC_PYCALLBACK_BOOL_(Validate);
3259
3260 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3261 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3262 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3263
3264 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3265 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3266
3267 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3268 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3269
3270 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3271
3272 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3273
3274 PYPRIVATE;
3275 };
3276
3277 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3278
3279 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3280 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3281 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3282 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3283
3284 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3285 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3286 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3287
3288 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3289 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3290
3291 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3292 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3293 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3294 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3295
3296 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3297 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3298 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3299
3300 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3301 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3302
3303 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3304 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3305
3306 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3307
3308 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3309
3310 // C++ version of Python aware wxPanel
3311 class wxPyPanel : public wxPanel
3312 {
3313 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3314 public:
3315 wxPyPanel() : wxPanel() {}
3316 wxPyPanel(wxWindow* parent, const wxWindowID id,
3317 const wxPoint& pos = wxDefaultPosition,
3318 const wxSize& size = wxDefaultSize,
3319 long style = 0,
3320 const wxString& name = wxPyPanelNameStr)
3321 : wxPanel(parent, id, pos, size, style, name) {}
3322
3323 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3324 bool DoEraseBackground(wxDC* dc) {
3325 #ifdef __WXMSW__
3326 return wxWindow::DoEraseBackground(dc->GetHDC());
3327 #else
3328 dc->SetBackground(wxBrush(GetBackgroundColour()));
3329 dc->Clear();
3330 return true;
3331 #endif
3332 }
3333
3334
3335 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3336 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3337 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3338 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3339
3340 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3341 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3342 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3343
3344 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3345 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3346
3347 DEC_PYCALLBACK__(InitDialog);
3348 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3349 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3350 DEC_PYCALLBACK_BOOL_(Validate);
3351
3352 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3353 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3354 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3355
3356 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3357 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3358
3359 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3360 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3361
3362 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3363
3364 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3365
3366 PYPRIVATE;
3367 };
3368
3369 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3370
3371 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3372 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3373 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3374 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3375
3376 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3377 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3378 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3379
3380 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3381 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3382
3383 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3384 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3385 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3386 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3387
3388 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3389 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3390 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3391
3392 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3393 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3394
3395 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3396 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3397
3398 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3399
3400 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3401
3402 // C++ version of Python aware wxScrolledWindow
3403 class wxPyScrolledWindow : public wxScrolledWindow
3404 {
3405 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3406 public:
3407 wxPyScrolledWindow() : wxScrolledWindow() {}
3408 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3409 const wxPoint& pos = wxDefaultPosition,
3410 const wxSize& size = wxDefaultSize,
3411 long style = 0,
3412 const wxString& name = wxPyPanelNameStr)
3413 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3414
3415 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3416 bool DoEraseBackground(wxDC* dc) {
3417 #ifdef __WXMSW__
3418 return wxWindow::DoEraseBackground(dc->GetHDC());
3419 #else
3420 dc->SetBackground(wxBrush(GetBackgroundColour()));
3421 dc->Clear();
3422 return true;
3423 #endif
3424 }
3425
3426 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3427 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3428 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3429 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3430
3431 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3432 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3433 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3434
3435 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3436 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3437
3438 DEC_PYCALLBACK__(InitDialog);
3439 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3440 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3441 DEC_PYCALLBACK_BOOL_(Validate);
3442
3443 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3444 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3445 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3446
3447 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3448 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3449
3450 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3451 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3452
3453 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3454
3455 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3456
3457 PYPRIVATE;
3458 };
3459
3460 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3461
3462 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3463 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3464 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3465 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3466
3467 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3468 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3469 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3470
3471 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3472 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3473
3474 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3475 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3476 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3477 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3478
3479 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3480 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3481 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3482
3483 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3484 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3485
3486 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3487 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3488
3489 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3490
3491 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3492
3493
3494 #include "wx/wxPython/printfw.h"
3495
3496
3497 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3498 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3499 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3500 PyObject* data;
3501 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3502 data = PyString_FromStringAndSize(self->GetPrivData(),
3503 self->GetPrivDataLen());
3504 wxPyEndBlockThreads(blocked);
3505 return data;
3506 }
3507 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3508 if (! PyString_Check(data)) {
3509 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3510 "Expected string object"));
3511 return /* NULL */ ;
3512 }
3513
3514 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3515 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3516 wxPyEndBlockThreads(blocked);
3517 }
3518
3519
3520 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3521
3522 // Since this one would be tough and ugly to do with the Macros...
3523 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3524 bool hadErr = false;
3525 bool found;
3526
3527 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3528 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3529 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3530 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3531 PyObject* val;
3532
3533 val = PyTuple_GetItem(result, 0);
3534 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3535 else hadErr = true;
3536
3537 val = PyTuple_GetItem(result, 1);
3538 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3539 else hadErr = true;
3540
3541 val = PyTuple_GetItem(result, 2);
3542 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3543 else hadErr = true;
3544
3545 val = PyTuple_GetItem(result, 3);
3546 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3547 else hadErr = true;
3548 }
3549 else
3550 hadErr = true;
3551
3552 if (hadErr) {
3553 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3554 PyErr_Print();
3555 }
3556 Py_DECREF(result);
3557 }
3558 wxPyEndBlockThreads(blocked);
3559 if (! found)
3560 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3561 }
3562
3563
3564
3565 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3566 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3567 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3568 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3569 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3570 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3571 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3572
3573
3574
3575
3576
3577 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3578 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3579
3580
3581 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3582 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3583 bool rval=false; \
3584 bool found; \
3585 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3586 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3587 PyObject* win = wxPyMake_wxObject(a,false); \
3588 PyObject* dc = wxPyMake_wxObject(&b,false); \
3589 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3590 Py_DECREF(win); \
3591 Py_DECREF(dc); \
3592 } \
3593 wxPyEndBlockThreads(blocked); \
3594 if (! found) \
3595 rval = PCLASS::CBNAME(a, b); \
3596 return rval; \
3597 }
3598
3599
3600
3601
3602 class wxPyPrintPreview : public wxPrintPreview
3603 {
3604 DECLARE_CLASS(wxPyPrintPreview)
3605 public:
3606 wxPyPrintPreview(wxPyPrintout* printout,
3607 wxPyPrintout* printoutForPrinting,
3608 wxPrintDialogData* data=NULL)
3609 : wxPrintPreview(printout, printoutForPrinting, data)
3610 {}
3611 wxPyPrintPreview(wxPyPrintout* printout,
3612 wxPyPrintout* printoutForPrinting,
3613 wxPrintData* data)
3614 : wxPrintPreview(printout, printoutForPrinting, data)
3615 {}
3616
3617 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3618 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3619 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3620 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3621 DEC_PYCALLBACK_VOID_INT(SetZoom);
3622 DEC_PYCALLBACK_BOOL_BOOL(Print);
3623 DEC_PYCALLBACK_VOID_(DetermineScaling);
3624
3625 PYPRIVATE;
3626 };
3627
3628 // Stupid renamed classes... Fix this in 2.5...
3629 #if defined(__WXMSW__)
3630 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3631 #elif defined(__WXMAC__)
3632 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3633 #else
3634 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3635 #endif
3636
3637 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3638 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3639 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3640 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3641 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3642 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3643 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3644
3645
3646 class wxPyPreviewFrame : public wxPreviewFrame
3647 {
3648 DECLARE_CLASS(wxPyPreviewFrame)
3649 public:
3650 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3651 const wxString& title,
3652 const wxPoint& pos = wxDefaultPosition,
3653 const wxSize& size = wxDefaultSize,
3654 long style = wxDEFAULT_FRAME_STYLE,
3655 const wxString& name = wxPyFrameNameStr)
3656 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3657 {}
3658
3659 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3660 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3661
3662 DEC_PYCALLBACK_VOID_(Initialize);
3663 DEC_PYCALLBACK_VOID_(CreateCanvas);
3664 DEC_PYCALLBACK_VOID_(CreateControlBar);
3665
3666 PYPRIVATE;
3667 };
3668
3669 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3670
3671 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3672 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3673 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3674
3675
3676 class wxPyPreviewControlBar : public wxPreviewControlBar
3677 {
3678 DECLARE_CLASS(wxPyPreviewControlBar)
3679 public:
3680 wxPyPreviewControlBar(wxPrintPreview *preview,
3681 long buttons,
3682 wxWindow *parent,
3683 const wxPoint& pos = wxDefaultPosition,
3684 const wxSize& size = wxDefaultSize,
3685 long style = 0,
3686 const wxString& name = wxPyPanelNameStr)
3687 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3688 {}
3689
3690 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3691
3692 DEC_PYCALLBACK_VOID_(CreateButtons);
3693 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3694
3695 PYPRIVATE;
3696 };
3697
3698 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3699 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3700 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3701
3702 #ifdef __cplusplus
3703 extern "C" {
3704 #endif
3705 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3706 PyObject *resultobj = 0;
3707 wxWindow *arg1 = (wxWindow *) 0 ;
3708 int arg2 = (int) (int)-1 ;
3709 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3710 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3711 wxSize const &arg4_defvalue = wxDefaultSize ;
3712 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3713 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3714 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3715 wxString *arg6 = (wxString *) &arg6_defvalue ;
3716 wxPanel *result = 0 ;
3717 void *argp1 = 0 ;
3718 int res1 = 0 ;
3719 int val2 ;
3720 int ecode2 = 0 ;
3721 wxPoint temp3 ;
3722 wxSize temp4 ;
3723 long val5 ;
3724 int ecode5 = 0 ;
3725 bool temp6 = false ;
3726 PyObject * obj0 = 0 ;
3727 PyObject * obj1 = 0 ;
3728 PyObject * obj2 = 0 ;
3729 PyObject * obj3 = 0 ;
3730 PyObject * obj4 = 0 ;
3731 PyObject * obj5 = 0 ;
3732 char * kwnames[] = {
3733 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3734 };
3735
3736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3738 if (!SWIG_IsOK(res1)) {
3739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3740 }
3741 arg1 = reinterpret_cast< wxWindow * >(argp1);
3742 if (obj1) {
3743 ecode2 = SWIG_AsVal_int(obj1, &val2);
3744 if (!SWIG_IsOK(ecode2)) {
3745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3746 }
3747 arg2 = static_cast< int >(val2);
3748 }
3749 if (obj2) {
3750 {
3751 arg3 = &temp3;
3752 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3753 }
3754 }
3755 if (obj3) {
3756 {
3757 arg4 = &temp4;
3758 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3759 }
3760 }
3761 if (obj4) {
3762 ecode5 = SWIG_AsVal_long(obj4, &val5);
3763 if (!SWIG_IsOK(ecode5)) {
3764 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3765 }
3766 arg5 = static_cast< long >(val5);
3767 }
3768 if (obj5) {
3769 {
3770 arg6 = wxString_in_helper(obj5);
3771 if (arg6 == NULL) SWIG_fail;
3772 temp6 = true;
3773 }
3774 }
3775 {
3776 if (!wxPyCheckForApp()) SWIG_fail;
3777 PyThreadState* __tstate = wxPyBeginAllowThreads();
3778 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3779 wxPyEndAllowThreads(__tstate);
3780 if (PyErr_Occurred()) SWIG_fail;
3781 }
3782 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3783 {
3784 if (temp6)
3785 delete arg6;
3786 }
3787 return resultobj;
3788 fail:
3789 {
3790 if (temp6)
3791 delete arg6;
3792 }
3793 return NULL;
3794 }
3795
3796
3797 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3798 PyObject *resultobj = 0;
3799 wxPanel *result = 0 ;
3800
3801 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3802 {
3803 if (!wxPyCheckForApp()) SWIG_fail;
3804 PyThreadState* __tstate = wxPyBeginAllowThreads();
3805 result = (wxPanel *)new wxPanel();
3806 wxPyEndAllowThreads(__tstate);
3807 if (PyErr_Occurred()) SWIG_fail;
3808 }
3809 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3810 return resultobj;
3811 fail:
3812 return NULL;
3813 }
3814
3815
3816 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3817 PyObject *resultobj = 0;
3818 wxPanel *arg1 = (wxPanel *) 0 ;
3819 wxWindow *arg2 = (wxWindow *) 0 ;
3820 int arg3 = (int) (int)-1 ;
3821 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3822 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3823 wxSize const &arg5_defvalue = wxDefaultSize ;
3824 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3825 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3826 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3827 wxString *arg7 = (wxString *) &arg7_defvalue ;
3828 bool result;
3829 void *argp1 = 0 ;
3830 int res1 = 0 ;
3831 void *argp2 = 0 ;
3832 int res2 = 0 ;
3833 int val3 ;
3834 int ecode3 = 0 ;
3835 wxPoint temp4 ;
3836 wxSize temp5 ;
3837 long val6 ;
3838 int ecode6 = 0 ;
3839 bool temp7 = false ;
3840 PyObject * obj0 = 0 ;
3841 PyObject * obj1 = 0 ;
3842 PyObject * obj2 = 0 ;
3843 PyObject * obj3 = 0 ;
3844 PyObject * obj4 = 0 ;
3845 PyObject * obj5 = 0 ;
3846 PyObject * obj6 = 0 ;
3847 char * kwnames[] = {
3848 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3849 };
3850
3851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3853 if (!SWIG_IsOK(res1)) {
3854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3855 }
3856 arg1 = reinterpret_cast< wxPanel * >(argp1);
3857 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3858 if (!SWIG_IsOK(res2)) {
3859 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3860 }
3861 arg2 = reinterpret_cast< wxWindow * >(argp2);
3862 if (obj2) {
3863 ecode3 = SWIG_AsVal_int(obj2, &val3);
3864 if (!SWIG_IsOK(ecode3)) {
3865 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3866 }
3867 arg3 = static_cast< int >(val3);
3868 }
3869 if (obj3) {
3870 {
3871 arg4 = &temp4;
3872 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3873 }
3874 }
3875 if (obj4) {
3876 {
3877 arg5 = &temp5;
3878 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3879 }
3880 }
3881 if (obj5) {
3882 ecode6 = SWIG_AsVal_long(obj5, &val6);
3883 if (!SWIG_IsOK(ecode6)) {
3884 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3885 }
3886 arg6 = static_cast< long >(val6);
3887 }
3888 if (obj6) {
3889 {
3890 arg7 = wxString_in_helper(obj6);
3891 if (arg7 == NULL) SWIG_fail;
3892 temp7 = true;
3893 }
3894 }
3895 {
3896 PyThreadState* __tstate = wxPyBeginAllowThreads();
3897 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3898 wxPyEndAllowThreads(__tstate);
3899 if (PyErr_Occurred()) SWIG_fail;
3900 }
3901 {
3902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3903 }
3904 {
3905 if (temp7)
3906 delete arg7;
3907 }
3908 return resultobj;
3909 fail:
3910 {
3911 if (temp7)
3912 delete arg7;
3913 }
3914 return NULL;
3915 }
3916
3917
3918 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3919 PyObject *resultobj = 0;
3920 wxPanel *arg1 = (wxPanel *) 0 ;
3921 void *argp1 = 0 ;
3922 int res1 = 0 ;
3923 PyObject *swig_obj[1] ;
3924
3925 if (!args) SWIG_fail;
3926 swig_obj[0] = args;
3927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3928 if (!SWIG_IsOK(res1)) {
3929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3930 }
3931 arg1 = reinterpret_cast< wxPanel * >(argp1);
3932 {
3933 PyThreadState* __tstate = wxPyBeginAllowThreads();
3934 (arg1)->SetFocusIgnoringChildren();
3935 wxPyEndAllowThreads(__tstate);
3936 if (PyErr_Occurred()) SWIG_fail;
3937 }
3938 resultobj = SWIG_Py_Void();
3939 return resultobj;
3940 fail:
3941 return NULL;
3942 }
3943
3944
3945 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3946 PyObject *resultobj = 0;
3947 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3948 SwigValueWrapper<wxVisualAttributes > result;
3949 int val1 ;
3950 int ecode1 = 0 ;
3951 PyObject * obj0 = 0 ;
3952 char * kwnames[] = {
3953 (char *) "variant", NULL
3954 };
3955
3956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3957 if (obj0) {
3958 ecode1 = SWIG_AsVal_int(obj0, &val1);
3959 if (!SWIG_IsOK(ecode1)) {
3960 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3961 }
3962 arg1 = static_cast< wxWindowVariant >(val1);
3963 }
3964 {
3965 if (!wxPyCheckForApp()) SWIG_fail;
3966 PyThreadState* __tstate = wxPyBeginAllowThreads();
3967 result = wxPanel::GetClassDefaultAttributes(arg1);
3968 wxPyEndAllowThreads(__tstate);
3969 if (PyErr_Occurred()) SWIG_fail;
3970 }
3971 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3972 return resultobj;
3973 fail:
3974 return NULL;
3975 }
3976
3977
3978 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3979 PyObject *obj;
3980 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3981 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
3982 return SWIG_Py_Void();
3983 }
3984
3985 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3986 return SWIG_Python_InitShadowInstance(args);
3987 }
3988
3989 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3990 PyObject *resultobj = 0;
3991 wxWindow *arg1 = (wxWindow *) 0 ;
3992 int arg2 = (int) (int)-1 ;
3993 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3994 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3995 wxSize const &arg4_defvalue = wxDefaultSize ;
3996 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3997 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
3998 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3999 wxString *arg6 = (wxString *) &arg6_defvalue ;
4000 wxScrolledWindow *result = 0 ;
4001 void *argp1 = 0 ;
4002 int res1 = 0 ;
4003 int val2 ;
4004 int ecode2 = 0 ;
4005 wxPoint temp3 ;
4006 wxSize temp4 ;
4007 long val5 ;
4008 int ecode5 = 0 ;
4009 bool temp6 = false ;
4010 PyObject * obj0 = 0 ;
4011 PyObject * obj1 = 0 ;
4012 PyObject * obj2 = 0 ;
4013 PyObject * obj3 = 0 ;
4014 PyObject * obj4 = 0 ;
4015 PyObject * obj5 = 0 ;
4016 char * kwnames[] = {
4017 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4018 };
4019
4020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4022 if (!SWIG_IsOK(res1)) {
4023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4024 }
4025 arg1 = reinterpret_cast< wxWindow * >(argp1);
4026 if (obj1) {
4027 ecode2 = SWIG_AsVal_int(obj1, &val2);
4028 if (!SWIG_IsOK(ecode2)) {
4029 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4030 }
4031 arg2 = static_cast< int >(val2);
4032 }
4033 if (obj2) {
4034 {
4035 arg3 = &temp3;
4036 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4037 }
4038 }
4039 if (obj3) {
4040 {
4041 arg4 = &temp4;
4042 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4043 }
4044 }
4045 if (obj4) {
4046 ecode5 = SWIG_AsVal_long(obj4, &val5);
4047 if (!SWIG_IsOK(ecode5)) {
4048 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4049 }
4050 arg5 = static_cast< long >(val5);
4051 }
4052 if (obj5) {
4053 {
4054 arg6 = wxString_in_helper(obj5);
4055 if (arg6 == NULL) SWIG_fail;
4056 temp6 = true;
4057 }
4058 }
4059 {
4060 if (!wxPyCheckForApp()) SWIG_fail;
4061 PyThreadState* __tstate = wxPyBeginAllowThreads();
4062 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4063 wxPyEndAllowThreads(__tstate);
4064 if (PyErr_Occurred()) SWIG_fail;
4065 }
4066 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4067 {
4068 if (temp6)
4069 delete arg6;
4070 }
4071 return resultobj;
4072 fail:
4073 {
4074 if (temp6)
4075 delete arg6;
4076 }
4077 return NULL;
4078 }
4079
4080
4081 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4082 PyObject *resultobj = 0;
4083 wxScrolledWindow *result = 0 ;
4084
4085 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4086 {
4087 if (!wxPyCheckForApp()) SWIG_fail;
4088 PyThreadState* __tstate = wxPyBeginAllowThreads();
4089 result = (wxScrolledWindow *)new wxScrolledWindow();
4090 wxPyEndAllowThreads(__tstate);
4091 if (PyErr_Occurred()) SWIG_fail;
4092 }
4093 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4094 return resultobj;
4095 fail:
4096 return NULL;
4097 }
4098
4099
4100 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4101 PyObject *resultobj = 0;
4102 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4103 wxWindow *arg2 = (wxWindow *) 0 ;
4104 int arg3 = (int) (int)-1 ;
4105 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4106 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4107 wxSize const &arg5_defvalue = wxDefaultSize ;
4108 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4109 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4110 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4111 wxString *arg7 = (wxString *) &arg7_defvalue ;
4112 bool result;
4113 void *argp1 = 0 ;
4114 int res1 = 0 ;
4115 void *argp2 = 0 ;
4116 int res2 = 0 ;
4117 int val3 ;
4118 int ecode3 = 0 ;
4119 wxPoint temp4 ;
4120 wxSize temp5 ;
4121 long val6 ;
4122 int ecode6 = 0 ;
4123 bool temp7 = false ;
4124 PyObject * obj0 = 0 ;
4125 PyObject * obj1 = 0 ;
4126 PyObject * obj2 = 0 ;
4127 PyObject * obj3 = 0 ;
4128 PyObject * obj4 = 0 ;
4129 PyObject * obj5 = 0 ;
4130 PyObject * obj6 = 0 ;
4131 char * kwnames[] = {
4132 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4133 };
4134
4135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4137 if (!SWIG_IsOK(res1)) {
4138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4139 }
4140 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4141 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4142 if (!SWIG_IsOK(res2)) {
4143 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4144 }
4145 arg2 = reinterpret_cast< wxWindow * >(argp2);
4146 if (obj2) {
4147 ecode3 = SWIG_AsVal_int(obj2, &val3);
4148 if (!SWIG_IsOK(ecode3)) {
4149 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4150 }
4151 arg3 = static_cast< int >(val3);
4152 }
4153 if (obj3) {
4154 {
4155 arg4 = &temp4;
4156 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4157 }
4158 }
4159 if (obj4) {
4160 {
4161 arg5 = &temp5;
4162 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4163 }
4164 }
4165 if (obj5) {
4166 ecode6 = SWIG_AsVal_long(obj5, &val6);
4167 if (!SWIG_IsOK(ecode6)) {
4168 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4169 }
4170 arg6 = static_cast< long >(val6);
4171 }
4172 if (obj6) {
4173 {
4174 arg7 = wxString_in_helper(obj6);
4175 if (arg7 == NULL) SWIG_fail;
4176 temp7 = true;
4177 }
4178 }
4179 {
4180 PyThreadState* __tstate = wxPyBeginAllowThreads();
4181 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4182 wxPyEndAllowThreads(__tstate);
4183 if (PyErr_Occurred()) SWIG_fail;
4184 }
4185 {
4186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4187 }
4188 {
4189 if (temp7)
4190 delete arg7;
4191 }
4192 return resultobj;
4193 fail:
4194 {
4195 if (temp7)
4196 delete arg7;
4197 }
4198 return NULL;
4199 }
4200
4201
4202 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4203 PyObject *resultobj = 0;
4204 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4205 int arg2 ;
4206 int arg3 ;
4207 int arg4 ;
4208 int arg5 ;
4209 int arg6 = (int) 0 ;
4210 int arg7 = (int) 0 ;
4211 bool arg8 = (bool) false ;
4212 void *argp1 = 0 ;
4213 int res1 = 0 ;
4214 int val2 ;
4215 int ecode2 = 0 ;
4216 int val3 ;
4217 int ecode3 = 0 ;
4218 int val4 ;
4219 int ecode4 = 0 ;
4220 int val5 ;
4221 int ecode5 = 0 ;
4222 int val6 ;
4223 int ecode6 = 0 ;
4224 int val7 ;
4225 int ecode7 = 0 ;
4226 bool val8 ;
4227 int ecode8 = 0 ;
4228 PyObject * obj0 = 0 ;
4229 PyObject * obj1 = 0 ;
4230 PyObject * obj2 = 0 ;
4231 PyObject * obj3 = 0 ;
4232 PyObject * obj4 = 0 ;
4233 PyObject * obj5 = 0 ;
4234 PyObject * obj6 = 0 ;
4235 PyObject * obj7 = 0 ;
4236 char * kwnames[] = {
4237 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4238 };
4239
4240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4242 if (!SWIG_IsOK(res1)) {
4243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4244 }
4245 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4246 ecode2 = SWIG_AsVal_int(obj1, &val2);
4247 if (!SWIG_IsOK(ecode2)) {
4248 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4249 }
4250 arg2 = static_cast< int >(val2);
4251 ecode3 = SWIG_AsVal_int(obj2, &val3);
4252 if (!SWIG_IsOK(ecode3)) {
4253 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4254 }
4255 arg3 = static_cast< int >(val3);
4256 ecode4 = SWIG_AsVal_int(obj3, &val4);
4257 if (!SWIG_IsOK(ecode4)) {
4258 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4259 }
4260 arg4 = static_cast< int >(val4);
4261 ecode5 = SWIG_AsVal_int(obj4, &val5);
4262 if (!SWIG_IsOK(ecode5)) {
4263 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4264 }
4265 arg5 = static_cast< int >(val5);
4266 if (obj5) {
4267 ecode6 = SWIG_AsVal_int(obj5, &val6);
4268 if (!SWIG_IsOK(ecode6)) {
4269 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4270 }
4271 arg6 = static_cast< int >(val6);
4272 }
4273 if (obj6) {
4274 ecode7 = SWIG_AsVal_int(obj6, &val7);
4275 if (!SWIG_IsOK(ecode7)) {
4276 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4277 }
4278 arg7 = static_cast< int >(val7);
4279 }
4280 if (obj7) {
4281 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4282 if (!SWIG_IsOK(ecode8)) {
4283 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4284 }
4285 arg8 = static_cast< bool >(val8);
4286 }
4287 {
4288 PyThreadState* __tstate = wxPyBeginAllowThreads();
4289 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4290 wxPyEndAllowThreads(__tstate);
4291 if (PyErr_Occurred()) SWIG_fail;
4292 }
4293 resultobj = SWIG_Py_Void();
4294 return resultobj;
4295 fail:
4296 return NULL;
4297 }
4298
4299
4300 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4301 PyObject *resultobj = 0;
4302 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4303 int arg2 ;
4304 int arg3 ;
4305 void *argp1 = 0 ;
4306 int res1 = 0 ;
4307 int val2 ;
4308 int ecode2 = 0 ;
4309 int val3 ;
4310 int ecode3 = 0 ;
4311 PyObject * obj0 = 0 ;
4312 PyObject * obj1 = 0 ;
4313 PyObject * obj2 = 0 ;
4314 char * kwnames[] = {
4315 (char *) "self",(char *) "x",(char *) "y", NULL
4316 };
4317
4318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4320 if (!SWIG_IsOK(res1)) {
4321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4322 }
4323 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4324 ecode2 = SWIG_AsVal_int(obj1, &val2);
4325 if (!SWIG_IsOK(ecode2)) {
4326 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4327 }
4328 arg2 = static_cast< int >(val2);
4329 ecode3 = SWIG_AsVal_int(obj2, &val3);
4330 if (!SWIG_IsOK(ecode3)) {
4331 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4332 }
4333 arg3 = static_cast< int >(val3);
4334 {
4335 PyThreadState* __tstate = wxPyBeginAllowThreads();
4336 (arg1)->Scroll(arg2,arg3);
4337 wxPyEndAllowThreads(__tstate);
4338 if (PyErr_Occurred()) SWIG_fail;
4339 }
4340 resultobj = SWIG_Py_Void();
4341 return resultobj;
4342 fail:
4343 return NULL;
4344 }
4345
4346
4347 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4348 PyObject *resultobj = 0;
4349 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4350 int arg2 ;
4351 int result;
4352 void *argp1 = 0 ;
4353 int res1 = 0 ;
4354 int val2 ;
4355 int ecode2 = 0 ;
4356 PyObject * obj0 = 0 ;
4357 PyObject * obj1 = 0 ;
4358 char * kwnames[] = {
4359 (char *) "self",(char *) "orient", NULL
4360 };
4361
4362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4364 if (!SWIG_IsOK(res1)) {
4365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4366 }
4367 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4368 ecode2 = SWIG_AsVal_int(obj1, &val2);
4369 if (!SWIG_IsOK(ecode2)) {
4370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4371 }
4372 arg2 = static_cast< int >(val2);
4373 {
4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
4375 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4376 wxPyEndAllowThreads(__tstate);
4377 if (PyErr_Occurred()) SWIG_fail;
4378 }
4379 resultobj = SWIG_From_int(static_cast< int >(result));
4380 return resultobj;
4381 fail:
4382 return NULL;
4383 }
4384
4385
4386 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4387 PyObject *resultobj = 0;
4388 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4389 int arg2 ;
4390 int arg3 ;
4391 void *argp1 = 0 ;
4392 int res1 = 0 ;
4393 int val2 ;
4394 int ecode2 = 0 ;
4395 int val3 ;
4396 int ecode3 = 0 ;
4397 PyObject * obj0 = 0 ;
4398 PyObject * obj1 = 0 ;
4399 PyObject * obj2 = 0 ;
4400 char * kwnames[] = {
4401 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4402 };
4403
4404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4406 if (!SWIG_IsOK(res1)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4408 }
4409 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4410 ecode2 = SWIG_AsVal_int(obj1, &val2);
4411 if (!SWIG_IsOK(ecode2)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4413 }
4414 arg2 = static_cast< int >(val2);
4415 ecode3 = SWIG_AsVal_int(obj2, &val3);
4416 if (!SWIG_IsOK(ecode3)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4418 }
4419 arg3 = static_cast< int >(val3);
4420 {
4421 PyThreadState* __tstate = wxPyBeginAllowThreads();
4422 (arg1)->SetScrollPageSize(arg2,arg3);
4423 wxPyEndAllowThreads(__tstate);
4424 if (PyErr_Occurred()) SWIG_fail;
4425 }
4426 resultobj = SWIG_Py_Void();
4427 return resultobj;
4428 fail:
4429 return NULL;
4430 }
4431
4432
4433 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4434 PyObject *resultobj = 0;
4435 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4436 int arg2 ;
4437 int arg3 ;
4438 void *argp1 = 0 ;
4439 int res1 = 0 ;
4440 int val2 ;
4441 int ecode2 = 0 ;
4442 int val3 ;
4443 int ecode3 = 0 ;
4444 PyObject * obj0 = 0 ;
4445 PyObject * obj1 = 0 ;
4446 PyObject * obj2 = 0 ;
4447 char * kwnames[] = {
4448 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4449 };
4450
4451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4453 if (!SWIG_IsOK(res1)) {
4454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4455 }
4456 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4457 ecode2 = SWIG_AsVal_int(obj1, &val2);
4458 if (!SWIG_IsOK(ecode2)) {
4459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4460 }
4461 arg2 = static_cast< int >(val2);
4462 ecode3 = SWIG_AsVal_int(obj2, &val3);
4463 if (!SWIG_IsOK(ecode3)) {
4464 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4465 }
4466 arg3 = static_cast< int >(val3);
4467 {
4468 PyThreadState* __tstate = wxPyBeginAllowThreads();
4469 (arg1)->SetScrollRate(arg2,arg3);
4470 wxPyEndAllowThreads(__tstate);
4471 if (PyErr_Occurred()) SWIG_fail;
4472 }
4473 resultobj = SWIG_Py_Void();
4474 return resultobj;
4475 fail:
4476 return NULL;
4477 }
4478
4479
4480 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4481 PyObject *resultobj = 0;
4482 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4483 int *arg2 = (int *) 0 ;
4484 int *arg3 = (int *) 0 ;
4485 void *argp1 = 0 ;
4486 int res1 = 0 ;
4487 int temp2 ;
4488 int res2 = SWIG_TMPOBJ ;
4489 int temp3 ;
4490 int res3 = SWIG_TMPOBJ ;
4491 PyObject *swig_obj[1] ;
4492
4493 arg2 = &temp2;
4494 arg3 = &temp3;
4495 if (!args) SWIG_fail;
4496 swig_obj[0] = args;
4497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4498 if (!SWIG_IsOK(res1)) {
4499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4500 }
4501 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4502 {
4503 PyThreadState* __tstate = wxPyBeginAllowThreads();
4504 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4505 wxPyEndAllowThreads(__tstate);
4506 if (PyErr_Occurred()) SWIG_fail;
4507 }
4508 resultobj = SWIG_Py_Void();
4509 if (SWIG_IsTmpObj(res2)) {
4510 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4511 } else {
4512 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4513 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4514 }
4515 if (SWIG_IsTmpObj(res3)) {
4516 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4517 } else {
4518 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4519 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4520 }
4521 return resultobj;
4522 fail:
4523 return NULL;
4524 }
4525
4526
4527 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4528 PyObject *resultobj = 0;
4529 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4530 bool arg2 ;
4531 bool arg3 ;
4532 void *argp1 = 0 ;
4533 int res1 = 0 ;
4534 bool val2 ;
4535 int ecode2 = 0 ;
4536 bool val3 ;
4537 int ecode3 = 0 ;
4538 PyObject * obj0 = 0 ;
4539 PyObject * obj1 = 0 ;
4540 PyObject * obj2 = 0 ;
4541 char * kwnames[] = {
4542 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4543 };
4544
4545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4547 if (!SWIG_IsOK(res1)) {
4548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4549 }
4550 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4551 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4552 if (!SWIG_IsOK(ecode2)) {
4553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4554 }
4555 arg2 = static_cast< bool >(val2);
4556 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4557 if (!SWIG_IsOK(ecode3)) {
4558 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4559 }
4560 arg3 = static_cast< bool >(val3);
4561 {
4562 PyThreadState* __tstate = wxPyBeginAllowThreads();
4563 (arg1)->EnableScrolling(arg2,arg3);
4564 wxPyEndAllowThreads(__tstate);
4565 if (PyErr_Occurred()) SWIG_fail;
4566 }
4567 resultobj = SWIG_Py_Void();
4568 return resultobj;
4569 fail:
4570 return NULL;
4571 }
4572
4573
4574 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4575 PyObject *resultobj = 0;
4576 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4577 int *arg2 = (int *) 0 ;
4578 int *arg3 = (int *) 0 ;
4579 void *argp1 = 0 ;
4580 int res1 = 0 ;
4581 int temp2 ;
4582 int res2 = SWIG_TMPOBJ ;
4583 int temp3 ;
4584 int res3 = SWIG_TMPOBJ ;
4585 PyObject *swig_obj[1] ;
4586
4587 arg2 = &temp2;
4588 arg3 = &temp3;
4589 if (!args) SWIG_fail;
4590 swig_obj[0] = args;
4591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4592 if (!SWIG_IsOK(res1)) {
4593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4594 }
4595 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4596 {
4597 PyThreadState* __tstate = wxPyBeginAllowThreads();
4598 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4599 wxPyEndAllowThreads(__tstate);
4600 if (PyErr_Occurred()) SWIG_fail;
4601 }
4602 resultobj = SWIG_Py_Void();
4603 if (SWIG_IsTmpObj(res2)) {
4604 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4605 } else {
4606 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4607 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4608 }
4609 if (SWIG_IsTmpObj(res3)) {
4610 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4611 } else {
4612 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4613 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4614 }
4615 return resultobj;
4616 fail:
4617 return NULL;
4618 }
4619
4620
4621 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4622 PyObject *resultobj = 0;
4623 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4624 double arg2 ;
4625 double arg3 ;
4626 void *argp1 = 0 ;
4627 int res1 = 0 ;
4628 double val2 ;
4629 int ecode2 = 0 ;
4630 double val3 ;
4631 int ecode3 = 0 ;
4632 PyObject * obj0 = 0 ;
4633 PyObject * obj1 = 0 ;
4634 PyObject * obj2 = 0 ;
4635 char * kwnames[] = {
4636 (char *) "self",(char *) "xs",(char *) "ys", NULL
4637 };
4638
4639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4641 if (!SWIG_IsOK(res1)) {
4642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4643 }
4644 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4645 ecode2 = SWIG_AsVal_double(obj1, &val2);
4646 if (!SWIG_IsOK(ecode2)) {
4647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4648 }
4649 arg2 = static_cast< double >(val2);
4650 ecode3 = SWIG_AsVal_double(obj2, &val3);
4651 if (!SWIG_IsOK(ecode3)) {
4652 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4653 }
4654 arg3 = static_cast< double >(val3);
4655 {
4656 PyThreadState* __tstate = wxPyBeginAllowThreads();
4657 (arg1)->SetScale(arg2,arg3);
4658 wxPyEndAllowThreads(__tstate);
4659 if (PyErr_Occurred()) SWIG_fail;
4660 }
4661 resultobj = SWIG_Py_Void();
4662 return resultobj;
4663 fail:
4664 return NULL;
4665 }
4666
4667
4668 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4669 PyObject *resultobj = 0;
4670 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4671 double result;
4672 void *argp1 = 0 ;
4673 int res1 = 0 ;
4674 PyObject *swig_obj[1] ;
4675
4676 if (!args) SWIG_fail;
4677 swig_obj[0] = args;
4678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4679 if (!SWIG_IsOK(res1)) {
4680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4681 }
4682 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4683 {
4684 PyThreadState* __tstate = wxPyBeginAllowThreads();
4685 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4686 wxPyEndAllowThreads(__tstate);
4687 if (PyErr_Occurred()) SWIG_fail;
4688 }
4689 resultobj = SWIG_From_double(static_cast< double >(result));
4690 return resultobj;
4691 fail:
4692 return NULL;
4693 }
4694
4695
4696 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4697 PyObject *resultobj = 0;
4698 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4699 double result;
4700 void *argp1 = 0 ;
4701 int res1 = 0 ;
4702 PyObject *swig_obj[1] ;
4703
4704 if (!args) SWIG_fail;
4705 swig_obj[0] = args;
4706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4707 if (!SWIG_IsOK(res1)) {
4708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4709 }
4710 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4711 {
4712 PyThreadState* __tstate = wxPyBeginAllowThreads();
4713 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4714 wxPyEndAllowThreads(__tstate);
4715 if (PyErr_Occurred()) SWIG_fail;
4716 }
4717 resultobj = SWIG_From_double(static_cast< double >(result));
4718 return resultobj;
4719 fail:
4720 return NULL;
4721 }
4722
4723
4724 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4725 PyObject *resultobj = 0;
4726 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4727 wxPoint *arg2 = 0 ;
4728 wxPoint result;
4729 void *argp1 = 0 ;
4730 int res1 = 0 ;
4731 wxPoint temp2 ;
4732
4733 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4734 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4735 if (!SWIG_IsOK(res1)) {
4736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4737 }
4738 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4739 {
4740 arg2 = &temp2;
4741 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4742 }
4743 {
4744 PyThreadState* __tstate = wxPyBeginAllowThreads();
4745 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4746 wxPyEndAllowThreads(__tstate);
4747 if (PyErr_Occurred()) SWIG_fail;
4748 }
4749 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4750 return resultobj;
4751 fail:
4752 return NULL;
4753 }
4754
4755
4756 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4757 PyObject *resultobj = 0;
4758 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4759 int arg2 ;
4760 int arg3 ;
4761 int *arg4 = (int *) 0 ;
4762 int *arg5 = (int *) 0 ;
4763 void *argp1 = 0 ;
4764 int res1 = 0 ;
4765 int val2 ;
4766 int ecode2 = 0 ;
4767 int val3 ;
4768 int ecode3 = 0 ;
4769 int temp4 ;
4770 int res4 = SWIG_TMPOBJ ;
4771 int temp5 ;
4772 int res5 = SWIG_TMPOBJ ;
4773
4774 arg4 = &temp4;
4775 arg5 = &temp5;
4776 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4778 if (!SWIG_IsOK(res1)) {
4779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4780 }
4781 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4782 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4783 if (!SWIG_IsOK(ecode2)) {
4784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4785 }
4786 arg2 = static_cast< int >(val2);
4787 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4788 if (!SWIG_IsOK(ecode3)) {
4789 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4790 }
4791 arg3 = static_cast< int >(val3);
4792 {
4793 PyThreadState* __tstate = wxPyBeginAllowThreads();
4794 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4795 wxPyEndAllowThreads(__tstate);
4796 if (PyErr_Occurred()) SWIG_fail;
4797 }
4798 resultobj = SWIG_Py_Void();
4799 if (SWIG_IsTmpObj(res4)) {
4800 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4801 } else {
4802 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4803 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4804 }
4805 if (SWIG_IsTmpObj(res5)) {
4806 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4807 } else {
4808 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4809 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4810 }
4811 return resultobj;
4812 fail:
4813 return NULL;
4814 }
4815
4816
4817 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4818 int argc;
4819 PyObject *argv[4];
4820
4821 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4822 --argc;
4823 if (argc == 2) {
4824 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4825 }
4826 if (argc == 3) {
4827 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4828 }
4829
4830 fail:
4831 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4832 return NULL;
4833 }
4834
4835
4836 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4837 PyObject *resultobj = 0;
4838 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4839 wxPoint *arg2 = 0 ;
4840 wxPoint result;
4841 void *argp1 = 0 ;
4842 int res1 = 0 ;
4843 wxPoint temp2 ;
4844
4845 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4847 if (!SWIG_IsOK(res1)) {
4848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4849 }
4850 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4851 {
4852 arg2 = &temp2;
4853 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4854 }
4855 {
4856 PyThreadState* __tstate = wxPyBeginAllowThreads();
4857 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4858 wxPyEndAllowThreads(__tstate);
4859 if (PyErr_Occurred()) SWIG_fail;
4860 }
4861 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4862 return resultobj;
4863 fail:
4864 return NULL;
4865 }
4866
4867
4868 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4869 PyObject *resultobj = 0;
4870 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4871 int arg2 ;
4872 int arg3 ;
4873 int *arg4 = (int *) 0 ;
4874 int *arg5 = (int *) 0 ;
4875 void *argp1 = 0 ;
4876 int res1 = 0 ;
4877 int val2 ;
4878 int ecode2 = 0 ;
4879 int val3 ;
4880 int ecode3 = 0 ;
4881 int temp4 ;
4882 int res4 = SWIG_TMPOBJ ;
4883 int temp5 ;
4884 int res5 = SWIG_TMPOBJ ;
4885
4886 arg4 = &temp4;
4887 arg5 = &temp5;
4888 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4890 if (!SWIG_IsOK(res1)) {
4891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4892 }
4893 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4894 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4895 if (!SWIG_IsOK(ecode2)) {
4896 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4897 }
4898 arg2 = static_cast< int >(val2);
4899 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4900 if (!SWIG_IsOK(ecode3)) {
4901 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4902 }
4903 arg3 = static_cast< int >(val3);
4904 {
4905 PyThreadState* __tstate = wxPyBeginAllowThreads();
4906 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4907 wxPyEndAllowThreads(__tstate);
4908 if (PyErr_Occurred()) SWIG_fail;
4909 }
4910 resultobj = SWIG_Py_Void();
4911 if (SWIG_IsTmpObj(res4)) {
4912 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4913 } else {
4914 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4915 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4916 }
4917 if (SWIG_IsTmpObj(res5)) {
4918 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4919 } else {
4920 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4921 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4922 }
4923 return resultobj;
4924 fail:
4925 return NULL;
4926 }
4927
4928
4929 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4930 int argc;
4931 PyObject *argv[4];
4932
4933 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4934 --argc;
4935 if (argc == 2) {
4936 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4937 }
4938 if (argc == 3) {
4939 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4940 }
4941
4942 fail:
4943 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4944 return NULL;
4945 }
4946
4947
4948 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4949 PyObject *resultobj = 0;
4950 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4951 void *argp1 = 0 ;
4952 int res1 = 0 ;
4953 PyObject *swig_obj[1] ;
4954
4955 if (!args) SWIG_fail;
4956 swig_obj[0] = args;
4957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4958 if (!SWIG_IsOK(res1)) {
4959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4960 }
4961 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4962 {
4963 PyThreadState* __tstate = wxPyBeginAllowThreads();
4964 (arg1)->AdjustScrollbars();
4965 wxPyEndAllowThreads(__tstate);
4966 if (PyErr_Occurred()) SWIG_fail;
4967 }
4968 resultobj = SWIG_Py_Void();
4969 return resultobj;
4970 fail:
4971 return NULL;
4972 }
4973
4974
4975 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4976 PyObject *resultobj = 0;
4977 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4978 wxScrollWinEvent *arg2 = 0 ;
4979 int result;
4980 void *argp1 = 0 ;
4981 int res1 = 0 ;
4982 void *argp2 = 0 ;
4983 int res2 = 0 ;
4984 PyObject * obj0 = 0 ;
4985 PyObject * obj1 = 0 ;
4986 char * kwnames[] = {
4987 (char *) "self",(char *) "event", NULL
4988 };
4989
4990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
4991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4992 if (!SWIG_IsOK(res1)) {
4993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4994 }
4995 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4996 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
4997 if (!SWIG_IsOK(res2)) {
4998 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
4999 }
5000 if (!argp2) {
5001 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5002 }
5003 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5004 {
5005 PyThreadState* __tstate = wxPyBeginAllowThreads();
5006 result = (int)(arg1)->CalcScrollInc(*arg2);
5007 wxPyEndAllowThreads(__tstate);
5008 if (PyErr_Occurred()) SWIG_fail;
5009 }
5010 resultobj = SWIG_From_int(static_cast< int >(result));
5011 return resultobj;
5012 fail:
5013 return NULL;
5014 }
5015
5016
5017 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5018 PyObject *resultobj = 0;
5019 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5020 wxWindow *arg2 = (wxWindow *) 0 ;
5021 void *argp1 = 0 ;
5022 int res1 = 0 ;
5023 void *argp2 = 0 ;
5024 int res2 = 0 ;
5025 PyObject * obj0 = 0 ;
5026 PyObject * obj1 = 0 ;
5027 char * kwnames[] = {
5028 (char *) "self",(char *) "target", NULL
5029 };
5030
5031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5033 if (!SWIG_IsOK(res1)) {
5034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5035 }
5036 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5037 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5038 if (!SWIG_IsOK(res2)) {
5039 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5040 }
5041 arg2 = reinterpret_cast< wxWindow * >(argp2);
5042 {
5043 PyThreadState* __tstate = wxPyBeginAllowThreads();
5044 (arg1)->SetTargetWindow(arg2);
5045 wxPyEndAllowThreads(__tstate);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 }
5048 resultobj = SWIG_Py_Void();
5049 return resultobj;
5050 fail:
5051 return NULL;
5052 }
5053
5054
5055 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5056 PyObject *resultobj = 0;
5057 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5058 wxWindow *result = 0 ;
5059 void *argp1 = 0 ;
5060 int res1 = 0 ;
5061 PyObject *swig_obj[1] ;
5062
5063 if (!args) SWIG_fail;
5064 swig_obj[0] = args;
5065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5066 if (!SWIG_IsOK(res1)) {
5067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5068 }
5069 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5070 {
5071 PyThreadState* __tstate = wxPyBeginAllowThreads();
5072 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5073 wxPyEndAllowThreads(__tstate);
5074 if (PyErr_Occurred()) SWIG_fail;
5075 }
5076 {
5077 resultobj = wxPyMake_wxObject(result, 0);
5078 }
5079 return resultobj;
5080 fail:
5081 return NULL;
5082 }
5083
5084
5085 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5086 PyObject *resultobj = 0;
5087 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5088 wxRect *arg2 = 0 ;
5089 void *argp1 = 0 ;
5090 int res1 = 0 ;
5091 wxRect temp2 ;
5092 PyObject * obj0 = 0 ;
5093 PyObject * obj1 = 0 ;
5094 char * kwnames[] = {
5095 (char *) "self",(char *) "rect", NULL
5096 };
5097
5098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5100 if (!SWIG_IsOK(res1)) {
5101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5102 }
5103 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5104 {
5105 arg2 = &temp2;
5106 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5107 }
5108 {
5109 PyThreadState* __tstate = wxPyBeginAllowThreads();
5110 (arg1)->SetTargetRect((wxRect const &)*arg2);
5111 wxPyEndAllowThreads(__tstate);
5112 if (PyErr_Occurred()) SWIG_fail;
5113 }
5114 resultobj = SWIG_Py_Void();
5115 return resultobj;
5116 fail:
5117 return NULL;
5118 }
5119
5120
5121 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5122 PyObject *resultobj = 0;
5123 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5124 wxRect result;
5125 void *argp1 = 0 ;
5126 int res1 = 0 ;
5127 PyObject *swig_obj[1] ;
5128
5129 if (!args) SWIG_fail;
5130 swig_obj[0] = args;
5131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5132 if (!SWIG_IsOK(res1)) {
5133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5134 }
5135 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5136 {
5137 PyThreadState* __tstate = wxPyBeginAllowThreads();
5138 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5139 wxPyEndAllowThreads(__tstate);
5140 if (PyErr_Occurred()) SWIG_fail;
5141 }
5142 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5143 return resultobj;
5144 fail:
5145 return NULL;
5146 }
5147
5148
5149 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5150 PyObject *resultobj = 0;
5151 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5152 wxDC *arg2 = 0 ;
5153 void *argp1 = 0 ;
5154 int res1 = 0 ;
5155 void *argp2 = 0 ;
5156 int res2 = 0 ;
5157 PyObject * obj0 = 0 ;
5158 PyObject * obj1 = 0 ;
5159 char * kwnames[] = {
5160 (char *) "self",(char *) "dc", NULL
5161 };
5162
5163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5165 if (!SWIG_IsOK(res1)) {
5166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5167 }
5168 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5169 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5170 if (!SWIG_IsOK(res2)) {
5171 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5172 }
5173 if (!argp2) {
5174 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5175 }
5176 arg2 = reinterpret_cast< wxDC * >(argp2);
5177 {
5178 PyThreadState* __tstate = wxPyBeginAllowThreads();
5179 (arg1)->DoPrepareDC(*arg2);
5180 wxPyEndAllowThreads(__tstate);
5181 if (PyErr_Occurred()) SWIG_fail;
5182 }
5183 resultobj = SWIG_Py_Void();
5184 return resultobj;
5185 fail:
5186 return NULL;
5187 }
5188
5189
5190 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5191 PyObject *resultobj = 0;
5192 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5193 SwigValueWrapper<wxVisualAttributes > result;
5194 int val1 ;
5195 int ecode1 = 0 ;
5196 PyObject * obj0 = 0 ;
5197 char * kwnames[] = {
5198 (char *) "variant", NULL
5199 };
5200
5201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5202 if (obj0) {
5203 ecode1 = SWIG_AsVal_int(obj0, &val1);
5204 if (!SWIG_IsOK(ecode1)) {
5205 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5206 }
5207 arg1 = static_cast< wxWindowVariant >(val1);
5208 }
5209 {
5210 if (!wxPyCheckForApp()) SWIG_fail;
5211 PyThreadState* __tstate = wxPyBeginAllowThreads();
5212 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5213 wxPyEndAllowThreads(__tstate);
5214 if (PyErr_Occurred()) SWIG_fail;
5215 }
5216 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5217 return resultobj;
5218 fail:
5219 return NULL;
5220 }
5221
5222
5223 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5224 PyObject *obj;
5225 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5226 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5227 return SWIG_Py_Void();
5228 }
5229
5230 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5231 return SWIG_Python_InitShadowInstance(args);
5232 }
5233
5234 SWIGINTERN int FrameNameStr_set(PyObject *) {
5235 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5236 return 1;
5237 }
5238
5239
5240 SWIGINTERN PyObject *FrameNameStr_get(void) {
5241 PyObject *pyobj = 0;
5242
5243 {
5244 #if wxUSE_UNICODE
5245 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5246 #else
5247 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5248 #endif
5249 }
5250 return pyobj;
5251 }
5252
5253
5254 SWIGINTERN int DialogNameStr_set(PyObject *) {
5255 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5256 return 1;
5257 }
5258
5259
5260 SWIGINTERN PyObject *DialogNameStr_get(void) {
5261 PyObject *pyobj = 0;
5262
5263 {
5264 #if wxUSE_UNICODE
5265 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5266 #else
5267 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5268 #endif
5269 }
5270 return pyobj;
5271 }
5272
5273
5274 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5275 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5276 return 1;
5277 }
5278
5279
5280 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5281 PyObject *pyobj = 0;
5282
5283 {
5284 #if wxUSE_UNICODE
5285 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5286 #else
5287 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5288 #endif
5289 }
5290 return pyobj;
5291 }
5292
5293
5294 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5295 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5296 return 1;
5297 }
5298
5299
5300 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5301 PyObject *pyobj = 0;
5302
5303 {
5304 #if wxUSE_UNICODE
5305 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5306 #else
5307 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5308 #endif
5309 }
5310 return pyobj;
5311 }
5312
5313
5314 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5315 PyObject *resultobj = 0;
5316 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5317 bool arg2 = (bool) true ;
5318 void *argp1 = 0 ;
5319 int res1 = 0 ;
5320 bool val2 ;
5321 int ecode2 = 0 ;
5322 PyObject * obj0 = 0 ;
5323 PyObject * obj1 = 0 ;
5324 char * kwnames[] = {
5325 (char *) "self",(char *) "maximize", NULL
5326 };
5327
5328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5330 if (!SWIG_IsOK(res1)) {
5331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5332 }
5333 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5334 if (obj1) {
5335 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5336 if (!SWIG_IsOK(ecode2)) {
5337 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5338 }
5339 arg2 = static_cast< bool >(val2);
5340 }
5341 {
5342 PyThreadState* __tstate = wxPyBeginAllowThreads();
5343 (arg1)->Maximize(arg2);
5344 wxPyEndAllowThreads(__tstate);
5345 if (PyErr_Occurred()) SWIG_fail;
5346 }
5347 resultobj = SWIG_Py_Void();
5348 return resultobj;
5349 fail:
5350 return NULL;
5351 }
5352
5353
5354 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5355 PyObject *resultobj = 0;
5356 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5357 void *argp1 = 0 ;
5358 int res1 = 0 ;
5359 PyObject *swig_obj[1] ;
5360
5361 if (!args) SWIG_fail;
5362 swig_obj[0] = args;
5363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5364 if (!SWIG_IsOK(res1)) {
5365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5366 }
5367 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5368 {
5369 PyThreadState* __tstate = wxPyBeginAllowThreads();
5370 (arg1)->Restore();
5371 wxPyEndAllowThreads(__tstate);
5372 if (PyErr_Occurred()) SWIG_fail;
5373 }
5374 resultobj = SWIG_Py_Void();
5375 return resultobj;
5376 fail:
5377 return NULL;
5378 }
5379
5380
5381 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5382 PyObject *resultobj = 0;
5383 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5384 bool arg2 = (bool) true ;
5385 void *argp1 = 0 ;
5386 int res1 = 0 ;
5387 bool val2 ;
5388 int ecode2 = 0 ;
5389 PyObject * obj0 = 0 ;
5390 PyObject * obj1 = 0 ;
5391 char * kwnames[] = {
5392 (char *) "self",(char *) "iconize", NULL
5393 };
5394
5395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5397 if (!SWIG_IsOK(res1)) {
5398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5399 }
5400 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5401 if (obj1) {
5402 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5403 if (!SWIG_IsOK(ecode2)) {
5404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5405 }
5406 arg2 = static_cast< bool >(val2);
5407 }
5408 {
5409 PyThreadState* __tstate = wxPyBeginAllowThreads();
5410 (arg1)->Iconize(arg2);
5411 wxPyEndAllowThreads(__tstate);
5412 if (PyErr_Occurred()) SWIG_fail;
5413 }
5414 resultobj = SWIG_Py_Void();
5415 return resultobj;
5416 fail:
5417 return NULL;
5418 }
5419
5420
5421 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5422 PyObject *resultobj = 0;
5423 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5424 bool result;
5425 void *argp1 = 0 ;
5426 int res1 = 0 ;
5427 PyObject *swig_obj[1] ;
5428
5429 if (!args) SWIG_fail;
5430 swig_obj[0] = args;
5431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5432 if (!SWIG_IsOK(res1)) {
5433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5434 }
5435 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5436 {
5437 PyThreadState* __tstate = wxPyBeginAllowThreads();
5438 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5439 wxPyEndAllowThreads(__tstate);
5440 if (PyErr_Occurred()) SWIG_fail;
5441 }
5442 {
5443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5444 }
5445 return resultobj;
5446 fail:
5447 return NULL;
5448 }
5449
5450
5451 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5452 PyObject *resultobj = 0;
5453 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5454 bool result;
5455 void *argp1 = 0 ;
5456 int res1 = 0 ;
5457 PyObject *swig_obj[1] ;
5458
5459 if (!args) SWIG_fail;
5460 swig_obj[0] = args;
5461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5462 if (!SWIG_IsOK(res1)) {
5463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5464 }
5465 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5466 {
5467 PyThreadState* __tstate = wxPyBeginAllowThreads();
5468 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5469 wxPyEndAllowThreads(__tstate);
5470 if (PyErr_Occurred()) SWIG_fail;
5471 }
5472 {
5473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5474 }
5475 return resultobj;
5476 fail:
5477 return NULL;
5478 }
5479
5480
5481 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5482 PyObject *resultobj = 0;
5483 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5484 wxIcon result;
5485 void *argp1 = 0 ;
5486 int res1 = 0 ;
5487 PyObject *swig_obj[1] ;
5488
5489 if (!args) SWIG_fail;
5490 swig_obj[0] = args;
5491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5492 if (!SWIG_IsOK(res1)) {
5493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5494 }
5495 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5496 {
5497 PyThreadState* __tstate = wxPyBeginAllowThreads();
5498 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5499 wxPyEndAllowThreads(__tstate);
5500 if (PyErr_Occurred()) SWIG_fail;
5501 }
5502 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5503 return resultobj;
5504 fail:
5505 return NULL;
5506 }
5507
5508
5509 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5510 PyObject *resultobj = 0;
5511 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5512 wxIcon *arg2 = 0 ;
5513 void *argp1 = 0 ;
5514 int res1 = 0 ;
5515 void *argp2 = 0 ;
5516 int res2 = 0 ;
5517 PyObject * obj0 = 0 ;
5518 PyObject * obj1 = 0 ;
5519 char * kwnames[] = {
5520 (char *) "self",(char *) "icon", NULL
5521 };
5522
5523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5525 if (!SWIG_IsOK(res1)) {
5526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5527 }
5528 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5529 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5530 if (!SWIG_IsOK(res2)) {
5531 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5532 }
5533 if (!argp2) {
5534 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5535 }
5536 arg2 = reinterpret_cast< wxIcon * >(argp2);
5537 {
5538 PyThreadState* __tstate = wxPyBeginAllowThreads();
5539 (arg1)->SetIcon((wxIcon const &)*arg2);
5540 wxPyEndAllowThreads(__tstate);
5541 if (PyErr_Occurred()) SWIG_fail;
5542 }
5543 resultobj = SWIG_Py_Void();
5544 return resultobj;
5545 fail:
5546 return NULL;
5547 }
5548
5549
5550 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5551 PyObject *resultobj = 0;
5552 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5553 wxIconBundle *arg2 = 0 ;
5554 void *argp1 = 0 ;
5555 int res1 = 0 ;
5556 void *argp2 = 0 ;
5557 int res2 = 0 ;
5558 PyObject * obj0 = 0 ;
5559 PyObject * obj1 = 0 ;
5560 char * kwnames[] = {
5561 (char *) "self",(char *) "icons", NULL
5562 };
5563
5564 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5565 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5566 if (!SWIG_IsOK(res1)) {
5567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5568 }
5569 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5570 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5571 if (!SWIG_IsOK(res2)) {
5572 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5573 }
5574 if (!argp2) {
5575 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5576 }
5577 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5578 {
5579 PyThreadState* __tstate = wxPyBeginAllowThreads();
5580 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5581 wxPyEndAllowThreads(__tstate);
5582 if (PyErr_Occurred()) SWIG_fail;
5583 }
5584 resultobj = SWIG_Py_Void();
5585 return resultobj;
5586 fail:
5587 return NULL;
5588 }
5589
5590
5591 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5592 PyObject *resultobj = 0;
5593 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5594 bool arg2 ;
5595 long arg3 = (long) wxFULLSCREEN_ALL ;
5596 bool result;
5597 void *argp1 = 0 ;
5598 int res1 = 0 ;
5599 bool val2 ;
5600 int ecode2 = 0 ;
5601 long val3 ;
5602 int ecode3 = 0 ;
5603 PyObject * obj0 = 0 ;
5604 PyObject * obj1 = 0 ;
5605 PyObject * obj2 = 0 ;
5606 char * kwnames[] = {
5607 (char *) "self",(char *) "show",(char *) "style", NULL
5608 };
5609
5610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5612 if (!SWIG_IsOK(res1)) {
5613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5614 }
5615 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5616 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5617 if (!SWIG_IsOK(ecode2)) {
5618 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5619 }
5620 arg2 = static_cast< bool >(val2);
5621 if (obj2) {
5622 ecode3 = SWIG_AsVal_long(obj2, &val3);
5623 if (!SWIG_IsOK(ecode3)) {
5624 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5625 }
5626 arg3 = static_cast< long >(val3);
5627 }
5628 {
5629 PyThreadState* __tstate = wxPyBeginAllowThreads();
5630 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
5634 {
5635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5636 }
5637 return resultobj;
5638 fail:
5639 return NULL;
5640 }
5641
5642
5643 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5644 PyObject *resultobj = 0;
5645 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5646 bool result;
5647 void *argp1 = 0 ;
5648 int res1 = 0 ;
5649 PyObject *swig_obj[1] ;
5650
5651 if (!args) SWIG_fail;
5652 swig_obj[0] = args;
5653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5654 if (!SWIG_IsOK(res1)) {
5655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5656 }
5657 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5658 {
5659 PyThreadState* __tstate = wxPyBeginAllowThreads();
5660 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5661 wxPyEndAllowThreads(__tstate);
5662 if (PyErr_Occurred()) SWIG_fail;
5663 }
5664 {
5665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5666 }
5667 return resultobj;
5668 fail:
5669 return NULL;
5670 }
5671
5672
5673 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5674 PyObject *resultobj = 0;
5675 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5676 wxString *arg2 = 0 ;
5677 void *argp1 = 0 ;
5678 int res1 = 0 ;
5679 bool temp2 = false ;
5680 PyObject * obj0 = 0 ;
5681 PyObject * obj1 = 0 ;
5682 char * kwnames[] = {
5683 (char *) "self",(char *) "title", NULL
5684 };
5685
5686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5688 if (!SWIG_IsOK(res1)) {
5689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5690 }
5691 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5692 {
5693 arg2 = wxString_in_helper(obj1);
5694 if (arg2 == NULL) SWIG_fail;
5695 temp2 = true;
5696 }
5697 {
5698 PyThreadState* __tstate = wxPyBeginAllowThreads();
5699 (arg1)->SetTitle((wxString const &)*arg2);
5700 wxPyEndAllowThreads(__tstate);
5701 if (PyErr_Occurred()) SWIG_fail;
5702 }
5703 resultobj = SWIG_Py_Void();
5704 {
5705 if (temp2)
5706 delete arg2;
5707 }
5708 return resultobj;
5709 fail:
5710 {
5711 if (temp2)
5712 delete arg2;
5713 }
5714 return NULL;
5715 }
5716
5717
5718 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5719 PyObject *resultobj = 0;
5720 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5721 wxString 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_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5731 }
5732 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5733 {
5734 PyThreadState* __tstate = wxPyBeginAllowThreads();
5735 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 {
5740 #if wxUSE_UNICODE
5741 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5742 #else
5743 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5744 #endif
5745 }
5746 return resultobj;
5747 fail:
5748 return NULL;
5749 }
5750
5751
5752 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5753 PyObject *resultobj = 0;
5754 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5755 wxRegion *arg2 = 0 ;
5756 bool result;
5757 void *argp1 = 0 ;
5758 int res1 = 0 ;
5759 void *argp2 = 0 ;
5760 int res2 = 0 ;
5761 PyObject * obj0 = 0 ;
5762 PyObject * obj1 = 0 ;
5763 char * kwnames[] = {
5764 (char *) "self",(char *) "region", NULL
5765 };
5766
5767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5769 if (!SWIG_IsOK(res1)) {
5770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5771 }
5772 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5773 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5774 if (!SWIG_IsOK(res2)) {
5775 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5776 }
5777 if (!argp2) {
5778 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5779 }
5780 arg2 = reinterpret_cast< wxRegion * >(argp2);
5781 {
5782 PyThreadState* __tstate = wxPyBeginAllowThreads();
5783 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5784 wxPyEndAllowThreads(__tstate);
5785 if (PyErr_Occurred()) SWIG_fail;
5786 }
5787 {
5788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5789 }
5790 return resultobj;
5791 fail:
5792 return NULL;
5793 }
5794
5795
5796 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5797 PyObject *resultobj = 0;
5798 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5799 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5800 void *argp1 = 0 ;
5801 int res1 = 0 ;
5802 int val2 ;
5803 int ecode2 = 0 ;
5804 PyObject * obj0 = 0 ;
5805 PyObject * obj1 = 0 ;
5806 char * kwnames[] = {
5807 (char *) "self",(char *) "flags", NULL
5808 };
5809
5810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5812 if (!SWIG_IsOK(res1)) {
5813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5814 }
5815 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5816 if (obj1) {
5817 ecode2 = SWIG_AsVal_int(obj1, &val2);
5818 if (!SWIG_IsOK(ecode2)) {
5819 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5820 }
5821 arg2 = static_cast< int >(val2);
5822 }
5823 {
5824 PyThreadState* __tstate = wxPyBeginAllowThreads();
5825 (arg1)->RequestUserAttention(arg2);
5826 wxPyEndAllowThreads(__tstate);
5827 if (PyErr_Occurred()) SWIG_fail;
5828 }
5829 resultobj = SWIG_Py_Void();
5830 return resultobj;
5831 fail:
5832 return NULL;
5833 }
5834
5835
5836 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5837 PyObject *resultobj = 0;
5838 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5839 bool result;
5840 void *argp1 = 0 ;
5841 int res1 = 0 ;
5842 PyObject *swig_obj[1] ;
5843
5844 if (!args) SWIG_fail;
5845 swig_obj[0] = args;
5846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5847 if (!SWIG_IsOK(res1)) {
5848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5849 }
5850 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5851 {
5852 PyThreadState* __tstate = wxPyBeginAllowThreads();
5853 result = (bool)(arg1)->IsActive();
5854 wxPyEndAllowThreads(__tstate);
5855 if (PyErr_Occurred()) SWIG_fail;
5856 }
5857 {
5858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5859 }
5860 return resultobj;
5861 fail:
5862 return NULL;
5863 }
5864
5865
5866 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5867 PyObject *resultobj = 0;
5868 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5869 bool arg2 ;
5870 void *argp1 = 0 ;
5871 int res1 = 0 ;
5872 bool val2 ;
5873 int ecode2 = 0 ;
5874 PyObject * obj0 = 0 ;
5875 PyObject * obj1 = 0 ;
5876 char * kwnames[] = {
5877 (char *) "self",(char *) "on", NULL
5878 };
5879
5880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5882 if (!SWIG_IsOK(res1)) {
5883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5884 }
5885 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5886 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5887 if (!SWIG_IsOK(ecode2)) {
5888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5889 }
5890 arg2 = static_cast< bool >(val2);
5891 {
5892 PyThreadState* __tstate = wxPyBeginAllowThreads();
5893 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5894 wxPyEndAllowThreads(__tstate);
5895 if (PyErr_Occurred()) SWIG_fail;
5896 }
5897 resultobj = SWIG_Py_Void();
5898 return resultobj;
5899 fail:
5900 return NULL;
5901 }
5902
5903
5904 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5905 PyObject *resultobj = 0;
5906 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5907 bool result;
5908 void *argp1 = 0 ;
5909 int res1 = 0 ;
5910 PyObject *swig_obj[1] ;
5911
5912 if (!args) SWIG_fail;
5913 swig_obj[0] = args;
5914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5915 if (!SWIG_IsOK(res1)) {
5916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5917 }
5918 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5919 {
5920 PyThreadState* __tstate = wxPyBeginAllowThreads();
5921 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5922 wxPyEndAllowThreads(__tstate);
5923 if (PyErr_Occurred()) SWIG_fail;
5924 }
5925 {
5926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5927 }
5928 return resultobj;
5929 fail:
5930 return NULL;
5931 }
5932
5933
5934 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5935 PyObject *resultobj = 0;
5936 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5937 int arg2 = (int) wxBOTH ;
5938 void *argp1 = 0 ;
5939 int res1 = 0 ;
5940 int val2 ;
5941 int ecode2 = 0 ;
5942 PyObject * obj0 = 0 ;
5943 PyObject * obj1 = 0 ;
5944 char * kwnames[] = {
5945 (char *) "self",(char *) "dir", NULL
5946 };
5947
5948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
5949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5950 if (!SWIG_IsOK(res1)) {
5951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5952 }
5953 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5954 if (obj1) {
5955 ecode2 = SWIG_AsVal_int(obj1, &val2);
5956 if (!SWIG_IsOK(ecode2)) {
5957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5958 }
5959 arg2 = static_cast< int >(val2);
5960 }
5961 {
5962 PyThreadState* __tstate = wxPyBeginAllowThreads();
5963 (arg1)->CenterOnScreen(arg2);
5964 wxPyEndAllowThreads(__tstate);
5965 if (PyErr_Occurred()) SWIG_fail;
5966 }
5967 resultobj = SWIG_Py_Void();
5968 return resultobj;
5969 fail:
5970 return NULL;
5971 }
5972
5973
5974 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5975 PyObject *obj;
5976 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5977 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
5978 return SWIG_Py_Void();
5979 }
5980
5981 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5982 PyObject *resultobj = 0;
5983 wxWindow *arg1 = (wxWindow *) 0 ;
5984 int arg2 = (int) (int)-1 ;
5985 wxString const &arg3_defvalue = wxPyEmptyString ;
5986 wxString *arg3 = (wxString *) &arg3_defvalue ;
5987 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5988 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5989 wxSize const &arg5_defvalue = wxDefaultSize ;
5990 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5991 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
5992 wxString const &arg7_defvalue = wxPyFrameNameStr ;
5993 wxString *arg7 = (wxString *) &arg7_defvalue ;
5994 wxFrame *result = 0 ;
5995 void *argp1 = 0 ;
5996 int res1 = 0 ;
5997 int val2 ;
5998 int ecode2 = 0 ;
5999 bool temp3 = false ;
6000 wxPoint temp4 ;
6001 wxSize temp5 ;
6002 long val6 ;
6003 int ecode6 = 0 ;
6004 bool temp7 = false ;
6005 PyObject * obj0 = 0 ;
6006 PyObject * obj1 = 0 ;
6007 PyObject * obj2 = 0 ;
6008 PyObject * obj3 = 0 ;
6009 PyObject * obj4 = 0 ;
6010 PyObject * obj5 = 0 ;
6011 PyObject * obj6 = 0 ;
6012 char * kwnames[] = {
6013 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6014 };
6015
6016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6018 if (!SWIG_IsOK(res1)) {
6019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6020 }
6021 arg1 = reinterpret_cast< wxWindow * >(argp1);
6022 if (obj1) {
6023 ecode2 = SWIG_AsVal_int(obj1, &val2);
6024 if (!SWIG_IsOK(ecode2)) {
6025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6026 }
6027 arg2 = static_cast< int >(val2);
6028 }
6029 if (obj2) {
6030 {
6031 arg3 = wxString_in_helper(obj2);
6032 if (arg3 == NULL) SWIG_fail;
6033 temp3 = true;
6034 }
6035 }
6036 if (obj3) {
6037 {
6038 arg4 = &temp4;
6039 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6040 }
6041 }
6042 if (obj4) {
6043 {
6044 arg5 = &temp5;
6045 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6046 }
6047 }
6048 if (obj5) {
6049 ecode6 = SWIG_AsVal_long(obj5, &val6);
6050 if (!SWIG_IsOK(ecode6)) {
6051 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6052 }
6053 arg6 = static_cast< long >(val6);
6054 }
6055 if (obj6) {
6056 {
6057 arg7 = wxString_in_helper(obj6);
6058 if (arg7 == NULL) SWIG_fail;
6059 temp7 = true;
6060 }
6061 }
6062 {
6063 if (!wxPyCheckForApp()) SWIG_fail;
6064 PyThreadState* __tstate = wxPyBeginAllowThreads();
6065 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6066 wxPyEndAllowThreads(__tstate);
6067 if (PyErr_Occurred()) SWIG_fail;
6068 }
6069 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6070 {
6071 if (temp3)
6072 delete arg3;
6073 }
6074 {
6075 if (temp7)
6076 delete arg7;
6077 }
6078 return resultobj;
6079 fail:
6080 {
6081 if (temp3)
6082 delete arg3;
6083 }
6084 {
6085 if (temp7)
6086 delete arg7;
6087 }
6088 return NULL;
6089 }
6090
6091
6092 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6093 PyObject *resultobj = 0;
6094 wxFrame *result = 0 ;
6095
6096 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6097 {
6098 if (!wxPyCheckForApp()) SWIG_fail;
6099 PyThreadState* __tstate = wxPyBeginAllowThreads();
6100 result = (wxFrame *)new wxFrame();
6101 wxPyEndAllowThreads(__tstate);
6102 if (PyErr_Occurred()) SWIG_fail;
6103 }
6104 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6105 return resultobj;
6106 fail:
6107 return NULL;
6108 }
6109
6110
6111 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6112 PyObject *resultobj = 0;
6113 wxFrame *arg1 = (wxFrame *) 0 ;
6114 wxWindow *arg2 = (wxWindow *) 0 ;
6115 int arg3 = (int) (int)-1 ;
6116 wxString const &arg4_defvalue = wxPyEmptyString ;
6117 wxString *arg4 = (wxString *) &arg4_defvalue ;
6118 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6119 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6120 wxSize const &arg6_defvalue = wxDefaultSize ;
6121 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6122 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6123 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6124 wxString *arg8 = (wxString *) &arg8_defvalue ;
6125 bool result;
6126 void *argp1 = 0 ;
6127 int res1 = 0 ;
6128 void *argp2 = 0 ;
6129 int res2 = 0 ;
6130 int val3 ;
6131 int ecode3 = 0 ;
6132 bool temp4 = false ;
6133 wxPoint temp5 ;
6134 wxSize temp6 ;
6135 long val7 ;
6136 int ecode7 = 0 ;
6137 bool temp8 = false ;
6138 PyObject * obj0 = 0 ;
6139 PyObject * obj1 = 0 ;
6140 PyObject * obj2 = 0 ;
6141 PyObject * obj3 = 0 ;
6142 PyObject * obj4 = 0 ;
6143 PyObject * obj5 = 0 ;
6144 PyObject * obj6 = 0 ;
6145 PyObject * obj7 = 0 ;
6146 char * kwnames[] = {
6147 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6148 };
6149
6150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6152 if (!SWIG_IsOK(res1)) {
6153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6154 }
6155 arg1 = reinterpret_cast< wxFrame * >(argp1);
6156 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6157 if (!SWIG_IsOK(res2)) {
6158 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6159 }
6160 arg2 = reinterpret_cast< wxWindow * >(argp2);
6161 if (obj2) {
6162 ecode3 = SWIG_AsVal_int(obj2, &val3);
6163 if (!SWIG_IsOK(ecode3)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6165 }
6166 arg3 = static_cast< int >(val3);
6167 }
6168 if (obj3) {
6169 {
6170 arg4 = wxString_in_helper(obj3);
6171 if (arg4 == NULL) SWIG_fail;
6172 temp4 = true;
6173 }
6174 }
6175 if (obj4) {
6176 {
6177 arg5 = &temp5;
6178 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6179 }
6180 }
6181 if (obj5) {
6182 {
6183 arg6 = &temp6;
6184 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6185 }
6186 }
6187 if (obj6) {
6188 ecode7 = SWIG_AsVal_long(obj6, &val7);
6189 if (!SWIG_IsOK(ecode7)) {
6190 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6191 }
6192 arg7 = static_cast< long >(val7);
6193 }
6194 if (obj7) {
6195 {
6196 arg8 = wxString_in_helper(obj7);
6197 if (arg8 == NULL) SWIG_fail;
6198 temp8 = true;
6199 }
6200 }
6201 {
6202 PyThreadState* __tstate = wxPyBeginAllowThreads();
6203 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6204 wxPyEndAllowThreads(__tstate);
6205 if (PyErr_Occurred()) SWIG_fail;
6206 }
6207 {
6208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6209 }
6210 {
6211 if (temp4)
6212 delete arg4;
6213 }
6214 {
6215 if (temp8)
6216 delete arg8;
6217 }
6218 return resultobj;
6219 fail:
6220 {
6221 if (temp4)
6222 delete arg4;
6223 }
6224 {
6225 if (temp8)
6226 delete arg8;
6227 }
6228 return NULL;
6229 }
6230
6231
6232 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6233 PyObject *resultobj = 0;
6234 wxFrame *arg1 = (wxFrame *) 0 ;
6235 void *argp1 = 0 ;
6236 int res1 = 0 ;
6237 PyObject *swig_obj[1] ;
6238
6239 if (!args) SWIG_fail;
6240 swig_obj[0] = args;
6241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6242 if (!SWIG_IsOK(res1)) {
6243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6244 }
6245 arg1 = reinterpret_cast< wxFrame * >(argp1);
6246 {
6247 PyThreadState* __tstate = wxPyBeginAllowThreads();
6248 (arg1)->SendSizeEvent();
6249 wxPyEndAllowThreads(__tstate);
6250 if (PyErr_Occurred()) SWIG_fail;
6251 }
6252 resultobj = SWIG_Py_Void();
6253 return resultobj;
6254 fail:
6255 return NULL;
6256 }
6257
6258
6259 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6260 PyObject *resultobj = 0;
6261 wxFrame *arg1 = (wxFrame *) 0 ;
6262 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6263 void *argp1 = 0 ;
6264 int res1 = 0 ;
6265 void *argp2 = 0 ;
6266 int res2 = 0 ;
6267 PyObject * obj0 = 0 ;
6268 PyObject * obj1 = 0 ;
6269 char * kwnames[] = {
6270 (char *) "self",(char *) "menubar", NULL
6271 };
6272
6273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6275 if (!SWIG_IsOK(res1)) {
6276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6277 }
6278 arg1 = reinterpret_cast< wxFrame * >(argp1);
6279 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6280 if (!SWIG_IsOK(res2)) {
6281 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6282 }
6283 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6284 {
6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6286 (arg1)->SetMenuBar(arg2);
6287 wxPyEndAllowThreads(__tstate);
6288 if (PyErr_Occurred()) SWIG_fail;
6289 }
6290 resultobj = SWIG_Py_Void();
6291 return resultobj;
6292 fail:
6293 return NULL;
6294 }
6295
6296
6297 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6298 PyObject *resultobj = 0;
6299 wxFrame *arg1 = (wxFrame *) 0 ;
6300 wxMenuBar *result = 0 ;
6301 void *argp1 = 0 ;
6302 int res1 = 0 ;
6303 PyObject *swig_obj[1] ;
6304
6305 if (!args) SWIG_fail;
6306 swig_obj[0] = args;
6307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6308 if (!SWIG_IsOK(res1)) {
6309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6310 }
6311 arg1 = reinterpret_cast< wxFrame * >(argp1);
6312 {
6313 PyThreadState* __tstate = wxPyBeginAllowThreads();
6314 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6315 wxPyEndAllowThreads(__tstate);
6316 if (PyErr_Occurred()) SWIG_fail;
6317 }
6318 {
6319 resultobj = wxPyMake_wxObject(result, 0);
6320 }
6321 return resultobj;
6322 fail:
6323 return NULL;
6324 }
6325
6326
6327 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6328 PyObject *resultobj = 0;
6329 wxFrame *arg1 = (wxFrame *) 0 ;
6330 int arg2 ;
6331 bool result;
6332 void *argp1 = 0 ;
6333 int res1 = 0 ;
6334 int val2 ;
6335 int ecode2 = 0 ;
6336 PyObject * obj0 = 0 ;
6337 PyObject * obj1 = 0 ;
6338 char * kwnames[] = {
6339 (char *) "self",(char *) "winid", NULL
6340 };
6341
6342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6344 if (!SWIG_IsOK(res1)) {
6345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6346 }
6347 arg1 = reinterpret_cast< wxFrame * >(argp1);
6348 ecode2 = SWIG_AsVal_int(obj1, &val2);
6349 if (!SWIG_IsOK(ecode2)) {
6350 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6351 }
6352 arg2 = static_cast< int >(val2);
6353 {
6354 PyThreadState* __tstate = wxPyBeginAllowThreads();
6355 result = (bool)(arg1)->ProcessCommand(arg2);
6356 wxPyEndAllowThreads(__tstate);
6357 if (PyErr_Occurred()) SWIG_fail;
6358 }
6359 {
6360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6361 }
6362 return resultobj;
6363 fail:
6364 return NULL;
6365 }
6366
6367
6368 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6369 PyObject *resultobj = 0;
6370 wxFrame *arg1 = (wxFrame *) 0 ;
6371 int arg2 = (int) 1 ;
6372 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6373 int arg4 = (int) 0 ;
6374 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6375 wxString *arg5 = (wxString *) &arg5_defvalue ;
6376 wxStatusBar *result = 0 ;
6377 void *argp1 = 0 ;
6378 int res1 = 0 ;
6379 int val2 ;
6380 int ecode2 = 0 ;
6381 long val3 ;
6382 int ecode3 = 0 ;
6383 int val4 ;
6384 int ecode4 = 0 ;
6385 bool temp5 = false ;
6386 PyObject * obj0 = 0 ;
6387 PyObject * obj1 = 0 ;
6388 PyObject * obj2 = 0 ;
6389 PyObject * obj3 = 0 ;
6390 PyObject * obj4 = 0 ;
6391 char * kwnames[] = {
6392 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6393 };
6394
6395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6397 if (!SWIG_IsOK(res1)) {
6398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6399 }
6400 arg1 = reinterpret_cast< wxFrame * >(argp1);
6401 if (obj1) {
6402 ecode2 = SWIG_AsVal_int(obj1, &val2);
6403 if (!SWIG_IsOK(ecode2)) {
6404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6405 }
6406 arg2 = static_cast< int >(val2);
6407 }
6408 if (obj2) {
6409 ecode3 = SWIG_AsVal_long(obj2, &val3);
6410 if (!SWIG_IsOK(ecode3)) {
6411 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6412 }
6413 arg3 = static_cast< long >(val3);
6414 }
6415 if (obj3) {
6416 ecode4 = SWIG_AsVal_int(obj3, &val4);
6417 if (!SWIG_IsOK(ecode4)) {
6418 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6419 }
6420 arg4 = static_cast< int >(val4);
6421 }
6422 if (obj4) {
6423 {
6424 arg5 = wxString_in_helper(obj4);
6425 if (arg5 == NULL) SWIG_fail;
6426 temp5 = true;
6427 }
6428 }
6429 {
6430 PyThreadState* __tstate = wxPyBeginAllowThreads();
6431 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6432 wxPyEndAllowThreads(__tstate);
6433 if (PyErr_Occurred()) SWIG_fail;
6434 }
6435 {
6436 resultobj = wxPyMake_wxObject(result, (bool)0);
6437 }
6438 {
6439 if (temp5)
6440 delete arg5;
6441 }
6442 return resultobj;
6443 fail:
6444 {
6445 if (temp5)
6446 delete arg5;
6447 }
6448 return NULL;
6449 }
6450
6451
6452 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6453 PyObject *resultobj = 0;
6454 wxFrame *arg1 = (wxFrame *) 0 ;
6455 wxStatusBar *result = 0 ;
6456 void *argp1 = 0 ;
6457 int res1 = 0 ;
6458 PyObject *swig_obj[1] ;
6459
6460 if (!args) SWIG_fail;
6461 swig_obj[0] = args;
6462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6463 if (!SWIG_IsOK(res1)) {
6464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6465 }
6466 arg1 = reinterpret_cast< wxFrame * >(argp1);
6467 {
6468 PyThreadState* __tstate = wxPyBeginAllowThreads();
6469 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6470 wxPyEndAllowThreads(__tstate);
6471 if (PyErr_Occurred()) SWIG_fail;
6472 }
6473 {
6474 resultobj = wxPyMake_wxObject(result, (bool)0);
6475 }
6476 return resultobj;
6477 fail:
6478 return NULL;
6479 }
6480
6481
6482 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6483 PyObject *resultobj = 0;
6484 wxFrame *arg1 = (wxFrame *) 0 ;
6485 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6486 void *argp1 = 0 ;
6487 int res1 = 0 ;
6488 void *argp2 = 0 ;
6489 int res2 = 0 ;
6490 PyObject * obj0 = 0 ;
6491 PyObject * obj1 = 0 ;
6492 char * kwnames[] = {
6493 (char *) "self",(char *) "statBar", NULL
6494 };
6495
6496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6498 if (!SWIG_IsOK(res1)) {
6499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6500 }
6501 arg1 = reinterpret_cast< wxFrame * >(argp1);
6502 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6503 if (!SWIG_IsOK(res2)) {
6504 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6505 }
6506 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6507 {
6508 PyThreadState* __tstate = wxPyBeginAllowThreads();
6509 (arg1)->SetStatusBar(arg2);
6510 wxPyEndAllowThreads(__tstate);
6511 if (PyErr_Occurred()) SWIG_fail;
6512 }
6513 resultobj = SWIG_Py_Void();
6514 return resultobj;
6515 fail:
6516 return NULL;
6517 }
6518
6519
6520 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6521 PyObject *resultobj = 0;
6522 wxFrame *arg1 = (wxFrame *) 0 ;
6523 wxString *arg2 = 0 ;
6524 int arg3 = (int) 0 ;
6525 void *argp1 = 0 ;
6526 int res1 = 0 ;
6527 bool temp2 = false ;
6528 int val3 ;
6529 int ecode3 = 0 ;
6530 PyObject * obj0 = 0 ;
6531 PyObject * obj1 = 0 ;
6532 PyObject * obj2 = 0 ;
6533 char * kwnames[] = {
6534 (char *) "self",(char *) "text",(char *) "number", NULL
6535 };
6536
6537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6539 if (!SWIG_IsOK(res1)) {
6540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6541 }
6542 arg1 = reinterpret_cast< wxFrame * >(argp1);
6543 {
6544 arg2 = wxString_in_helper(obj1);
6545 if (arg2 == NULL) SWIG_fail;
6546 temp2 = true;
6547 }
6548 if (obj2) {
6549 ecode3 = SWIG_AsVal_int(obj2, &val3);
6550 if (!SWIG_IsOK(ecode3)) {
6551 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6552 }
6553 arg3 = static_cast< int >(val3);
6554 }
6555 {
6556 PyThreadState* __tstate = wxPyBeginAllowThreads();
6557 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6558 wxPyEndAllowThreads(__tstate);
6559 if (PyErr_Occurred()) SWIG_fail;
6560 }
6561 resultobj = SWIG_Py_Void();
6562 {
6563 if (temp2)
6564 delete arg2;
6565 }
6566 return resultobj;
6567 fail:
6568 {
6569 if (temp2)
6570 delete arg2;
6571 }
6572 return NULL;
6573 }
6574
6575
6576 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6577 PyObject *resultobj = 0;
6578 wxFrame *arg1 = (wxFrame *) 0 ;
6579 int arg2 ;
6580 int *arg3 = (int *) 0 ;
6581 void *argp1 = 0 ;
6582 int res1 = 0 ;
6583 PyObject * obj0 = 0 ;
6584 PyObject * obj1 = 0 ;
6585 char * kwnames[] = {
6586 (char *) "self",(char *) "widths", NULL
6587 };
6588
6589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6591 if (!SWIG_IsOK(res1)) {
6592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6593 }
6594 arg1 = reinterpret_cast< wxFrame * >(argp1);
6595 {
6596 arg2 = PyList_Size(obj1);
6597 arg3 = int_LIST_helper(obj1);
6598 if (arg3 == NULL) SWIG_fail;
6599 }
6600 {
6601 PyThreadState* __tstate = wxPyBeginAllowThreads();
6602 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6603 wxPyEndAllowThreads(__tstate);
6604 if (PyErr_Occurred()) SWIG_fail;
6605 }
6606 resultobj = SWIG_Py_Void();
6607 {
6608 if (arg3) delete [] arg3;
6609 }
6610 return resultobj;
6611 fail:
6612 {
6613 if (arg3) delete [] arg3;
6614 }
6615 return NULL;
6616 }
6617
6618
6619 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6620 PyObject *resultobj = 0;
6621 wxFrame *arg1 = (wxFrame *) 0 ;
6622 wxString *arg2 = 0 ;
6623 int arg3 = (int) 0 ;
6624 void *argp1 = 0 ;
6625 int res1 = 0 ;
6626 bool temp2 = false ;
6627 int val3 ;
6628 int ecode3 = 0 ;
6629 PyObject * obj0 = 0 ;
6630 PyObject * obj1 = 0 ;
6631 PyObject * obj2 = 0 ;
6632 char * kwnames[] = {
6633 (char *) "self",(char *) "text",(char *) "number", NULL
6634 };
6635
6636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6638 if (!SWIG_IsOK(res1)) {
6639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6640 }
6641 arg1 = reinterpret_cast< wxFrame * >(argp1);
6642 {
6643 arg2 = wxString_in_helper(obj1);
6644 if (arg2 == NULL) SWIG_fail;
6645 temp2 = true;
6646 }
6647 if (obj2) {
6648 ecode3 = SWIG_AsVal_int(obj2, &val3);
6649 if (!SWIG_IsOK(ecode3)) {
6650 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6651 }
6652 arg3 = static_cast< int >(val3);
6653 }
6654 {
6655 PyThreadState* __tstate = wxPyBeginAllowThreads();
6656 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
6660 resultobj = SWIG_Py_Void();
6661 {
6662 if (temp2)
6663 delete arg2;
6664 }
6665 return resultobj;
6666 fail:
6667 {
6668 if (temp2)
6669 delete arg2;
6670 }
6671 return NULL;
6672 }
6673
6674
6675 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6676 PyObject *resultobj = 0;
6677 wxFrame *arg1 = (wxFrame *) 0 ;
6678 int arg2 = (int) 0 ;
6679 void *argp1 = 0 ;
6680 int res1 = 0 ;
6681 int val2 ;
6682 int ecode2 = 0 ;
6683 PyObject * obj0 = 0 ;
6684 PyObject * obj1 = 0 ;
6685 char * kwnames[] = {
6686 (char *) "self",(char *) "number", NULL
6687 };
6688
6689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6691 if (!SWIG_IsOK(res1)) {
6692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6693 }
6694 arg1 = reinterpret_cast< wxFrame * >(argp1);
6695 if (obj1) {
6696 ecode2 = SWIG_AsVal_int(obj1, &val2);
6697 if (!SWIG_IsOK(ecode2)) {
6698 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6699 }
6700 arg2 = static_cast< int >(val2);
6701 }
6702 {
6703 PyThreadState* __tstate = wxPyBeginAllowThreads();
6704 (arg1)->PopStatusText(arg2);
6705 wxPyEndAllowThreads(__tstate);
6706 if (PyErr_Occurred()) SWIG_fail;
6707 }
6708 resultobj = SWIG_Py_Void();
6709 return resultobj;
6710 fail:
6711 return NULL;
6712 }
6713
6714
6715 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6716 PyObject *resultobj = 0;
6717 wxFrame *arg1 = (wxFrame *) 0 ;
6718 int arg2 ;
6719 void *argp1 = 0 ;
6720 int res1 = 0 ;
6721 int val2 ;
6722 int ecode2 = 0 ;
6723 PyObject * obj0 = 0 ;
6724 PyObject * obj1 = 0 ;
6725 char * kwnames[] = {
6726 (char *) "self",(char *) "n", NULL
6727 };
6728
6729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6731 if (!SWIG_IsOK(res1)) {
6732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6733 }
6734 arg1 = reinterpret_cast< wxFrame * >(argp1);
6735 ecode2 = SWIG_AsVal_int(obj1, &val2);
6736 if (!SWIG_IsOK(ecode2)) {
6737 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6738 }
6739 arg2 = static_cast< int >(val2);
6740 {
6741 PyThreadState* __tstate = wxPyBeginAllowThreads();
6742 (arg1)->SetStatusBarPane(arg2);
6743 wxPyEndAllowThreads(__tstate);
6744 if (PyErr_Occurred()) SWIG_fail;
6745 }
6746 resultobj = SWIG_Py_Void();
6747 return resultobj;
6748 fail:
6749 return NULL;
6750 }
6751
6752
6753 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6754 PyObject *resultobj = 0;
6755 wxFrame *arg1 = (wxFrame *) 0 ;
6756 int result;
6757 void *argp1 = 0 ;
6758 int res1 = 0 ;
6759 PyObject *swig_obj[1] ;
6760
6761 if (!args) SWIG_fail;
6762 swig_obj[0] = args;
6763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6764 if (!SWIG_IsOK(res1)) {
6765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6766 }
6767 arg1 = reinterpret_cast< wxFrame * >(argp1);
6768 {
6769 PyThreadState* __tstate = wxPyBeginAllowThreads();
6770 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6771 wxPyEndAllowThreads(__tstate);
6772 if (PyErr_Occurred()) SWIG_fail;
6773 }
6774 resultobj = SWIG_From_int(static_cast< int >(result));
6775 return resultobj;
6776 fail:
6777 return NULL;
6778 }
6779
6780
6781 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6782 PyObject *resultobj = 0;
6783 wxFrame *arg1 = (wxFrame *) 0 ;
6784 long arg2 = (long) -1 ;
6785 int arg3 = (int) -1 ;
6786 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6787 wxString *arg4 = (wxString *) &arg4_defvalue ;
6788 wxToolBar *result = 0 ;
6789 void *argp1 = 0 ;
6790 int res1 = 0 ;
6791 long val2 ;
6792 int ecode2 = 0 ;
6793 int val3 ;
6794 int ecode3 = 0 ;
6795 bool temp4 = false ;
6796 PyObject * obj0 = 0 ;
6797 PyObject * obj1 = 0 ;
6798 PyObject * obj2 = 0 ;
6799 PyObject * obj3 = 0 ;
6800 char * kwnames[] = {
6801 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6802 };
6803
6804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6806 if (!SWIG_IsOK(res1)) {
6807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6808 }
6809 arg1 = reinterpret_cast< wxFrame * >(argp1);
6810 if (obj1) {
6811 ecode2 = SWIG_AsVal_long(obj1, &val2);
6812 if (!SWIG_IsOK(ecode2)) {
6813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6814 }
6815 arg2 = static_cast< long >(val2);
6816 }
6817 if (obj2) {
6818 ecode3 = SWIG_AsVal_int(obj2, &val3);
6819 if (!SWIG_IsOK(ecode3)) {
6820 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6821 }
6822 arg3 = static_cast< int >(val3);
6823 }
6824 if (obj3) {
6825 {
6826 arg4 = wxString_in_helper(obj3);
6827 if (arg4 == NULL) SWIG_fail;
6828 temp4 = true;
6829 }
6830 }
6831 {
6832 PyThreadState* __tstate = wxPyBeginAllowThreads();
6833 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
6834 wxPyEndAllowThreads(__tstate);
6835 if (PyErr_Occurred()) SWIG_fail;
6836 }
6837 {
6838 resultobj = wxPyMake_wxObject(result, (bool)0);
6839 }
6840 {
6841 if (temp4)
6842 delete arg4;
6843 }
6844 return resultobj;
6845 fail:
6846 {
6847 if (temp4)
6848 delete arg4;
6849 }
6850 return NULL;
6851 }
6852
6853
6854 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6855 PyObject *resultobj = 0;
6856 wxFrame *arg1 = (wxFrame *) 0 ;
6857 wxToolBar *result = 0 ;
6858 void *argp1 = 0 ;
6859 int res1 = 0 ;
6860 PyObject *swig_obj[1] ;
6861
6862 if (!args) SWIG_fail;
6863 swig_obj[0] = args;
6864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6865 if (!SWIG_IsOK(res1)) {
6866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6867 }
6868 arg1 = reinterpret_cast< wxFrame * >(argp1);
6869 {
6870 PyThreadState* __tstate = wxPyBeginAllowThreads();
6871 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
6872 wxPyEndAllowThreads(__tstate);
6873 if (PyErr_Occurred()) SWIG_fail;
6874 }
6875 {
6876 resultobj = wxPyMake_wxObject(result, (bool)0);
6877 }
6878 return resultobj;
6879 fail:
6880 return NULL;
6881 }
6882
6883
6884 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6885 PyObject *resultobj = 0;
6886 wxFrame *arg1 = (wxFrame *) 0 ;
6887 wxToolBar *arg2 = (wxToolBar *) 0 ;
6888 void *argp1 = 0 ;
6889 int res1 = 0 ;
6890 void *argp2 = 0 ;
6891 int res2 = 0 ;
6892 PyObject * obj0 = 0 ;
6893 PyObject * obj1 = 0 ;
6894 char * kwnames[] = {
6895 (char *) "self",(char *) "toolbar", NULL
6896 };
6897
6898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
6899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6900 if (!SWIG_IsOK(res1)) {
6901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6902 }
6903 arg1 = reinterpret_cast< wxFrame * >(argp1);
6904 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
6905 if (!SWIG_IsOK(res2)) {
6906 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6907 }
6908 arg2 = reinterpret_cast< wxToolBar * >(argp2);
6909 {
6910 PyThreadState* __tstate = wxPyBeginAllowThreads();
6911 (arg1)->SetToolBar(arg2);
6912 wxPyEndAllowThreads(__tstate);
6913 if (PyErr_Occurred()) SWIG_fail;
6914 }
6915 resultobj = SWIG_Py_Void();
6916 return resultobj;
6917 fail:
6918 return NULL;
6919 }
6920
6921
6922 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6923 PyObject *resultobj = 0;
6924 wxFrame *arg1 = (wxFrame *) 0 ;
6925 wxString *arg2 = 0 ;
6926 bool arg3 ;
6927 void *argp1 = 0 ;
6928 int res1 = 0 ;
6929 bool temp2 = false ;
6930 bool val3 ;
6931 int ecode3 = 0 ;
6932 PyObject * obj0 = 0 ;
6933 PyObject * obj1 = 0 ;
6934 PyObject * obj2 = 0 ;
6935 char * kwnames[] = {
6936 (char *) "self",(char *) "text",(char *) "show", NULL
6937 };
6938
6939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6941 if (!SWIG_IsOK(res1)) {
6942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6943 }
6944 arg1 = reinterpret_cast< wxFrame * >(argp1);
6945 {
6946 arg2 = wxString_in_helper(obj1);
6947 if (arg2 == NULL) SWIG_fail;
6948 temp2 = true;
6949 }
6950 ecode3 = SWIG_AsVal_bool(obj2, &val3);
6951 if (!SWIG_IsOK(ecode3)) {
6952 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6953 }
6954 arg3 = static_cast< bool >(val3);
6955 {
6956 PyThreadState* __tstate = wxPyBeginAllowThreads();
6957 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
6958 wxPyEndAllowThreads(__tstate);
6959 if (PyErr_Occurred()) SWIG_fail;
6960 }
6961 resultobj = SWIG_Py_Void();
6962 {
6963 if (temp2)
6964 delete arg2;
6965 }
6966 return resultobj;
6967 fail:
6968 {
6969 if (temp2)
6970 delete arg2;
6971 }
6972 return NULL;
6973 }
6974
6975
6976 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6977 PyObject *resultobj = 0;
6978 wxFrame *arg1 = (wxFrame *) 0 ;
6979 wxMenu *arg2 = (wxMenu *) NULL ;
6980 void *argp1 = 0 ;
6981 int res1 = 0 ;
6982 void *argp2 = 0 ;
6983 int res2 = 0 ;
6984 PyObject * obj0 = 0 ;
6985 PyObject * obj1 = 0 ;
6986 char * kwnames[] = {
6987 (char *) "self",(char *) "menu", NULL
6988 };
6989
6990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
6991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6992 if (!SWIG_IsOK(res1)) {
6993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
6994 }
6995 arg1 = reinterpret_cast< wxFrame * >(argp1);
6996 if (obj1) {
6997 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
6998 if (!SWIG_IsOK(res2)) {
6999 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7000 }
7001 arg2 = reinterpret_cast< wxMenu * >(argp2);
7002 }
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 (arg1)->DoMenuUpdates(arg2);
7006 wxPyEndAllowThreads(__tstate);
7007 if (PyErr_Occurred()) SWIG_fail;
7008 }
7009 resultobj = SWIG_Py_Void();
7010 return resultobj;
7011 fail:
7012 return NULL;
7013 }
7014
7015
7016 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7017 PyObject *resultobj = 0;
7018 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7019 SwigValueWrapper<wxVisualAttributes > result;
7020 int val1 ;
7021 int ecode1 = 0 ;
7022 PyObject * obj0 = 0 ;
7023 char * kwnames[] = {
7024 (char *) "variant", NULL
7025 };
7026
7027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7028 if (obj0) {
7029 ecode1 = SWIG_AsVal_int(obj0, &val1);
7030 if (!SWIG_IsOK(ecode1)) {
7031 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7032 }
7033 arg1 = static_cast< wxWindowVariant >(val1);
7034 }
7035 {
7036 if (!wxPyCheckForApp()) SWIG_fail;
7037 PyThreadState* __tstate = wxPyBeginAllowThreads();
7038 result = wxFrame::GetClassDefaultAttributes(arg1);
7039 wxPyEndAllowThreads(__tstate);
7040 if (PyErr_Occurred()) SWIG_fail;
7041 }
7042 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7043 return resultobj;
7044 fail:
7045 return NULL;
7046 }
7047
7048
7049 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7050 PyObject *obj;
7051 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7052 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7053 return SWIG_Py_Void();
7054 }
7055
7056 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7057 return SWIG_Python_InitShadowInstance(args);
7058 }
7059
7060 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7061 PyObject *resultobj = 0;
7062 wxWindow *arg1 = (wxWindow *) 0 ;
7063 int arg2 = (int) (int)-1 ;
7064 wxString const &arg3_defvalue = wxPyEmptyString ;
7065 wxString *arg3 = (wxString *) &arg3_defvalue ;
7066 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7067 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7068 wxSize const &arg5_defvalue = wxDefaultSize ;
7069 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7070 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7071 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7072 wxString *arg7 = (wxString *) &arg7_defvalue ;
7073 wxDialog *result = 0 ;
7074 void *argp1 = 0 ;
7075 int res1 = 0 ;
7076 int val2 ;
7077 int ecode2 = 0 ;
7078 bool temp3 = false ;
7079 wxPoint temp4 ;
7080 wxSize temp5 ;
7081 long val6 ;
7082 int ecode6 = 0 ;
7083 bool temp7 = false ;
7084 PyObject * obj0 = 0 ;
7085 PyObject * obj1 = 0 ;
7086 PyObject * obj2 = 0 ;
7087 PyObject * obj3 = 0 ;
7088 PyObject * obj4 = 0 ;
7089 PyObject * obj5 = 0 ;
7090 PyObject * obj6 = 0 ;
7091 char * kwnames[] = {
7092 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7093 };
7094
7095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7097 if (!SWIG_IsOK(res1)) {
7098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7099 }
7100 arg1 = reinterpret_cast< wxWindow * >(argp1);
7101 if (obj1) {
7102 ecode2 = SWIG_AsVal_int(obj1, &val2);
7103 if (!SWIG_IsOK(ecode2)) {
7104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7105 }
7106 arg2 = static_cast< int >(val2);
7107 }
7108 if (obj2) {
7109 {
7110 arg3 = wxString_in_helper(obj2);
7111 if (arg3 == NULL) SWIG_fail;
7112 temp3 = true;
7113 }
7114 }
7115 if (obj3) {
7116 {
7117 arg4 = &temp4;
7118 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7119 }
7120 }
7121 if (obj4) {
7122 {
7123 arg5 = &temp5;
7124 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7125 }
7126 }
7127 if (obj5) {
7128 ecode6 = SWIG_AsVal_long(obj5, &val6);
7129 if (!SWIG_IsOK(ecode6)) {
7130 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7131 }
7132 arg6 = static_cast< long >(val6);
7133 }
7134 if (obj6) {
7135 {
7136 arg7 = wxString_in_helper(obj6);
7137 if (arg7 == NULL) SWIG_fail;
7138 temp7 = true;
7139 }
7140 }
7141 {
7142 if (!wxPyCheckForApp()) SWIG_fail;
7143 PyThreadState* __tstate = wxPyBeginAllowThreads();
7144 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7145 wxPyEndAllowThreads(__tstate);
7146 if (PyErr_Occurred()) SWIG_fail;
7147 }
7148 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7149 {
7150 if (temp3)
7151 delete arg3;
7152 }
7153 {
7154 if (temp7)
7155 delete arg7;
7156 }
7157 return resultobj;
7158 fail:
7159 {
7160 if (temp3)
7161 delete arg3;
7162 }
7163 {
7164 if (temp7)
7165 delete arg7;
7166 }
7167 return NULL;
7168 }
7169
7170
7171 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7172 PyObject *resultobj = 0;
7173 wxDialog *result = 0 ;
7174
7175 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7176 {
7177 if (!wxPyCheckForApp()) SWIG_fail;
7178 PyThreadState* __tstate = wxPyBeginAllowThreads();
7179 result = (wxDialog *)new wxDialog();
7180 wxPyEndAllowThreads(__tstate);
7181 if (PyErr_Occurred()) SWIG_fail;
7182 }
7183 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7184 return resultobj;
7185 fail:
7186 return NULL;
7187 }
7188
7189
7190 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7191 PyObject *resultobj = 0;
7192 wxDialog *arg1 = (wxDialog *) 0 ;
7193 wxWindow *arg2 = (wxWindow *) 0 ;
7194 int arg3 = (int) (int)-1 ;
7195 wxString const &arg4_defvalue = wxPyEmptyString ;
7196 wxString *arg4 = (wxString *) &arg4_defvalue ;
7197 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7198 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7199 wxSize const &arg6_defvalue = wxDefaultSize ;
7200 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7201 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7202 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7203 wxString *arg8 = (wxString *) &arg8_defvalue ;
7204 bool result;
7205 void *argp1 = 0 ;
7206 int res1 = 0 ;
7207 void *argp2 = 0 ;
7208 int res2 = 0 ;
7209 int val3 ;
7210 int ecode3 = 0 ;
7211 bool temp4 = false ;
7212 wxPoint temp5 ;
7213 wxSize temp6 ;
7214 long val7 ;
7215 int ecode7 = 0 ;
7216 bool temp8 = false ;
7217 PyObject * obj0 = 0 ;
7218 PyObject * obj1 = 0 ;
7219 PyObject * obj2 = 0 ;
7220 PyObject * obj3 = 0 ;
7221 PyObject * obj4 = 0 ;
7222 PyObject * obj5 = 0 ;
7223 PyObject * obj6 = 0 ;
7224 PyObject * obj7 = 0 ;
7225 char * kwnames[] = {
7226 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7227 };
7228
7229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7231 if (!SWIG_IsOK(res1)) {
7232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7233 }
7234 arg1 = reinterpret_cast< wxDialog * >(argp1);
7235 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7236 if (!SWIG_IsOK(res2)) {
7237 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7238 }
7239 arg2 = reinterpret_cast< wxWindow * >(argp2);
7240 if (obj2) {
7241 ecode3 = SWIG_AsVal_int(obj2, &val3);
7242 if (!SWIG_IsOK(ecode3)) {
7243 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7244 }
7245 arg3 = static_cast< int >(val3);
7246 }
7247 if (obj3) {
7248 {
7249 arg4 = wxString_in_helper(obj3);
7250 if (arg4 == NULL) SWIG_fail;
7251 temp4 = true;
7252 }
7253 }
7254 if (obj4) {
7255 {
7256 arg5 = &temp5;
7257 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7258 }
7259 }
7260 if (obj5) {
7261 {
7262 arg6 = &temp6;
7263 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7264 }
7265 }
7266 if (obj6) {
7267 ecode7 = SWIG_AsVal_long(obj6, &val7);
7268 if (!SWIG_IsOK(ecode7)) {
7269 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7270 }
7271 arg7 = static_cast< long >(val7);
7272 }
7273 if (obj7) {
7274 {
7275 arg8 = wxString_in_helper(obj7);
7276 if (arg8 == NULL) SWIG_fail;
7277 temp8 = true;
7278 }
7279 }
7280 {
7281 PyThreadState* __tstate = wxPyBeginAllowThreads();
7282 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7283 wxPyEndAllowThreads(__tstate);
7284 if (PyErr_Occurred()) SWIG_fail;
7285 }
7286 {
7287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7288 }
7289 {
7290 if (temp4)
7291 delete arg4;
7292 }
7293 {
7294 if (temp8)
7295 delete arg8;
7296 }
7297 return resultobj;
7298 fail:
7299 {
7300 if (temp4)
7301 delete arg4;
7302 }
7303 {
7304 if (temp8)
7305 delete arg8;
7306 }
7307 return NULL;
7308 }
7309
7310
7311 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7312 PyObject *resultobj = 0;
7313 wxDialog *arg1 = (wxDialog *) 0 ;
7314 int arg2 ;
7315 void *argp1 = 0 ;
7316 int res1 = 0 ;
7317 int val2 ;
7318 int ecode2 = 0 ;
7319 PyObject * obj0 = 0 ;
7320 PyObject * obj1 = 0 ;
7321 char * kwnames[] = {
7322 (char *) "self",(char *) "returnCode", NULL
7323 };
7324
7325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7327 if (!SWIG_IsOK(res1)) {
7328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7329 }
7330 arg1 = reinterpret_cast< wxDialog * >(argp1);
7331 ecode2 = SWIG_AsVal_int(obj1, &val2);
7332 if (!SWIG_IsOK(ecode2)) {
7333 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7334 }
7335 arg2 = static_cast< int >(val2);
7336 {
7337 PyThreadState* __tstate = wxPyBeginAllowThreads();
7338 (arg1)->SetReturnCode(arg2);
7339 wxPyEndAllowThreads(__tstate);
7340 if (PyErr_Occurred()) SWIG_fail;
7341 }
7342 resultobj = SWIG_Py_Void();
7343 return resultobj;
7344 fail:
7345 return NULL;
7346 }
7347
7348
7349 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7350 PyObject *resultobj = 0;
7351 wxDialog *arg1 = (wxDialog *) 0 ;
7352 int result;
7353 void *argp1 = 0 ;
7354 int res1 = 0 ;
7355 PyObject *swig_obj[1] ;
7356
7357 if (!args) SWIG_fail;
7358 swig_obj[0] = args;
7359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7360 if (!SWIG_IsOK(res1)) {
7361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7362 }
7363 arg1 = reinterpret_cast< wxDialog * >(argp1);
7364 {
7365 PyThreadState* __tstate = wxPyBeginAllowThreads();
7366 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7367 wxPyEndAllowThreads(__tstate);
7368 if (PyErr_Occurred()) SWIG_fail;
7369 }
7370 resultobj = SWIG_From_int(static_cast< int >(result));
7371 return resultobj;
7372 fail:
7373 return NULL;
7374 }
7375
7376
7377 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7378 PyObject *resultobj = 0;
7379 wxDialog *arg1 = (wxDialog *) 0 ;
7380 int arg2 ;
7381 void *argp1 = 0 ;
7382 int res1 = 0 ;
7383 int val2 ;
7384 int ecode2 = 0 ;
7385 PyObject * obj0 = 0 ;
7386 PyObject * obj1 = 0 ;
7387 char * kwnames[] = {
7388 (char *) "self",(char *) "affirmativeId", NULL
7389 };
7390
7391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7393 if (!SWIG_IsOK(res1)) {
7394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7395 }
7396 arg1 = reinterpret_cast< wxDialog * >(argp1);
7397 ecode2 = SWIG_AsVal_int(obj1, &val2);
7398 if (!SWIG_IsOK(ecode2)) {
7399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7400 }
7401 arg2 = static_cast< int >(val2);
7402 {
7403 PyThreadState* __tstate = wxPyBeginAllowThreads();
7404 (arg1)->SetAffirmativeId(arg2);
7405 wxPyEndAllowThreads(__tstate);
7406 if (PyErr_Occurred()) SWIG_fail;
7407 }
7408 resultobj = SWIG_Py_Void();
7409 return resultobj;
7410 fail:
7411 return NULL;
7412 }
7413
7414
7415 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7416 PyObject *resultobj = 0;
7417 wxDialog *arg1 = (wxDialog *) 0 ;
7418 int result;
7419 void *argp1 = 0 ;
7420 int res1 = 0 ;
7421 PyObject *swig_obj[1] ;
7422
7423 if (!args) SWIG_fail;
7424 swig_obj[0] = args;
7425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7426 if (!SWIG_IsOK(res1)) {
7427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7428 }
7429 arg1 = reinterpret_cast< wxDialog * >(argp1);
7430 {
7431 PyThreadState* __tstate = wxPyBeginAllowThreads();
7432 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7433 wxPyEndAllowThreads(__tstate);
7434 if (PyErr_Occurred()) SWIG_fail;
7435 }
7436 resultobj = SWIG_From_int(static_cast< int >(result));
7437 return resultobj;
7438 fail:
7439 return NULL;
7440 }
7441
7442
7443 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7444 PyObject *resultobj = 0;
7445 wxDialog *arg1 = (wxDialog *) 0 ;
7446 int arg2 ;
7447 void *argp1 = 0 ;
7448 int res1 = 0 ;
7449 int val2 ;
7450 int ecode2 = 0 ;
7451 PyObject * obj0 = 0 ;
7452 PyObject * obj1 = 0 ;
7453 char * kwnames[] = {
7454 (char *) "self",(char *) "escapeId", NULL
7455 };
7456
7457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7459 if (!SWIG_IsOK(res1)) {
7460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7461 }
7462 arg1 = reinterpret_cast< wxDialog * >(argp1);
7463 ecode2 = SWIG_AsVal_int(obj1, &val2);
7464 if (!SWIG_IsOK(ecode2)) {
7465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7466 }
7467 arg2 = static_cast< int >(val2);
7468 {
7469 PyThreadState* __tstate = wxPyBeginAllowThreads();
7470 (arg1)->SetEscapeId(arg2);
7471 wxPyEndAllowThreads(__tstate);
7472 if (PyErr_Occurred()) SWIG_fail;
7473 }
7474 resultobj = SWIG_Py_Void();
7475 return resultobj;
7476 fail:
7477 return NULL;
7478 }
7479
7480
7481 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7482 PyObject *resultobj = 0;
7483 wxDialog *arg1 = (wxDialog *) 0 ;
7484 int result;
7485 void *argp1 = 0 ;
7486 int res1 = 0 ;
7487 PyObject *swig_obj[1] ;
7488
7489 if (!args) SWIG_fail;
7490 swig_obj[0] = args;
7491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7492 if (!SWIG_IsOK(res1)) {
7493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7494 }
7495 arg1 = reinterpret_cast< wxDialog * >(argp1);
7496 {
7497 PyThreadState* __tstate = wxPyBeginAllowThreads();
7498 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7499 wxPyEndAllowThreads(__tstate);
7500 if (PyErr_Occurred()) SWIG_fail;
7501 }
7502 resultobj = SWIG_From_int(static_cast< int >(result));
7503 return resultobj;
7504 fail:
7505 return NULL;
7506 }
7507
7508
7509 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7510 PyObject *resultobj = 0;
7511 wxDialog *arg1 = (wxDialog *) 0 ;
7512 wxString *arg2 = 0 ;
7513 wxSizer *result = 0 ;
7514 void *argp1 = 0 ;
7515 int res1 = 0 ;
7516 bool temp2 = false ;
7517 PyObject * obj0 = 0 ;
7518 PyObject * obj1 = 0 ;
7519 char * kwnames[] = {
7520 (char *) "self",(char *) "message", NULL
7521 };
7522
7523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7525 if (!SWIG_IsOK(res1)) {
7526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7527 }
7528 arg1 = reinterpret_cast< wxDialog * >(argp1);
7529 {
7530 arg2 = wxString_in_helper(obj1);
7531 if (arg2 == NULL) SWIG_fail;
7532 temp2 = true;
7533 }
7534 {
7535 PyThreadState* __tstate = wxPyBeginAllowThreads();
7536 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7537 wxPyEndAllowThreads(__tstate);
7538 if (PyErr_Occurred()) SWIG_fail;
7539 }
7540 {
7541 resultobj = wxPyMake_wxObject(result, (bool)0);
7542 }
7543 {
7544 if (temp2)
7545 delete arg2;
7546 }
7547 return resultobj;
7548 fail:
7549 {
7550 if (temp2)
7551 delete arg2;
7552 }
7553 return NULL;
7554 }
7555
7556
7557 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7558 PyObject *resultobj = 0;
7559 wxDialog *arg1 = (wxDialog *) 0 ;
7560 long arg2 ;
7561 bool arg3 = (bool) false ;
7562 int arg4 = (int) 0 ;
7563 wxSizer *result = 0 ;
7564 void *argp1 = 0 ;
7565 int res1 = 0 ;
7566 long val2 ;
7567 int ecode2 = 0 ;
7568 bool val3 ;
7569 int ecode3 = 0 ;
7570 int val4 ;
7571 int ecode4 = 0 ;
7572 PyObject * obj0 = 0 ;
7573 PyObject * obj1 = 0 ;
7574 PyObject * obj2 = 0 ;
7575 PyObject * obj3 = 0 ;
7576 char * kwnames[] = {
7577 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7578 };
7579
7580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) 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_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7584 }
7585 arg1 = reinterpret_cast< wxDialog * >(argp1);
7586 ecode2 = SWIG_AsVal_long(obj1, &val2);
7587 if (!SWIG_IsOK(ecode2)) {
7588 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7589 }
7590 arg2 = static_cast< long >(val2);
7591 if (obj2) {
7592 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7593 if (!SWIG_IsOK(ecode3)) {
7594 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7595 }
7596 arg3 = static_cast< bool >(val3);
7597 }
7598 if (obj3) {
7599 ecode4 = SWIG_AsVal_int(obj3, &val4);
7600 if (!SWIG_IsOK(ecode4)) {
7601 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7602 }
7603 arg4 = static_cast< int >(val4);
7604 }
7605 {
7606 PyThreadState* __tstate = wxPyBeginAllowThreads();
7607 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 }
7611 {
7612 resultobj = wxPyMake_wxObject(result, (bool)0);
7613 }
7614 return resultobj;
7615 fail:
7616 return NULL;
7617 }
7618
7619
7620 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7621 PyObject *resultobj = 0;
7622 wxDialog *arg1 = (wxDialog *) 0 ;
7623 long arg2 ;
7624 wxStdDialogButtonSizer *result = 0 ;
7625 void *argp1 = 0 ;
7626 int res1 = 0 ;
7627 long val2 ;
7628 int ecode2 = 0 ;
7629 PyObject * obj0 = 0 ;
7630 PyObject * obj1 = 0 ;
7631 char * kwnames[] = {
7632 (char *) "self",(char *) "flags", NULL
7633 };
7634
7635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7637 if (!SWIG_IsOK(res1)) {
7638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7639 }
7640 arg1 = reinterpret_cast< wxDialog * >(argp1);
7641 ecode2 = SWIG_AsVal_long(obj1, &val2);
7642 if (!SWIG_IsOK(ecode2)) {
7643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7644 }
7645 arg2 = static_cast< long >(val2);
7646 {
7647 PyThreadState* __tstate = wxPyBeginAllowThreads();
7648 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7649 wxPyEndAllowThreads(__tstate);
7650 if (PyErr_Occurred()) SWIG_fail;
7651 }
7652 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7653 return resultobj;
7654 fail:
7655 return NULL;
7656 }
7657
7658
7659 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7660 PyObject *resultobj = 0;
7661 wxDialog *arg1 = (wxDialog *) 0 ;
7662 bool result;
7663 void *argp1 = 0 ;
7664 int res1 = 0 ;
7665 PyObject *swig_obj[1] ;
7666
7667 if (!args) SWIG_fail;
7668 swig_obj[0] = args;
7669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7670 if (!SWIG_IsOK(res1)) {
7671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7672 }
7673 arg1 = reinterpret_cast< wxDialog * >(argp1);
7674 {
7675 PyThreadState* __tstate = wxPyBeginAllowThreads();
7676 result = (bool)((wxDialog const *)arg1)->IsModal();
7677 wxPyEndAllowThreads(__tstate);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
7680 {
7681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7682 }
7683 return resultobj;
7684 fail:
7685 return NULL;
7686 }
7687
7688
7689 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7690 PyObject *resultobj = 0;
7691 wxDialog *arg1 = (wxDialog *) 0 ;
7692 int result;
7693 void *argp1 = 0 ;
7694 int res1 = 0 ;
7695 PyObject *swig_obj[1] ;
7696
7697 if (!args) SWIG_fail;
7698 swig_obj[0] = args;
7699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7700 if (!SWIG_IsOK(res1)) {
7701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7702 }
7703 arg1 = reinterpret_cast< wxDialog * >(argp1);
7704 {
7705 PyThreadState* __tstate = wxPyBeginAllowThreads();
7706 result = (int)(arg1)->ShowModal();
7707 wxPyEndAllowThreads(__tstate);
7708 if (PyErr_Occurred()) SWIG_fail;
7709 }
7710 resultobj = SWIG_From_int(static_cast< int >(result));
7711 return resultobj;
7712 fail:
7713 return NULL;
7714 }
7715
7716
7717 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7718 PyObject *resultobj = 0;
7719 wxDialog *arg1 = (wxDialog *) 0 ;
7720 int arg2 ;
7721 void *argp1 = 0 ;
7722 int res1 = 0 ;
7723 int val2 ;
7724 int ecode2 = 0 ;
7725 PyObject * obj0 = 0 ;
7726 PyObject * obj1 = 0 ;
7727 char * kwnames[] = {
7728 (char *) "self",(char *) "retCode", NULL
7729 };
7730
7731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7733 if (!SWIG_IsOK(res1)) {
7734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7735 }
7736 arg1 = reinterpret_cast< wxDialog * >(argp1);
7737 ecode2 = SWIG_AsVal_int(obj1, &val2);
7738 if (!SWIG_IsOK(ecode2)) {
7739 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7740 }
7741 arg2 = static_cast< int >(val2);
7742 {
7743 PyThreadState* __tstate = wxPyBeginAllowThreads();
7744 (arg1)->EndModal(arg2);
7745 wxPyEndAllowThreads(__tstate);
7746 if (PyErr_Occurred()) SWIG_fail;
7747 }
7748 resultobj = SWIG_Py_Void();
7749 return resultobj;
7750 fail:
7751 return NULL;
7752 }
7753
7754
7755 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7756 PyObject *resultobj = 0;
7757 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7758 SwigValueWrapper<wxVisualAttributes > result;
7759 int val1 ;
7760 int ecode1 = 0 ;
7761 PyObject * obj0 = 0 ;
7762 char * kwnames[] = {
7763 (char *) "variant", NULL
7764 };
7765
7766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7767 if (obj0) {
7768 ecode1 = SWIG_AsVal_int(obj0, &val1);
7769 if (!SWIG_IsOK(ecode1)) {
7770 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7771 }
7772 arg1 = static_cast< wxWindowVariant >(val1);
7773 }
7774 {
7775 if (!wxPyCheckForApp()) SWIG_fail;
7776 PyThreadState* __tstate = wxPyBeginAllowThreads();
7777 result = wxDialog::GetClassDefaultAttributes(arg1);
7778 wxPyEndAllowThreads(__tstate);
7779 if (PyErr_Occurred()) SWIG_fail;
7780 }
7781 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7782 return resultobj;
7783 fail:
7784 return NULL;
7785 }
7786
7787
7788 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7789 PyObject *obj;
7790 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7791 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7792 return SWIG_Py_Void();
7793 }
7794
7795 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7796 return SWIG_Python_InitShadowInstance(args);
7797 }
7798
7799 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7800 PyObject *resultobj = 0;
7801 wxWindow *arg1 = (wxWindow *) 0 ;
7802 int arg2 = (int) (int)-1 ;
7803 wxString const &arg3_defvalue = wxPyEmptyString ;
7804 wxString *arg3 = (wxString *) &arg3_defvalue ;
7805 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7806 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7807 wxSize const &arg5_defvalue = wxDefaultSize ;
7808 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7809 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
7810 wxString const &arg7_defvalue = wxPyFrameNameStr ;
7811 wxString *arg7 = (wxString *) &arg7_defvalue ;
7812 wxMiniFrame *result = 0 ;
7813 void *argp1 = 0 ;
7814 int res1 = 0 ;
7815 int val2 ;
7816 int ecode2 = 0 ;
7817 bool temp3 = false ;
7818 wxPoint temp4 ;
7819 wxSize temp5 ;
7820 long val6 ;
7821 int ecode6 = 0 ;
7822 bool temp7 = false ;
7823 PyObject * obj0 = 0 ;
7824 PyObject * obj1 = 0 ;
7825 PyObject * obj2 = 0 ;
7826 PyObject * obj3 = 0 ;
7827 PyObject * obj4 = 0 ;
7828 PyObject * obj5 = 0 ;
7829 PyObject * obj6 = 0 ;
7830 char * kwnames[] = {
7831 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7832 };
7833
7834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7836 if (!SWIG_IsOK(res1)) {
7837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7838 }
7839 arg1 = reinterpret_cast< wxWindow * >(argp1);
7840 if (obj1) {
7841 ecode2 = SWIG_AsVal_int(obj1, &val2);
7842 if (!SWIG_IsOK(ecode2)) {
7843 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7844 }
7845 arg2 = static_cast< int >(val2);
7846 }
7847 if (obj2) {
7848 {
7849 arg3 = wxString_in_helper(obj2);
7850 if (arg3 == NULL) SWIG_fail;
7851 temp3 = true;
7852 }
7853 }
7854 if (obj3) {
7855 {
7856 arg4 = &temp4;
7857 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7858 }
7859 }
7860 if (obj4) {
7861 {
7862 arg5 = &temp5;
7863 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7864 }
7865 }
7866 if (obj5) {
7867 ecode6 = SWIG_AsVal_long(obj5, &val6);
7868 if (!SWIG_IsOK(ecode6)) {
7869 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7870 }
7871 arg6 = static_cast< long >(val6);
7872 }
7873 if (obj6) {
7874 {
7875 arg7 = wxString_in_helper(obj6);
7876 if (arg7 == NULL) SWIG_fail;
7877 temp7 = true;
7878 }
7879 }
7880 {
7881 if (!wxPyCheckForApp()) SWIG_fail;
7882 PyThreadState* __tstate = wxPyBeginAllowThreads();
7883 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7884 wxPyEndAllowThreads(__tstate);
7885 if (PyErr_Occurred()) SWIG_fail;
7886 }
7887 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
7888 {
7889 if (temp3)
7890 delete arg3;
7891 }
7892 {
7893 if (temp7)
7894 delete arg7;
7895 }
7896 return resultobj;
7897 fail:
7898 {
7899 if (temp3)
7900 delete arg3;
7901 }
7902 {
7903 if (temp7)
7904 delete arg7;
7905 }
7906 return NULL;
7907 }
7908
7909
7910 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7911 PyObject *resultobj = 0;
7912 wxMiniFrame *result = 0 ;
7913
7914 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
7915 {
7916 if (!wxPyCheckForApp()) SWIG_fail;
7917 PyThreadState* __tstate = wxPyBeginAllowThreads();
7918 result = (wxMiniFrame *)new wxMiniFrame();
7919 wxPyEndAllowThreads(__tstate);
7920 if (PyErr_Occurred()) SWIG_fail;
7921 }
7922 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
7923 return resultobj;
7924 fail:
7925 return NULL;
7926 }
7927
7928
7929 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7930 PyObject *resultobj = 0;
7931 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
7932 wxWindow *arg2 = (wxWindow *) 0 ;
7933 int arg3 = (int) (int)-1 ;
7934 wxString const &arg4_defvalue = wxPyEmptyString ;
7935 wxString *arg4 = (wxString *) &arg4_defvalue ;
7936 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7937 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7938 wxSize const &arg6_defvalue = wxDefaultSize ;
7939 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7940 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
7941 wxString const &arg8_defvalue = wxPyFrameNameStr ;
7942 wxString *arg8 = (wxString *) &arg8_defvalue ;
7943 bool result;
7944 void *argp1 = 0 ;
7945 int res1 = 0 ;
7946 void *argp2 = 0 ;
7947 int res2 = 0 ;
7948 int val3 ;
7949 int ecode3 = 0 ;
7950 bool temp4 = false ;
7951 wxPoint temp5 ;
7952 wxSize temp6 ;
7953 long val7 ;
7954 int ecode7 = 0 ;
7955 bool temp8 = false ;
7956 PyObject * obj0 = 0 ;
7957 PyObject * obj1 = 0 ;
7958 PyObject * obj2 = 0 ;
7959 PyObject * obj3 = 0 ;
7960 PyObject * obj4 = 0 ;
7961 PyObject * obj5 = 0 ;
7962 PyObject * obj6 = 0 ;
7963 PyObject * obj7 = 0 ;
7964 char * kwnames[] = {
7965 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7966 };
7967
7968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
7970 if (!SWIG_IsOK(res1)) {
7971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7972 }
7973 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
7974 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7975 if (!SWIG_IsOK(res2)) {
7976 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7977 }
7978 arg2 = reinterpret_cast< wxWindow * >(argp2);
7979 if (obj2) {
7980 ecode3 = SWIG_AsVal_int(obj2, &val3);
7981 if (!SWIG_IsOK(ecode3)) {
7982 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7983 }
7984 arg3 = static_cast< int >(val3);
7985 }
7986 if (obj3) {
7987 {
7988 arg4 = wxString_in_helper(obj3);
7989 if (arg4 == NULL) SWIG_fail;
7990 temp4 = true;
7991 }
7992 }
7993 if (obj4) {
7994 {
7995 arg5 = &temp5;
7996 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7997 }
7998 }
7999 if (obj5) {
8000 {
8001 arg6 = &temp6;
8002 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8003 }
8004 }
8005 if (obj6) {
8006 ecode7 = SWIG_AsVal_long(obj6, &val7);
8007 if (!SWIG_IsOK(ecode7)) {
8008 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8009 }
8010 arg7 = static_cast< long >(val7);
8011 }
8012 if (obj7) {
8013 {
8014 arg8 = wxString_in_helper(obj7);
8015 if (arg8 == NULL) SWIG_fail;
8016 temp8 = true;
8017 }
8018 }
8019 {
8020 PyThreadState* __tstate = wxPyBeginAllowThreads();
8021 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8022 wxPyEndAllowThreads(__tstate);
8023 if (PyErr_Occurred()) SWIG_fail;
8024 }
8025 {
8026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8027 }
8028 {
8029 if (temp4)
8030 delete arg4;
8031 }
8032 {
8033 if (temp8)
8034 delete arg8;
8035 }
8036 return resultobj;
8037 fail:
8038 {
8039 if (temp4)
8040 delete arg4;
8041 }
8042 {
8043 if (temp8)
8044 delete arg8;
8045 }
8046 return NULL;
8047 }
8048
8049
8050 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8051 PyObject *obj;
8052 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8053 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8054 return SWIG_Py_Void();
8055 }
8056
8057 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8058 return SWIG_Python_InitShadowInstance(args);
8059 }
8060
8061 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8062 PyObject *resultobj = 0;
8063 wxBitmap *arg1 = 0 ;
8064 wxWindow *arg2 = (wxWindow *) 0 ;
8065 int arg3 ;
8066 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8067 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8068 wxSize const &arg5_defvalue = wxDefaultSize ;
8069 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8070 long arg6 = (long) wxNO_BORDER ;
8071 wxSplashScreenWindow *result = 0 ;
8072 void *argp1 = 0 ;
8073 int res1 = 0 ;
8074 void *argp2 = 0 ;
8075 int res2 = 0 ;
8076 int val3 ;
8077 int ecode3 = 0 ;
8078 wxPoint temp4 ;
8079 wxSize temp5 ;
8080 long val6 ;
8081 int ecode6 = 0 ;
8082 PyObject * obj0 = 0 ;
8083 PyObject * obj1 = 0 ;
8084 PyObject * obj2 = 0 ;
8085 PyObject * obj3 = 0 ;
8086 PyObject * obj4 = 0 ;
8087 PyObject * obj5 = 0 ;
8088 char * kwnames[] = {
8089 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8090 };
8091
8092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8093 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8094 if (!SWIG_IsOK(res1)) {
8095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8096 }
8097 if (!argp1) {
8098 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8099 }
8100 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8101 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8102 if (!SWIG_IsOK(res2)) {
8103 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8104 }
8105 arg2 = reinterpret_cast< wxWindow * >(argp2);
8106 ecode3 = SWIG_AsVal_int(obj2, &val3);
8107 if (!SWIG_IsOK(ecode3)) {
8108 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8109 }
8110 arg3 = static_cast< int >(val3);
8111 if (obj3) {
8112 {
8113 arg4 = &temp4;
8114 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8115 }
8116 }
8117 if (obj4) {
8118 {
8119 arg5 = &temp5;
8120 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8121 }
8122 }
8123 if (obj5) {
8124 ecode6 = SWIG_AsVal_long(obj5, &val6);
8125 if (!SWIG_IsOK(ecode6)) {
8126 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8127 }
8128 arg6 = static_cast< long >(val6);
8129 }
8130 {
8131 if (!wxPyCheckForApp()) SWIG_fail;
8132 PyThreadState* __tstate = wxPyBeginAllowThreads();
8133 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8134 wxPyEndAllowThreads(__tstate);
8135 if (PyErr_Occurred()) SWIG_fail;
8136 }
8137 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8138 return resultobj;
8139 fail:
8140 return NULL;
8141 }
8142
8143
8144 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8145 PyObject *resultobj = 0;
8146 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8147 wxBitmap *arg2 = 0 ;
8148 void *argp1 = 0 ;
8149 int res1 = 0 ;
8150 void *argp2 = 0 ;
8151 int res2 = 0 ;
8152 PyObject * obj0 = 0 ;
8153 PyObject * obj1 = 0 ;
8154 char * kwnames[] = {
8155 (char *) "self",(char *) "bitmap", NULL
8156 };
8157
8158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8160 if (!SWIG_IsOK(res1)) {
8161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8162 }
8163 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8164 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8165 if (!SWIG_IsOK(res2)) {
8166 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8167 }
8168 if (!argp2) {
8169 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8170 }
8171 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8172 {
8173 PyThreadState* __tstate = wxPyBeginAllowThreads();
8174 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8175 wxPyEndAllowThreads(__tstate);
8176 if (PyErr_Occurred()) SWIG_fail;
8177 }
8178 resultobj = SWIG_Py_Void();
8179 return resultobj;
8180 fail:
8181 return NULL;
8182 }
8183
8184
8185 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8186 PyObject *resultobj = 0;
8187 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8188 wxBitmap *result = 0 ;
8189 void *argp1 = 0 ;
8190 int res1 = 0 ;
8191 PyObject *swig_obj[1] ;
8192
8193 if (!args) SWIG_fail;
8194 swig_obj[0] = args;
8195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8196 if (!SWIG_IsOK(res1)) {
8197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8198 }
8199 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8200 {
8201 PyThreadState* __tstate = wxPyBeginAllowThreads();
8202 {
8203 wxBitmap &_result_ref = (arg1)->GetBitmap();
8204 result = (wxBitmap *) &_result_ref;
8205 }
8206 wxPyEndAllowThreads(__tstate);
8207 if (PyErr_Occurred()) SWIG_fail;
8208 }
8209 {
8210 wxBitmap* resultptr = new wxBitmap(*result);
8211 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8212 }
8213 return resultobj;
8214 fail:
8215 return NULL;
8216 }
8217
8218
8219 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8220 PyObject *obj;
8221 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8222 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8223 return SWIG_Py_Void();
8224 }
8225
8226 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8227 return SWIG_Python_InitShadowInstance(args);
8228 }
8229
8230 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8231 PyObject *resultobj = 0;
8232 wxBitmap *arg1 = 0 ;
8233 long arg2 ;
8234 int arg3 ;
8235 wxWindow *arg4 = (wxWindow *) 0 ;
8236 int arg5 = (int) -1 ;
8237 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8238 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8239 wxSize const &arg7_defvalue = wxDefaultSize ;
8240 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8241 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8242 wxSplashScreen *result = 0 ;
8243 void *argp1 = 0 ;
8244 int res1 = 0 ;
8245 long val2 ;
8246 int ecode2 = 0 ;
8247 int val3 ;
8248 int ecode3 = 0 ;
8249 void *argp4 = 0 ;
8250 int res4 = 0 ;
8251 int val5 ;
8252 int ecode5 = 0 ;
8253 wxPoint temp6 ;
8254 wxSize temp7 ;
8255 long val8 ;
8256 int ecode8 = 0 ;
8257 PyObject * obj0 = 0 ;
8258 PyObject * obj1 = 0 ;
8259 PyObject * obj2 = 0 ;
8260 PyObject * obj3 = 0 ;
8261 PyObject * obj4 = 0 ;
8262 PyObject * obj5 = 0 ;
8263 PyObject * obj6 = 0 ;
8264 PyObject * obj7 = 0 ;
8265 char * kwnames[] = {
8266 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8267 };
8268
8269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8270 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8271 if (!SWIG_IsOK(res1)) {
8272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8273 }
8274 if (!argp1) {
8275 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8276 }
8277 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8278 ecode2 = SWIG_AsVal_long(obj1, &val2);
8279 if (!SWIG_IsOK(ecode2)) {
8280 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8281 }
8282 arg2 = static_cast< long >(val2);
8283 ecode3 = SWIG_AsVal_int(obj2, &val3);
8284 if (!SWIG_IsOK(ecode3)) {
8285 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8286 }
8287 arg3 = static_cast< int >(val3);
8288 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8289 if (!SWIG_IsOK(res4)) {
8290 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8291 }
8292 arg4 = reinterpret_cast< wxWindow * >(argp4);
8293 if (obj4) {
8294 ecode5 = SWIG_AsVal_int(obj4, &val5);
8295 if (!SWIG_IsOK(ecode5)) {
8296 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8297 }
8298 arg5 = static_cast< int >(val5);
8299 }
8300 if (obj5) {
8301 {
8302 arg6 = &temp6;
8303 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8304 }
8305 }
8306 if (obj6) {
8307 {
8308 arg7 = &temp7;
8309 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8310 }
8311 }
8312 if (obj7) {
8313 ecode8 = SWIG_AsVal_long(obj7, &val8);
8314 if (!SWIG_IsOK(ecode8)) {
8315 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8316 }
8317 arg8 = static_cast< long >(val8);
8318 }
8319 {
8320 if (!wxPyCheckForApp()) SWIG_fail;
8321 PyThreadState* __tstate = wxPyBeginAllowThreads();
8322 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8323 wxPyEndAllowThreads(__tstate);
8324 if (PyErr_Occurred()) SWIG_fail;
8325 }
8326 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8327 return resultobj;
8328 fail:
8329 return NULL;
8330 }
8331
8332
8333 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8334 PyObject *resultobj = 0;
8335 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8336 long result;
8337 void *argp1 = 0 ;
8338 int res1 = 0 ;
8339 PyObject *swig_obj[1] ;
8340
8341 if (!args) SWIG_fail;
8342 swig_obj[0] = args;
8343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8344 if (!SWIG_IsOK(res1)) {
8345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8346 }
8347 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8348 {
8349 PyThreadState* __tstate = wxPyBeginAllowThreads();
8350 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8351 wxPyEndAllowThreads(__tstate);
8352 if (PyErr_Occurred()) SWIG_fail;
8353 }
8354 resultobj = SWIG_From_long(static_cast< long >(result));
8355 return resultobj;
8356 fail:
8357 return NULL;
8358 }
8359
8360
8361 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8362 PyObject *resultobj = 0;
8363 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8364 wxSplashScreenWindow *result = 0 ;
8365 void *argp1 = 0 ;
8366 int res1 = 0 ;
8367 PyObject *swig_obj[1] ;
8368
8369 if (!args) SWIG_fail;
8370 swig_obj[0] = args;
8371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8372 if (!SWIG_IsOK(res1)) {
8373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8374 }
8375 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8376 {
8377 PyThreadState* __tstate = wxPyBeginAllowThreads();
8378 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8379 wxPyEndAllowThreads(__tstate);
8380 if (PyErr_Occurred()) SWIG_fail;
8381 }
8382 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8383 return resultobj;
8384 fail:
8385 return NULL;
8386 }
8387
8388
8389 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8390 PyObject *resultobj = 0;
8391 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8392 int result;
8393 void *argp1 = 0 ;
8394 int res1 = 0 ;
8395 PyObject *swig_obj[1] ;
8396
8397 if (!args) SWIG_fail;
8398 swig_obj[0] = args;
8399 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8400 if (!SWIG_IsOK(res1)) {
8401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8402 }
8403 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8404 {
8405 PyThreadState* __tstate = wxPyBeginAllowThreads();
8406 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8407 wxPyEndAllowThreads(__tstate);
8408 if (PyErr_Occurred()) SWIG_fail;
8409 }
8410 resultobj = SWIG_From_int(static_cast< int >(result));
8411 return resultobj;
8412 fail:
8413 return NULL;
8414 }
8415
8416
8417 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8418 PyObject *obj;
8419 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8420 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8421 return SWIG_Py_Void();
8422 }
8423
8424 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8425 return SWIG_Python_InitShadowInstance(args);
8426 }
8427
8428 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8429 PyObject *resultobj = 0;
8430 wxWindow *arg1 = (wxWindow *) 0 ;
8431 int arg2 = (int) -1 ;
8432 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8433 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8434 wxString *arg4 = (wxString *) &arg4_defvalue ;
8435 wxStatusBar *result = 0 ;
8436 void *argp1 = 0 ;
8437 int res1 = 0 ;
8438 int val2 ;
8439 int ecode2 = 0 ;
8440 long val3 ;
8441 int ecode3 = 0 ;
8442 bool temp4 = false ;
8443 PyObject * obj0 = 0 ;
8444 PyObject * obj1 = 0 ;
8445 PyObject * obj2 = 0 ;
8446 PyObject * obj3 = 0 ;
8447 char * kwnames[] = {
8448 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8449 };
8450
8451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8453 if (!SWIG_IsOK(res1)) {
8454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8455 }
8456 arg1 = reinterpret_cast< wxWindow * >(argp1);
8457 if (obj1) {
8458 ecode2 = SWIG_AsVal_int(obj1, &val2);
8459 if (!SWIG_IsOK(ecode2)) {
8460 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8461 }
8462 arg2 = static_cast< int >(val2);
8463 }
8464 if (obj2) {
8465 ecode3 = SWIG_AsVal_long(obj2, &val3);
8466 if (!SWIG_IsOK(ecode3)) {
8467 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8468 }
8469 arg3 = static_cast< long >(val3);
8470 }
8471 if (obj3) {
8472 {
8473 arg4 = wxString_in_helper(obj3);
8474 if (arg4 == NULL) SWIG_fail;
8475 temp4 = true;
8476 }
8477 }
8478 {
8479 if (!wxPyCheckForApp()) SWIG_fail;
8480 PyThreadState* __tstate = wxPyBeginAllowThreads();
8481 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8482 wxPyEndAllowThreads(__tstate);
8483 if (PyErr_Occurred()) SWIG_fail;
8484 }
8485 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8486 {
8487 if (temp4)
8488 delete arg4;
8489 }
8490 return resultobj;
8491 fail:
8492 {
8493 if (temp4)
8494 delete arg4;
8495 }
8496 return NULL;
8497 }
8498
8499
8500 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8501 PyObject *resultobj = 0;
8502 wxStatusBar *result = 0 ;
8503
8504 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8505 {
8506 if (!wxPyCheckForApp()) SWIG_fail;
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
8508 result = (wxStatusBar *)new wxStatusBar();
8509 wxPyEndAllowThreads(__tstate);
8510 if (PyErr_Occurred()) SWIG_fail;
8511 }
8512 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8513 return resultobj;
8514 fail:
8515 return NULL;
8516 }
8517
8518
8519 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8520 PyObject *resultobj = 0;
8521 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8522 wxWindow *arg2 = (wxWindow *) 0 ;
8523 int arg3 = (int) -1 ;
8524 long arg4 = (long) wxST_SIZEGRIP ;
8525 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8526 wxString *arg5 = (wxString *) &arg5_defvalue ;
8527 bool result;
8528 void *argp1 = 0 ;
8529 int res1 = 0 ;
8530 void *argp2 = 0 ;
8531 int res2 = 0 ;
8532 int val3 ;
8533 int ecode3 = 0 ;
8534 long val4 ;
8535 int ecode4 = 0 ;
8536 bool temp5 = false ;
8537 PyObject * obj0 = 0 ;
8538 PyObject * obj1 = 0 ;
8539 PyObject * obj2 = 0 ;
8540 PyObject * obj3 = 0 ;
8541 PyObject * obj4 = 0 ;
8542 char * kwnames[] = {
8543 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8544 };
8545
8546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8548 if (!SWIG_IsOK(res1)) {
8549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8550 }
8551 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8552 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8553 if (!SWIG_IsOK(res2)) {
8554 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8555 }
8556 arg2 = reinterpret_cast< wxWindow * >(argp2);
8557 if (obj2) {
8558 ecode3 = SWIG_AsVal_int(obj2, &val3);
8559 if (!SWIG_IsOK(ecode3)) {
8560 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8561 }
8562 arg3 = static_cast< int >(val3);
8563 }
8564 if (obj3) {
8565 ecode4 = SWIG_AsVal_long(obj3, &val4);
8566 if (!SWIG_IsOK(ecode4)) {
8567 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8568 }
8569 arg4 = static_cast< long >(val4);
8570 }
8571 if (obj4) {
8572 {
8573 arg5 = wxString_in_helper(obj4);
8574 if (arg5 == NULL) SWIG_fail;
8575 temp5 = true;
8576 }
8577 }
8578 {
8579 PyThreadState* __tstate = wxPyBeginAllowThreads();
8580 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8581 wxPyEndAllowThreads(__tstate);
8582 if (PyErr_Occurred()) SWIG_fail;
8583 }
8584 {
8585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8586 }
8587 {
8588 if (temp5)
8589 delete arg5;
8590 }
8591 return resultobj;
8592 fail:
8593 {
8594 if (temp5)
8595 delete arg5;
8596 }
8597 return NULL;
8598 }
8599
8600
8601 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8602 PyObject *resultobj = 0;
8603 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8604 int arg2 = (int) 1 ;
8605 void *argp1 = 0 ;
8606 int res1 = 0 ;
8607 int val2 ;
8608 int ecode2 = 0 ;
8609 PyObject * obj0 = 0 ;
8610 PyObject * obj1 = 0 ;
8611 char * kwnames[] = {
8612 (char *) "self",(char *) "number", NULL
8613 };
8614
8615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8617 if (!SWIG_IsOK(res1)) {
8618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8619 }
8620 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8621 if (obj1) {
8622 ecode2 = SWIG_AsVal_int(obj1, &val2);
8623 if (!SWIG_IsOK(ecode2)) {
8624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8625 }
8626 arg2 = static_cast< int >(val2);
8627 }
8628 {
8629 PyThreadState* __tstate = wxPyBeginAllowThreads();
8630 (arg1)->SetFieldsCount(arg2);
8631 wxPyEndAllowThreads(__tstate);
8632 if (PyErr_Occurred()) SWIG_fail;
8633 }
8634 resultobj = SWIG_Py_Void();
8635 return resultobj;
8636 fail:
8637 return NULL;
8638 }
8639
8640
8641 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8642 PyObject *resultobj = 0;
8643 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8644 int result;
8645 void *argp1 = 0 ;
8646 int res1 = 0 ;
8647 PyObject *swig_obj[1] ;
8648
8649 if (!args) SWIG_fail;
8650 swig_obj[0] = args;
8651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8652 if (!SWIG_IsOK(res1)) {
8653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8654 }
8655 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8656 {
8657 PyThreadState* __tstate = wxPyBeginAllowThreads();
8658 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8659 wxPyEndAllowThreads(__tstate);
8660 if (PyErr_Occurred()) SWIG_fail;
8661 }
8662 resultobj = SWIG_From_int(static_cast< int >(result));
8663 return resultobj;
8664 fail:
8665 return NULL;
8666 }
8667
8668
8669 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8670 PyObject *resultobj = 0;
8671 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8672 wxString *arg2 = 0 ;
8673 int arg3 = (int) 0 ;
8674 void *argp1 = 0 ;
8675 int res1 = 0 ;
8676 bool temp2 = false ;
8677 int val3 ;
8678 int ecode3 = 0 ;
8679 PyObject * obj0 = 0 ;
8680 PyObject * obj1 = 0 ;
8681 PyObject * obj2 = 0 ;
8682 char * kwnames[] = {
8683 (char *) "self",(char *) "text",(char *) "number", NULL
8684 };
8685
8686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8688 if (!SWIG_IsOK(res1)) {
8689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8690 }
8691 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8692 {
8693 arg2 = wxString_in_helper(obj1);
8694 if (arg2 == NULL) SWIG_fail;
8695 temp2 = true;
8696 }
8697 if (obj2) {
8698 ecode3 = SWIG_AsVal_int(obj2, &val3);
8699 if (!SWIG_IsOK(ecode3)) {
8700 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8701 }
8702 arg3 = static_cast< int >(val3);
8703 }
8704 {
8705 PyThreadState* __tstate = wxPyBeginAllowThreads();
8706 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8707 wxPyEndAllowThreads(__tstate);
8708 if (PyErr_Occurred()) SWIG_fail;
8709 }
8710 resultobj = SWIG_Py_Void();
8711 {
8712 if (temp2)
8713 delete arg2;
8714 }
8715 return resultobj;
8716 fail:
8717 {
8718 if (temp2)
8719 delete arg2;
8720 }
8721 return NULL;
8722 }
8723
8724
8725 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8726 PyObject *resultobj = 0;
8727 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8728 int arg2 = (int) 0 ;
8729 wxString result;
8730 void *argp1 = 0 ;
8731 int res1 = 0 ;
8732 int val2 ;
8733 int ecode2 = 0 ;
8734 PyObject * obj0 = 0 ;
8735 PyObject * obj1 = 0 ;
8736 char * kwnames[] = {
8737 (char *) "self",(char *) "number", NULL
8738 };
8739
8740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8742 if (!SWIG_IsOK(res1)) {
8743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8744 }
8745 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8746 if (obj1) {
8747 ecode2 = SWIG_AsVal_int(obj1, &val2);
8748 if (!SWIG_IsOK(ecode2)) {
8749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8750 }
8751 arg2 = static_cast< int >(val2);
8752 }
8753 {
8754 PyThreadState* __tstate = wxPyBeginAllowThreads();
8755 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8756 wxPyEndAllowThreads(__tstate);
8757 if (PyErr_Occurred()) SWIG_fail;
8758 }
8759 {
8760 #if wxUSE_UNICODE
8761 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8762 #else
8763 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8764 #endif
8765 }
8766 return resultobj;
8767 fail:
8768 return NULL;
8769 }
8770
8771
8772 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8773 PyObject *resultobj = 0;
8774 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8775 wxString *arg2 = 0 ;
8776 int arg3 = (int) 0 ;
8777 void *argp1 = 0 ;
8778 int res1 = 0 ;
8779 bool temp2 = false ;
8780 int val3 ;
8781 int ecode3 = 0 ;
8782 PyObject * obj0 = 0 ;
8783 PyObject * obj1 = 0 ;
8784 PyObject * obj2 = 0 ;
8785 char * kwnames[] = {
8786 (char *) "self",(char *) "text",(char *) "number", NULL
8787 };
8788
8789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8791 if (!SWIG_IsOK(res1)) {
8792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8793 }
8794 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8795 {
8796 arg2 = wxString_in_helper(obj1);
8797 if (arg2 == NULL) SWIG_fail;
8798 temp2 = true;
8799 }
8800 if (obj2) {
8801 ecode3 = SWIG_AsVal_int(obj2, &val3);
8802 if (!SWIG_IsOK(ecode3)) {
8803 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8804 }
8805 arg3 = static_cast< int >(val3);
8806 }
8807 {
8808 PyThreadState* __tstate = wxPyBeginAllowThreads();
8809 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
8810 wxPyEndAllowThreads(__tstate);
8811 if (PyErr_Occurred()) SWIG_fail;
8812 }
8813 resultobj = SWIG_Py_Void();
8814 {
8815 if (temp2)
8816 delete arg2;
8817 }
8818 return resultobj;
8819 fail:
8820 {
8821 if (temp2)
8822 delete arg2;
8823 }
8824 return NULL;
8825 }
8826
8827
8828 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8829 PyObject *resultobj = 0;
8830 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8831 int arg2 = (int) 0 ;
8832 void *argp1 = 0 ;
8833 int res1 = 0 ;
8834 int val2 ;
8835 int ecode2 = 0 ;
8836 PyObject * obj0 = 0 ;
8837 PyObject * obj1 = 0 ;
8838 char * kwnames[] = {
8839 (char *) "self",(char *) "number", NULL
8840 };
8841
8842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8844 if (!SWIG_IsOK(res1)) {
8845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8846 }
8847 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8848 if (obj1) {
8849 ecode2 = SWIG_AsVal_int(obj1, &val2);
8850 if (!SWIG_IsOK(ecode2)) {
8851 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8852 }
8853 arg2 = static_cast< int >(val2);
8854 }
8855 {
8856 PyThreadState* __tstate = wxPyBeginAllowThreads();
8857 (arg1)->PopStatusText(arg2);
8858 wxPyEndAllowThreads(__tstate);
8859 if (PyErr_Occurred()) SWIG_fail;
8860 }
8861 resultobj = SWIG_Py_Void();
8862 return resultobj;
8863 fail:
8864 return NULL;
8865 }
8866
8867
8868 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8869 PyObject *resultobj = 0;
8870 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8871 int arg2 ;
8872 int *arg3 = (int *) 0 ;
8873 void *argp1 = 0 ;
8874 int res1 = 0 ;
8875 PyObject * obj0 = 0 ;
8876 PyObject * obj1 = 0 ;
8877 char * kwnames[] = {
8878 (char *) "self",(char *) "widths", NULL
8879 };
8880
8881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
8882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8883 if (!SWIG_IsOK(res1)) {
8884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8885 }
8886 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8887 {
8888 arg2 = PyList_Size(obj1);
8889 arg3 = int_LIST_helper(obj1);
8890 if (arg3 == NULL) SWIG_fail;
8891 }
8892 {
8893 PyThreadState* __tstate = wxPyBeginAllowThreads();
8894 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
8895 wxPyEndAllowThreads(__tstate);
8896 if (PyErr_Occurred()) SWIG_fail;
8897 }
8898 resultobj = SWIG_Py_Void();
8899 {
8900 if (arg3) delete [] arg3;
8901 }
8902 return resultobj;
8903 fail:
8904 {
8905 if (arg3) delete [] arg3;
8906 }
8907 return NULL;
8908 }
8909
8910
8911 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8912 PyObject *resultobj = 0;
8913 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8914 int arg2 ;
8915 int *arg3 = (int *) 0 ;
8916 void *argp1 = 0 ;
8917 int res1 = 0 ;
8918 PyObject * obj0 = 0 ;
8919 PyObject * obj1 = 0 ;
8920 char * kwnames[] = {
8921 (char *) "self",(char *) "styles", NULL
8922 };
8923
8924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
8925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8926 if (!SWIG_IsOK(res1)) {
8927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8928 }
8929 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8930 {
8931 arg2 = PyList_Size(obj1);
8932 arg3 = int_LIST_helper(obj1);
8933 if (arg3 == NULL) SWIG_fail;
8934 }
8935 {
8936 PyThreadState* __tstate = wxPyBeginAllowThreads();
8937 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
8938 wxPyEndAllowThreads(__tstate);
8939 if (PyErr_Occurred()) SWIG_fail;
8940 }
8941 resultobj = SWIG_Py_Void();
8942 {
8943 if (arg3) delete [] arg3;
8944 }
8945 return resultobj;
8946 fail:
8947 {
8948 if (arg3) delete [] arg3;
8949 }
8950 return NULL;
8951 }
8952
8953
8954 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8955 PyObject *resultobj = 0;
8956 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8957 int arg2 ;
8958 wxRect result;
8959 void *argp1 = 0 ;
8960 int res1 = 0 ;
8961 int val2 ;
8962 int ecode2 = 0 ;
8963 PyObject * obj0 = 0 ;
8964 PyObject * obj1 = 0 ;
8965 char * kwnames[] = {
8966 (char *) "self",(char *) "i", NULL
8967 };
8968
8969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
8970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8971 if (!SWIG_IsOK(res1)) {
8972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8973 }
8974 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8975 ecode2 = SWIG_AsVal_int(obj1, &val2);
8976 if (!SWIG_IsOK(ecode2)) {
8977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8978 }
8979 arg2 = static_cast< int >(val2);
8980 {
8981 PyThreadState* __tstate = wxPyBeginAllowThreads();
8982 result = wxStatusBar_GetFieldRect(arg1,arg2);
8983 wxPyEndAllowThreads(__tstate);
8984 if (PyErr_Occurred()) SWIG_fail;
8985 }
8986 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
8987 return resultobj;
8988 fail:
8989 return NULL;
8990 }
8991
8992
8993 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8994 PyObject *resultobj = 0;
8995 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8996 int arg2 ;
8997 void *argp1 = 0 ;
8998 int res1 = 0 ;
8999 int val2 ;
9000 int ecode2 = 0 ;
9001 PyObject * obj0 = 0 ;
9002 PyObject * obj1 = 0 ;
9003 char * kwnames[] = {
9004 (char *) "self",(char *) "height", NULL
9005 };
9006
9007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9009 if (!SWIG_IsOK(res1)) {
9010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9011 }
9012 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9013 ecode2 = SWIG_AsVal_int(obj1, &val2);
9014 if (!SWIG_IsOK(ecode2)) {
9015 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9016 }
9017 arg2 = static_cast< int >(val2);
9018 {
9019 PyThreadState* __tstate = wxPyBeginAllowThreads();
9020 (arg1)->SetMinHeight(arg2);
9021 wxPyEndAllowThreads(__tstate);
9022 if (PyErr_Occurred()) SWIG_fail;
9023 }
9024 resultobj = SWIG_Py_Void();
9025 return resultobj;
9026 fail:
9027 return NULL;
9028 }
9029
9030
9031 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9032 PyObject *resultobj = 0;
9033 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9034 int result;
9035 void *argp1 = 0 ;
9036 int res1 = 0 ;
9037 PyObject *swig_obj[1] ;
9038
9039 if (!args) SWIG_fail;
9040 swig_obj[0] = args;
9041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9042 if (!SWIG_IsOK(res1)) {
9043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9044 }
9045 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9046 {
9047 PyThreadState* __tstate = wxPyBeginAllowThreads();
9048 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9049 wxPyEndAllowThreads(__tstate);
9050 if (PyErr_Occurred()) SWIG_fail;
9051 }
9052 resultobj = SWIG_From_int(static_cast< int >(result));
9053 return resultobj;
9054 fail:
9055 return NULL;
9056 }
9057
9058
9059 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9060 PyObject *resultobj = 0;
9061 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9062 int result;
9063 void *argp1 = 0 ;
9064 int res1 = 0 ;
9065 PyObject *swig_obj[1] ;
9066
9067 if (!args) SWIG_fail;
9068 swig_obj[0] = args;
9069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9070 if (!SWIG_IsOK(res1)) {
9071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9072 }
9073 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9074 {
9075 PyThreadState* __tstate = wxPyBeginAllowThreads();
9076 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9077 wxPyEndAllowThreads(__tstate);
9078 if (PyErr_Occurred()) SWIG_fail;
9079 }
9080 resultobj = SWIG_From_int(static_cast< int >(result));
9081 return resultobj;
9082 fail:
9083 return NULL;
9084 }
9085
9086
9087 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9088 PyObject *resultobj = 0;
9089 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9090 SwigValueWrapper<wxVisualAttributes > result;
9091 int val1 ;
9092 int ecode1 = 0 ;
9093 PyObject * obj0 = 0 ;
9094 char * kwnames[] = {
9095 (char *) "variant", NULL
9096 };
9097
9098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9099 if (obj0) {
9100 ecode1 = SWIG_AsVal_int(obj0, &val1);
9101 if (!SWIG_IsOK(ecode1)) {
9102 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9103 }
9104 arg1 = static_cast< wxWindowVariant >(val1);
9105 }
9106 {
9107 if (!wxPyCheckForApp()) SWIG_fail;
9108 PyThreadState* __tstate = wxPyBeginAllowThreads();
9109 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9110 wxPyEndAllowThreads(__tstate);
9111 if (PyErr_Occurred()) SWIG_fail;
9112 }
9113 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9114 return resultobj;
9115 fail:
9116 return NULL;
9117 }
9118
9119
9120 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9121 PyObject *obj;
9122 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9123 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9124 return SWIG_Py_Void();
9125 }
9126
9127 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9128 return SWIG_Python_InitShadowInstance(args);
9129 }
9130
9131 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9132 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9133 return 1;
9134 }
9135
9136
9137 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9138 PyObject *pyobj = 0;
9139
9140 {
9141 #if wxUSE_UNICODE
9142 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9143 #else
9144 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9145 #endif
9146 }
9147 return pyobj;
9148 }
9149
9150
9151 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9152 PyObject *resultobj = 0;
9153 wxWindow *arg1 = (wxWindow *) 0 ;
9154 int arg2 = (int) -1 ;
9155 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9156 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9157 wxSize const &arg4_defvalue = wxDefaultSize ;
9158 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9159 long arg5 = (long) wxSP_3D ;
9160 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9161 wxString *arg6 = (wxString *) &arg6_defvalue ;
9162 wxSplitterWindow *result = 0 ;
9163 void *argp1 = 0 ;
9164 int res1 = 0 ;
9165 int val2 ;
9166 int ecode2 = 0 ;
9167 wxPoint temp3 ;
9168 wxSize temp4 ;
9169 long val5 ;
9170 int ecode5 = 0 ;
9171 bool temp6 = false ;
9172 PyObject * obj0 = 0 ;
9173 PyObject * obj1 = 0 ;
9174 PyObject * obj2 = 0 ;
9175 PyObject * obj3 = 0 ;
9176 PyObject * obj4 = 0 ;
9177 PyObject * obj5 = 0 ;
9178 char * kwnames[] = {
9179 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9180 };
9181
9182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9184 if (!SWIG_IsOK(res1)) {
9185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9186 }
9187 arg1 = reinterpret_cast< wxWindow * >(argp1);
9188 if (obj1) {
9189 ecode2 = SWIG_AsVal_int(obj1, &val2);
9190 if (!SWIG_IsOK(ecode2)) {
9191 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9192 }
9193 arg2 = static_cast< int >(val2);
9194 }
9195 if (obj2) {
9196 {
9197 arg3 = &temp3;
9198 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9199 }
9200 }
9201 if (obj3) {
9202 {
9203 arg4 = &temp4;
9204 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9205 }
9206 }
9207 if (obj4) {
9208 ecode5 = SWIG_AsVal_long(obj4, &val5);
9209 if (!SWIG_IsOK(ecode5)) {
9210 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9211 }
9212 arg5 = static_cast< long >(val5);
9213 }
9214 if (obj5) {
9215 {
9216 arg6 = wxString_in_helper(obj5);
9217 if (arg6 == NULL) SWIG_fail;
9218 temp6 = true;
9219 }
9220 }
9221 {
9222 if (!wxPyCheckForApp()) SWIG_fail;
9223 PyThreadState* __tstate = wxPyBeginAllowThreads();
9224 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9225 wxPyEndAllowThreads(__tstate);
9226 if (PyErr_Occurred()) SWIG_fail;
9227 }
9228 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9229 {
9230 if (temp6)
9231 delete arg6;
9232 }
9233 return resultobj;
9234 fail:
9235 {
9236 if (temp6)
9237 delete arg6;
9238 }
9239 return NULL;
9240 }
9241
9242
9243 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9244 PyObject *resultobj = 0;
9245 wxSplitterWindow *result = 0 ;
9246
9247 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9248 {
9249 if (!wxPyCheckForApp()) SWIG_fail;
9250 PyThreadState* __tstate = wxPyBeginAllowThreads();
9251 result = (wxSplitterWindow *)new wxSplitterWindow();
9252 wxPyEndAllowThreads(__tstate);
9253 if (PyErr_Occurred()) SWIG_fail;
9254 }
9255 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9256 return resultobj;
9257 fail:
9258 return NULL;
9259 }
9260
9261
9262 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9263 PyObject *resultobj = 0;
9264 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9265 wxWindow *arg2 = (wxWindow *) 0 ;
9266 int arg3 = (int) -1 ;
9267 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9268 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9269 wxSize const &arg5_defvalue = wxDefaultSize ;
9270 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9271 long arg6 = (long) wxSP_3D ;
9272 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9273 wxString *arg7 = (wxString *) &arg7_defvalue ;
9274 bool result;
9275 void *argp1 = 0 ;
9276 int res1 = 0 ;
9277 void *argp2 = 0 ;
9278 int res2 = 0 ;
9279 int val3 ;
9280 int ecode3 = 0 ;
9281 wxPoint temp4 ;
9282 wxSize temp5 ;
9283 long val6 ;
9284 int ecode6 = 0 ;
9285 bool temp7 = false ;
9286 PyObject * obj0 = 0 ;
9287 PyObject * obj1 = 0 ;
9288 PyObject * obj2 = 0 ;
9289 PyObject * obj3 = 0 ;
9290 PyObject * obj4 = 0 ;
9291 PyObject * obj5 = 0 ;
9292 PyObject * obj6 = 0 ;
9293 char * kwnames[] = {
9294 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9295 };
9296
9297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9299 if (!SWIG_IsOK(res1)) {
9300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9301 }
9302 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9303 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9304 if (!SWIG_IsOK(res2)) {
9305 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9306 }
9307 arg2 = reinterpret_cast< wxWindow * >(argp2);
9308 if (obj2) {
9309 ecode3 = SWIG_AsVal_int(obj2, &val3);
9310 if (!SWIG_IsOK(ecode3)) {
9311 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9312 }
9313 arg3 = static_cast< int >(val3);
9314 }
9315 if (obj3) {
9316 {
9317 arg4 = &temp4;
9318 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9319 }
9320 }
9321 if (obj4) {
9322 {
9323 arg5 = &temp5;
9324 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9325 }
9326 }
9327 if (obj5) {
9328 ecode6 = SWIG_AsVal_long(obj5, &val6);
9329 if (!SWIG_IsOK(ecode6)) {
9330 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9331 }
9332 arg6 = static_cast< long >(val6);
9333 }
9334 if (obj6) {
9335 {
9336 arg7 = wxString_in_helper(obj6);
9337 if (arg7 == NULL) SWIG_fail;
9338 temp7 = true;
9339 }
9340 }
9341 {
9342 PyThreadState* __tstate = wxPyBeginAllowThreads();
9343 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9344 wxPyEndAllowThreads(__tstate);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 }
9347 {
9348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9349 }
9350 {
9351 if (temp7)
9352 delete arg7;
9353 }
9354 return resultobj;
9355 fail:
9356 {
9357 if (temp7)
9358 delete arg7;
9359 }
9360 return NULL;
9361 }
9362
9363
9364 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9365 PyObject *resultobj = 0;
9366 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9367 wxWindow *result = 0 ;
9368 void *argp1 = 0 ;
9369 int res1 = 0 ;
9370 PyObject *swig_obj[1] ;
9371
9372 if (!args) SWIG_fail;
9373 swig_obj[0] = args;
9374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9375 if (!SWIG_IsOK(res1)) {
9376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9377 }
9378 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9379 {
9380 PyThreadState* __tstate = wxPyBeginAllowThreads();
9381 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9382 wxPyEndAllowThreads(__tstate);
9383 if (PyErr_Occurred()) SWIG_fail;
9384 }
9385 {
9386 resultobj = wxPyMake_wxObject(result, 0);
9387 }
9388 return resultobj;
9389 fail:
9390 return NULL;
9391 }
9392
9393
9394 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9395 PyObject *resultobj = 0;
9396 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9397 wxWindow *result = 0 ;
9398 void *argp1 = 0 ;
9399 int res1 = 0 ;
9400 PyObject *swig_obj[1] ;
9401
9402 if (!args) SWIG_fail;
9403 swig_obj[0] = args;
9404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9405 if (!SWIG_IsOK(res1)) {
9406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9407 }
9408 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9409 {
9410 PyThreadState* __tstate = wxPyBeginAllowThreads();
9411 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9412 wxPyEndAllowThreads(__tstate);
9413 if (PyErr_Occurred()) SWIG_fail;
9414 }
9415 {
9416 resultobj = wxPyMake_wxObject(result, 0);
9417 }
9418 return resultobj;
9419 fail:
9420 return NULL;
9421 }
9422
9423
9424 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9425 PyObject *resultobj = 0;
9426 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9427 int arg2 ;
9428 void *argp1 = 0 ;
9429 int res1 = 0 ;
9430 int val2 ;
9431 int ecode2 = 0 ;
9432 PyObject * obj0 = 0 ;
9433 PyObject * obj1 = 0 ;
9434 char * kwnames[] = {
9435 (char *) "self",(char *) "mode", NULL
9436 };
9437
9438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9440 if (!SWIG_IsOK(res1)) {
9441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9442 }
9443 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9444 ecode2 = SWIG_AsVal_int(obj1, &val2);
9445 if (!SWIG_IsOK(ecode2)) {
9446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9447 }
9448 arg2 = static_cast< int >(val2);
9449 {
9450 PyThreadState* __tstate = wxPyBeginAllowThreads();
9451 (arg1)->SetSplitMode(arg2);
9452 wxPyEndAllowThreads(__tstate);
9453 if (PyErr_Occurred()) SWIG_fail;
9454 }
9455 resultobj = SWIG_Py_Void();
9456 return resultobj;
9457 fail:
9458 return NULL;
9459 }
9460
9461
9462 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9463 PyObject *resultobj = 0;
9464 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9465 wxSplitMode result;
9466 void *argp1 = 0 ;
9467 int res1 = 0 ;
9468 PyObject *swig_obj[1] ;
9469
9470 if (!args) SWIG_fail;
9471 swig_obj[0] = args;
9472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9473 if (!SWIG_IsOK(res1)) {
9474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9475 }
9476 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9477 {
9478 PyThreadState* __tstate = wxPyBeginAllowThreads();
9479 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9480 wxPyEndAllowThreads(__tstate);
9481 if (PyErr_Occurred()) SWIG_fail;
9482 }
9483 resultobj = SWIG_From_int(static_cast< int >(result));
9484 return resultobj;
9485 fail:
9486 return NULL;
9487 }
9488
9489
9490 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9491 PyObject *resultobj = 0;
9492 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9493 wxWindow *arg2 = (wxWindow *) 0 ;
9494 void *argp1 = 0 ;
9495 int res1 = 0 ;
9496 void *argp2 = 0 ;
9497 int res2 = 0 ;
9498 PyObject * obj0 = 0 ;
9499 PyObject * obj1 = 0 ;
9500 char * kwnames[] = {
9501 (char *) "self",(char *) "window", NULL
9502 };
9503
9504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9506 if (!SWIG_IsOK(res1)) {
9507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9508 }
9509 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9510 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9511 if (!SWIG_IsOK(res2)) {
9512 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9513 }
9514 arg2 = reinterpret_cast< wxWindow * >(argp2);
9515 {
9516 PyThreadState* __tstate = wxPyBeginAllowThreads();
9517 (arg1)->Initialize(arg2);
9518 wxPyEndAllowThreads(__tstate);
9519 if (PyErr_Occurred()) SWIG_fail;
9520 }
9521 resultobj = SWIG_Py_Void();
9522 return resultobj;
9523 fail:
9524 return NULL;
9525 }
9526
9527
9528 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9529 PyObject *resultobj = 0;
9530 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9531 wxWindow *arg2 = (wxWindow *) 0 ;
9532 wxWindow *arg3 = (wxWindow *) 0 ;
9533 int arg4 = (int) 0 ;
9534 bool result;
9535 void *argp1 = 0 ;
9536 int res1 = 0 ;
9537 void *argp2 = 0 ;
9538 int res2 = 0 ;
9539 void *argp3 = 0 ;
9540 int res3 = 0 ;
9541 int val4 ;
9542 int ecode4 = 0 ;
9543 PyObject * obj0 = 0 ;
9544 PyObject * obj1 = 0 ;
9545 PyObject * obj2 = 0 ;
9546 PyObject * obj3 = 0 ;
9547 char * kwnames[] = {
9548 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9549 };
9550
9551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9553 if (!SWIG_IsOK(res1)) {
9554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9555 }
9556 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9557 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9558 if (!SWIG_IsOK(res2)) {
9559 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9560 }
9561 arg2 = reinterpret_cast< wxWindow * >(argp2);
9562 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9563 if (!SWIG_IsOK(res3)) {
9564 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9565 }
9566 arg3 = reinterpret_cast< wxWindow * >(argp3);
9567 if (obj3) {
9568 ecode4 = SWIG_AsVal_int(obj3, &val4);
9569 if (!SWIG_IsOK(ecode4)) {
9570 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9571 }
9572 arg4 = static_cast< int >(val4);
9573 }
9574 {
9575 PyThreadState* __tstate = wxPyBeginAllowThreads();
9576 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9577 wxPyEndAllowThreads(__tstate);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 }
9580 {
9581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9582 }
9583 return resultobj;
9584 fail:
9585 return NULL;
9586 }
9587
9588
9589 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9590 PyObject *resultobj = 0;
9591 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9592 wxWindow *arg2 = (wxWindow *) 0 ;
9593 wxWindow *arg3 = (wxWindow *) 0 ;
9594 int arg4 = (int) 0 ;
9595 bool result;
9596 void *argp1 = 0 ;
9597 int res1 = 0 ;
9598 void *argp2 = 0 ;
9599 int res2 = 0 ;
9600 void *argp3 = 0 ;
9601 int res3 = 0 ;
9602 int val4 ;
9603 int ecode4 = 0 ;
9604 PyObject * obj0 = 0 ;
9605 PyObject * obj1 = 0 ;
9606 PyObject * obj2 = 0 ;
9607 PyObject * obj3 = 0 ;
9608 char * kwnames[] = {
9609 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9610 };
9611
9612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9614 if (!SWIG_IsOK(res1)) {
9615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9616 }
9617 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9618 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9619 if (!SWIG_IsOK(res2)) {
9620 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9621 }
9622 arg2 = reinterpret_cast< wxWindow * >(argp2);
9623 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9624 if (!SWIG_IsOK(res3)) {
9625 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9626 }
9627 arg3 = reinterpret_cast< wxWindow * >(argp3);
9628 if (obj3) {
9629 ecode4 = SWIG_AsVal_int(obj3, &val4);
9630 if (!SWIG_IsOK(ecode4)) {
9631 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9632 }
9633 arg4 = static_cast< int >(val4);
9634 }
9635 {
9636 PyThreadState* __tstate = wxPyBeginAllowThreads();
9637 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9638 wxPyEndAllowThreads(__tstate);
9639 if (PyErr_Occurred()) SWIG_fail;
9640 }
9641 {
9642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9643 }
9644 return resultobj;
9645 fail:
9646 return NULL;
9647 }
9648
9649
9650 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9651 PyObject *resultobj = 0;
9652 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9653 wxWindow *arg2 = (wxWindow *) NULL ;
9654 bool result;
9655 void *argp1 = 0 ;
9656 int res1 = 0 ;
9657 void *argp2 = 0 ;
9658 int res2 = 0 ;
9659 PyObject * obj0 = 0 ;
9660 PyObject * obj1 = 0 ;
9661 char * kwnames[] = {
9662 (char *) "self",(char *) "toRemove", NULL
9663 };
9664
9665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9667 if (!SWIG_IsOK(res1)) {
9668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9669 }
9670 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9671 if (obj1) {
9672 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9673 if (!SWIG_IsOK(res2)) {
9674 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9675 }
9676 arg2 = reinterpret_cast< wxWindow * >(argp2);
9677 }
9678 {
9679 PyThreadState* __tstate = wxPyBeginAllowThreads();
9680 result = (bool)(arg1)->Unsplit(arg2);
9681 wxPyEndAllowThreads(__tstate);
9682 if (PyErr_Occurred()) SWIG_fail;
9683 }
9684 {
9685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9686 }
9687 return resultobj;
9688 fail:
9689 return NULL;
9690 }
9691
9692
9693 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9694 PyObject *resultobj = 0;
9695 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9696 wxWindow *arg2 = (wxWindow *) 0 ;
9697 wxWindow *arg3 = (wxWindow *) 0 ;
9698 bool result;
9699 void *argp1 = 0 ;
9700 int res1 = 0 ;
9701 void *argp2 = 0 ;
9702 int res2 = 0 ;
9703 void *argp3 = 0 ;
9704 int res3 = 0 ;
9705 PyObject * obj0 = 0 ;
9706 PyObject * obj1 = 0 ;
9707 PyObject * obj2 = 0 ;
9708 char * kwnames[] = {
9709 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9710 };
9711
9712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) 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_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9716 }
9717 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9718 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9719 if (!SWIG_IsOK(res2)) {
9720 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9721 }
9722 arg2 = reinterpret_cast< wxWindow * >(argp2);
9723 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9724 if (!SWIG_IsOK(res3)) {
9725 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9726 }
9727 arg3 = reinterpret_cast< wxWindow * >(argp3);
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9731 wxPyEndAllowThreads(__tstate);
9732 if (PyErr_Occurred()) SWIG_fail;
9733 }
9734 {
9735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9736 }
9737 return resultobj;
9738 fail:
9739 return NULL;
9740 }
9741
9742
9743 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9744 PyObject *resultobj = 0;
9745 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9746 void *argp1 = 0 ;
9747 int res1 = 0 ;
9748 PyObject *swig_obj[1] ;
9749
9750 if (!args) SWIG_fail;
9751 swig_obj[0] = args;
9752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9753 if (!SWIG_IsOK(res1)) {
9754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9755 }
9756 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9757 {
9758 PyThreadState* __tstate = wxPyBeginAllowThreads();
9759 (arg1)->UpdateSize();
9760 wxPyEndAllowThreads(__tstate);
9761 if (PyErr_Occurred()) SWIG_fail;
9762 }
9763 resultobj = SWIG_Py_Void();
9764 return resultobj;
9765 fail:
9766 return NULL;
9767 }
9768
9769
9770 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9771 PyObject *resultobj = 0;
9772 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9773 bool result;
9774 void *argp1 = 0 ;
9775 int res1 = 0 ;
9776 PyObject *swig_obj[1] ;
9777
9778 if (!args) SWIG_fail;
9779 swig_obj[0] = args;
9780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9781 if (!SWIG_IsOK(res1)) {
9782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9783 }
9784 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9785 {
9786 PyThreadState* __tstate = wxPyBeginAllowThreads();
9787 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9788 wxPyEndAllowThreads(__tstate);
9789 if (PyErr_Occurred()) SWIG_fail;
9790 }
9791 {
9792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9793 }
9794 return resultobj;
9795 fail:
9796 return NULL;
9797 }
9798
9799
9800 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9801 PyObject *resultobj = 0;
9802 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9803 int arg2 ;
9804 void *argp1 = 0 ;
9805 int res1 = 0 ;
9806 int val2 ;
9807 int ecode2 = 0 ;
9808 PyObject * obj0 = 0 ;
9809 PyObject * obj1 = 0 ;
9810 char * kwnames[] = {
9811 (char *) "self",(char *) "width", NULL
9812 };
9813
9814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
9815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9816 if (!SWIG_IsOK(res1)) {
9817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9818 }
9819 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9820 ecode2 = SWIG_AsVal_int(obj1, &val2);
9821 if (!SWIG_IsOK(ecode2)) {
9822 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9823 }
9824 arg2 = static_cast< int >(val2);
9825 {
9826 PyThreadState* __tstate = wxPyBeginAllowThreads();
9827 (arg1)->SetSashSize(arg2);
9828 wxPyEndAllowThreads(__tstate);
9829 if (PyErr_Occurred()) SWIG_fail;
9830 }
9831 resultobj = SWIG_Py_Void();
9832 return resultobj;
9833 fail:
9834 return NULL;
9835 }
9836
9837
9838 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9839 PyObject *resultobj = 0;
9840 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9841 int arg2 ;
9842 void *argp1 = 0 ;
9843 int res1 = 0 ;
9844 int val2 ;
9845 int ecode2 = 0 ;
9846 PyObject * obj0 = 0 ;
9847 PyObject * obj1 = 0 ;
9848 char * kwnames[] = {
9849 (char *) "self",(char *) "width", NULL
9850 };
9851
9852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
9853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9854 if (!SWIG_IsOK(res1)) {
9855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9856 }
9857 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9858 ecode2 = SWIG_AsVal_int(obj1, &val2);
9859 if (!SWIG_IsOK(ecode2)) {
9860 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9861 }
9862 arg2 = static_cast< int >(val2);
9863 {
9864 PyThreadState* __tstate = wxPyBeginAllowThreads();
9865 (arg1)->SetBorderSize(arg2);
9866 wxPyEndAllowThreads(__tstate);
9867 if (PyErr_Occurred()) SWIG_fail;
9868 }
9869 resultobj = SWIG_Py_Void();
9870 return resultobj;
9871 fail:
9872 return NULL;
9873 }
9874
9875
9876 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9877 PyObject *resultobj = 0;
9878 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9879 int result;
9880 void *argp1 = 0 ;
9881 int res1 = 0 ;
9882 PyObject *swig_obj[1] ;
9883
9884 if (!args) SWIG_fail;
9885 swig_obj[0] = args;
9886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9887 if (!SWIG_IsOK(res1)) {
9888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9889 }
9890 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9891 {
9892 PyThreadState* __tstate = wxPyBeginAllowThreads();
9893 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
9894 wxPyEndAllowThreads(__tstate);
9895 if (PyErr_Occurred()) SWIG_fail;
9896 }
9897 resultobj = SWIG_From_int(static_cast< int >(result));
9898 return resultobj;
9899 fail:
9900 return NULL;
9901 }
9902
9903
9904 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9905 PyObject *resultobj = 0;
9906 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9907 int result;
9908 void *argp1 = 0 ;
9909 int res1 = 0 ;
9910 PyObject *swig_obj[1] ;
9911
9912 if (!args) SWIG_fail;
9913 swig_obj[0] = args;
9914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9915 if (!SWIG_IsOK(res1)) {
9916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9917 }
9918 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9919 {
9920 PyThreadState* __tstate = wxPyBeginAllowThreads();
9921 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
9922 wxPyEndAllowThreads(__tstate);
9923 if (PyErr_Occurred()) SWIG_fail;
9924 }
9925 resultobj = SWIG_From_int(static_cast< int >(result));
9926 return resultobj;
9927 fail:
9928 return NULL;
9929 }
9930
9931
9932 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9933 PyObject *resultobj = 0;
9934 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9935 int arg2 ;
9936 bool arg3 = (bool) true ;
9937 void *argp1 = 0 ;
9938 int res1 = 0 ;
9939 int val2 ;
9940 int ecode2 = 0 ;
9941 bool val3 ;
9942 int ecode3 = 0 ;
9943 PyObject * obj0 = 0 ;
9944 PyObject * obj1 = 0 ;
9945 PyObject * obj2 = 0 ;
9946 char * kwnames[] = {
9947 (char *) "self",(char *) "position",(char *) "redraw", NULL
9948 };
9949
9950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9952 if (!SWIG_IsOK(res1)) {
9953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9954 }
9955 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9956 ecode2 = SWIG_AsVal_int(obj1, &val2);
9957 if (!SWIG_IsOK(ecode2)) {
9958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9959 }
9960 arg2 = static_cast< int >(val2);
9961 if (obj2) {
9962 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9963 if (!SWIG_IsOK(ecode3)) {
9964 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9965 }
9966 arg3 = static_cast< bool >(val3);
9967 }
9968 {
9969 PyThreadState* __tstate = wxPyBeginAllowThreads();
9970 (arg1)->SetSashPosition(arg2,arg3);
9971 wxPyEndAllowThreads(__tstate);
9972 if (PyErr_Occurred()) SWIG_fail;
9973 }
9974 resultobj = SWIG_Py_Void();
9975 return resultobj;
9976 fail:
9977 return NULL;
9978 }
9979
9980
9981 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9982 PyObject *resultobj = 0;
9983 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9984 int result;
9985 void *argp1 = 0 ;
9986 int res1 = 0 ;
9987 PyObject *swig_obj[1] ;
9988
9989 if (!args) SWIG_fail;
9990 swig_obj[0] = args;
9991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9992 if (!SWIG_IsOK(res1)) {
9993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9994 }
9995 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9996 {
9997 PyThreadState* __tstate = wxPyBeginAllowThreads();
9998 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
9999 wxPyEndAllowThreads(__tstate);
10000 if (PyErr_Occurred()) SWIG_fail;
10001 }
10002 resultobj = SWIG_From_int(static_cast< int >(result));
10003 return resultobj;
10004 fail:
10005 return NULL;
10006 }
10007
10008
10009 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10010 PyObject *resultobj = 0;
10011 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10012 double arg2 ;
10013 void *argp1 = 0 ;
10014 int res1 = 0 ;
10015 double val2 ;
10016 int ecode2 = 0 ;
10017 PyObject * obj0 = 0 ;
10018 PyObject * obj1 = 0 ;
10019 char * kwnames[] = {
10020 (char *) "self",(char *) "gravity", NULL
10021 };
10022
10023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10025 if (!SWIG_IsOK(res1)) {
10026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10027 }
10028 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10029 ecode2 = SWIG_AsVal_double(obj1, &val2);
10030 if (!SWIG_IsOK(ecode2)) {
10031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10032 }
10033 arg2 = static_cast< double >(val2);
10034 {
10035 PyThreadState* __tstate = wxPyBeginAllowThreads();
10036 (arg1)->SetSashGravity(arg2);
10037 wxPyEndAllowThreads(__tstate);
10038 if (PyErr_Occurred()) SWIG_fail;
10039 }
10040 resultobj = SWIG_Py_Void();
10041 return resultobj;
10042 fail:
10043 return NULL;
10044 }
10045
10046
10047 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10048 PyObject *resultobj = 0;
10049 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10050 double result;
10051 void *argp1 = 0 ;
10052 int res1 = 0 ;
10053 PyObject *swig_obj[1] ;
10054
10055 if (!args) SWIG_fail;
10056 swig_obj[0] = args;
10057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10058 if (!SWIG_IsOK(res1)) {
10059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10060 }
10061 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10062 {
10063 PyThreadState* __tstate = wxPyBeginAllowThreads();
10064 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10065 wxPyEndAllowThreads(__tstate);
10066 if (PyErr_Occurred()) SWIG_fail;
10067 }
10068 resultobj = SWIG_From_double(static_cast< double >(result));
10069 return resultobj;
10070 fail:
10071 return NULL;
10072 }
10073
10074
10075 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10076 PyObject *resultobj = 0;
10077 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10078 int arg2 ;
10079 void *argp1 = 0 ;
10080 int res1 = 0 ;
10081 int val2 ;
10082 int ecode2 = 0 ;
10083 PyObject * obj0 = 0 ;
10084 PyObject * obj1 = 0 ;
10085 char * kwnames[] = {
10086 (char *) "self",(char *) "min", NULL
10087 };
10088
10089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10091 if (!SWIG_IsOK(res1)) {
10092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10093 }
10094 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10095 ecode2 = SWIG_AsVal_int(obj1, &val2);
10096 if (!SWIG_IsOK(ecode2)) {
10097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10098 }
10099 arg2 = static_cast< int >(val2);
10100 {
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 (arg1)->SetMinimumPaneSize(arg2);
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 resultobj = SWIG_Py_Void();
10107 return resultobj;
10108 fail:
10109 return NULL;
10110 }
10111
10112
10113 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10114 PyObject *resultobj = 0;
10115 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10116 int result;
10117 void *argp1 = 0 ;
10118 int res1 = 0 ;
10119 PyObject *swig_obj[1] ;
10120
10121 if (!args) SWIG_fail;
10122 swig_obj[0] = args;
10123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10124 if (!SWIG_IsOK(res1)) {
10125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10126 }
10127 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10128 {
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10131 wxPyEndAllowThreads(__tstate);
10132 if (PyErr_Occurred()) SWIG_fail;
10133 }
10134 resultobj = SWIG_From_int(static_cast< int >(result));
10135 return resultobj;
10136 fail:
10137 return NULL;
10138 }
10139
10140
10141 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10142 PyObject *resultobj = 0;
10143 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10144 int arg2 ;
10145 int arg3 ;
10146 int arg4 = (int) 5 ;
10147 bool result;
10148 void *argp1 = 0 ;
10149 int res1 = 0 ;
10150 int val2 ;
10151 int ecode2 = 0 ;
10152 int val3 ;
10153 int ecode3 = 0 ;
10154 int val4 ;
10155 int ecode4 = 0 ;
10156 PyObject * obj0 = 0 ;
10157 PyObject * obj1 = 0 ;
10158 PyObject * obj2 = 0 ;
10159 PyObject * obj3 = 0 ;
10160 char * kwnames[] = {
10161 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10162 };
10163
10164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10166 if (!SWIG_IsOK(res1)) {
10167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10168 }
10169 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10170 ecode2 = SWIG_AsVal_int(obj1, &val2);
10171 if (!SWIG_IsOK(ecode2)) {
10172 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10173 }
10174 arg2 = static_cast< int >(val2);
10175 ecode3 = SWIG_AsVal_int(obj2, &val3);
10176 if (!SWIG_IsOK(ecode3)) {
10177 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10178 }
10179 arg3 = static_cast< int >(val3);
10180 if (obj3) {
10181 ecode4 = SWIG_AsVal_int(obj3, &val4);
10182 if (!SWIG_IsOK(ecode4)) {
10183 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10184 }
10185 arg4 = static_cast< int >(val4);
10186 }
10187 {
10188 PyThreadState* __tstate = wxPyBeginAllowThreads();
10189 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10190 wxPyEndAllowThreads(__tstate);
10191 if (PyErr_Occurred()) SWIG_fail;
10192 }
10193 {
10194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10195 }
10196 return resultobj;
10197 fail:
10198 return NULL;
10199 }
10200
10201
10202 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10203 PyObject *resultobj = 0;
10204 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10205 void *argp1 = 0 ;
10206 int res1 = 0 ;
10207 PyObject *swig_obj[1] ;
10208
10209 if (!args) SWIG_fail;
10210 swig_obj[0] = args;
10211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10212 if (!SWIG_IsOK(res1)) {
10213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10214 }
10215 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10216 {
10217 PyThreadState* __tstate = wxPyBeginAllowThreads();
10218 (arg1)->SizeWindows();
10219 wxPyEndAllowThreads(__tstate);
10220 if (PyErr_Occurred()) SWIG_fail;
10221 }
10222 resultobj = SWIG_Py_Void();
10223 return resultobj;
10224 fail:
10225 return NULL;
10226 }
10227
10228
10229 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10230 PyObject *resultobj = 0;
10231 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10232 bool arg2 ;
10233 void *argp1 = 0 ;
10234 int res1 = 0 ;
10235 bool val2 ;
10236 int ecode2 = 0 ;
10237 PyObject * obj0 = 0 ;
10238 PyObject * obj1 = 0 ;
10239 char * kwnames[] = {
10240 (char *) "self",(char *) "needUpdating", NULL
10241 };
10242
10243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10245 if (!SWIG_IsOK(res1)) {
10246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10247 }
10248 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10249 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10250 if (!SWIG_IsOK(ecode2)) {
10251 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10252 }
10253 arg2 = static_cast< bool >(val2);
10254 {
10255 PyThreadState* __tstate = wxPyBeginAllowThreads();
10256 (arg1)->SetNeedUpdating(arg2);
10257 wxPyEndAllowThreads(__tstate);
10258 if (PyErr_Occurred()) SWIG_fail;
10259 }
10260 resultobj = SWIG_Py_Void();
10261 return resultobj;
10262 fail:
10263 return NULL;
10264 }
10265
10266
10267 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10268 PyObject *resultobj = 0;
10269 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10270 bool result;
10271 void *argp1 = 0 ;
10272 int res1 = 0 ;
10273 PyObject *swig_obj[1] ;
10274
10275 if (!args) SWIG_fail;
10276 swig_obj[0] = args;
10277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10278 if (!SWIG_IsOK(res1)) {
10279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10280 }
10281 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10282 {
10283 PyThreadState* __tstate = wxPyBeginAllowThreads();
10284 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10285 wxPyEndAllowThreads(__tstate);
10286 if (PyErr_Occurred()) SWIG_fail;
10287 }
10288 {
10289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10290 }
10291 return resultobj;
10292 fail:
10293 return NULL;
10294 }
10295
10296
10297 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10298 PyObject *resultobj = 0;
10299 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10300 SwigValueWrapper<wxVisualAttributes > result;
10301 int val1 ;
10302 int ecode1 = 0 ;
10303 PyObject * obj0 = 0 ;
10304 char * kwnames[] = {
10305 (char *) "variant", NULL
10306 };
10307
10308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10309 if (obj0) {
10310 ecode1 = SWIG_AsVal_int(obj0, &val1);
10311 if (!SWIG_IsOK(ecode1)) {
10312 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10313 }
10314 arg1 = static_cast< wxWindowVariant >(val1);
10315 }
10316 {
10317 if (!wxPyCheckForApp()) SWIG_fail;
10318 PyThreadState* __tstate = wxPyBeginAllowThreads();
10319 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10320 wxPyEndAllowThreads(__tstate);
10321 if (PyErr_Occurred()) SWIG_fail;
10322 }
10323 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10324 return resultobj;
10325 fail:
10326 return NULL;
10327 }
10328
10329
10330 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10331 PyObject *obj;
10332 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10333 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10334 return SWIG_Py_Void();
10335 }
10336
10337 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10338 return SWIG_Python_InitShadowInstance(args);
10339 }
10340
10341 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10342 PyObject *resultobj = 0;
10343 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10344 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10345 wxSplitterEvent *result = 0 ;
10346 int val1 ;
10347 int ecode1 = 0 ;
10348 void *argp2 = 0 ;
10349 int res2 = 0 ;
10350 PyObject * obj0 = 0 ;
10351 PyObject * obj1 = 0 ;
10352 char * kwnames[] = {
10353 (char *) "type",(char *) "splitter", NULL
10354 };
10355
10356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10357 if (obj0) {
10358 ecode1 = SWIG_AsVal_int(obj0, &val1);
10359 if (!SWIG_IsOK(ecode1)) {
10360 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10361 }
10362 arg1 = static_cast< wxEventType >(val1);
10363 }
10364 if (obj1) {
10365 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10366 if (!SWIG_IsOK(res2)) {
10367 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10368 }
10369 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10370 }
10371 {
10372 PyThreadState* __tstate = wxPyBeginAllowThreads();
10373 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10374 wxPyEndAllowThreads(__tstate);
10375 if (PyErr_Occurred()) SWIG_fail;
10376 }
10377 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10378 return resultobj;
10379 fail:
10380 return NULL;
10381 }
10382
10383
10384 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10385 PyObject *resultobj = 0;
10386 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10387 int arg2 ;
10388 void *argp1 = 0 ;
10389 int res1 = 0 ;
10390 int val2 ;
10391 int ecode2 = 0 ;
10392 PyObject * obj0 = 0 ;
10393 PyObject * obj1 = 0 ;
10394 char * kwnames[] = {
10395 (char *) "self",(char *) "pos", NULL
10396 };
10397
10398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10400 if (!SWIG_IsOK(res1)) {
10401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10402 }
10403 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10404 ecode2 = SWIG_AsVal_int(obj1, &val2);
10405 if (!SWIG_IsOK(ecode2)) {
10406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10407 }
10408 arg2 = static_cast< int >(val2);
10409 {
10410 PyThreadState* __tstate = wxPyBeginAllowThreads();
10411 (arg1)->SetSashPosition(arg2);
10412 wxPyEndAllowThreads(__tstate);
10413 if (PyErr_Occurred()) SWIG_fail;
10414 }
10415 resultobj = SWIG_Py_Void();
10416 return resultobj;
10417 fail:
10418 return NULL;
10419 }
10420
10421
10422 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10423 PyObject *resultobj = 0;
10424 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10425 int result;
10426 void *argp1 = 0 ;
10427 int res1 = 0 ;
10428 PyObject *swig_obj[1] ;
10429
10430 if (!args) SWIG_fail;
10431 swig_obj[0] = args;
10432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10433 if (!SWIG_IsOK(res1)) {
10434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10435 }
10436 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10437 {
10438 PyThreadState* __tstate = wxPyBeginAllowThreads();
10439 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10440 wxPyEndAllowThreads(__tstate);
10441 if (PyErr_Occurred()) SWIG_fail;
10442 }
10443 resultobj = SWIG_From_int(static_cast< int >(result));
10444 return resultobj;
10445 fail:
10446 return NULL;
10447 }
10448
10449
10450 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10451 PyObject *resultobj = 0;
10452 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10453 wxWindow *result = 0 ;
10454 void *argp1 = 0 ;
10455 int res1 = 0 ;
10456 PyObject *swig_obj[1] ;
10457
10458 if (!args) SWIG_fail;
10459 swig_obj[0] = args;
10460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10461 if (!SWIG_IsOK(res1)) {
10462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10463 }
10464 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10465 {
10466 PyThreadState* __tstate = wxPyBeginAllowThreads();
10467 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10468 wxPyEndAllowThreads(__tstate);
10469 if (PyErr_Occurred()) SWIG_fail;
10470 }
10471 {
10472 resultobj = wxPyMake_wxObject(result, 0);
10473 }
10474 return resultobj;
10475 fail:
10476 return NULL;
10477 }
10478
10479
10480 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10481 PyObject *resultobj = 0;
10482 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10483 int result;
10484 void *argp1 = 0 ;
10485 int res1 = 0 ;
10486 PyObject *swig_obj[1] ;
10487
10488 if (!args) SWIG_fail;
10489 swig_obj[0] = args;
10490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10491 if (!SWIG_IsOK(res1)) {
10492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10493 }
10494 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10495 {
10496 PyThreadState* __tstate = wxPyBeginAllowThreads();
10497 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10498 wxPyEndAllowThreads(__tstate);
10499 if (PyErr_Occurred()) SWIG_fail;
10500 }
10501 resultobj = SWIG_From_int(static_cast< int >(result));
10502 return resultobj;
10503 fail:
10504 return NULL;
10505 }
10506
10507
10508 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10509 PyObject *resultobj = 0;
10510 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10511 int result;
10512 void *argp1 = 0 ;
10513 int res1 = 0 ;
10514 PyObject *swig_obj[1] ;
10515
10516 if (!args) SWIG_fail;
10517 swig_obj[0] = args;
10518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10519 if (!SWIG_IsOK(res1)) {
10520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10521 }
10522 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10523 {
10524 PyThreadState* __tstate = wxPyBeginAllowThreads();
10525 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10526 wxPyEndAllowThreads(__tstate);
10527 if (PyErr_Occurred()) SWIG_fail;
10528 }
10529 resultobj = SWIG_From_int(static_cast< int >(result));
10530 return resultobj;
10531 fail:
10532 return NULL;
10533 }
10534
10535
10536 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10537 PyObject *obj;
10538 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10539 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10540 return SWIG_Py_Void();
10541 }
10542
10543 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10544 return SWIG_Python_InitShadowInstance(args);
10545 }
10546
10547 SWIGINTERN int SashNameStr_set(PyObject *) {
10548 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10549 return 1;
10550 }
10551
10552
10553 SWIGINTERN PyObject *SashNameStr_get(void) {
10554 PyObject *pyobj = 0;
10555
10556 {
10557 #if wxUSE_UNICODE
10558 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10559 #else
10560 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10561 #endif
10562 }
10563 return pyobj;
10564 }
10565
10566
10567 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10568 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10569 return 1;
10570 }
10571
10572
10573 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10574 PyObject *pyobj = 0;
10575
10576 {
10577 #if wxUSE_UNICODE
10578 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10579 #else
10580 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10581 #endif
10582 }
10583 return pyobj;
10584 }
10585
10586
10587 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10588 PyObject *resultobj = 0;
10589 wxWindow *arg1 = (wxWindow *) 0 ;
10590 int arg2 = (int) -1 ;
10591 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10592 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10593 wxSize const &arg4_defvalue = wxDefaultSize ;
10594 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10595 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10596 wxString const &arg6_defvalue = wxPySashNameStr ;
10597 wxString *arg6 = (wxString *) &arg6_defvalue ;
10598 wxSashWindow *result = 0 ;
10599 void *argp1 = 0 ;
10600 int res1 = 0 ;
10601 int val2 ;
10602 int ecode2 = 0 ;
10603 wxPoint temp3 ;
10604 wxSize temp4 ;
10605 long val5 ;
10606 int ecode5 = 0 ;
10607 bool temp6 = false ;
10608 PyObject * obj0 = 0 ;
10609 PyObject * obj1 = 0 ;
10610 PyObject * obj2 = 0 ;
10611 PyObject * obj3 = 0 ;
10612 PyObject * obj4 = 0 ;
10613 PyObject * obj5 = 0 ;
10614 char * kwnames[] = {
10615 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10616 };
10617
10618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10620 if (!SWIG_IsOK(res1)) {
10621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10622 }
10623 arg1 = reinterpret_cast< wxWindow * >(argp1);
10624 if (obj1) {
10625 ecode2 = SWIG_AsVal_int(obj1, &val2);
10626 if (!SWIG_IsOK(ecode2)) {
10627 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10628 }
10629 arg2 = static_cast< int >(val2);
10630 }
10631 if (obj2) {
10632 {
10633 arg3 = &temp3;
10634 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10635 }
10636 }
10637 if (obj3) {
10638 {
10639 arg4 = &temp4;
10640 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10641 }
10642 }
10643 if (obj4) {
10644 ecode5 = SWIG_AsVal_long(obj4, &val5);
10645 if (!SWIG_IsOK(ecode5)) {
10646 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10647 }
10648 arg5 = static_cast< long >(val5);
10649 }
10650 if (obj5) {
10651 {
10652 arg6 = wxString_in_helper(obj5);
10653 if (arg6 == NULL) SWIG_fail;
10654 temp6 = true;
10655 }
10656 }
10657 {
10658 if (!wxPyCheckForApp()) SWIG_fail;
10659 PyThreadState* __tstate = wxPyBeginAllowThreads();
10660 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10661 wxPyEndAllowThreads(__tstate);
10662 if (PyErr_Occurred()) SWIG_fail;
10663 }
10664 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10665 {
10666 if (temp6)
10667 delete arg6;
10668 }
10669 return resultobj;
10670 fail:
10671 {
10672 if (temp6)
10673 delete arg6;
10674 }
10675 return NULL;
10676 }
10677
10678
10679 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10680 PyObject *resultobj = 0;
10681 wxSashWindow *result = 0 ;
10682
10683 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10684 {
10685 if (!wxPyCheckForApp()) SWIG_fail;
10686 PyThreadState* __tstate = wxPyBeginAllowThreads();
10687 result = (wxSashWindow *)new wxSashWindow();
10688 wxPyEndAllowThreads(__tstate);
10689 if (PyErr_Occurred()) SWIG_fail;
10690 }
10691 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10692 return resultobj;
10693 fail:
10694 return NULL;
10695 }
10696
10697
10698 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10699 PyObject *resultobj = 0;
10700 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10701 wxWindow *arg2 = (wxWindow *) 0 ;
10702 int arg3 = (int) -1 ;
10703 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10704 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10705 wxSize const &arg5_defvalue = wxDefaultSize ;
10706 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10707 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10708 wxString const &arg7_defvalue = wxPySashNameStr ;
10709 wxString *arg7 = (wxString *) &arg7_defvalue ;
10710 bool result;
10711 void *argp1 = 0 ;
10712 int res1 = 0 ;
10713 void *argp2 = 0 ;
10714 int res2 = 0 ;
10715 int val3 ;
10716 int ecode3 = 0 ;
10717 wxPoint temp4 ;
10718 wxSize temp5 ;
10719 long val6 ;
10720 int ecode6 = 0 ;
10721 bool temp7 = false ;
10722 PyObject * obj0 = 0 ;
10723 PyObject * obj1 = 0 ;
10724 PyObject * obj2 = 0 ;
10725 PyObject * obj3 = 0 ;
10726 PyObject * obj4 = 0 ;
10727 PyObject * obj5 = 0 ;
10728 PyObject * obj6 = 0 ;
10729 char * kwnames[] = {
10730 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10731 };
10732
10733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10735 if (!SWIG_IsOK(res1)) {
10736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10737 }
10738 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10739 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10740 if (!SWIG_IsOK(res2)) {
10741 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10742 }
10743 arg2 = reinterpret_cast< wxWindow * >(argp2);
10744 if (obj2) {
10745 ecode3 = SWIG_AsVal_int(obj2, &val3);
10746 if (!SWIG_IsOK(ecode3)) {
10747 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10748 }
10749 arg3 = static_cast< int >(val3);
10750 }
10751 if (obj3) {
10752 {
10753 arg4 = &temp4;
10754 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10755 }
10756 }
10757 if (obj4) {
10758 {
10759 arg5 = &temp5;
10760 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10761 }
10762 }
10763 if (obj5) {
10764 ecode6 = SWIG_AsVal_long(obj5, &val6);
10765 if (!SWIG_IsOK(ecode6)) {
10766 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10767 }
10768 arg6 = static_cast< long >(val6);
10769 }
10770 if (obj6) {
10771 {
10772 arg7 = wxString_in_helper(obj6);
10773 if (arg7 == NULL) SWIG_fail;
10774 temp7 = true;
10775 }
10776 }
10777 {
10778 PyThreadState* __tstate = wxPyBeginAllowThreads();
10779 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10780 wxPyEndAllowThreads(__tstate);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 }
10783 {
10784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10785 }
10786 {
10787 if (temp7)
10788 delete arg7;
10789 }
10790 return resultobj;
10791 fail:
10792 {
10793 if (temp7)
10794 delete arg7;
10795 }
10796 return NULL;
10797 }
10798
10799
10800 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10801 PyObject *resultobj = 0;
10802 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10803 wxSashEdgePosition arg2 ;
10804 bool arg3 ;
10805 void *argp1 = 0 ;
10806 int res1 = 0 ;
10807 int val2 ;
10808 int ecode2 = 0 ;
10809 bool val3 ;
10810 int ecode3 = 0 ;
10811 PyObject * obj0 = 0 ;
10812 PyObject * obj1 = 0 ;
10813 PyObject * obj2 = 0 ;
10814 char * kwnames[] = {
10815 (char *) "self",(char *) "edge",(char *) "sash", NULL
10816 };
10817
10818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10820 if (!SWIG_IsOK(res1)) {
10821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10822 }
10823 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10824 ecode2 = SWIG_AsVal_int(obj1, &val2);
10825 if (!SWIG_IsOK(ecode2)) {
10826 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10827 }
10828 arg2 = static_cast< wxSashEdgePosition >(val2);
10829 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10830 if (!SWIG_IsOK(ecode3)) {
10831 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10832 }
10833 arg3 = static_cast< bool >(val3);
10834 {
10835 PyThreadState* __tstate = wxPyBeginAllowThreads();
10836 (arg1)->SetSashVisible(arg2,arg3);
10837 wxPyEndAllowThreads(__tstate);
10838 if (PyErr_Occurred()) SWIG_fail;
10839 }
10840 resultobj = SWIG_Py_Void();
10841 return resultobj;
10842 fail:
10843 return NULL;
10844 }
10845
10846
10847 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10848 PyObject *resultobj = 0;
10849 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10850 wxSashEdgePosition arg2 ;
10851 bool result;
10852 void *argp1 = 0 ;
10853 int res1 = 0 ;
10854 int val2 ;
10855 int ecode2 = 0 ;
10856 PyObject * obj0 = 0 ;
10857 PyObject * obj1 = 0 ;
10858 char * kwnames[] = {
10859 (char *) "self",(char *) "edge", NULL
10860 };
10861
10862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10864 if (!SWIG_IsOK(res1)) {
10865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10866 }
10867 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10868 ecode2 = SWIG_AsVal_int(obj1, &val2);
10869 if (!SWIG_IsOK(ecode2)) {
10870 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10871 }
10872 arg2 = static_cast< wxSashEdgePosition >(val2);
10873 {
10874 PyThreadState* __tstate = wxPyBeginAllowThreads();
10875 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
10876 wxPyEndAllowThreads(__tstate);
10877 if (PyErr_Occurred()) SWIG_fail;
10878 }
10879 {
10880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10881 }
10882 return resultobj;
10883 fail:
10884 return NULL;
10885 }
10886
10887
10888 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10889 PyObject *resultobj = 0;
10890 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10891 wxSashEdgePosition arg2 ;
10892 bool arg3 ;
10893 void *argp1 = 0 ;
10894 int res1 = 0 ;
10895 int val2 ;
10896 int ecode2 = 0 ;
10897 bool val3 ;
10898 int ecode3 = 0 ;
10899 PyObject * obj0 = 0 ;
10900 PyObject * obj1 = 0 ;
10901 PyObject * obj2 = 0 ;
10902 char * kwnames[] = {
10903 (char *) "self",(char *) "edge",(char *) "border", NULL
10904 };
10905
10906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10908 if (!SWIG_IsOK(res1)) {
10909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10910 }
10911 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10912 ecode2 = SWIG_AsVal_int(obj1, &val2);
10913 if (!SWIG_IsOK(ecode2)) {
10914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10915 }
10916 arg2 = static_cast< wxSashEdgePosition >(val2);
10917 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10918 if (!SWIG_IsOK(ecode3)) {
10919 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10920 }
10921 arg3 = static_cast< bool >(val3);
10922 {
10923 PyThreadState* __tstate = wxPyBeginAllowThreads();
10924 (arg1)->SetSashBorder(arg2,arg3);
10925 wxPyEndAllowThreads(__tstate);
10926 if (PyErr_Occurred()) SWIG_fail;
10927 }
10928 resultobj = SWIG_Py_Void();
10929 return resultobj;
10930 fail:
10931 return NULL;
10932 }
10933
10934
10935 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10936 PyObject *resultobj = 0;
10937 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10938 wxSashEdgePosition arg2 ;
10939 bool result;
10940 void *argp1 = 0 ;
10941 int res1 = 0 ;
10942 int val2 ;
10943 int ecode2 = 0 ;
10944 PyObject * obj0 = 0 ;
10945 PyObject * obj1 = 0 ;
10946 char * kwnames[] = {
10947 (char *) "self",(char *) "edge", NULL
10948 };
10949
10950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
10951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10952 if (!SWIG_IsOK(res1)) {
10953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10954 }
10955 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10956 ecode2 = SWIG_AsVal_int(obj1, &val2);
10957 if (!SWIG_IsOK(ecode2)) {
10958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10959 }
10960 arg2 = static_cast< wxSashEdgePosition >(val2);
10961 {
10962 PyThreadState* __tstate = wxPyBeginAllowThreads();
10963 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
10964 wxPyEndAllowThreads(__tstate);
10965 if (PyErr_Occurred()) SWIG_fail;
10966 }
10967 {
10968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10969 }
10970 return resultobj;
10971 fail:
10972 return NULL;
10973 }
10974
10975
10976 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10977 PyObject *resultobj = 0;
10978 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10979 wxSashEdgePosition arg2 ;
10980 int result;
10981 void *argp1 = 0 ;
10982 int res1 = 0 ;
10983 int val2 ;
10984 int ecode2 = 0 ;
10985 PyObject * obj0 = 0 ;
10986 PyObject * obj1 = 0 ;
10987 char * kwnames[] = {
10988 (char *) "self",(char *) "edge", NULL
10989 };
10990
10991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
10992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10993 if (!SWIG_IsOK(res1)) {
10994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10995 }
10996 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10997 ecode2 = SWIG_AsVal_int(obj1, &val2);
10998 if (!SWIG_IsOK(ecode2)) {
10999 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11000 }
11001 arg2 = static_cast< wxSashEdgePosition >(val2);
11002 {
11003 PyThreadState* __tstate = wxPyBeginAllowThreads();
11004 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11005 wxPyEndAllowThreads(__tstate);
11006 if (PyErr_Occurred()) SWIG_fail;
11007 }
11008 resultobj = SWIG_From_int(static_cast< int >(result));
11009 return resultobj;
11010 fail:
11011 return NULL;
11012 }
11013
11014
11015 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11016 PyObject *resultobj = 0;
11017 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11018 int arg2 ;
11019 void *argp1 = 0 ;
11020 int res1 = 0 ;
11021 int val2 ;
11022 int ecode2 = 0 ;
11023 PyObject * obj0 = 0 ;
11024 PyObject * obj1 = 0 ;
11025 char * kwnames[] = {
11026 (char *) "self",(char *) "width", NULL
11027 };
11028
11029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11031 if (!SWIG_IsOK(res1)) {
11032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11033 }
11034 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11035 ecode2 = SWIG_AsVal_int(obj1, &val2);
11036 if (!SWIG_IsOK(ecode2)) {
11037 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11038 }
11039 arg2 = static_cast< int >(val2);
11040 {
11041 PyThreadState* __tstate = wxPyBeginAllowThreads();
11042 (arg1)->SetDefaultBorderSize(arg2);
11043 wxPyEndAllowThreads(__tstate);
11044 if (PyErr_Occurred()) SWIG_fail;
11045 }
11046 resultobj = SWIG_Py_Void();
11047 return resultobj;
11048 fail:
11049 return NULL;
11050 }
11051
11052
11053 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11054 PyObject *resultobj = 0;
11055 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11056 int result;
11057 void *argp1 = 0 ;
11058 int res1 = 0 ;
11059 PyObject *swig_obj[1] ;
11060
11061 if (!args) SWIG_fail;
11062 swig_obj[0] = args;
11063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11064 if (!SWIG_IsOK(res1)) {
11065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11066 }
11067 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11068 {
11069 PyThreadState* __tstate = wxPyBeginAllowThreads();
11070 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11071 wxPyEndAllowThreads(__tstate);
11072 if (PyErr_Occurred()) SWIG_fail;
11073 }
11074 resultobj = SWIG_From_int(static_cast< int >(result));
11075 return resultobj;
11076 fail:
11077 return NULL;
11078 }
11079
11080
11081 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11082 PyObject *resultobj = 0;
11083 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11084 int arg2 ;
11085 void *argp1 = 0 ;
11086 int res1 = 0 ;
11087 int val2 ;
11088 int ecode2 = 0 ;
11089 PyObject * obj0 = 0 ;
11090 PyObject * obj1 = 0 ;
11091 char * kwnames[] = {
11092 (char *) "self",(char *) "width", NULL
11093 };
11094
11095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11097 if (!SWIG_IsOK(res1)) {
11098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11099 }
11100 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11101 ecode2 = SWIG_AsVal_int(obj1, &val2);
11102 if (!SWIG_IsOK(ecode2)) {
11103 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11104 }
11105 arg2 = static_cast< int >(val2);
11106 {
11107 PyThreadState* __tstate = wxPyBeginAllowThreads();
11108 (arg1)->SetExtraBorderSize(arg2);
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 resultobj = SWIG_Py_Void();
11113 return resultobj;
11114 fail:
11115 return NULL;
11116 }
11117
11118
11119 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11120 PyObject *resultobj = 0;
11121 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11122 int result;
11123 void *argp1 = 0 ;
11124 int res1 = 0 ;
11125 PyObject *swig_obj[1] ;
11126
11127 if (!args) SWIG_fail;
11128 swig_obj[0] = args;
11129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11130 if (!SWIG_IsOK(res1)) {
11131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11132 }
11133 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11134 {
11135 PyThreadState* __tstate = wxPyBeginAllowThreads();
11136 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11137 wxPyEndAllowThreads(__tstate);
11138 if (PyErr_Occurred()) SWIG_fail;
11139 }
11140 resultobj = SWIG_From_int(static_cast< int >(result));
11141 return resultobj;
11142 fail:
11143 return NULL;
11144 }
11145
11146
11147 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11148 PyObject *resultobj = 0;
11149 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11150 int arg2 ;
11151 void *argp1 = 0 ;
11152 int res1 = 0 ;
11153 int val2 ;
11154 int ecode2 = 0 ;
11155 PyObject * obj0 = 0 ;
11156 PyObject * obj1 = 0 ;
11157 char * kwnames[] = {
11158 (char *) "self",(char *) "min", NULL
11159 };
11160
11161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11163 if (!SWIG_IsOK(res1)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11165 }
11166 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11167 ecode2 = SWIG_AsVal_int(obj1, &val2);
11168 if (!SWIG_IsOK(ecode2)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11170 }
11171 arg2 = static_cast< int >(val2);
11172 {
11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
11174 (arg1)->SetMinimumSizeX(arg2);
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 resultobj = SWIG_Py_Void();
11179 return resultobj;
11180 fail:
11181 return NULL;
11182 }
11183
11184
11185 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11186 PyObject *resultobj = 0;
11187 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11188 int arg2 ;
11189 void *argp1 = 0 ;
11190 int res1 = 0 ;
11191 int val2 ;
11192 int ecode2 = 0 ;
11193 PyObject * obj0 = 0 ;
11194 PyObject * obj1 = 0 ;
11195 char * kwnames[] = {
11196 (char *) "self",(char *) "min", NULL
11197 };
11198
11199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11201 if (!SWIG_IsOK(res1)) {
11202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11203 }
11204 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11205 ecode2 = SWIG_AsVal_int(obj1, &val2);
11206 if (!SWIG_IsOK(ecode2)) {
11207 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11208 }
11209 arg2 = static_cast< int >(val2);
11210 {
11211 PyThreadState* __tstate = wxPyBeginAllowThreads();
11212 (arg1)->SetMinimumSizeY(arg2);
11213 wxPyEndAllowThreads(__tstate);
11214 if (PyErr_Occurred()) SWIG_fail;
11215 }
11216 resultobj = SWIG_Py_Void();
11217 return resultobj;
11218 fail:
11219 return NULL;
11220 }
11221
11222
11223 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11224 PyObject *resultobj = 0;
11225 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11226 int result;
11227 void *argp1 = 0 ;
11228 int res1 = 0 ;
11229 PyObject *swig_obj[1] ;
11230
11231 if (!args) SWIG_fail;
11232 swig_obj[0] = args;
11233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11234 if (!SWIG_IsOK(res1)) {
11235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11236 }
11237 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11238 {
11239 PyThreadState* __tstate = wxPyBeginAllowThreads();
11240 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11241 wxPyEndAllowThreads(__tstate);
11242 if (PyErr_Occurred()) SWIG_fail;
11243 }
11244 resultobj = SWIG_From_int(static_cast< int >(result));
11245 return resultobj;
11246 fail:
11247 return NULL;
11248 }
11249
11250
11251 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11252 PyObject *resultobj = 0;
11253 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11254 int result;
11255 void *argp1 = 0 ;
11256 int res1 = 0 ;
11257 PyObject *swig_obj[1] ;
11258
11259 if (!args) SWIG_fail;
11260 swig_obj[0] = args;
11261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11262 if (!SWIG_IsOK(res1)) {
11263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11264 }
11265 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11266 {
11267 PyThreadState* __tstate = wxPyBeginAllowThreads();
11268 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11269 wxPyEndAllowThreads(__tstate);
11270 if (PyErr_Occurred()) SWIG_fail;
11271 }
11272 resultobj = SWIG_From_int(static_cast< int >(result));
11273 return resultobj;
11274 fail:
11275 return NULL;
11276 }
11277
11278
11279 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11280 PyObject *resultobj = 0;
11281 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11282 int arg2 ;
11283 void *argp1 = 0 ;
11284 int res1 = 0 ;
11285 int val2 ;
11286 int ecode2 = 0 ;
11287 PyObject * obj0 = 0 ;
11288 PyObject * obj1 = 0 ;
11289 char * kwnames[] = {
11290 (char *) "self",(char *) "max", NULL
11291 };
11292
11293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11295 if (!SWIG_IsOK(res1)) {
11296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11297 }
11298 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11299 ecode2 = SWIG_AsVal_int(obj1, &val2);
11300 if (!SWIG_IsOK(ecode2)) {
11301 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11302 }
11303 arg2 = static_cast< int >(val2);
11304 {
11305 PyThreadState* __tstate = wxPyBeginAllowThreads();
11306 (arg1)->SetMaximumSizeX(arg2);
11307 wxPyEndAllowThreads(__tstate);
11308 if (PyErr_Occurred()) SWIG_fail;
11309 }
11310 resultobj = SWIG_Py_Void();
11311 return resultobj;
11312 fail:
11313 return NULL;
11314 }
11315
11316
11317 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11318 PyObject *resultobj = 0;
11319 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11320 int arg2 ;
11321 void *argp1 = 0 ;
11322 int res1 = 0 ;
11323 int val2 ;
11324 int ecode2 = 0 ;
11325 PyObject * obj0 = 0 ;
11326 PyObject * obj1 = 0 ;
11327 char * kwnames[] = {
11328 (char *) "self",(char *) "max", NULL
11329 };
11330
11331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11333 if (!SWIG_IsOK(res1)) {
11334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11335 }
11336 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11337 ecode2 = SWIG_AsVal_int(obj1, &val2);
11338 if (!SWIG_IsOK(ecode2)) {
11339 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11340 }
11341 arg2 = static_cast< int >(val2);
11342 {
11343 PyThreadState* __tstate = wxPyBeginAllowThreads();
11344 (arg1)->SetMaximumSizeY(arg2);
11345 wxPyEndAllowThreads(__tstate);
11346 if (PyErr_Occurred()) SWIG_fail;
11347 }
11348 resultobj = SWIG_Py_Void();
11349 return resultobj;
11350 fail:
11351 return NULL;
11352 }
11353
11354
11355 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11356 PyObject *resultobj = 0;
11357 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11358 int result;
11359 void *argp1 = 0 ;
11360 int res1 = 0 ;
11361 PyObject *swig_obj[1] ;
11362
11363 if (!args) SWIG_fail;
11364 swig_obj[0] = args;
11365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11366 if (!SWIG_IsOK(res1)) {
11367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11368 }
11369 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11370 {
11371 PyThreadState* __tstate = wxPyBeginAllowThreads();
11372 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11373 wxPyEndAllowThreads(__tstate);
11374 if (PyErr_Occurred()) SWIG_fail;
11375 }
11376 resultobj = SWIG_From_int(static_cast< int >(result));
11377 return resultobj;
11378 fail:
11379 return NULL;
11380 }
11381
11382
11383 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11384 PyObject *resultobj = 0;
11385 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11386 int result;
11387 void *argp1 = 0 ;
11388 int res1 = 0 ;
11389 PyObject *swig_obj[1] ;
11390
11391 if (!args) SWIG_fail;
11392 swig_obj[0] = args;
11393 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11394 if (!SWIG_IsOK(res1)) {
11395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11396 }
11397 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11398 {
11399 PyThreadState* __tstate = wxPyBeginAllowThreads();
11400 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11401 wxPyEndAllowThreads(__tstate);
11402 if (PyErr_Occurred()) SWIG_fail;
11403 }
11404 resultobj = SWIG_From_int(static_cast< int >(result));
11405 return resultobj;
11406 fail:
11407 return NULL;
11408 }
11409
11410
11411 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11412 PyObject *resultobj = 0;
11413 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11414 int arg2 ;
11415 int arg3 ;
11416 int arg4 = (int) 2 ;
11417 wxSashEdgePosition result;
11418 void *argp1 = 0 ;
11419 int res1 = 0 ;
11420 int val2 ;
11421 int ecode2 = 0 ;
11422 int val3 ;
11423 int ecode3 = 0 ;
11424 int val4 ;
11425 int ecode4 = 0 ;
11426 PyObject * obj0 = 0 ;
11427 PyObject * obj1 = 0 ;
11428 PyObject * obj2 = 0 ;
11429 PyObject * obj3 = 0 ;
11430 char * kwnames[] = {
11431 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11432 };
11433
11434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11436 if (!SWIG_IsOK(res1)) {
11437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11438 }
11439 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11440 ecode2 = SWIG_AsVal_int(obj1, &val2);
11441 if (!SWIG_IsOK(ecode2)) {
11442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11443 }
11444 arg2 = static_cast< int >(val2);
11445 ecode3 = SWIG_AsVal_int(obj2, &val3);
11446 if (!SWIG_IsOK(ecode3)) {
11447 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11448 }
11449 arg3 = static_cast< int >(val3);
11450 if (obj3) {
11451 ecode4 = SWIG_AsVal_int(obj3, &val4);
11452 if (!SWIG_IsOK(ecode4)) {
11453 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11454 }
11455 arg4 = static_cast< int >(val4);
11456 }
11457 {
11458 PyThreadState* __tstate = wxPyBeginAllowThreads();
11459 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11460 wxPyEndAllowThreads(__tstate);
11461 if (PyErr_Occurred()) SWIG_fail;
11462 }
11463 resultobj = SWIG_From_int(static_cast< int >(result));
11464 return resultobj;
11465 fail:
11466 return NULL;
11467 }
11468
11469
11470 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11471 PyObject *resultobj = 0;
11472 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11473 void *argp1 = 0 ;
11474 int res1 = 0 ;
11475 PyObject *swig_obj[1] ;
11476
11477 if (!args) SWIG_fail;
11478 swig_obj[0] = args;
11479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11480 if (!SWIG_IsOK(res1)) {
11481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11482 }
11483 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11484 {
11485 PyThreadState* __tstate = wxPyBeginAllowThreads();
11486 (arg1)->SizeWindows();
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 *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11498 PyObject *obj;
11499 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11500 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11501 return SWIG_Py_Void();
11502 }
11503
11504 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11505 return SWIG_Python_InitShadowInstance(args);
11506 }
11507
11508 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11509 PyObject *resultobj = 0;
11510 int arg1 = (int) 0 ;
11511 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11512 wxSashEvent *result = 0 ;
11513 int val1 ;
11514 int ecode1 = 0 ;
11515 int val2 ;
11516 int ecode2 = 0 ;
11517 PyObject * obj0 = 0 ;
11518 PyObject * obj1 = 0 ;
11519 char * kwnames[] = {
11520 (char *) "id",(char *) "edge", NULL
11521 };
11522
11523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11524 if (obj0) {
11525 ecode1 = SWIG_AsVal_int(obj0, &val1);
11526 if (!SWIG_IsOK(ecode1)) {
11527 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11528 }
11529 arg1 = static_cast< int >(val1);
11530 }
11531 if (obj1) {
11532 ecode2 = SWIG_AsVal_int(obj1, &val2);
11533 if (!SWIG_IsOK(ecode2)) {
11534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11535 }
11536 arg2 = static_cast< wxSashEdgePosition >(val2);
11537 }
11538 {
11539 PyThreadState* __tstate = wxPyBeginAllowThreads();
11540 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11541 wxPyEndAllowThreads(__tstate);
11542 if (PyErr_Occurred()) SWIG_fail;
11543 }
11544 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11545 return resultobj;
11546 fail:
11547 return NULL;
11548 }
11549
11550
11551 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11552 PyObject *resultobj = 0;
11553 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11554 wxSashEdgePosition arg2 ;
11555 void *argp1 = 0 ;
11556 int res1 = 0 ;
11557 int val2 ;
11558 int ecode2 = 0 ;
11559 PyObject * obj0 = 0 ;
11560 PyObject * obj1 = 0 ;
11561 char * kwnames[] = {
11562 (char *) "self",(char *) "edge", NULL
11563 };
11564
11565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11567 if (!SWIG_IsOK(res1)) {
11568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11569 }
11570 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11571 ecode2 = SWIG_AsVal_int(obj1, &val2);
11572 if (!SWIG_IsOK(ecode2)) {
11573 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11574 }
11575 arg2 = static_cast< wxSashEdgePosition >(val2);
11576 {
11577 PyThreadState* __tstate = wxPyBeginAllowThreads();
11578 (arg1)->SetEdge(arg2);
11579 wxPyEndAllowThreads(__tstate);
11580 if (PyErr_Occurred()) SWIG_fail;
11581 }
11582 resultobj = SWIG_Py_Void();
11583 return resultobj;
11584 fail:
11585 return NULL;
11586 }
11587
11588
11589 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11590 PyObject *resultobj = 0;
11591 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11592 wxSashEdgePosition result;
11593 void *argp1 = 0 ;
11594 int res1 = 0 ;
11595 PyObject *swig_obj[1] ;
11596
11597 if (!args) SWIG_fail;
11598 swig_obj[0] = args;
11599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11600 if (!SWIG_IsOK(res1)) {
11601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11602 }
11603 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11604 {
11605 PyThreadState* __tstate = wxPyBeginAllowThreads();
11606 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11607 wxPyEndAllowThreads(__tstate);
11608 if (PyErr_Occurred()) SWIG_fail;
11609 }
11610 resultobj = SWIG_From_int(static_cast< int >(result));
11611 return resultobj;
11612 fail:
11613 return NULL;
11614 }
11615
11616
11617 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11618 PyObject *resultobj = 0;
11619 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11620 wxRect *arg2 = 0 ;
11621 void *argp1 = 0 ;
11622 int res1 = 0 ;
11623 wxRect temp2 ;
11624 PyObject * obj0 = 0 ;
11625 PyObject * obj1 = 0 ;
11626 char * kwnames[] = {
11627 (char *) "self",(char *) "rect", NULL
11628 };
11629
11630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11632 if (!SWIG_IsOK(res1)) {
11633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11634 }
11635 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11636 {
11637 arg2 = &temp2;
11638 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11639 }
11640 {
11641 PyThreadState* __tstate = wxPyBeginAllowThreads();
11642 (arg1)->SetDragRect((wxRect const &)*arg2);
11643 wxPyEndAllowThreads(__tstate);
11644 if (PyErr_Occurred()) SWIG_fail;
11645 }
11646 resultobj = SWIG_Py_Void();
11647 return resultobj;
11648 fail:
11649 return NULL;
11650 }
11651
11652
11653 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11654 PyObject *resultobj = 0;
11655 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11656 wxRect result;
11657 void *argp1 = 0 ;
11658 int res1 = 0 ;
11659 PyObject *swig_obj[1] ;
11660
11661 if (!args) SWIG_fail;
11662 swig_obj[0] = args;
11663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11664 if (!SWIG_IsOK(res1)) {
11665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11666 }
11667 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11668 {
11669 PyThreadState* __tstate = wxPyBeginAllowThreads();
11670 result = ((wxSashEvent const *)arg1)->GetDragRect();
11671 wxPyEndAllowThreads(__tstate);
11672 if (PyErr_Occurred()) SWIG_fail;
11673 }
11674 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11675 return resultobj;
11676 fail:
11677 return NULL;
11678 }
11679
11680
11681 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11682 PyObject *resultobj = 0;
11683 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11684 wxSashDragStatus arg2 ;
11685 void *argp1 = 0 ;
11686 int res1 = 0 ;
11687 int val2 ;
11688 int ecode2 = 0 ;
11689 PyObject * obj0 = 0 ;
11690 PyObject * obj1 = 0 ;
11691 char * kwnames[] = {
11692 (char *) "self",(char *) "status", NULL
11693 };
11694
11695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11697 if (!SWIG_IsOK(res1)) {
11698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11699 }
11700 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11701 ecode2 = SWIG_AsVal_int(obj1, &val2);
11702 if (!SWIG_IsOK(ecode2)) {
11703 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11704 }
11705 arg2 = static_cast< wxSashDragStatus >(val2);
11706 {
11707 PyThreadState* __tstate = wxPyBeginAllowThreads();
11708 (arg1)->SetDragStatus(arg2);
11709 wxPyEndAllowThreads(__tstate);
11710 if (PyErr_Occurred()) SWIG_fail;
11711 }
11712 resultobj = SWIG_Py_Void();
11713 return resultobj;
11714 fail:
11715 return NULL;
11716 }
11717
11718
11719 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11720 PyObject *resultobj = 0;
11721 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11722 wxSashDragStatus result;
11723 void *argp1 = 0 ;
11724 int res1 = 0 ;
11725 PyObject *swig_obj[1] ;
11726
11727 if (!args) SWIG_fail;
11728 swig_obj[0] = args;
11729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11730 if (!SWIG_IsOK(res1)) {
11731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11732 }
11733 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11734 {
11735 PyThreadState* __tstate = wxPyBeginAllowThreads();
11736 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11737 wxPyEndAllowThreads(__tstate);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 }
11740 resultobj = SWIG_From_int(static_cast< int >(result));
11741 return resultobj;
11742 fail:
11743 return NULL;
11744 }
11745
11746
11747 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11748 PyObject *obj;
11749 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11750 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11751 return SWIG_Py_Void();
11752 }
11753
11754 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11755 return SWIG_Python_InitShadowInstance(args);
11756 }
11757
11758 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11759 PyObject *resultobj = 0;
11760 int arg1 = (int) 0 ;
11761 wxQueryLayoutInfoEvent *result = 0 ;
11762 int val1 ;
11763 int ecode1 = 0 ;
11764 PyObject * obj0 = 0 ;
11765 char * kwnames[] = {
11766 (char *) "id", NULL
11767 };
11768
11769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11770 if (obj0) {
11771 ecode1 = SWIG_AsVal_int(obj0, &val1);
11772 if (!SWIG_IsOK(ecode1)) {
11773 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11774 }
11775 arg1 = static_cast< int >(val1);
11776 }
11777 {
11778 PyThreadState* __tstate = wxPyBeginAllowThreads();
11779 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11780 wxPyEndAllowThreads(__tstate);
11781 if (PyErr_Occurred()) SWIG_fail;
11782 }
11783 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11784 return resultobj;
11785 fail:
11786 return NULL;
11787 }
11788
11789
11790 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11791 PyObject *resultobj = 0;
11792 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11793 int arg2 ;
11794 void *argp1 = 0 ;
11795 int res1 = 0 ;
11796 int val2 ;
11797 int ecode2 = 0 ;
11798 PyObject * obj0 = 0 ;
11799 PyObject * obj1 = 0 ;
11800 char * kwnames[] = {
11801 (char *) "self",(char *) "length", NULL
11802 };
11803
11804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
11805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11806 if (!SWIG_IsOK(res1)) {
11807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11808 }
11809 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11810 ecode2 = SWIG_AsVal_int(obj1, &val2);
11811 if (!SWIG_IsOK(ecode2)) {
11812 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11813 }
11814 arg2 = static_cast< int >(val2);
11815 {
11816 PyThreadState* __tstate = wxPyBeginAllowThreads();
11817 (arg1)->SetRequestedLength(arg2);
11818 wxPyEndAllowThreads(__tstate);
11819 if (PyErr_Occurred()) SWIG_fail;
11820 }
11821 resultobj = SWIG_Py_Void();
11822 return resultobj;
11823 fail:
11824 return NULL;
11825 }
11826
11827
11828 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11829 PyObject *resultobj = 0;
11830 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11831 int result;
11832 void *argp1 = 0 ;
11833 int res1 = 0 ;
11834 PyObject *swig_obj[1] ;
11835
11836 if (!args) SWIG_fail;
11837 swig_obj[0] = args;
11838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11839 if (!SWIG_IsOK(res1)) {
11840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11841 }
11842 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11843 {
11844 PyThreadState* __tstate = wxPyBeginAllowThreads();
11845 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
11846 wxPyEndAllowThreads(__tstate);
11847 if (PyErr_Occurred()) SWIG_fail;
11848 }
11849 resultobj = SWIG_From_int(static_cast< int >(result));
11850 return resultobj;
11851 fail:
11852 return NULL;
11853 }
11854
11855
11856 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11857 PyObject *resultobj = 0;
11858 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11859 int arg2 ;
11860 void *argp1 = 0 ;
11861 int res1 = 0 ;
11862 int val2 ;
11863 int ecode2 = 0 ;
11864 PyObject * obj0 = 0 ;
11865 PyObject * obj1 = 0 ;
11866 char * kwnames[] = {
11867 (char *) "self",(char *) "flags", NULL
11868 };
11869
11870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11872 if (!SWIG_IsOK(res1)) {
11873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11874 }
11875 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11876 ecode2 = SWIG_AsVal_int(obj1, &val2);
11877 if (!SWIG_IsOK(ecode2)) {
11878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11879 }
11880 arg2 = static_cast< int >(val2);
11881 {
11882 PyThreadState* __tstate = wxPyBeginAllowThreads();
11883 (arg1)->SetFlags(arg2);
11884 wxPyEndAllowThreads(__tstate);
11885 if (PyErr_Occurred()) SWIG_fail;
11886 }
11887 resultobj = SWIG_Py_Void();
11888 return resultobj;
11889 fail:
11890 return NULL;
11891 }
11892
11893
11894 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11895 PyObject *resultobj = 0;
11896 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11897 int result;
11898 void *argp1 = 0 ;
11899 int res1 = 0 ;
11900 PyObject *swig_obj[1] ;
11901
11902 if (!args) SWIG_fail;
11903 swig_obj[0] = args;
11904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11905 if (!SWIG_IsOK(res1)) {
11906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11907 }
11908 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11909 {
11910 PyThreadState* __tstate = wxPyBeginAllowThreads();
11911 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
11912 wxPyEndAllowThreads(__tstate);
11913 if (PyErr_Occurred()) SWIG_fail;
11914 }
11915 resultobj = SWIG_From_int(static_cast< int >(result));
11916 return resultobj;
11917 fail:
11918 return NULL;
11919 }
11920
11921
11922 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11923 PyObject *resultobj = 0;
11924 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11925 wxSize *arg2 = 0 ;
11926 void *argp1 = 0 ;
11927 int res1 = 0 ;
11928 wxSize temp2 ;
11929 PyObject * obj0 = 0 ;
11930 PyObject * obj1 = 0 ;
11931 char * kwnames[] = {
11932 (char *) "self",(char *) "size", NULL
11933 };
11934
11935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
11936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11937 if (!SWIG_IsOK(res1)) {
11938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11939 }
11940 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11941 {
11942 arg2 = &temp2;
11943 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11944 }
11945 {
11946 PyThreadState* __tstate = wxPyBeginAllowThreads();
11947 (arg1)->SetSize((wxSize const &)*arg2);
11948 wxPyEndAllowThreads(__tstate);
11949 if (PyErr_Occurred()) SWIG_fail;
11950 }
11951 resultobj = SWIG_Py_Void();
11952 return resultobj;
11953 fail:
11954 return NULL;
11955 }
11956
11957
11958 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11959 PyObject *resultobj = 0;
11960 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11961 wxSize result;
11962 void *argp1 = 0 ;
11963 int res1 = 0 ;
11964 PyObject *swig_obj[1] ;
11965
11966 if (!args) SWIG_fail;
11967 swig_obj[0] = args;
11968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11969 if (!SWIG_IsOK(res1)) {
11970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11971 }
11972 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11973 {
11974 PyThreadState* __tstate = wxPyBeginAllowThreads();
11975 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
11976 wxPyEndAllowThreads(__tstate);
11977 if (PyErr_Occurred()) SWIG_fail;
11978 }
11979 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
11980 return resultobj;
11981 fail:
11982 return NULL;
11983 }
11984
11985
11986 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11987 PyObject *resultobj = 0;
11988 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11989 wxLayoutOrientation arg2 ;
11990 void *argp1 = 0 ;
11991 int res1 = 0 ;
11992 int val2 ;
11993 int ecode2 = 0 ;
11994 PyObject * obj0 = 0 ;
11995 PyObject * obj1 = 0 ;
11996 char * kwnames[] = {
11997 (char *) "self",(char *) "orient", NULL
11998 };
11999
12000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12002 if (!SWIG_IsOK(res1)) {
12003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12004 }
12005 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12006 ecode2 = SWIG_AsVal_int(obj1, &val2);
12007 if (!SWIG_IsOK(ecode2)) {
12008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12009 }
12010 arg2 = static_cast< wxLayoutOrientation >(val2);
12011 {
12012 PyThreadState* __tstate = wxPyBeginAllowThreads();
12013 (arg1)->SetOrientation(arg2);
12014 wxPyEndAllowThreads(__tstate);
12015 if (PyErr_Occurred()) SWIG_fail;
12016 }
12017 resultobj = SWIG_Py_Void();
12018 return resultobj;
12019 fail:
12020 return NULL;
12021 }
12022
12023
12024 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12025 PyObject *resultobj = 0;
12026 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12027 wxLayoutOrientation result;
12028 void *argp1 = 0 ;
12029 int res1 = 0 ;
12030 PyObject *swig_obj[1] ;
12031
12032 if (!args) SWIG_fail;
12033 swig_obj[0] = args;
12034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12035 if (!SWIG_IsOK(res1)) {
12036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12037 }
12038 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12039 {
12040 PyThreadState* __tstate = wxPyBeginAllowThreads();
12041 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12042 wxPyEndAllowThreads(__tstate);
12043 if (PyErr_Occurred()) SWIG_fail;
12044 }
12045 resultobj = SWIG_From_int(static_cast< int >(result));
12046 return resultobj;
12047 fail:
12048 return NULL;
12049 }
12050
12051
12052 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12053 PyObject *resultobj = 0;
12054 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12055 wxLayoutAlignment arg2 ;
12056 void *argp1 = 0 ;
12057 int res1 = 0 ;
12058 int val2 ;
12059 int ecode2 = 0 ;
12060 PyObject * obj0 = 0 ;
12061 PyObject * obj1 = 0 ;
12062 char * kwnames[] = {
12063 (char *) "self",(char *) "align", NULL
12064 };
12065
12066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12068 if (!SWIG_IsOK(res1)) {
12069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12070 }
12071 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12072 ecode2 = SWIG_AsVal_int(obj1, &val2);
12073 if (!SWIG_IsOK(ecode2)) {
12074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12075 }
12076 arg2 = static_cast< wxLayoutAlignment >(val2);
12077 {
12078 PyThreadState* __tstate = wxPyBeginAllowThreads();
12079 (arg1)->SetAlignment(arg2);
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
12083 resultobj = SWIG_Py_Void();
12084 return resultobj;
12085 fail:
12086 return NULL;
12087 }
12088
12089
12090 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12091 PyObject *resultobj = 0;
12092 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12093 wxLayoutAlignment result;
12094 void *argp1 = 0 ;
12095 int res1 = 0 ;
12096 PyObject *swig_obj[1] ;
12097
12098 if (!args) SWIG_fail;
12099 swig_obj[0] = args;
12100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12101 if (!SWIG_IsOK(res1)) {
12102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12103 }
12104 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12105 {
12106 PyThreadState* __tstate = wxPyBeginAllowThreads();
12107 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12108 wxPyEndAllowThreads(__tstate);
12109 if (PyErr_Occurred()) SWIG_fail;
12110 }
12111 resultobj = SWIG_From_int(static_cast< int >(result));
12112 return resultobj;
12113 fail:
12114 return NULL;
12115 }
12116
12117
12118 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12119 PyObject *obj;
12120 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12121 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12122 return SWIG_Py_Void();
12123 }
12124
12125 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12126 return SWIG_Python_InitShadowInstance(args);
12127 }
12128
12129 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12130 PyObject *resultobj = 0;
12131 int arg1 = (int) 0 ;
12132 wxCalculateLayoutEvent *result = 0 ;
12133 int val1 ;
12134 int ecode1 = 0 ;
12135 PyObject * obj0 = 0 ;
12136 char * kwnames[] = {
12137 (char *) "id", NULL
12138 };
12139
12140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12141 if (obj0) {
12142 ecode1 = SWIG_AsVal_int(obj0, &val1);
12143 if (!SWIG_IsOK(ecode1)) {
12144 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12145 }
12146 arg1 = static_cast< int >(val1);
12147 }
12148 {
12149 PyThreadState* __tstate = wxPyBeginAllowThreads();
12150 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12151 wxPyEndAllowThreads(__tstate);
12152 if (PyErr_Occurred()) SWIG_fail;
12153 }
12154 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12155 return resultobj;
12156 fail:
12157 return NULL;
12158 }
12159
12160
12161 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12162 PyObject *resultobj = 0;
12163 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12164 int arg2 ;
12165 void *argp1 = 0 ;
12166 int res1 = 0 ;
12167 int val2 ;
12168 int ecode2 = 0 ;
12169 PyObject * obj0 = 0 ;
12170 PyObject * obj1 = 0 ;
12171 char * kwnames[] = {
12172 (char *) "self",(char *) "flags", NULL
12173 };
12174
12175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12177 if (!SWIG_IsOK(res1)) {
12178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12179 }
12180 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12181 ecode2 = SWIG_AsVal_int(obj1, &val2);
12182 if (!SWIG_IsOK(ecode2)) {
12183 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12184 }
12185 arg2 = static_cast< int >(val2);
12186 {
12187 PyThreadState* __tstate = wxPyBeginAllowThreads();
12188 (arg1)->SetFlags(arg2);
12189 wxPyEndAllowThreads(__tstate);
12190 if (PyErr_Occurred()) SWIG_fail;
12191 }
12192 resultobj = SWIG_Py_Void();
12193 return resultobj;
12194 fail:
12195 return NULL;
12196 }
12197
12198
12199 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12200 PyObject *resultobj = 0;
12201 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12202 int result;
12203 void *argp1 = 0 ;
12204 int res1 = 0 ;
12205 PyObject *swig_obj[1] ;
12206
12207 if (!args) SWIG_fail;
12208 swig_obj[0] = args;
12209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12210 if (!SWIG_IsOK(res1)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12212 }
12213 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12214 {
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
12216 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12217 wxPyEndAllowThreads(__tstate);
12218 if (PyErr_Occurred()) SWIG_fail;
12219 }
12220 resultobj = SWIG_From_int(static_cast< int >(result));
12221 return resultobj;
12222 fail:
12223 return NULL;
12224 }
12225
12226
12227 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12228 PyObject *resultobj = 0;
12229 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12230 wxRect *arg2 = 0 ;
12231 void *argp1 = 0 ;
12232 int res1 = 0 ;
12233 wxRect temp2 ;
12234 PyObject * obj0 = 0 ;
12235 PyObject * obj1 = 0 ;
12236 char * kwnames[] = {
12237 (char *) "self",(char *) "rect", NULL
12238 };
12239
12240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12242 if (!SWIG_IsOK(res1)) {
12243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12244 }
12245 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12246 {
12247 arg2 = &temp2;
12248 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12249 }
12250 {
12251 PyThreadState* __tstate = wxPyBeginAllowThreads();
12252 (arg1)->SetRect((wxRect const &)*arg2);
12253 wxPyEndAllowThreads(__tstate);
12254 if (PyErr_Occurred()) SWIG_fail;
12255 }
12256 resultobj = SWIG_Py_Void();
12257 return resultobj;
12258 fail:
12259 return NULL;
12260 }
12261
12262
12263 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12264 PyObject *resultobj = 0;
12265 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12266 wxRect result;
12267 void *argp1 = 0 ;
12268 int res1 = 0 ;
12269 PyObject *swig_obj[1] ;
12270
12271 if (!args) SWIG_fail;
12272 swig_obj[0] = args;
12273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12274 if (!SWIG_IsOK(res1)) {
12275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12276 }
12277 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12278 {
12279 PyThreadState* __tstate = wxPyBeginAllowThreads();
12280 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12281 wxPyEndAllowThreads(__tstate);
12282 if (PyErr_Occurred()) SWIG_fail;
12283 }
12284 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12285 return resultobj;
12286 fail:
12287 return NULL;
12288 }
12289
12290
12291 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12292 PyObject *obj;
12293 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12294 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12295 return SWIG_Py_Void();
12296 }
12297
12298 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12299 return SWIG_Python_InitShadowInstance(args);
12300 }
12301
12302 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12303 PyObject *resultobj = 0;
12304 wxWindow *arg1 = (wxWindow *) 0 ;
12305 int arg2 = (int) -1 ;
12306 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12307 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12308 wxSize const &arg4_defvalue = wxDefaultSize ;
12309 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12310 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12311 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12312 wxString *arg6 = (wxString *) &arg6_defvalue ;
12313 wxSashLayoutWindow *result = 0 ;
12314 void *argp1 = 0 ;
12315 int res1 = 0 ;
12316 int val2 ;
12317 int ecode2 = 0 ;
12318 wxPoint temp3 ;
12319 wxSize temp4 ;
12320 long val5 ;
12321 int ecode5 = 0 ;
12322 bool temp6 = false ;
12323 PyObject * obj0 = 0 ;
12324 PyObject * obj1 = 0 ;
12325 PyObject * obj2 = 0 ;
12326 PyObject * obj3 = 0 ;
12327 PyObject * obj4 = 0 ;
12328 PyObject * obj5 = 0 ;
12329 char * kwnames[] = {
12330 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12331 };
12332
12333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12335 if (!SWIG_IsOK(res1)) {
12336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12337 }
12338 arg1 = reinterpret_cast< wxWindow * >(argp1);
12339 if (obj1) {
12340 ecode2 = SWIG_AsVal_int(obj1, &val2);
12341 if (!SWIG_IsOK(ecode2)) {
12342 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12343 }
12344 arg2 = static_cast< int >(val2);
12345 }
12346 if (obj2) {
12347 {
12348 arg3 = &temp3;
12349 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12350 }
12351 }
12352 if (obj3) {
12353 {
12354 arg4 = &temp4;
12355 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12356 }
12357 }
12358 if (obj4) {
12359 ecode5 = SWIG_AsVal_long(obj4, &val5);
12360 if (!SWIG_IsOK(ecode5)) {
12361 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12362 }
12363 arg5 = static_cast< long >(val5);
12364 }
12365 if (obj5) {
12366 {
12367 arg6 = wxString_in_helper(obj5);
12368 if (arg6 == NULL) SWIG_fail;
12369 temp6 = true;
12370 }
12371 }
12372 {
12373 if (!wxPyCheckForApp()) SWIG_fail;
12374 PyThreadState* __tstate = wxPyBeginAllowThreads();
12375 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12376 wxPyEndAllowThreads(__tstate);
12377 if (PyErr_Occurred()) SWIG_fail;
12378 }
12379 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12380 {
12381 if (temp6)
12382 delete arg6;
12383 }
12384 return resultobj;
12385 fail:
12386 {
12387 if (temp6)
12388 delete arg6;
12389 }
12390 return NULL;
12391 }
12392
12393
12394 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12395 PyObject *resultobj = 0;
12396 wxSashLayoutWindow *result = 0 ;
12397
12398 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12399 {
12400 if (!wxPyCheckForApp()) SWIG_fail;
12401 PyThreadState* __tstate = wxPyBeginAllowThreads();
12402 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12403 wxPyEndAllowThreads(__tstate);
12404 if (PyErr_Occurred()) SWIG_fail;
12405 }
12406 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12407 return resultobj;
12408 fail:
12409 return NULL;
12410 }
12411
12412
12413 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12414 PyObject *resultobj = 0;
12415 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12416 wxWindow *arg2 = (wxWindow *) 0 ;
12417 int arg3 = (int) -1 ;
12418 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12419 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12420 wxSize const &arg5_defvalue = wxDefaultSize ;
12421 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12422 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12423 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12424 wxString *arg7 = (wxString *) &arg7_defvalue ;
12425 bool result;
12426 void *argp1 = 0 ;
12427 int res1 = 0 ;
12428 void *argp2 = 0 ;
12429 int res2 = 0 ;
12430 int val3 ;
12431 int ecode3 = 0 ;
12432 wxPoint temp4 ;
12433 wxSize temp5 ;
12434 long val6 ;
12435 int ecode6 = 0 ;
12436 bool temp7 = false ;
12437 PyObject * obj0 = 0 ;
12438 PyObject * obj1 = 0 ;
12439 PyObject * obj2 = 0 ;
12440 PyObject * obj3 = 0 ;
12441 PyObject * obj4 = 0 ;
12442 PyObject * obj5 = 0 ;
12443 PyObject * obj6 = 0 ;
12444 char * kwnames[] = {
12445 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12446 };
12447
12448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12450 if (!SWIG_IsOK(res1)) {
12451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12452 }
12453 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12454 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12455 if (!SWIG_IsOK(res2)) {
12456 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12457 }
12458 arg2 = reinterpret_cast< wxWindow * >(argp2);
12459 if (obj2) {
12460 ecode3 = SWIG_AsVal_int(obj2, &val3);
12461 if (!SWIG_IsOK(ecode3)) {
12462 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12463 }
12464 arg3 = static_cast< int >(val3);
12465 }
12466 if (obj3) {
12467 {
12468 arg4 = &temp4;
12469 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12470 }
12471 }
12472 if (obj4) {
12473 {
12474 arg5 = &temp5;
12475 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12476 }
12477 }
12478 if (obj5) {
12479 ecode6 = SWIG_AsVal_long(obj5, &val6);
12480 if (!SWIG_IsOK(ecode6)) {
12481 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12482 }
12483 arg6 = static_cast< long >(val6);
12484 }
12485 if (obj6) {
12486 {
12487 arg7 = wxString_in_helper(obj6);
12488 if (arg7 == NULL) SWIG_fail;
12489 temp7 = true;
12490 }
12491 }
12492 {
12493 PyThreadState* __tstate = wxPyBeginAllowThreads();
12494 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12495 wxPyEndAllowThreads(__tstate);
12496 if (PyErr_Occurred()) SWIG_fail;
12497 }
12498 {
12499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12500 }
12501 {
12502 if (temp7)
12503 delete arg7;
12504 }
12505 return resultobj;
12506 fail:
12507 {
12508 if (temp7)
12509 delete arg7;
12510 }
12511 return NULL;
12512 }
12513
12514
12515 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12516 PyObject *resultobj = 0;
12517 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12518 wxLayoutAlignment result;
12519 void *argp1 = 0 ;
12520 int res1 = 0 ;
12521 PyObject *swig_obj[1] ;
12522
12523 if (!args) SWIG_fail;
12524 swig_obj[0] = args;
12525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12526 if (!SWIG_IsOK(res1)) {
12527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12528 }
12529 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12530 {
12531 PyThreadState* __tstate = wxPyBeginAllowThreads();
12532 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12533 wxPyEndAllowThreads(__tstate);
12534 if (PyErr_Occurred()) SWIG_fail;
12535 }
12536 resultobj = SWIG_From_int(static_cast< int >(result));
12537 return resultobj;
12538 fail:
12539 return NULL;
12540 }
12541
12542
12543 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12544 PyObject *resultobj = 0;
12545 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12546 wxLayoutOrientation result;
12547 void *argp1 = 0 ;
12548 int res1 = 0 ;
12549 PyObject *swig_obj[1] ;
12550
12551 if (!args) SWIG_fail;
12552 swig_obj[0] = args;
12553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12554 if (!SWIG_IsOK(res1)) {
12555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12556 }
12557 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12558 {
12559 PyThreadState* __tstate = wxPyBeginAllowThreads();
12560 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12561 wxPyEndAllowThreads(__tstate);
12562 if (PyErr_Occurred()) SWIG_fail;
12563 }
12564 resultobj = SWIG_From_int(static_cast< int >(result));
12565 return resultobj;
12566 fail:
12567 return NULL;
12568 }
12569
12570
12571 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12572 PyObject *resultobj = 0;
12573 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12574 wxLayoutAlignment arg2 ;
12575 void *argp1 = 0 ;
12576 int res1 = 0 ;
12577 int val2 ;
12578 int ecode2 = 0 ;
12579 PyObject * obj0 = 0 ;
12580 PyObject * obj1 = 0 ;
12581 char * kwnames[] = {
12582 (char *) "self",(char *) "alignment", NULL
12583 };
12584
12585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12587 if (!SWIG_IsOK(res1)) {
12588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12589 }
12590 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12591 ecode2 = SWIG_AsVal_int(obj1, &val2);
12592 if (!SWIG_IsOK(ecode2)) {
12593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12594 }
12595 arg2 = static_cast< wxLayoutAlignment >(val2);
12596 {
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 (arg1)->SetAlignment(arg2);
12599 wxPyEndAllowThreads(__tstate);
12600 if (PyErr_Occurred()) SWIG_fail;
12601 }
12602 resultobj = SWIG_Py_Void();
12603 return resultobj;
12604 fail:
12605 return NULL;
12606 }
12607
12608
12609 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12610 PyObject *resultobj = 0;
12611 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12612 wxSize *arg2 = 0 ;
12613 void *argp1 = 0 ;
12614 int res1 = 0 ;
12615 wxSize temp2 ;
12616 PyObject * obj0 = 0 ;
12617 PyObject * obj1 = 0 ;
12618 char * kwnames[] = {
12619 (char *) "self",(char *) "size", NULL
12620 };
12621
12622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12624 if (!SWIG_IsOK(res1)) {
12625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12626 }
12627 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12628 {
12629 arg2 = &temp2;
12630 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12631 }
12632 {
12633 PyThreadState* __tstate = wxPyBeginAllowThreads();
12634 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12635 wxPyEndAllowThreads(__tstate);
12636 if (PyErr_Occurred()) SWIG_fail;
12637 }
12638 resultobj = SWIG_Py_Void();
12639 return resultobj;
12640 fail:
12641 return NULL;
12642 }
12643
12644
12645 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12646 PyObject *resultobj = 0;
12647 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12648 wxLayoutOrientation arg2 ;
12649 void *argp1 = 0 ;
12650 int res1 = 0 ;
12651 int val2 ;
12652 int ecode2 = 0 ;
12653 PyObject * obj0 = 0 ;
12654 PyObject * obj1 = 0 ;
12655 char * kwnames[] = {
12656 (char *) "self",(char *) "orientation", NULL
12657 };
12658
12659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12661 if (!SWIG_IsOK(res1)) {
12662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12663 }
12664 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12665 ecode2 = SWIG_AsVal_int(obj1, &val2);
12666 if (!SWIG_IsOK(ecode2)) {
12667 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12668 }
12669 arg2 = static_cast< wxLayoutOrientation >(val2);
12670 {
12671 PyThreadState* __tstate = wxPyBeginAllowThreads();
12672 (arg1)->SetOrientation(arg2);
12673 wxPyEndAllowThreads(__tstate);
12674 if (PyErr_Occurred()) SWIG_fail;
12675 }
12676 resultobj = SWIG_Py_Void();
12677 return resultobj;
12678 fail:
12679 return NULL;
12680 }
12681
12682
12683 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12684 PyObject *obj;
12685 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12686 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12687 return SWIG_Py_Void();
12688 }
12689
12690 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12691 return SWIG_Python_InitShadowInstance(args);
12692 }
12693
12694 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12695 PyObject *resultobj = 0;
12696 wxLayoutAlgorithm *result = 0 ;
12697
12698 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12699 {
12700 PyThreadState* __tstate = wxPyBeginAllowThreads();
12701 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12702 wxPyEndAllowThreads(__tstate);
12703 if (PyErr_Occurred()) SWIG_fail;
12704 }
12705 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12706 return resultobj;
12707 fail:
12708 return NULL;
12709 }
12710
12711
12712 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12713 PyObject *resultobj = 0;
12714 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12715 void *argp1 = 0 ;
12716 int res1 = 0 ;
12717 PyObject *swig_obj[1] ;
12718
12719 if (!args) SWIG_fail;
12720 swig_obj[0] = args;
12721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12722 if (!SWIG_IsOK(res1)) {
12723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12724 }
12725 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12726 {
12727 PyThreadState* __tstate = wxPyBeginAllowThreads();
12728 delete arg1;
12729
12730 wxPyEndAllowThreads(__tstate);
12731 if (PyErr_Occurred()) SWIG_fail;
12732 }
12733 resultobj = SWIG_Py_Void();
12734 return resultobj;
12735 fail:
12736 return NULL;
12737 }
12738
12739
12740 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12741 PyObject *resultobj = 0;
12742 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12743 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12744 wxRect *arg3 = (wxRect *) NULL ;
12745 bool result;
12746 void *argp1 = 0 ;
12747 int res1 = 0 ;
12748 void *argp2 = 0 ;
12749 int res2 = 0 ;
12750 void *argp3 = 0 ;
12751 int res3 = 0 ;
12752 PyObject * obj0 = 0 ;
12753 PyObject * obj1 = 0 ;
12754 PyObject * obj2 = 0 ;
12755 char * kwnames[] = {
12756 (char *) "self",(char *) "frame",(char *) "rect", NULL
12757 };
12758
12759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12761 if (!SWIG_IsOK(res1)) {
12762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12763 }
12764 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12765 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12766 if (!SWIG_IsOK(res2)) {
12767 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12768 }
12769 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12770 if (obj2) {
12771 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12772 if (!SWIG_IsOK(res3)) {
12773 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12774 }
12775 arg3 = reinterpret_cast< wxRect * >(argp3);
12776 }
12777 {
12778 PyThreadState* __tstate = wxPyBeginAllowThreads();
12779 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12780 wxPyEndAllowThreads(__tstate);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 {
12784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12785 }
12786 return resultobj;
12787 fail:
12788 return NULL;
12789 }
12790
12791
12792 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12793 PyObject *resultobj = 0;
12794 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12795 wxFrame *arg2 = (wxFrame *) 0 ;
12796 wxWindow *arg3 = (wxWindow *) NULL ;
12797 bool result;
12798 void *argp1 = 0 ;
12799 int res1 = 0 ;
12800 void *argp2 = 0 ;
12801 int res2 = 0 ;
12802 void *argp3 = 0 ;
12803 int res3 = 0 ;
12804 PyObject * obj0 = 0 ;
12805 PyObject * obj1 = 0 ;
12806 PyObject * obj2 = 0 ;
12807 char * kwnames[] = {
12808 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12809 };
12810
12811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12813 if (!SWIG_IsOK(res1)) {
12814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12815 }
12816 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12817 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
12818 if (!SWIG_IsOK(res2)) {
12819 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12820 }
12821 arg2 = reinterpret_cast< wxFrame * >(argp2);
12822 if (obj2) {
12823 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12824 if (!SWIG_IsOK(res3)) {
12825 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12826 }
12827 arg3 = reinterpret_cast< wxWindow * >(argp3);
12828 }
12829 {
12830 PyThreadState* __tstate = wxPyBeginAllowThreads();
12831 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
12832 wxPyEndAllowThreads(__tstate);
12833 if (PyErr_Occurred()) SWIG_fail;
12834 }
12835 {
12836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12837 }
12838 return resultobj;
12839 fail:
12840 return NULL;
12841 }
12842
12843
12844 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12845 PyObject *resultobj = 0;
12846 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12847 wxWindow *arg2 = (wxWindow *) 0 ;
12848 wxWindow *arg3 = (wxWindow *) NULL ;
12849 bool result;
12850 void *argp1 = 0 ;
12851 int res1 = 0 ;
12852 void *argp2 = 0 ;
12853 int res2 = 0 ;
12854 void *argp3 = 0 ;
12855 int res3 = 0 ;
12856 PyObject * obj0 = 0 ;
12857 PyObject * obj1 = 0 ;
12858 PyObject * obj2 = 0 ;
12859 char * kwnames[] = {
12860 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12861 };
12862
12863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12865 if (!SWIG_IsOK(res1)) {
12866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12867 }
12868 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12869 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12870 if (!SWIG_IsOK(res2)) {
12871 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12872 }
12873 arg2 = reinterpret_cast< wxWindow * >(argp2);
12874 if (obj2) {
12875 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12876 if (!SWIG_IsOK(res3)) {
12877 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12878 }
12879 arg3 = reinterpret_cast< wxWindow * >(argp3);
12880 }
12881 {
12882 PyThreadState* __tstate = wxPyBeginAllowThreads();
12883 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
12884 wxPyEndAllowThreads(__tstate);
12885 if (PyErr_Occurred()) SWIG_fail;
12886 }
12887 {
12888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12889 }
12890 return resultobj;
12891 fail:
12892 return NULL;
12893 }
12894
12895
12896 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12897 PyObject *obj;
12898 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12899 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
12900 return SWIG_Py_Void();
12901 }
12902
12903 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12904 return SWIG_Python_InitShadowInstance(args);
12905 }
12906
12907 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12908 PyObject *resultobj = 0;
12909 wxWindow *arg1 = (wxWindow *) 0 ;
12910 int arg2 = (int) wxBORDER_NONE ;
12911 wxPopupWindow *result = 0 ;
12912 void *argp1 = 0 ;
12913 int res1 = 0 ;
12914 int val2 ;
12915 int ecode2 = 0 ;
12916 PyObject * obj0 = 0 ;
12917 PyObject * obj1 = 0 ;
12918 char * kwnames[] = {
12919 (char *) "parent",(char *) "flags", NULL
12920 };
12921
12922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12924 if (!SWIG_IsOK(res1)) {
12925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12926 }
12927 arg1 = reinterpret_cast< wxWindow * >(argp1);
12928 if (obj1) {
12929 ecode2 = SWIG_AsVal_int(obj1, &val2);
12930 if (!SWIG_IsOK(ecode2)) {
12931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12932 }
12933 arg2 = static_cast< int >(val2);
12934 }
12935 {
12936 if (!wxPyCheckForApp()) SWIG_fail;
12937 PyThreadState* __tstate = wxPyBeginAllowThreads();
12938 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
12939 wxPyEndAllowThreads(__tstate);
12940 if (PyErr_Occurred()) SWIG_fail;
12941 }
12942 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
12943 return resultobj;
12944 fail:
12945 return NULL;
12946 }
12947
12948
12949 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12950 PyObject *resultobj = 0;
12951 wxPopupWindow *result = 0 ;
12952
12953 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
12954 {
12955 if (!wxPyCheckForApp()) SWIG_fail;
12956 PyThreadState* __tstate = wxPyBeginAllowThreads();
12957 result = (wxPopupWindow *)new wxPopupWindow();
12958 wxPyEndAllowThreads(__tstate);
12959 if (PyErr_Occurred()) SWIG_fail;
12960 }
12961 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
12962 return resultobj;
12963 fail:
12964 return NULL;
12965 }
12966
12967
12968 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12969 PyObject *resultobj = 0;
12970 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
12971 wxWindow *arg2 = (wxWindow *) 0 ;
12972 int arg3 = (int) wxBORDER_NONE ;
12973 bool result;
12974 void *argp1 = 0 ;
12975 int res1 = 0 ;
12976 void *argp2 = 0 ;
12977 int res2 = 0 ;
12978 int val3 ;
12979 int ecode3 = 0 ;
12980 PyObject * obj0 = 0 ;
12981 PyObject * obj1 = 0 ;
12982 PyObject * obj2 = 0 ;
12983 char * kwnames[] = {
12984 (char *) "self",(char *) "parent",(char *) "flags", NULL
12985 };
12986
12987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
12989 if (!SWIG_IsOK(res1)) {
12990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
12991 }
12992 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
12993 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12994 if (!SWIG_IsOK(res2)) {
12995 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12996 }
12997 arg2 = reinterpret_cast< wxWindow * >(argp2);
12998 if (obj2) {
12999 ecode3 = SWIG_AsVal_int(obj2, &val3);
13000 if (!SWIG_IsOK(ecode3)) {
13001 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13002 }
13003 arg3 = static_cast< int >(val3);
13004 }
13005 {
13006 PyThreadState* __tstate = wxPyBeginAllowThreads();
13007 result = (bool)(arg1)->Create(arg2,arg3);
13008 wxPyEndAllowThreads(__tstate);
13009 if (PyErr_Occurred()) SWIG_fail;
13010 }
13011 {
13012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13013 }
13014 return resultobj;
13015 fail:
13016 return NULL;
13017 }
13018
13019
13020 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13021 PyObject *resultobj = 0;
13022 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13023 wxPoint *arg2 = 0 ;
13024 wxSize *arg3 = 0 ;
13025 void *argp1 = 0 ;
13026 int res1 = 0 ;
13027 wxPoint temp2 ;
13028 wxSize temp3 ;
13029 PyObject * obj0 = 0 ;
13030 PyObject * obj1 = 0 ;
13031 PyObject * obj2 = 0 ;
13032 char * kwnames[] = {
13033 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13034 };
13035
13036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13038 if (!SWIG_IsOK(res1)) {
13039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13040 }
13041 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13042 {
13043 arg2 = &temp2;
13044 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13045 }
13046 {
13047 arg3 = &temp3;
13048 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13049 }
13050 {
13051 PyThreadState* __tstate = wxPyBeginAllowThreads();
13052 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13053 wxPyEndAllowThreads(__tstate);
13054 if (PyErr_Occurred()) SWIG_fail;
13055 }
13056 resultobj = SWIG_Py_Void();
13057 return resultobj;
13058 fail:
13059 return NULL;
13060 }
13061
13062
13063 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13064 PyObject *obj;
13065 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13066 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13067 return SWIG_Py_Void();
13068 }
13069
13070 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13071 return SWIG_Python_InitShadowInstance(args);
13072 }
13073
13074 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13075 PyObject *resultobj = 0;
13076 wxWindow *arg1 = (wxWindow *) 0 ;
13077 int arg2 = (int) wxBORDER_NONE ;
13078 wxPyPopupTransientWindow *result = 0 ;
13079 void *argp1 = 0 ;
13080 int res1 = 0 ;
13081 int val2 ;
13082 int ecode2 = 0 ;
13083 PyObject * obj0 = 0 ;
13084 PyObject * obj1 = 0 ;
13085 char * kwnames[] = {
13086 (char *) "parent",(char *) "style", NULL
13087 };
13088
13089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13091 if (!SWIG_IsOK(res1)) {
13092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13093 }
13094 arg1 = reinterpret_cast< wxWindow * >(argp1);
13095 if (obj1) {
13096 ecode2 = SWIG_AsVal_int(obj1, &val2);
13097 if (!SWIG_IsOK(ecode2)) {
13098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13099 }
13100 arg2 = static_cast< int >(val2);
13101 }
13102 {
13103 if (!wxPyCheckForApp()) SWIG_fail;
13104 PyThreadState* __tstate = wxPyBeginAllowThreads();
13105 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13106 wxPyEndAllowThreads(__tstate);
13107 if (PyErr_Occurred()) SWIG_fail;
13108 }
13109 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13110 return resultobj;
13111 fail:
13112 return NULL;
13113 }
13114
13115
13116 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13117 PyObject *resultobj = 0;
13118 wxPyPopupTransientWindow *result = 0 ;
13119
13120 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13121 {
13122 if (!wxPyCheckForApp()) SWIG_fail;
13123 PyThreadState* __tstate = wxPyBeginAllowThreads();
13124 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13125 wxPyEndAllowThreads(__tstate);
13126 if (PyErr_Occurred()) SWIG_fail;
13127 }
13128 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13129 return resultobj;
13130 fail:
13131 return NULL;
13132 }
13133
13134
13135 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13136 PyObject *resultobj = 0;
13137 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13138 PyObject *arg2 = (PyObject *) 0 ;
13139 PyObject *arg3 = (PyObject *) 0 ;
13140 void *argp1 = 0 ;
13141 int res1 = 0 ;
13142 PyObject * obj0 = 0 ;
13143 PyObject * obj1 = 0 ;
13144 PyObject * obj2 = 0 ;
13145 char * kwnames[] = {
13146 (char *) "self",(char *) "self",(char *) "_class", NULL
13147 };
13148
13149 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13150 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13151 if (!SWIG_IsOK(res1)) {
13152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13153 }
13154 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13155 arg2 = obj1;
13156 arg3 = obj2;
13157 {
13158 PyThreadState* __tstate = wxPyBeginAllowThreads();
13159 (arg1)->_setCallbackInfo(arg2,arg3);
13160 wxPyEndAllowThreads(__tstate);
13161 if (PyErr_Occurred()) SWIG_fail;
13162 }
13163 resultobj = SWIG_Py_Void();
13164 return resultobj;
13165 fail:
13166 return NULL;
13167 }
13168
13169
13170 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13171 PyObject *resultobj = 0;
13172 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13173 wxWindow *arg2 = (wxWindow *) NULL ;
13174 void *argp1 = 0 ;
13175 int res1 = 0 ;
13176 void *argp2 = 0 ;
13177 int res2 = 0 ;
13178 PyObject * obj0 = 0 ;
13179 PyObject * obj1 = 0 ;
13180 char * kwnames[] = {
13181 (char *) "self",(char *) "focus", NULL
13182 };
13183
13184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13186 if (!SWIG_IsOK(res1)) {
13187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13188 }
13189 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13190 if (obj1) {
13191 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13192 if (!SWIG_IsOK(res2)) {
13193 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13194 }
13195 arg2 = reinterpret_cast< wxWindow * >(argp2);
13196 }
13197 {
13198 PyThreadState* __tstate = wxPyBeginAllowThreads();
13199 (arg1)->Popup(arg2);
13200 wxPyEndAllowThreads(__tstate);
13201 if (PyErr_Occurred()) SWIG_fail;
13202 }
13203 resultobj = SWIG_Py_Void();
13204 return resultobj;
13205 fail:
13206 return NULL;
13207 }
13208
13209
13210 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13211 PyObject *resultobj = 0;
13212 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13213 void *argp1 = 0 ;
13214 int res1 = 0 ;
13215 PyObject *swig_obj[1] ;
13216
13217 if (!args) SWIG_fail;
13218 swig_obj[0] = args;
13219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13220 if (!SWIG_IsOK(res1)) {
13221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13222 }
13223 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13224 {
13225 PyThreadState* __tstate = wxPyBeginAllowThreads();
13226 (arg1)->Dismiss();
13227 wxPyEndAllowThreads(__tstate);
13228 if (PyErr_Occurred()) SWIG_fail;
13229 }
13230 resultobj = SWIG_Py_Void();
13231 return resultobj;
13232 fail:
13233 return NULL;
13234 }
13235
13236
13237 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13238 PyObject *obj;
13239 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13240 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13241 return SWIG_Py_Void();
13242 }
13243
13244 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13245 return SWIG_Python_InitShadowInstance(args);
13246 }
13247
13248 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13249 PyObject *resultobj = 0;
13250 wxWindow *arg1 = (wxWindow *) 0 ;
13251 wxString *arg2 = 0 ;
13252 int arg3 = (int) 100 ;
13253 wxRect *arg4 = (wxRect *) NULL ;
13254 wxTipWindow *result = 0 ;
13255 void *argp1 = 0 ;
13256 int res1 = 0 ;
13257 bool temp2 = false ;
13258 int val3 ;
13259 int ecode3 = 0 ;
13260 void *argp4 = 0 ;
13261 int res4 = 0 ;
13262 PyObject * obj0 = 0 ;
13263 PyObject * obj1 = 0 ;
13264 PyObject * obj2 = 0 ;
13265 PyObject * obj3 = 0 ;
13266 char * kwnames[] = {
13267 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13268 };
13269
13270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13272 if (!SWIG_IsOK(res1)) {
13273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13274 }
13275 arg1 = reinterpret_cast< wxWindow * >(argp1);
13276 {
13277 arg2 = wxString_in_helper(obj1);
13278 if (arg2 == NULL) SWIG_fail;
13279 temp2 = true;
13280 }
13281 if (obj2) {
13282 ecode3 = SWIG_AsVal_int(obj2, &val3);
13283 if (!SWIG_IsOK(ecode3)) {
13284 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13285 }
13286 arg3 = static_cast< int >(val3);
13287 }
13288 if (obj3) {
13289 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13290 if (!SWIG_IsOK(res4)) {
13291 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13292 }
13293 arg4 = reinterpret_cast< wxRect * >(argp4);
13294 }
13295 {
13296 if (!wxPyCheckForApp()) SWIG_fail;
13297 PyThreadState* __tstate = wxPyBeginAllowThreads();
13298 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13299 wxPyEndAllowThreads(__tstate);
13300 if (PyErr_Occurred()) SWIG_fail;
13301 }
13302 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13303 {
13304 if (temp2)
13305 delete arg2;
13306 }
13307 return resultobj;
13308 fail:
13309 {
13310 if (temp2)
13311 delete arg2;
13312 }
13313 return NULL;
13314 }
13315
13316
13317 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13318 PyObject *resultobj = 0;
13319 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13320 wxRect *arg2 = 0 ;
13321 void *argp1 = 0 ;
13322 int res1 = 0 ;
13323 wxRect temp2 ;
13324 PyObject * obj0 = 0 ;
13325 PyObject * obj1 = 0 ;
13326 char * kwnames[] = {
13327 (char *) "self",(char *) "rectBound", NULL
13328 };
13329
13330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13332 if (!SWIG_IsOK(res1)) {
13333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13334 }
13335 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13336 {
13337 arg2 = &temp2;
13338 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13339 }
13340 {
13341 PyThreadState* __tstate = wxPyBeginAllowThreads();
13342 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13343 wxPyEndAllowThreads(__tstate);
13344 if (PyErr_Occurred()) SWIG_fail;
13345 }
13346 resultobj = SWIG_Py_Void();
13347 return resultobj;
13348 fail:
13349 return NULL;
13350 }
13351
13352
13353 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13354 PyObject *resultobj = 0;
13355 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13356 void *argp1 = 0 ;
13357 int res1 = 0 ;
13358 PyObject *swig_obj[1] ;
13359
13360 if (!args) SWIG_fail;
13361 swig_obj[0] = args;
13362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13363 if (!SWIG_IsOK(res1)) {
13364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13365 }
13366 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13367 {
13368 PyThreadState* __tstate = wxPyBeginAllowThreads();
13369 (arg1)->Close();
13370 wxPyEndAllowThreads(__tstate);
13371 if (PyErr_Occurred()) SWIG_fail;
13372 }
13373 resultobj = SWIG_Py_Void();
13374 return resultobj;
13375 fail:
13376 return NULL;
13377 }
13378
13379
13380 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13381 PyObject *obj;
13382 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13383 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13384 return SWIG_Py_Void();
13385 }
13386
13387 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13388 return SWIG_Python_InitShadowInstance(args);
13389 }
13390
13391 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13392 PyObject *resultobj = 0;
13393 wxWindow *arg1 = (wxWindow *) 0 ;
13394 int arg2 = (int) wxID_ANY ;
13395 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13396 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13397 wxSize const &arg4_defvalue = wxDefaultSize ;
13398 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13399 long arg5 = (long) 0 ;
13400 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13401 wxString *arg6 = (wxString *) &arg6_defvalue ;
13402 wxPyVScrolledWindow *result = 0 ;
13403 void *argp1 = 0 ;
13404 int res1 = 0 ;
13405 int val2 ;
13406 int ecode2 = 0 ;
13407 wxPoint temp3 ;
13408 wxSize temp4 ;
13409 long val5 ;
13410 int ecode5 = 0 ;
13411 bool temp6 = false ;
13412 PyObject * obj0 = 0 ;
13413 PyObject * obj1 = 0 ;
13414 PyObject * obj2 = 0 ;
13415 PyObject * obj3 = 0 ;
13416 PyObject * obj4 = 0 ;
13417 PyObject * obj5 = 0 ;
13418 char * kwnames[] = {
13419 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13420 };
13421
13422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13424 if (!SWIG_IsOK(res1)) {
13425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13426 }
13427 arg1 = reinterpret_cast< wxWindow * >(argp1);
13428 if (obj1) {
13429 ecode2 = SWIG_AsVal_int(obj1, &val2);
13430 if (!SWIG_IsOK(ecode2)) {
13431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13432 }
13433 arg2 = static_cast< int >(val2);
13434 }
13435 if (obj2) {
13436 {
13437 arg3 = &temp3;
13438 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13439 }
13440 }
13441 if (obj3) {
13442 {
13443 arg4 = &temp4;
13444 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13445 }
13446 }
13447 if (obj4) {
13448 ecode5 = SWIG_AsVal_long(obj4, &val5);
13449 if (!SWIG_IsOK(ecode5)) {
13450 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13451 }
13452 arg5 = static_cast< long >(val5);
13453 }
13454 if (obj5) {
13455 {
13456 arg6 = wxString_in_helper(obj5);
13457 if (arg6 == NULL) SWIG_fail;
13458 temp6 = true;
13459 }
13460 }
13461 {
13462 if (!wxPyCheckForApp()) SWIG_fail;
13463 PyThreadState* __tstate = wxPyBeginAllowThreads();
13464 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13465 wxPyEndAllowThreads(__tstate);
13466 if (PyErr_Occurred()) SWIG_fail;
13467 }
13468 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13469 {
13470 if (temp6)
13471 delete arg6;
13472 }
13473 return resultobj;
13474 fail:
13475 {
13476 if (temp6)
13477 delete arg6;
13478 }
13479 return NULL;
13480 }
13481
13482
13483 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13484 PyObject *resultobj = 0;
13485 wxPyVScrolledWindow *result = 0 ;
13486
13487 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13488 {
13489 if (!wxPyCheckForApp()) SWIG_fail;
13490 PyThreadState* __tstate = wxPyBeginAllowThreads();
13491 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13492 wxPyEndAllowThreads(__tstate);
13493 if (PyErr_Occurred()) SWIG_fail;
13494 }
13495 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13496 return resultobj;
13497 fail:
13498 return NULL;
13499 }
13500
13501
13502 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13503 PyObject *resultobj = 0;
13504 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13505 PyObject *arg2 = (PyObject *) 0 ;
13506 PyObject *arg3 = (PyObject *) 0 ;
13507 void *argp1 = 0 ;
13508 int res1 = 0 ;
13509 PyObject * obj0 = 0 ;
13510 PyObject * obj1 = 0 ;
13511 PyObject * obj2 = 0 ;
13512 char * kwnames[] = {
13513 (char *) "self",(char *) "self",(char *) "_class", NULL
13514 };
13515
13516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13518 if (!SWIG_IsOK(res1)) {
13519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13520 }
13521 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13522 arg2 = obj1;
13523 arg3 = obj2;
13524 {
13525 PyThreadState* __tstate = wxPyBeginAllowThreads();
13526 (arg1)->_setCallbackInfo(arg2,arg3);
13527 wxPyEndAllowThreads(__tstate);
13528 if (PyErr_Occurred()) SWIG_fail;
13529 }
13530 resultobj = SWIG_Py_Void();
13531 return resultobj;
13532 fail:
13533 return NULL;
13534 }
13535
13536
13537 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13538 PyObject *resultobj = 0;
13539 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13540 wxWindow *arg2 = (wxWindow *) 0 ;
13541 int arg3 = (int) wxID_ANY ;
13542 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13543 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13544 wxSize const &arg5_defvalue = wxDefaultSize ;
13545 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13546 long arg6 = (long) 0 ;
13547 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13548 wxString *arg7 = (wxString *) &arg7_defvalue ;
13549 bool result;
13550 void *argp1 = 0 ;
13551 int res1 = 0 ;
13552 void *argp2 = 0 ;
13553 int res2 = 0 ;
13554 int val3 ;
13555 int ecode3 = 0 ;
13556 wxPoint temp4 ;
13557 wxSize temp5 ;
13558 long val6 ;
13559 int ecode6 = 0 ;
13560 bool temp7 = false ;
13561 PyObject * obj0 = 0 ;
13562 PyObject * obj1 = 0 ;
13563 PyObject * obj2 = 0 ;
13564 PyObject * obj3 = 0 ;
13565 PyObject * obj4 = 0 ;
13566 PyObject * obj5 = 0 ;
13567 PyObject * obj6 = 0 ;
13568 char * kwnames[] = {
13569 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13570 };
13571
13572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13574 if (!SWIG_IsOK(res1)) {
13575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13576 }
13577 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13578 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13579 if (!SWIG_IsOK(res2)) {
13580 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13581 }
13582 arg2 = reinterpret_cast< wxWindow * >(argp2);
13583 if (obj2) {
13584 ecode3 = SWIG_AsVal_int(obj2, &val3);
13585 if (!SWIG_IsOK(ecode3)) {
13586 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13587 }
13588 arg3 = static_cast< int >(val3);
13589 }
13590 if (obj3) {
13591 {
13592 arg4 = &temp4;
13593 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13594 }
13595 }
13596 if (obj4) {
13597 {
13598 arg5 = &temp5;
13599 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13600 }
13601 }
13602 if (obj5) {
13603 ecode6 = SWIG_AsVal_long(obj5, &val6);
13604 if (!SWIG_IsOK(ecode6)) {
13605 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13606 }
13607 arg6 = static_cast< long >(val6);
13608 }
13609 if (obj6) {
13610 {
13611 arg7 = wxString_in_helper(obj6);
13612 if (arg7 == NULL) SWIG_fail;
13613 temp7 = true;
13614 }
13615 }
13616 {
13617 PyThreadState* __tstate = wxPyBeginAllowThreads();
13618 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13619 wxPyEndAllowThreads(__tstate);
13620 if (PyErr_Occurred()) SWIG_fail;
13621 }
13622 {
13623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13624 }
13625 {
13626 if (temp7)
13627 delete arg7;
13628 }
13629 return resultobj;
13630 fail:
13631 {
13632 if (temp7)
13633 delete arg7;
13634 }
13635 return NULL;
13636 }
13637
13638
13639 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13640 PyObject *resultobj = 0;
13641 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13642 size_t arg2 ;
13643 void *argp1 = 0 ;
13644 int res1 = 0 ;
13645 size_t val2 ;
13646 int ecode2 = 0 ;
13647 PyObject * obj0 = 0 ;
13648 PyObject * obj1 = 0 ;
13649 char * kwnames[] = {
13650 (char *) "self",(char *) "count", NULL
13651 };
13652
13653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13654 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13655 if (!SWIG_IsOK(res1)) {
13656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13657 }
13658 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13659 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13660 if (!SWIG_IsOK(ecode2)) {
13661 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13662 }
13663 arg2 = static_cast< size_t >(val2);
13664 {
13665 PyThreadState* __tstate = wxPyBeginAllowThreads();
13666 (arg1)->SetLineCount(arg2);
13667 wxPyEndAllowThreads(__tstate);
13668 if (PyErr_Occurred()) SWIG_fail;
13669 }
13670 resultobj = SWIG_Py_Void();
13671 return resultobj;
13672 fail:
13673 return NULL;
13674 }
13675
13676
13677 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13678 PyObject *resultobj = 0;
13679 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13680 size_t arg2 ;
13681 bool result;
13682 void *argp1 = 0 ;
13683 int res1 = 0 ;
13684 size_t val2 ;
13685 int ecode2 = 0 ;
13686 PyObject * obj0 = 0 ;
13687 PyObject * obj1 = 0 ;
13688 char * kwnames[] = {
13689 (char *) "self",(char *) "line", NULL
13690 };
13691
13692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13694 if (!SWIG_IsOK(res1)) {
13695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13696 }
13697 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13698 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13699 if (!SWIG_IsOK(ecode2)) {
13700 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13701 }
13702 arg2 = static_cast< size_t >(val2);
13703 {
13704 PyThreadState* __tstate = wxPyBeginAllowThreads();
13705 result = (bool)(arg1)->ScrollToLine(arg2);
13706 wxPyEndAllowThreads(__tstate);
13707 if (PyErr_Occurred()) SWIG_fail;
13708 }
13709 {
13710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13711 }
13712 return resultobj;
13713 fail:
13714 return NULL;
13715 }
13716
13717
13718 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13719 PyObject *resultobj = 0;
13720 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13721 size_t arg2 ;
13722 void *argp1 = 0 ;
13723 int res1 = 0 ;
13724 size_t val2 ;
13725 int ecode2 = 0 ;
13726 PyObject * obj0 = 0 ;
13727 PyObject * obj1 = 0 ;
13728 char * kwnames[] = {
13729 (char *) "self",(char *) "line", NULL
13730 };
13731
13732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13734 if (!SWIG_IsOK(res1)) {
13735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13736 }
13737 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13738 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13739 if (!SWIG_IsOK(ecode2)) {
13740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13741 }
13742 arg2 = static_cast< size_t >(val2);
13743 {
13744 PyThreadState* __tstate = wxPyBeginAllowThreads();
13745 (arg1)->RefreshLine(arg2);
13746 wxPyEndAllowThreads(__tstate);
13747 if (PyErr_Occurred()) SWIG_fail;
13748 }
13749 resultobj = SWIG_Py_Void();
13750 return resultobj;
13751 fail:
13752 return NULL;
13753 }
13754
13755
13756 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13757 PyObject *resultobj = 0;
13758 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13759 size_t arg2 ;
13760 size_t arg3 ;
13761 void *argp1 = 0 ;
13762 int res1 = 0 ;
13763 size_t val2 ;
13764 int ecode2 = 0 ;
13765 size_t val3 ;
13766 int ecode3 = 0 ;
13767 PyObject * obj0 = 0 ;
13768 PyObject * obj1 = 0 ;
13769 PyObject * obj2 = 0 ;
13770 char * kwnames[] = {
13771 (char *) "self",(char *) "_from",(char *) "to", NULL
13772 };
13773
13774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13776 if (!SWIG_IsOK(res1)) {
13777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13778 }
13779 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13780 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13781 if (!SWIG_IsOK(ecode2)) {
13782 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13783 }
13784 arg2 = static_cast< size_t >(val2);
13785 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13786 if (!SWIG_IsOK(ecode3)) {
13787 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13788 }
13789 arg3 = static_cast< size_t >(val3);
13790 {
13791 PyThreadState* __tstate = wxPyBeginAllowThreads();
13792 (arg1)->RefreshLines(arg2,arg3);
13793 wxPyEndAllowThreads(__tstate);
13794 if (PyErr_Occurred()) SWIG_fail;
13795 }
13796 resultobj = SWIG_Py_Void();
13797 return resultobj;
13798 fail:
13799 return NULL;
13800 }
13801
13802
13803 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13804 PyObject *resultobj = 0;
13805 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13806 int arg2 ;
13807 int arg3 ;
13808 int result;
13809 void *argp1 = 0 ;
13810 int res1 = 0 ;
13811 int val2 ;
13812 int ecode2 = 0 ;
13813 int val3 ;
13814 int ecode3 = 0 ;
13815 PyObject * obj0 = 0 ;
13816 PyObject * obj1 = 0 ;
13817 PyObject * obj2 = 0 ;
13818 char * kwnames[] = {
13819 (char *) "self",(char *) "x",(char *) "y", NULL
13820 };
13821
13822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13824 if (!SWIG_IsOK(res1)) {
13825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13826 }
13827 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13828 ecode2 = SWIG_AsVal_int(obj1, &val2);
13829 if (!SWIG_IsOK(ecode2)) {
13830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13831 }
13832 arg2 = static_cast< int >(val2);
13833 ecode3 = SWIG_AsVal_int(obj2, &val3);
13834 if (!SWIG_IsOK(ecode3)) {
13835 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13836 }
13837 arg3 = static_cast< int >(val3);
13838 {
13839 PyThreadState* __tstate = wxPyBeginAllowThreads();
13840 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13841 wxPyEndAllowThreads(__tstate);
13842 if (PyErr_Occurred()) SWIG_fail;
13843 }
13844 resultobj = SWIG_From_int(static_cast< int >(result));
13845 return resultobj;
13846 fail:
13847 return NULL;
13848 }
13849
13850
13851 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13852 PyObject *resultobj = 0;
13853 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13854 wxPoint *arg2 = 0 ;
13855 int result;
13856 void *argp1 = 0 ;
13857 int res1 = 0 ;
13858 wxPoint temp2 ;
13859 PyObject * obj0 = 0 ;
13860 PyObject * obj1 = 0 ;
13861 char * kwnames[] = {
13862 (char *) "self",(char *) "pt", NULL
13863 };
13864
13865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13867 if (!SWIG_IsOK(res1)) {
13868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13869 }
13870 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13871 {
13872 arg2 = &temp2;
13873 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13874 }
13875 {
13876 PyThreadState* __tstate = wxPyBeginAllowThreads();
13877 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13878 wxPyEndAllowThreads(__tstate);
13879 if (PyErr_Occurred()) SWIG_fail;
13880 }
13881 resultobj = SWIG_From_int(static_cast< int >(result));
13882 return resultobj;
13883 fail:
13884 return NULL;
13885 }
13886
13887
13888 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13889 PyObject *resultobj = 0;
13890 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13891 void *argp1 = 0 ;
13892 int res1 = 0 ;
13893 PyObject *swig_obj[1] ;
13894
13895 if (!args) SWIG_fail;
13896 swig_obj[0] = args;
13897 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13898 if (!SWIG_IsOK(res1)) {
13899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13900 }
13901 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13902 {
13903 PyThreadState* __tstate = wxPyBeginAllowThreads();
13904 (arg1)->RefreshAll();
13905 wxPyEndAllowThreads(__tstate);
13906 if (PyErr_Occurred()) SWIG_fail;
13907 }
13908 resultobj = SWIG_Py_Void();
13909 return resultobj;
13910 fail:
13911 return NULL;
13912 }
13913
13914
13915 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13916 PyObject *resultobj = 0;
13917 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13918 size_t result;
13919 void *argp1 = 0 ;
13920 int res1 = 0 ;
13921 PyObject *swig_obj[1] ;
13922
13923 if (!args) SWIG_fail;
13924 swig_obj[0] = args;
13925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13926 if (!SWIG_IsOK(res1)) {
13927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13928 }
13929 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13930 {
13931 PyThreadState* __tstate = wxPyBeginAllowThreads();
13932 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13933 wxPyEndAllowThreads(__tstate);
13934 if (PyErr_Occurred()) SWIG_fail;
13935 }
13936 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13937 return resultobj;
13938 fail:
13939 return NULL;
13940 }
13941
13942
13943 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13944 PyObject *resultobj = 0;
13945 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13946 size_t result;
13947 void *argp1 = 0 ;
13948 int res1 = 0 ;
13949 PyObject *swig_obj[1] ;
13950
13951 if (!args) SWIG_fail;
13952 swig_obj[0] = args;
13953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13954 if (!SWIG_IsOK(res1)) {
13955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13956 }
13957 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13958 {
13959 PyThreadState* __tstate = wxPyBeginAllowThreads();
13960 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
13961 wxPyEndAllowThreads(__tstate);
13962 if (PyErr_Occurred()) SWIG_fail;
13963 }
13964 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13965 return resultobj;
13966 fail:
13967 return NULL;
13968 }
13969
13970
13971 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13972 PyObject *resultobj = 0;
13973 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13974 size_t result;
13975 void *argp1 = 0 ;
13976 int res1 = 0 ;
13977 PyObject *swig_obj[1] ;
13978
13979 if (!args) SWIG_fail;
13980 swig_obj[0] = args;
13981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13982 if (!SWIG_IsOK(res1)) {
13983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13984 }
13985 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13986 {
13987 PyThreadState* __tstate = wxPyBeginAllowThreads();
13988 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
13989 wxPyEndAllowThreads(__tstate);
13990 if (PyErr_Occurred()) SWIG_fail;
13991 }
13992 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13993 return resultobj;
13994 fail:
13995 return NULL;
13996 }
13997
13998
13999 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14000 PyObject *resultobj = 0;
14001 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14002 size_t arg2 ;
14003 bool result;
14004 void *argp1 = 0 ;
14005 int res1 = 0 ;
14006 size_t val2 ;
14007 int ecode2 = 0 ;
14008 PyObject * obj0 = 0 ;
14009 PyObject * obj1 = 0 ;
14010 char * kwnames[] = {
14011 (char *) "self",(char *) "line", NULL
14012 };
14013
14014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14016 if (!SWIG_IsOK(res1)) {
14017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14018 }
14019 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14020 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14021 if (!SWIG_IsOK(ecode2)) {
14022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14023 }
14024 arg2 = static_cast< size_t >(val2);
14025 {
14026 PyThreadState* __tstate = wxPyBeginAllowThreads();
14027 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14028 wxPyEndAllowThreads(__tstate);
14029 if (PyErr_Occurred()) SWIG_fail;
14030 }
14031 {
14032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14033 }
14034 return resultobj;
14035 fail:
14036 return NULL;
14037 }
14038
14039
14040 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14041 PyObject *resultobj = 0;
14042 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14043 size_t result;
14044 void *argp1 = 0 ;
14045 int res1 = 0 ;
14046 PyObject *swig_obj[1] ;
14047
14048 if (!args) SWIG_fail;
14049 swig_obj[0] = args;
14050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14051 if (!SWIG_IsOK(res1)) {
14052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14053 }
14054 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14055 {
14056 PyThreadState* __tstate = wxPyBeginAllowThreads();
14057 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14058 wxPyEndAllowThreads(__tstate);
14059 if (PyErr_Occurred()) SWIG_fail;
14060 }
14061 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14062 return resultobj;
14063 fail:
14064 return NULL;
14065 }
14066
14067
14068 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14069 PyObject *resultobj = 0;
14070 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14071 size_t result;
14072 void *argp1 = 0 ;
14073 int res1 = 0 ;
14074 PyObject *swig_obj[1] ;
14075
14076 if (!args) SWIG_fail;
14077 swig_obj[0] = args;
14078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14079 if (!SWIG_IsOK(res1)) {
14080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14081 }
14082 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14083 {
14084 PyThreadState* __tstate = wxPyBeginAllowThreads();
14085 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14086 wxPyEndAllowThreads(__tstate);
14087 if (PyErr_Occurred()) SWIG_fail;
14088 }
14089 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14090 return resultobj;
14091 fail:
14092 return NULL;
14093 }
14094
14095
14096 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14097 PyObject *resultobj = 0;
14098 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14099 size_t arg2 ;
14100 bool arg3 = (bool) false ;
14101 size_t result;
14102 void *argp1 = 0 ;
14103 int res1 = 0 ;
14104 size_t val2 ;
14105 int ecode2 = 0 ;
14106 bool val3 ;
14107 int ecode3 = 0 ;
14108 PyObject * obj0 = 0 ;
14109 PyObject * obj1 = 0 ;
14110 PyObject * obj2 = 0 ;
14111 char * kwnames[] = {
14112 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14113 };
14114
14115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14117 if (!SWIG_IsOK(res1)) {
14118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14119 }
14120 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14121 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14122 if (!SWIG_IsOK(ecode2)) {
14123 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14124 }
14125 arg2 = static_cast< size_t >(val2);
14126 if (obj2) {
14127 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14128 if (!SWIG_IsOK(ecode3)) {
14129 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14130 }
14131 arg3 = static_cast< bool >(val3);
14132 }
14133 {
14134 PyThreadState* __tstate = wxPyBeginAllowThreads();
14135 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14136 wxPyEndAllowThreads(__tstate);
14137 if (PyErr_Occurred()) SWIG_fail;
14138 }
14139 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14140 return resultobj;
14141 fail:
14142 return NULL;
14143 }
14144
14145
14146 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14147 PyObject *resultobj = 0;
14148 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14149 size_t arg2 ;
14150 size_t arg3 ;
14151 int result;
14152 void *argp1 = 0 ;
14153 int res1 = 0 ;
14154 size_t val2 ;
14155 int ecode2 = 0 ;
14156 size_t val3 ;
14157 int ecode3 = 0 ;
14158 PyObject * obj0 = 0 ;
14159 PyObject * obj1 = 0 ;
14160 PyObject * obj2 = 0 ;
14161 char * kwnames[] = {
14162 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14163 };
14164
14165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14167 if (!SWIG_IsOK(res1)) {
14168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14169 }
14170 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14171 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14172 if (!SWIG_IsOK(ecode2)) {
14173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14174 }
14175 arg2 = static_cast< size_t >(val2);
14176 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14177 if (!SWIG_IsOK(ecode3)) {
14178 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14179 }
14180 arg3 = static_cast< size_t >(val3);
14181 {
14182 PyThreadState* __tstate = wxPyBeginAllowThreads();
14183 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14184 wxPyEndAllowThreads(__tstate);
14185 if (PyErr_Occurred()) SWIG_fail;
14186 }
14187 resultobj = SWIG_From_int(static_cast< int >(result));
14188 return resultobj;
14189 fail:
14190 return NULL;
14191 }
14192
14193
14194 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14195 PyObject *obj;
14196 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14197 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14198 return SWIG_Py_Void();
14199 }
14200
14201 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14202 return SWIG_Python_InitShadowInstance(args);
14203 }
14204
14205 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14206 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14207 return 1;
14208 }
14209
14210
14211 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14212 PyObject *pyobj = 0;
14213
14214 {
14215 #if wxUSE_UNICODE
14216 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14217 #else
14218 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14219 #endif
14220 }
14221 return pyobj;
14222 }
14223
14224
14225 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14226 PyObject *resultobj = 0;
14227 wxWindow *arg1 = (wxWindow *) 0 ;
14228 int arg2 = (int) wxID_ANY ;
14229 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14230 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14231 wxSize const &arg4_defvalue = wxDefaultSize ;
14232 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14233 long arg5 = (long) 0 ;
14234 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14235 wxString *arg6 = (wxString *) &arg6_defvalue ;
14236 wxPyVListBox *result = 0 ;
14237 void *argp1 = 0 ;
14238 int res1 = 0 ;
14239 int val2 ;
14240 int ecode2 = 0 ;
14241 wxPoint temp3 ;
14242 wxSize temp4 ;
14243 long val5 ;
14244 int ecode5 = 0 ;
14245 bool temp6 = false ;
14246 PyObject * obj0 = 0 ;
14247 PyObject * obj1 = 0 ;
14248 PyObject * obj2 = 0 ;
14249 PyObject * obj3 = 0 ;
14250 PyObject * obj4 = 0 ;
14251 PyObject * obj5 = 0 ;
14252 char * kwnames[] = {
14253 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14254 };
14255
14256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14258 if (!SWIG_IsOK(res1)) {
14259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14260 }
14261 arg1 = reinterpret_cast< wxWindow * >(argp1);
14262 if (obj1) {
14263 ecode2 = SWIG_AsVal_int(obj1, &val2);
14264 if (!SWIG_IsOK(ecode2)) {
14265 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14266 }
14267 arg2 = static_cast< int >(val2);
14268 }
14269 if (obj2) {
14270 {
14271 arg3 = &temp3;
14272 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14273 }
14274 }
14275 if (obj3) {
14276 {
14277 arg4 = &temp4;
14278 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14279 }
14280 }
14281 if (obj4) {
14282 ecode5 = SWIG_AsVal_long(obj4, &val5);
14283 if (!SWIG_IsOK(ecode5)) {
14284 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14285 }
14286 arg5 = static_cast< long >(val5);
14287 }
14288 if (obj5) {
14289 {
14290 arg6 = wxString_in_helper(obj5);
14291 if (arg6 == NULL) SWIG_fail;
14292 temp6 = true;
14293 }
14294 }
14295 {
14296 if (!wxPyCheckForApp()) SWIG_fail;
14297 PyThreadState* __tstate = wxPyBeginAllowThreads();
14298 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14299 wxPyEndAllowThreads(__tstate);
14300 if (PyErr_Occurred()) SWIG_fail;
14301 }
14302 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14303 {
14304 if (temp6)
14305 delete arg6;
14306 }
14307 return resultobj;
14308 fail:
14309 {
14310 if (temp6)
14311 delete arg6;
14312 }
14313 return NULL;
14314 }
14315
14316
14317 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14318 PyObject *resultobj = 0;
14319 wxPyVListBox *result = 0 ;
14320
14321 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14322 {
14323 if (!wxPyCheckForApp()) SWIG_fail;
14324 PyThreadState* __tstate = wxPyBeginAllowThreads();
14325 result = (wxPyVListBox *)new wxPyVListBox();
14326 wxPyEndAllowThreads(__tstate);
14327 if (PyErr_Occurred()) SWIG_fail;
14328 }
14329 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14330 return resultobj;
14331 fail:
14332 return NULL;
14333 }
14334
14335
14336 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14337 PyObject *resultobj = 0;
14338 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14339 PyObject *arg2 = (PyObject *) 0 ;
14340 PyObject *arg3 = (PyObject *) 0 ;
14341 void *argp1 = 0 ;
14342 int res1 = 0 ;
14343 PyObject * obj0 = 0 ;
14344 PyObject * obj1 = 0 ;
14345 PyObject * obj2 = 0 ;
14346 char * kwnames[] = {
14347 (char *) "self",(char *) "self",(char *) "_class", NULL
14348 };
14349
14350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14352 if (!SWIG_IsOK(res1)) {
14353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14354 }
14355 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14356 arg2 = obj1;
14357 arg3 = obj2;
14358 {
14359 PyThreadState* __tstate = wxPyBeginAllowThreads();
14360 (arg1)->_setCallbackInfo(arg2,arg3);
14361 wxPyEndAllowThreads(__tstate);
14362 if (PyErr_Occurred()) SWIG_fail;
14363 }
14364 resultobj = SWIG_Py_Void();
14365 return resultobj;
14366 fail:
14367 return NULL;
14368 }
14369
14370
14371 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14372 PyObject *resultobj = 0;
14373 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14374 wxWindow *arg2 = (wxWindow *) 0 ;
14375 int arg3 = (int) wxID_ANY ;
14376 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14377 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14378 wxSize const &arg5_defvalue = wxDefaultSize ;
14379 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14380 long arg6 = (long) 0 ;
14381 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14382 wxString *arg7 = (wxString *) &arg7_defvalue ;
14383 bool result;
14384 void *argp1 = 0 ;
14385 int res1 = 0 ;
14386 void *argp2 = 0 ;
14387 int res2 = 0 ;
14388 int val3 ;
14389 int ecode3 = 0 ;
14390 wxPoint temp4 ;
14391 wxSize temp5 ;
14392 long val6 ;
14393 int ecode6 = 0 ;
14394 bool temp7 = false ;
14395 PyObject * obj0 = 0 ;
14396 PyObject * obj1 = 0 ;
14397 PyObject * obj2 = 0 ;
14398 PyObject * obj3 = 0 ;
14399 PyObject * obj4 = 0 ;
14400 PyObject * obj5 = 0 ;
14401 PyObject * obj6 = 0 ;
14402 char * kwnames[] = {
14403 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14404 };
14405
14406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14408 if (!SWIG_IsOK(res1)) {
14409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14410 }
14411 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14412 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14413 if (!SWIG_IsOK(res2)) {
14414 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14415 }
14416 arg2 = reinterpret_cast< wxWindow * >(argp2);
14417 if (obj2) {
14418 ecode3 = SWIG_AsVal_int(obj2, &val3);
14419 if (!SWIG_IsOK(ecode3)) {
14420 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14421 }
14422 arg3 = static_cast< int >(val3);
14423 }
14424 if (obj3) {
14425 {
14426 arg4 = &temp4;
14427 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14428 }
14429 }
14430 if (obj4) {
14431 {
14432 arg5 = &temp5;
14433 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14434 }
14435 }
14436 if (obj5) {
14437 ecode6 = SWIG_AsVal_long(obj5, &val6);
14438 if (!SWIG_IsOK(ecode6)) {
14439 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14440 }
14441 arg6 = static_cast< long >(val6);
14442 }
14443 if (obj6) {
14444 {
14445 arg7 = wxString_in_helper(obj6);
14446 if (arg7 == NULL) SWIG_fail;
14447 temp7 = true;
14448 }
14449 }
14450 {
14451 PyThreadState* __tstate = wxPyBeginAllowThreads();
14452 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14453 wxPyEndAllowThreads(__tstate);
14454 if (PyErr_Occurred()) SWIG_fail;
14455 }
14456 {
14457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14458 }
14459 {
14460 if (temp7)
14461 delete arg7;
14462 }
14463 return resultobj;
14464 fail:
14465 {
14466 if (temp7)
14467 delete arg7;
14468 }
14469 return NULL;
14470 }
14471
14472
14473 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14474 PyObject *resultobj = 0;
14475 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14476 size_t result;
14477 void *argp1 = 0 ;
14478 int res1 = 0 ;
14479 PyObject *swig_obj[1] ;
14480
14481 if (!args) SWIG_fail;
14482 swig_obj[0] = args;
14483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14484 if (!SWIG_IsOK(res1)) {
14485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14486 }
14487 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14488 {
14489 PyThreadState* __tstate = wxPyBeginAllowThreads();
14490 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14491 wxPyEndAllowThreads(__tstate);
14492 if (PyErr_Occurred()) SWIG_fail;
14493 }
14494 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14495 return resultobj;
14496 fail:
14497 return NULL;
14498 }
14499
14500
14501 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14502 PyObject *resultobj = 0;
14503 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14504 bool result;
14505 void *argp1 = 0 ;
14506 int res1 = 0 ;
14507 PyObject *swig_obj[1] ;
14508
14509 if (!args) SWIG_fail;
14510 swig_obj[0] = args;
14511 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14512 if (!SWIG_IsOK(res1)) {
14513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14514 }
14515 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14516 {
14517 PyThreadState* __tstate = wxPyBeginAllowThreads();
14518 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14519 wxPyEndAllowThreads(__tstate);
14520 if (PyErr_Occurred()) SWIG_fail;
14521 }
14522 {
14523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14524 }
14525 return resultobj;
14526 fail:
14527 return NULL;
14528 }
14529
14530
14531 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14532 PyObject *resultobj = 0;
14533 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14534 int result;
14535 void *argp1 = 0 ;
14536 int res1 = 0 ;
14537 PyObject *swig_obj[1] ;
14538
14539 if (!args) SWIG_fail;
14540 swig_obj[0] = args;
14541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14542 if (!SWIG_IsOK(res1)) {
14543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14544 }
14545 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14546 {
14547 PyThreadState* __tstate = wxPyBeginAllowThreads();
14548 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14549 wxPyEndAllowThreads(__tstate);
14550 if (PyErr_Occurred()) SWIG_fail;
14551 }
14552 resultobj = SWIG_From_int(static_cast< int >(result));
14553 return resultobj;
14554 fail:
14555 return NULL;
14556 }
14557
14558
14559 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14560 PyObject *resultobj = 0;
14561 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14562 size_t arg2 ;
14563 bool result;
14564 void *argp1 = 0 ;
14565 int res1 = 0 ;
14566 size_t val2 ;
14567 int ecode2 = 0 ;
14568 PyObject * obj0 = 0 ;
14569 PyObject * obj1 = 0 ;
14570 char * kwnames[] = {
14571 (char *) "self",(char *) "item", NULL
14572 };
14573
14574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14576 if (!SWIG_IsOK(res1)) {
14577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14578 }
14579 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14580 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14581 if (!SWIG_IsOK(ecode2)) {
14582 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14583 }
14584 arg2 = static_cast< size_t >(val2);
14585 {
14586 PyThreadState* __tstate = wxPyBeginAllowThreads();
14587 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14588 wxPyEndAllowThreads(__tstate);
14589 if (PyErr_Occurred()) SWIG_fail;
14590 }
14591 {
14592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14593 }
14594 return resultobj;
14595 fail:
14596 return NULL;
14597 }
14598
14599
14600 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14601 PyObject *resultobj = 0;
14602 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14603 size_t arg2 ;
14604 bool result;
14605 void *argp1 = 0 ;
14606 int res1 = 0 ;
14607 size_t val2 ;
14608 int ecode2 = 0 ;
14609 PyObject * obj0 = 0 ;
14610 PyObject * obj1 = 0 ;
14611 char * kwnames[] = {
14612 (char *) "self",(char *) "item", NULL
14613 };
14614
14615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14617 if (!SWIG_IsOK(res1)) {
14618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14619 }
14620 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14621 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14622 if (!SWIG_IsOK(ecode2)) {
14623 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14624 }
14625 arg2 = static_cast< size_t >(val2);
14626 {
14627 PyThreadState* __tstate = wxPyBeginAllowThreads();
14628 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14629 wxPyEndAllowThreads(__tstate);
14630 if (PyErr_Occurred()) SWIG_fail;
14631 }
14632 {
14633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14634 }
14635 return resultobj;
14636 fail:
14637 return NULL;
14638 }
14639
14640
14641 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14642 PyObject *resultobj = 0;
14643 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14644 size_t result;
14645 void *argp1 = 0 ;
14646 int res1 = 0 ;
14647 PyObject *swig_obj[1] ;
14648
14649 if (!args) SWIG_fail;
14650 swig_obj[0] = args;
14651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14652 if (!SWIG_IsOK(res1)) {
14653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14654 }
14655 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14656 {
14657 PyThreadState* __tstate = wxPyBeginAllowThreads();
14658 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14659 wxPyEndAllowThreads(__tstate);
14660 if (PyErr_Occurred()) SWIG_fail;
14661 }
14662 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14663 return resultobj;
14664 fail:
14665 return NULL;
14666 }
14667
14668
14669 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14670 PyObject *resultobj = 0;
14671 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14672 PyObject *result = 0 ;
14673 void *argp1 = 0 ;
14674 int res1 = 0 ;
14675 PyObject *swig_obj[1] ;
14676
14677 if (!args) SWIG_fail;
14678 swig_obj[0] = args;
14679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14680 if (!SWIG_IsOK(res1)) {
14681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14682 }
14683 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14684 {
14685 PyThreadState* __tstate = wxPyBeginAllowThreads();
14686 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14687 wxPyEndAllowThreads(__tstate);
14688 if (PyErr_Occurred()) SWIG_fail;
14689 }
14690 resultobj = result;
14691 return resultobj;
14692 fail:
14693 return NULL;
14694 }
14695
14696
14697 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14698 PyObject *resultobj = 0;
14699 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14700 unsigned long arg2 ;
14701 PyObject *result = 0 ;
14702 void *argp1 = 0 ;
14703 int res1 = 0 ;
14704 unsigned long val2 ;
14705 int ecode2 = 0 ;
14706 PyObject * obj0 = 0 ;
14707 PyObject * obj1 = 0 ;
14708 char * kwnames[] = {
14709 (char *) "self",(char *) "cookie", NULL
14710 };
14711
14712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14714 if (!SWIG_IsOK(res1)) {
14715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14716 }
14717 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14718 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14719 if (!SWIG_IsOK(ecode2)) {
14720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14721 }
14722 arg2 = static_cast< unsigned long >(val2);
14723 {
14724 PyThreadState* __tstate = wxPyBeginAllowThreads();
14725 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14726 wxPyEndAllowThreads(__tstate);
14727 if (PyErr_Occurred()) SWIG_fail;
14728 }
14729 resultobj = result;
14730 return resultobj;
14731 fail:
14732 return NULL;
14733 }
14734
14735
14736 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14737 PyObject *resultobj = 0;
14738 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14739 wxPoint result;
14740 void *argp1 = 0 ;
14741 int res1 = 0 ;
14742 PyObject *swig_obj[1] ;
14743
14744 if (!args) SWIG_fail;
14745 swig_obj[0] = args;
14746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14747 if (!SWIG_IsOK(res1)) {
14748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14749 }
14750 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14751 {
14752 PyThreadState* __tstate = wxPyBeginAllowThreads();
14753 result = ((wxPyVListBox const *)arg1)->GetMargins();
14754 wxPyEndAllowThreads(__tstate);
14755 if (PyErr_Occurred()) SWIG_fail;
14756 }
14757 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14758 return resultobj;
14759 fail:
14760 return NULL;
14761 }
14762
14763
14764 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14765 PyObject *resultobj = 0;
14766 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14767 wxColour *result = 0 ;
14768 void *argp1 = 0 ;
14769 int res1 = 0 ;
14770 PyObject *swig_obj[1] ;
14771
14772 if (!args) SWIG_fail;
14773 swig_obj[0] = args;
14774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14775 if (!SWIG_IsOK(res1)) {
14776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14777 }
14778 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14779 {
14780 PyThreadState* __tstate = wxPyBeginAllowThreads();
14781 {
14782 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14783 result = (wxColour *) &_result_ref;
14784 }
14785 wxPyEndAllowThreads(__tstate);
14786 if (PyErr_Occurred()) SWIG_fail;
14787 }
14788 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14789 return resultobj;
14790 fail:
14791 return NULL;
14792 }
14793
14794
14795 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14796 PyObject *resultobj = 0;
14797 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14798 size_t arg2 ;
14799 void *argp1 = 0 ;
14800 int res1 = 0 ;
14801 size_t val2 ;
14802 int ecode2 = 0 ;
14803 PyObject * obj0 = 0 ;
14804 PyObject * obj1 = 0 ;
14805 char * kwnames[] = {
14806 (char *) "self",(char *) "count", NULL
14807 };
14808
14809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14811 if (!SWIG_IsOK(res1)) {
14812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14813 }
14814 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14815 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14816 if (!SWIG_IsOK(ecode2)) {
14817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14818 }
14819 arg2 = static_cast< size_t >(val2);
14820 {
14821 PyThreadState* __tstate = wxPyBeginAllowThreads();
14822 (arg1)->SetItemCount(arg2);
14823 wxPyEndAllowThreads(__tstate);
14824 if (PyErr_Occurred()) SWIG_fail;
14825 }
14826 resultobj = SWIG_Py_Void();
14827 return resultobj;
14828 fail:
14829 return NULL;
14830 }
14831
14832
14833 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14834 PyObject *resultobj = 0;
14835 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14836 void *argp1 = 0 ;
14837 int res1 = 0 ;
14838 PyObject *swig_obj[1] ;
14839
14840 if (!args) SWIG_fail;
14841 swig_obj[0] = args;
14842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14843 if (!SWIG_IsOK(res1)) {
14844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14845 }
14846 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14847 {
14848 PyThreadState* __tstate = wxPyBeginAllowThreads();
14849 (arg1)->Clear();
14850 wxPyEndAllowThreads(__tstate);
14851 if (PyErr_Occurred()) SWIG_fail;
14852 }
14853 resultobj = SWIG_Py_Void();
14854 return resultobj;
14855 fail:
14856 return NULL;
14857 }
14858
14859
14860 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14861 PyObject *resultobj = 0;
14862 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14863 int arg2 ;
14864 void *argp1 = 0 ;
14865 int res1 = 0 ;
14866 int val2 ;
14867 int ecode2 = 0 ;
14868 PyObject * obj0 = 0 ;
14869 PyObject * obj1 = 0 ;
14870 char * kwnames[] = {
14871 (char *) "self",(char *) "selection", NULL
14872 };
14873
14874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14876 if (!SWIG_IsOK(res1)) {
14877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14878 }
14879 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14880 ecode2 = SWIG_AsVal_int(obj1, &val2);
14881 if (!SWIG_IsOK(ecode2)) {
14882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14883 }
14884 arg2 = static_cast< int >(val2);
14885 {
14886 PyThreadState* __tstate = wxPyBeginAllowThreads();
14887 (arg1)->SetSelection(arg2);
14888 wxPyEndAllowThreads(__tstate);
14889 if (PyErr_Occurred()) SWIG_fail;
14890 }
14891 resultobj = SWIG_Py_Void();
14892 return resultobj;
14893 fail:
14894 return NULL;
14895 }
14896
14897
14898 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14899 PyObject *resultobj = 0;
14900 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14901 size_t arg2 ;
14902 bool arg3 = (bool) true ;
14903 bool result;
14904 void *argp1 = 0 ;
14905 int res1 = 0 ;
14906 size_t val2 ;
14907 int ecode2 = 0 ;
14908 bool val3 ;
14909 int ecode3 = 0 ;
14910 PyObject * obj0 = 0 ;
14911 PyObject * obj1 = 0 ;
14912 PyObject * obj2 = 0 ;
14913 char * kwnames[] = {
14914 (char *) "self",(char *) "item",(char *) "select", NULL
14915 };
14916
14917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14919 if (!SWIG_IsOK(res1)) {
14920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14921 }
14922 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14923 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14924 if (!SWIG_IsOK(ecode2)) {
14925 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14926 }
14927 arg2 = static_cast< size_t >(val2);
14928 if (obj2) {
14929 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14930 if (!SWIG_IsOK(ecode3)) {
14931 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14932 }
14933 arg3 = static_cast< bool >(val3);
14934 }
14935 {
14936 PyThreadState* __tstate = wxPyBeginAllowThreads();
14937 result = (bool)(arg1)->Select(arg2,arg3);
14938 wxPyEndAllowThreads(__tstate);
14939 if (PyErr_Occurred()) SWIG_fail;
14940 }
14941 {
14942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14943 }
14944 return resultobj;
14945 fail:
14946 return NULL;
14947 }
14948
14949
14950 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14951 PyObject *resultobj = 0;
14952 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14953 size_t arg2 ;
14954 size_t arg3 ;
14955 bool result;
14956 void *argp1 = 0 ;
14957 int res1 = 0 ;
14958 size_t val2 ;
14959 int ecode2 = 0 ;
14960 size_t val3 ;
14961 int ecode3 = 0 ;
14962 PyObject * obj0 = 0 ;
14963 PyObject * obj1 = 0 ;
14964 PyObject * obj2 = 0 ;
14965 char * kwnames[] = {
14966 (char *) "self",(char *) "_from",(char *) "to", NULL
14967 };
14968
14969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14971 if (!SWIG_IsOK(res1)) {
14972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14973 }
14974 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14975 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14976 if (!SWIG_IsOK(ecode2)) {
14977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14978 }
14979 arg2 = static_cast< size_t >(val2);
14980 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14981 if (!SWIG_IsOK(ecode3)) {
14982 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14983 }
14984 arg3 = static_cast< size_t >(val3);
14985 {
14986 PyThreadState* __tstate = wxPyBeginAllowThreads();
14987 result = (bool)(arg1)->SelectRange(arg2,arg3);
14988 wxPyEndAllowThreads(__tstate);
14989 if (PyErr_Occurred()) SWIG_fail;
14990 }
14991 {
14992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14993 }
14994 return resultobj;
14995 fail:
14996 return NULL;
14997 }
14998
14999
15000 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15001 PyObject *resultobj = 0;
15002 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15003 size_t arg2 ;
15004 void *argp1 = 0 ;
15005 int res1 = 0 ;
15006 size_t val2 ;
15007 int ecode2 = 0 ;
15008 PyObject * obj0 = 0 ;
15009 PyObject * obj1 = 0 ;
15010 char * kwnames[] = {
15011 (char *) "self",(char *) "item", NULL
15012 };
15013
15014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15016 if (!SWIG_IsOK(res1)) {
15017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15018 }
15019 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15020 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15021 if (!SWIG_IsOK(ecode2)) {
15022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15023 }
15024 arg2 = static_cast< size_t >(val2);
15025 {
15026 PyThreadState* __tstate = wxPyBeginAllowThreads();
15027 (arg1)->Toggle(arg2);
15028 wxPyEndAllowThreads(__tstate);
15029 if (PyErr_Occurred()) SWIG_fail;
15030 }
15031 resultobj = SWIG_Py_Void();
15032 return resultobj;
15033 fail:
15034 return NULL;
15035 }
15036
15037
15038 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15039 PyObject *resultobj = 0;
15040 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15041 bool result;
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_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15051 }
15052 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15053 {
15054 PyThreadState* __tstate = wxPyBeginAllowThreads();
15055 result = (bool)(arg1)->SelectAll();
15056 wxPyEndAllowThreads(__tstate);
15057 if (PyErr_Occurred()) SWIG_fail;
15058 }
15059 {
15060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15061 }
15062 return resultobj;
15063 fail:
15064 return NULL;
15065 }
15066
15067
15068 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15069 PyObject *resultobj = 0;
15070 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15071 bool result;
15072 void *argp1 = 0 ;
15073 int res1 = 0 ;
15074 PyObject *swig_obj[1] ;
15075
15076 if (!args) SWIG_fail;
15077 swig_obj[0] = args;
15078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15079 if (!SWIG_IsOK(res1)) {
15080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15081 }
15082 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15083 {
15084 PyThreadState* __tstate = wxPyBeginAllowThreads();
15085 result = (bool)(arg1)->DeselectAll();
15086 wxPyEndAllowThreads(__tstate);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 }
15089 {
15090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15091 }
15092 return resultobj;
15093 fail:
15094 return NULL;
15095 }
15096
15097
15098 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15099 PyObject *resultobj = 0;
15100 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15101 wxPoint *arg2 = 0 ;
15102 void *argp1 = 0 ;
15103 int res1 = 0 ;
15104 wxPoint temp2 ;
15105 PyObject * obj0 = 0 ;
15106 PyObject * obj1 = 0 ;
15107 char * kwnames[] = {
15108 (char *) "self",(char *) "pt", NULL
15109 };
15110
15111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15113 if (!SWIG_IsOK(res1)) {
15114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15115 }
15116 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15117 {
15118 arg2 = &temp2;
15119 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15120 }
15121 {
15122 PyThreadState* __tstate = wxPyBeginAllowThreads();
15123 (arg1)->SetMargins((wxPoint const &)*arg2);
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_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15135 PyObject *resultobj = 0;
15136 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15137 int arg2 ;
15138 int arg3 ;
15139 void *argp1 = 0 ;
15140 int res1 = 0 ;
15141 int val2 ;
15142 int ecode2 = 0 ;
15143 int val3 ;
15144 int ecode3 = 0 ;
15145 PyObject * obj0 = 0 ;
15146 PyObject * obj1 = 0 ;
15147 PyObject * obj2 = 0 ;
15148 char * kwnames[] = {
15149 (char *) "self",(char *) "x",(char *) "y", NULL
15150 };
15151
15152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15154 if (!SWIG_IsOK(res1)) {
15155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15156 }
15157 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15158 ecode2 = SWIG_AsVal_int(obj1, &val2);
15159 if (!SWIG_IsOK(ecode2)) {
15160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15161 }
15162 arg2 = static_cast< int >(val2);
15163 ecode3 = SWIG_AsVal_int(obj2, &val3);
15164 if (!SWIG_IsOK(ecode3)) {
15165 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15166 }
15167 arg3 = static_cast< int >(val3);
15168 {
15169 PyThreadState* __tstate = wxPyBeginAllowThreads();
15170 (arg1)->SetMargins(arg2,arg3);
15171 wxPyEndAllowThreads(__tstate);
15172 if (PyErr_Occurred()) SWIG_fail;
15173 }
15174 resultobj = SWIG_Py_Void();
15175 return resultobj;
15176 fail:
15177 return NULL;
15178 }
15179
15180
15181 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15182 PyObject *resultobj = 0;
15183 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15184 wxColour *arg2 = 0 ;
15185 void *argp1 = 0 ;
15186 int res1 = 0 ;
15187 wxColour temp2 ;
15188 PyObject * obj0 = 0 ;
15189 PyObject * obj1 = 0 ;
15190 char * kwnames[] = {
15191 (char *) "self",(char *) "col", NULL
15192 };
15193
15194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15196 if (!SWIG_IsOK(res1)) {
15197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15198 }
15199 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15200 {
15201 arg2 = &temp2;
15202 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15203 }
15204 {
15205 PyThreadState* __tstate = wxPyBeginAllowThreads();
15206 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15207 wxPyEndAllowThreads(__tstate);
15208 if (PyErr_Occurred()) SWIG_fail;
15209 }
15210 resultobj = SWIG_Py_Void();
15211 return resultobj;
15212 fail:
15213 return NULL;
15214 }
15215
15216
15217 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15218 PyObject *resultobj = 0;
15219 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15220 wxDC *arg2 = 0 ;
15221 wxRect *arg3 = 0 ;
15222 size_t arg4 ;
15223 void *argp1 = 0 ;
15224 int res1 = 0 ;
15225 void *argp2 = 0 ;
15226 int res2 = 0 ;
15227 wxRect temp3 ;
15228 size_t val4 ;
15229 int ecode4 = 0 ;
15230 PyObject * obj0 = 0 ;
15231 PyObject * obj1 = 0 ;
15232 PyObject * obj2 = 0 ;
15233 PyObject * obj3 = 0 ;
15234 char * kwnames[] = {
15235 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15236 };
15237
15238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15240 if (!SWIG_IsOK(res1)) {
15241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15242 }
15243 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15244 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15245 if (!SWIG_IsOK(res2)) {
15246 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15247 }
15248 if (!argp2) {
15249 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15250 }
15251 arg2 = reinterpret_cast< wxDC * >(argp2);
15252 {
15253 arg3 = &temp3;
15254 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15255 }
15256 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15257 if (!SWIG_IsOK(ecode4)) {
15258 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15259 }
15260 arg4 = static_cast< size_t >(val4);
15261 {
15262 PyThreadState* __tstate = wxPyBeginAllowThreads();
15263 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15264 wxPyEndAllowThreads(__tstate);
15265 if (PyErr_Occurred()) SWIG_fail;
15266 }
15267 resultobj = SWIG_Py_Void();
15268 return resultobj;
15269 fail:
15270 return NULL;
15271 }
15272
15273
15274 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15275 PyObject *resultobj = 0;
15276 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15277 wxDC *arg2 = 0 ;
15278 wxRect *arg3 = 0 ;
15279 size_t arg4 ;
15280 void *argp1 = 0 ;
15281 int res1 = 0 ;
15282 void *argp2 = 0 ;
15283 int res2 = 0 ;
15284 wxRect temp3 ;
15285 size_t val4 ;
15286 int ecode4 = 0 ;
15287 PyObject * obj0 = 0 ;
15288 PyObject * obj1 = 0 ;
15289 PyObject * obj2 = 0 ;
15290 PyObject * obj3 = 0 ;
15291 char * kwnames[] = {
15292 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15293 };
15294
15295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15297 if (!SWIG_IsOK(res1)) {
15298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15299 }
15300 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15301 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15302 if (!SWIG_IsOK(res2)) {
15303 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15304 }
15305 if (!argp2) {
15306 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15307 }
15308 arg2 = reinterpret_cast< wxDC * >(argp2);
15309 {
15310 arg3 = &temp3;
15311 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15312 }
15313 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15314 if (!SWIG_IsOK(ecode4)) {
15315 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15316 }
15317 arg4 = static_cast< size_t >(val4);
15318 {
15319 PyThreadState* __tstate = wxPyBeginAllowThreads();
15320 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15321 wxPyEndAllowThreads(__tstate);
15322 if (PyErr_Occurred()) SWIG_fail;
15323 }
15324 resultobj = SWIG_Py_Void();
15325 return resultobj;
15326 fail:
15327 return NULL;
15328 }
15329
15330
15331 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15332 PyObject *obj;
15333 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15334 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15335 return SWIG_Py_Void();
15336 }
15337
15338 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15339 return SWIG_Python_InitShadowInstance(args);
15340 }
15341
15342 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15343 PyObject *resultobj = 0;
15344 wxWindow *arg1 = (wxWindow *) 0 ;
15345 int arg2 = (int) wxID_ANY ;
15346 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15347 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15348 wxSize const &arg4_defvalue = wxDefaultSize ;
15349 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15350 long arg5 = (long) 0 ;
15351 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15352 wxString *arg6 = (wxString *) &arg6_defvalue ;
15353 wxPyHtmlListBox *result = 0 ;
15354 void *argp1 = 0 ;
15355 int res1 = 0 ;
15356 int val2 ;
15357 int ecode2 = 0 ;
15358 wxPoint temp3 ;
15359 wxSize temp4 ;
15360 long val5 ;
15361 int ecode5 = 0 ;
15362 bool temp6 = false ;
15363 PyObject * obj0 = 0 ;
15364 PyObject * obj1 = 0 ;
15365 PyObject * obj2 = 0 ;
15366 PyObject * obj3 = 0 ;
15367 PyObject * obj4 = 0 ;
15368 PyObject * obj5 = 0 ;
15369 char * kwnames[] = {
15370 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15371 };
15372
15373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15375 if (!SWIG_IsOK(res1)) {
15376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15377 }
15378 arg1 = reinterpret_cast< wxWindow * >(argp1);
15379 if (obj1) {
15380 ecode2 = SWIG_AsVal_int(obj1, &val2);
15381 if (!SWIG_IsOK(ecode2)) {
15382 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15383 }
15384 arg2 = static_cast< int >(val2);
15385 }
15386 if (obj2) {
15387 {
15388 arg3 = &temp3;
15389 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15390 }
15391 }
15392 if (obj3) {
15393 {
15394 arg4 = &temp4;
15395 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15396 }
15397 }
15398 if (obj4) {
15399 ecode5 = SWIG_AsVal_long(obj4, &val5);
15400 if (!SWIG_IsOK(ecode5)) {
15401 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15402 }
15403 arg5 = static_cast< long >(val5);
15404 }
15405 if (obj5) {
15406 {
15407 arg6 = wxString_in_helper(obj5);
15408 if (arg6 == NULL) SWIG_fail;
15409 temp6 = true;
15410 }
15411 }
15412 {
15413 if (!wxPyCheckForApp()) SWIG_fail;
15414 PyThreadState* __tstate = wxPyBeginAllowThreads();
15415 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15416 wxPyEndAllowThreads(__tstate);
15417 if (PyErr_Occurred()) SWIG_fail;
15418 }
15419 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15420 {
15421 if (temp6)
15422 delete arg6;
15423 }
15424 return resultobj;
15425 fail:
15426 {
15427 if (temp6)
15428 delete arg6;
15429 }
15430 return NULL;
15431 }
15432
15433
15434 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15435 PyObject *resultobj = 0;
15436 wxPyHtmlListBox *result = 0 ;
15437
15438 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15439 {
15440 if (!wxPyCheckForApp()) SWIG_fail;
15441 PyThreadState* __tstate = wxPyBeginAllowThreads();
15442 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15443 wxPyEndAllowThreads(__tstate);
15444 if (PyErr_Occurred()) SWIG_fail;
15445 }
15446 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15447 return resultobj;
15448 fail:
15449 return NULL;
15450 }
15451
15452
15453 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15454 PyObject *resultobj = 0;
15455 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15456 PyObject *arg2 = (PyObject *) 0 ;
15457 PyObject *arg3 = (PyObject *) 0 ;
15458 void *argp1 = 0 ;
15459 int res1 = 0 ;
15460 PyObject * obj0 = 0 ;
15461 PyObject * obj1 = 0 ;
15462 PyObject * obj2 = 0 ;
15463 char * kwnames[] = {
15464 (char *) "self",(char *) "self",(char *) "_class", NULL
15465 };
15466
15467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15469 if (!SWIG_IsOK(res1)) {
15470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15471 }
15472 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15473 arg2 = obj1;
15474 arg3 = obj2;
15475 {
15476 PyThreadState* __tstate = wxPyBeginAllowThreads();
15477 (arg1)->_setCallbackInfo(arg2,arg3);
15478 wxPyEndAllowThreads(__tstate);
15479 if (PyErr_Occurred()) SWIG_fail;
15480 }
15481 resultobj = SWIG_Py_Void();
15482 return resultobj;
15483 fail:
15484 return NULL;
15485 }
15486
15487
15488 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15489 PyObject *resultobj = 0;
15490 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15491 wxWindow *arg2 = (wxWindow *) 0 ;
15492 int arg3 = (int) wxID_ANY ;
15493 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15494 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15495 wxSize const &arg5_defvalue = wxDefaultSize ;
15496 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15497 long arg6 = (long) 0 ;
15498 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15499 wxString *arg7 = (wxString *) &arg7_defvalue ;
15500 bool result;
15501 void *argp1 = 0 ;
15502 int res1 = 0 ;
15503 void *argp2 = 0 ;
15504 int res2 = 0 ;
15505 int val3 ;
15506 int ecode3 = 0 ;
15507 wxPoint temp4 ;
15508 wxSize temp5 ;
15509 long val6 ;
15510 int ecode6 = 0 ;
15511 bool temp7 = false ;
15512 PyObject * obj0 = 0 ;
15513 PyObject * obj1 = 0 ;
15514 PyObject * obj2 = 0 ;
15515 PyObject * obj3 = 0 ;
15516 PyObject * obj4 = 0 ;
15517 PyObject * obj5 = 0 ;
15518 PyObject * obj6 = 0 ;
15519 char * kwnames[] = {
15520 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15521 };
15522
15523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15525 if (!SWIG_IsOK(res1)) {
15526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15527 }
15528 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15529 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15530 if (!SWIG_IsOK(res2)) {
15531 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15532 }
15533 arg2 = reinterpret_cast< wxWindow * >(argp2);
15534 if (obj2) {
15535 ecode3 = SWIG_AsVal_int(obj2, &val3);
15536 if (!SWIG_IsOK(ecode3)) {
15537 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15538 }
15539 arg3 = static_cast< int >(val3);
15540 }
15541 if (obj3) {
15542 {
15543 arg4 = &temp4;
15544 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15545 }
15546 }
15547 if (obj4) {
15548 {
15549 arg5 = &temp5;
15550 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15551 }
15552 }
15553 if (obj5) {
15554 ecode6 = SWIG_AsVal_long(obj5, &val6);
15555 if (!SWIG_IsOK(ecode6)) {
15556 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15557 }
15558 arg6 = static_cast< long >(val6);
15559 }
15560 if (obj6) {
15561 {
15562 arg7 = wxString_in_helper(obj6);
15563 if (arg7 == NULL) SWIG_fail;
15564 temp7 = true;
15565 }
15566 }
15567 {
15568 PyThreadState* __tstate = wxPyBeginAllowThreads();
15569 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15570 wxPyEndAllowThreads(__tstate);
15571 if (PyErr_Occurred()) SWIG_fail;
15572 }
15573 {
15574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15575 }
15576 {
15577 if (temp7)
15578 delete arg7;
15579 }
15580 return resultobj;
15581 fail:
15582 {
15583 if (temp7)
15584 delete arg7;
15585 }
15586 return NULL;
15587 }
15588
15589
15590 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15591 PyObject *resultobj = 0;
15592 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15593 size_t arg2 ;
15594 void *argp1 = 0 ;
15595 int res1 = 0 ;
15596 size_t val2 ;
15597 int ecode2 = 0 ;
15598 PyObject * obj0 = 0 ;
15599 PyObject * obj1 = 0 ;
15600 char * kwnames[] = {
15601 (char *) "self",(char *) "count", NULL
15602 };
15603
15604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15606 if (!SWIG_IsOK(res1)) {
15607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15608 }
15609 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15610 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15611 if (!SWIG_IsOK(ecode2)) {
15612 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15613 }
15614 arg2 = static_cast< size_t >(val2);
15615 {
15616 PyThreadState* __tstate = wxPyBeginAllowThreads();
15617 (arg1)->SetItemCount(arg2);
15618 wxPyEndAllowThreads(__tstate);
15619 if (PyErr_Occurred()) SWIG_fail;
15620 }
15621 resultobj = SWIG_Py_Void();
15622 return resultobj;
15623 fail:
15624 return NULL;
15625 }
15626
15627
15628 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15629 PyObject *resultobj = 0;
15630 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15631 wxFileSystem *result = 0 ;
15632 void *argp1 = 0 ;
15633 int res1 = 0 ;
15634 PyObject *swig_obj[1] ;
15635
15636 if (!args) SWIG_fail;
15637 swig_obj[0] = args;
15638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15639 if (!SWIG_IsOK(res1)) {
15640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15641 }
15642 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15643 {
15644 PyThreadState* __tstate = wxPyBeginAllowThreads();
15645 {
15646 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15647 result = (wxFileSystem *) &_result_ref;
15648 }
15649 wxPyEndAllowThreads(__tstate);
15650 if (PyErr_Occurred()) SWIG_fail;
15651 }
15652 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15653 return resultobj;
15654 fail:
15655 return NULL;
15656 }
15657
15658
15659 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15660 PyObject *obj;
15661 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15662 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15663 return SWIG_Py_Void();
15664 }
15665
15666 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15667 return SWIG_Python_InitShadowInstance(args);
15668 }
15669
15670 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15671 PyObject *resultobj = 0;
15672 wxPyTaskBarIcon *result = 0 ;
15673
15674 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15675 {
15676 if (!wxPyCheckForApp()) SWIG_fail;
15677 PyThreadState* __tstate = wxPyBeginAllowThreads();
15678 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15679 wxPyEndAllowThreads(__tstate);
15680 if (PyErr_Occurred()) SWIG_fail;
15681 }
15682 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15683 return resultobj;
15684 fail:
15685 return NULL;
15686 }
15687
15688
15689 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15690 PyObject *resultobj = 0;
15691 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15692 void *argp1 = 0 ;
15693 int res1 = 0 ;
15694 PyObject *swig_obj[1] ;
15695
15696 if (!args) SWIG_fail;
15697 swig_obj[0] = args;
15698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15699 if (!SWIG_IsOK(res1)) {
15700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15701 }
15702 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15703 {
15704 PyThreadState* __tstate = wxPyBeginAllowThreads();
15705 delete arg1;
15706
15707 wxPyEndAllowThreads(__tstate);
15708 if (PyErr_Occurred()) SWIG_fail;
15709 }
15710 resultobj = SWIG_Py_Void();
15711 return resultobj;
15712 fail:
15713 return NULL;
15714 }
15715
15716
15717 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15718 PyObject *resultobj = 0;
15719 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15720 PyObject *arg2 = (PyObject *) 0 ;
15721 PyObject *arg3 = (PyObject *) 0 ;
15722 int arg4 ;
15723 void *argp1 = 0 ;
15724 int res1 = 0 ;
15725 int val4 ;
15726 int ecode4 = 0 ;
15727 PyObject * obj0 = 0 ;
15728 PyObject * obj1 = 0 ;
15729 PyObject * obj2 = 0 ;
15730 PyObject * obj3 = 0 ;
15731 char * kwnames[] = {
15732 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15733 };
15734
15735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15737 if (!SWIG_IsOK(res1)) {
15738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15739 }
15740 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15741 arg2 = obj1;
15742 arg3 = obj2;
15743 ecode4 = SWIG_AsVal_int(obj3, &val4);
15744 if (!SWIG_IsOK(ecode4)) {
15745 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15746 }
15747 arg4 = static_cast< int >(val4);
15748 {
15749 PyThreadState* __tstate = wxPyBeginAllowThreads();
15750 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15751 wxPyEndAllowThreads(__tstate);
15752 if (PyErr_Occurred()) SWIG_fail;
15753 }
15754 resultobj = SWIG_Py_Void();
15755 return resultobj;
15756 fail:
15757 return NULL;
15758 }
15759
15760
15761 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15762 PyObject *resultobj = 0;
15763 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15764 void *argp1 = 0 ;
15765 int res1 = 0 ;
15766 PyObject *swig_obj[1] ;
15767
15768 if (!args) SWIG_fail;
15769 swig_obj[0] = args;
15770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15771 if (!SWIG_IsOK(res1)) {
15772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15773 }
15774 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15775 {
15776 PyThreadState* __tstate = wxPyBeginAllowThreads();
15777 wxPyTaskBarIcon_Destroy(arg1);
15778 wxPyEndAllowThreads(__tstate);
15779 if (PyErr_Occurred()) SWIG_fail;
15780 }
15781 resultobj = SWIG_Py_Void();
15782 return resultobj;
15783 fail:
15784 return NULL;
15785 }
15786
15787
15788 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15789 PyObject *resultobj = 0;
15790 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15791 bool result;
15792 void *argp1 = 0 ;
15793 int res1 = 0 ;
15794 PyObject *swig_obj[1] ;
15795
15796 if (!args) SWIG_fail;
15797 swig_obj[0] = args;
15798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15799 if (!SWIG_IsOK(res1)) {
15800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15801 }
15802 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15803 {
15804 PyThreadState* __tstate = wxPyBeginAllowThreads();
15805 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15806 wxPyEndAllowThreads(__tstate);
15807 if (PyErr_Occurred()) SWIG_fail;
15808 }
15809 {
15810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15811 }
15812 return resultobj;
15813 fail:
15814 return NULL;
15815 }
15816
15817
15818 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15819 PyObject *resultobj = 0;
15820 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15821 bool result;
15822 void *argp1 = 0 ;
15823 int res1 = 0 ;
15824 PyObject *swig_obj[1] ;
15825
15826 if (!args) SWIG_fail;
15827 swig_obj[0] = args;
15828 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15829 if (!SWIG_IsOK(res1)) {
15830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15831 }
15832 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15833 {
15834 PyThreadState* __tstate = wxPyBeginAllowThreads();
15835 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15836 wxPyEndAllowThreads(__tstate);
15837 if (PyErr_Occurred()) SWIG_fail;
15838 }
15839 {
15840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15841 }
15842 return resultobj;
15843 fail:
15844 return NULL;
15845 }
15846
15847
15848 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15849 PyObject *resultobj = 0;
15850 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15851 wxIcon *arg2 = 0 ;
15852 wxString const &arg3_defvalue = wxPyEmptyString ;
15853 wxString *arg3 = (wxString *) &arg3_defvalue ;
15854 bool result;
15855 void *argp1 = 0 ;
15856 int res1 = 0 ;
15857 void *argp2 = 0 ;
15858 int res2 = 0 ;
15859 bool temp3 = false ;
15860 PyObject * obj0 = 0 ;
15861 PyObject * obj1 = 0 ;
15862 PyObject * obj2 = 0 ;
15863 char * kwnames[] = {
15864 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15865 };
15866
15867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15869 if (!SWIG_IsOK(res1)) {
15870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15871 }
15872 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15873 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15874 if (!SWIG_IsOK(res2)) {
15875 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15876 }
15877 if (!argp2) {
15878 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15879 }
15880 arg2 = reinterpret_cast< wxIcon * >(argp2);
15881 if (obj2) {
15882 {
15883 arg3 = wxString_in_helper(obj2);
15884 if (arg3 == NULL) SWIG_fail;
15885 temp3 = true;
15886 }
15887 }
15888 {
15889 PyThreadState* __tstate = wxPyBeginAllowThreads();
15890 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
15891 wxPyEndAllowThreads(__tstate);
15892 if (PyErr_Occurred()) SWIG_fail;
15893 }
15894 {
15895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15896 }
15897 {
15898 if (temp3)
15899 delete arg3;
15900 }
15901 return resultobj;
15902 fail:
15903 {
15904 if (temp3)
15905 delete arg3;
15906 }
15907 return NULL;
15908 }
15909
15910
15911 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15912 PyObject *resultobj = 0;
15913 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15914 bool result;
15915 void *argp1 = 0 ;
15916 int res1 = 0 ;
15917 PyObject *swig_obj[1] ;
15918
15919 if (!args) SWIG_fail;
15920 swig_obj[0] = args;
15921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15922 if (!SWIG_IsOK(res1)) {
15923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15924 }
15925 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15926 {
15927 PyThreadState* __tstate = wxPyBeginAllowThreads();
15928 result = (bool)(arg1)->RemoveIcon();
15929 wxPyEndAllowThreads(__tstate);
15930 if (PyErr_Occurred()) SWIG_fail;
15931 }
15932 {
15933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15934 }
15935 return resultobj;
15936 fail:
15937 return NULL;
15938 }
15939
15940
15941 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15942 PyObject *resultobj = 0;
15943 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15944 wxMenu *arg2 = (wxMenu *) 0 ;
15945 bool result;
15946 void *argp1 = 0 ;
15947 int res1 = 0 ;
15948 void *argp2 = 0 ;
15949 int res2 = 0 ;
15950 PyObject * obj0 = 0 ;
15951 PyObject * obj1 = 0 ;
15952 char * kwnames[] = {
15953 (char *) "self",(char *) "menu", NULL
15954 };
15955
15956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
15957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15958 if (!SWIG_IsOK(res1)) {
15959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15960 }
15961 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15962 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
15963 if (!SWIG_IsOK(res2)) {
15964 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
15965 }
15966 arg2 = reinterpret_cast< wxMenu * >(argp2);
15967 {
15968 PyThreadState* __tstate = wxPyBeginAllowThreads();
15969 result = (bool)(arg1)->PopupMenu(arg2);
15970 wxPyEndAllowThreads(__tstate);
15971 if (PyErr_Occurred()) SWIG_fail;
15972 }
15973 {
15974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15975 }
15976 return resultobj;
15977 fail:
15978 return NULL;
15979 }
15980
15981
15982 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15983 PyObject *obj;
15984 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15985 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
15986 return SWIG_Py_Void();
15987 }
15988
15989 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15990 return SWIG_Python_InitShadowInstance(args);
15991 }
15992
15993 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15994 PyObject *resultobj = 0;
15995 wxEventType arg1 ;
15996 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
15997 wxTaskBarIconEvent *result = 0 ;
15998 int val1 ;
15999 int ecode1 = 0 ;
16000 void *argp2 = 0 ;
16001 int res2 = 0 ;
16002 PyObject * obj0 = 0 ;
16003 PyObject * obj1 = 0 ;
16004 char * kwnames[] = {
16005 (char *) "evtType",(char *) "tbIcon", NULL
16006 };
16007
16008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16009 ecode1 = SWIG_AsVal_int(obj0, &val1);
16010 if (!SWIG_IsOK(ecode1)) {
16011 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16012 }
16013 arg1 = static_cast< wxEventType >(val1);
16014 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16015 if (!SWIG_IsOK(res2)) {
16016 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16017 }
16018 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16019 {
16020 PyThreadState* __tstate = wxPyBeginAllowThreads();
16021 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16022 wxPyEndAllowThreads(__tstate);
16023 if (PyErr_Occurred()) SWIG_fail;
16024 }
16025 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16026 return resultobj;
16027 fail:
16028 return NULL;
16029 }
16030
16031
16032 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16033 PyObject *obj;
16034 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16035 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16036 return SWIG_Py_Void();
16037 }
16038
16039 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16040 return SWIG_Python_InitShadowInstance(args);
16041 }
16042
16043 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16044 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16045 return 1;
16046 }
16047
16048
16049 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16050 PyObject *pyobj = 0;
16051
16052 {
16053 #if wxUSE_UNICODE
16054 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16055 #else
16056 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16057 #endif
16058 }
16059 return pyobj;
16060 }
16061
16062
16063 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16064 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16065 return 1;
16066 }
16067
16068
16069 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16070 PyObject *pyobj = 0;
16071
16072 {
16073 #if wxUSE_UNICODE
16074 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16075 #else
16076 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16077 #endif
16078 }
16079 return pyobj;
16080 }
16081
16082
16083 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16084 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16085 return 1;
16086 }
16087
16088
16089 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16090 PyObject *pyobj = 0;
16091
16092 {
16093 #if wxUSE_UNICODE
16094 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16095 #else
16096 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16097 #endif
16098 }
16099 return pyobj;
16100 }
16101
16102
16103 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16104 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16105 return 1;
16106 }
16107
16108
16109 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16110 PyObject *pyobj = 0;
16111
16112 {
16113 #if wxUSE_UNICODE
16114 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16115 #else
16116 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16117 #endif
16118 }
16119 return pyobj;
16120 }
16121
16122
16123 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16124 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16125 return 1;
16126 }
16127
16128
16129 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16130 PyObject *pyobj = 0;
16131
16132 {
16133 #if wxUSE_UNICODE
16134 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16135 #else
16136 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16137 #endif
16138 }
16139 return pyobj;
16140 }
16141
16142
16143 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16144 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16145 return 1;
16146 }
16147
16148
16149 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16150 PyObject *pyobj = 0;
16151
16152 {
16153 #if wxUSE_UNICODE
16154 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16155 #else
16156 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16157 #endif
16158 }
16159 return pyobj;
16160 }
16161
16162
16163 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16164 PyObject *resultobj = 0;
16165 wxColourData *result = 0 ;
16166
16167 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16168 {
16169 PyThreadState* __tstate = wxPyBeginAllowThreads();
16170 result = (wxColourData *)new wxColourData();
16171 wxPyEndAllowThreads(__tstate);
16172 if (PyErr_Occurred()) SWIG_fail;
16173 }
16174 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16175 return resultobj;
16176 fail:
16177 return NULL;
16178 }
16179
16180
16181 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16182 PyObject *resultobj = 0;
16183 wxColourData *arg1 = (wxColourData *) 0 ;
16184 void *argp1 = 0 ;
16185 int res1 = 0 ;
16186 PyObject *swig_obj[1] ;
16187
16188 if (!args) SWIG_fail;
16189 swig_obj[0] = args;
16190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16191 if (!SWIG_IsOK(res1)) {
16192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16193 }
16194 arg1 = reinterpret_cast< wxColourData * >(argp1);
16195 {
16196 PyThreadState* __tstate = wxPyBeginAllowThreads();
16197 delete arg1;
16198
16199 wxPyEndAllowThreads(__tstate);
16200 if (PyErr_Occurred()) SWIG_fail;
16201 }
16202 resultobj = SWIG_Py_Void();
16203 return resultobj;
16204 fail:
16205 return NULL;
16206 }
16207
16208
16209 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16210 PyObject *resultobj = 0;
16211 wxColourData *arg1 = (wxColourData *) 0 ;
16212 bool result;
16213 void *argp1 = 0 ;
16214 int res1 = 0 ;
16215 PyObject *swig_obj[1] ;
16216
16217 if (!args) SWIG_fail;
16218 swig_obj[0] = args;
16219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16220 if (!SWIG_IsOK(res1)) {
16221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16222 }
16223 arg1 = reinterpret_cast< wxColourData * >(argp1);
16224 {
16225 PyThreadState* __tstate = wxPyBeginAllowThreads();
16226 result = (bool)(arg1)->GetChooseFull();
16227 wxPyEndAllowThreads(__tstate);
16228 if (PyErr_Occurred()) SWIG_fail;
16229 }
16230 {
16231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16232 }
16233 return resultobj;
16234 fail:
16235 return NULL;
16236 }
16237
16238
16239 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16240 PyObject *resultobj = 0;
16241 wxColourData *arg1 = (wxColourData *) 0 ;
16242 wxColour result;
16243 void *argp1 = 0 ;
16244 int res1 = 0 ;
16245 PyObject *swig_obj[1] ;
16246
16247 if (!args) SWIG_fail;
16248 swig_obj[0] = args;
16249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16250 if (!SWIG_IsOK(res1)) {
16251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16252 }
16253 arg1 = reinterpret_cast< wxColourData * >(argp1);
16254 {
16255 PyThreadState* __tstate = wxPyBeginAllowThreads();
16256 result = (arg1)->GetColour();
16257 wxPyEndAllowThreads(__tstate);
16258 if (PyErr_Occurred()) SWIG_fail;
16259 }
16260 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16261 return resultobj;
16262 fail:
16263 return NULL;
16264 }
16265
16266
16267 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16268 PyObject *resultobj = 0;
16269 wxColourData *arg1 = (wxColourData *) 0 ;
16270 int arg2 ;
16271 wxColour result;
16272 void *argp1 = 0 ;
16273 int res1 = 0 ;
16274 int val2 ;
16275 int ecode2 = 0 ;
16276 PyObject * obj0 = 0 ;
16277 PyObject * obj1 = 0 ;
16278 char * kwnames[] = {
16279 (char *) "self",(char *) "i", NULL
16280 };
16281
16282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16284 if (!SWIG_IsOK(res1)) {
16285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16286 }
16287 arg1 = reinterpret_cast< wxColourData * >(argp1);
16288 ecode2 = SWIG_AsVal_int(obj1, &val2);
16289 if (!SWIG_IsOK(ecode2)) {
16290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16291 }
16292 arg2 = static_cast< int >(val2);
16293 {
16294 PyThreadState* __tstate = wxPyBeginAllowThreads();
16295 result = (arg1)->GetCustomColour(arg2);
16296 wxPyEndAllowThreads(__tstate);
16297 if (PyErr_Occurred()) SWIG_fail;
16298 }
16299 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16300 return resultobj;
16301 fail:
16302 return NULL;
16303 }
16304
16305
16306 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16307 PyObject *resultobj = 0;
16308 wxColourData *arg1 = (wxColourData *) 0 ;
16309 int arg2 ;
16310 void *argp1 = 0 ;
16311 int res1 = 0 ;
16312 int val2 ;
16313 int ecode2 = 0 ;
16314 PyObject * obj0 = 0 ;
16315 PyObject * obj1 = 0 ;
16316 char * kwnames[] = {
16317 (char *) "self",(char *) "flag", NULL
16318 };
16319
16320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16322 if (!SWIG_IsOK(res1)) {
16323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16324 }
16325 arg1 = reinterpret_cast< wxColourData * >(argp1);
16326 ecode2 = SWIG_AsVal_int(obj1, &val2);
16327 if (!SWIG_IsOK(ecode2)) {
16328 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16329 }
16330 arg2 = static_cast< int >(val2);
16331 {
16332 PyThreadState* __tstate = wxPyBeginAllowThreads();
16333 (arg1)->SetChooseFull(arg2);
16334 wxPyEndAllowThreads(__tstate);
16335 if (PyErr_Occurred()) SWIG_fail;
16336 }
16337 resultobj = SWIG_Py_Void();
16338 return resultobj;
16339 fail:
16340 return NULL;
16341 }
16342
16343
16344 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16345 PyObject *resultobj = 0;
16346 wxColourData *arg1 = (wxColourData *) 0 ;
16347 wxColour *arg2 = 0 ;
16348 void *argp1 = 0 ;
16349 int res1 = 0 ;
16350 wxColour temp2 ;
16351 PyObject * obj0 = 0 ;
16352 PyObject * obj1 = 0 ;
16353 char * kwnames[] = {
16354 (char *) "self",(char *) "colour", NULL
16355 };
16356
16357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16359 if (!SWIG_IsOK(res1)) {
16360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16361 }
16362 arg1 = reinterpret_cast< wxColourData * >(argp1);
16363 {
16364 arg2 = &temp2;
16365 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16366 }
16367 {
16368 PyThreadState* __tstate = wxPyBeginAllowThreads();
16369 (arg1)->SetColour((wxColour const &)*arg2);
16370 wxPyEndAllowThreads(__tstate);
16371 if (PyErr_Occurred()) SWIG_fail;
16372 }
16373 resultobj = SWIG_Py_Void();
16374 return resultobj;
16375 fail:
16376 return NULL;
16377 }
16378
16379
16380 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16381 PyObject *resultobj = 0;
16382 wxColourData *arg1 = (wxColourData *) 0 ;
16383 int arg2 ;
16384 wxColour *arg3 = 0 ;
16385 void *argp1 = 0 ;
16386 int res1 = 0 ;
16387 int val2 ;
16388 int ecode2 = 0 ;
16389 wxColour temp3 ;
16390 PyObject * obj0 = 0 ;
16391 PyObject * obj1 = 0 ;
16392 PyObject * obj2 = 0 ;
16393 char * kwnames[] = {
16394 (char *) "self",(char *) "i",(char *) "colour", NULL
16395 };
16396
16397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16399 if (!SWIG_IsOK(res1)) {
16400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16401 }
16402 arg1 = reinterpret_cast< wxColourData * >(argp1);
16403 ecode2 = SWIG_AsVal_int(obj1, &val2);
16404 if (!SWIG_IsOK(ecode2)) {
16405 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16406 }
16407 arg2 = static_cast< int >(val2);
16408 {
16409 arg3 = &temp3;
16410 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16411 }
16412 {
16413 PyThreadState* __tstate = wxPyBeginAllowThreads();
16414 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16415 wxPyEndAllowThreads(__tstate);
16416 if (PyErr_Occurred()) SWIG_fail;
16417 }
16418 resultobj = SWIG_Py_Void();
16419 return resultobj;
16420 fail:
16421 return NULL;
16422 }
16423
16424
16425 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16426 PyObject *obj;
16427 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16428 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16429 return SWIG_Py_Void();
16430 }
16431
16432 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16433 return SWIG_Python_InitShadowInstance(args);
16434 }
16435
16436 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16437 PyObject *resultobj = 0;
16438 wxWindow *arg1 = (wxWindow *) 0 ;
16439 wxColourData *arg2 = (wxColourData *) NULL ;
16440 wxColourDialog *result = 0 ;
16441 void *argp1 = 0 ;
16442 int res1 = 0 ;
16443 void *argp2 = 0 ;
16444 int res2 = 0 ;
16445 PyObject * obj0 = 0 ;
16446 PyObject * obj1 = 0 ;
16447 char * kwnames[] = {
16448 (char *) "parent",(char *) "data", NULL
16449 };
16450
16451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16453 if (!SWIG_IsOK(res1)) {
16454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16455 }
16456 arg1 = reinterpret_cast< wxWindow * >(argp1);
16457 if (obj1) {
16458 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16459 if (!SWIG_IsOK(res2)) {
16460 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16461 }
16462 arg2 = reinterpret_cast< wxColourData * >(argp2);
16463 }
16464 {
16465 if (!wxPyCheckForApp()) SWIG_fail;
16466 PyThreadState* __tstate = wxPyBeginAllowThreads();
16467 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16468 wxPyEndAllowThreads(__tstate);
16469 if (PyErr_Occurred()) SWIG_fail;
16470 }
16471 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16472 return resultobj;
16473 fail:
16474 return NULL;
16475 }
16476
16477
16478 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16479 PyObject *resultobj = 0;
16480 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16481 wxColourData *result = 0 ;
16482 void *argp1 = 0 ;
16483 int res1 = 0 ;
16484 PyObject *swig_obj[1] ;
16485
16486 if (!args) SWIG_fail;
16487 swig_obj[0] = args;
16488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16489 if (!SWIG_IsOK(res1)) {
16490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16491 }
16492 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16493 {
16494 PyThreadState* __tstate = wxPyBeginAllowThreads();
16495 {
16496 wxColourData &_result_ref = (arg1)->GetColourData();
16497 result = (wxColourData *) &_result_ref;
16498 }
16499 wxPyEndAllowThreads(__tstate);
16500 if (PyErr_Occurred()) SWIG_fail;
16501 }
16502 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16503 return resultobj;
16504 fail:
16505 return NULL;
16506 }
16507
16508
16509 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16510 PyObject *obj;
16511 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16512 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16513 return SWIG_Py_Void();
16514 }
16515
16516 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16517 return SWIG_Python_InitShadowInstance(args);
16518 }
16519
16520 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16521 PyObject *resultobj = 0;
16522 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16523 wxColour const &arg2_defvalue = wxNullColour ;
16524 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16525 wxString const &arg3_defvalue = wxPyEmptyString ;
16526 wxString *arg3 = (wxString *) &arg3_defvalue ;
16527 wxColour result;
16528 void *argp1 = 0 ;
16529 int res1 = 0 ;
16530 wxColour temp2 ;
16531 bool temp3 = false ;
16532 PyObject * obj0 = 0 ;
16533 PyObject * obj1 = 0 ;
16534 PyObject * obj2 = 0 ;
16535 char * kwnames[] = {
16536 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16537 };
16538
16539 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16540 if (obj0) {
16541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16542 if (!SWIG_IsOK(res1)) {
16543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16544 }
16545 arg1 = reinterpret_cast< wxWindow * >(argp1);
16546 }
16547 if (obj1) {
16548 {
16549 arg2 = &temp2;
16550 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16551 }
16552 }
16553 if (obj2) {
16554 {
16555 arg3 = wxString_in_helper(obj2);
16556 if (arg3 == NULL) SWIG_fail;
16557 temp3 = true;
16558 }
16559 }
16560 {
16561 PyThreadState* __tstate = wxPyBeginAllowThreads();
16562 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16563 wxPyEndAllowThreads(__tstate);
16564 if (PyErr_Occurred()) SWIG_fail;
16565 }
16566 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16567 {
16568 if (temp3)
16569 delete arg3;
16570 }
16571 return resultobj;
16572 fail:
16573 {
16574 if (temp3)
16575 delete arg3;
16576 }
16577 return NULL;
16578 }
16579
16580
16581 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16582 PyObject *resultobj = 0;
16583 wxWindow *arg1 = (wxWindow *) 0 ;
16584 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16585 wxString *arg2 = (wxString *) &arg2_defvalue ;
16586 wxString const &arg3_defvalue = wxPyEmptyString ;
16587 wxString *arg3 = (wxString *) &arg3_defvalue ;
16588 long arg4 = (long) 0 ;
16589 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16590 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16591 wxSize const &arg6_defvalue = wxDefaultSize ;
16592 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16593 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16594 wxString *arg7 = (wxString *) &arg7_defvalue ;
16595 wxDirDialog *result = 0 ;
16596 void *argp1 = 0 ;
16597 int res1 = 0 ;
16598 bool temp2 = false ;
16599 bool temp3 = false ;
16600 long val4 ;
16601 int ecode4 = 0 ;
16602 wxPoint temp5 ;
16603 wxSize temp6 ;
16604 bool temp7 = false ;
16605 PyObject * obj0 = 0 ;
16606 PyObject * obj1 = 0 ;
16607 PyObject * obj2 = 0 ;
16608 PyObject * obj3 = 0 ;
16609 PyObject * obj4 = 0 ;
16610 PyObject * obj5 = 0 ;
16611 PyObject * obj6 = 0 ;
16612 char * kwnames[] = {
16613 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16614 };
16615
16616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16618 if (!SWIG_IsOK(res1)) {
16619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16620 }
16621 arg1 = reinterpret_cast< wxWindow * >(argp1);
16622 if (obj1) {
16623 {
16624 arg2 = wxString_in_helper(obj1);
16625 if (arg2 == NULL) SWIG_fail;
16626 temp2 = true;
16627 }
16628 }
16629 if (obj2) {
16630 {
16631 arg3 = wxString_in_helper(obj2);
16632 if (arg3 == NULL) SWIG_fail;
16633 temp3 = true;
16634 }
16635 }
16636 if (obj3) {
16637 ecode4 = SWIG_AsVal_long(obj3, &val4);
16638 if (!SWIG_IsOK(ecode4)) {
16639 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16640 }
16641 arg4 = static_cast< long >(val4);
16642 }
16643 if (obj4) {
16644 {
16645 arg5 = &temp5;
16646 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16647 }
16648 }
16649 if (obj5) {
16650 {
16651 arg6 = &temp6;
16652 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16653 }
16654 }
16655 if (obj6) {
16656 {
16657 arg7 = wxString_in_helper(obj6);
16658 if (arg7 == NULL) SWIG_fail;
16659 temp7 = true;
16660 }
16661 }
16662 {
16663 if (!wxPyCheckForApp()) SWIG_fail;
16664 PyThreadState* __tstate = wxPyBeginAllowThreads();
16665 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16666 wxPyEndAllowThreads(__tstate);
16667 if (PyErr_Occurred()) SWIG_fail;
16668 }
16669 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16670 {
16671 if (temp2)
16672 delete arg2;
16673 }
16674 {
16675 if (temp3)
16676 delete arg3;
16677 }
16678 {
16679 if (temp7)
16680 delete arg7;
16681 }
16682 return resultobj;
16683 fail:
16684 {
16685 if (temp2)
16686 delete arg2;
16687 }
16688 {
16689 if (temp3)
16690 delete arg3;
16691 }
16692 {
16693 if (temp7)
16694 delete arg7;
16695 }
16696 return NULL;
16697 }
16698
16699
16700 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16701 PyObject *resultobj = 0;
16702 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16703 wxString result;
16704 void *argp1 = 0 ;
16705 int res1 = 0 ;
16706 PyObject *swig_obj[1] ;
16707
16708 if (!args) SWIG_fail;
16709 swig_obj[0] = args;
16710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16711 if (!SWIG_IsOK(res1)) {
16712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16713 }
16714 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16715 {
16716 PyThreadState* __tstate = wxPyBeginAllowThreads();
16717 result = (arg1)->GetPath();
16718 wxPyEndAllowThreads(__tstate);
16719 if (PyErr_Occurred()) SWIG_fail;
16720 }
16721 {
16722 #if wxUSE_UNICODE
16723 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16724 #else
16725 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16726 #endif
16727 }
16728 return resultobj;
16729 fail:
16730 return NULL;
16731 }
16732
16733
16734 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16735 PyObject *resultobj = 0;
16736 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16737 wxString result;
16738 void *argp1 = 0 ;
16739 int res1 = 0 ;
16740 PyObject *swig_obj[1] ;
16741
16742 if (!args) SWIG_fail;
16743 swig_obj[0] = args;
16744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16745 if (!SWIG_IsOK(res1)) {
16746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16747 }
16748 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16749 {
16750 PyThreadState* __tstate = wxPyBeginAllowThreads();
16751 result = (arg1)->GetMessage();
16752 wxPyEndAllowThreads(__tstate);
16753 if (PyErr_Occurred()) SWIG_fail;
16754 }
16755 {
16756 #if wxUSE_UNICODE
16757 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16758 #else
16759 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16760 #endif
16761 }
16762 return resultobj;
16763 fail:
16764 return NULL;
16765 }
16766
16767
16768 SWIGINTERN PyObject *_wrap_DirDialog_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16769 PyObject *resultobj = 0;
16770 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16771 long result;
16772 void *argp1 = 0 ;
16773 int res1 = 0 ;
16774 PyObject *swig_obj[1] ;
16775
16776 if (!args) SWIG_fail;
16777 swig_obj[0] = args;
16778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16779 if (!SWIG_IsOK(res1)) {
16780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetStyle" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16781 }
16782 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16783 {
16784 PyThreadState* __tstate = wxPyBeginAllowThreads();
16785 result = (long)(arg1)->GetStyle();
16786 wxPyEndAllowThreads(__tstate);
16787 if (PyErr_Occurred()) SWIG_fail;
16788 }
16789 resultobj = SWIG_From_long(static_cast< long >(result));
16790 return resultobj;
16791 fail:
16792 return NULL;
16793 }
16794
16795
16796 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16797 PyObject *resultobj = 0;
16798 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16799 wxString *arg2 = 0 ;
16800 void *argp1 = 0 ;
16801 int res1 = 0 ;
16802 bool temp2 = false ;
16803 PyObject * obj0 = 0 ;
16804 PyObject * obj1 = 0 ;
16805 char * kwnames[] = {
16806 (char *) "self",(char *) "message", NULL
16807 };
16808
16809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16811 if (!SWIG_IsOK(res1)) {
16812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16813 }
16814 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16815 {
16816 arg2 = wxString_in_helper(obj1);
16817 if (arg2 == NULL) SWIG_fail;
16818 temp2 = true;
16819 }
16820 {
16821 PyThreadState* __tstate = wxPyBeginAllowThreads();
16822 (arg1)->SetMessage((wxString const &)*arg2);
16823 wxPyEndAllowThreads(__tstate);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
16826 resultobj = SWIG_Py_Void();
16827 {
16828 if (temp2)
16829 delete arg2;
16830 }
16831 return resultobj;
16832 fail:
16833 {
16834 if (temp2)
16835 delete arg2;
16836 }
16837 return NULL;
16838 }
16839
16840
16841 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16842 PyObject *resultobj = 0;
16843 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16844 wxString *arg2 = 0 ;
16845 void *argp1 = 0 ;
16846 int res1 = 0 ;
16847 bool temp2 = false ;
16848 PyObject * obj0 = 0 ;
16849 PyObject * obj1 = 0 ;
16850 char * kwnames[] = {
16851 (char *) "self",(char *) "path", NULL
16852 };
16853
16854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16856 if (!SWIG_IsOK(res1)) {
16857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16858 }
16859 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16860 {
16861 arg2 = wxString_in_helper(obj1);
16862 if (arg2 == NULL) SWIG_fail;
16863 temp2 = true;
16864 }
16865 {
16866 PyThreadState* __tstate = wxPyBeginAllowThreads();
16867 (arg1)->SetPath((wxString const &)*arg2);
16868 wxPyEndAllowThreads(__tstate);
16869 if (PyErr_Occurred()) SWIG_fail;
16870 }
16871 resultobj = SWIG_Py_Void();
16872 {
16873 if (temp2)
16874 delete arg2;
16875 }
16876 return resultobj;
16877 fail:
16878 {
16879 if (temp2)
16880 delete arg2;
16881 }
16882 return NULL;
16883 }
16884
16885
16886 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16887 PyObject *obj;
16888 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16889 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16890 return SWIG_Py_Void();
16891 }
16892
16893 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16894 return SWIG_Python_InitShadowInstance(args);
16895 }
16896
16897 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16898 PyObject *resultobj = 0;
16899 wxWindow *arg1 = (wxWindow *) 0 ;
16900 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16901 wxString *arg2 = (wxString *) &arg2_defvalue ;
16902 wxString const &arg3_defvalue = wxPyEmptyString ;
16903 wxString *arg3 = (wxString *) &arg3_defvalue ;
16904 wxString const &arg4_defvalue = wxPyEmptyString ;
16905 wxString *arg4 = (wxString *) &arg4_defvalue ;
16906 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
16907 wxString *arg5 = (wxString *) &arg5_defvalue ;
16908 long arg6 = (long) 0 ;
16909 wxPoint const &arg7_defvalue = wxDefaultPosition ;
16910 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
16911 wxFileDialog *result = 0 ;
16912 void *argp1 = 0 ;
16913 int res1 = 0 ;
16914 bool temp2 = false ;
16915 bool temp3 = false ;
16916 bool temp4 = false ;
16917 bool temp5 = false ;
16918 long val6 ;
16919 int ecode6 = 0 ;
16920 wxPoint temp7 ;
16921 PyObject * obj0 = 0 ;
16922 PyObject * obj1 = 0 ;
16923 PyObject * obj2 = 0 ;
16924 PyObject * obj3 = 0 ;
16925 PyObject * obj4 = 0 ;
16926 PyObject * obj5 = 0 ;
16927 PyObject * obj6 = 0 ;
16928 char * kwnames[] = {
16929 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16930 };
16931
16932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16934 if (!SWIG_IsOK(res1)) {
16935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16936 }
16937 arg1 = reinterpret_cast< wxWindow * >(argp1);
16938 if (obj1) {
16939 {
16940 arg2 = wxString_in_helper(obj1);
16941 if (arg2 == NULL) SWIG_fail;
16942 temp2 = true;
16943 }
16944 }
16945 if (obj2) {
16946 {
16947 arg3 = wxString_in_helper(obj2);
16948 if (arg3 == NULL) SWIG_fail;
16949 temp3 = true;
16950 }
16951 }
16952 if (obj3) {
16953 {
16954 arg4 = wxString_in_helper(obj3);
16955 if (arg4 == NULL) SWIG_fail;
16956 temp4 = true;
16957 }
16958 }
16959 if (obj4) {
16960 {
16961 arg5 = wxString_in_helper(obj4);
16962 if (arg5 == NULL) SWIG_fail;
16963 temp5 = true;
16964 }
16965 }
16966 if (obj5) {
16967 ecode6 = SWIG_AsVal_long(obj5, &val6);
16968 if (!SWIG_IsOK(ecode6)) {
16969 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16970 }
16971 arg6 = static_cast< long >(val6);
16972 }
16973 if (obj6) {
16974 {
16975 arg7 = &temp7;
16976 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
16977 }
16978 }
16979 {
16980 if (!wxPyCheckForApp()) SWIG_fail;
16981 PyThreadState* __tstate = wxPyBeginAllowThreads();
16982 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
16983 wxPyEndAllowThreads(__tstate);
16984 if (PyErr_Occurred()) SWIG_fail;
16985 }
16986 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
16987 {
16988 if (temp2)
16989 delete arg2;
16990 }
16991 {
16992 if (temp3)
16993 delete arg3;
16994 }
16995 {
16996 if (temp4)
16997 delete arg4;
16998 }
16999 {
17000 if (temp5)
17001 delete arg5;
17002 }
17003 return resultobj;
17004 fail:
17005 {
17006 if (temp2)
17007 delete arg2;
17008 }
17009 {
17010 if (temp3)
17011 delete arg3;
17012 }
17013 {
17014 if (temp4)
17015 delete arg4;
17016 }
17017 {
17018 if (temp5)
17019 delete arg5;
17020 }
17021 return NULL;
17022 }
17023
17024
17025 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17026 PyObject *resultobj = 0;
17027 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17028 wxString *arg2 = 0 ;
17029 void *argp1 = 0 ;
17030 int res1 = 0 ;
17031 bool temp2 = false ;
17032 PyObject * obj0 = 0 ;
17033 PyObject * obj1 = 0 ;
17034 char * kwnames[] = {
17035 (char *) "self",(char *) "message", NULL
17036 };
17037
17038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17040 if (!SWIG_IsOK(res1)) {
17041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17042 }
17043 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17044 {
17045 arg2 = wxString_in_helper(obj1);
17046 if (arg2 == NULL) SWIG_fail;
17047 temp2 = true;
17048 }
17049 {
17050 PyThreadState* __tstate = wxPyBeginAllowThreads();
17051 (arg1)->SetMessage((wxString const &)*arg2);
17052 wxPyEndAllowThreads(__tstate);
17053 if (PyErr_Occurred()) SWIG_fail;
17054 }
17055 resultobj = SWIG_Py_Void();
17056 {
17057 if (temp2)
17058 delete arg2;
17059 }
17060 return resultobj;
17061 fail:
17062 {
17063 if (temp2)
17064 delete arg2;
17065 }
17066 return NULL;
17067 }
17068
17069
17070 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17071 PyObject *resultobj = 0;
17072 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17073 wxString *arg2 = 0 ;
17074 void *argp1 = 0 ;
17075 int res1 = 0 ;
17076 bool temp2 = false ;
17077 PyObject * obj0 = 0 ;
17078 PyObject * obj1 = 0 ;
17079 char * kwnames[] = {
17080 (char *) "self",(char *) "path", NULL
17081 };
17082
17083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17085 if (!SWIG_IsOK(res1)) {
17086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17087 }
17088 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17089 {
17090 arg2 = wxString_in_helper(obj1);
17091 if (arg2 == NULL) SWIG_fail;
17092 temp2 = true;
17093 }
17094 {
17095 PyThreadState* __tstate = wxPyBeginAllowThreads();
17096 (arg1)->SetPath((wxString const &)*arg2);
17097 wxPyEndAllowThreads(__tstate);
17098 if (PyErr_Occurred()) SWIG_fail;
17099 }
17100 resultobj = SWIG_Py_Void();
17101 {
17102 if (temp2)
17103 delete arg2;
17104 }
17105 return resultobj;
17106 fail:
17107 {
17108 if (temp2)
17109 delete arg2;
17110 }
17111 return NULL;
17112 }
17113
17114
17115 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17116 PyObject *resultobj = 0;
17117 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17118 wxString *arg2 = 0 ;
17119 void *argp1 = 0 ;
17120 int res1 = 0 ;
17121 bool temp2 = false ;
17122 PyObject * obj0 = 0 ;
17123 PyObject * obj1 = 0 ;
17124 char * kwnames[] = {
17125 (char *) "self",(char *) "dir", NULL
17126 };
17127
17128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17130 if (!SWIG_IsOK(res1)) {
17131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17132 }
17133 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17134 {
17135 arg2 = wxString_in_helper(obj1);
17136 if (arg2 == NULL) SWIG_fail;
17137 temp2 = true;
17138 }
17139 {
17140 PyThreadState* __tstate = wxPyBeginAllowThreads();
17141 (arg1)->SetDirectory((wxString const &)*arg2);
17142 wxPyEndAllowThreads(__tstate);
17143 if (PyErr_Occurred()) SWIG_fail;
17144 }
17145 resultobj = SWIG_Py_Void();
17146 {
17147 if (temp2)
17148 delete arg2;
17149 }
17150 return resultobj;
17151 fail:
17152 {
17153 if (temp2)
17154 delete arg2;
17155 }
17156 return NULL;
17157 }
17158
17159
17160 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17161 PyObject *resultobj = 0;
17162 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17163 wxString *arg2 = 0 ;
17164 void *argp1 = 0 ;
17165 int res1 = 0 ;
17166 bool temp2 = false ;
17167 PyObject * obj0 = 0 ;
17168 PyObject * obj1 = 0 ;
17169 char * kwnames[] = {
17170 (char *) "self",(char *) "name", NULL
17171 };
17172
17173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17175 if (!SWIG_IsOK(res1)) {
17176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17177 }
17178 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17179 {
17180 arg2 = wxString_in_helper(obj1);
17181 if (arg2 == NULL) SWIG_fail;
17182 temp2 = true;
17183 }
17184 {
17185 PyThreadState* __tstate = wxPyBeginAllowThreads();
17186 (arg1)->SetFilename((wxString const &)*arg2);
17187 wxPyEndAllowThreads(__tstate);
17188 if (PyErr_Occurred()) SWIG_fail;
17189 }
17190 resultobj = SWIG_Py_Void();
17191 {
17192 if (temp2)
17193 delete arg2;
17194 }
17195 return resultobj;
17196 fail:
17197 {
17198 if (temp2)
17199 delete arg2;
17200 }
17201 return NULL;
17202 }
17203
17204
17205 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17206 PyObject *resultobj = 0;
17207 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17208 wxString *arg2 = 0 ;
17209 void *argp1 = 0 ;
17210 int res1 = 0 ;
17211 bool temp2 = false ;
17212 PyObject * obj0 = 0 ;
17213 PyObject * obj1 = 0 ;
17214 char * kwnames[] = {
17215 (char *) "self",(char *) "wildCard", NULL
17216 };
17217
17218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17220 if (!SWIG_IsOK(res1)) {
17221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17222 }
17223 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17224 {
17225 arg2 = wxString_in_helper(obj1);
17226 if (arg2 == NULL) SWIG_fail;
17227 temp2 = true;
17228 }
17229 {
17230 PyThreadState* __tstate = wxPyBeginAllowThreads();
17231 (arg1)->SetWildcard((wxString const &)*arg2);
17232 wxPyEndAllowThreads(__tstate);
17233 if (PyErr_Occurred()) SWIG_fail;
17234 }
17235 resultobj = SWIG_Py_Void();
17236 {
17237 if (temp2)
17238 delete arg2;
17239 }
17240 return resultobj;
17241 fail:
17242 {
17243 if (temp2)
17244 delete arg2;
17245 }
17246 return NULL;
17247 }
17248
17249
17250 SWIGINTERN PyObject *_wrap_FileDialog_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17251 PyObject *resultobj = 0;
17252 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17253 long arg2 ;
17254 void *argp1 = 0 ;
17255 int res1 = 0 ;
17256 long val2 ;
17257 int ecode2 = 0 ;
17258 PyObject * obj0 = 0 ;
17259 PyObject * obj1 = 0 ;
17260 char * kwnames[] = {
17261 (char *) "self",(char *) "style", NULL
17262 };
17263
17264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
17265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17266 if (!SWIG_IsOK(res1)) {
17267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetStyle" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17268 }
17269 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17270 ecode2 = SWIG_AsVal_long(obj1, &val2);
17271 if (!SWIG_IsOK(ecode2)) {
17272 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetStyle" "', expected argument " "2"" of type '" "long""'");
17273 }
17274 arg2 = static_cast< long >(val2);
17275 {
17276 PyThreadState* __tstate = wxPyBeginAllowThreads();
17277 (arg1)->SetStyle(arg2);
17278 wxPyEndAllowThreads(__tstate);
17279 if (PyErr_Occurred()) SWIG_fail;
17280 }
17281 resultobj = SWIG_Py_Void();
17282 return resultobj;
17283 fail:
17284 return NULL;
17285 }
17286
17287
17288 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17289 PyObject *resultobj = 0;
17290 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17291 int arg2 ;
17292 void *argp1 = 0 ;
17293 int res1 = 0 ;
17294 int val2 ;
17295 int ecode2 = 0 ;
17296 PyObject * obj0 = 0 ;
17297 PyObject * obj1 = 0 ;
17298 char * kwnames[] = {
17299 (char *) "self",(char *) "filterIndex", NULL
17300 };
17301
17302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17304 if (!SWIG_IsOK(res1)) {
17305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17306 }
17307 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17308 ecode2 = SWIG_AsVal_int(obj1, &val2);
17309 if (!SWIG_IsOK(ecode2)) {
17310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17311 }
17312 arg2 = static_cast< int >(val2);
17313 {
17314 PyThreadState* __tstate = wxPyBeginAllowThreads();
17315 (arg1)->SetFilterIndex(arg2);
17316 wxPyEndAllowThreads(__tstate);
17317 if (PyErr_Occurred()) SWIG_fail;
17318 }
17319 resultobj = SWIG_Py_Void();
17320 return resultobj;
17321 fail:
17322 return NULL;
17323 }
17324
17325
17326 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17327 PyObject *resultobj = 0;
17328 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17329 wxString result;
17330 void *argp1 = 0 ;
17331 int res1 = 0 ;
17332 PyObject *swig_obj[1] ;
17333
17334 if (!args) SWIG_fail;
17335 swig_obj[0] = args;
17336 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17337 if (!SWIG_IsOK(res1)) {
17338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17339 }
17340 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17341 {
17342 PyThreadState* __tstate = wxPyBeginAllowThreads();
17343 result = ((wxFileDialog const *)arg1)->GetMessage();
17344 wxPyEndAllowThreads(__tstate);
17345 if (PyErr_Occurred()) SWIG_fail;
17346 }
17347 {
17348 #if wxUSE_UNICODE
17349 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17350 #else
17351 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17352 #endif
17353 }
17354 return resultobj;
17355 fail:
17356 return NULL;
17357 }
17358
17359
17360 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17361 PyObject *resultobj = 0;
17362 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17363 wxString result;
17364 void *argp1 = 0 ;
17365 int res1 = 0 ;
17366 PyObject *swig_obj[1] ;
17367
17368 if (!args) SWIG_fail;
17369 swig_obj[0] = args;
17370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17371 if (!SWIG_IsOK(res1)) {
17372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17373 }
17374 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17375 {
17376 PyThreadState* __tstate = wxPyBeginAllowThreads();
17377 result = ((wxFileDialog const *)arg1)->GetPath();
17378 wxPyEndAllowThreads(__tstate);
17379 if (PyErr_Occurred()) SWIG_fail;
17380 }
17381 {
17382 #if wxUSE_UNICODE
17383 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17384 #else
17385 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17386 #endif
17387 }
17388 return resultobj;
17389 fail:
17390 return NULL;
17391 }
17392
17393
17394 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17395 PyObject *resultobj = 0;
17396 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17397 wxString result;
17398 void *argp1 = 0 ;
17399 int res1 = 0 ;
17400 PyObject *swig_obj[1] ;
17401
17402 if (!args) SWIG_fail;
17403 swig_obj[0] = args;
17404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17405 if (!SWIG_IsOK(res1)) {
17406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17407 }
17408 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17409 {
17410 PyThreadState* __tstate = wxPyBeginAllowThreads();
17411 result = ((wxFileDialog const *)arg1)->GetDirectory();
17412 wxPyEndAllowThreads(__tstate);
17413 if (PyErr_Occurred()) SWIG_fail;
17414 }
17415 {
17416 #if wxUSE_UNICODE
17417 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17418 #else
17419 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17420 #endif
17421 }
17422 return resultobj;
17423 fail:
17424 return NULL;
17425 }
17426
17427
17428 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17429 PyObject *resultobj = 0;
17430 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17431 wxString result;
17432 void *argp1 = 0 ;
17433 int res1 = 0 ;
17434 PyObject *swig_obj[1] ;
17435
17436 if (!args) SWIG_fail;
17437 swig_obj[0] = args;
17438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17439 if (!SWIG_IsOK(res1)) {
17440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17441 }
17442 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17443 {
17444 PyThreadState* __tstate = wxPyBeginAllowThreads();
17445 result = ((wxFileDialog const *)arg1)->GetFilename();
17446 wxPyEndAllowThreads(__tstate);
17447 if (PyErr_Occurred()) SWIG_fail;
17448 }
17449 {
17450 #if wxUSE_UNICODE
17451 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17452 #else
17453 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17454 #endif
17455 }
17456 return resultobj;
17457 fail:
17458 return NULL;
17459 }
17460
17461
17462 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17463 PyObject *resultobj = 0;
17464 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17465 wxString result;
17466 void *argp1 = 0 ;
17467 int res1 = 0 ;
17468 PyObject *swig_obj[1] ;
17469
17470 if (!args) SWIG_fail;
17471 swig_obj[0] = args;
17472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17473 if (!SWIG_IsOK(res1)) {
17474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17475 }
17476 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17477 {
17478 PyThreadState* __tstate = wxPyBeginAllowThreads();
17479 result = ((wxFileDialog const *)arg1)->GetWildcard();
17480 wxPyEndAllowThreads(__tstate);
17481 if (PyErr_Occurred()) SWIG_fail;
17482 }
17483 {
17484 #if wxUSE_UNICODE
17485 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17486 #else
17487 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17488 #endif
17489 }
17490 return resultobj;
17491 fail:
17492 return NULL;
17493 }
17494
17495
17496 SWIGINTERN PyObject *_wrap_FileDialog_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17497 PyObject *resultobj = 0;
17498 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17499 long result;
17500 void *argp1 = 0 ;
17501 int res1 = 0 ;
17502 PyObject *swig_obj[1] ;
17503
17504 if (!args) SWIG_fail;
17505 swig_obj[0] = args;
17506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17507 if (!SWIG_IsOK(res1)) {
17508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetStyle" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17509 }
17510 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17511 {
17512 PyThreadState* __tstate = wxPyBeginAllowThreads();
17513 result = (long)((wxFileDialog const *)arg1)->GetStyle();
17514 wxPyEndAllowThreads(__tstate);
17515 if (PyErr_Occurred()) SWIG_fail;
17516 }
17517 resultobj = SWIG_From_long(static_cast< long >(result));
17518 return resultobj;
17519 fail:
17520 return NULL;
17521 }
17522
17523
17524 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17525 PyObject *resultobj = 0;
17526 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17527 int result;
17528 void *argp1 = 0 ;
17529 int res1 = 0 ;
17530 PyObject *swig_obj[1] ;
17531
17532 if (!args) SWIG_fail;
17533 swig_obj[0] = args;
17534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17535 if (!SWIG_IsOK(res1)) {
17536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17537 }
17538 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17539 {
17540 PyThreadState* __tstate = wxPyBeginAllowThreads();
17541 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17542 wxPyEndAllowThreads(__tstate);
17543 if (PyErr_Occurred()) SWIG_fail;
17544 }
17545 resultobj = SWIG_From_int(static_cast< int >(result));
17546 return resultobj;
17547 fail:
17548 return NULL;
17549 }
17550
17551
17552 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17553 PyObject *resultobj = 0;
17554 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17555 PyObject *result = 0 ;
17556 void *argp1 = 0 ;
17557 int res1 = 0 ;
17558 PyObject *swig_obj[1] ;
17559
17560 if (!args) SWIG_fail;
17561 swig_obj[0] = args;
17562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17563 if (!SWIG_IsOK(res1)) {
17564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17565 }
17566 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17567 {
17568 PyThreadState* __tstate = wxPyBeginAllowThreads();
17569 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17570 wxPyEndAllowThreads(__tstate);
17571 if (PyErr_Occurred()) SWIG_fail;
17572 }
17573 resultobj = result;
17574 return resultobj;
17575 fail:
17576 return NULL;
17577 }
17578
17579
17580 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17581 PyObject *resultobj = 0;
17582 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17583 PyObject *result = 0 ;
17584 void *argp1 = 0 ;
17585 int res1 = 0 ;
17586 PyObject *swig_obj[1] ;
17587
17588 if (!args) SWIG_fail;
17589 swig_obj[0] = args;
17590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17591 if (!SWIG_IsOK(res1)) {
17592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17593 }
17594 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17595 {
17596 PyThreadState* __tstate = wxPyBeginAllowThreads();
17597 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17598 wxPyEndAllowThreads(__tstate);
17599 if (PyErr_Occurred()) SWIG_fail;
17600 }
17601 resultobj = result;
17602 return resultobj;
17603 fail:
17604 return NULL;
17605 }
17606
17607
17608 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17609 PyObject *obj;
17610 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17611 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17612 return SWIG_Py_Void();
17613 }
17614
17615 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17616 return SWIG_Python_InitShadowInstance(args);
17617 }
17618
17619 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17620 PyObject *resultobj = 0;
17621 wxWindow *arg1 = (wxWindow *) 0 ;
17622 wxString *arg2 = 0 ;
17623 wxString *arg3 = 0 ;
17624 int arg4 = (int) 0 ;
17625 wxString *arg5 = (wxString *) NULL ;
17626 long arg6 = (long) wxCHOICEDLG_STYLE ;
17627 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17628 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17629 wxMultiChoiceDialog *result = 0 ;
17630 void *argp1 = 0 ;
17631 int res1 = 0 ;
17632 bool temp2 = false ;
17633 bool temp3 = false ;
17634 long val6 ;
17635 int ecode6 = 0 ;
17636 wxPoint temp7 ;
17637 PyObject * obj0 = 0 ;
17638 PyObject * obj1 = 0 ;
17639 PyObject * obj2 = 0 ;
17640 PyObject * obj3 = 0 ;
17641 PyObject * obj4 = 0 ;
17642 PyObject * obj5 = 0 ;
17643 char * kwnames[] = {
17644 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17645 };
17646
17647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17649 if (!SWIG_IsOK(res1)) {
17650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17651 }
17652 arg1 = reinterpret_cast< wxWindow * >(argp1);
17653 {
17654 arg2 = wxString_in_helper(obj1);
17655 if (arg2 == NULL) SWIG_fail;
17656 temp2 = true;
17657 }
17658 {
17659 arg3 = wxString_in_helper(obj2);
17660 if (arg3 == NULL) SWIG_fail;
17661 temp3 = true;
17662 }
17663 if (obj3) {
17664 {
17665 arg4 = PyList_Size(obj3);
17666 arg5 = wxString_LIST_helper(obj3);
17667 if (arg5 == NULL) SWIG_fail;
17668 }
17669 }
17670 if (obj4) {
17671 ecode6 = SWIG_AsVal_long(obj4, &val6);
17672 if (!SWIG_IsOK(ecode6)) {
17673 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17674 }
17675 arg6 = static_cast< long >(val6);
17676 }
17677 if (obj5) {
17678 {
17679 arg7 = &temp7;
17680 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17681 }
17682 }
17683 {
17684 if (!wxPyCheckForApp()) SWIG_fail;
17685 PyThreadState* __tstate = wxPyBeginAllowThreads();
17686 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17687 wxPyEndAllowThreads(__tstate);
17688 if (PyErr_Occurred()) SWIG_fail;
17689 }
17690 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17691 {
17692 if (temp2)
17693 delete arg2;
17694 }
17695 {
17696 if (temp3)
17697 delete arg3;
17698 }
17699 {
17700 if (arg5) delete [] arg5;
17701 }
17702 return resultobj;
17703 fail:
17704 {
17705 if (temp2)
17706 delete arg2;
17707 }
17708 {
17709 if (temp3)
17710 delete arg3;
17711 }
17712 {
17713 if (arg5) delete [] arg5;
17714 }
17715 return NULL;
17716 }
17717
17718
17719 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17720 PyObject *resultobj = 0;
17721 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17722 wxArrayInt *arg2 = 0 ;
17723 void *argp1 = 0 ;
17724 int res1 = 0 ;
17725 bool temp2 = false ;
17726 PyObject * obj0 = 0 ;
17727 PyObject * obj1 = 0 ;
17728 char * kwnames[] = {
17729 (char *) "self",(char *) "selections", NULL
17730 };
17731
17732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17734 if (!SWIG_IsOK(res1)) {
17735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17736 }
17737 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17738 {
17739 if (! PySequence_Check(obj1)) {
17740 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17741 SWIG_fail;
17742 }
17743 arg2 = new wxArrayInt;
17744 temp2 = true;
17745 int i, len=PySequence_Length(obj1);
17746 for (i=0; i<len; i++) {
17747 PyObject* item = PySequence_GetItem(obj1, i);
17748 PyObject* number = PyNumber_Int(item);
17749 arg2->Add(PyInt_AS_LONG(number));
17750 Py_DECREF(item);
17751 Py_DECREF(number);
17752 }
17753 }
17754 {
17755 PyThreadState* __tstate = wxPyBeginAllowThreads();
17756 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17757 wxPyEndAllowThreads(__tstate);
17758 if (PyErr_Occurred()) SWIG_fail;
17759 }
17760 resultobj = SWIG_Py_Void();
17761 {
17762 if (temp2) delete arg2;
17763 }
17764 return resultobj;
17765 fail:
17766 {
17767 if (temp2) delete arg2;
17768 }
17769 return NULL;
17770 }
17771
17772
17773 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17774 PyObject *resultobj = 0;
17775 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17776 PyObject *result = 0 ;
17777 void *argp1 = 0 ;
17778 int res1 = 0 ;
17779 PyObject *swig_obj[1] ;
17780
17781 if (!args) SWIG_fail;
17782 swig_obj[0] = args;
17783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17784 if (!SWIG_IsOK(res1)) {
17785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17786 }
17787 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17788 {
17789 PyThreadState* __tstate = wxPyBeginAllowThreads();
17790 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17791 wxPyEndAllowThreads(__tstate);
17792 if (PyErr_Occurred()) SWIG_fail;
17793 }
17794 resultobj = result;
17795 return resultobj;
17796 fail:
17797 return NULL;
17798 }
17799
17800
17801 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17802 PyObject *obj;
17803 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17804 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17805 return SWIG_Py_Void();
17806 }
17807
17808 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17809 return SWIG_Python_InitShadowInstance(args);
17810 }
17811
17812 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17813 PyObject *resultobj = 0;
17814 wxWindow *arg1 = (wxWindow *) 0 ;
17815 wxString *arg2 = 0 ;
17816 wxString *arg3 = 0 ;
17817 int arg4 ;
17818 wxString *arg5 = (wxString *) 0 ;
17819 long arg6 = (long) wxCHOICEDLG_STYLE ;
17820 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17821 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17822 wxSingleChoiceDialog *result = 0 ;
17823 void *argp1 = 0 ;
17824 int res1 = 0 ;
17825 bool temp2 = false ;
17826 bool temp3 = false ;
17827 long val6 ;
17828 int ecode6 = 0 ;
17829 wxPoint temp7 ;
17830 PyObject * obj0 = 0 ;
17831 PyObject * obj1 = 0 ;
17832 PyObject * obj2 = 0 ;
17833 PyObject * obj3 = 0 ;
17834 PyObject * obj4 = 0 ;
17835 PyObject * obj5 = 0 ;
17836 char * kwnames[] = {
17837 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17838 };
17839
17840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17842 if (!SWIG_IsOK(res1)) {
17843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17844 }
17845 arg1 = reinterpret_cast< wxWindow * >(argp1);
17846 {
17847 arg2 = wxString_in_helper(obj1);
17848 if (arg2 == NULL) SWIG_fail;
17849 temp2 = true;
17850 }
17851 {
17852 arg3 = wxString_in_helper(obj2);
17853 if (arg3 == NULL) SWIG_fail;
17854 temp3 = true;
17855 }
17856 {
17857 arg4 = PyList_Size(obj3);
17858 arg5 = wxString_LIST_helper(obj3);
17859 if (arg5 == NULL) SWIG_fail;
17860 }
17861 if (obj4) {
17862 ecode6 = SWIG_AsVal_long(obj4, &val6);
17863 if (!SWIG_IsOK(ecode6)) {
17864 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17865 }
17866 arg6 = static_cast< long >(val6);
17867 }
17868 if (obj5) {
17869 {
17870 arg7 = &temp7;
17871 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17872 }
17873 }
17874 {
17875 if (!wxPyCheckForApp()) SWIG_fail;
17876 PyThreadState* __tstate = wxPyBeginAllowThreads();
17877 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17878 wxPyEndAllowThreads(__tstate);
17879 if (PyErr_Occurred()) SWIG_fail;
17880 }
17881 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17882 {
17883 if (temp2)
17884 delete arg2;
17885 }
17886 {
17887 if (temp3)
17888 delete arg3;
17889 }
17890 {
17891 if (arg5) delete [] arg5;
17892 }
17893 return resultobj;
17894 fail:
17895 {
17896 if (temp2)
17897 delete arg2;
17898 }
17899 {
17900 if (temp3)
17901 delete arg3;
17902 }
17903 {
17904 if (arg5) delete [] arg5;
17905 }
17906 return NULL;
17907 }
17908
17909
17910 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17911 PyObject *resultobj = 0;
17912 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17913 int result;
17914 void *argp1 = 0 ;
17915 int res1 = 0 ;
17916 PyObject *swig_obj[1] ;
17917
17918 if (!args) SWIG_fail;
17919 swig_obj[0] = args;
17920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17921 if (!SWIG_IsOK(res1)) {
17922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17923 }
17924 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17925 {
17926 PyThreadState* __tstate = wxPyBeginAllowThreads();
17927 result = (int)(arg1)->GetSelection();
17928 wxPyEndAllowThreads(__tstate);
17929 if (PyErr_Occurred()) SWIG_fail;
17930 }
17931 resultobj = SWIG_From_int(static_cast< int >(result));
17932 return resultobj;
17933 fail:
17934 return NULL;
17935 }
17936
17937
17938 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17939 PyObject *resultobj = 0;
17940 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17941 wxString result;
17942 void *argp1 = 0 ;
17943 int res1 = 0 ;
17944 PyObject *swig_obj[1] ;
17945
17946 if (!args) SWIG_fail;
17947 swig_obj[0] = args;
17948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17949 if (!SWIG_IsOK(res1)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17951 }
17952 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17953 {
17954 PyThreadState* __tstate = wxPyBeginAllowThreads();
17955 result = (arg1)->GetStringSelection();
17956 wxPyEndAllowThreads(__tstate);
17957 if (PyErr_Occurred()) SWIG_fail;
17958 }
17959 {
17960 #if wxUSE_UNICODE
17961 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17962 #else
17963 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17964 #endif
17965 }
17966 return resultobj;
17967 fail:
17968 return NULL;
17969 }
17970
17971
17972 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17973 PyObject *resultobj = 0;
17974 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17975 int arg2 ;
17976 void *argp1 = 0 ;
17977 int res1 = 0 ;
17978 int val2 ;
17979 int ecode2 = 0 ;
17980 PyObject * obj0 = 0 ;
17981 PyObject * obj1 = 0 ;
17982 char * kwnames[] = {
17983 (char *) "self",(char *) "sel", NULL
17984 };
17985
17986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
17987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17988 if (!SWIG_IsOK(res1)) {
17989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17990 }
17991 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17992 ecode2 = SWIG_AsVal_int(obj1, &val2);
17993 if (!SWIG_IsOK(ecode2)) {
17994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17995 }
17996 arg2 = static_cast< int >(val2);
17997 {
17998 PyThreadState* __tstate = wxPyBeginAllowThreads();
17999 (arg1)->SetSelection(arg2);
18000 wxPyEndAllowThreads(__tstate);
18001 if (PyErr_Occurred()) SWIG_fail;
18002 }
18003 resultobj = SWIG_Py_Void();
18004 return resultobj;
18005 fail:
18006 return NULL;
18007 }
18008
18009
18010 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18011 PyObject *obj;
18012 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18013 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18014 return SWIG_Py_Void();
18015 }
18016
18017 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18018 return SWIG_Python_InitShadowInstance(args);
18019 }
18020
18021 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18022 PyObject *resultobj = 0;
18023 wxWindow *arg1 = (wxWindow *) 0 ;
18024 wxString *arg2 = 0 ;
18025 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18026 wxString *arg3 = (wxString *) &arg3_defvalue ;
18027 wxString const &arg4_defvalue = wxPyEmptyString ;
18028 wxString *arg4 = (wxString *) &arg4_defvalue ;
18029 long arg5 = (long) wxTextEntryDialogStyle ;
18030 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18031 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18032 wxTextEntryDialog *result = 0 ;
18033 void *argp1 = 0 ;
18034 int res1 = 0 ;
18035 bool temp2 = false ;
18036 bool temp3 = false ;
18037 bool temp4 = false ;
18038 long val5 ;
18039 int ecode5 = 0 ;
18040 wxPoint temp6 ;
18041 PyObject * obj0 = 0 ;
18042 PyObject * obj1 = 0 ;
18043 PyObject * obj2 = 0 ;
18044 PyObject * obj3 = 0 ;
18045 PyObject * obj4 = 0 ;
18046 PyObject * obj5 = 0 ;
18047 char * kwnames[] = {
18048 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18049 };
18050
18051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18053 if (!SWIG_IsOK(res1)) {
18054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18055 }
18056 arg1 = reinterpret_cast< wxWindow * >(argp1);
18057 {
18058 arg2 = wxString_in_helper(obj1);
18059 if (arg2 == NULL) SWIG_fail;
18060 temp2 = true;
18061 }
18062 if (obj2) {
18063 {
18064 arg3 = wxString_in_helper(obj2);
18065 if (arg3 == NULL) SWIG_fail;
18066 temp3 = true;
18067 }
18068 }
18069 if (obj3) {
18070 {
18071 arg4 = wxString_in_helper(obj3);
18072 if (arg4 == NULL) SWIG_fail;
18073 temp4 = true;
18074 }
18075 }
18076 if (obj4) {
18077 ecode5 = SWIG_AsVal_long(obj4, &val5);
18078 if (!SWIG_IsOK(ecode5)) {
18079 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18080 }
18081 arg5 = static_cast< long >(val5);
18082 }
18083 if (obj5) {
18084 {
18085 arg6 = &temp6;
18086 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18087 }
18088 }
18089 {
18090 if (!wxPyCheckForApp()) SWIG_fail;
18091 PyThreadState* __tstate = wxPyBeginAllowThreads();
18092 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18093 wxPyEndAllowThreads(__tstate);
18094 if (PyErr_Occurred()) SWIG_fail;
18095 }
18096 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18097 {
18098 if (temp2)
18099 delete arg2;
18100 }
18101 {
18102 if (temp3)
18103 delete arg3;
18104 }
18105 {
18106 if (temp4)
18107 delete arg4;
18108 }
18109 return resultobj;
18110 fail:
18111 {
18112 if (temp2)
18113 delete arg2;
18114 }
18115 {
18116 if (temp3)
18117 delete arg3;
18118 }
18119 {
18120 if (temp4)
18121 delete arg4;
18122 }
18123 return NULL;
18124 }
18125
18126
18127 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18128 PyObject *resultobj = 0;
18129 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18130 wxString result;
18131 void *argp1 = 0 ;
18132 int res1 = 0 ;
18133 PyObject *swig_obj[1] ;
18134
18135 if (!args) SWIG_fail;
18136 swig_obj[0] = args;
18137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18138 if (!SWIG_IsOK(res1)) {
18139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18140 }
18141 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18142 {
18143 PyThreadState* __tstate = wxPyBeginAllowThreads();
18144 result = (arg1)->GetValue();
18145 wxPyEndAllowThreads(__tstate);
18146 if (PyErr_Occurred()) SWIG_fail;
18147 }
18148 {
18149 #if wxUSE_UNICODE
18150 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18151 #else
18152 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18153 #endif
18154 }
18155 return resultobj;
18156 fail:
18157 return NULL;
18158 }
18159
18160
18161 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18162 PyObject *resultobj = 0;
18163 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18164 wxString *arg2 = 0 ;
18165 void *argp1 = 0 ;
18166 int res1 = 0 ;
18167 bool temp2 = false ;
18168 PyObject * obj0 = 0 ;
18169 PyObject * obj1 = 0 ;
18170 char * kwnames[] = {
18171 (char *) "self",(char *) "value", NULL
18172 };
18173
18174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18176 if (!SWIG_IsOK(res1)) {
18177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18178 }
18179 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18180 {
18181 arg2 = wxString_in_helper(obj1);
18182 if (arg2 == NULL) SWIG_fail;
18183 temp2 = true;
18184 }
18185 {
18186 PyThreadState* __tstate = wxPyBeginAllowThreads();
18187 (arg1)->SetValue((wxString const &)*arg2);
18188 wxPyEndAllowThreads(__tstate);
18189 if (PyErr_Occurred()) SWIG_fail;
18190 }
18191 resultobj = SWIG_Py_Void();
18192 {
18193 if (temp2)
18194 delete arg2;
18195 }
18196 return resultobj;
18197 fail:
18198 {
18199 if (temp2)
18200 delete arg2;
18201 }
18202 return NULL;
18203 }
18204
18205
18206 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18207 PyObject *obj;
18208 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18209 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18210 return SWIG_Py_Void();
18211 }
18212
18213 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18214 return SWIG_Python_InitShadowInstance(args);
18215 }
18216
18217 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18218 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18219 return 1;
18220 }
18221
18222
18223 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18224 PyObject *pyobj = 0;
18225
18226 {
18227 #if wxUSE_UNICODE
18228 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18229 #else
18230 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18231 #endif
18232 }
18233 return pyobj;
18234 }
18235
18236
18237 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18238 PyObject *resultobj = 0;
18239 wxWindow *arg1 = (wxWindow *) 0 ;
18240 wxString *arg2 = 0 ;
18241 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18242 wxString *arg3 = (wxString *) &arg3_defvalue ;
18243 wxString const &arg4_defvalue = wxPyEmptyString ;
18244 wxString *arg4 = (wxString *) &arg4_defvalue ;
18245 long arg5 = (long) wxTextEntryDialogStyle ;
18246 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18247 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18248 wxPasswordEntryDialog *result = 0 ;
18249 void *argp1 = 0 ;
18250 int res1 = 0 ;
18251 bool temp2 = false ;
18252 bool temp3 = false ;
18253 bool temp4 = false ;
18254 long val5 ;
18255 int ecode5 = 0 ;
18256 wxPoint temp6 ;
18257 PyObject * obj0 = 0 ;
18258 PyObject * obj1 = 0 ;
18259 PyObject * obj2 = 0 ;
18260 PyObject * obj3 = 0 ;
18261 PyObject * obj4 = 0 ;
18262 PyObject * obj5 = 0 ;
18263 char * kwnames[] = {
18264 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18265 };
18266
18267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18269 if (!SWIG_IsOK(res1)) {
18270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18271 }
18272 arg1 = reinterpret_cast< wxWindow * >(argp1);
18273 {
18274 arg2 = wxString_in_helper(obj1);
18275 if (arg2 == NULL) SWIG_fail;
18276 temp2 = true;
18277 }
18278 if (obj2) {
18279 {
18280 arg3 = wxString_in_helper(obj2);
18281 if (arg3 == NULL) SWIG_fail;
18282 temp3 = true;
18283 }
18284 }
18285 if (obj3) {
18286 {
18287 arg4 = wxString_in_helper(obj3);
18288 if (arg4 == NULL) SWIG_fail;
18289 temp4 = true;
18290 }
18291 }
18292 if (obj4) {
18293 ecode5 = SWIG_AsVal_long(obj4, &val5);
18294 if (!SWIG_IsOK(ecode5)) {
18295 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18296 }
18297 arg5 = static_cast< long >(val5);
18298 }
18299 if (obj5) {
18300 {
18301 arg6 = &temp6;
18302 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18303 }
18304 }
18305 {
18306 PyThreadState* __tstate = wxPyBeginAllowThreads();
18307 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18308 wxPyEndAllowThreads(__tstate);
18309 if (PyErr_Occurred()) SWIG_fail;
18310 }
18311 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18312 {
18313 if (temp2)
18314 delete arg2;
18315 }
18316 {
18317 if (temp3)
18318 delete arg3;
18319 }
18320 {
18321 if (temp4)
18322 delete arg4;
18323 }
18324 return resultobj;
18325 fail:
18326 {
18327 if (temp2)
18328 delete arg2;
18329 }
18330 {
18331 if (temp3)
18332 delete arg3;
18333 }
18334 {
18335 if (temp4)
18336 delete arg4;
18337 }
18338 return NULL;
18339 }
18340
18341
18342 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18343 PyObject *obj;
18344 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18345 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18346 return SWIG_Py_Void();
18347 }
18348
18349 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18350 return SWIG_Python_InitShadowInstance(args);
18351 }
18352
18353 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18354 PyObject *resultobj = 0;
18355 wxFontData *result = 0 ;
18356
18357 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18358 {
18359 PyThreadState* __tstate = wxPyBeginAllowThreads();
18360 result = (wxFontData *)new wxFontData();
18361 wxPyEndAllowThreads(__tstate);
18362 if (PyErr_Occurred()) SWIG_fail;
18363 }
18364 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18365 return resultobj;
18366 fail:
18367 return NULL;
18368 }
18369
18370
18371 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18372 PyObject *resultobj = 0;
18373 wxFontData *arg1 = (wxFontData *) 0 ;
18374 void *argp1 = 0 ;
18375 int res1 = 0 ;
18376 PyObject *swig_obj[1] ;
18377
18378 if (!args) SWIG_fail;
18379 swig_obj[0] = args;
18380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18381 if (!SWIG_IsOK(res1)) {
18382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18383 }
18384 arg1 = reinterpret_cast< wxFontData * >(argp1);
18385 {
18386 PyThreadState* __tstate = wxPyBeginAllowThreads();
18387 delete arg1;
18388
18389 wxPyEndAllowThreads(__tstate);
18390 if (PyErr_Occurred()) SWIG_fail;
18391 }
18392 resultobj = SWIG_Py_Void();
18393 return resultobj;
18394 fail:
18395 return NULL;
18396 }
18397
18398
18399 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18400 PyObject *resultobj = 0;
18401 wxFontData *arg1 = (wxFontData *) 0 ;
18402 bool arg2 ;
18403 void *argp1 = 0 ;
18404 int res1 = 0 ;
18405 bool val2 ;
18406 int ecode2 = 0 ;
18407 PyObject * obj0 = 0 ;
18408 PyObject * obj1 = 0 ;
18409 char * kwnames[] = {
18410 (char *) "self",(char *) "enable", NULL
18411 };
18412
18413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18415 if (!SWIG_IsOK(res1)) {
18416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18417 }
18418 arg1 = reinterpret_cast< wxFontData * >(argp1);
18419 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18420 if (!SWIG_IsOK(ecode2)) {
18421 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18422 }
18423 arg2 = static_cast< bool >(val2);
18424 {
18425 PyThreadState* __tstate = wxPyBeginAllowThreads();
18426 (arg1)->EnableEffects(arg2);
18427 wxPyEndAllowThreads(__tstate);
18428 if (PyErr_Occurred()) SWIG_fail;
18429 }
18430 resultobj = SWIG_Py_Void();
18431 return resultobj;
18432 fail:
18433 return NULL;
18434 }
18435
18436
18437 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18438 PyObject *resultobj = 0;
18439 wxFontData *arg1 = (wxFontData *) 0 ;
18440 bool result;
18441 void *argp1 = 0 ;
18442 int res1 = 0 ;
18443 PyObject *swig_obj[1] ;
18444
18445 if (!args) SWIG_fail;
18446 swig_obj[0] = args;
18447 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18448 if (!SWIG_IsOK(res1)) {
18449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18450 }
18451 arg1 = reinterpret_cast< wxFontData * >(argp1);
18452 {
18453 PyThreadState* __tstate = wxPyBeginAllowThreads();
18454 result = (bool)(arg1)->GetAllowSymbols();
18455 wxPyEndAllowThreads(__tstate);
18456 if (PyErr_Occurred()) SWIG_fail;
18457 }
18458 {
18459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18460 }
18461 return resultobj;
18462 fail:
18463 return NULL;
18464 }
18465
18466
18467 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18468 PyObject *resultobj = 0;
18469 wxFontData *arg1 = (wxFontData *) 0 ;
18470 wxColour result;
18471 void *argp1 = 0 ;
18472 int res1 = 0 ;
18473 PyObject *swig_obj[1] ;
18474
18475 if (!args) SWIG_fail;
18476 swig_obj[0] = args;
18477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18478 if (!SWIG_IsOK(res1)) {
18479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18480 }
18481 arg1 = reinterpret_cast< wxFontData * >(argp1);
18482 {
18483 PyThreadState* __tstate = wxPyBeginAllowThreads();
18484 result = (arg1)->GetColour();
18485 wxPyEndAllowThreads(__tstate);
18486 if (PyErr_Occurred()) SWIG_fail;
18487 }
18488 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18489 return resultobj;
18490 fail:
18491 return NULL;
18492 }
18493
18494
18495 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18496 PyObject *resultobj = 0;
18497 wxFontData *arg1 = (wxFontData *) 0 ;
18498 wxFont result;
18499 void *argp1 = 0 ;
18500 int res1 = 0 ;
18501 PyObject *swig_obj[1] ;
18502
18503 if (!args) SWIG_fail;
18504 swig_obj[0] = args;
18505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18506 if (!SWIG_IsOK(res1)) {
18507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18508 }
18509 arg1 = reinterpret_cast< wxFontData * >(argp1);
18510 {
18511 PyThreadState* __tstate = wxPyBeginAllowThreads();
18512 result = (arg1)->GetChosenFont();
18513 wxPyEndAllowThreads(__tstate);
18514 if (PyErr_Occurred()) SWIG_fail;
18515 }
18516 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18517 return resultobj;
18518 fail:
18519 return NULL;
18520 }
18521
18522
18523 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18524 PyObject *resultobj = 0;
18525 wxFontData *arg1 = (wxFontData *) 0 ;
18526 bool result;
18527 void *argp1 = 0 ;
18528 int res1 = 0 ;
18529 PyObject *swig_obj[1] ;
18530
18531 if (!args) SWIG_fail;
18532 swig_obj[0] = args;
18533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18534 if (!SWIG_IsOK(res1)) {
18535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18536 }
18537 arg1 = reinterpret_cast< wxFontData * >(argp1);
18538 {
18539 PyThreadState* __tstate = wxPyBeginAllowThreads();
18540 result = (bool)(arg1)->GetEnableEffects();
18541 wxPyEndAllowThreads(__tstate);
18542 if (PyErr_Occurred()) SWIG_fail;
18543 }
18544 {
18545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18546 }
18547 return resultobj;
18548 fail:
18549 return NULL;
18550 }
18551
18552
18553 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18554 PyObject *resultobj = 0;
18555 wxFontData *arg1 = (wxFontData *) 0 ;
18556 wxFont result;
18557 void *argp1 = 0 ;
18558 int res1 = 0 ;
18559 PyObject *swig_obj[1] ;
18560
18561 if (!args) SWIG_fail;
18562 swig_obj[0] = args;
18563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18564 if (!SWIG_IsOK(res1)) {
18565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18566 }
18567 arg1 = reinterpret_cast< wxFontData * >(argp1);
18568 {
18569 PyThreadState* __tstate = wxPyBeginAllowThreads();
18570 result = (arg1)->GetInitialFont();
18571 wxPyEndAllowThreads(__tstate);
18572 if (PyErr_Occurred()) SWIG_fail;
18573 }
18574 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18575 return resultobj;
18576 fail:
18577 return NULL;
18578 }
18579
18580
18581 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18582 PyObject *resultobj = 0;
18583 wxFontData *arg1 = (wxFontData *) 0 ;
18584 bool result;
18585 void *argp1 = 0 ;
18586 int res1 = 0 ;
18587 PyObject *swig_obj[1] ;
18588
18589 if (!args) SWIG_fail;
18590 swig_obj[0] = args;
18591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18592 if (!SWIG_IsOK(res1)) {
18593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18594 }
18595 arg1 = reinterpret_cast< wxFontData * >(argp1);
18596 {
18597 PyThreadState* __tstate = wxPyBeginAllowThreads();
18598 result = (bool)(arg1)->GetShowHelp();
18599 wxPyEndAllowThreads(__tstate);
18600 if (PyErr_Occurred()) SWIG_fail;
18601 }
18602 {
18603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18604 }
18605 return resultobj;
18606 fail:
18607 return NULL;
18608 }
18609
18610
18611 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18612 PyObject *resultobj = 0;
18613 wxFontData *arg1 = (wxFontData *) 0 ;
18614 bool arg2 ;
18615 void *argp1 = 0 ;
18616 int res1 = 0 ;
18617 bool val2 ;
18618 int ecode2 = 0 ;
18619 PyObject * obj0 = 0 ;
18620 PyObject * obj1 = 0 ;
18621 char * kwnames[] = {
18622 (char *) "self",(char *) "allowSymbols", NULL
18623 };
18624
18625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18627 if (!SWIG_IsOK(res1)) {
18628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18629 }
18630 arg1 = reinterpret_cast< wxFontData * >(argp1);
18631 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18632 if (!SWIG_IsOK(ecode2)) {
18633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18634 }
18635 arg2 = static_cast< bool >(val2);
18636 {
18637 PyThreadState* __tstate = wxPyBeginAllowThreads();
18638 (arg1)->SetAllowSymbols(arg2);
18639 wxPyEndAllowThreads(__tstate);
18640 if (PyErr_Occurred()) SWIG_fail;
18641 }
18642 resultobj = SWIG_Py_Void();
18643 return resultobj;
18644 fail:
18645 return NULL;
18646 }
18647
18648
18649 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18650 PyObject *resultobj = 0;
18651 wxFontData *arg1 = (wxFontData *) 0 ;
18652 wxFont *arg2 = 0 ;
18653 void *argp1 = 0 ;
18654 int res1 = 0 ;
18655 void *argp2 = 0 ;
18656 int res2 = 0 ;
18657 PyObject * obj0 = 0 ;
18658 PyObject * obj1 = 0 ;
18659 char * kwnames[] = {
18660 (char *) "self",(char *) "font", NULL
18661 };
18662
18663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18665 if (!SWIG_IsOK(res1)) {
18666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18667 }
18668 arg1 = reinterpret_cast< wxFontData * >(argp1);
18669 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18670 if (!SWIG_IsOK(res2)) {
18671 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18672 }
18673 if (!argp2) {
18674 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18675 }
18676 arg2 = reinterpret_cast< wxFont * >(argp2);
18677 {
18678 PyThreadState* __tstate = wxPyBeginAllowThreads();
18679 (arg1)->SetChosenFont((wxFont const &)*arg2);
18680 wxPyEndAllowThreads(__tstate);
18681 if (PyErr_Occurred()) SWIG_fail;
18682 }
18683 resultobj = SWIG_Py_Void();
18684 return resultobj;
18685 fail:
18686 return NULL;
18687 }
18688
18689
18690 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18691 PyObject *resultobj = 0;
18692 wxFontData *arg1 = (wxFontData *) 0 ;
18693 wxColour *arg2 = 0 ;
18694 void *argp1 = 0 ;
18695 int res1 = 0 ;
18696 wxColour temp2 ;
18697 PyObject * obj0 = 0 ;
18698 PyObject * obj1 = 0 ;
18699 char * kwnames[] = {
18700 (char *) "self",(char *) "colour", NULL
18701 };
18702
18703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18705 if (!SWIG_IsOK(res1)) {
18706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18707 }
18708 arg1 = reinterpret_cast< wxFontData * >(argp1);
18709 {
18710 arg2 = &temp2;
18711 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18712 }
18713 {
18714 PyThreadState* __tstate = wxPyBeginAllowThreads();
18715 (arg1)->SetColour((wxColour const &)*arg2);
18716 wxPyEndAllowThreads(__tstate);
18717 if (PyErr_Occurred()) SWIG_fail;
18718 }
18719 resultobj = SWIG_Py_Void();
18720 return resultobj;
18721 fail:
18722 return NULL;
18723 }
18724
18725
18726 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18727 PyObject *resultobj = 0;
18728 wxFontData *arg1 = (wxFontData *) 0 ;
18729 wxFont *arg2 = 0 ;
18730 void *argp1 = 0 ;
18731 int res1 = 0 ;
18732 void *argp2 = 0 ;
18733 int res2 = 0 ;
18734 PyObject * obj0 = 0 ;
18735 PyObject * obj1 = 0 ;
18736 char * kwnames[] = {
18737 (char *) "self",(char *) "font", NULL
18738 };
18739
18740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18742 if (!SWIG_IsOK(res1)) {
18743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18744 }
18745 arg1 = reinterpret_cast< wxFontData * >(argp1);
18746 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18747 if (!SWIG_IsOK(res2)) {
18748 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18749 }
18750 if (!argp2) {
18751 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18752 }
18753 arg2 = reinterpret_cast< wxFont * >(argp2);
18754 {
18755 PyThreadState* __tstate = wxPyBeginAllowThreads();
18756 (arg1)->SetInitialFont((wxFont const &)*arg2);
18757 wxPyEndAllowThreads(__tstate);
18758 if (PyErr_Occurred()) SWIG_fail;
18759 }
18760 resultobj = SWIG_Py_Void();
18761 return resultobj;
18762 fail:
18763 return NULL;
18764 }
18765
18766
18767 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18768 PyObject *resultobj = 0;
18769 wxFontData *arg1 = (wxFontData *) 0 ;
18770 int arg2 ;
18771 int arg3 ;
18772 void *argp1 = 0 ;
18773 int res1 = 0 ;
18774 int val2 ;
18775 int ecode2 = 0 ;
18776 int val3 ;
18777 int ecode3 = 0 ;
18778 PyObject * obj0 = 0 ;
18779 PyObject * obj1 = 0 ;
18780 PyObject * obj2 = 0 ;
18781 char * kwnames[] = {
18782 (char *) "self",(char *) "min",(char *) "max", NULL
18783 };
18784
18785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18787 if (!SWIG_IsOK(res1)) {
18788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18789 }
18790 arg1 = reinterpret_cast< wxFontData * >(argp1);
18791 ecode2 = SWIG_AsVal_int(obj1, &val2);
18792 if (!SWIG_IsOK(ecode2)) {
18793 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18794 }
18795 arg2 = static_cast< int >(val2);
18796 ecode3 = SWIG_AsVal_int(obj2, &val3);
18797 if (!SWIG_IsOK(ecode3)) {
18798 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18799 }
18800 arg3 = static_cast< int >(val3);
18801 {
18802 PyThreadState* __tstate = wxPyBeginAllowThreads();
18803 (arg1)->SetRange(arg2,arg3);
18804 wxPyEndAllowThreads(__tstate);
18805 if (PyErr_Occurred()) SWIG_fail;
18806 }
18807 resultobj = SWIG_Py_Void();
18808 return resultobj;
18809 fail:
18810 return NULL;
18811 }
18812
18813
18814 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18815 PyObject *resultobj = 0;
18816 wxFontData *arg1 = (wxFontData *) 0 ;
18817 bool arg2 ;
18818 void *argp1 = 0 ;
18819 int res1 = 0 ;
18820 bool val2 ;
18821 int ecode2 = 0 ;
18822 PyObject * obj0 = 0 ;
18823 PyObject * obj1 = 0 ;
18824 char * kwnames[] = {
18825 (char *) "self",(char *) "showHelp", NULL
18826 };
18827
18828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18830 if (!SWIG_IsOK(res1)) {
18831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18832 }
18833 arg1 = reinterpret_cast< wxFontData * >(argp1);
18834 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18835 if (!SWIG_IsOK(ecode2)) {
18836 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18837 }
18838 arg2 = static_cast< bool >(val2);
18839 {
18840 PyThreadState* __tstate = wxPyBeginAllowThreads();
18841 (arg1)->SetShowHelp(arg2);
18842 wxPyEndAllowThreads(__tstate);
18843 if (PyErr_Occurred()) SWIG_fail;
18844 }
18845 resultobj = SWIG_Py_Void();
18846 return resultobj;
18847 fail:
18848 return NULL;
18849 }
18850
18851
18852 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18853 PyObject *obj;
18854 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18855 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
18856 return SWIG_Py_Void();
18857 }
18858
18859 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18860 return SWIG_Python_InitShadowInstance(args);
18861 }
18862
18863 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18864 PyObject *resultobj = 0;
18865 wxWindow *arg1 = (wxWindow *) 0 ;
18866 wxFontData *arg2 = 0 ;
18867 wxFontDialog *result = 0 ;
18868 void *argp1 = 0 ;
18869 int res1 = 0 ;
18870 void *argp2 = 0 ;
18871 int res2 = 0 ;
18872 PyObject * obj0 = 0 ;
18873 PyObject * obj1 = 0 ;
18874 char * kwnames[] = {
18875 (char *) "parent",(char *) "data", NULL
18876 };
18877
18878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
18879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18880 if (!SWIG_IsOK(res1)) {
18881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18882 }
18883 arg1 = reinterpret_cast< wxWindow * >(argp1);
18884 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
18885 if (!SWIG_IsOK(res2)) {
18886 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18887 }
18888 if (!argp2) {
18889 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18890 }
18891 arg2 = reinterpret_cast< wxFontData * >(argp2);
18892 {
18893 if (!wxPyCheckForApp()) SWIG_fail;
18894 PyThreadState* __tstate = wxPyBeginAllowThreads();
18895 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
18896 wxPyEndAllowThreads(__tstate);
18897 if (PyErr_Occurred()) SWIG_fail;
18898 }
18899 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
18900 return resultobj;
18901 fail:
18902 return NULL;
18903 }
18904
18905
18906 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18907 PyObject *resultobj = 0;
18908 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
18909 wxFontData *result = 0 ;
18910 void *argp1 = 0 ;
18911 int res1 = 0 ;
18912 PyObject *swig_obj[1] ;
18913
18914 if (!args) SWIG_fail;
18915 swig_obj[0] = args;
18916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
18917 if (!SWIG_IsOK(res1)) {
18918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18919 }
18920 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
18921 {
18922 PyThreadState* __tstate = wxPyBeginAllowThreads();
18923 {
18924 wxFontData &_result_ref = (arg1)->GetFontData();
18925 result = (wxFontData *) &_result_ref;
18926 }
18927 wxPyEndAllowThreads(__tstate);
18928 if (PyErr_Occurred()) SWIG_fail;
18929 }
18930 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
18931 return resultobj;
18932 fail:
18933 return NULL;
18934 }
18935
18936
18937 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18938 PyObject *obj;
18939 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18940 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
18941 return SWIG_Py_Void();
18942 }
18943
18944 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18945 return SWIG_Python_InitShadowInstance(args);
18946 }
18947
18948 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18949 PyObject *resultobj = 0;
18950 wxWindow *arg1 = (wxWindow *) NULL ;
18951 wxFont const &arg2_defvalue = wxNullFont ;
18952 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
18953 wxString const &arg3_defvalue = wxPyEmptyString ;
18954 wxString *arg3 = (wxString *) &arg3_defvalue ;
18955 wxFont result;
18956 void *argp1 = 0 ;
18957 int res1 = 0 ;
18958 void *argp2 = 0 ;
18959 int res2 = 0 ;
18960 bool temp3 = false ;
18961 PyObject * obj0 = 0 ;
18962 PyObject * obj1 = 0 ;
18963 PyObject * obj2 = 0 ;
18964 char * kwnames[] = {
18965 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18966 };
18967
18968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18969 if (obj0) {
18970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18971 if (!SWIG_IsOK(res1)) {
18972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18973 }
18974 arg1 = reinterpret_cast< wxWindow * >(argp1);
18975 }
18976 if (obj1) {
18977 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18978 if (!SWIG_IsOK(res2)) {
18979 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18980 }
18981 if (!argp2) {
18982 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18983 }
18984 arg2 = reinterpret_cast< wxFont * >(argp2);
18985 }
18986 if (obj2) {
18987 {
18988 arg3 = wxString_in_helper(obj2);
18989 if (arg3 == NULL) SWIG_fail;
18990 temp3 = true;
18991 }
18992 }
18993 {
18994 PyThreadState* __tstate = wxPyBeginAllowThreads();
18995 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
18996 wxPyEndAllowThreads(__tstate);
18997 if (PyErr_Occurred()) SWIG_fail;
18998 }
18999 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19000 {
19001 if (temp3)
19002 delete arg3;
19003 }
19004 return resultobj;
19005 fail:
19006 {
19007 if (temp3)
19008 delete arg3;
19009 }
19010 return NULL;
19011 }
19012
19013
19014 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19015 PyObject *resultobj = 0;
19016 wxWindow *arg1 = (wxWindow *) 0 ;
19017 wxString *arg2 = 0 ;
19018 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19019 wxString *arg3 = (wxString *) &arg3_defvalue ;
19020 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19021 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19022 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19023 wxMessageDialog *result = 0 ;
19024 void *argp1 = 0 ;
19025 int res1 = 0 ;
19026 bool temp2 = false ;
19027 bool temp3 = false ;
19028 long val4 ;
19029 int ecode4 = 0 ;
19030 wxPoint temp5 ;
19031 PyObject * obj0 = 0 ;
19032 PyObject * obj1 = 0 ;
19033 PyObject * obj2 = 0 ;
19034 PyObject * obj3 = 0 ;
19035 PyObject * obj4 = 0 ;
19036 char * kwnames[] = {
19037 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19038 };
19039
19040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19042 if (!SWIG_IsOK(res1)) {
19043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19044 }
19045 arg1 = reinterpret_cast< wxWindow * >(argp1);
19046 {
19047 arg2 = wxString_in_helper(obj1);
19048 if (arg2 == NULL) SWIG_fail;
19049 temp2 = true;
19050 }
19051 if (obj2) {
19052 {
19053 arg3 = wxString_in_helper(obj2);
19054 if (arg3 == NULL) SWIG_fail;
19055 temp3 = true;
19056 }
19057 }
19058 if (obj3) {
19059 ecode4 = SWIG_AsVal_long(obj3, &val4);
19060 if (!SWIG_IsOK(ecode4)) {
19061 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19062 }
19063 arg4 = static_cast< long >(val4);
19064 }
19065 if (obj4) {
19066 {
19067 arg5 = &temp5;
19068 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19069 }
19070 }
19071 {
19072 if (!wxPyCheckForApp()) SWIG_fail;
19073 PyThreadState* __tstate = wxPyBeginAllowThreads();
19074 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19075 wxPyEndAllowThreads(__tstate);
19076 if (PyErr_Occurred()) SWIG_fail;
19077 }
19078 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19079 {
19080 if (temp2)
19081 delete arg2;
19082 }
19083 {
19084 if (temp3)
19085 delete arg3;
19086 }
19087 return resultobj;
19088 fail:
19089 {
19090 if (temp2)
19091 delete arg2;
19092 }
19093 {
19094 if (temp3)
19095 delete arg3;
19096 }
19097 return NULL;
19098 }
19099
19100
19101 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19102 PyObject *obj;
19103 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19104 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19105 return SWIG_Py_Void();
19106 }
19107
19108 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19109 return SWIG_Python_InitShadowInstance(args);
19110 }
19111
19112 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19113 PyObject *resultobj = 0;
19114 wxString *arg1 = 0 ;
19115 wxString *arg2 = 0 ;
19116 int arg3 = (int) 100 ;
19117 wxWindow *arg4 = (wxWindow *) NULL ;
19118 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19119 wxProgressDialog *result = 0 ;
19120 bool temp1 = false ;
19121 bool temp2 = false ;
19122 int val3 ;
19123 int ecode3 = 0 ;
19124 void *argp4 = 0 ;
19125 int res4 = 0 ;
19126 int val5 ;
19127 int ecode5 = 0 ;
19128 PyObject * obj0 = 0 ;
19129 PyObject * obj1 = 0 ;
19130 PyObject * obj2 = 0 ;
19131 PyObject * obj3 = 0 ;
19132 PyObject * obj4 = 0 ;
19133 char * kwnames[] = {
19134 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19135 };
19136
19137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19138 {
19139 arg1 = wxString_in_helper(obj0);
19140 if (arg1 == NULL) SWIG_fail;
19141 temp1 = true;
19142 }
19143 {
19144 arg2 = wxString_in_helper(obj1);
19145 if (arg2 == NULL) SWIG_fail;
19146 temp2 = true;
19147 }
19148 if (obj2) {
19149 ecode3 = SWIG_AsVal_int(obj2, &val3);
19150 if (!SWIG_IsOK(ecode3)) {
19151 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19152 }
19153 arg3 = static_cast< int >(val3);
19154 }
19155 if (obj3) {
19156 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19157 if (!SWIG_IsOK(res4)) {
19158 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19159 }
19160 arg4 = reinterpret_cast< wxWindow * >(argp4);
19161 }
19162 if (obj4) {
19163 ecode5 = SWIG_AsVal_int(obj4, &val5);
19164 if (!SWIG_IsOK(ecode5)) {
19165 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19166 }
19167 arg5 = static_cast< int >(val5);
19168 }
19169 {
19170 if (!wxPyCheckForApp()) SWIG_fail;
19171 PyThreadState* __tstate = wxPyBeginAllowThreads();
19172 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19173 wxPyEndAllowThreads(__tstate);
19174 if (PyErr_Occurred()) SWIG_fail;
19175 }
19176 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19177 {
19178 if (temp1)
19179 delete arg1;
19180 }
19181 {
19182 if (temp2)
19183 delete arg2;
19184 }
19185 return resultobj;
19186 fail:
19187 {
19188 if (temp1)
19189 delete arg1;
19190 }
19191 {
19192 if (temp2)
19193 delete arg2;
19194 }
19195 return NULL;
19196 }
19197
19198
19199 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19200 PyObject *resultobj = 0;
19201 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19202 int arg2 ;
19203 wxString const &arg3_defvalue = wxPyEmptyString ;
19204 wxString *arg3 = (wxString *) &arg3_defvalue ;
19205 bool result;
19206 void *argp1 = 0 ;
19207 int res1 = 0 ;
19208 int val2 ;
19209 int ecode2 = 0 ;
19210 bool temp3 = false ;
19211 PyObject * obj0 = 0 ;
19212 PyObject * obj1 = 0 ;
19213 PyObject * obj2 = 0 ;
19214 char * kwnames[] = {
19215 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19216 };
19217
19218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19220 if (!SWIG_IsOK(res1)) {
19221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19222 }
19223 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19224 ecode2 = SWIG_AsVal_int(obj1, &val2);
19225 if (!SWIG_IsOK(ecode2)) {
19226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19227 }
19228 arg2 = static_cast< int >(val2);
19229 if (obj2) {
19230 {
19231 arg3 = wxString_in_helper(obj2);
19232 if (arg3 == NULL) SWIG_fail;
19233 temp3 = true;
19234 }
19235 }
19236 {
19237 PyThreadState* __tstate = wxPyBeginAllowThreads();
19238 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
19239 wxPyEndAllowThreads(__tstate);
19240 if (PyErr_Occurred()) SWIG_fail;
19241 }
19242 {
19243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19244 }
19245 {
19246 if (temp3)
19247 delete arg3;
19248 }
19249 return resultobj;
19250 fail:
19251 {
19252 if (temp3)
19253 delete arg3;
19254 }
19255 return NULL;
19256 }
19257
19258
19259 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19260 PyObject *resultobj = 0;
19261 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19262 void *argp1 = 0 ;
19263 int res1 = 0 ;
19264 PyObject *swig_obj[1] ;
19265
19266 if (!args) SWIG_fail;
19267 swig_obj[0] = args;
19268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19269 if (!SWIG_IsOK(res1)) {
19270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19271 }
19272 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19273 {
19274 PyThreadState* __tstate = wxPyBeginAllowThreads();
19275 (arg1)->Resume();
19276 wxPyEndAllowThreads(__tstate);
19277 if (PyErr_Occurred()) SWIG_fail;
19278 }
19279 resultobj = SWIG_Py_Void();
19280 return resultobj;
19281 fail:
19282 return NULL;
19283 }
19284
19285
19286 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19287 PyObject *obj;
19288 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19289 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19290 return SWIG_Py_Void();
19291 }
19292
19293 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19294 return SWIG_Python_InitShadowInstance(args);
19295 }
19296
19297 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19298 PyObject *resultobj = 0;
19299 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19300 int arg2 = (int) 0 ;
19301 wxFindDialogEvent *result = 0 ;
19302 int val1 ;
19303 int ecode1 = 0 ;
19304 int val2 ;
19305 int ecode2 = 0 ;
19306 PyObject * obj0 = 0 ;
19307 PyObject * obj1 = 0 ;
19308 char * kwnames[] = {
19309 (char *) "commandType",(char *) "id", NULL
19310 };
19311
19312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19313 if (obj0) {
19314 ecode1 = SWIG_AsVal_int(obj0, &val1);
19315 if (!SWIG_IsOK(ecode1)) {
19316 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19317 }
19318 arg1 = static_cast< wxEventType >(val1);
19319 }
19320 if (obj1) {
19321 ecode2 = SWIG_AsVal_int(obj1, &val2);
19322 if (!SWIG_IsOK(ecode2)) {
19323 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19324 }
19325 arg2 = static_cast< int >(val2);
19326 }
19327 {
19328 PyThreadState* __tstate = wxPyBeginAllowThreads();
19329 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19330 wxPyEndAllowThreads(__tstate);
19331 if (PyErr_Occurred()) SWIG_fail;
19332 }
19333 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19334 return resultobj;
19335 fail:
19336 return NULL;
19337 }
19338
19339
19340 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19341 PyObject *resultobj = 0;
19342 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19343 int result;
19344 void *argp1 = 0 ;
19345 int res1 = 0 ;
19346 PyObject *swig_obj[1] ;
19347
19348 if (!args) SWIG_fail;
19349 swig_obj[0] = args;
19350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19351 if (!SWIG_IsOK(res1)) {
19352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19353 }
19354 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19355 {
19356 PyThreadState* __tstate = wxPyBeginAllowThreads();
19357 result = (int)(arg1)->GetFlags();
19358 wxPyEndAllowThreads(__tstate);
19359 if (PyErr_Occurred()) SWIG_fail;
19360 }
19361 resultobj = SWIG_From_int(static_cast< int >(result));
19362 return resultobj;
19363 fail:
19364 return NULL;
19365 }
19366
19367
19368 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19369 PyObject *resultobj = 0;
19370 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19371 wxString *result = 0 ;
19372 void *argp1 = 0 ;
19373 int res1 = 0 ;
19374 PyObject *swig_obj[1] ;
19375
19376 if (!args) SWIG_fail;
19377 swig_obj[0] = args;
19378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19379 if (!SWIG_IsOK(res1)) {
19380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19381 }
19382 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19383 {
19384 PyThreadState* __tstate = wxPyBeginAllowThreads();
19385 {
19386 wxString const &_result_ref = (arg1)->GetFindString();
19387 result = (wxString *) &_result_ref;
19388 }
19389 wxPyEndAllowThreads(__tstate);
19390 if (PyErr_Occurred()) SWIG_fail;
19391 }
19392 {
19393 #if wxUSE_UNICODE
19394 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19395 #else
19396 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19397 #endif
19398 }
19399 return resultobj;
19400 fail:
19401 return NULL;
19402 }
19403
19404
19405 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19406 PyObject *resultobj = 0;
19407 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19408 wxString *result = 0 ;
19409 void *argp1 = 0 ;
19410 int res1 = 0 ;
19411 PyObject *swig_obj[1] ;
19412
19413 if (!args) SWIG_fail;
19414 swig_obj[0] = args;
19415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19416 if (!SWIG_IsOK(res1)) {
19417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19418 }
19419 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19420 {
19421 PyThreadState* __tstate = wxPyBeginAllowThreads();
19422 {
19423 wxString const &_result_ref = (arg1)->GetReplaceString();
19424 result = (wxString *) &_result_ref;
19425 }
19426 wxPyEndAllowThreads(__tstate);
19427 if (PyErr_Occurred()) SWIG_fail;
19428 }
19429 {
19430 #if wxUSE_UNICODE
19431 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19432 #else
19433 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19434 #endif
19435 }
19436 return resultobj;
19437 fail:
19438 return NULL;
19439 }
19440
19441
19442 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19443 PyObject *resultobj = 0;
19444 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19445 wxFindReplaceDialog *result = 0 ;
19446 void *argp1 = 0 ;
19447 int res1 = 0 ;
19448 PyObject *swig_obj[1] ;
19449
19450 if (!args) SWIG_fail;
19451 swig_obj[0] = args;
19452 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19453 if (!SWIG_IsOK(res1)) {
19454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19455 }
19456 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19457 {
19458 PyThreadState* __tstate = wxPyBeginAllowThreads();
19459 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19460 wxPyEndAllowThreads(__tstate);
19461 if (PyErr_Occurred()) SWIG_fail;
19462 }
19463 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19464 return resultobj;
19465 fail:
19466 return NULL;
19467 }
19468
19469
19470 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19471 PyObject *resultobj = 0;
19472 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19473 int arg2 ;
19474 void *argp1 = 0 ;
19475 int res1 = 0 ;
19476 int val2 ;
19477 int ecode2 = 0 ;
19478 PyObject * obj0 = 0 ;
19479 PyObject * obj1 = 0 ;
19480 char * kwnames[] = {
19481 (char *) "self",(char *) "flags", NULL
19482 };
19483
19484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19486 if (!SWIG_IsOK(res1)) {
19487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19488 }
19489 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19490 ecode2 = SWIG_AsVal_int(obj1, &val2);
19491 if (!SWIG_IsOK(ecode2)) {
19492 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19493 }
19494 arg2 = static_cast< int >(val2);
19495 {
19496 PyThreadState* __tstate = wxPyBeginAllowThreads();
19497 (arg1)->SetFlags(arg2);
19498 wxPyEndAllowThreads(__tstate);
19499 if (PyErr_Occurred()) SWIG_fail;
19500 }
19501 resultobj = SWIG_Py_Void();
19502 return resultobj;
19503 fail:
19504 return NULL;
19505 }
19506
19507
19508 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19509 PyObject *resultobj = 0;
19510 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19511 wxString *arg2 = 0 ;
19512 void *argp1 = 0 ;
19513 int res1 = 0 ;
19514 bool temp2 = false ;
19515 PyObject * obj0 = 0 ;
19516 PyObject * obj1 = 0 ;
19517 char * kwnames[] = {
19518 (char *) "self",(char *) "str", NULL
19519 };
19520
19521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19523 if (!SWIG_IsOK(res1)) {
19524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19525 }
19526 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19527 {
19528 arg2 = wxString_in_helper(obj1);
19529 if (arg2 == NULL) SWIG_fail;
19530 temp2 = true;
19531 }
19532 {
19533 PyThreadState* __tstate = wxPyBeginAllowThreads();
19534 (arg1)->SetFindString((wxString const &)*arg2);
19535 wxPyEndAllowThreads(__tstate);
19536 if (PyErr_Occurred()) SWIG_fail;
19537 }
19538 resultobj = SWIG_Py_Void();
19539 {
19540 if (temp2)
19541 delete arg2;
19542 }
19543 return resultobj;
19544 fail:
19545 {
19546 if (temp2)
19547 delete arg2;
19548 }
19549 return NULL;
19550 }
19551
19552
19553 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19554 PyObject *resultobj = 0;
19555 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19556 wxString *arg2 = 0 ;
19557 void *argp1 = 0 ;
19558 int res1 = 0 ;
19559 bool temp2 = false ;
19560 PyObject * obj0 = 0 ;
19561 PyObject * obj1 = 0 ;
19562 char * kwnames[] = {
19563 (char *) "self",(char *) "str", NULL
19564 };
19565
19566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19568 if (!SWIG_IsOK(res1)) {
19569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19570 }
19571 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19572 {
19573 arg2 = wxString_in_helper(obj1);
19574 if (arg2 == NULL) SWIG_fail;
19575 temp2 = true;
19576 }
19577 {
19578 PyThreadState* __tstate = wxPyBeginAllowThreads();
19579 (arg1)->SetReplaceString((wxString const &)*arg2);
19580 wxPyEndAllowThreads(__tstate);
19581 if (PyErr_Occurred()) SWIG_fail;
19582 }
19583 resultobj = SWIG_Py_Void();
19584 {
19585 if (temp2)
19586 delete arg2;
19587 }
19588 return resultobj;
19589 fail:
19590 {
19591 if (temp2)
19592 delete arg2;
19593 }
19594 return NULL;
19595 }
19596
19597
19598 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19599 PyObject *obj;
19600 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19601 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19602 return SWIG_Py_Void();
19603 }
19604
19605 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19606 return SWIG_Python_InitShadowInstance(args);
19607 }
19608
19609 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19610 PyObject *resultobj = 0;
19611 int arg1 = (int) 0 ;
19612 wxFindReplaceData *result = 0 ;
19613 int val1 ;
19614 int ecode1 = 0 ;
19615 PyObject * obj0 = 0 ;
19616 char * kwnames[] = {
19617 (char *) "flags", NULL
19618 };
19619
19620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19621 if (obj0) {
19622 ecode1 = SWIG_AsVal_int(obj0, &val1);
19623 if (!SWIG_IsOK(ecode1)) {
19624 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19625 }
19626 arg1 = static_cast< int >(val1);
19627 }
19628 {
19629 PyThreadState* __tstate = wxPyBeginAllowThreads();
19630 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19631 wxPyEndAllowThreads(__tstate);
19632 if (PyErr_Occurred()) SWIG_fail;
19633 }
19634 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19635 return resultobj;
19636 fail:
19637 return NULL;
19638 }
19639
19640
19641 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19642 PyObject *resultobj = 0;
19643 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19644 void *argp1 = 0 ;
19645 int res1 = 0 ;
19646 PyObject *swig_obj[1] ;
19647
19648 if (!args) SWIG_fail;
19649 swig_obj[0] = args;
19650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19651 if (!SWIG_IsOK(res1)) {
19652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19653 }
19654 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19655 {
19656 PyThreadState* __tstate = wxPyBeginAllowThreads();
19657 delete arg1;
19658
19659 wxPyEndAllowThreads(__tstate);
19660 if (PyErr_Occurred()) SWIG_fail;
19661 }
19662 resultobj = SWIG_Py_Void();
19663 return resultobj;
19664 fail:
19665 return NULL;
19666 }
19667
19668
19669 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19670 PyObject *resultobj = 0;
19671 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19672 wxString *result = 0 ;
19673 void *argp1 = 0 ;
19674 int res1 = 0 ;
19675 PyObject *swig_obj[1] ;
19676
19677 if (!args) SWIG_fail;
19678 swig_obj[0] = args;
19679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19680 if (!SWIG_IsOK(res1)) {
19681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19682 }
19683 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19684 {
19685 PyThreadState* __tstate = wxPyBeginAllowThreads();
19686 {
19687 wxString const &_result_ref = (arg1)->GetFindString();
19688 result = (wxString *) &_result_ref;
19689 }
19690 wxPyEndAllowThreads(__tstate);
19691 if (PyErr_Occurred()) SWIG_fail;
19692 }
19693 {
19694 #if wxUSE_UNICODE
19695 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19696 #else
19697 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19698 #endif
19699 }
19700 return resultobj;
19701 fail:
19702 return NULL;
19703 }
19704
19705
19706 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19707 PyObject *resultobj = 0;
19708 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19709 wxString *result = 0 ;
19710 void *argp1 = 0 ;
19711 int res1 = 0 ;
19712 PyObject *swig_obj[1] ;
19713
19714 if (!args) SWIG_fail;
19715 swig_obj[0] = args;
19716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19717 if (!SWIG_IsOK(res1)) {
19718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19719 }
19720 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19721 {
19722 PyThreadState* __tstate = wxPyBeginAllowThreads();
19723 {
19724 wxString const &_result_ref = (arg1)->GetReplaceString();
19725 result = (wxString *) &_result_ref;
19726 }
19727 wxPyEndAllowThreads(__tstate);
19728 if (PyErr_Occurred()) SWIG_fail;
19729 }
19730 {
19731 #if wxUSE_UNICODE
19732 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19733 #else
19734 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19735 #endif
19736 }
19737 return resultobj;
19738 fail:
19739 return NULL;
19740 }
19741
19742
19743 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19744 PyObject *resultobj = 0;
19745 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19746 int result;
19747 void *argp1 = 0 ;
19748 int res1 = 0 ;
19749 PyObject *swig_obj[1] ;
19750
19751 if (!args) SWIG_fail;
19752 swig_obj[0] = args;
19753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19754 if (!SWIG_IsOK(res1)) {
19755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19756 }
19757 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19758 {
19759 PyThreadState* __tstate = wxPyBeginAllowThreads();
19760 result = (int)(arg1)->GetFlags();
19761 wxPyEndAllowThreads(__tstate);
19762 if (PyErr_Occurred()) SWIG_fail;
19763 }
19764 resultobj = SWIG_From_int(static_cast< int >(result));
19765 return resultobj;
19766 fail:
19767 return NULL;
19768 }
19769
19770
19771 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19772 PyObject *resultobj = 0;
19773 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19774 int arg2 ;
19775 void *argp1 = 0 ;
19776 int res1 = 0 ;
19777 int val2 ;
19778 int ecode2 = 0 ;
19779 PyObject * obj0 = 0 ;
19780 PyObject * obj1 = 0 ;
19781 char * kwnames[] = {
19782 (char *) "self",(char *) "flags", NULL
19783 };
19784
19785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19787 if (!SWIG_IsOK(res1)) {
19788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19789 }
19790 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19791 ecode2 = SWIG_AsVal_int(obj1, &val2);
19792 if (!SWIG_IsOK(ecode2)) {
19793 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19794 }
19795 arg2 = static_cast< int >(val2);
19796 {
19797 PyThreadState* __tstate = wxPyBeginAllowThreads();
19798 (arg1)->SetFlags(arg2);
19799 wxPyEndAllowThreads(__tstate);
19800 if (PyErr_Occurred()) SWIG_fail;
19801 }
19802 resultobj = SWIG_Py_Void();
19803 return resultobj;
19804 fail:
19805 return NULL;
19806 }
19807
19808
19809 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19810 PyObject *resultobj = 0;
19811 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19812 wxString *arg2 = 0 ;
19813 void *argp1 = 0 ;
19814 int res1 = 0 ;
19815 bool temp2 = false ;
19816 PyObject * obj0 = 0 ;
19817 PyObject * obj1 = 0 ;
19818 char * kwnames[] = {
19819 (char *) "self",(char *) "str", NULL
19820 };
19821
19822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19824 if (!SWIG_IsOK(res1)) {
19825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19826 }
19827 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19828 {
19829 arg2 = wxString_in_helper(obj1);
19830 if (arg2 == NULL) SWIG_fail;
19831 temp2 = true;
19832 }
19833 {
19834 PyThreadState* __tstate = wxPyBeginAllowThreads();
19835 (arg1)->SetFindString((wxString const &)*arg2);
19836 wxPyEndAllowThreads(__tstate);
19837 if (PyErr_Occurred()) SWIG_fail;
19838 }
19839 resultobj = SWIG_Py_Void();
19840 {
19841 if (temp2)
19842 delete arg2;
19843 }
19844 return resultobj;
19845 fail:
19846 {
19847 if (temp2)
19848 delete arg2;
19849 }
19850 return NULL;
19851 }
19852
19853
19854 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19855 PyObject *resultobj = 0;
19856 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19857 wxString *arg2 = 0 ;
19858 void *argp1 = 0 ;
19859 int res1 = 0 ;
19860 bool temp2 = false ;
19861 PyObject * obj0 = 0 ;
19862 PyObject * obj1 = 0 ;
19863 char * kwnames[] = {
19864 (char *) "self",(char *) "str", NULL
19865 };
19866
19867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19869 if (!SWIG_IsOK(res1)) {
19870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19871 }
19872 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19873 {
19874 arg2 = wxString_in_helper(obj1);
19875 if (arg2 == NULL) SWIG_fail;
19876 temp2 = true;
19877 }
19878 {
19879 PyThreadState* __tstate = wxPyBeginAllowThreads();
19880 (arg1)->SetReplaceString((wxString const &)*arg2);
19881 wxPyEndAllowThreads(__tstate);
19882 if (PyErr_Occurred()) SWIG_fail;
19883 }
19884 resultobj = SWIG_Py_Void();
19885 {
19886 if (temp2)
19887 delete arg2;
19888 }
19889 return resultobj;
19890 fail:
19891 {
19892 if (temp2)
19893 delete arg2;
19894 }
19895 return NULL;
19896 }
19897
19898
19899 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19900 PyObject *obj;
19901 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19902 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
19903 return SWIG_Py_Void();
19904 }
19905
19906 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19907 return SWIG_Python_InitShadowInstance(args);
19908 }
19909
19910 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19911 PyObject *resultobj = 0;
19912 wxWindow *arg1 = (wxWindow *) 0 ;
19913 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
19914 wxString *arg3 = 0 ;
19915 int arg4 = (int) 0 ;
19916 wxFindReplaceDialog *result = 0 ;
19917 void *argp1 = 0 ;
19918 int res1 = 0 ;
19919 void *argp2 = 0 ;
19920 int res2 = 0 ;
19921 bool temp3 = false ;
19922 int val4 ;
19923 int ecode4 = 0 ;
19924 PyObject * obj0 = 0 ;
19925 PyObject * obj1 = 0 ;
19926 PyObject * obj2 = 0 ;
19927 PyObject * obj3 = 0 ;
19928 char * kwnames[] = {
19929 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19930 };
19931
19932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19934 if (!SWIG_IsOK(res1)) {
19935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19936 }
19937 arg1 = reinterpret_cast< wxWindow * >(argp1);
19938 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19939 if (!SWIG_IsOK(res2)) {
19940 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19941 }
19942 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
19943 {
19944 arg3 = wxString_in_helper(obj2);
19945 if (arg3 == NULL) SWIG_fail;
19946 temp3 = true;
19947 }
19948 if (obj3) {
19949 ecode4 = SWIG_AsVal_int(obj3, &val4);
19950 if (!SWIG_IsOK(ecode4)) {
19951 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19952 }
19953 arg4 = static_cast< int >(val4);
19954 }
19955 {
19956 if (!wxPyCheckForApp()) SWIG_fail;
19957 PyThreadState* __tstate = wxPyBeginAllowThreads();
19958 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
19959 wxPyEndAllowThreads(__tstate);
19960 if (PyErr_Occurred()) SWIG_fail;
19961 }
19962 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
19963 {
19964 if (temp3)
19965 delete arg3;
19966 }
19967 return resultobj;
19968 fail:
19969 {
19970 if (temp3)
19971 delete arg3;
19972 }
19973 return NULL;
19974 }
19975
19976
19977 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19978 PyObject *resultobj = 0;
19979 wxFindReplaceDialog *result = 0 ;
19980
19981 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
19982 {
19983 if (!wxPyCheckForApp()) SWIG_fail;
19984 PyThreadState* __tstate = wxPyBeginAllowThreads();
19985 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
19986 wxPyEndAllowThreads(__tstate);
19987 if (PyErr_Occurred()) SWIG_fail;
19988 }
19989 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
19990 return resultobj;
19991 fail:
19992 return NULL;
19993 }
19994
19995
19996 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19997 PyObject *resultobj = 0;
19998 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19999 wxWindow *arg2 = (wxWindow *) 0 ;
20000 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20001 wxString *arg4 = 0 ;
20002 int arg5 = (int) 0 ;
20003 bool result;
20004 void *argp1 = 0 ;
20005 int res1 = 0 ;
20006 void *argp2 = 0 ;
20007 int res2 = 0 ;
20008 void *argp3 = 0 ;
20009 int res3 = 0 ;
20010 bool temp4 = false ;
20011 int val5 ;
20012 int ecode5 = 0 ;
20013 PyObject * obj0 = 0 ;
20014 PyObject * obj1 = 0 ;
20015 PyObject * obj2 = 0 ;
20016 PyObject * obj3 = 0 ;
20017 PyObject * obj4 = 0 ;
20018 char * kwnames[] = {
20019 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20020 };
20021
20022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20024 if (!SWIG_IsOK(res1)) {
20025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20026 }
20027 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20028 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20029 if (!SWIG_IsOK(res2)) {
20030 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20031 }
20032 arg2 = reinterpret_cast< wxWindow * >(argp2);
20033 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20034 if (!SWIG_IsOK(res3)) {
20035 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20036 }
20037 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20038 {
20039 arg4 = wxString_in_helper(obj3);
20040 if (arg4 == NULL) SWIG_fail;
20041 temp4 = true;
20042 }
20043 if (obj4) {
20044 ecode5 = SWIG_AsVal_int(obj4, &val5);
20045 if (!SWIG_IsOK(ecode5)) {
20046 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20047 }
20048 arg5 = static_cast< int >(val5);
20049 }
20050 {
20051 PyThreadState* __tstate = wxPyBeginAllowThreads();
20052 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20053 wxPyEndAllowThreads(__tstate);
20054 if (PyErr_Occurred()) SWIG_fail;
20055 }
20056 {
20057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20058 }
20059 {
20060 if (temp4)
20061 delete arg4;
20062 }
20063 return resultobj;
20064 fail:
20065 {
20066 if (temp4)
20067 delete arg4;
20068 }
20069 return NULL;
20070 }
20071
20072
20073 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20074 PyObject *resultobj = 0;
20075 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20076 wxFindReplaceData *result = 0 ;
20077 void *argp1 = 0 ;
20078 int res1 = 0 ;
20079 PyObject *swig_obj[1] ;
20080
20081 if (!args) SWIG_fail;
20082 swig_obj[0] = args;
20083 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20084 if (!SWIG_IsOK(res1)) {
20085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20086 }
20087 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20088 {
20089 PyThreadState* __tstate = wxPyBeginAllowThreads();
20090 result = (wxFindReplaceData *)(arg1)->GetData();
20091 wxPyEndAllowThreads(__tstate);
20092 if (PyErr_Occurred()) SWIG_fail;
20093 }
20094 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20095 return resultobj;
20096 fail:
20097 return NULL;
20098 }
20099
20100
20101 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20102 PyObject *resultobj = 0;
20103 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20104 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20105 void *argp1 = 0 ;
20106 int res1 = 0 ;
20107 void *argp2 = 0 ;
20108 int res2 = 0 ;
20109 PyObject * obj0 = 0 ;
20110 PyObject * obj1 = 0 ;
20111 char * kwnames[] = {
20112 (char *) "self",(char *) "data", NULL
20113 };
20114
20115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20117 if (!SWIG_IsOK(res1)) {
20118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20119 }
20120 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20121 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20122 if (!SWIG_IsOK(res2)) {
20123 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20124 }
20125 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20126 {
20127 PyThreadState* __tstate = wxPyBeginAllowThreads();
20128 (arg1)->SetData(arg2);
20129 wxPyEndAllowThreads(__tstate);
20130 if (PyErr_Occurred()) SWIG_fail;
20131 }
20132 resultobj = SWIG_Py_Void();
20133 return resultobj;
20134 fail:
20135 return NULL;
20136 }
20137
20138
20139 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20140 PyObject *obj;
20141 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20142 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20143 return SWIG_Py_Void();
20144 }
20145
20146 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20147 return SWIG_Python_InitShadowInstance(args);
20148 }
20149
20150 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20151 PyObject *resultobj = 0;
20152 wxWindow *arg1 = (wxWindow *) 0 ;
20153 int arg2 = (int) (int)-1 ;
20154 wxString const &arg3_defvalue = wxPyEmptyString ;
20155 wxString *arg3 = (wxString *) &arg3_defvalue ;
20156 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20157 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20158 wxSize const &arg5_defvalue = wxDefaultSize ;
20159 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20160 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20161 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20162 wxString *arg7 = (wxString *) &arg7_defvalue ;
20163 wxMDIParentFrame *result = 0 ;
20164 void *argp1 = 0 ;
20165 int res1 = 0 ;
20166 int val2 ;
20167 int ecode2 = 0 ;
20168 bool temp3 = false ;
20169 wxPoint temp4 ;
20170 wxSize temp5 ;
20171 long val6 ;
20172 int ecode6 = 0 ;
20173 bool temp7 = false ;
20174 PyObject * obj0 = 0 ;
20175 PyObject * obj1 = 0 ;
20176 PyObject * obj2 = 0 ;
20177 PyObject * obj3 = 0 ;
20178 PyObject * obj4 = 0 ;
20179 PyObject * obj5 = 0 ;
20180 PyObject * obj6 = 0 ;
20181 char * kwnames[] = {
20182 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20183 };
20184
20185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20187 if (!SWIG_IsOK(res1)) {
20188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20189 }
20190 arg1 = reinterpret_cast< wxWindow * >(argp1);
20191 if (obj1) {
20192 ecode2 = SWIG_AsVal_int(obj1, &val2);
20193 if (!SWIG_IsOK(ecode2)) {
20194 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20195 }
20196 arg2 = static_cast< int >(val2);
20197 }
20198 if (obj2) {
20199 {
20200 arg3 = wxString_in_helper(obj2);
20201 if (arg3 == NULL) SWIG_fail;
20202 temp3 = true;
20203 }
20204 }
20205 if (obj3) {
20206 {
20207 arg4 = &temp4;
20208 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20209 }
20210 }
20211 if (obj4) {
20212 {
20213 arg5 = &temp5;
20214 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20215 }
20216 }
20217 if (obj5) {
20218 ecode6 = SWIG_AsVal_long(obj5, &val6);
20219 if (!SWIG_IsOK(ecode6)) {
20220 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20221 }
20222 arg6 = static_cast< long >(val6);
20223 }
20224 if (obj6) {
20225 {
20226 arg7 = wxString_in_helper(obj6);
20227 if (arg7 == NULL) SWIG_fail;
20228 temp7 = true;
20229 }
20230 }
20231 {
20232 if (!wxPyCheckForApp()) SWIG_fail;
20233 PyThreadState* __tstate = wxPyBeginAllowThreads();
20234 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20235 wxPyEndAllowThreads(__tstate);
20236 if (PyErr_Occurred()) SWIG_fail;
20237 }
20238 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20239 {
20240 if (temp3)
20241 delete arg3;
20242 }
20243 {
20244 if (temp7)
20245 delete arg7;
20246 }
20247 return resultobj;
20248 fail:
20249 {
20250 if (temp3)
20251 delete arg3;
20252 }
20253 {
20254 if (temp7)
20255 delete arg7;
20256 }
20257 return NULL;
20258 }
20259
20260
20261 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20262 PyObject *resultobj = 0;
20263 wxMDIParentFrame *result = 0 ;
20264
20265 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20266 {
20267 if (!wxPyCheckForApp()) SWIG_fail;
20268 PyThreadState* __tstate = wxPyBeginAllowThreads();
20269 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20270 wxPyEndAllowThreads(__tstate);
20271 if (PyErr_Occurred()) SWIG_fail;
20272 }
20273 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20274 return resultobj;
20275 fail:
20276 return NULL;
20277 }
20278
20279
20280 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20281 PyObject *resultobj = 0;
20282 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20283 wxWindow *arg2 = (wxWindow *) 0 ;
20284 int arg3 = (int) (int)-1 ;
20285 wxString const &arg4_defvalue = wxPyEmptyString ;
20286 wxString *arg4 = (wxString *) &arg4_defvalue ;
20287 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20288 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20289 wxSize const &arg6_defvalue = wxDefaultSize ;
20290 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20291 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20292 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20293 wxString *arg8 = (wxString *) &arg8_defvalue ;
20294 bool result;
20295 void *argp1 = 0 ;
20296 int res1 = 0 ;
20297 void *argp2 = 0 ;
20298 int res2 = 0 ;
20299 int val3 ;
20300 int ecode3 = 0 ;
20301 bool temp4 = false ;
20302 wxPoint temp5 ;
20303 wxSize temp6 ;
20304 long val7 ;
20305 int ecode7 = 0 ;
20306 bool temp8 = false ;
20307 PyObject * obj0 = 0 ;
20308 PyObject * obj1 = 0 ;
20309 PyObject * obj2 = 0 ;
20310 PyObject * obj3 = 0 ;
20311 PyObject * obj4 = 0 ;
20312 PyObject * obj5 = 0 ;
20313 PyObject * obj6 = 0 ;
20314 PyObject * obj7 = 0 ;
20315 char * kwnames[] = {
20316 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20317 };
20318
20319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20321 if (!SWIG_IsOK(res1)) {
20322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20323 }
20324 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20325 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20326 if (!SWIG_IsOK(res2)) {
20327 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20328 }
20329 arg2 = reinterpret_cast< wxWindow * >(argp2);
20330 if (obj2) {
20331 ecode3 = SWIG_AsVal_int(obj2, &val3);
20332 if (!SWIG_IsOK(ecode3)) {
20333 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20334 }
20335 arg3 = static_cast< int >(val3);
20336 }
20337 if (obj3) {
20338 {
20339 arg4 = wxString_in_helper(obj3);
20340 if (arg4 == NULL) SWIG_fail;
20341 temp4 = true;
20342 }
20343 }
20344 if (obj4) {
20345 {
20346 arg5 = &temp5;
20347 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20348 }
20349 }
20350 if (obj5) {
20351 {
20352 arg6 = &temp6;
20353 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20354 }
20355 }
20356 if (obj6) {
20357 ecode7 = SWIG_AsVal_long(obj6, &val7);
20358 if (!SWIG_IsOK(ecode7)) {
20359 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20360 }
20361 arg7 = static_cast< long >(val7);
20362 }
20363 if (obj7) {
20364 {
20365 arg8 = wxString_in_helper(obj7);
20366 if (arg8 == NULL) SWIG_fail;
20367 temp8 = true;
20368 }
20369 }
20370 {
20371 PyThreadState* __tstate = wxPyBeginAllowThreads();
20372 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20373 wxPyEndAllowThreads(__tstate);
20374 if (PyErr_Occurred()) SWIG_fail;
20375 }
20376 {
20377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20378 }
20379 {
20380 if (temp4)
20381 delete arg4;
20382 }
20383 {
20384 if (temp8)
20385 delete arg8;
20386 }
20387 return resultobj;
20388 fail:
20389 {
20390 if (temp4)
20391 delete arg4;
20392 }
20393 {
20394 if (temp8)
20395 delete arg8;
20396 }
20397 return NULL;
20398 }
20399
20400
20401 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20402 PyObject *resultobj = 0;
20403 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20404 void *argp1 = 0 ;
20405 int res1 = 0 ;
20406 PyObject *swig_obj[1] ;
20407
20408 if (!args) SWIG_fail;
20409 swig_obj[0] = args;
20410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20411 if (!SWIG_IsOK(res1)) {
20412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20413 }
20414 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20415 {
20416 PyThreadState* __tstate = wxPyBeginAllowThreads();
20417 (arg1)->ActivateNext();
20418 wxPyEndAllowThreads(__tstate);
20419 if (PyErr_Occurred()) SWIG_fail;
20420 }
20421 resultobj = SWIG_Py_Void();
20422 return resultobj;
20423 fail:
20424 return NULL;
20425 }
20426
20427
20428 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20429 PyObject *resultobj = 0;
20430 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20431 void *argp1 = 0 ;
20432 int res1 = 0 ;
20433 PyObject *swig_obj[1] ;
20434
20435 if (!args) SWIG_fail;
20436 swig_obj[0] = args;
20437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20438 if (!SWIG_IsOK(res1)) {
20439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20440 }
20441 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20442 {
20443 PyThreadState* __tstate = wxPyBeginAllowThreads();
20444 (arg1)->ActivatePrevious();
20445 wxPyEndAllowThreads(__tstate);
20446 if (PyErr_Occurred()) SWIG_fail;
20447 }
20448 resultobj = SWIG_Py_Void();
20449 return resultobj;
20450 fail:
20451 return NULL;
20452 }
20453
20454
20455 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20456 PyObject *resultobj = 0;
20457 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20458 void *argp1 = 0 ;
20459 int res1 = 0 ;
20460 PyObject *swig_obj[1] ;
20461
20462 if (!args) SWIG_fail;
20463 swig_obj[0] = args;
20464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20465 if (!SWIG_IsOK(res1)) {
20466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20467 }
20468 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20469 {
20470 PyThreadState* __tstate = wxPyBeginAllowThreads();
20471 (arg1)->ArrangeIcons();
20472 wxPyEndAllowThreads(__tstate);
20473 if (PyErr_Occurred()) SWIG_fail;
20474 }
20475 resultobj = SWIG_Py_Void();
20476 return resultobj;
20477 fail:
20478 return NULL;
20479 }
20480
20481
20482 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20483 PyObject *resultobj = 0;
20484 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20485 void *argp1 = 0 ;
20486 int res1 = 0 ;
20487 PyObject *swig_obj[1] ;
20488
20489 if (!args) SWIG_fail;
20490 swig_obj[0] = args;
20491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20492 if (!SWIG_IsOK(res1)) {
20493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20494 }
20495 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20496 {
20497 PyThreadState* __tstate = wxPyBeginAllowThreads();
20498 (arg1)->Cascade();
20499 wxPyEndAllowThreads(__tstate);
20500 if (PyErr_Occurred()) SWIG_fail;
20501 }
20502 resultobj = SWIG_Py_Void();
20503 return resultobj;
20504 fail:
20505 return NULL;
20506 }
20507
20508
20509 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20510 PyObject *resultobj = 0;
20511 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20512 wxMDIChildFrame *result = 0 ;
20513 void *argp1 = 0 ;
20514 int res1 = 0 ;
20515 PyObject *swig_obj[1] ;
20516
20517 if (!args) SWIG_fail;
20518 swig_obj[0] = args;
20519 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20520 if (!SWIG_IsOK(res1)) {
20521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20522 }
20523 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20524 {
20525 PyThreadState* __tstate = wxPyBeginAllowThreads();
20526 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20527 wxPyEndAllowThreads(__tstate);
20528 if (PyErr_Occurred()) SWIG_fail;
20529 }
20530 {
20531 resultobj = wxPyMake_wxObject(result, (bool)0);
20532 }
20533 return resultobj;
20534 fail:
20535 return NULL;
20536 }
20537
20538
20539 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20540 PyObject *resultobj = 0;
20541 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20542 wxMDIClientWindow *result = 0 ;
20543 void *argp1 = 0 ;
20544 int res1 = 0 ;
20545 PyObject *swig_obj[1] ;
20546
20547 if (!args) SWIG_fail;
20548 swig_obj[0] = args;
20549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20550 if (!SWIG_IsOK(res1)) {
20551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20552 }
20553 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20554 {
20555 PyThreadState* __tstate = wxPyBeginAllowThreads();
20556 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20557 wxPyEndAllowThreads(__tstate);
20558 if (PyErr_Occurred()) SWIG_fail;
20559 }
20560 {
20561 resultobj = wxPyMake_wxObject(result, (bool)0);
20562 }
20563 return resultobj;
20564 fail:
20565 return NULL;
20566 }
20567
20568
20569 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20570 PyObject *resultobj = 0;
20571 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20572 wxWindow *result = 0 ;
20573 void *argp1 = 0 ;
20574 int res1 = 0 ;
20575 PyObject *swig_obj[1] ;
20576
20577 if (!args) SWIG_fail;
20578 swig_obj[0] = args;
20579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20580 if (!SWIG_IsOK(res1)) {
20581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20582 }
20583 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20584 {
20585 PyThreadState* __tstate = wxPyBeginAllowThreads();
20586 result = (wxWindow *)(arg1)->GetToolBar();
20587 wxPyEndAllowThreads(__tstate);
20588 if (PyErr_Occurred()) SWIG_fail;
20589 }
20590 {
20591 resultobj = wxPyMake_wxObject(result, 0);
20592 }
20593 return resultobj;
20594 fail:
20595 return NULL;
20596 }
20597
20598
20599 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20600 PyObject *resultobj = 0;
20601 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20602 wxMenu *result = 0 ;
20603 void *argp1 = 0 ;
20604 int res1 = 0 ;
20605 PyObject *swig_obj[1] ;
20606
20607 if (!args) SWIG_fail;
20608 swig_obj[0] = args;
20609 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20610 if (!SWIG_IsOK(res1)) {
20611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20612 }
20613 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20614 {
20615 PyThreadState* __tstate = wxPyBeginAllowThreads();
20616 result = (wxMenu *)(arg1)->GetWindowMenu();
20617 wxPyEndAllowThreads(__tstate);
20618 if (PyErr_Occurred()) SWIG_fail;
20619 }
20620 {
20621 resultobj = wxPyMake_wxObject(result, 0);
20622 }
20623 return resultobj;
20624 fail:
20625 return NULL;
20626 }
20627
20628
20629 SWIGINTERN PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20630 PyObject *resultobj = 0;
20631 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20632 wxMenu *arg2 = (wxMenu *) 0 ;
20633 void *argp1 = 0 ;
20634 int res1 = 0 ;
20635 void *argp2 = 0 ;
20636 int res2 = 0 ;
20637 PyObject * obj0 = 0 ;
20638 PyObject * obj1 = 0 ;
20639 char * kwnames[] = {
20640 (char *) "self",(char *) "menu", NULL
20641 };
20642
20643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail;
20644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20645 if (!SWIG_IsOK(res1)) {
20646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20647 }
20648 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20649 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
20650 if (!SWIG_IsOK(res2)) {
20651 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
20652 }
20653 arg2 = reinterpret_cast< wxMenu * >(argp2);
20654 {
20655 PyThreadState* __tstate = wxPyBeginAllowThreads();
20656 (arg1)->SetWindowMenu(arg2);
20657 wxPyEndAllowThreads(__tstate);
20658 if (PyErr_Occurred()) SWIG_fail;
20659 }
20660 resultobj = SWIG_Py_Void();
20661 return resultobj;
20662 fail:
20663 return NULL;
20664 }
20665
20666
20667 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20668 PyObject *resultobj = 0;
20669 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20670 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20671 void *argp1 = 0 ;
20672 int res1 = 0 ;
20673 int val2 ;
20674 int ecode2 = 0 ;
20675 PyObject * obj0 = 0 ;
20676 PyObject * obj1 = 0 ;
20677 char * kwnames[] = {
20678 (char *) "self",(char *) "orient", NULL
20679 };
20680
20681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20683 if (!SWIG_IsOK(res1)) {
20684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20685 }
20686 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20687 if (obj1) {
20688 ecode2 = SWIG_AsVal_int(obj1, &val2);
20689 if (!SWIG_IsOK(ecode2)) {
20690 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20691 }
20692 arg2 = static_cast< wxOrientation >(val2);
20693 }
20694 {
20695 PyThreadState* __tstate = wxPyBeginAllowThreads();
20696 (arg1)->Tile(arg2);
20697 wxPyEndAllowThreads(__tstate);
20698 if (PyErr_Occurred()) SWIG_fail;
20699 }
20700 resultobj = SWIG_Py_Void();
20701 return resultobj;
20702 fail:
20703 return NULL;
20704 }
20705
20706
20707 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20708 PyObject *obj;
20709 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20710 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20711 return SWIG_Py_Void();
20712 }
20713
20714 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20715 return SWIG_Python_InitShadowInstance(args);
20716 }
20717
20718 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20719 PyObject *resultobj = 0;
20720 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20721 int arg2 = (int) (int)-1 ;
20722 wxString const &arg3_defvalue = wxPyEmptyString ;
20723 wxString *arg3 = (wxString *) &arg3_defvalue ;
20724 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20725 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20726 wxSize const &arg5_defvalue = wxDefaultSize ;
20727 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20728 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20729 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20730 wxString *arg7 = (wxString *) &arg7_defvalue ;
20731 wxMDIChildFrame *result = 0 ;
20732 void *argp1 = 0 ;
20733 int res1 = 0 ;
20734 int val2 ;
20735 int ecode2 = 0 ;
20736 bool temp3 = false ;
20737 wxPoint temp4 ;
20738 wxSize temp5 ;
20739 long val6 ;
20740 int ecode6 = 0 ;
20741 bool temp7 = false ;
20742 PyObject * obj0 = 0 ;
20743 PyObject * obj1 = 0 ;
20744 PyObject * obj2 = 0 ;
20745 PyObject * obj3 = 0 ;
20746 PyObject * obj4 = 0 ;
20747 PyObject * obj5 = 0 ;
20748 PyObject * obj6 = 0 ;
20749 char * kwnames[] = {
20750 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20751 };
20752
20753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20755 if (!SWIG_IsOK(res1)) {
20756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20757 }
20758 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20759 if (obj1) {
20760 ecode2 = SWIG_AsVal_int(obj1, &val2);
20761 if (!SWIG_IsOK(ecode2)) {
20762 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20763 }
20764 arg2 = static_cast< int >(val2);
20765 }
20766 if (obj2) {
20767 {
20768 arg3 = wxString_in_helper(obj2);
20769 if (arg3 == NULL) SWIG_fail;
20770 temp3 = true;
20771 }
20772 }
20773 if (obj3) {
20774 {
20775 arg4 = &temp4;
20776 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20777 }
20778 }
20779 if (obj4) {
20780 {
20781 arg5 = &temp5;
20782 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20783 }
20784 }
20785 if (obj5) {
20786 ecode6 = SWIG_AsVal_long(obj5, &val6);
20787 if (!SWIG_IsOK(ecode6)) {
20788 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20789 }
20790 arg6 = static_cast< long >(val6);
20791 }
20792 if (obj6) {
20793 {
20794 arg7 = wxString_in_helper(obj6);
20795 if (arg7 == NULL) SWIG_fail;
20796 temp7 = true;
20797 }
20798 }
20799 {
20800 if (!wxPyCheckForApp()) SWIG_fail;
20801 PyThreadState* __tstate = wxPyBeginAllowThreads();
20802 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20803 wxPyEndAllowThreads(__tstate);
20804 if (PyErr_Occurred()) SWIG_fail;
20805 }
20806 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20807 {
20808 if (temp3)
20809 delete arg3;
20810 }
20811 {
20812 if (temp7)
20813 delete arg7;
20814 }
20815 return resultobj;
20816 fail:
20817 {
20818 if (temp3)
20819 delete arg3;
20820 }
20821 {
20822 if (temp7)
20823 delete arg7;
20824 }
20825 return NULL;
20826 }
20827
20828
20829 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20830 PyObject *resultobj = 0;
20831 wxMDIChildFrame *result = 0 ;
20832
20833 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20834 {
20835 if (!wxPyCheckForApp()) SWIG_fail;
20836 PyThreadState* __tstate = wxPyBeginAllowThreads();
20837 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20838 wxPyEndAllowThreads(__tstate);
20839 if (PyErr_Occurred()) SWIG_fail;
20840 }
20841 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20842 return resultobj;
20843 fail:
20844 return NULL;
20845 }
20846
20847
20848 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20849 PyObject *resultobj = 0;
20850 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20851 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20852 int arg3 = (int) (int)-1 ;
20853 wxString const &arg4_defvalue = wxPyEmptyString ;
20854 wxString *arg4 = (wxString *) &arg4_defvalue ;
20855 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20856 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20857 wxSize const &arg6_defvalue = wxDefaultSize ;
20858 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20859 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
20860 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20861 wxString *arg8 = (wxString *) &arg8_defvalue ;
20862 bool result;
20863 void *argp1 = 0 ;
20864 int res1 = 0 ;
20865 void *argp2 = 0 ;
20866 int res2 = 0 ;
20867 int val3 ;
20868 int ecode3 = 0 ;
20869 bool temp4 = false ;
20870 wxPoint temp5 ;
20871 wxSize temp6 ;
20872 long val7 ;
20873 int ecode7 = 0 ;
20874 bool temp8 = false ;
20875 PyObject * obj0 = 0 ;
20876 PyObject * obj1 = 0 ;
20877 PyObject * obj2 = 0 ;
20878 PyObject * obj3 = 0 ;
20879 PyObject * obj4 = 0 ;
20880 PyObject * obj5 = 0 ;
20881 PyObject * obj6 = 0 ;
20882 PyObject * obj7 = 0 ;
20883 char * kwnames[] = {
20884 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20885 };
20886
20887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20889 if (!SWIG_IsOK(res1)) {
20890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20891 }
20892 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20893 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20894 if (!SWIG_IsOK(res2)) {
20895 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20896 }
20897 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20898 if (obj2) {
20899 ecode3 = SWIG_AsVal_int(obj2, &val3);
20900 if (!SWIG_IsOK(ecode3)) {
20901 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20902 }
20903 arg3 = static_cast< int >(val3);
20904 }
20905 if (obj3) {
20906 {
20907 arg4 = wxString_in_helper(obj3);
20908 if (arg4 == NULL) SWIG_fail;
20909 temp4 = true;
20910 }
20911 }
20912 if (obj4) {
20913 {
20914 arg5 = &temp5;
20915 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20916 }
20917 }
20918 if (obj5) {
20919 {
20920 arg6 = &temp6;
20921 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20922 }
20923 }
20924 if (obj6) {
20925 ecode7 = SWIG_AsVal_long(obj6, &val7);
20926 if (!SWIG_IsOK(ecode7)) {
20927 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20928 }
20929 arg7 = static_cast< long >(val7);
20930 }
20931 if (obj7) {
20932 {
20933 arg8 = wxString_in_helper(obj7);
20934 if (arg8 == NULL) SWIG_fail;
20935 temp8 = true;
20936 }
20937 }
20938 {
20939 PyThreadState* __tstate = wxPyBeginAllowThreads();
20940 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20941 wxPyEndAllowThreads(__tstate);
20942 if (PyErr_Occurred()) SWIG_fail;
20943 }
20944 {
20945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20946 }
20947 {
20948 if (temp4)
20949 delete arg4;
20950 }
20951 {
20952 if (temp8)
20953 delete arg8;
20954 }
20955 return resultobj;
20956 fail:
20957 {
20958 if (temp4)
20959 delete arg4;
20960 }
20961 {
20962 if (temp8)
20963 delete arg8;
20964 }
20965 return NULL;
20966 }
20967
20968
20969 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20970 PyObject *resultobj = 0;
20971 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20972 void *argp1 = 0 ;
20973 int res1 = 0 ;
20974 PyObject *swig_obj[1] ;
20975
20976 if (!args) SWIG_fail;
20977 swig_obj[0] = args;
20978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20979 if (!SWIG_IsOK(res1)) {
20980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20981 }
20982 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20983 {
20984 PyThreadState* __tstate = wxPyBeginAllowThreads();
20985 (arg1)->Activate();
20986 wxPyEndAllowThreads(__tstate);
20987 if (PyErr_Occurred()) SWIG_fail;
20988 }
20989 resultobj = SWIG_Py_Void();
20990 return resultobj;
20991 fail:
20992 return NULL;
20993 }
20994
20995
20996 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20997 PyObject *obj;
20998 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20999 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21000 return SWIG_Py_Void();
21001 }
21002
21003 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21004 return SWIG_Python_InitShadowInstance(args);
21005 }
21006
21007 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21008 PyObject *resultobj = 0;
21009 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21010 long arg2 = (long) 0 ;
21011 wxMDIClientWindow *result = 0 ;
21012 void *argp1 = 0 ;
21013 int res1 = 0 ;
21014 long val2 ;
21015 int ecode2 = 0 ;
21016 PyObject * obj0 = 0 ;
21017 PyObject * obj1 = 0 ;
21018 char * kwnames[] = {
21019 (char *) "parent",(char *) "style", NULL
21020 };
21021
21022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21024 if (!SWIG_IsOK(res1)) {
21025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21026 }
21027 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21028 if (obj1) {
21029 ecode2 = SWIG_AsVal_long(obj1, &val2);
21030 if (!SWIG_IsOK(ecode2)) {
21031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21032 }
21033 arg2 = static_cast< long >(val2);
21034 }
21035 {
21036 if (!wxPyCheckForApp()) SWIG_fail;
21037 PyThreadState* __tstate = wxPyBeginAllowThreads();
21038 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21039 wxPyEndAllowThreads(__tstate);
21040 if (PyErr_Occurred()) SWIG_fail;
21041 }
21042 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21043 return resultobj;
21044 fail:
21045 return NULL;
21046 }
21047
21048
21049 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21050 PyObject *resultobj = 0;
21051 wxMDIClientWindow *result = 0 ;
21052
21053 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21054 {
21055 if (!wxPyCheckForApp()) SWIG_fail;
21056 PyThreadState* __tstate = wxPyBeginAllowThreads();
21057 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21058 wxPyEndAllowThreads(__tstate);
21059 if (PyErr_Occurred()) SWIG_fail;
21060 }
21061 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21062 return resultobj;
21063 fail:
21064 return NULL;
21065 }
21066
21067
21068 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21069 PyObject *resultobj = 0;
21070 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21071 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21072 long arg3 = (long) 0 ;
21073 bool result;
21074 void *argp1 = 0 ;
21075 int res1 = 0 ;
21076 void *argp2 = 0 ;
21077 int res2 = 0 ;
21078 long val3 ;
21079 int ecode3 = 0 ;
21080 PyObject * obj0 = 0 ;
21081 PyObject * obj1 = 0 ;
21082 PyObject * obj2 = 0 ;
21083 char * kwnames[] = {
21084 (char *) "self",(char *) "parent",(char *) "style", NULL
21085 };
21086
21087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21089 if (!SWIG_IsOK(res1)) {
21090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21091 }
21092 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21093 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21094 if (!SWIG_IsOK(res2)) {
21095 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21096 }
21097 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21098 if (obj2) {
21099 ecode3 = SWIG_AsVal_long(obj2, &val3);
21100 if (!SWIG_IsOK(ecode3)) {
21101 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21102 }
21103 arg3 = static_cast< long >(val3);
21104 }
21105 {
21106 PyThreadState* __tstate = wxPyBeginAllowThreads();
21107 result = (bool)(arg1)->Create(arg2,arg3);
21108 wxPyEndAllowThreads(__tstate);
21109 if (PyErr_Occurred()) SWIG_fail;
21110 }
21111 {
21112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21113 }
21114 return resultobj;
21115 fail:
21116 return NULL;
21117 }
21118
21119
21120 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21121 PyObject *obj;
21122 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21123 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21124 return SWIG_Py_Void();
21125 }
21126
21127 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21128 return SWIG_Python_InitShadowInstance(args);
21129 }
21130
21131 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21132 PyObject *resultobj = 0;
21133 wxWindow *arg1 = (wxWindow *) 0 ;
21134 int arg2 = (int) (int)-1 ;
21135 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21136 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21137 wxSize const &arg4_defvalue = wxDefaultSize ;
21138 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21139 long arg5 = (long) 0 ;
21140 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21141 wxString *arg6 = (wxString *) &arg6_defvalue ;
21142 wxPyWindow *result = 0 ;
21143 void *argp1 = 0 ;
21144 int res1 = 0 ;
21145 int val2 ;
21146 int ecode2 = 0 ;
21147 wxPoint temp3 ;
21148 wxSize temp4 ;
21149 long val5 ;
21150 int ecode5 = 0 ;
21151 bool temp6 = false ;
21152 PyObject * obj0 = 0 ;
21153 PyObject * obj1 = 0 ;
21154 PyObject * obj2 = 0 ;
21155 PyObject * obj3 = 0 ;
21156 PyObject * obj4 = 0 ;
21157 PyObject * obj5 = 0 ;
21158 char * kwnames[] = {
21159 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21160 };
21161
21162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21164 if (!SWIG_IsOK(res1)) {
21165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21166 }
21167 arg1 = reinterpret_cast< wxWindow * >(argp1);
21168 if (obj1) {
21169 ecode2 = SWIG_AsVal_int(obj1, &val2);
21170 if (!SWIG_IsOK(ecode2)) {
21171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21172 }
21173 arg2 = static_cast< int >(val2);
21174 }
21175 if (obj2) {
21176 {
21177 arg3 = &temp3;
21178 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21179 }
21180 }
21181 if (obj3) {
21182 {
21183 arg4 = &temp4;
21184 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21185 }
21186 }
21187 if (obj4) {
21188 ecode5 = SWIG_AsVal_long(obj4, &val5);
21189 if (!SWIG_IsOK(ecode5)) {
21190 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21191 }
21192 arg5 = static_cast< long >(val5);
21193 }
21194 if (obj5) {
21195 {
21196 arg6 = wxString_in_helper(obj5);
21197 if (arg6 == NULL) SWIG_fail;
21198 temp6 = true;
21199 }
21200 }
21201 {
21202 if (!wxPyCheckForApp()) SWIG_fail;
21203 PyThreadState* __tstate = wxPyBeginAllowThreads();
21204 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21205 wxPyEndAllowThreads(__tstate);
21206 if (PyErr_Occurred()) SWIG_fail;
21207 }
21208 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21209 {
21210 if (temp6)
21211 delete arg6;
21212 }
21213 return resultobj;
21214 fail:
21215 {
21216 if (temp6)
21217 delete arg6;
21218 }
21219 return NULL;
21220 }
21221
21222
21223 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21224 PyObject *resultobj = 0;
21225 wxPyWindow *result = 0 ;
21226
21227 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21228 {
21229 if (!wxPyCheckForApp()) SWIG_fail;
21230 PyThreadState* __tstate = wxPyBeginAllowThreads();
21231 result = (wxPyWindow *)new wxPyWindow();
21232 wxPyEndAllowThreads(__tstate);
21233 if (PyErr_Occurred()) SWIG_fail;
21234 }
21235 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21236 return resultobj;
21237 fail:
21238 return NULL;
21239 }
21240
21241
21242 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21243 PyObject *resultobj = 0;
21244 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21245 PyObject *arg2 = (PyObject *) 0 ;
21246 PyObject *arg3 = (PyObject *) 0 ;
21247 void *argp1 = 0 ;
21248 int res1 = 0 ;
21249 PyObject * obj0 = 0 ;
21250 PyObject * obj1 = 0 ;
21251 PyObject * obj2 = 0 ;
21252 char * kwnames[] = {
21253 (char *) "self",(char *) "self",(char *) "_class", NULL
21254 };
21255
21256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21258 if (!SWIG_IsOK(res1)) {
21259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21260 }
21261 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21262 arg2 = obj1;
21263 arg3 = obj2;
21264 {
21265 PyThreadState* __tstate = wxPyBeginAllowThreads();
21266 (arg1)->_setCallbackInfo(arg2,arg3);
21267 wxPyEndAllowThreads(__tstate);
21268 if (PyErr_Occurred()) SWIG_fail;
21269 }
21270 resultobj = SWIG_Py_Void();
21271 return resultobj;
21272 fail:
21273 return NULL;
21274 }
21275
21276
21277 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21278 PyObject *resultobj = 0;
21279 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21280 wxSize *arg2 = 0 ;
21281 void *argp1 = 0 ;
21282 int res1 = 0 ;
21283 wxSize temp2 ;
21284 PyObject * obj0 = 0 ;
21285 PyObject * obj1 = 0 ;
21286 char * kwnames[] = {
21287 (char *) "self",(char *) "size", NULL
21288 };
21289
21290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21292 if (!SWIG_IsOK(res1)) {
21293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21294 }
21295 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21296 {
21297 arg2 = &temp2;
21298 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21299 }
21300 {
21301 PyThreadState* __tstate = wxPyBeginAllowThreads();
21302 (arg1)->SetBestSize((wxSize const &)*arg2);
21303 wxPyEndAllowThreads(__tstate);
21304 if (PyErr_Occurred()) SWIG_fail;
21305 }
21306 resultobj = SWIG_Py_Void();
21307 return resultobj;
21308 fail:
21309 return NULL;
21310 }
21311
21312
21313 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21314 PyObject *resultobj = 0;
21315 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21316 wxDC *arg2 = (wxDC *) 0 ;
21317 bool result;
21318 void *argp1 = 0 ;
21319 int res1 = 0 ;
21320 void *argp2 = 0 ;
21321 int res2 = 0 ;
21322 PyObject * obj0 = 0 ;
21323 PyObject * obj1 = 0 ;
21324 char * kwnames[] = {
21325 (char *) "self",(char *) "dc", NULL
21326 };
21327
21328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21330 if (!SWIG_IsOK(res1)) {
21331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21332 }
21333 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21334 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21335 if (!SWIG_IsOK(res2)) {
21336 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21337 }
21338 arg2 = reinterpret_cast< wxDC * >(argp2);
21339 {
21340 PyThreadState* __tstate = wxPyBeginAllowThreads();
21341 result = (bool)(arg1)->DoEraseBackground(arg2);
21342 wxPyEndAllowThreads(__tstate);
21343 if (PyErr_Occurred()) SWIG_fail;
21344 }
21345 {
21346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21347 }
21348 return resultobj;
21349 fail:
21350 return NULL;
21351 }
21352
21353
21354 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21355 PyObject *resultobj = 0;
21356 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21357 int arg2 ;
21358 int arg3 ;
21359 int arg4 ;
21360 int arg5 ;
21361 void *argp1 = 0 ;
21362 int res1 = 0 ;
21363 int val2 ;
21364 int ecode2 = 0 ;
21365 int val3 ;
21366 int ecode3 = 0 ;
21367 int val4 ;
21368 int ecode4 = 0 ;
21369 int val5 ;
21370 int ecode5 = 0 ;
21371 PyObject * obj0 = 0 ;
21372 PyObject * obj1 = 0 ;
21373 PyObject * obj2 = 0 ;
21374 PyObject * obj3 = 0 ;
21375 PyObject * obj4 = 0 ;
21376 char * kwnames[] = {
21377 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21378 };
21379
21380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21382 if (!SWIG_IsOK(res1)) {
21383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21384 }
21385 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21386 ecode2 = SWIG_AsVal_int(obj1, &val2);
21387 if (!SWIG_IsOK(ecode2)) {
21388 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21389 }
21390 arg2 = static_cast< int >(val2);
21391 ecode3 = SWIG_AsVal_int(obj2, &val3);
21392 if (!SWIG_IsOK(ecode3)) {
21393 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21394 }
21395 arg3 = static_cast< int >(val3);
21396 ecode4 = SWIG_AsVal_int(obj3, &val4);
21397 if (!SWIG_IsOK(ecode4)) {
21398 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21399 }
21400 arg4 = static_cast< int >(val4);
21401 ecode5 = SWIG_AsVal_int(obj4, &val5);
21402 if (!SWIG_IsOK(ecode5)) {
21403 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21404 }
21405 arg5 = static_cast< int >(val5);
21406 {
21407 PyThreadState* __tstate = wxPyBeginAllowThreads();
21408 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21409 wxPyEndAllowThreads(__tstate);
21410 if (PyErr_Occurred()) SWIG_fail;
21411 }
21412 resultobj = SWIG_Py_Void();
21413 return resultobj;
21414 fail:
21415 return NULL;
21416 }
21417
21418
21419 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21420 PyObject *resultobj = 0;
21421 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21422 int arg2 ;
21423 int arg3 ;
21424 int arg4 ;
21425 int arg5 ;
21426 int arg6 = (int) wxSIZE_AUTO ;
21427 void *argp1 = 0 ;
21428 int res1 = 0 ;
21429 int val2 ;
21430 int ecode2 = 0 ;
21431 int val3 ;
21432 int ecode3 = 0 ;
21433 int val4 ;
21434 int ecode4 = 0 ;
21435 int val5 ;
21436 int ecode5 = 0 ;
21437 int val6 ;
21438 int ecode6 = 0 ;
21439 PyObject * obj0 = 0 ;
21440 PyObject * obj1 = 0 ;
21441 PyObject * obj2 = 0 ;
21442 PyObject * obj3 = 0 ;
21443 PyObject * obj4 = 0 ;
21444 PyObject * obj5 = 0 ;
21445 char * kwnames[] = {
21446 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21447 };
21448
21449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21451 if (!SWIG_IsOK(res1)) {
21452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21453 }
21454 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21455 ecode2 = SWIG_AsVal_int(obj1, &val2);
21456 if (!SWIG_IsOK(ecode2)) {
21457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21458 }
21459 arg2 = static_cast< int >(val2);
21460 ecode3 = SWIG_AsVal_int(obj2, &val3);
21461 if (!SWIG_IsOK(ecode3)) {
21462 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21463 }
21464 arg3 = static_cast< int >(val3);
21465 ecode4 = SWIG_AsVal_int(obj3, &val4);
21466 if (!SWIG_IsOK(ecode4)) {
21467 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21468 }
21469 arg4 = static_cast< int >(val4);
21470 ecode5 = SWIG_AsVal_int(obj4, &val5);
21471 if (!SWIG_IsOK(ecode5)) {
21472 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21473 }
21474 arg5 = static_cast< int >(val5);
21475 if (obj5) {
21476 ecode6 = SWIG_AsVal_int(obj5, &val6);
21477 if (!SWIG_IsOK(ecode6)) {
21478 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21479 }
21480 arg6 = static_cast< int >(val6);
21481 }
21482 {
21483 PyThreadState* __tstate = wxPyBeginAllowThreads();
21484 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21485 wxPyEndAllowThreads(__tstate);
21486 if (PyErr_Occurred()) SWIG_fail;
21487 }
21488 resultobj = SWIG_Py_Void();
21489 return resultobj;
21490 fail:
21491 return NULL;
21492 }
21493
21494
21495 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21496 PyObject *resultobj = 0;
21497 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21498 int arg2 ;
21499 int arg3 ;
21500 void *argp1 = 0 ;
21501 int res1 = 0 ;
21502 int val2 ;
21503 int ecode2 = 0 ;
21504 int val3 ;
21505 int ecode3 = 0 ;
21506 PyObject * obj0 = 0 ;
21507 PyObject * obj1 = 0 ;
21508 PyObject * obj2 = 0 ;
21509 char * kwnames[] = {
21510 (char *) "self",(char *) "width",(char *) "height", NULL
21511 };
21512
21513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21515 if (!SWIG_IsOK(res1)) {
21516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21517 }
21518 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21519 ecode2 = SWIG_AsVal_int(obj1, &val2);
21520 if (!SWIG_IsOK(ecode2)) {
21521 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21522 }
21523 arg2 = static_cast< int >(val2);
21524 ecode3 = SWIG_AsVal_int(obj2, &val3);
21525 if (!SWIG_IsOK(ecode3)) {
21526 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21527 }
21528 arg3 = static_cast< int >(val3);
21529 {
21530 PyThreadState* __tstate = wxPyBeginAllowThreads();
21531 (arg1)->DoSetClientSize(arg2,arg3);
21532 wxPyEndAllowThreads(__tstate);
21533 if (PyErr_Occurred()) SWIG_fail;
21534 }
21535 resultobj = SWIG_Py_Void();
21536 return resultobj;
21537 fail:
21538 return NULL;
21539 }
21540
21541
21542 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21543 PyObject *resultobj = 0;
21544 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21545 int arg2 ;
21546 int arg3 ;
21547 void *argp1 = 0 ;
21548 int res1 = 0 ;
21549 int val2 ;
21550 int ecode2 = 0 ;
21551 int val3 ;
21552 int ecode3 = 0 ;
21553 PyObject * obj0 = 0 ;
21554 PyObject * obj1 = 0 ;
21555 PyObject * obj2 = 0 ;
21556 char * kwnames[] = {
21557 (char *) "self",(char *) "x",(char *) "y", NULL
21558 };
21559
21560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21562 if (!SWIG_IsOK(res1)) {
21563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21564 }
21565 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21566 ecode2 = SWIG_AsVal_int(obj1, &val2);
21567 if (!SWIG_IsOK(ecode2)) {
21568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21569 }
21570 arg2 = static_cast< int >(val2);
21571 ecode3 = SWIG_AsVal_int(obj2, &val3);
21572 if (!SWIG_IsOK(ecode3)) {
21573 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21574 }
21575 arg3 = static_cast< int >(val3);
21576 {
21577 PyThreadState* __tstate = wxPyBeginAllowThreads();
21578 (arg1)->DoSetVirtualSize(arg2,arg3);
21579 wxPyEndAllowThreads(__tstate);
21580 if (PyErr_Occurred()) SWIG_fail;
21581 }
21582 resultobj = SWIG_Py_Void();
21583 return resultobj;
21584 fail:
21585 return NULL;
21586 }
21587
21588
21589 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21590 PyObject *resultobj = 0;
21591 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21592 int *arg2 = (int *) 0 ;
21593 int *arg3 = (int *) 0 ;
21594 void *argp1 = 0 ;
21595 int res1 = 0 ;
21596 int temp2 ;
21597 int res2 = SWIG_TMPOBJ ;
21598 int temp3 ;
21599 int res3 = SWIG_TMPOBJ ;
21600 PyObject *swig_obj[1] ;
21601
21602 arg2 = &temp2;
21603 arg3 = &temp3;
21604 if (!args) SWIG_fail;
21605 swig_obj[0] = args;
21606 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21607 if (!SWIG_IsOK(res1)) {
21608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21609 }
21610 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21611 {
21612 PyThreadState* __tstate = wxPyBeginAllowThreads();
21613 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21614 wxPyEndAllowThreads(__tstate);
21615 if (PyErr_Occurred()) SWIG_fail;
21616 }
21617 resultobj = SWIG_Py_Void();
21618 if (SWIG_IsTmpObj(res2)) {
21619 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21620 } else {
21621 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21622 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21623 }
21624 if (SWIG_IsTmpObj(res3)) {
21625 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21626 } else {
21627 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21628 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21629 }
21630 return resultobj;
21631 fail:
21632 return NULL;
21633 }
21634
21635
21636 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21637 PyObject *resultobj = 0;
21638 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21639 int *arg2 = (int *) 0 ;
21640 int *arg3 = (int *) 0 ;
21641 void *argp1 = 0 ;
21642 int res1 = 0 ;
21643 int temp2 ;
21644 int res2 = SWIG_TMPOBJ ;
21645 int temp3 ;
21646 int res3 = SWIG_TMPOBJ ;
21647 PyObject *swig_obj[1] ;
21648
21649 arg2 = &temp2;
21650 arg3 = &temp3;
21651 if (!args) SWIG_fail;
21652 swig_obj[0] = args;
21653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21654 if (!SWIG_IsOK(res1)) {
21655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21656 }
21657 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21658 {
21659 PyThreadState* __tstate = wxPyBeginAllowThreads();
21660 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21661 wxPyEndAllowThreads(__tstate);
21662 if (PyErr_Occurred()) SWIG_fail;
21663 }
21664 resultobj = SWIG_Py_Void();
21665 if (SWIG_IsTmpObj(res2)) {
21666 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21667 } else {
21668 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21669 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21670 }
21671 if (SWIG_IsTmpObj(res3)) {
21672 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21673 } else {
21674 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21675 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21676 }
21677 return resultobj;
21678 fail:
21679 return NULL;
21680 }
21681
21682
21683 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21684 PyObject *resultobj = 0;
21685 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21686 int *arg2 = (int *) 0 ;
21687 int *arg3 = (int *) 0 ;
21688 void *argp1 = 0 ;
21689 int res1 = 0 ;
21690 int temp2 ;
21691 int res2 = SWIG_TMPOBJ ;
21692 int temp3 ;
21693 int res3 = SWIG_TMPOBJ ;
21694 PyObject *swig_obj[1] ;
21695
21696 arg2 = &temp2;
21697 arg3 = &temp3;
21698 if (!args) SWIG_fail;
21699 swig_obj[0] = args;
21700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21701 if (!SWIG_IsOK(res1)) {
21702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21703 }
21704 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21705 {
21706 PyThreadState* __tstate = wxPyBeginAllowThreads();
21707 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21708 wxPyEndAllowThreads(__tstate);
21709 if (PyErr_Occurred()) SWIG_fail;
21710 }
21711 resultobj = SWIG_Py_Void();
21712 if (SWIG_IsTmpObj(res2)) {
21713 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21714 } else {
21715 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21716 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21717 }
21718 if (SWIG_IsTmpObj(res3)) {
21719 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21720 } else {
21721 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21722 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21723 }
21724 return resultobj;
21725 fail:
21726 return NULL;
21727 }
21728
21729
21730 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21731 PyObject *resultobj = 0;
21732 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21733 wxSize result;
21734 void *argp1 = 0 ;
21735 int res1 = 0 ;
21736 PyObject *swig_obj[1] ;
21737
21738 if (!args) SWIG_fail;
21739 swig_obj[0] = args;
21740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21741 if (!SWIG_IsOK(res1)) {
21742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21743 }
21744 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21745 {
21746 PyThreadState* __tstate = wxPyBeginAllowThreads();
21747 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21748 wxPyEndAllowThreads(__tstate);
21749 if (PyErr_Occurred()) SWIG_fail;
21750 }
21751 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21752 return resultobj;
21753 fail:
21754 return NULL;
21755 }
21756
21757
21758 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21759 PyObject *resultobj = 0;
21760 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21761 wxSize result;
21762 void *argp1 = 0 ;
21763 int res1 = 0 ;
21764 PyObject *swig_obj[1] ;
21765
21766 if (!args) SWIG_fail;
21767 swig_obj[0] = args;
21768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21769 if (!SWIG_IsOK(res1)) {
21770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21771 }
21772 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21773 {
21774 PyThreadState* __tstate = wxPyBeginAllowThreads();
21775 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21776 wxPyEndAllowThreads(__tstate);
21777 if (PyErr_Occurred()) SWIG_fail;
21778 }
21779 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21780 return resultobj;
21781 fail:
21782 return NULL;
21783 }
21784
21785
21786 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21787 PyObject *resultobj = 0;
21788 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21789 SwigValueWrapper<wxVisualAttributes > result;
21790 void *argp1 = 0 ;
21791 int res1 = 0 ;
21792 PyObject *swig_obj[1] ;
21793
21794 if (!args) SWIG_fail;
21795 swig_obj[0] = args;
21796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21797 if (!SWIG_IsOK(res1)) {
21798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21799 }
21800 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21801 {
21802 PyThreadState* __tstate = wxPyBeginAllowThreads();
21803 result = (arg1)->GetDefaultAttributes();
21804 wxPyEndAllowThreads(__tstate);
21805 if (PyErr_Occurred()) SWIG_fail;
21806 }
21807 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21808 return resultobj;
21809 fail:
21810 return NULL;
21811 }
21812
21813
21814 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21815 PyObject *resultobj = 0;
21816 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21817 void *argp1 = 0 ;
21818 int res1 = 0 ;
21819 PyObject *swig_obj[1] ;
21820
21821 if (!args) SWIG_fail;
21822 swig_obj[0] = args;
21823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21824 if (!SWIG_IsOK(res1)) {
21825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21826 }
21827 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21828 {
21829 PyThreadState* __tstate = wxPyBeginAllowThreads();
21830 (arg1)->OnInternalIdle();
21831 wxPyEndAllowThreads(__tstate);
21832 if (PyErr_Occurred()) SWIG_fail;
21833 }
21834 resultobj = SWIG_Py_Void();
21835 return resultobj;
21836 fail:
21837 return NULL;
21838 }
21839
21840
21841 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21842 PyObject *obj;
21843 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21844 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21845 return SWIG_Py_Void();
21846 }
21847
21848 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21849 return SWIG_Python_InitShadowInstance(args);
21850 }
21851
21852 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21853 PyObject *resultobj = 0;
21854 wxWindow *arg1 = (wxWindow *) 0 ;
21855 int arg2 = (int) (int)-1 ;
21856 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21857 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21858 wxSize const &arg4_defvalue = wxDefaultSize ;
21859 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21860 long arg5 = (long) 0 ;
21861 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21862 wxString *arg6 = (wxString *) &arg6_defvalue ;
21863 wxPyPanel *result = 0 ;
21864 void *argp1 = 0 ;
21865 int res1 = 0 ;
21866 int val2 ;
21867 int ecode2 = 0 ;
21868 wxPoint temp3 ;
21869 wxSize temp4 ;
21870 long val5 ;
21871 int ecode5 = 0 ;
21872 bool temp6 = false ;
21873 PyObject * obj0 = 0 ;
21874 PyObject * obj1 = 0 ;
21875 PyObject * obj2 = 0 ;
21876 PyObject * obj3 = 0 ;
21877 PyObject * obj4 = 0 ;
21878 PyObject * obj5 = 0 ;
21879 char * kwnames[] = {
21880 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21881 };
21882
21883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21885 if (!SWIG_IsOK(res1)) {
21886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21887 }
21888 arg1 = reinterpret_cast< wxWindow * >(argp1);
21889 if (obj1) {
21890 ecode2 = SWIG_AsVal_int(obj1, &val2);
21891 if (!SWIG_IsOK(ecode2)) {
21892 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21893 }
21894 arg2 = static_cast< int >(val2);
21895 }
21896 if (obj2) {
21897 {
21898 arg3 = &temp3;
21899 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21900 }
21901 }
21902 if (obj3) {
21903 {
21904 arg4 = &temp4;
21905 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21906 }
21907 }
21908 if (obj4) {
21909 ecode5 = SWIG_AsVal_long(obj4, &val5);
21910 if (!SWIG_IsOK(ecode5)) {
21911 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21912 }
21913 arg5 = static_cast< long >(val5);
21914 }
21915 if (obj5) {
21916 {
21917 arg6 = wxString_in_helper(obj5);
21918 if (arg6 == NULL) SWIG_fail;
21919 temp6 = true;
21920 }
21921 }
21922 {
21923 if (!wxPyCheckForApp()) SWIG_fail;
21924 PyThreadState* __tstate = wxPyBeginAllowThreads();
21925 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21926 wxPyEndAllowThreads(__tstate);
21927 if (PyErr_Occurred()) SWIG_fail;
21928 }
21929 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
21930 {
21931 if (temp6)
21932 delete arg6;
21933 }
21934 return resultobj;
21935 fail:
21936 {
21937 if (temp6)
21938 delete arg6;
21939 }
21940 return NULL;
21941 }
21942
21943
21944 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21945 PyObject *resultobj = 0;
21946 wxPyPanel *result = 0 ;
21947
21948 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
21949 {
21950 if (!wxPyCheckForApp()) SWIG_fail;
21951 PyThreadState* __tstate = wxPyBeginAllowThreads();
21952 result = (wxPyPanel *)new wxPyPanel();
21953 wxPyEndAllowThreads(__tstate);
21954 if (PyErr_Occurred()) SWIG_fail;
21955 }
21956 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
21957 return resultobj;
21958 fail:
21959 return NULL;
21960 }
21961
21962
21963 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21964 PyObject *resultobj = 0;
21965 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21966 PyObject *arg2 = (PyObject *) 0 ;
21967 PyObject *arg3 = (PyObject *) 0 ;
21968 void *argp1 = 0 ;
21969 int res1 = 0 ;
21970 PyObject * obj0 = 0 ;
21971 PyObject * obj1 = 0 ;
21972 PyObject * obj2 = 0 ;
21973 char * kwnames[] = {
21974 (char *) "self",(char *) "self",(char *) "_class", NULL
21975 };
21976
21977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21979 if (!SWIG_IsOK(res1)) {
21980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21981 }
21982 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21983 arg2 = obj1;
21984 arg3 = obj2;
21985 {
21986 PyThreadState* __tstate = wxPyBeginAllowThreads();
21987 (arg1)->_setCallbackInfo(arg2,arg3);
21988 wxPyEndAllowThreads(__tstate);
21989 if (PyErr_Occurred()) SWIG_fail;
21990 }
21991 resultobj = SWIG_Py_Void();
21992 return resultobj;
21993 fail:
21994 return NULL;
21995 }
21996
21997
21998 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21999 PyObject *resultobj = 0;
22000 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22001 wxSize *arg2 = 0 ;
22002 void *argp1 = 0 ;
22003 int res1 = 0 ;
22004 wxSize temp2 ;
22005 PyObject * obj0 = 0 ;
22006 PyObject * obj1 = 0 ;
22007 char * kwnames[] = {
22008 (char *) "self",(char *) "size", NULL
22009 };
22010
22011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22013 if (!SWIG_IsOK(res1)) {
22014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22015 }
22016 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22017 {
22018 arg2 = &temp2;
22019 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22020 }
22021 {
22022 PyThreadState* __tstate = wxPyBeginAllowThreads();
22023 (arg1)->SetBestSize((wxSize const &)*arg2);
22024 wxPyEndAllowThreads(__tstate);
22025 if (PyErr_Occurred()) SWIG_fail;
22026 }
22027 resultobj = SWIG_Py_Void();
22028 return resultobj;
22029 fail:
22030 return NULL;
22031 }
22032
22033
22034 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22035 PyObject *resultobj = 0;
22036 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22037 wxDC *arg2 = (wxDC *) 0 ;
22038 bool result;
22039 void *argp1 = 0 ;
22040 int res1 = 0 ;
22041 void *argp2 = 0 ;
22042 int res2 = 0 ;
22043 PyObject * obj0 = 0 ;
22044 PyObject * obj1 = 0 ;
22045 char * kwnames[] = {
22046 (char *) "self",(char *) "dc", NULL
22047 };
22048
22049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22051 if (!SWIG_IsOK(res1)) {
22052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22053 }
22054 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22055 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22056 if (!SWIG_IsOK(res2)) {
22057 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22058 }
22059 arg2 = reinterpret_cast< wxDC * >(argp2);
22060 {
22061 PyThreadState* __tstate = wxPyBeginAllowThreads();
22062 result = (bool)(arg1)->DoEraseBackground(arg2);
22063 wxPyEndAllowThreads(__tstate);
22064 if (PyErr_Occurred()) SWIG_fail;
22065 }
22066 {
22067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22068 }
22069 return resultobj;
22070 fail:
22071 return NULL;
22072 }
22073
22074
22075 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22076 PyObject *resultobj = 0;
22077 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22078 int arg2 ;
22079 int arg3 ;
22080 int arg4 ;
22081 int arg5 ;
22082 void *argp1 = 0 ;
22083 int res1 = 0 ;
22084 int val2 ;
22085 int ecode2 = 0 ;
22086 int val3 ;
22087 int ecode3 = 0 ;
22088 int val4 ;
22089 int ecode4 = 0 ;
22090 int val5 ;
22091 int ecode5 = 0 ;
22092 PyObject * obj0 = 0 ;
22093 PyObject * obj1 = 0 ;
22094 PyObject * obj2 = 0 ;
22095 PyObject * obj3 = 0 ;
22096 PyObject * obj4 = 0 ;
22097 char * kwnames[] = {
22098 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22099 };
22100
22101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22103 if (!SWIG_IsOK(res1)) {
22104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22105 }
22106 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22107 ecode2 = SWIG_AsVal_int(obj1, &val2);
22108 if (!SWIG_IsOK(ecode2)) {
22109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22110 }
22111 arg2 = static_cast< int >(val2);
22112 ecode3 = SWIG_AsVal_int(obj2, &val3);
22113 if (!SWIG_IsOK(ecode3)) {
22114 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22115 }
22116 arg3 = static_cast< int >(val3);
22117 ecode4 = SWIG_AsVal_int(obj3, &val4);
22118 if (!SWIG_IsOK(ecode4)) {
22119 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22120 }
22121 arg4 = static_cast< int >(val4);
22122 ecode5 = SWIG_AsVal_int(obj4, &val5);
22123 if (!SWIG_IsOK(ecode5)) {
22124 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22125 }
22126 arg5 = static_cast< int >(val5);
22127 {
22128 PyThreadState* __tstate = wxPyBeginAllowThreads();
22129 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22130 wxPyEndAllowThreads(__tstate);
22131 if (PyErr_Occurred()) SWIG_fail;
22132 }
22133 resultobj = SWIG_Py_Void();
22134 return resultobj;
22135 fail:
22136 return NULL;
22137 }
22138
22139
22140 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22141 PyObject *resultobj = 0;
22142 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22143 int arg2 ;
22144 int arg3 ;
22145 int arg4 ;
22146 int arg5 ;
22147 int arg6 = (int) wxSIZE_AUTO ;
22148 void *argp1 = 0 ;
22149 int res1 = 0 ;
22150 int val2 ;
22151 int ecode2 = 0 ;
22152 int val3 ;
22153 int ecode3 = 0 ;
22154 int val4 ;
22155 int ecode4 = 0 ;
22156 int val5 ;
22157 int ecode5 = 0 ;
22158 int val6 ;
22159 int ecode6 = 0 ;
22160 PyObject * obj0 = 0 ;
22161 PyObject * obj1 = 0 ;
22162 PyObject * obj2 = 0 ;
22163 PyObject * obj3 = 0 ;
22164 PyObject * obj4 = 0 ;
22165 PyObject * obj5 = 0 ;
22166 char * kwnames[] = {
22167 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22168 };
22169
22170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22172 if (!SWIG_IsOK(res1)) {
22173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22174 }
22175 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22176 ecode2 = SWIG_AsVal_int(obj1, &val2);
22177 if (!SWIG_IsOK(ecode2)) {
22178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22179 }
22180 arg2 = static_cast< int >(val2);
22181 ecode3 = SWIG_AsVal_int(obj2, &val3);
22182 if (!SWIG_IsOK(ecode3)) {
22183 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22184 }
22185 arg3 = static_cast< int >(val3);
22186 ecode4 = SWIG_AsVal_int(obj3, &val4);
22187 if (!SWIG_IsOK(ecode4)) {
22188 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22189 }
22190 arg4 = static_cast< int >(val4);
22191 ecode5 = SWIG_AsVal_int(obj4, &val5);
22192 if (!SWIG_IsOK(ecode5)) {
22193 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22194 }
22195 arg5 = static_cast< int >(val5);
22196 if (obj5) {
22197 ecode6 = SWIG_AsVal_int(obj5, &val6);
22198 if (!SWIG_IsOK(ecode6)) {
22199 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22200 }
22201 arg6 = static_cast< int >(val6);
22202 }
22203 {
22204 PyThreadState* __tstate = wxPyBeginAllowThreads();
22205 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22206 wxPyEndAllowThreads(__tstate);
22207 if (PyErr_Occurred()) SWIG_fail;
22208 }
22209 resultobj = SWIG_Py_Void();
22210 return resultobj;
22211 fail:
22212 return NULL;
22213 }
22214
22215
22216 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22217 PyObject *resultobj = 0;
22218 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22219 int arg2 ;
22220 int arg3 ;
22221 void *argp1 = 0 ;
22222 int res1 = 0 ;
22223 int val2 ;
22224 int ecode2 = 0 ;
22225 int val3 ;
22226 int ecode3 = 0 ;
22227 PyObject * obj0 = 0 ;
22228 PyObject * obj1 = 0 ;
22229 PyObject * obj2 = 0 ;
22230 char * kwnames[] = {
22231 (char *) "self",(char *) "width",(char *) "height", NULL
22232 };
22233
22234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22236 if (!SWIG_IsOK(res1)) {
22237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22238 }
22239 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22240 ecode2 = SWIG_AsVal_int(obj1, &val2);
22241 if (!SWIG_IsOK(ecode2)) {
22242 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22243 }
22244 arg2 = static_cast< int >(val2);
22245 ecode3 = SWIG_AsVal_int(obj2, &val3);
22246 if (!SWIG_IsOK(ecode3)) {
22247 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22248 }
22249 arg3 = static_cast< int >(val3);
22250 {
22251 PyThreadState* __tstate = wxPyBeginAllowThreads();
22252 (arg1)->DoSetClientSize(arg2,arg3);
22253 wxPyEndAllowThreads(__tstate);
22254 if (PyErr_Occurred()) SWIG_fail;
22255 }
22256 resultobj = SWIG_Py_Void();
22257 return resultobj;
22258 fail:
22259 return NULL;
22260 }
22261
22262
22263 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22264 PyObject *resultobj = 0;
22265 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22266 int arg2 ;
22267 int arg3 ;
22268 void *argp1 = 0 ;
22269 int res1 = 0 ;
22270 int val2 ;
22271 int ecode2 = 0 ;
22272 int val3 ;
22273 int ecode3 = 0 ;
22274 PyObject * obj0 = 0 ;
22275 PyObject * obj1 = 0 ;
22276 PyObject * obj2 = 0 ;
22277 char * kwnames[] = {
22278 (char *) "self",(char *) "x",(char *) "y", NULL
22279 };
22280
22281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22283 if (!SWIG_IsOK(res1)) {
22284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22285 }
22286 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22287 ecode2 = SWIG_AsVal_int(obj1, &val2);
22288 if (!SWIG_IsOK(ecode2)) {
22289 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22290 }
22291 arg2 = static_cast< int >(val2);
22292 ecode3 = SWIG_AsVal_int(obj2, &val3);
22293 if (!SWIG_IsOK(ecode3)) {
22294 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22295 }
22296 arg3 = static_cast< int >(val3);
22297 {
22298 PyThreadState* __tstate = wxPyBeginAllowThreads();
22299 (arg1)->DoSetVirtualSize(arg2,arg3);
22300 wxPyEndAllowThreads(__tstate);
22301 if (PyErr_Occurred()) SWIG_fail;
22302 }
22303 resultobj = SWIG_Py_Void();
22304 return resultobj;
22305 fail:
22306 return NULL;
22307 }
22308
22309
22310 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22311 PyObject *resultobj = 0;
22312 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22313 int *arg2 = (int *) 0 ;
22314 int *arg3 = (int *) 0 ;
22315 void *argp1 = 0 ;
22316 int res1 = 0 ;
22317 int temp2 ;
22318 int res2 = SWIG_TMPOBJ ;
22319 int temp3 ;
22320 int res3 = SWIG_TMPOBJ ;
22321 PyObject *swig_obj[1] ;
22322
22323 arg2 = &temp2;
22324 arg3 = &temp3;
22325 if (!args) SWIG_fail;
22326 swig_obj[0] = args;
22327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22328 if (!SWIG_IsOK(res1)) {
22329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22330 }
22331 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22332 {
22333 PyThreadState* __tstate = wxPyBeginAllowThreads();
22334 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22335 wxPyEndAllowThreads(__tstate);
22336 if (PyErr_Occurred()) SWIG_fail;
22337 }
22338 resultobj = SWIG_Py_Void();
22339 if (SWIG_IsTmpObj(res2)) {
22340 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22341 } else {
22342 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22343 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22344 }
22345 if (SWIG_IsTmpObj(res3)) {
22346 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22347 } else {
22348 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22349 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22350 }
22351 return resultobj;
22352 fail:
22353 return NULL;
22354 }
22355
22356
22357 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22358 PyObject *resultobj = 0;
22359 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22360 int *arg2 = (int *) 0 ;
22361 int *arg3 = (int *) 0 ;
22362 void *argp1 = 0 ;
22363 int res1 = 0 ;
22364 int temp2 ;
22365 int res2 = SWIG_TMPOBJ ;
22366 int temp3 ;
22367 int res3 = SWIG_TMPOBJ ;
22368 PyObject *swig_obj[1] ;
22369
22370 arg2 = &temp2;
22371 arg3 = &temp3;
22372 if (!args) SWIG_fail;
22373 swig_obj[0] = args;
22374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22375 if (!SWIG_IsOK(res1)) {
22376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22377 }
22378 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22379 {
22380 PyThreadState* __tstate = wxPyBeginAllowThreads();
22381 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22382 wxPyEndAllowThreads(__tstate);
22383 if (PyErr_Occurred()) SWIG_fail;
22384 }
22385 resultobj = SWIG_Py_Void();
22386 if (SWIG_IsTmpObj(res2)) {
22387 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22388 } else {
22389 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22390 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22391 }
22392 if (SWIG_IsTmpObj(res3)) {
22393 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22394 } else {
22395 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22396 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22397 }
22398 return resultobj;
22399 fail:
22400 return NULL;
22401 }
22402
22403
22404 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22405 PyObject *resultobj = 0;
22406 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22407 int *arg2 = (int *) 0 ;
22408 int *arg3 = (int *) 0 ;
22409 void *argp1 = 0 ;
22410 int res1 = 0 ;
22411 int temp2 ;
22412 int res2 = SWIG_TMPOBJ ;
22413 int temp3 ;
22414 int res3 = SWIG_TMPOBJ ;
22415 PyObject *swig_obj[1] ;
22416
22417 arg2 = &temp2;
22418 arg3 = &temp3;
22419 if (!args) SWIG_fail;
22420 swig_obj[0] = args;
22421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22422 if (!SWIG_IsOK(res1)) {
22423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22424 }
22425 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22426 {
22427 PyThreadState* __tstate = wxPyBeginAllowThreads();
22428 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22429 wxPyEndAllowThreads(__tstate);
22430 if (PyErr_Occurred()) SWIG_fail;
22431 }
22432 resultobj = SWIG_Py_Void();
22433 if (SWIG_IsTmpObj(res2)) {
22434 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22435 } else {
22436 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22437 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22438 }
22439 if (SWIG_IsTmpObj(res3)) {
22440 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22441 } else {
22442 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22443 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22444 }
22445 return resultobj;
22446 fail:
22447 return NULL;
22448 }
22449
22450
22451 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22452 PyObject *resultobj = 0;
22453 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22454 wxSize result;
22455 void *argp1 = 0 ;
22456 int res1 = 0 ;
22457 PyObject *swig_obj[1] ;
22458
22459 if (!args) SWIG_fail;
22460 swig_obj[0] = args;
22461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22462 if (!SWIG_IsOK(res1)) {
22463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22464 }
22465 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22466 {
22467 PyThreadState* __tstate = wxPyBeginAllowThreads();
22468 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22469 wxPyEndAllowThreads(__tstate);
22470 if (PyErr_Occurred()) SWIG_fail;
22471 }
22472 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22473 return resultobj;
22474 fail:
22475 return NULL;
22476 }
22477
22478
22479 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22480 PyObject *resultobj = 0;
22481 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22482 wxSize result;
22483 void *argp1 = 0 ;
22484 int res1 = 0 ;
22485 PyObject *swig_obj[1] ;
22486
22487 if (!args) SWIG_fail;
22488 swig_obj[0] = args;
22489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22490 if (!SWIG_IsOK(res1)) {
22491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22492 }
22493 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22494 {
22495 PyThreadState* __tstate = wxPyBeginAllowThreads();
22496 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22497 wxPyEndAllowThreads(__tstate);
22498 if (PyErr_Occurred()) SWIG_fail;
22499 }
22500 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22501 return resultobj;
22502 fail:
22503 return NULL;
22504 }
22505
22506
22507 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22508 PyObject *resultobj = 0;
22509 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22510 SwigValueWrapper<wxVisualAttributes > result;
22511 void *argp1 = 0 ;
22512 int res1 = 0 ;
22513 PyObject *swig_obj[1] ;
22514
22515 if (!args) SWIG_fail;
22516 swig_obj[0] = args;
22517 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22518 if (!SWIG_IsOK(res1)) {
22519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22520 }
22521 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22522 {
22523 PyThreadState* __tstate = wxPyBeginAllowThreads();
22524 result = (arg1)->GetDefaultAttributes();
22525 wxPyEndAllowThreads(__tstate);
22526 if (PyErr_Occurred()) SWIG_fail;
22527 }
22528 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22529 return resultobj;
22530 fail:
22531 return NULL;
22532 }
22533
22534
22535 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22536 PyObject *resultobj = 0;
22537 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22538 void *argp1 = 0 ;
22539 int res1 = 0 ;
22540 PyObject *swig_obj[1] ;
22541
22542 if (!args) SWIG_fail;
22543 swig_obj[0] = args;
22544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22545 if (!SWIG_IsOK(res1)) {
22546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22547 }
22548 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22549 {
22550 PyThreadState* __tstate = wxPyBeginAllowThreads();
22551 (arg1)->OnInternalIdle();
22552 wxPyEndAllowThreads(__tstate);
22553 if (PyErr_Occurred()) SWIG_fail;
22554 }
22555 resultobj = SWIG_Py_Void();
22556 return resultobj;
22557 fail:
22558 return NULL;
22559 }
22560
22561
22562 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22563 PyObject *obj;
22564 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22565 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22566 return SWIG_Py_Void();
22567 }
22568
22569 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22570 return SWIG_Python_InitShadowInstance(args);
22571 }
22572
22573 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22574 PyObject *resultobj = 0;
22575 wxWindow *arg1 = (wxWindow *) 0 ;
22576 int arg2 = (int) (int)-1 ;
22577 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22578 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22579 wxSize const &arg4_defvalue = wxDefaultSize ;
22580 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22581 long arg5 = (long) 0 ;
22582 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22583 wxString *arg6 = (wxString *) &arg6_defvalue ;
22584 wxPyScrolledWindow *result = 0 ;
22585 void *argp1 = 0 ;
22586 int res1 = 0 ;
22587 int val2 ;
22588 int ecode2 = 0 ;
22589 wxPoint temp3 ;
22590 wxSize temp4 ;
22591 long val5 ;
22592 int ecode5 = 0 ;
22593 bool temp6 = false ;
22594 PyObject * obj0 = 0 ;
22595 PyObject * obj1 = 0 ;
22596 PyObject * obj2 = 0 ;
22597 PyObject * obj3 = 0 ;
22598 PyObject * obj4 = 0 ;
22599 PyObject * obj5 = 0 ;
22600 char * kwnames[] = {
22601 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22602 };
22603
22604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22606 if (!SWIG_IsOK(res1)) {
22607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22608 }
22609 arg1 = reinterpret_cast< wxWindow * >(argp1);
22610 if (obj1) {
22611 ecode2 = SWIG_AsVal_int(obj1, &val2);
22612 if (!SWIG_IsOK(ecode2)) {
22613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22614 }
22615 arg2 = static_cast< int >(val2);
22616 }
22617 if (obj2) {
22618 {
22619 arg3 = &temp3;
22620 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22621 }
22622 }
22623 if (obj3) {
22624 {
22625 arg4 = &temp4;
22626 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22627 }
22628 }
22629 if (obj4) {
22630 ecode5 = SWIG_AsVal_long(obj4, &val5);
22631 if (!SWIG_IsOK(ecode5)) {
22632 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22633 }
22634 arg5 = static_cast< long >(val5);
22635 }
22636 if (obj5) {
22637 {
22638 arg6 = wxString_in_helper(obj5);
22639 if (arg6 == NULL) SWIG_fail;
22640 temp6 = true;
22641 }
22642 }
22643 {
22644 if (!wxPyCheckForApp()) SWIG_fail;
22645 PyThreadState* __tstate = wxPyBeginAllowThreads();
22646 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22647 wxPyEndAllowThreads(__tstate);
22648 if (PyErr_Occurred()) SWIG_fail;
22649 }
22650 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22651 {
22652 if (temp6)
22653 delete arg6;
22654 }
22655 return resultobj;
22656 fail:
22657 {
22658 if (temp6)
22659 delete arg6;
22660 }
22661 return NULL;
22662 }
22663
22664
22665 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22666 PyObject *resultobj = 0;
22667 wxPyScrolledWindow *result = 0 ;
22668
22669 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22670 {
22671 if (!wxPyCheckForApp()) SWIG_fail;
22672 PyThreadState* __tstate = wxPyBeginAllowThreads();
22673 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22674 wxPyEndAllowThreads(__tstate);
22675 if (PyErr_Occurred()) SWIG_fail;
22676 }
22677 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22678 return resultobj;
22679 fail:
22680 return NULL;
22681 }
22682
22683
22684 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22685 PyObject *resultobj = 0;
22686 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22687 PyObject *arg2 = (PyObject *) 0 ;
22688 PyObject *arg3 = (PyObject *) 0 ;
22689 void *argp1 = 0 ;
22690 int res1 = 0 ;
22691 PyObject * obj0 = 0 ;
22692 PyObject * obj1 = 0 ;
22693 PyObject * obj2 = 0 ;
22694 char * kwnames[] = {
22695 (char *) "self",(char *) "self",(char *) "_class", NULL
22696 };
22697
22698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22700 if (!SWIG_IsOK(res1)) {
22701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22702 }
22703 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22704 arg2 = obj1;
22705 arg3 = obj2;
22706 {
22707 PyThreadState* __tstate = wxPyBeginAllowThreads();
22708 (arg1)->_setCallbackInfo(arg2,arg3);
22709 wxPyEndAllowThreads(__tstate);
22710 if (PyErr_Occurred()) SWIG_fail;
22711 }
22712 resultobj = SWIG_Py_Void();
22713 return resultobj;
22714 fail:
22715 return NULL;
22716 }
22717
22718
22719 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22720 PyObject *resultobj = 0;
22721 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22722 wxSize *arg2 = 0 ;
22723 void *argp1 = 0 ;
22724 int res1 = 0 ;
22725 wxSize temp2 ;
22726 PyObject * obj0 = 0 ;
22727 PyObject * obj1 = 0 ;
22728 char * kwnames[] = {
22729 (char *) "self",(char *) "size", NULL
22730 };
22731
22732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22734 if (!SWIG_IsOK(res1)) {
22735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22736 }
22737 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22738 {
22739 arg2 = &temp2;
22740 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22741 }
22742 {
22743 PyThreadState* __tstate = wxPyBeginAllowThreads();
22744 (arg1)->SetBestSize((wxSize const &)*arg2);
22745 wxPyEndAllowThreads(__tstate);
22746 if (PyErr_Occurred()) SWIG_fail;
22747 }
22748 resultobj = SWIG_Py_Void();
22749 return resultobj;
22750 fail:
22751 return NULL;
22752 }
22753
22754
22755 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22756 PyObject *resultobj = 0;
22757 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22758 wxDC *arg2 = (wxDC *) 0 ;
22759 bool result;
22760 void *argp1 = 0 ;
22761 int res1 = 0 ;
22762 void *argp2 = 0 ;
22763 int res2 = 0 ;
22764 PyObject * obj0 = 0 ;
22765 PyObject * obj1 = 0 ;
22766 char * kwnames[] = {
22767 (char *) "self",(char *) "dc", NULL
22768 };
22769
22770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22772 if (!SWIG_IsOK(res1)) {
22773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22774 }
22775 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22776 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22777 if (!SWIG_IsOK(res2)) {
22778 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22779 }
22780 arg2 = reinterpret_cast< wxDC * >(argp2);
22781 {
22782 PyThreadState* __tstate = wxPyBeginAllowThreads();
22783 result = (bool)(arg1)->DoEraseBackground(arg2);
22784 wxPyEndAllowThreads(__tstate);
22785 if (PyErr_Occurred()) SWIG_fail;
22786 }
22787 {
22788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22789 }
22790 return resultobj;
22791 fail:
22792 return NULL;
22793 }
22794
22795
22796 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22797 PyObject *resultobj = 0;
22798 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22799 int arg2 ;
22800 int arg3 ;
22801 int arg4 ;
22802 int arg5 ;
22803 void *argp1 = 0 ;
22804 int res1 = 0 ;
22805 int val2 ;
22806 int ecode2 = 0 ;
22807 int val3 ;
22808 int ecode3 = 0 ;
22809 int val4 ;
22810 int ecode4 = 0 ;
22811 int val5 ;
22812 int ecode5 = 0 ;
22813 PyObject * obj0 = 0 ;
22814 PyObject * obj1 = 0 ;
22815 PyObject * obj2 = 0 ;
22816 PyObject * obj3 = 0 ;
22817 PyObject * obj4 = 0 ;
22818 char * kwnames[] = {
22819 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22820 };
22821
22822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22824 if (!SWIG_IsOK(res1)) {
22825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22826 }
22827 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22828 ecode2 = SWIG_AsVal_int(obj1, &val2);
22829 if (!SWIG_IsOK(ecode2)) {
22830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22831 }
22832 arg2 = static_cast< int >(val2);
22833 ecode3 = SWIG_AsVal_int(obj2, &val3);
22834 if (!SWIG_IsOK(ecode3)) {
22835 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22836 }
22837 arg3 = static_cast< int >(val3);
22838 ecode4 = SWIG_AsVal_int(obj3, &val4);
22839 if (!SWIG_IsOK(ecode4)) {
22840 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22841 }
22842 arg4 = static_cast< int >(val4);
22843 ecode5 = SWIG_AsVal_int(obj4, &val5);
22844 if (!SWIG_IsOK(ecode5)) {
22845 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22846 }
22847 arg5 = static_cast< int >(val5);
22848 {
22849 PyThreadState* __tstate = wxPyBeginAllowThreads();
22850 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22851 wxPyEndAllowThreads(__tstate);
22852 if (PyErr_Occurred()) SWIG_fail;
22853 }
22854 resultobj = SWIG_Py_Void();
22855 return resultobj;
22856 fail:
22857 return NULL;
22858 }
22859
22860
22861 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22862 PyObject *resultobj = 0;
22863 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22864 int arg2 ;
22865 int arg3 ;
22866 int arg4 ;
22867 int arg5 ;
22868 int arg6 = (int) wxSIZE_AUTO ;
22869 void *argp1 = 0 ;
22870 int res1 = 0 ;
22871 int val2 ;
22872 int ecode2 = 0 ;
22873 int val3 ;
22874 int ecode3 = 0 ;
22875 int val4 ;
22876 int ecode4 = 0 ;
22877 int val5 ;
22878 int ecode5 = 0 ;
22879 int val6 ;
22880 int ecode6 = 0 ;
22881 PyObject * obj0 = 0 ;
22882 PyObject * obj1 = 0 ;
22883 PyObject * obj2 = 0 ;
22884 PyObject * obj3 = 0 ;
22885 PyObject * obj4 = 0 ;
22886 PyObject * obj5 = 0 ;
22887 char * kwnames[] = {
22888 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22889 };
22890
22891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22893 if (!SWIG_IsOK(res1)) {
22894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22895 }
22896 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22897 ecode2 = SWIG_AsVal_int(obj1, &val2);
22898 if (!SWIG_IsOK(ecode2)) {
22899 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22900 }
22901 arg2 = static_cast< int >(val2);
22902 ecode3 = SWIG_AsVal_int(obj2, &val3);
22903 if (!SWIG_IsOK(ecode3)) {
22904 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22905 }
22906 arg3 = static_cast< int >(val3);
22907 ecode4 = SWIG_AsVal_int(obj3, &val4);
22908 if (!SWIG_IsOK(ecode4)) {
22909 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22910 }
22911 arg4 = static_cast< int >(val4);
22912 ecode5 = SWIG_AsVal_int(obj4, &val5);
22913 if (!SWIG_IsOK(ecode5)) {
22914 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22915 }
22916 arg5 = static_cast< int >(val5);
22917 if (obj5) {
22918 ecode6 = SWIG_AsVal_int(obj5, &val6);
22919 if (!SWIG_IsOK(ecode6)) {
22920 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22921 }
22922 arg6 = static_cast< int >(val6);
22923 }
22924 {
22925 PyThreadState* __tstate = wxPyBeginAllowThreads();
22926 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22927 wxPyEndAllowThreads(__tstate);
22928 if (PyErr_Occurred()) SWIG_fail;
22929 }
22930 resultobj = SWIG_Py_Void();
22931 return resultobj;
22932 fail:
22933 return NULL;
22934 }
22935
22936
22937 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22938 PyObject *resultobj = 0;
22939 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22940 int arg2 ;
22941 int arg3 ;
22942 void *argp1 = 0 ;
22943 int res1 = 0 ;
22944 int val2 ;
22945 int ecode2 = 0 ;
22946 int val3 ;
22947 int ecode3 = 0 ;
22948 PyObject * obj0 = 0 ;
22949 PyObject * obj1 = 0 ;
22950 PyObject * obj2 = 0 ;
22951 char * kwnames[] = {
22952 (char *) "self",(char *) "width",(char *) "height", NULL
22953 };
22954
22955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22957 if (!SWIG_IsOK(res1)) {
22958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22959 }
22960 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22961 ecode2 = SWIG_AsVal_int(obj1, &val2);
22962 if (!SWIG_IsOK(ecode2)) {
22963 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22964 }
22965 arg2 = static_cast< int >(val2);
22966 ecode3 = SWIG_AsVal_int(obj2, &val3);
22967 if (!SWIG_IsOK(ecode3)) {
22968 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22969 }
22970 arg3 = static_cast< int >(val3);
22971 {
22972 PyThreadState* __tstate = wxPyBeginAllowThreads();
22973 (arg1)->DoSetClientSize(arg2,arg3);
22974 wxPyEndAllowThreads(__tstate);
22975 if (PyErr_Occurred()) SWIG_fail;
22976 }
22977 resultobj = SWIG_Py_Void();
22978 return resultobj;
22979 fail:
22980 return NULL;
22981 }
22982
22983
22984 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22985 PyObject *resultobj = 0;
22986 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22987 int arg2 ;
22988 int arg3 ;
22989 void *argp1 = 0 ;
22990 int res1 = 0 ;
22991 int val2 ;
22992 int ecode2 = 0 ;
22993 int val3 ;
22994 int ecode3 = 0 ;
22995 PyObject * obj0 = 0 ;
22996 PyObject * obj1 = 0 ;
22997 PyObject * obj2 = 0 ;
22998 char * kwnames[] = {
22999 (char *) "self",(char *) "x",(char *) "y", NULL
23000 };
23001
23002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23004 if (!SWIG_IsOK(res1)) {
23005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23006 }
23007 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23008 ecode2 = SWIG_AsVal_int(obj1, &val2);
23009 if (!SWIG_IsOK(ecode2)) {
23010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23011 }
23012 arg2 = static_cast< int >(val2);
23013 ecode3 = SWIG_AsVal_int(obj2, &val3);
23014 if (!SWIG_IsOK(ecode3)) {
23015 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23016 }
23017 arg3 = static_cast< int >(val3);
23018 {
23019 PyThreadState* __tstate = wxPyBeginAllowThreads();
23020 (arg1)->DoSetVirtualSize(arg2,arg3);
23021 wxPyEndAllowThreads(__tstate);
23022 if (PyErr_Occurred()) SWIG_fail;
23023 }
23024 resultobj = SWIG_Py_Void();
23025 return resultobj;
23026 fail:
23027 return NULL;
23028 }
23029
23030
23031 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23032 PyObject *resultobj = 0;
23033 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23034 int *arg2 = (int *) 0 ;
23035 int *arg3 = (int *) 0 ;
23036 void *argp1 = 0 ;
23037 int res1 = 0 ;
23038 int temp2 ;
23039 int res2 = SWIG_TMPOBJ ;
23040 int temp3 ;
23041 int res3 = SWIG_TMPOBJ ;
23042 PyObject *swig_obj[1] ;
23043
23044 arg2 = &temp2;
23045 arg3 = &temp3;
23046 if (!args) SWIG_fail;
23047 swig_obj[0] = args;
23048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23049 if (!SWIG_IsOK(res1)) {
23050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23051 }
23052 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23053 {
23054 PyThreadState* __tstate = wxPyBeginAllowThreads();
23055 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23056 wxPyEndAllowThreads(__tstate);
23057 if (PyErr_Occurred()) SWIG_fail;
23058 }
23059 resultobj = SWIG_Py_Void();
23060 if (SWIG_IsTmpObj(res2)) {
23061 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23062 } else {
23063 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23064 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23065 }
23066 if (SWIG_IsTmpObj(res3)) {
23067 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23068 } else {
23069 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23070 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23071 }
23072 return resultobj;
23073 fail:
23074 return NULL;
23075 }
23076
23077
23078 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23079 PyObject *resultobj = 0;
23080 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23081 int *arg2 = (int *) 0 ;
23082 int *arg3 = (int *) 0 ;
23083 void *argp1 = 0 ;
23084 int res1 = 0 ;
23085 int temp2 ;
23086 int res2 = SWIG_TMPOBJ ;
23087 int temp3 ;
23088 int res3 = SWIG_TMPOBJ ;
23089 PyObject *swig_obj[1] ;
23090
23091 arg2 = &temp2;
23092 arg3 = &temp3;
23093 if (!args) SWIG_fail;
23094 swig_obj[0] = args;
23095 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23096 if (!SWIG_IsOK(res1)) {
23097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23098 }
23099 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23100 {
23101 PyThreadState* __tstate = wxPyBeginAllowThreads();
23102 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23103 wxPyEndAllowThreads(__tstate);
23104 if (PyErr_Occurred()) SWIG_fail;
23105 }
23106 resultobj = SWIG_Py_Void();
23107 if (SWIG_IsTmpObj(res2)) {
23108 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23109 } else {
23110 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23111 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23112 }
23113 if (SWIG_IsTmpObj(res3)) {
23114 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23115 } else {
23116 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23117 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23118 }
23119 return resultobj;
23120 fail:
23121 return NULL;
23122 }
23123
23124
23125 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23126 PyObject *resultobj = 0;
23127 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23128 int *arg2 = (int *) 0 ;
23129 int *arg3 = (int *) 0 ;
23130 void *argp1 = 0 ;
23131 int res1 = 0 ;
23132 int temp2 ;
23133 int res2 = SWIG_TMPOBJ ;
23134 int temp3 ;
23135 int res3 = SWIG_TMPOBJ ;
23136 PyObject *swig_obj[1] ;
23137
23138 arg2 = &temp2;
23139 arg3 = &temp3;
23140 if (!args) SWIG_fail;
23141 swig_obj[0] = args;
23142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23143 if (!SWIG_IsOK(res1)) {
23144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23145 }
23146 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23147 {
23148 PyThreadState* __tstate = wxPyBeginAllowThreads();
23149 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23150 wxPyEndAllowThreads(__tstate);
23151 if (PyErr_Occurred()) SWIG_fail;
23152 }
23153 resultobj = SWIG_Py_Void();
23154 if (SWIG_IsTmpObj(res2)) {
23155 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23156 } else {
23157 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23158 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23159 }
23160 if (SWIG_IsTmpObj(res3)) {
23161 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23162 } else {
23163 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23164 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23165 }
23166 return resultobj;
23167 fail:
23168 return NULL;
23169 }
23170
23171
23172 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23173 PyObject *resultobj = 0;
23174 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23175 wxSize result;
23176 void *argp1 = 0 ;
23177 int res1 = 0 ;
23178 PyObject *swig_obj[1] ;
23179
23180 if (!args) SWIG_fail;
23181 swig_obj[0] = args;
23182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23183 if (!SWIG_IsOK(res1)) {
23184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23185 }
23186 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23187 {
23188 PyThreadState* __tstate = wxPyBeginAllowThreads();
23189 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23190 wxPyEndAllowThreads(__tstate);
23191 if (PyErr_Occurred()) SWIG_fail;
23192 }
23193 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23194 return resultobj;
23195 fail:
23196 return NULL;
23197 }
23198
23199
23200 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23201 PyObject *resultobj = 0;
23202 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23203 wxSize result;
23204 void *argp1 = 0 ;
23205 int res1 = 0 ;
23206 PyObject *swig_obj[1] ;
23207
23208 if (!args) SWIG_fail;
23209 swig_obj[0] = args;
23210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23211 if (!SWIG_IsOK(res1)) {
23212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23213 }
23214 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23215 {
23216 PyThreadState* __tstate = wxPyBeginAllowThreads();
23217 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23218 wxPyEndAllowThreads(__tstate);
23219 if (PyErr_Occurred()) SWIG_fail;
23220 }
23221 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23222 return resultobj;
23223 fail:
23224 return NULL;
23225 }
23226
23227
23228 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23229 PyObject *resultobj = 0;
23230 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23231 SwigValueWrapper<wxVisualAttributes > result;
23232 void *argp1 = 0 ;
23233 int res1 = 0 ;
23234 PyObject *swig_obj[1] ;
23235
23236 if (!args) SWIG_fail;
23237 swig_obj[0] = args;
23238 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23239 if (!SWIG_IsOK(res1)) {
23240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23241 }
23242 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23243 {
23244 PyThreadState* __tstate = wxPyBeginAllowThreads();
23245 result = (arg1)->GetDefaultAttributes();
23246 wxPyEndAllowThreads(__tstate);
23247 if (PyErr_Occurred()) SWIG_fail;
23248 }
23249 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23250 return resultobj;
23251 fail:
23252 return NULL;
23253 }
23254
23255
23256 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23257 PyObject *resultobj = 0;
23258 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23259 void *argp1 = 0 ;
23260 int res1 = 0 ;
23261 PyObject *swig_obj[1] ;
23262
23263 if (!args) SWIG_fail;
23264 swig_obj[0] = args;
23265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23266 if (!SWIG_IsOK(res1)) {
23267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23268 }
23269 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23270 {
23271 PyThreadState* __tstate = wxPyBeginAllowThreads();
23272 (arg1)->OnInternalIdle();
23273 wxPyEndAllowThreads(__tstate);
23274 if (PyErr_Occurred()) SWIG_fail;
23275 }
23276 resultobj = SWIG_Py_Void();
23277 return resultobj;
23278 fail:
23279 return NULL;
23280 }
23281
23282
23283 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23284 PyObject *obj;
23285 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23286 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23287 return SWIG_Py_Void();
23288 }
23289
23290 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23291 return SWIG_Python_InitShadowInstance(args);
23292 }
23293
23294 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23295 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23296 return 1;
23297 }
23298
23299
23300 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23301 PyObject *pyobj = 0;
23302
23303 {
23304 #if wxUSE_UNICODE
23305 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23306 #else
23307 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23308 #endif
23309 }
23310 return pyobj;
23311 }
23312
23313
23314 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23315 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23316 return 1;
23317 }
23318
23319
23320 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23321 PyObject *pyobj = 0;
23322
23323 {
23324 #if wxUSE_UNICODE
23325 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23326 #else
23327 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23328 #endif
23329 }
23330 return pyobj;
23331 }
23332
23333
23334 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23335 PyObject *resultobj = 0;
23336 wxPrintData *result = 0 ;
23337
23338 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23339 {
23340 PyThreadState* __tstate = wxPyBeginAllowThreads();
23341 result = (wxPrintData *)new wxPrintData();
23342 wxPyEndAllowThreads(__tstate);
23343 if (PyErr_Occurred()) SWIG_fail;
23344 }
23345 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23346 return resultobj;
23347 fail:
23348 return NULL;
23349 }
23350
23351
23352 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23353 PyObject *resultobj = 0;
23354 wxPrintData *arg1 = 0 ;
23355 wxPrintData *result = 0 ;
23356 void *argp1 = 0 ;
23357 int res1 = 0 ;
23358
23359 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23361 if (!SWIG_IsOK(res1)) {
23362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23363 }
23364 if (!argp1) {
23365 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23366 }
23367 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23368 {
23369 PyThreadState* __tstate = wxPyBeginAllowThreads();
23370 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23371 wxPyEndAllowThreads(__tstate);
23372 if (PyErr_Occurred()) SWIG_fail;
23373 }
23374 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23375 return resultobj;
23376 fail:
23377 return NULL;
23378 }
23379
23380
23381 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23382 int argc;
23383 PyObject *argv[2];
23384
23385 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23386 --argc;
23387 if (argc == 0) {
23388 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23389 }
23390 if (argc == 1) {
23391 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23392 }
23393
23394 fail:
23395 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23396 return NULL;
23397 }
23398
23399
23400 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23401 PyObject *resultobj = 0;
23402 wxPrintData *arg1 = (wxPrintData *) 0 ;
23403 void *argp1 = 0 ;
23404 int res1 = 0 ;
23405 PyObject *swig_obj[1] ;
23406
23407 if (!args) SWIG_fail;
23408 swig_obj[0] = args;
23409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23410 if (!SWIG_IsOK(res1)) {
23411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23412 }
23413 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23414 {
23415 PyThreadState* __tstate = wxPyBeginAllowThreads();
23416 delete arg1;
23417
23418 wxPyEndAllowThreads(__tstate);
23419 if (PyErr_Occurred()) SWIG_fail;
23420 }
23421 resultobj = SWIG_Py_Void();
23422 return resultobj;
23423 fail:
23424 return NULL;
23425 }
23426
23427
23428 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23429 PyObject *resultobj = 0;
23430 wxPrintData *arg1 = (wxPrintData *) 0 ;
23431 int result;
23432 void *argp1 = 0 ;
23433 int res1 = 0 ;
23434 PyObject *swig_obj[1] ;
23435
23436 if (!args) SWIG_fail;
23437 swig_obj[0] = args;
23438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23439 if (!SWIG_IsOK(res1)) {
23440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23441 }
23442 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23443 {
23444 PyThreadState* __tstate = wxPyBeginAllowThreads();
23445 result = (int)(arg1)->GetNoCopies();
23446 wxPyEndAllowThreads(__tstate);
23447 if (PyErr_Occurred()) SWIG_fail;
23448 }
23449 resultobj = SWIG_From_int(static_cast< int >(result));
23450 return resultobj;
23451 fail:
23452 return NULL;
23453 }
23454
23455
23456 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23457 PyObject *resultobj = 0;
23458 wxPrintData *arg1 = (wxPrintData *) 0 ;
23459 bool result;
23460 void *argp1 = 0 ;
23461 int res1 = 0 ;
23462 PyObject *swig_obj[1] ;
23463
23464 if (!args) SWIG_fail;
23465 swig_obj[0] = args;
23466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23467 if (!SWIG_IsOK(res1)) {
23468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23469 }
23470 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23471 {
23472 PyThreadState* __tstate = wxPyBeginAllowThreads();
23473 result = (bool)(arg1)->GetCollate();
23474 wxPyEndAllowThreads(__tstate);
23475 if (PyErr_Occurred()) SWIG_fail;
23476 }
23477 {
23478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23479 }
23480 return resultobj;
23481 fail:
23482 return NULL;
23483 }
23484
23485
23486 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23487 PyObject *resultobj = 0;
23488 wxPrintData *arg1 = (wxPrintData *) 0 ;
23489 int result;
23490 void *argp1 = 0 ;
23491 int res1 = 0 ;
23492 PyObject *swig_obj[1] ;
23493
23494 if (!args) SWIG_fail;
23495 swig_obj[0] = args;
23496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23497 if (!SWIG_IsOK(res1)) {
23498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23499 }
23500 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23501 {
23502 PyThreadState* __tstate = wxPyBeginAllowThreads();
23503 result = (int)(arg1)->GetOrientation();
23504 wxPyEndAllowThreads(__tstate);
23505 if (PyErr_Occurred()) SWIG_fail;
23506 }
23507 resultobj = SWIG_From_int(static_cast< int >(result));
23508 return resultobj;
23509 fail:
23510 return NULL;
23511 }
23512
23513
23514 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23515 PyObject *resultobj = 0;
23516 wxPrintData *arg1 = (wxPrintData *) 0 ;
23517 bool result;
23518 void *argp1 = 0 ;
23519 int res1 = 0 ;
23520 PyObject *swig_obj[1] ;
23521
23522 if (!args) SWIG_fail;
23523 swig_obj[0] = args;
23524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23525 if (!SWIG_IsOK(res1)) {
23526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23527 }
23528 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23529 {
23530 PyThreadState* __tstate = wxPyBeginAllowThreads();
23531 result = (bool)(arg1)->Ok();
23532 wxPyEndAllowThreads(__tstate);
23533 if (PyErr_Occurred()) SWIG_fail;
23534 }
23535 {
23536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23537 }
23538 return resultobj;
23539 fail:
23540 return NULL;
23541 }
23542
23543
23544 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23545 PyObject *resultobj = 0;
23546 wxPrintData *arg1 = (wxPrintData *) 0 ;
23547 wxString *result = 0 ;
23548 void *argp1 = 0 ;
23549 int res1 = 0 ;
23550 PyObject *swig_obj[1] ;
23551
23552 if (!args) SWIG_fail;
23553 swig_obj[0] = args;
23554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23555 if (!SWIG_IsOK(res1)) {
23556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23557 }
23558 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23559 {
23560 PyThreadState* __tstate = wxPyBeginAllowThreads();
23561 {
23562 wxString const &_result_ref = (arg1)->GetPrinterName();
23563 result = (wxString *) &_result_ref;
23564 }
23565 wxPyEndAllowThreads(__tstate);
23566 if (PyErr_Occurred()) SWIG_fail;
23567 }
23568 {
23569 #if wxUSE_UNICODE
23570 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23571 #else
23572 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23573 #endif
23574 }
23575 return resultobj;
23576 fail:
23577 return NULL;
23578 }
23579
23580
23581 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23582 PyObject *resultobj = 0;
23583 wxPrintData *arg1 = (wxPrintData *) 0 ;
23584 bool result;
23585 void *argp1 = 0 ;
23586 int res1 = 0 ;
23587 PyObject *swig_obj[1] ;
23588
23589 if (!args) SWIG_fail;
23590 swig_obj[0] = args;
23591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23592 if (!SWIG_IsOK(res1)) {
23593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23594 }
23595 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23596 {
23597 PyThreadState* __tstate = wxPyBeginAllowThreads();
23598 result = (bool)(arg1)->GetColour();
23599 wxPyEndAllowThreads(__tstate);
23600 if (PyErr_Occurred()) SWIG_fail;
23601 }
23602 {
23603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23604 }
23605 return resultobj;
23606 fail:
23607 return NULL;
23608 }
23609
23610
23611 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23612 PyObject *resultobj = 0;
23613 wxPrintData *arg1 = (wxPrintData *) 0 ;
23614 wxDuplexMode result;
23615 void *argp1 = 0 ;
23616 int res1 = 0 ;
23617 PyObject *swig_obj[1] ;
23618
23619 if (!args) SWIG_fail;
23620 swig_obj[0] = args;
23621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23622 if (!SWIG_IsOK(res1)) {
23623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23624 }
23625 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23626 {
23627 PyThreadState* __tstate = wxPyBeginAllowThreads();
23628 result = (wxDuplexMode)(arg1)->GetDuplex();
23629 wxPyEndAllowThreads(__tstate);
23630 if (PyErr_Occurred()) SWIG_fail;
23631 }
23632 resultobj = SWIG_From_int(static_cast< int >(result));
23633 return resultobj;
23634 fail:
23635 return NULL;
23636 }
23637
23638
23639 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23640 PyObject *resultobj = 0;
23641 wxPrintData *arg1 = (wxPrintData *) 0 ;
23642 wxPaperSize result;
23643 void *argp1 = 0 ;
23644 int res1 = 0 ;
23645 PyObject *swig_obj[1] ;
23646
23647 if (!args) SWIG_fail;
23648 swig_obj[0] = args;
23649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23650 if (!SWIG_IsOK(res1)) {
23651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23652 }
23653 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23654 {
23655 PyThreadState* __tstate = wxPyBeginAllowThreads();
23656 result = (wxPaperSize)(arg1)->GetPaperId();
23657 wxPyEndAllowThreads(__tstate);
23658 if (PyErr_Occurred()) SWIG_fail;
23659 }
23660 resultobj = SWIG_From_int(static_cast< int >(result));
23661 return resultobj;
23662 fail:
23663 return NULL;
23664 }
23665
23666
23667 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23668 PyObject *resultobj = 0;
23669 wxPrintData *arg1 = (wxPrintData *) 0 ;
23670 wxSize *result = 0 ;
23671 void *argp1 = 0 ;
23672 int res1 = 0 ;
23673 PyObject *swig_obj[1] ;
23674
23675 if (!args) SWIG_fail;
23676 swig_obj[0] = args;
23677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23678 if (!SWIG_IsOK(res1)) {
23679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23680 }
23681 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23682 {
23683 PyThreadState* __tstate = wxPyBeginAllowThreads();
23684 {
23685 wxSize const &_result_ref = (arg1)->GetPaperSize();
23686 result = (wxSize *) &_result_ref;
23687 }
23688 wxPyEndAllowThreads(__tstate);
23689 if (PyErr_Occurred()) SWIG_fail;
23690 }
23691 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23692 return resultobj;
23693 fail:
23694 return NULL;
23695 }
23696
23697
23698 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23699 PyObject *resultobj = 0;
23700 wxPrintData *arg1 = (wxPrintData *) 0 ;
23701 int result;
23702 void *argp1 = 0 ;
23703 int res1 = 0 ;
23704 PyObject *swig_obj[1] ;
23705
23706 if (!args) SWIG_fail;
23707 swig_obj[0] = args;
23708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23709 if (!SWIG_IsOK(res1)) {
23710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23711 }
23712 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23713 {
23714 PyThreadState* __tstate = wxPyBeginAllowThreads();
23715 result = (int)(arg1)->GetQuality();
23716 wxPyEndAllowThreads(__tstate);
23717 if (PyErr_Occurred()) SWIG_fail;
23718 }
23719 resultobj = SWIG_From_int(static_cast< int >(result));
23720 return resultobj;
23721 fail:
23722 return NULL;
23723 }
23724
23725
23726 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23727 PyObject *resultobj = 0;
23728 wxPrintData *arg1 = (wxPrintData *) 0 ;
23729 wxPrintBin result;
23730 void *argp1 = 0 ;
23731 int res1 = 0 ;
23732 PyObject *swig_obj[1] ;
23733
23734 if (!args) SWIG_fail;
23735 swig_obj[0] = args;
23736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23737 if (!SWIG_IsOK(res1)) {
23738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23739 }
23740 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23741 {
23742 PyThreadState* __tstate = wxPyBeginAllowThreads();
23743 result = (wxPrintBin)(arg1)->GetBin();
23744 wxPyEndAllowThreads(__tstate);
23745 if (PyErr_Occurred()) SWIG_fail;
23746 }
23747 resultobj = SWIG_From_int(static_cast< int >(result));
23748 return resultobj;
23749 fail:
23750 return NULL;
23751 }
23752
23753
23754 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23755 PyObject *resultobj = 0;
23756 wxPrintData *arg1 = (wxPrintData *) 0 ;
23757 wxPrintMode result;
23758 void *argp1 = 0 ;
23759 int res1 = 0 ;
23760 PyObject *swig_obj[1] ;
23761
23762 if (!args) SWIG_fail;
23763 swig_obj[0] = args;
23764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23765 if (!SWIG_IsOK(res1)) {
23766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23767 }
23768 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23769 {
23770 PyThreadState* __tstate = wxPyBeginAllowThreads();
23771 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23772 wxPyEndAllowThreads(__tstate);
23773 if (PyErr_Occurred()) SWIG_fail;
23774 }
23775 resultobj = SWIG_From_int(static_cast< int >(result));
23776 return resultobj;
23777 fail:
23778 return NULL;
23779 }
23780
23781
23782 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23783 PyObject *resultobj = 0;
23784 wxPrintData *arg1 = (wxPrintData *) 0 ;
23785 int arg2 ;
23786 void *argp1 = 0 ;
23787 int res1 = 0 ;
23788 int val2 ;
23789 int ecode2 = 0 ;
23790 PyObject * obj0 = 0 ;
23791 PyObject * obj1 = 0 ;
23792 char * kwnames[] = {
23793 (char *) "self",(char *) "v", NULL
23794 };
23795
23796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23798 if (!SWIG_IsOK(res1)) {
23799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23800 }
23801 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23802 ecode2 = SWIG_AsVal_int(obj1, &val2);
23803 if (!SWIG_IsOK(ecode2)) {
23804 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23805 }
23806 arg2 = static_cast< int >(val2);
23807 {
23808 PyThreadState* __tstate = wxPyBeginAllowThreads();
23809 (arg1)->SetNoCopies(arg2);
23810 wxPyEndAllowThreads(__tstate);
23811 if (PyErr_Occurred()) SWIG_fail;
23812 }
23813 resultobj = SWIG_Py_Void();
23814 return resultobj;
23815 fail:
23816 return NULL;
23817 }
23818
23819
23820 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23821 PyObject *resultobj = 0;
23822 wxPrintData *arg1 = (wxPrintData *) 0 ;
23823 bool arg2 ;
23824 void *argp1 = 0 ;
23825 int res1 = 0 ;
23826 bool val2 ;
23827 int ecode2 = 0 ;
23828 PyObject * obj0 = 0 ;
23829 PyObject * obj1 = 0 ;
23830 char * kwnames[] = {
23831 (char *) "self",(char *) "flag", NULL
23832 };
23833
23834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23836 if (!SWIG_IsOK(res1)) {
23837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23838 }
23839 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23840 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23841 if (!SWIG_IsOK(ecode2)) {
23842 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23843 }
23844 arg2 = static_cast< bool >(val2);
23845 {
23846 PyThreadState* __tstate = wxPyBeginAllowThreads();
23847 (arg1)->SetCollate(arg2);
23848 wxPyEndAllowThreads(__tstate);
23849 if (PyErr_Occurred()) SWIG_fail;
23850 }
23851 resultobj = SWIG_Py_Void();
23852 return resultobj;
23853 fail:
23854 return NULL;
23855 }
23856
23857
23858 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23859 PyObject *resultobj = 0;
23860 wxPrintData *arg1 = (wxPrintData *) 0 ;
23861 int arg2 ;
23862 void *argp1 = 0 ;
23863 int res1 = 0 ;
23864 int val2 ;
23865 int ecode2 = 0 ;
23866 PyObject * obj0 = 0 ;
23867 PyObject * obj1 = 0 ;
23868 char * kwnames[] = {
23869 (char *) "self",(char *) "orient", NULL
23870 };
23871
23872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23874 if (!SWIG_IsOK(res1)) {
23875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23876 }
23877 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23878 ecode2 = SWIG_AsVal_int(obj1, &val2);
23879 if (!SWIG_IsOK(ecode2)) {
23880 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23881 }
23882 arg2 = static_cast< int >(val2);
23883 {
23884 PyThreadState* __tstate = wxPyBeginAllowThreads();
23885 (arg1)->SetOrientation(arg2);
23886 wxPyEndAllowThreads(__tstate);
23887 if (PyErr_Occurred()) SWIG_fail;
23888 }
23889 resultobj = SWIG_Py_Void();
23890 return resultobj;
23891 fail:
23892 return NULL;
23893 }
23894
23895
23896 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23897 PyObject *resultobj = 0;
23898 wxPrintData *arg1 = (wxPrintData *) 0 ;
23899 wxString *arg2 = 0 ;
23900 void *argp1 = 0 ;
23901 int res1 = 0 ;
23902 bool temp2 = false ;
23903 PyObject * obj0 = 0 ;
23904 PyObject * obj1 = 0 ;
23905 char * kwnames[] = {
23906 (char *) "self",(char *) "name", NULL
23907 };
23908
23909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
23910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23911 if (!SWIG_IsOK(res1)) {
23912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23913 }
23914 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23915 {
23916 arg2 = wxString_in_helper(obj1);
23917 if (arg2 == NULL) SWIG_fail;
23918 temp2 = true;
23919 }
23920 {
23921 PyThreadState* __tstate = wxPyBeginAllowThreads();
23922 (arg1)->SetPrinterName((wxString const &)*arg2);
23923 wxPyEndAllowThreads(__tstate);
23924 if (PyErr_Occurred()) SWIG_fail;
23925 }
23926 resultobj = SWIG_Py_Void();
23927 {
23928 if (temp2)
23929 delete arg2;
23930 }
23931 return resultobj;
23932 fail:
23933 {
23934 if (temp2)
23935 delete arg2;
23936 }
23937 return NULL;
23938 }
23939
23940
23941 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23942 PyObject *resultobj = 0;
23943 wxPrintData *arg1 = (wxPrintData *) 0 ;
23944 bool arg2 ;
23945 void *argp1 = 0 ;
23946 int res1 = 0 ;
23947 bool val2 ;
23948 int ecode2 = 0 ;
23949 PyObject * obj0 = 0 ;
23950 PyObject * obj1 = 0 ;
23951 char * kwnames[] = {
23952 (char *) "self",(char *) "colour", NULL
23953 };
23954
23955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
23956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23957 if (!SWIG_IsOK(res1)) {
23958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23959 }
23960 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23961 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23962 if (!SWIG_IsOK(ecode2)) {
23963 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23964 }
23965 arg2 = static_cast< bool >(val2);
23966 {
23967 PyThreadState* __tstate = wxPyBeginAllowThreads();
23968 (arg1)->SetColour(arg2);
23969 wxPyEndAllowThreads(__tstate);
23970 if (PyErr_Occurred()) SWIG_fail;
23971 }
23972 resultobj = SWIG_Py_Void();
23973 return resultobj;
23974 fail:
23975 return NULL;
23976 }
23977
23978
23979 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23980 PyObject *resultobj = 0;
23981 wxPrintData *arg1 = (wxPrintData *) 0 ;
23982 wxDuplexMode arg2 ;
23983 void *argp1 = 0 ;
23984 int res1 = 0 ;
23985 int val2 ;
23986 int ecode2 = 0 ;
23987 PyObject * obj0 = 0 ;
23988 PyObject * obj1 = 0 ;
23989 char * kwnames[] = {
23990 (char *) "self",(char *) "duplex", NULL
23991 };
23992
23993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
23994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23995 if (!SWIG_IsOK(res1)) {
23996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23997 }
23998 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23999 ecode2 = SWIG_AsVal_int(obj1, &val2);
24000 if (!SWIG_IsOK(ecode2)) {
24001 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24002 }
24003 arg2 = static_cast< wxDuplexMode >(val2);
24004 {
24005 PyThreadState* __tstate = wxPyBeginAllowThreads();
24006 (arg1)->SetDuplex(arg2);
24007 wxPyEndAllowThreads(__tstate);
24008 if (PyErr_Occurred()) SWIG_fail;
24009 }
24010 resultobj = SWIG_Py_Void();
24011 return resultobj;
24012 fail:
24013 return NULL;
24014 }
24015
24016
24017 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24018 PyObject *resultobj = 0;
24019 wxPrintData *arg1 = (wxPrintData *) 0 ;
24020 wxPaperSize arg2 ;
24021 void *argp1 = 0 ;
24022 int res1 = 0 ;
24023 int val2 ;
24024 int ecode2 = 0 ;
24025 PyObject * obj0 = 0 ;
24026 PyObject * obj1 = 0 ;
24027 char * kwnames[] = {
24028 (char *) "self",(char *) "sizeId", NULL
24029 };
24030
24031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24033 if (!SWIG_IsOK(res1)) {
24034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24035 }
24036 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24037 ecode2 = SWIG_AsVal_int(obj1, &val2);
24038 if (!SWIG_IsOK(ecode2)) {
24039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24040 }
24041 arg2 = static_cast< wxPaperSize >(val2);
24042 {
24043 PyThreadState* __tstate = wxPyBeginAllowThreads();
24044 (arg1)->SetPaperId(arg2);
24045 wxPyEndAllowThreads(__tstate);
24046 if (PyErr_Occurred()) SWIG_fail;
24047 }
24048 resultobj = SWIG_Py_Void();
24049 return resultobj;
24050 fail:
24051 return NULL;
24052 }
24053
24054
24055 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24056 PyObject *resultobj = 0;
24057 wxPrintData *arg1 = (wxPrintData *) 0 ;
24058 wxSize *arg2 = 0 ;
24059 void *argp1 = 0 ;
24060 int res1 = 0 ;
24061 wxSize temp2 ;
24062 PyObject * obj0 = 0 ;
24063 PyObject * obj1 = 0 ;
24064 char * kwnames[] = {
24065 (char *) "self",(char *) "sz", NULL
24066 };
24067
24068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24070 if (!SWIG_IsOK(res1)) {
24071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24072 }
24073 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24074 {
24075 arg2 = &temp2;
24076 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24077 }
24078 {
24079 PyThreadState* __tstate = wxPyBeginAllowThreads();
24080 (arg1)->SetPaperSize((wxSize const &)*arg2);
24081 wxPyEndAllowThreads(__tstate);
24082 if (PyErr_Occurred()) SWIG_fail;
24083 }
24084 resultobj = SWIG_Py_Void();
24085 return resultobj;
24086 fail:
24087 return NULL;
24088 }
24089
24090
24091 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24092 PyObject *resultobj = 0;
24093 wxPrintData *arg1 = (wxPrintData *) 0 ;
24094 int arg2 ;
24095 void *argp1 = 0 ;
24096 int res1 = 0 ;
24097 int val2 ;
24098 int ecode2 = 0 ;
24099 PyObject * obj0 = 0 ;
24100 PyObject * obj1 = 0 ;
24101 char * kwnames[] = {
24102 (char *) "self",(char *) "quality", NULL
24103 };
24104
24105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24107 if (!SWIG_IsOK(res1)) {
24108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24109 }
24110 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24111 ecode2 = SWIG_AsVal_int(obj1, &val2);
24112 if (!SWIG_IsOK(ecode2)) {
24113 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24114 }
24115 arg2 = static_cast< int >(val2);
24116 {
24117 PyThreadState* __tstate = wxPyBeginAllowThreads();
24118 (arg1)->SetQuality(arg2);
24119 wxPyEndAllowThreads(__tstate);
24120 if (PyErr_Occurred()) SWIG_fail;
24121 }
24122 resultobj = SWIG_Py_Void();
24123 return resultobj;
24124 fail:
24125 return NULL;
24126 }
24127
24128
24129 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24130 PyObject *resultobj = 0;
24131 wxPrintData *arg1 = (wxPrintData *) 0 ;
24132 wxPrintBin arg2 ;
24133 void *argp1 = 0 ;
24134 int res1 = 0 ;
24135 int val2 ;
24136 int ecode2 = 0 ;
24137 PyObject * obj0 = 0 ;
24138 PyObject * obj1 = 0 ;
24139 char * kwnames[] = {
24140 (char *) "self",(char *) "bin", NULL
24141 };
24142
24143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24145 if (!SWIG_IsOK(res1)) {
24146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24147 }
24148 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24149 ecode2 = SWIG_AsVal_int(obj1, &val2);
24150 if (!SWIG_IsOK(ecode2)) {
24151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24152 }
24153 arg2 = static_cast< wxPrintBin >(val2);
24154 {
24155 PyThreadState* __tstate = wxPyBeginAllowThreads();
24156 (arg1)->SetBin(arg2);
24157 wxPyEndAllowThreads(__tstate);
24158 if (PyErr_Occurred()) SWIG_fail;
24159 }
24160 resultobj = SWIG_Py_Void();
24161 return resultobj;
24162 fail:
24163 return NULL;
24164 }
24165
24166
24167 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24168 PyObject *resultobj = 0;
24169 wxPrintData *arg1 = (wxPrintData *) 0 ;
24170 wxPrintMode arg2 ;
24171 void *argp1 = 0 ;
24172 int res1 = 0 ;
24173 int val2 ;
24174 int ecode2 = 0 ;
24175 PyObject * obj0 = 0 ;
24176 PyObject * obj1 = 0 ;
24177 char * kwnames[] = {
24178 (char *) "self",(char *) "printMode", NULL
24179 };
24180
24181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24183 if (!SWIG_IsOK(res1)) {
24184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24185 }
24186 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24187 ecode2 = SWIG_AsVal_int(obj1, &val2);
24188 if (!SWIG_IsOK(ecode2)) {
24189 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24190 }
24191 arg2 = static_cast< wxPrintMode >(val2);
24192 {
24193 PyThreadState* __tstate = wxPyBeginAllowThreads();
24194 (arg1)->SetPrintMode(arg2);
24195 wxPyEndAllowThreads(__tstate);
24196 if (PyErr_Occurred()) SWIG_fail;
24197 }
24198 resultobj = SWIG_Py_Void();
24199 return resultobj;
24200 fail:
24201 return NULL;
24202 }
24203
24204
24205 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24206 PyObject *resultobj = 0;
24207 wxPrintData *arg1 = (wxPrintData *) 0 ;
24208 wxString result;
24209 void *argp1 = 0 ;
24210 int res1 = 0 ;
24211 PyObject *swig_obj[1] ;
24212
24213 if (!args) SWIG_fail;
24214 swig_obj[0] = args;
24215 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24216 if (!SWIG_IsOK(res1)) {
24217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24218 }
24219 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24220 {
24221 PyThreadState* __tstate = wxPyBeginAllowThreads();
24222 result = ((wxPrintData const *)arg1)->GetFilename();
24223 wxPyEndAllowThreads(__tstate);
24224 if (PyErr_Occurred()) SWIG_fail;
24225 }
24226 {
24227 #if wxUSE_UNICODE
24228 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24229 #else
24230 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24231 #endif
24232 }
24233 return resultobj;
24234 fail:
24235 return NULL;
24236 }
24237
24238
24239 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24240 PyObject *resultobj = 0;
24241 wxPrintData *arg1 = (wxPrintData *) 0 ;
24242 wxString *arg2 = 0 ;
24243 void *argp1 = 0 ;
24244 int res1 = 0 ;
24245 bool temp2 = false ;
24246 PyObject * obj0 = 0 ;
24247 PyObject * obj1 = 0 ;
24248 char * kwnames[] = {
24249 (char *) "self",(char *) "filename", NULL
24250 };
24251
24252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24254 if (!SWIG_IsOK(res1)) {
24255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24256 }
24257 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24258 {
24259 arg2 = wxString_in_helper(obj1);
24260 if (arg2 == NULL) SWIG_fail;
24261 temp2 = true;
24262 }
24263 {
24264 PyThreadState* __tstate = wxPyBeginAllowThreads();
24265 (arg1)->SetFilename((wxString const &)*arg2);
24266 wxPyEndAllowThreads(__tstate);
24267 if (PyErr_Occurred()) SWIG_fail;
24268 }
24269 resultobj = SWIG_Py_Void();
24270 {
24271 if (temp2)
24272 delete arg2;
24273 }
24274 return resultobj;
24275 fail:
24276 {
24277 if (temp2)
24278 delete arg2;
24279 }
24280 return NULL;
24281 }
24282
24283
24284 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24285 PyObject *resultobj = 0;
24286 wxPrintData *arg1 = (wxPrintData *) 0 ;
24287 PyObject *result = 0 ;
24288 void *argp1 = 0 ;
24289 int res1 = 0 ;
24290 PyObject *swig_obj[1] ;
24291
24292 if (!args) SWIG_fail;
24293 swig_obj[0] = args;
24294 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24295 if (!SWIG_IsOK(res1)) {
24296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24297 }
24298 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24299 {
24300 PyThreadState* __tstate = wxPyBeginAllowThreads();
24301 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 resultobj = result;
24306 return resultobj;
24307 fail:
24308 return NULL;
24309 }
24310
24311
24312 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24313 PyObject *resultobj = 0;
24314 wxPrintData *arg1 = (wxPrintData *) 0 ;
24315 PyObject *arg2 = (PyObject *) 0 ;
24316 void *argp1 = 0 ;
24317 int res1 = 0 ;
24318 PyObject * obj0 = 0 ;
24319 PyObject * obj1 = 0 ;
24320 char * kwnames[] = {
24321 (char *) "self",(char *) "data", NULL
24322 };
24323
24324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24326 if (!SWIG_IsOK(res1)) {
24327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24328 }
24329 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24330 arg2 = obj1;
24331 {
24332 PyThreadState* __tstate = wxPyBeginAllowThreads();
24333 wxPrintData_SetPrivData(arg1,arg2);
24334 wxPyEndAllowThreads(__tstate);
24335 if (PyErr_Occurred()) SWIG_fail;
24336 }
24337 resultobj = SWIG_Py_Void();
24338 return resultobj;
24339 fail:
24340 return NULL;
24341 }
24342
24343
24344 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24345 PyObject *obj;
24346 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24347 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24348 return SWIG_Py_Void();
24349 }
24350
24351 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24352 return SWIG_Python_InitShadowInstance(args);
24353 }
24354
24355 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24356 PyObject *resultobj = 0;
24357 wxPageSetupDialogData *result = 0 ;
24358
24359 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24360 {
24361 PyThreadState* __tstate = wxPyBeginAllowThreads();
24362 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24363 wxPyEndAllowThreads(__tstate);
24364 if (PyErr_Occurred()) SWIG_fail;
24365 }
24366 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24367 return resultobj;
24368 fail:
24369 return NULL;
24370 }
24371
24372
24373 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24374 PyObject *resultobj = 0;
24375 wxPageSetupDialogData *arg1 = 0 ;
24376 wxPageSetupDialogData *result = 0 ;
24377 void *argp1 = 0 ;
24378 int res1 = 0 ;
24379
24380 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24382 if (!SWIG_IsOK(res1)) {
24383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24384 }
24385 if (!argp1) {
24386 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24387 }
24388 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24389 {
24390 PyThreadState* __tstate = wxPyBeginAllowThreads();
24391 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24392 wxPyEndAllowThreads(__tstate);
24393 if (PyErr_Occurred()) SWIG_fail;
24394 }
24395 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24396 return resultobj;
24397 fail:
24398 return NULL;
24399 }
24400
24401
24402 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24403 PyObject *resultobj = 0;
24404 wxPrintData *arg1 = 0 ;
24405 wxPageSetupDialogData *result = 0 ;
24406 void *argp1 = 0 ;
24407 int res1 = 0 ;
24408
24409 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24411 if (!SWIG_IsOK(res1)) {
24412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24413 }
24414 if (!argp1) {
24415 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24416 }
24417 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24418 {
24419 PyThreadState* __tstate = wxPyBeginAllowThreads();
24420 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24421 wxPyEndAllowThreads(__tstate);
24422 if (PyErr_Occurred()) SWIG_fail;
24423 }
24424 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24425 return resultobj;
24426 fail:
24427 return NULL;
24428 }
24429
24430
24431 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24432 int argc;
24433 PyObject *argv[2];
24434
24435 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24436 --argc;
24437 if (argc == 0) {
24438 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24439 }
24440 if (argc == 1) {
24441 int _v = 0;
24442 {
24443 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24444 _v = SWIG_CheckState(res);
24445 }
24446 if (!_v) goto check_2;
24447 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24448 }
24449 check_2:
24450
24451 if (argc == 1) {
24452 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24453 }
24454
24455 fail:
24456 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24457 return NULL;
24458 }
24459
24460
24461 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24462 PyObject *resultobj = 0;
24463 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24464 void *argp1 = 0 ;
24465 int res1 = 0 ;
24466 PyObject *swig_obj[1] ;
24467
24468 if (!args) SWIG_fail;
24469 swig_obj[0] = args;
24470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24471 if (!SWIG_IsOK(res1)) {
24472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24473 }
24474 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24475 {
24476 PyThreadState* __tstate = wxPyBeginAllowThreads();
24477 delete arg1;
24478
24479 wxPyEndAllowThreads(__tstate);
24480 if (PyErr_Occurred()) SWIG_fail;
24481 }
24482 resultobj = SWIG_Py_Void();
24483 return resultobj;
24484 fail:
24485 return NULL;
24486 }
24487
24488
24489 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24490 PyObject *resultobj = 0;
24491 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24492 bool arg2 ;
24493 void *argp1 = 0 ;
24494 int res1 = 0 ;
24495 bool val2 ;
24496 int ecode2 = 0 ;
24497 PyObject * obj0 = 0 ;
24498 PyObject * obj1 = 0 ;
24499 char * kwnames[] = {
24500 (char *) "self",(char *) "flag", NULL
24501 };
24502
24503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24505 if (!SWIG_IsOK(res1)) {
24506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24507 }
24508 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24509 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24510 if (!SWIG_IsOK(ecode2)) {
24511 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24512 }
24513 arg2 = static_cast< bool >(val2);
24514 {
24515 PyThreadState* __tstate = wxPyBeginAllowThreads();
24516 (arg1)->EnableHelp(arg2);
24517 wxPyEndAllowThreads(__tstate);
24518 if (PyErr_Occurred()) SWIG_fail;
24519 }
24520 resultobj = SWIG_Py_Void();
24521 return resultobj;
24522 fail:
24523 return NULL;
24524 }
24525
24526
24527 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24528 PyObject *resultobj = 0;
24529 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24530 bool arg2 ;
24531 void *argp1 = 0 ;
24532 int res1 = 0 ;
24533 bool val2 ;
24534 int ecode2 = 0 ;
24535 PyObject * obj0 = 0 ;
24536 PyObject * obj1 = 0 ;
24537 char * kwnames[] = {
24538 (char *) "self",(char *) "flag", NULL
24539 };
24540
24541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24543 if (!SWIG_IsOK(res1)) {
24544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24545 }
24546 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24547 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24548 if (!SWIG_IsOK(ecode2)) {
24549 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24550 }
24551 arg2 = static_cast< bool >(val2);
24552 {
24553 PyThreadState* __tstate = wxPyBeginAllowThreads();
24554 (arg1)->EnableMargins(arg2);
24555 wxPyEndAllowThreads(__tstate);
24556 if (PyErr_Occurred()) SWIG_fail;
24557 }
24558 resultobj = SWIG_Py_Void();
24559 return resultobj;
24560 fail:
24561 return NULL;
24562 }
24563
24564
24565 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24566 PyObject *resultobj = 0;
24567 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24568 bool arg2 ;
24569 void *argp1 = 0 ;
24570 int res1 = 0 ;
24571 bool val2 ;
24572 int ecode2 = 0 ;
24573 PyObject * obj0 = 0 ;
24574 PyObject * obj1 = 0 ;
24575 char * kwnames[] = {
24576 (char *) "self",(char *) "flag", NULL
24577 };
24578
24579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24581 if (!SWIG_IsOK(res1)) {
24582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24583 }
24584 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24585 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24586 if (!SWIG_IsOK(ecode2)) {
24587 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24588 }
24589 arg2 = static_cast< bool >(val2);
24590 {
24591 PyThreadState* __tstate = wxPyBeginAllowThreads();
24592 (arg1)->EnableOrientation(arg2);
24593 wxPyEndAllowThreads(__tstate);
24594 if (PyErr_Occurred()) SWIG_fail;
24595 }
24596 resultobj = SWIG_Py_Void();
24597 return resultobj;
24598 fail:
24599 return NULL;
24600 }
24601
24602
24603 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24604 PyObject *resultobj = 0;
24605 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24606 bool arg2 ;
24607 void *argp1 = 0 ;
24608 int res1 = 0 ;
24609 bool val2 ;
24610 int ecode2 = 0 ;
24611 PyObject * obj0 = 0 ;
24612 PyObject * obj1 = 0 ;
24613 char * kwnames[] = {
24614 (char *) "self",(char *) "flag", NULL
24615 };
24616
24617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24619 if (!SWIG_IsOK(res1)) {
24620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24621 }
24622 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24623 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24624 if (!SWIG_IsOK(ecode2)) {
24625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24626 }
24627 arg2 = static_cast< bool >(val2);
24628 {
24629 PyThreadState* __tstate = wxPyBeginAllowThreads();
24630 (arg1)->EnablePaper(arg2);
24631 wxPyEndAllowThreads(__tstate);
24632 if (PyErr_Occurred()) SWIG_fail;
24633 }
24634 resultobj = SWIG_Py_Void();
24635 return resultobj;
24636 fail:
24637 return NULL;
24638 }
24639
24640
24641 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24642 PyObject *resultobj = 0;
24643 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24644 bool arg2 ;
24645 void *argp1 = 0 ;
24646 int res1 = 0 ;
24647 bool val2 ;
24648 int ecode2 = 0 ;
24649 PyObject * obj0 = 0 ;
24650 PyObject * obj1 = 0 ;
24651 char * kwnames[] = {
24652 (char *) "self",(char *) "flag", NULL
24653 };
24654
24655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24657 if (!SWIG_IsOK(res1)) {
24658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24659 }
24660 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24661 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24662 if (!SWIG_IsOK(ecode2)) {
24663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24664 }
24665 arg2 = static_cast< bool >(val2);
24666 {
24667 PyThreadState* __tstate = wxPyBeginAllowThreads();
24668 (arg1)->EnablePrinter(arg2);
24669 wxPyEndAllowThreads(__tstate);
24670 if (PyErr_Occurred()) SWIG_fail;
24671 }
24672 resultobj = SWIG_Py_Void();
24673 return resultobj;
24674 fail:
24675 return NULL;
24676 }
24677
24678
24679 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24680 PyObject *resultobj = 0;
24681 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24682 bool result;
24683 void *argp1 = 0 ;
24684 int res1 = 0 ;
24685 PyObject *swig_obj[1] ;
24686
24687 if (!args) SWIG_fail;
24688 swig_obj[0] = args;
24689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24690 if (!SWIG_IsOK(res1)) {
24691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24692 }
24693 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24694 {
24695 PyThreadState* __tstate = wxPyBeginAllowThreads();
24696 result = (bool)(arg1)->GetDefaultMinMargins();
24697 wxPyEndAllowThreads(__tstate);
24698 if (PyErr_Occurred()) SWIG_fail;
24699 }
24700 {
24701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24702 }
24703 return resultobj;
24704 fail:
24705 return NULL;
24706 }
24707
24708
24709 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24710 PyObject *resultobj = 0;
24711 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24712 bool result;
24713 void *argp1 = 0 ;
24714 int res1 = 0 ;
24715 PyObject *swig_obj[1] ;
24716
24717 if (!args) SWIG_fail;
24718 swig_obj[0] = args;
24719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24720 if (!SWIG_IsOK(res1)) {
24721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24722 }
24723 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24724 {
24725 PyThreadState* __tstate = wxPyBeginAllowThreads();
24726 result = (bool)(arg1)->GetEnableMargins();
24727 wxPyEndAllowThreads(__tstate);
24728 if (PyErr_Occurred()) SWIG_fail;
24729 }
24730 {
24731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24732 }
24733 return resultobj;
24734 fail:
24735 return NULL;
24736 }
24737
24738
24739 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24740 PyObject *resultobj = 0;
24741 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24742 bool result;
24743 void *argp1 = 0 ;
24744 int res1 = 0 ;
24745 PyObject *swig_obj[1] ;
24746
24747 if (!args) SWIG_fail;
24748 swig_obj[0] = args;
24749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24750 if (!SWIG_IsOK(res1)) {
24751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24752 }
24753 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24754 {
24755 PyThreadState* __tstate = wxPyBeginAllowThreads();
24756 result = (bool)(arg1)->GetEnableOrientation();
24757 wxPyEndAllowThreads(__tstate);
24758 if (PyErr_Occurred()) SWIG_fail;
24759 }
24760 {
24761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24762 }
24763 return resultobj;
24764 fail:
24765 return NULL;
24766 }
24767
24768
24769 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24770 PyObject *resultobj = 0;
24771 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24772 bool result;
24773 void *argp1 = 0 ;
24774 int res1 = 0 ;
24775 PyObject *swig_obj[1] ;
24776
24777 if (!args) SWIG_fail;
24778 swig_obj[0] = args;
24779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24780 if (!SWIG_IsOK(res1)) {
24781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24782 }
24783 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24784 {
24785 PyThreadState* __tstate = wxPyBeginAllowThreads();
24786 result = (bool)(arg1)->GetEnablePaper();
24787 wxPyEndAllowThreads(__tstate);
24788 if (PyErr_Occurred()) SWIG_fail;
24789 }
24790 {
24791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24792 }
24793 return resultobj;
24794 fail:
24795 return NULL;
24796 }
24797
24798
24799 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24800 PyObject *resultobj = 0;
24801 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24802 bool result;
24803 void *argp1 = 0 ;
24804 int res1 = 0 ;
24805 PyObject *swig_obj[1] ;
24806
24807 if (!args) SWIG_fail;
24808 swig_obj[0] = args;
24809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24810 if (!SWIG_IsOK(res1)) {
24811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24812 }
24813 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24814 {
24815 PyThreadState* __tstate = wxPyBeginAllowThreads();
24816 result = (bool)(arg1)->GetEnablePrinter();
24817 wxPyEndAllowThreads(__tstate);
24818 if (PyErr_Occurred()) SWIG_fail;
24819 }
24820 {
24821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24822 }
24823 return resultobj;
24824 fail:
24825 return NULL;
24826 }
24827
24828
24829 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24830 PyObject *resultobj = 0;
24831 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24832 bool result;
24833 void *argp1 = 0 ;
24834 int res1 = 0 ;
24835 PyObject *swig_obj[1] ;
24836
24837 if (!args) SWIG_fail;
24838 swig_obj[0] = args;
24839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24840 if (!SWIG_IsOK(res1)) {
24841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24842 }
24843 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24844 {
24845 PyThreadState* __tstate = wxPyBeginAllowThreads();
24846 result = (bool)(arg1)->GetEnableHelp();
24847 wxPyEndAllowThreads(__tstate);
24848 if (PyErr_Occurred()) SWIG_fail;
24849 }
24850 {
24851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24852 }
24853 return resultobj;
24854 fail:
24855 return NULL;
24856 }
24857
24858
24859 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24860 PyObject *resultobj = 0;
24861 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24862 bool result;
24863 void *argp1 = 0 ;
24864 int res1 = 0 ;
24865 PyObject *swig_obj[1] ;
24866
24867 if (!args) SWIG_fail;
24868 swig_obj[0] = args;
24869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24870 if (!SWIG_IsOK(res1)) {
24871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24872 }
24873 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24874 {
24875 PyThreadState* __tstate = wxPyBeginAllowThreads();
24876 result = (bool)(arg1)->GetDefaultInfo();
24877 wxPyEndAllowThreads(__tstate);
24878 if (PyErr_Occurred()) SWIG_fail;
24879 }
24880 {
24881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24882 }
24883 return resultobj;
24884 fail:
24885 return NULL;
24886 }
24887
24888
24889 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24890 PyObject *resultobj = 0;
24891 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24892 wxPoint result;
24893 void *argp1 = 0 ;
24894 int res1 = 0 ;
24895 PyObject *swig_obj[1] ;
24896
24897 if (!args) SWIG_fail;
24898 swig_obj[0] = args;
24899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24900 if (!SWIG_IsOK(res1)) {
24901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24902 }
24903 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24904 {
24905 PyThreadState* __tstate = wxPyBeginAllowThreads();
24906 result = (arg1)->GetMarginTopLeft();
24907 wxPyEndAllowThreads(__tstate);
24908 if (PyErr_Occurred()) SWIG_fail;
24909 }
24910 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24911 return resultobj;
24912 fail:
24913 return NULL;
24914 }
24915
24916
24917 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24918 PyObject *resultobj = 0;
24919 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24920 wxPoint result;
24921 void *argp1 = 0 ;
24922 int res1 = 0 ;
24923 PyObject *swig_obj[1] ;
24924
24925 if (!args) SWIG_fail;
24926 swig_obj[0] = args;
24927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24928 if (!SWIG_IsOK(res1)) {
24929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24930 }
24931 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24932 {
24933 PyThreadState* __tstate = wxPyBeginAllowThreads();
24934 result = (arg1)->GetMarginBottomRight();
24935 wxPyEndAllowThreads(__tstate);
24936 if (PyErr_Occurred()) SWIG_fail;
24937 }
24938 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24939 return resultobj;
24940 fail:
24941 return NULL;
24942 }
24943
24944
24945 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24946 PyObject *resultobj = 0;
24947 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24948 wxPoint result;
24949 void *argp1 = 0 ;
24950 int res1 = 0 ;
24951 PyObject *swig_obj[1] ;
24952
24953 if (!args) SWIG_fail;
24954 swig_obj[0] = args;
24955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24956 if (!SWIG_IsOK(res1)) {
24957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24958 }
24959 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24960 {
24961 PyThreadState* __tstate = wxPyBeginAllowThreads();
24962 result = (arg1)->GetMinMarginTopLeft();
24963 wxPyEndAllowThreads(__tstate);
24964 if (PyErr_Occurred()) SWIG_fail;
24965 }
24966 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24967 return resultobj;
24968 fail:
24969 return NULL;
24970 }
24971
24972
24973 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24974 PyObject *resultobj = 0;
24975 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24976 wxPoint result;
24977 void *argp1 = 0 ;
24978 int res1 = 0 ;
24979 PyObject *swig_obj[1] ;
24980
24981 if (!args) SWIG_fail;
24982 swig_obj[0] = args;
24983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24984 if (!SWIG_IsOK(res1)) {
24985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24986 }
24987 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24988 {
24989 PyThreadState* __tstate = wxPyBeginAllowThreads();
24990 result = (arg1)->GetMinMarginBottomRight();
24991 wxPyEndAllowThreads(__tstate);
24992 if (PyErr_Occurred()) SWIG_fail;
24993 }
24994 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24995 return resultobj;
24996 fail:
24997 return NULL;
24998 }
24999
25000
25001 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25002 PyObject *resultobj = 0;
25003 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25004 wxPaperSize result;
25005 void *argp1 = 0 ;
25006 int res1 = 0 ;
25007 PyObject *swig_obj[1] ;
25008
25009 if (!args) SWIG_fail;
25010 swig_obj[0] = args;
25011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25012 if (!SWIG_IsOK(res1)) {
25013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25014 }
25015 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25016 {
25017 PyThreadState* __tstate = wxPyBeginAllowThreads();
25018 result = (wxPaperSize)(arg1)->GetPaperId();
25019 wxPyEndAllowThreads(__tstate);
25020 if (PyErr_Occurred()) SWIG_fail;
25021 }
25022 resultobj = SWIG_From_int(static_cast< int >(result));
25023 return resultobj;
25024 fail:
25025 return NULL;
25026 }
25027
25028
25029 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25030 PyObject *resultobj = 0;
25031 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25032 wxSize result;
25033 void *argp1 = 0 ;
25034 int res1 = 0 ;
25035 PyObject *swig_obj[1] ;
25036
25037 if (!args) SWIG_fail;
25038 swig_obj[0] = args;
25039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25040 if (!SWIG_IsOK(res1)) {
25041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25042 }
25043 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25044 {
25045 PyThreadState* __tstate = wxPyBeginAllowThreads();
25046 result = (arg1)->GetPaperSize();
25047 wxPyEndAllowThreads(__tstate);
25048 if (PyErr_Occurred()) SWIG_fail;
25049 }
25050 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25051 return resultobj;
25052 fail:
25053 return NULL;
25054 }
25055
25056
25057 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25058 PyObject *resultobj = 0;
25059 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25060 wxPrintData *result = 0 ;
25061 void *argp1 = 0 ;
25062 int res1 = 0 ;
25063 PyObject *swig_obj[1] ;
25064
25065 if (!args) SWIG_fail;
25066 swig_obj[0] = args;
25067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25068 if (!SWIG_IsOK(res1)) {
25069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25070 }
25071 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25072 {
25073 PyThreadState* __tstate = wxPyBeginAllowThreads();
25074 {
25075 wxPrintData &_result_ref = (arg1)->GetPrintData();
25076 result = (wxPrintData *) &_result_ref;
25077 }
25078 wxPyEndAllowThreads(__tstate);
25079 if (PyErr_Occurred()) SWIG_fail;
25080 }
25081 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25082 return resultobj;
25083 fail:
25084 return NULL;
25085 }
25086
25087
25088 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25089 PyObject *resultobj = 0;
25090 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25091 bool result;
25092 void *argp1 = 0 ;
25093 int res1 = 0 ;
25094 PyObject *swig_obj[1] ;
25095
25096 if (!args) SWIG_fail;
25097 swig_obj[0] = args;
25098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25099 if (!SWIG_IsOK(res1)) {
25100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25101 }
25102 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25103 {
25104 PyThreadState* __tstate = wxPyBeginAllowThreads();
25105 result = (bool)(arg1)->Ok();
25106 wxPyEndAllowThreads(__tstate);
25107 if (PyErr_Occurred()) SWIG_fail;
25108 }
25109 {
25110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25111 }
25112 return resultobj;
25113 fail:
25114 return NULL;
25115 }
25116
25117
25118 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25119 PyObject *resultobj = 0;
25120 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25121 bool arg2 ;
25122 void *argp1 = 0 ;
25123 int res1 = 0 ;
25124 bool val2 ;
25125 int ecode2 = 0 ;
25126 PyObject * obj0 = 0 ;
25127 PyObject * obj1 = 0 ;
25128 char * kwnames[] = {
25129 (char *) "self",(char *) "flag", NULL
25130 };
25131
25132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25134 if (!SWIG_IsOK(res1)) {
25135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25136 }
25137 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25138 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25139 if (!SWIG_IsOK(ecode2)) {
25140 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25141 }
25142 arg2 = static_cast< bool >(val2);
25143 {
25144 PyThreadState* __tstate = wxPyBeginAllowThreads();
25145 (arg1)->SetDefaultInfo(arg2);
25146 wxPyEndAllowThreads(__tstate);
25147 if (PyErr_Occurred()) SWIG_fail;
25148 }
25149 resultobj = SWIG_Py_Void();
25150 return resultobj;
25151 fail:
25152 return NULL;
25153 }
25154
25155
25156 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25157 PyObject *resultobj = 0;
25158 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25159 bool arg2 ;
25160 void *argp1 = 0 ;
25161 int res1 = 0 ;
25162 bool val2 ;
25163 int ecode2 = 0 ;
25164 PyObject * obj0 = 0 ;
25165 PyObject * obj1 = 0 ;
25166 char * kwnames[] = {
25167 (char *) "self",(char *) "flag", NULL
25168 };
25169
25170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25172 if (!SWIG_IsOK(res1)) {
25173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25174 }
25175 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25176 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25177 if (!SWIG_IsOK(ecode2)) {
25178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25179 }
25180 arg2 = static_cast< bool >(val2);
25181 {
25182 PyThreadState* __tstate = wxPyBeginAllowThreads();
25183 (arg1)->SetDefaultMinMargins(arg2);
25184 wxPyEndAllowThreads(__tstate);
25185 if (PyErr_Occurred()) SWIG_fail;
25186 }
25187 resultobj = SWIG_Py_Void();
25188 return resultobj;
25189 fail:
25190 return NULL;
25191 }
25192
25193
25194 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25195 PyObject *resultobj = 0;
25196 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25197 wxPoint *arg2 = 0 ;
25198 void *argp1 = 0 ;
25199 int res1 = 0 ;
25200 wxPoint temp2 ;
25201 PyObject * obj0 = 0 ;
25202 PyObject * obj1 = 0 ;
25203 char * kwnames[] = {
25204 (char *) "self",(char *) "pt", NULL
25205 };
25206
25207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25209 if (!SWIG_IsOK(res1)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25211 }
25212 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25213 {
25214 arg2 = &temp2;
25215 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25216 }
25217 {
25218 PyThreadState* __tstate = wxPyBeginAllowThreads();
25219 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25220 wxPyEndAllowThreads(__tstate);
25221 if (PyErr_Occurred()) SWIG_fail;
25222 }
25223 resultobj = SWIG_Py_Void();
25224 return resultobj;
25225 fail:
25226 return NULL;
25227 }
25228
25229
25230 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25231 PyObject *resultobj = 0;
25232 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25233 wxPoint *arg2 = 0 ;
25234 void *argp1 = 0 ;
25235 int res1 = 0 ;
25236 wxPoint temp2 ;
25237 PyObject * obj0 = 0 ;
25238 PyObject * obj1 = 0 ;
25239 char * kwnames[] = {
25240 (char *) "self",(char *) "pt", NULL
25241 };
25242
25243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25245 if (!SWIG_IsOK(res1)) {
25246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25247 }
25248 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25249 {
25250 arg2 = &temp2;
25251 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25252 }
25253 {
25254 PyThreadState* __tstate = wxPyBeginAllowThreads();
25255 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25256 wxPyEndAllowThreads(__tstate);
25257 if (PyErr_Occurred()) SWIG_fail;
25258 }
25259 resultobj = SWIG_Py_Void();
25260 return resultobj;
25261 fail:
25262 return NULL;
25263 }
25264
25265
25266 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25267 PyObject *resultobj = 0;
25268 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25269 wxPoint *arg2 = 0 ;
25270 void *argp1 = 0 ;
25271 int res1 = 0 ;
25272 wxPoint temp2 ;
25273 PyObject * obj0 = 0 ;
25274 PyObject * obj1 = 0 ;
25275 char * kwnames[] = {
25276 (char *) "self",(char *) "pt", NULL
25277 };
25278
25279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25281 if (!SWIG_IsOK(res1)) {
25282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25283 }
25284 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25285 {
25286 arg2 = &temp2;
25287 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25288 }
25289 {
25290 PyThreadState* __tstate = wxPyBeginAllowThreads();
25291 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25292 wxPyEndAllowThreads(__tstate);
25293 if (PyErr_Occurred()) SWIG_fail;
25294 }
25295 resultobj = SWIG_Py_Void();
25296 return resultobj;
25297 fail:
25298 return NULL;
25299 }
25300
25301
25302 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25303 PyObject *resultobj = 0;
25304 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25305 wxPoint *arg2 = 0 ;
25306 void *argp1 = 0 ;
25307 int res1 = 0 ;
25308 wxPoint temp2 ;
25309 PyObject * obj0 = 0 ;
25310 PyObject * obj1 = 0 ;
25311 char * kwnames[] = {
25312 (char *) "self",(char *) "pt", NULL
25313 };
25314
25315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25317 if (!SWIG_IsOK(res1)) {
25318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25319 }
25320 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25321 {
25322 arg2 = &temp2;
25323 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25324 }
25325 {
25326 PyThreadState* __tstate = wxPyBeginAllowThreads();
25327 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25328 wxPyEndAllowThreads(__tstate);
25329 if (PyErr_Occurred()) SWIG_fail;
25330 }
25331 resultobj = SWIG_Py_Void();
25332 return resultobj;
25333 fail:
25334 return NULL;
25335 }
25336
25337
25338 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25339 PyObject *resultobj = 0;
25340 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25341 wxPaperSize arg2 ;
25342 void *argp1 = 0 ;
25343 int res1 = 0 ;
25344 int val2 ;
25345 int ecode2 = 0 ;
25346 PyObject * obj0 = 0 ;
25347 PyObject * obj1 = 0 ;
25348 char * kwnames[] = {
25349 (char *) "self",(char *) "id", NULL
25350 };
25351
25352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25354 if (!SWIG_IsOK(res1)) {
25355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25356 }
25357 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25358 ecode2 = SWIG_AsVal_int(obj1, &val2);
25359 if (!SWIG_IsOK(ecode2)) {
25360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25361 }
25362 arg2 = static_cast< wxPaperSize >(val2);
25363 {
25364 PyThreadState* __tstate = wxPyBeginAllowThreads();
25365 (arg1)->SetPaperId(arg2);
25366 wxPyEndAllowThreads(__tstate);
25367 if (PyErr_Occurred()) SWIG_fail;
25368 }
25369 resultobj = SWIG_Py_Void();
25370 return resultobj;
25371 fail:
25372 return NULL;
25373 }
25374
25375
25376 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25377 PyObject *resultobj = 0;
25378 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25379 wxSize *arg2 = 0 ;
25380 void *argp1 = 0 ;
25381 int res1 = 0 ;
25382 wxSize temp2 ;
25383 PyObject * obj0 = 0 ;
25384 PyObject * obj1 = 0 ;
25385 char * kwnames[] = {
25386 (char *) "self",(char *) "size", NULL
25387 };
25388
25389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25391 if (!SWIG_IsOK(res1)) {
25392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25393 }
25394 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25395 {
25396 arg2 = &temp2;
25397 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25398 }
25399 {
25400 PyThreadState* __tstate = wxPyBeginAllowThreads();
25401 (arg1)->SetPaperSize((wxSize const &)*arg2);
25402 wxPyEndAllowThreads(__tstate);
25403 if (PyErr_Occurred()) SWIG_fail;
25404 }
25405 resultobj = SWIG_Py_Void();
25406 return resultobj;
25407 fail:
25408 return NULL;
25409 }
25410
25411
25412 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25413 PyObject *resultobj = 0;
25414 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25415 wxPrintData *arg2 = 0 ;
25416 void *argp1 = 0 ;
25417 int res1 = 0 ;
25418 void *argp2 = 0 ;
25419 int res2 = 0 ;
25420 PyObject * obj0 = 0 ;
25421 PyObject * obj1 = 0 ;
25422 char * kwnames[] = {
25423 (char *) "self",(char *) "printData", NULL
25424 };
25425
25426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25428 if (!SWIG_IsOK(res1)) {
25429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25430 }
25431 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25432 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25433 if (!SWIG_IsOK(res2)) {
25434 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25435 }
25436 if (!argp2) {
25437 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25438 }
25439 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25440 {
25441 PyThreadState* __tstate = wxPyBeginAllowThreads();
25442 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25443 wxPyEndAllowThreads(__tstate);
25444 if (PyErr_Occurred()) SWIG_fail;
25445 }
25446 resultobj = SWIG_Py_Void();
25447 return resultobj;
25448 fail:
25449 return NULL;
25450 }
25451
25452
25453 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25454 PyObject *resultobj = 0;
25455 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25456 void *argp1 = 0 ;
25457 int res1 = 0 ;
25458 PyObject *swig_obj[1] ;
25459
25460 if (!args) SWIG_fail;
25461 swig_obj[0] = args;
25462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25463 if (!SWIG_IsOK(res1)) {
25464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25465 }
25466 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25467 {
25468 PyThreadState* __tstate = wxPyBeginAllowThreads();
25469 (arg1)->CalculateIdFromPaperSize();
25470 wxPyEndAllowThreads(__tstate);
25471 if (PyErr_Occurred()) SWIG_fail;
25472 }
25473 resultobj = SWIG_Py_Void();
25474 return resultobj;
25475 fail:
25476 return NULL;
25477 }
25478
25479
25480 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25481 PyObject *resultobj = 0;
25482 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25483 void *argp1 = 0 ;
25484 int res1 = 0 ;
25485 PyObject *swig_obj[1] ;
25486
25487 if (!args) SWIG_fail;
25488 swig_obj[0] = args;
25489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25490 if (!SWIG_IsOK(res1)) {
25491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25492 }
25493 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25494 {
25495 PyThreadState* __tstate = wxPyBeginAllowThreads();
25496 (arg1)->CalculatePaperSizeFromId();
25497 wxPyEndAllowThreads(__tstate);
25498 if (PyErr_Occurred()) SWIG_fail;
25499 }
25500 resultobj = SWIG_Py_Void();
25501 return resultobj;
25502 fail:
25503 return NULL;
25504 }
25505
25506
25507 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25508 PyObject *obj;
25509 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25510 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25511 return SWIG_Py_Void();
25512 }
25513
25514 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25515 return SWIG_Python_InitShadowInstance(args);
25516 }
25517
25518 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25519 PyObject *resultobj = 0;
25520 wxWindow *arg1 = (wxWindow *) 0 ;
25521 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25522 wxPageSetupDialog *result = 0 ;
25523 void *argp1 = 0 ;
25524 int res1 = 0 ;
25525 void *argp2 = 0 ;
25526 int res2 = 0 ;
25527 PyObject * obj0 = 0 ;
25528 PyObject * obj1 = 0 ;
25529 char * kwnames[] = {
25530 (char *) "parent",(char *) "data", NULL
25531 };
25532
25533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25535 if (!SWIG_IsOK(res1)) {
25536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25537 }
25538 arg1 = reinterpret_cast< wxWindow * >(argp1);
25539 if (obj1) {
25540 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25541 if (!SWIG_IsOK(res2)) {
25542 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25543 }
25544 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25545 }
25546 {
25547 if (!wxPyCheckForApp()) SWIG_fail;
25548 PyThreadState* __tstate = wxPyBeginAllowThreads();
25549 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25550 wxPyEndAllowThreads(__tstate);
25551 if (PyErr_Occurred()) SWIG_fail;
25552 }
25553 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25554 return resultobj;
25555 fail:
25556 return NULL;
25557 }
25558
25559
25560 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25561 PyObject *resultobj = 0;
25562 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25563 wxPageSetupDialogData *result = 0 ;
25564 void *argp1 = 0 ;
25565 int res1 = 0 ;
25566 PyObject *swig_obj[1] ;
25567
25568 if (!args) SWIG_fail;
25569 swig_obj[0] = args;
25570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25571 if (!SWIG_IsOK(res1)) {
25572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25573 }
25574 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25575 {
25576 PyThreadState* __tstate = wxPyBeginAllowThreads();
25577 {
25578 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25579 result = (wxPageSetupDialogData *) &_result_ref;
25580 }
25581 wxPyEndAllowThreads(__tstate);
25582 if (PyErr_Occurred()) SWIG_fail;
25583 }
25584 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25585 return resultobj;
25586 fail:
25587 return NULL;
25588 }
25589
25590
25591 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25592 PyObject *resultobj = 0;
25593 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25594 wxPageSetupDialogData *result = 0 ;
25595 void *argp1 = 0 ;
25596 int res1 = 0 ;
25597 PyObject *swig_obj[1] ;
25598
25599 if (!args) SWIG_fail;
25600 swig_obj[0] = args;
25601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25602 if (!SWIG_IsOK(res1)) {
25603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25604 }
25605 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25606 {
25607 PyThreadState* __tstate = wxPyBeginAllowThreads();
25608 {
25609 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25610 result = (wxPageSetupDialogData *) &_result_ref;
25611 }
25612 wxPyEndAllowThreads(__tstate);
25613 if (PyErr_Occurred()) SWIG_fail;
25614 }
25615 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25616 return resultobj;
25617 fail:
25618 return NULL;
25619 }
25620
25621
25622 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25623 PyObject *resultobj = 0;
25624 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25625 int result;
25626 void *argp1 = 0 ;
25627 int res1 = 0 ;
25628 PyObject *swig_obj[1] ;
25629
25630 if (!args) SWIG_fail;
25631 swig_obj[0] = args;
25632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25633 if (!SWIG_IsOK(res1)) {
25634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25635 }
25636 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25637 {
25638 PyThreadState* __tstate = wxPyBeginAllowThreads();
25639 result = (int)(arg1)->ShowModal();
25640 wxPyEndAllowThreads(__tstate);
25641 if (PyErr_Occurred()) SWIG_fail;
25642 }
25643 resultobj = SWIG_From_int(static_cast< int >(result));
25644 return resultobj;
25645 fail:
25646 return NULL;
25647 }
25648
25649
25650 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25651 PyObject *obj;
25652 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25653 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25654 return SWIG_Py_Void();
25655 }
25656
25657 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25658 return SWIG_Python_InitShadowInstance(args);
25659 }
25660
25661 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25662 PyObject *resultobj = 0;
25663 wxPrintDialogData *result = 0 ;
25664
25665 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25666 {
25667 PyThreadState* __tstate = wxPyBeginAllowThreads();
25668 result = (wxPrintDialogData *)new wxPrintDialogData();
25669 wxPyEndAllowThreads(__tstate);
25670 if (PyErr_Occurred()) SWIG_fail;
25671 }
25672 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25673 return resultobj;
25674 fail:
25675 return NULL;
25676 }
25677
25678
25679 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25680 PyObject *resultobj = 0;
25681 wxPrintData *arg1 = 0 ;
25682 wxPrintDialogData *result = 0 ;
25683 void *argp1 = 0 ;
25684 int res1 = 0 ;
25685
25686 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25688 if (!SWIG_IsOK(res1)) {
25689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25690 }
25691 if (!argp1) {
25692 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25693 }
25694 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25695 {
25696 PyThreadState* __tstate = wxPyBeginAllowThreads();
25697 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25698 wxPyEndAllowThreads(__tstate);
25699 if (PyErr_Occurred()) SWIG_fail;
25700 }
25701 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25702 return resultobj;
25703 fail:
25704 return NULL;
25705 }
25706
25707
25708 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25709 PyObject *resultobj = 0;
25710 wxPrintDialogData *arg1 = 0 ;
25711 wxPrintDialogData *result = 0 ;
25712 void *argp1 = 0 ;
25713 int res1 = 0 ;
25714
25715 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25717 if (!SWIG_IsOK(res1)) {
25718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25719 }
25720 if (!argp1) {
25721 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25722 }
25723 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25724 {
25725 PyThreadState* __tstate = wxPyBeginAllowThreads();
25726 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25727 wxPyEndAllowThreads(__tstate);
25728 if (PyErr_Occurred()) SWIG_fail;
25729 }
25730 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25731 return resultobj;
25732 fail:
25733 return NULL;
25734 }
25735
25736
25737 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25738 int argc;
25739 PyObject *argv[2];
25740
25741 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25742 --argc;
25743 if (argc == 0) {
25744 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25745 }
25746 if (argc == 1) {
25747 int _v = 0;
25748 {
25749 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25750 _v = SWIG_CheckState(res);
25751 }
25752 if (!_v) goto check_2;
25753 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25754 }
25755 check_2:
25756
25757 if (argc == 1) {
25758 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25759 }
25760
25761 fail:
25762 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25763 return NULL;
25764 }
25765
25766
25767 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25768 PyObject *resultobj = 0;
25769 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25770 void *argp1 = 0 ;
25771 int res1 = 0 ;
25772 PyObject *swig_obj[1] ;
25773
25774 if (!args) SWIG_fail;
25775 swig_obj[0] = args;
25776 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25777 if (!SWIG_IsOK(res1)) {
25778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25779 }
25780 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25781 {
25782 PyThreadState* __tstate = wxPyBeginAllowThreads();
25783 delete arg1;
25784
25785 wxPyEndAllowThreads(__tstate);
25786 if (PyErr_Occurred()) SWIG_fail;
25787 }
25788 resultobj = SWIG_Py_Void();
25789 return resultobj;
25790 fail:
25791 return NULL;
25792 }
25793
25794
25795 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25796 PyObject *resultobj = 0;
25797 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25798 int result;
25799 void *argp1 = 0 ;
25800 int res1 = 0 ;
25801 PyObject *swig_obj[1] ;
25802
25803 if (!args) SWIG_fail;
25804 swig_obj[0] = args;
25805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25806 if (!SWIG_IsOK(res1)) {
25807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25808 }
25809 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25810 {
25811 PyThreadState* __tstate = wxPyBeginAllowThreads();
25812 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25813 wxPyEndAllowThreads(__tstate);
25814 if (PyErr_Occurred()) SWIG_fail;
25815 }
25816 resultobj = SWIG_From_int(static_cast< int >(result));
25817 return resultobj;
25818 fail:
25819 return NULL;
25820 }
25821
25822
25823 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25824 PyObject *resultobj = 0;
25825 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25826 int result;
25827 void *argp1 = 0 ;
25828 int res1 = 0 ;
25829 PyObject *swig_obj[1] ;
25830
25831 if (!args) SWIG_fail;
25832 swig_obj[0] = args;
25833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25834 if (!SWIG_IsOK(res1)) {
25835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25836 }
25837 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25838 {
25839 PyThreadState* __tstate = wxPyBeginAllowThreads();
25840 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25841 wxPyEndAllowThreads(__tstate);
25842 if (PyErr_Occurred()) SWIG_fail;
25843 }
25844 resultobj = SWIG_From_int(static_cast< int >(result));
25845 return resultobj;
25846 fail:
25847 return NULL;
25848 }
25849
25850
25851 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25852 PyObject *resultobj = 0;
25853 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25854 int result;
25855 void *argp1 = 0 ;
25856 int res1 = 0 ;
25857 PyObject *swig_obj[1] ;
25858
25859 if (!args) SWIG_fail;
25860 swig_obj[0] = args;
25861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25862 if (!SWIG_IsOK(res1)) {
25863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25864 }
25865 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25866 {
25867 PyThreadState* __tstate = wxPyBeginAllowThreads();
25868 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
25869 wxPyEndAllowThreads(__tstate);
25870 if (PyErr_Occurred()) SWIG_fail;
25871 }
25872 resultobj = SWIG_From_int(static_cast< int >(result));
25873 return resultobj;
25874 fail:
25875 return NULL;
25876 }
25877
25878
25879 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25880 PyObject *resultobj = 0;
25881 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25882 int result;
25883 void *argp1 = 0 ;
25884 int res1 = 0 ;
25885 PyObject *swig_obj[1] ;
25886
25887 if (!args) SWIG_fail;
25888 swig_obj[0] = args;
25889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25890 if (!SWIG_IsOK(res1)) {
25891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25892 }
25893 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25894 {
25895 PyThreadState* __tstate = wxPyBeginAllowThreads();
25896 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
25897 wxPyEndAllowThreads(__tstate);
25898 if (PyErr_Occurred()) SWIG_fail;
25899 }
25900 resultobj = SWIG_From_int(static_cast< int >(result));
25901 return resultobj;
25902 fail:
25903 return NULL;
25904 }
25905
25906
25907 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25908 PyObject *resultobj = 0;
25909 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25910 int result;
25911 void *argp1 = 0 ;
25912 int res1 = 0 ;
25913 PyObject *swig_obj[1] ;
25914
25915 if (!args) SWIG_fail;
25916 swig_obj[0] = args;
25917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25918 if (!SWIG_IsOK(res1)) {
25919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25920 }
25921 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25922 {
25923 PyThreadState* __tstate = wxPyBeginAllowThreads();
25924 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
25925 wxPyEndAllowThreads(__tstate);
25926 if (PyErr_Occurred()) SWIG_fail;
25927 }
25928 resultobj = SWIG_From_int(static_cast< int >(result));
25929 return resultobj;
25930 fail:
25931 return NULL;
25932 }
25933
25934
25935 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25936 PyObject *resultobj = 0;
25937 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25938 bool result;
25939 void *argp1 = 0 ;
25940 int res1 = 0 ;
25941 PyObject *swig_obj[1] ;
25942
25943 if (!args) SWIG_fail;
25944 swig_obj[0] = args;
25945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25946 if (!SWIG_IsOK(res1)) {
25947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25948 }
25949 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25950 {
25951 PyThreadState* __tstate = wxPyBeginAllowThreads();
25952 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
25953 wxPyEndAllowThreads(__tstate);
25954 if (PyErr_Occurred()) SWIG_fail;
25955 }
25956 {
25957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25958 }
25959 return resultobj;
25960 fail:
25961 return NULL;
25962 }
25963
25964
25965 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25966 PyObject *resultobj = 0;
25967 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25968 bool result;
25969 void *argp1 = 0 ;
25970 int res1 = 0 ;
25971 PyObject *swig_obj[1] ;
25972
25973 if (!args) SWIG_fail;
25974 swig_obj[0] = args;
25975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25976 if (!SWIG_IsOK(res1)) {
25977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25978 }
25979 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25980 {
25981 PyThreadState* __tstate = wxPyBeginAllowThreads();
25982 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
25983 wxPyEndAllowThreads(__tstate);
25984 if (PyErr_Occurred()) SWIG_fail;
25985 }
25986 {
25987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25988 }
25989 return resultobj;
25990 fail:
25991 return NULL;
25992 }
25993
25994
25995 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25996 PyObject *resultobj = 0;
25997 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25998 bool result;
25999 void *argp1 = 0 ;
26000 int res1 = 0 ;
26001 PyObject *swig_obj[1] ;
26002
26003 if (!args) SWIG_fail;
26004 swig_obj[0] = args;
26005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26006 if (!SWIG_IsOK(res1)) {
26007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26008 }
26009 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26010 {
26011 PyThreadState* __tstate = wxPyBeginAllowThreads();
26012 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26013 wxPyEndAllowThreads(__tstate);
26014 if (PyErr_Occurred()) SWIG_fail;
26015 }
26016 {
26017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26018 }
26019 return resultobj;
26020 fail:
26021 return NULL;
26022 }
26023
26024
26025 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26026 PyObject *resultobj = 0;
26027 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26028 bool result;
26029 void *argp1 = 0 ;
26030 int res1 = 0 ;
26031 PyObject *swig_obj[1] ;
26032
26033 if (!args) SWIG_fail;
26034 swig_obj[0] = args;
26035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26036 if (!SWIG_IsOK(res1)) {
26037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26038 }
26039 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26040 {
26041 PyThreadState* __tstate = wxPyBeginAllowThreads();
26042 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26043 wxPyEndAllowThreads(__tstate);
26044 if (PyErr_Occurred()) SWIG_fail;
26045 }
26046 {
26047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26048 }
26049 return resultobj;
26050 fail:
26051 return NULL;
26052 }
26053
26054
26055 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26056 PyObject *resultobj = 0;
26057 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26058 int arg2 ;
26059 void *argp1 = 0 ;
26060 int res1 = 0 ;
26061 int val2 ;
26062 int ecode2 = 0 ;
26063 PyObject * obj0 = 0 ;
26064 PyObject * obj1 = 0 ;
26065 char * kwnames[] = {
26066 (char *) "self",(char *) "v", NULL
26067 };
26068
26069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26071 if (!SWIG_IsOK(res1)) {
26072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26073 }
26074 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26075 ecode2 = SWIG_AsVal_int(obj1, &val2);
26076 if (!SWIG_IsOK(ecode2)) {
26077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26078 }
26079 arg2 = static_cast< int >(val2);
26080 {
26081 PyThreadState* __tstate = wxPyBeginAllowThreads();
26082 (arg1)->SetFromPage(arg2);
26083 wxPyEndAllowThreads(__tstate);
26084 if (PyErr_Occurred()) SWIG_fail;
26085 }
26086 resultobj = SWIG_Py_Void();
26087 return resultobj;
26088 fail:
26089 return NULL;
26090 }
26091
26092
26093 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26094 PyObject *resultobj = 0;
26095 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26096 int arg2 ;
26097 void *argp1 = 0 ;
26098 int res1 = 0 ;
26099 int val2 ;
26100 int ecode2 = 0 ;
26101 PyObject * obj0 = 0 ;
26102 PyObject * obj1 = 0 ;
26103 char * kwnames[] = {
26104 (char *) "self",(char *) "v", NULL
26105 };
26106
26107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26109 if (!SWIG_IsOK(res1)) {
26110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26111 }
26112 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26113 ecode2 = SWIG_AsVal_int(obj1, &val2);
26114 if (!SWIG_IsOK(ecode2)) {
26115 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26116 }
26117 arg2 = static_cast< int >(val2);
26118 {
26119 PyThreadState* __tstate = wxPyBeginAllowThreads();
26120 (arg1)->SetToPage(arg2);
26121 wxPyEndAllowThreads(__tstate);
26122 if (PyErr_Occurred()) SWIG_fail;
26123 }
26124 resultobj = SWIG_Py_Void();
26125 return resultobj;
26126 fail:
26127 return NULL;
26128 }
26129
26130
26131 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26132 PyObject *resultobj = 0;
26133 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26134 int arg2 ;
26135 void *argp1 = 0 ;
26136 int res1 = 0 ;
26137 int val2 ;
26138 int ecode2 = 0 ;
26139 PyObject * obj0 = 0 ;
26140 PyObject * obj1 = 0 ;
26141 char * kwnames[] = {
26142 (char *) "self",(char *) "v", NULL
26143 };
26144
26145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26147 if (!SWIG_IsOK(res1)) {
26148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26149 }
26150 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26151 ecode2 = SWIG_AsVal_int(obj1, &val2);
26152 if (!SWIG_IsOK(ecode2)) {
26153 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26154 }
26155 arg2 = static_cast< int >(val2);
26156 {
26157 PyThreadState* __tstate = wxPyBeginAllowThreads();
26158 (arg1)->SetMinPage(arg2);
26159 wxPyEndAllowThreads(__tstate);
26160 if (PyErr_Occurred()) SWIG_fail;
26161 }
26162 resultobj = SWIG_Py_Void();
26163 return resultobj;
26164 fail:
26165 return NULL;
26166 }
26167
26168
26169 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26170 PyObject *resultobj = 0;
26171 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26172 int arg2 ;
26173 void *argp1 = 0 ;
26174 int res1 = 0 ;
26175 int val2 ;
26176 int ecode2 = 0 ;
26177 PyObject * obj0 = 0 ;
26178 PyObject * obj1 = 0 ;
26179 char * kwnames[] = {
26180 (char *) "self",(char *) "v", NULL
26181 };
26182
26183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26185 if (!SWIG_IsOK(res1)) {
26186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26187 }
26188 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26189 ecode2 = SWIG_AsVal_int(obj1, &val2);
26190 if (!SWIG_IsOK(ecode2)) {
26191 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26192 }
26193 arg2 = static_cast< int >(val2);
26194 {
26195 PyThreadState* __tstate = wxPyBeginAllowThreads();
26196 (arg1)->SetMaxPage(arg2);
26197 wxPyEndAllowThreads(__tstate);
26198 if (PyErr_Occurred()) SWIG_fail;
26199 }
26200 resultobj = SWIG_Py_Void();
26201 return resultobj;
26202 fail:
26203 return NULL;
26204 }
26205
26206
26207 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26208 PyObject *resultobj = 0;
26209 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26210 int arg2 ;
26211 void *argp1 = 0 ;
26212 int res1 = 0 ;
26213 int val2 ;
26214 int ecode2 = 0 ;
26215 PyObject * obj0 = 0 ;
26216 PyObject * obj1 = 0 ;
26217 char * kwnames[] = {
26218 (char *) "self",(char *) "v", NULL
26219 };
26220
26221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26223 if (!SWIG_IsOK(res1)) {
26224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26225 }
26226 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26227 ecode2 = SWIG_AsVal_int(obj1, &val2);
26228 if (!SWIG_IsOK(ecode2)) {
26229 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26230 }
26231 arg2 = static_cast< int >(val2);
26232 {
26233 PyThreadState* __tstate = wxPyBeginAllowThreads();
26234 (arg1)->SetNoCopies(arg2);
26235 wxPyEndAllowThreads(__tstate);
26236 if (PyErr_Occurred()) SWIG_fail;
26237 }
26238 resultobj = SWIG_Py_Void();
26239 return resultobj;
26240 fail:
26241 return NULL;
26242 }
26243
26244
26245 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26246 PyObject *resultobj = 0;
26247 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26248 bool arg2 ;
26249 void *argp1 = 0 ;
26250 int res1 = 0 ;
26251 bool val2 ;
26252 int ecode2 = 0 ;
26253 PyObject * obj0 = 0 ;
26254 PyObject * obj1 = 0 ;
26255 char * kwnames[] = {
26256 (char *) "self",(char *) "flag", NULL
26257 };
26258
26259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26261 if (!SWIG_IsOK(res1)) {
26262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26263 }
26264 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26265 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26266 if (!SWIG_IsOK(ecode2)) {
26267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26268 }
26269 arg2 = static_cast< bool >(val2);
26270 {
26271 PyThreadState* __tstate = wxPyBeginAllowThreads();
26272 (arg1)->SetAllPages(arg2);
26273 wxPyEndAllowThreads(__tstate);
26274 if (PyErr_Occurred()) SWIG_fail;
26275 }
26276 resultobj = SWIG_Py_Void();
26277 return resultobj;
26278 fail:
26279 return NULL;
26280 }
26281
26282
26283 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26284 PyObject *resultobj = 0;
26285 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26286 bool arg2 ;
26287 void *argp1 = 0 ;
26288 int res1 = 0 ;
26289 bool val2 ;
26290 int ecode2 = 0 ;
26291 PyObject * obj0 = 0 ;
26292 PyObject * obj1 = 0 ;
26293 char * kwnames[] = {
26294 (char *) "self",(char *) "flag", NULL
26295 };
26296
26297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26299 if (!SWIG_IsOK(res1)) {
26300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26301 }
26302 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26303 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26304 if (!SWIG_IsOK(ecode2)) {
26305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26306 }
26307 arg2 = static_cast< bool >(val2);
26308 {
26309 PyThreadState* __tstate = wxPyBeginAllowThreads();
26310 (arg1)->SetSelection(arg2);
26311 wxPyEndAllowThreads(__tstate);
26312 if (PyErr_Occurred()) SWIG_fail;
26313 }
26314 resultobj = SWIG_Py_Void();
26315 return resultobj;
26316 fail:
26317 return NULL;
26318 }
26319
26320
26321 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26322 PyObject *resultobj = 0;
26323 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26324 bool arg2 ;
26325 void *argp1 = 0 ;
26326 int res1 = 0 ;
26327 bool val2 ;
26328 int ecode2 = 0 ;
26329 PyObject * obj0 = 0 ;
26330 PyObject * obj1 = 0 ;
26331 char * kwnames[] = {
26332 (char *) "self",(char *) "flag", NULL
26333 };
26334
26335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26337 if (!SWIG_IsOK(res1)) {
26338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26339 }
26340 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26341 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26342 if (!SWIG_IsOK(ecode2)) {
26343 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26344 }
26345 arg2 = static_cast< bool >(val2);
26346 {
26347 PyThreadState* __tstate = wxPyBeginAllowThreads();
26348 (arg1)->SetCollate(arg2);
26349 wxPyEndAllowThreads(__tstate);
26350 if (PyErr_Occurred()) SWIG_fail;
26351 }
26352 resultobj = SWIG_Py_Void();
26353 return resultobj;
26354 fail:
26355 return NULL;
26356 }
26357
26358
26359 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26360 PyObject *resultobj = 0;
26361 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26362 bool arg2 ;
26363 void *argp1 = 0 ;
26364 int res1 = 0 ;
26365 bool val2 ;
26366 int ecode2 = 0 ;
26367 PyObject * obj0 = 0 ;
26368 PyObject * obj1 = 0 ;
26369 char * kwnames[] = {
26370 (char *) "self",(char *) "flag", NULL
26371 };
26372
26373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26375 if (!SWIG_IsOK(res1)) {
26376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26377 }
26378 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26379 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26380 if (!SWIG_IsOK(ecode2)) {
26381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26382 }
26383 arg2 = static_cast< bool >(val2);
26384 {
26385 PyThreadState* __tstate = wxPyBeginAllowThreads();
26386 (arg1)->SetPrintToFile(arg2);
26387 wxPyEndAllowThreads(__tstate);
26388 if (PyErr_Occurred()) SWIG_fail;
26389 }
26390 resultobj = SWIG_Py_Void();
26391 return resultobj;
26392 fail:
26393 return NULL;
26394 }
26395
26396
26397 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26398 PyObject *resultobj = 0;
26399 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26400 bool arg2 ;
26401 void *argp1 = 0 ;
26402 int res1 = 0 ;
26403 bool val2 ;
26404 int ecode2 = 0 ;
26405 PyObject * obj0 = 0 ;
26406 PyObject * obj1 = 0 ;
26407 char * kwnames[] = {
26408 (char *) "self",(char *) "flag", NULL
26409 };
26410
26411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26413 if (!SWIG_IsOK(res1)) {
26414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26415 }
26416 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26417 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26418 if (!SWIG_IsOK(ecode2)) {
26419 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26420 }
26421 arg2 = static_cast< bool >(val2);
26422 {
26423 PyThreadState* __tstate = wxPyBeginAllowThreads();
26424 (arg1)->EnablePrintToFile(arg2);
26425 wxPyEndAllowThreads(__tstate);
26426 if (PyErr_Occurred()) SWIG_fail;
26427 }
26428 resultobj = SWIG_Py_Void();
26429 return resultobj;
26430 fail:
26431 return NULL;
26432 }
26433
26434
26435 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26436 PyObject *resultobj = 0;
26437 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26438 bool arg2 ;
26439 void *argp1 = 0 ;
26440 int res1 = 0 ;
26441 bool val2 ;
26442 int ecode2 = 0 ;
26443 PyObject * obj0 = 0 ;
26444 PyObject * obj1 = 0 ;
26445 char * kwnames[] = {
26446 (char *) "self",(char *) "flag", NULL
26447 };
26448
26449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26451 if (!SWIG_IsOK(res1)) {
26452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26453 }
26454 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26455 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26456 if (!SWIG_IsOK(ecode2)) {
26457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26458 }
26459 arg2 = static_cast< bool >(val2);
26460 {
26461 PyThreadState* __tstate = wxPyBeginAllowThreads();
26462 (arg1)->EnableSelection(arg2);
26463 wxPyEndAllowThreads(__tstate);
26464 if (PyErr_Occurred()) SWIG_fail;
26465 }
26466 resultobj = SWIG_Py_Void();
26467 return resultobj;
26468 fail:
26469 return NULL;
26470 }
26471
26472
26473 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26474 PyObject *resultobj = 0;
26475 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26476 bool arg2 ;
26477 void *argp1 = 0 ;
26478 int res1 = 0 ;
26479 bool val2 ;
26480 int ecode2 = 0 ;
26481 PyObject * obj0 = 0 ;
26482 PyObject * obj1 = 0 ;
26483 char * kwnames[] = {
26484 (char *) "self",(char *) "flag", NULL
26485 };
26486
26487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26489 if (!SWIG_IsOK(res1)) {
26490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26491 }
26492 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26493 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26494 if (!SWIG_IsOK(ecode2)) {
26495 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26496 }
26497 arg2 = static_cast< bool >(val2);
26498 {
26499 PyThreadState* __tstate = wxPyBeginAllowThreads();
26500 (arg1)->EnablePageNumbers(arg2);
26501 wxPyEndAllowThreads(__tstate);
26502 if (PyErr_Occurred()) SWIG_fail;
26503 }
26504 resultobj = SWIG_Py_Void();
26505 return resultobj;
26506 fail:
26507 return NULL;
26508 }
26509
26510
26511 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26512 PyObject *resultobj = 0;
26513 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26514 bool arg2 ;
26515 void *argp1 = 0 ;
26516 int res1 = 0 ;
26517 bool val2 ;
26518 int ecode2 = 0 ;
26519 PyObject * obj0 = 0 ;
26520 PyObject * obj1 = 0 ;
26521 char * kwnames[] = {
26522 (char *) "self",(char *) "flag", NULL
26523 };
26524
26525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26527 if (!SWIG_IsOK(res1)) {
26528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26529 }
26530 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26531 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26532 if (!SWIG_IsOK(ecode2)) {
26533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26534 }
26535 arg2 = static_cast< bool >(val2);
26536 {
26537 PyThreadState* __tstate = wxPyBeginAllowThreads();
26538 (arg1)->EnableHelp(arg2);
26539 wxPyEndAllowThreads(__tstate);
26540 if (PyErr_Occurred()) SWIG_fail;
26541 }
26542 resultobj = SWIG_Py_Void();
26543 return resultobj;
26544 fail:
26545 return NULL;
26546 }
26547
26548
26549 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26550 PyObject *resultobj = 0;
26551 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26552 bool result;
26553 void *argp1 = 0 ;
26554 int res1 = 0 ;
26555 PyObject *swig_obj[1] ;
26556
26557 if (!args) SWIG_fail;
26558 swig_obj[0] = args;
26559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26560 if (!SWIG_IsOK(res1)) {
26561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26562 }
26563 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26564 {
26565 PyThreadState* __tstate = wxPyBeginAllowThreads();
26566 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26567 wxPyEndAllowThreads(__tstate);
26568 if (PyErr_Occurred()) SWIG_fail;
26569 }
26570 {
26571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26572 }
26573 return resultobj;
26574 fail:
26575 return NULL;
26576 }
26577
26578
26579 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26580 PyObject *resultobj = 0;
26581 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26582 bool result;
26583 void *argp1 = 0 ;
26584 int res1 = 0 ;
26585 PyObject *swig_obj[1] ;
26586
26587 if (!args) SWIG_fail;
26588 swig_obj[0] = args;
26589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26590 if (!SWIG_IsOK(res1)) {
26591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26592 }
26593 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26594 {
26595 PyThreadState* __tstate = wxPyBeginAllowThreads();
26596 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26597 wxPyEndAllowThreads(__tstate);
26598 if (PyErr_Occurred()) SWIG_fail;
26599 }
26600 {
26601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26602 }
26603 return resultobj;
26604 fail:
26605 return NULL;
26606 }
26607
26608
26609 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26610 PyObject *resultobj = 0;
26611 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26612 bool result;
26613 void *argp1 = 0 ;
26614 int res1 = 0 ;
26615 PyObject *swig_obj[1] ;
26616
26617 if (!args) SWIG_fail;
26618 swig_obj[0] = args;
26619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26620 if (!SWIG_IsOK(res1)) {
26621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26622 }
26623 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26624 {
26625 PyThreadState* __tstate = wxPyBeginAllowThreads();
26626 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26627 wxPyEndAllowThreads(__tstate);
26628 if (PyErr_Occurred()) SWIG_fail;
26629 }
26630 {
26631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26632 }
26633 return resultobj;
26634 fail:
26635 return NULL;
26636 }
26637
26638
26639 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26640 PyObject *resultobj = 0;
26641 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26642 bool result;
26643 void *argp1 = 0 ;
26644 int res1 = 0 ;
26645 PyObject *swig_obj[1] ;
26646
26647 if (!args) SWIG_fail;
26648 swig_obj[0] = args;
26649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26650 if (!SWIG_IsOK(res1)) {
26651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26652 }
26653 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26654 {
26655 PyThreadState* __tstate = wxPyBeginAllowThreads();
26656 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26657 wxPyEndAllowThreads(__tstate);
26658 if (PyErr_Occurred()) SWIG_fail;
26659 }
26660 {
26661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26662 }
26663 return resultobj;
26664 fail:
26665 return NULL;
26666 }
26667
26668
26669 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26670 PyObject *resultobj = 0;
26671 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26672 bool result;
26673 void *argp1 = 0 ;
26674 int res1 = 0 ;
26675 PyObject *swig_obj[1] ;
26676
26677 if (!args) SWIG_fail;
26678 swig_obj[0] = args;
26679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26680 if (!SWIG_IsOK(res1)) {
26681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26682 }
26683 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26684 {
26685 PyThreadState* __tstate = wxPyBeginAllowThreads();
26686 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26687 wxPyEndAllowThreads(__tstate);
26688 if (PyErr_Occurred()) SWIG_fail;
26689 }
26690 {
26691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26692 }
26693 return resultobj;
26694 fail:
26695 return NULL;
26696 }
26697
26698
26699 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26700 PyObject *resultobj = 0;
26701 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26702 wxPrintData *result = 0 ;
26703 void *argp1 = 0 ;
26704 int res1 = 0 ;
26705 PyObject *swig_obj[1] ;
26706
26707 if (!args) SWIG_fail;
26708 swig_obj[0] = args;
26709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26710 if (!SWIG_IsOK(res1)) {
26711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26712 }
26713 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26714 {
26715 PyThreadState* __tstate = wxPyBeginAllowThreads();
26716 {
26717 wxPrintData &_result_ref = (arg1)->GetPrintData();
26718 result = (wxPrintData *) &_result_ref;
26719 }
26720 wxPyEndAllowThreads(__tstate);
26721 if (PyErr_Occurred()) SWIG_fail;
26722 }
26723 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26724 return resultobj;
26725 fail:
26726 return NULL;
26727 }
26728
26729
26730 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26731 PyObject *resultobj = 0;
26732 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26733 wxPrintData *arg2 = 0 ;
26734 void *argp1 = 0 ;
26735 int res1 = 0 ;
26736 void *argp2 = 0 ;
26737 int res2 = 0 ;
26738 PyObject * obj0 = 0 ;
26739 PyObject * obj1 = 0 ;
26740 char * kwnames[] = {
26741 (char *) "self",(char *) "printData", NULL
26742 };
26743
26744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26746 if (!SWIG_IsOK(res1)) {
26747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26748 }
26749 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26750 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26751 if (!SWIG_IsOK(res2)) {
26752 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26753 }
26754 if (!argp2) {
26755 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26756 }
26757 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26758 {
26759 PyThreadState* __tstate = wxPyBeginAllowThreads();
26760 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26761 wxPyEndAllowThreads(__tstate);
26762 if (PyErr_Occurred()) SWIG_fail;
26763 }
26764 resultobj = SWIG_Py_Void();
26765 return resultobj;
26766 fail:
26767 return NULL;
26768 }
26769
26770
26771 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26772 PyObject *obj;
26773 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26774 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26775 return SWIG_Py_Void();
26776 }
26777
26778 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26779 return SWIG_Python_InitShadowInstance(args);
26780 }
26781
26782 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26783 PyObject *resultobj = 0;
26784 wxWindow *arg1 = (wxWindow *) 0 ;
26785 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26786 wxPrintDialog *result = 0 ;
26787 void *argp1 = 0 ;
26788 int res1 = 0 ;
26789 void *argp2 = 0 ;
26790 int res2 = 0 ;
26791 PyObject * obj0 = 0 ;
26792 PyObject * obj1 = 0 ;
26793 char * kwnames[] = {
26794 (char *) "parent",(char *) "data", NULL
26795 };
26796
26797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26799 if (!SWIG_IsOK(res1)) {
26800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26801 }
26802 arg1 = reinterpret_cast< wxWindow * >(argp1);
26803 if (obj1) {
26804 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26805 if (!SWIG_IsOK(res2)) {
26806 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26807 }
26808 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26809 }
26810 {
26811 if (!wxPyCheckForApp()) SWIG_fail;
26812 PyThreadState* __tstate = wxPyBeginAllowThreads();
26813 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26814 wxPyEndAllowThreads(__tstate);
26815 if (PyErr_Occurred()) SWIG_fail;
26816 }
26817 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26818 return resultobj;
26819 fail:
26820 return NULL;
26821 }
26822
26823
26824 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26825 PyObject *resultobj = 0;
26826 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26827 int result;
26828 void *argp1 = 0 ;
26829 int res1 = 0 ;
26830 PyObject *swig_obj[1] ;
26831
26832 if (!args) SWIG_fail;
26833 swig_obj[0] = args;
26834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26835 if (!SWIG_IsOK(res1)) {
26836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26837 }
26838 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26839 {
26840 PyThreadState* __tstate = wxPyBeginAllowThreads();
26841 result = (int)(arg1)->ShowModal();
26842 wxPyEndAllowThreads(__tstate);
26843 if (PyErr_Occurred()) SWIG_fail;
26844 }
26845 resultobj = SWIG_From_int(static_cast< int >(result));
26846 return resultobj;
26847 fail:
26848 return NULL;
26849 }
26850
26851
26852 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26853 PyObject *resultobj = 0;
26854 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26855 wxPrintDialogData *result = 0 ;
26856 void *argp1 = 0 ;
26857 int res1 = 0 ;
26858 PyObject *swig_obj[1] ;
26859
26860 if (!args) SWIG_fail;
26861 swig_obj[0] = args;
26862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26863 if (!SWIG_IsOK(res1)) {
26864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26865 }
26866 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26867 {
26868 PyThreadState* __tstate = wxPyBeginAllowThreads();
26869 {
26870 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26871 result = (wxPrintDialogData *) &_result_ref;
26872 }
26873 wxPyEndAllowThreads(__tstate);
26874 if (PyErr_Occurred()) SWIG_fail;
26875 }
26876 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26877 return resultobj;
26878 fail:
26879 return NULL;
26880 }
26881
26882
26883 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26884 PyObject *resultobj = 0;
26885 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26886 wxPrintData *result = 0 ;
26887 void *argp1 = 0 ;
26888 int res1 = 0 ;
26889 PyObject *swig_obj[1] ;
26890
26891 if (!args) SWIG_fail;
26892 swig_obj[0] = args;
26893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26894 if (!SWIG_IsOK(res1)) {
26895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26896 }
26897 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26898 {
26899 PyThreadState* __tstate = wxPyBeginAllowThreads();
26900 {
26901 wxPrintData &_result_ref = (arg1)->GetPrintData();
26902 result = (wxPrintData *) &_result_ref;
26903 }
26904 wxPyEndAllowThreads(__tstate);
26905 if (PyErr_Occurred()) SWIG_fail;
26906 }
26907 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26908 return resultobj;
26909 fail:
26910 return NULL;
26911 }
26912
26913
26914 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26915 PyObject *resultobj = 0;
26916 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26917 wxDC *result = 0 ;
26918 void *argp1 = 0 ;
26919 int res1 = 0 ;
26920 PyObject *swig_obj[1] ;
26921
26922 if (!args) SWIG_fail;
26923 swig_obj[0] = args;
26924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26925 if (!SWIG_IsOK(res1)) {
26926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26927 }
26928 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26929 {
26930 PyThreadState* __tstate = wxPyBeginAllowThreads();
26931 result = (wxDC *)(arg1)->GetPrintDC();
26932 wxPyEndAllowThreads(__tstate);
26933 if (PyErr_Occurred()) SWIG_fail;
26934 }
26935 {
26936 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
26937 }
26938 return resultobj;
26939 fail:
26940 return NULL;
26941 }
26942
26943
26944 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26945 PyObject *obj;
26946 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26947 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
26948 return SWIG_Py_Void();
26949 }
26950
26951 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26952 return SWIG_Python_InitShadowInstance(args);
26953 }
26954
26955 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26956 PyObject *resultobj = 0;
26957 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
26958 wxPrinter *result = 0 ;
26959 void *argp1 = 0 ;
26960 int res1 = 0 ;
26961 PyObject * obj0 = 0 ;
26962 char * kwnames[] = {
26963 (char *) "data", NULL
26964 };
26965
26966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
26967 if (obj0) {
26968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26969 if (!SWIG_IsOK(res1)) {
26970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26971 }
26972 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26973 }
26974 {
26975 if (!wxPyCheckForApp()) SWIG_fail;
26976 PyThreadState* __tstate = wxPyBeginAllowThreads();
26977 result = (wxPrinter *)new wxPrinter(arg1);
26978 wxPyEndAllowThreads(__tstate);
26979 if (PyErr_Occurred()) SWIG_fail;
26980 }
26981 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
26982 return resultobj;
26983 fail:
26984 return NULL;
26985 }
26986
26987
26988 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26989 PyObject *resultobj = 0;
26990 wxPrinter *arg1 = (wxPrinter *) 0 ;
26991 void *argp1 = 0 ;
26992 int res1 = 0 ;
26993 PyObject *swig_obj[1] ;
26994
26995 if (!args) SWIG_fail;
26996 swig_obj[0] = args;
26997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
26998 if (!SWIG_IsOK(res1)) {
26999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27000 }
27001 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27002 {
27003 PyThreadState* __tstate = wxPyBeginAllowThreads();
27004 delete arg1;
27005
27006 wxPyEndAllowThreads(__tstate);
27007 if (PyErr_Occurred()) SWIG_fail;
27008 }
27009 resultobj = SWIG_Py_Void();
27010 return resultobj;
27011 fail:
27012 return NULL;
27013 }
27014
27015
27016 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27017 PyObject *resultobj = 0;
27018 wxPrinter *arg1 = (wxPrinter *) 0 ;
27019 wxWindow *arg2 = (wxWindow *) 0 ;
27020 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27021 wxWindow *result = 0 ;
27022 void *argp1 = 0 ;
27023 int res1 = 0 ;
27024 void *argp2 = 0 ;
27025 int res2 = 0 ;
27026 void *argp3 = 0 ;
27027 int res3 = 0 ;
27028 PyObject * obj0 = 0 ;
27029 PyObject * obj1 = 0 ;
27030 PyObject * obj2 = 0 ;
27031 char * kwnames[] = {
27032 (char *) "self",(char *) "parent",(char *) "printout", NULL
27033 };
27034
27035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27037 if (!SWIG_IsOK(res1)) {
27038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27039 }
27040 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27041 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27042 if (!SWIG_IsOK(res2)) {
27043 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27044 }
27045 arg2 = reinterpret_cast< wxWindow * >(argp2);
27046 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27047 if (!SWIG_IsOK(res3)) {
27048 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27049 }
27050 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27051 {
27052 PyThreadState* __tstate = wxPyBeginAllowThreads();
27053 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27054 wxPyEndAllowThreads(__tstate);
27055 if (PyErr_Occurred()) SWIG_fail;
27056 }
27057 {
27058 resultobj = wxPyMake_wxObject(result, 0);
27059 }
27060 return resultobj;
27061 fail:
27062 return NULL;
27063 }
27064
27065
27066 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27067 PyObject *resultobj = 0;
27068 wxPrinter *arg1 = (wxPrinter *) 0 ;
27069 wxWindow *arg2 = (wxWindow *) 0 ;
27070 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27071 wxString *arg4 = 0 ;
27072 void *argp1 = 0 ;
27073 int res1 = 0 ;
27074 void *argp2 = 0 ;
27075 int res2 = 0 ;
27076 void *argp3 = 0 ;
27077 int res3 = 0 ;
27078 bool temp4 = false ;
27079 PyObject * obj0 = 0 ;
27080 PyObject * obj1 = 0 ;
27081 PyObject * obj2 = 0 ;
27082 PyObject * obj3 = 0 ;
27083 char * kwnames[] = {
27084 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27085 };
27086
27087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27089 if (!SWIG_IsOK(res1)) {
27090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27091 }
27092 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27093 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27094 if (!SWIG_IsOK(res2)) {
27095 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27096 }
27097 arg2 = reinterpret_cast< wxWindow * >(argp2);
27098 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27099 if (!SWIG_IsOK(res3)) {
27100 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27101 }
27102 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27103 {
27104 arg4 = wxString_in_helper(obj3);
27105 if (arg4 == NULL) SWIG_fail;
27106 temp4 = true;
27107 }
27108 {
27109 PyThreadState* __tstate = wxPyBeginAllowThreads();
27110 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27111 wxPyEndAllowThreads(__tstate);
27112 if (PyErr_Occurred()) SWIG_fail;
27113 }
27114 resultobj = SWIG_Py_Void();
27115 {
27116 if (temp4)
27117 delete arg4;
27118 }
27119 return resultobj;
27120 fail:
27121 {
27122 if (temp4)
27123 delete arg4;
27124 }
27125 return NULL;
27126 }
27127
27128
27129 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27130 PyObject *resultobj = 0;
27131 wxPrinter *arg1 = (wxPrinter *) 0 ;
27132 wxWindow *arg2 = (wxWindow *) 0 ;
27133 bool result;
27134 void *argp1 = 0 ;
27135 int res1 = 0 ;
27136 void *argp2 = 0 ;
27137 int res2 = 0 ;
27138 PyObject * obj0 = 0 ;
27139 PyObject * obj1 = 0 ;
27140 char * kwnames[] = {
27141 (char *) "self",(char *) "parent", NULL
27142 };
27143
27144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27146 if (!SWIG_IsOK(res1)) {
27147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27148 }
27149 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27150 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27151 if (!SWIG_IsOK(res2)) {
27152 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27153 }
27154 arg2 = reinterpret_cast< wxWindow * >(argp2);
27155 {
27156 PyThreadState* __tstate = wxPyBeginAllowThreads();
27157 result = (bool)(arg1)->Setup(arg2);
27158 wxPyEndAllowThreads(__tstate);
27159 if (PyErr_Occurred()) SWIG_fail;
27160 }
27161 {
27162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27163 }
27164 return resultobj;
27165 fail:
27166 return NULL;
27167 }
27168
27169
27170 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27171 PyObject *resultobj = 0;
27172 wxPrinter *arg1 = (wxPrinter *) 0 ;
27173 wxWindow *arg2 = (wxWindow *) 0 ;
27174 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27175 bool arg4 = (bool) true ;
27176 bool result;
27177 void *argp1 = 0 ;
27178 int res1 = 0 ;
27179 void *argp2 = 0 ;
27180 int res2 = 0 ;
27181 void *argp3 = 0 ;
27182 int res3 = 0 ;
27183 bool val4 ;
27184 int ecode4 = 0 ;
27185 PyObject * obj0 = 0 ;
27186 PyObject * obj1 = 0 ;
27187 PyObject * obj2 = 0 ;
27188 PyObject * obj3 = 0 ;
27189 char * kwnames[] = {
27190 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27191 };
27192
27193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27195 if (!SWIG_IsOK(res1)) {
27196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27197 }
27198 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27199 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27200 if (!SWIG_IsOK(res2)) {
27201 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27202 }
27203 arg2 = reinterpret_cast< wxWindow * >(argp2);
27204 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27205 if (!SWIG_IsOK(res3)) {
27206 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27207 }
27208 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27209 if (obj3) {
27210 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27211 if (!SWIG_IsOK(ecode4)) {
27212 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27213 }
27214 arg4 = static_cast< bool >(val4);
27215 }
27216 {
27217 PyThreadState* __tstate = wxPyBeginAllowThreads();
27218 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27219 wxPyEndAllowThreads(__tstate);
27220 if (PyErr_Occurred()) SWIG_fail;
27221 }
27222 {
27223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27224 }
27225 return resultobj;
27226 fail:
27227 return NULL;
27228 }
27229
27230
27231 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27232 PyObject *resultobj = 0;
27233 wxPrinter *arg1 = (wxPrinter *) 0 ;
27234 wxWindow *arg2 = (wxWindow *) 0 ;
27235 wxDC *result = 0 ;
27236 void *argp1 = 0 ;
27237 int res1 = 0 ;
27238 void *argp2 = 0 ;
27239 int res2 = 0 ;
27240 PyObject * obj0 = 0 ;
27241 PyObject * obj1 = 0 ;
27242 char * kwnames[] = {
27243 (char *) "self",(char *) "parent", NULL
27244 };
27245
27246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27248 if (!SWIG_IsOK(res1)) {
27249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27250 }
27251 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27252 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27253 if (!SWIG_IsOK(res2)) {
27254 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27255 }
27256 arg2 = reinterpret_cast< wxWindow * >(argp2);
27257 {
27258 PyThreadState* __tstate = wxPyBeginAllowThreads();
27259 result = (wxDC *)(arg1)->PrintDialog(arg2);
27260 wxPyEndAllowThreads(__tstate);
27261 if (PyErr_Occurred()) SWIG_fail;
27262 }
27263 {
27264 resultobj = wxPyMake_wxObject(result, (bool)0);
27265 }
27266 return resultobj;
27267 fail:
27268 return NULL;
27269 }
27270
27271
27272 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27273 PyObject *resultobj = 0;
27274 wxPrinter *arg1 = (wxPrinter *) 0 ;
27275 wxPrintDialogData *result = 0 ;
27276 void *argp1 = 0 ;
27277 int res1 = 0 ;
27278 PyObject *swig_obj[1] ;
27279
27280 if (!args) SWIG_fail;
27281 swig_obj[0] = args;
27282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27283 if (!SWIG_IsOK(res1)) {
27284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27285 }
27286 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27287 {
27288 PyThreadState* __tstate = wxPyBeginAllowThreads();
27289 {
27290 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27291 result = (wxPrintDialogData *) &_result_ref;
27292 }
27293 wxPyEndAllowThreads(__tstate);
27294 if (PyErr_Occurred()) SWIG_fail;
27295 }
27296 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27297 return resultobj;
27298 fail:
27299 return NULL;
27300 }
27301
27302
27303 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27304 PyObject *resultobj = 0;
27305 wxPrinter *arg1 = (wxPrinter *) 0 ;
27306 bool result;
27307 void *argp1 = 0 ;
27308 int res1 = 0 ;
27309 PyObject *swig_obj[1] ;
27310
27311 if (!args) SWIG_fail;
27312 swig_obj[0] = args;
27313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27314 if (!SWIG_IsOK(res1)) {
27315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27316 }
27317 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27318 {
27319 PyThreadState* __tstate = wxPyBeginAllowThreads();
27320 result = (bool)(arg1)->GetAbort();
27321 wxPyEndAllowThreads(__tstate);
27322 if (PyErr_Occurred()) SWIG_fail;
27323 }
27324 {
27325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27326 }
27327 return resultobj;
27328 fail:
27329 return NULL;
27330 }
27331
27332
27333 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27334 PyObject *resultobj = 0;
27335 wxPrinterError result;
27336
27337 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27338 {
27339 PyThreadState* __tstate = wxPyBeginAllowThreads();
27340 result = (wxPrinterError)wxPrinter::GetLastError();
27341 wxPyEndAllowThreads(__tstate);
27342 if (PyErr_Occurred()) SWIG_fail;
27343 }
27344 resultobj = SWIG_From_int(static_cast< int >(result));
27345 return resultobj;
27346 fail:
27347 return NULL;
27348 }
27349
27350
27351 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27352 PyObject *obj;
27353 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27354 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27355 return SWIG_Py_Void();
27356 }
27357
27358 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27359 return SWIG_Python_InitShadowInstance(args);
27360 }
27361
27362 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27363 PyObject *resultobj = 0;
27364 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27365 wxString *arg1 = (wxString *) &arg1_defvalue ;
27366 wxPyPrintout *result = 0 ;
27367 bool temp1 = false ;
27368 PyObject * obj0 = 0 ;
27369 char * kwnames[] = {
27370 (char *) "title", NULL
27371 };
27372
27373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27374 if (obj0) {
27375 {
27376 arg1 = wxString_in_helper(obj0);
27377 if (arg1 == NULL) SWIG_fail;
27378 temp1 = true;
27379 }
27380 }
27381 {
27382 if (!wxPyCheckForApp()) SWIG_fail;
27383 PyThreadState* __tstate = wxPyBeginAllowThreads();
27384 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27385 wxPyEndAllowThreads(__tstate);
27386 if (PyErr_Occurred()) SWIG_fail;
27387 }
27388 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27389 {
27390 if (temp1)
27391 delete arg1;
27392 }
27393 return resultobj;
27394 fail:
27395 {
27396 if (temp1)
27397 delete arg1;
27398 }
27399 return NULL;
27400 }
27401
27402
27403 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27404 PyObject *resultobj = 0;
27405 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27406 void *argp1 = 0 ;
27407 int res1 = 0 ;
27408 PyObject *swig_obj[1] ;
27409
27410 if (!args) SWIG_fail;
27411 swig_obj[0] = args;
27412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27413 if (!SWIG_IsOK(res1)) {
27414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27415 }
27416 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27417 {
27418 PyThreadState* __tstate = wxPyBeginAllowThreads();
27419 delete arg1;
27420
27421 wxPyEndAllowThreads(__tstate);
27422 if (PyErr_Occurred()) SWIG_fail;
27423 }
27424 resultobj = SWIG_Py_Void();
27425 return resultobj;
27426 fail:
27427 return NULL;
27428 }
27429
27430
27431 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27432 PyObject *resultobj = 0;
27433 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27434 PyObject *arg2 = (PyObject *) 0 ;
27435 PyObject *arg3 = (PyObject *) 0 ;
27436 void *argp1 = 0 ;
27437 int res1 = 0 ;
27438 PyObject * obj0 = 0 ;
27439 PyObject * obj1 = 0 ;
27440 PyObject * obj2 = 0 ;
27441 char * kwnames[] = {
27442 (char *) "self",(char *) "self",(char *) "_class", NULL
27443 };
27444
27445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27447 if (!SWIG_IsOK(res1)) {
27448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27449 }
27450 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27451 arg2 = obj1;
27452 arg3 = obj2;
27453 {
27454 PyThreadState* __tstate = wxPyBeginAllowThreads();
27455 (arg1)->_setCallbackInfo(arg2,arg3);
27456 wxPyEndAllowThreads(__tstate);
27457 if (PyErr_Occurred()) SWIG_fail;
27458 }
27459 resultobj = SWIG_Py_Void();
27460 return resultobj;
27461 fail:
27462 return NULL;
27463 }
27464
27465
27466 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27467 PyObject *resultobj = 0;
27468 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27469 wxString result;
27470 void *argp1 = 0 ;
27471 int res1 = 0 ;
27472 PyObject *swig_obj[1] ;
27473
27474 if (!args) SWIG_fail;
27475 swig_obj[0] = args;
27476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27477 if (!SWIG_IsOK(res1)) {
27478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27479 }
27480 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27481 {
27482 PyThreadState* __tstate = wxPyBeginAllowThreads();
27483 result = ((wxPyPrintout const *)arg1)->GetTitle();
27484 wxPyEndAllowThreads(__tstate);
27485 if (PyErr_Occurred()) SWIG_fail;
27486 }
27487 {
27488 #if wxUSE_UNICODE
27489 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27490 #else
27491 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27492 #endif
27493 }
27494 return resultobj;
27495 fail:
27496 return NULL;
27497 }
27498
27499
27500 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27501 PyObject *resultobj = 0;
27502 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27503 wxDC *result = 0 ;
27504 void *argp1 = 0 ;
27505 int res1 = 0 ;
27506 PyObject *swig_obj[1] ;
27507
27508 if (!args) SWIG_fail;
27509 swig_obj[0] = args;
27510 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27511 if (!SWIG_IsOK(res1)) {
27512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27513 }
27514 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27515 {
27516 PyThreadState* __tstate = wxPyBeginAllowThreads();
27517 result = (wxDC *)(arg1)->GetDC();
27518 wxPyEndAllowThreads(__tstate);
27519 if (PyErr_Occurred()) SWIG_fail;
27520 }
27521 {
27522 resultobj = wxPyMake_wxObject(result, (bool)0);
27523 }
27524 return resultobj;
27525 fail:
27526 return NULL;
27527 }
27528
27529
27530 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27531 PyObject *resultobj = 0;
27532 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27533 wxDC *arg2 = (wxDC *) 0 ;
27534 void *argp1 = 0 ;
27535 int res1 = 0 ;
27536 void *argp2 = 0 ;
27537 int res2 = 0 ;
27538 PyObject * obj0 = 0 ;
27539 PyObject * obj1 = 0 ;
27540 char * kwnames[] = {
27541 (char *) "self",(char *) "dc", NULL
27542 };
27543
27544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27546 if (!SWIG_IsOK(res1)) {
27547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27548 }
27549 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27550 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27551 if (!SWIG_IsOK(res2)) {
27552 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27553 }
27554 arg2 = reinterpret_cast< wxDC * >(argp2);
27555 {
27556 PyThreadState* __tstate = wxPyBeginAllowThreads();
27557 (arg1)->SetDC(arg2);
27558 wxPyEndAllowThreads(__tstate);
27559 if (PyErr_Occurred()) SWIG_fail;
27560 }
27561 resultobj = SWIG_Py_Void();
27562 return resultobj;
27563 fail:
27564 return NULL;
27565 }
27566
27567
27568 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27569 PyObject *resultobj = 0;
27570 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27571 int arg2 ;
27572 int arg3 ;
27573 void *argp1 = 0 ;
27574 int res1 = 0 ;
27575 int val2 ;
27576 int ecode2 = 0 ;
27577 int val3 ;
27578 int ecode3 = 0 ;
27579 PyObject * obj0 = 0 ;
27580 PyObject * obj1 = 0 ;
27581 PyObject * obj2 = 0 ;
27582 char * kwnames[] = {
27583 (char *) "self",(char *) "w",(char *) "h", NULL
27584 };
27585
27586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27588 if (!SWIG_IsOK(res1)) {
27589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27590 }
27591 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27592 ecode2 = SWIG_AsVal_int(obj1, &val2);
27593 if (!SWIG_IsOK(ecode2)) {
27594 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27595 }
27596 arg2 = static_cast< int >(val2);
27597 ecode3 = SWIG_AsVal_int(obj2, &val3);
27598 if (!SWIG_IsOK(ecode3)) {
27599 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27600 }
27601 arg3 = static_cast< int >(val3);
27602 {
27603 PyThreadState* __tstate = wxPyBeginAllowThreads();
27604 (arg1)->SetPageSizePixels(arg2,arg3);
27605 wxPyEndAllowThreads(__tstate);
27606 if (PyErr_Occurred()) SWIG_fail;
27607 }
27608 resultobj = SWIG_Py_Void();
27609 return resultobj;
27610 fail:
27611 return NULL;
27612 }
27613
27614
27615 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27616 PyObject *resultobj = 0;
27617 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27618 int *arg2 = (int *) 0 ;
27619 int *arg3 = (int *) 0 ;
27620 void *argp1 = 0 ;
27621 int res1 = 0 ;
27622 int temp2 ;
27623 int res2 = SWIG_TMPOBJ ;
27624 int temp3 ;
27625 int res3 = SWIG_TMPOBJ ;
27626 PyObject *swig_obj[1] ;
27627
27628 arg2 = &temp2;
27629 arg3 = &temp3;
27630 if (!args) SWIG_fail;
27631 swig_obj[0] = args;
27632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27633 if (!SWIG_IsOK(res1)) {
27634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27635 }
27636 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27637 {
27638 PyThreadState* __tstate = wxPyBeginAllowThreads();
27639 (arg1)->GetPageSizePixels(arg2,arg3);
27640 wxPyEndAllowThreads(__tstate);
27641 if (PyErr_Occurred()) SWIG_fail;
27642 }
27643 resultobj = SWIG_Py_Void();
27644 if (SWIG_IsTmpObj(res2)) {
27645 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27646 } else {
27647 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27648 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27649 }
27650 if (SWIG_IsTmpObj(res3)) {
27651 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27652 } else {
27653 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27654 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27655 }
27656 return resultobj;
27657 fail:
27658 return NULL;
27659 }
27660
27661
27662 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27663 PyObject *resultobj = 0;
27664 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27665 int arg2 ;
27666 int arg3 ;
27667 void *argp1 = 0 ;
27668 int res1 = 0 ;
27669 int val2 ;
27670 int ecode2 = 0 ;
27671 int val3 ;
27672 int ecode3 = 0 ;
27673 PyObject * obj0 = 0 ;
27674 PyObject * obj1 = 0 ;
27675 PyObject * obj2 = 0 ;
27676 char * kwnames[] = {
27677 (char *) "self",(char *) "w",(char *) "h", NULL
27678 };
27679
27680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27682 if (!SWIG_IsOK(res1)) {
27683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27684 }
27685 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27686 ecode2 = SWIG_AsVal_int(obj1, &val2);
27687 if (!SWIG_IsOK(ecode2)) {
27688 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27689 }
27690 arg2 = static_cast< int >(val2);
27691 ecode3 = SWIG_AsVal_int(obj2, &val3);
27692 if (!SWIG_IsOK(ecode3)) {
27693 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27694 }
27695 arg3 = static_cast< int >(val3);
27696 {
27697 PyThreadState* __tstate = wxPyBeginAllowThreads();
27698 (arg1)->SetPageSizeMM(arg2,arg3);
27699 wxPyEndAllowThreads(__tstate);
27700 if (PyErr_Occurred()) SWIG_fail;
27701 }
27702 resultobj = SWIG_Py_Void();
27703 return resultobj;
27704 fail:
27705 return NULL;
27706 }
27707
27708
27709 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27710 PyObject *resultobj = 0;
27711 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27712 int *arg2 = (int *) 0 ;
27713 int *arg3 = (int *) 0 ;
27714 void *argp1 = 0 ;
27715 int res1 = 0 ;
27716 int temp2 ;
27717 int res2 = SWIG_TMPOBJ ;
27718 int temp3 ;
27719 int res3 = SWIG_TMPOBJ ;
27720 PyObject *swig_obj[1] ;
27721
27722 arg2 = &temp2;
27723 arg3 = &temp3;
27724 if (!args) SWIG_fail;
27725 swig_obj[0] = args;
27726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27727 if (!SWIG_IsOK(res1)) {
27728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27729 }
27730 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27731 {
27732 PyThreadState* __tstate = wxPyBeginAllowThreads();
27733 (arg1)->GetPageSizeMM(arg2,arg3);
27734 wxPyEndAllowThreads(__tstate);
27735 if (PyErr_Occurred()) SWIG_fail;
27736 }
27737 resultobj = SWIG_Py_Void();
27738 if (SWIG_IsTmpObj(res2)) {
27739 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27740 } else {
27741 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27742 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27743 }
27744 if (SWIG_IsTmpObj(res3)) {
27745 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27746 } else {
27747 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27748 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27749 }
27750 return resultobj;
27751 fail:
27752 return NULL;
27753 }
27754
27755
27756 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27757 PyObject *resultobj = 0;
27758 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27759 int arg2 ;
27760 int arg3 ;
27761 void *argp1 = 0 ;
27762 int res1 = 0 ;
27763 int val2 ;
27764 int ecode2 = 0 ;
27765 int val3 ;
27766 int ecode3 = 0 ;
27767 PyObject * obj0 = 0 ;
27768 PyObject * obj1 = 0 ;
27769 PyObject * obj2 = 0 ;
27770 char * kwnames[] = {
27771 (char *) "self",(char *) "x",(char *) "y", NULL
27772 };
27773
27774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27776 if (!SWIG_IsOK(res1)) {
27777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27778 }
27779 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27780 ecode2 = SWIG_AsVal_int(obj1, &val2);
27781 if (!SWIG_IsOK(ecode2)) {
27782 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27783 }
27784 arg2 = static_cast< int >(val2);
27785 ecode3 = SWIG_AsVal_int(obj2, &val3);
27786 if (!SWIG_IsOK(ecode3)) {
27787 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27788 }
27789 arg3 = static_cast< int >(val3);
27790 {
27791 PyThreadState* __tstate = wxPyBeginAllowThreads();
27792 (arg1)->SetPPIScreen(arg2,arg3);
27793 wxPyEndAllowThreads(__tstate);
27794 if (PyErr_Occurred()) SWIG_fail;
27795 }
27796 resultobj = SWIG_Py_Void();
27797 return resultobj;
27798 fail:
27799 return NULL;
27800 }
27801
27802
27803 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27804 PyObject *resultobj = 0;
27805 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27806 int *arg2 = (int *) 0 ;
27807 int *arg3 = (int *) 0 ;
27808 void *argp1 = 0 ;
27809 int res1 = 0 ;
27810 int temp2 ;
27811 int res2 = SWIG_TMPOBJ ;
27812 int temp3 ;
27813 int res3 = SWIG_TMPOBJ ;
27814 PyObject *swig_obj[1] ;
27815
27816 arg2 = &temp2;
27817 arg3 = &temp3;
27818 if (!args) SWIG_fail;
27819 swig_obj[0] = args;
27820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27821 if (!SWIG_IsOK(res1)) {
27822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27823 }
27824 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27825 {
27826 PyThreadState* __tstate = wxPyBeginAllowThreads();
27827 (arg1)->GetPPIScreen(arg2,arg3);
27828 wxPyEndAllowThreads(__tstate);
27829 if (PyErr_Occurred()) SWIG_fail;
27830 }
27831 resultobj = SWIG_Py_Void();
27832 if (SWIG_IsTmpObj(res2)) {
27833 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27834 } else {
27835 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27836 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27837 }
27838 if (SWIG_IsTmpObj(res3)) {
27839 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27840 } else {
27841 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27842 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27843 }
27844 return resultobj;
27845 fail:
27846 return NULL;
27847 }
27848
27849
27850 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27851 PyObject *resultobj = 0;
27852 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27853 int arg2 ;
27854 int arg3 ;
27855 void *argp1 = 0 ;
27856 int res1 = 0 ;
27857 int val2 ;
27858 int ecode2 = 0 ;
27859 int val3 ;
27860 int ecode3 = 0 ;
27861 PyObject * obj0 = 0 ;
27862 PyObject * obj1 = 0 ;
27863 PyObject * obj2 = 0 ;
27864 char * kwnames[] = {
27865 (char *) "self",(char *) "x",(char *) "y", NULL
27866 };
27867
27868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27870 if (!SWIG_IsOK(res1)) {
27871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27872 }
27873 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27874 ecode2 = SWIG_AsVal_int(obj1, &val2);
27875 if (!SWIG_IsOK(ecode2)) {
27876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27877 }
27878 arg2 = static_cast< int >(val2);
27879 ecode3 = SWIG_AsVal_int(obj2, &val3);
27880 if (!SWIG_IsOK(ecode3)) {
27881 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27882 }
27883 arg3 = static_cast< int >(val3);
27884 {
27885 PyThreadState* __tstate = wxPyBeginAllowThreads();
27886 (arg1)->SetPPIPrinter(arg2,arg3);
27887 wxPyEndAllowThreads(__tstate);
27888 if (PyErr_Occurred()) SWIG_fail;
27889 }
27890 resultobj = SWIG_Py_Void();
27891 return resultobj;
27892 fail:
27893 return NULL;
27894 }
27895
27896
27897 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27898 PyObject *resultobj = 0;
27899 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27900 int *arg2 = (int *) 0 ;
27901 int *arg3 = (int *) 0 ;
27902 void *argp1 = 0 ;
27903 int res1 = 0 ;
27904 int temp2 ;
27905 int res2 = SWIG_TMPOBJ ;
27906 int temp3 ;
27907 int res3 = SWIG_TMPOBJ ;
27908 PyObject *swig_obj[1] ;
27909
27910 arg2 = &temp2;
27911 arg3 = &temp3;
27912 if (!args) SWIG_fail;
27913 swig_obj[0] = args;
27914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27915 if (!SWIG_IsOK(res1)) {
27916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27917 }
27918 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27919 {
27920 PyThreadState* __tstate = wxPyBeginAllowThreads();
27921 (arg1)->GetPPIPrinter(arg2,arg3);
27922 wxPyEndAllowThreads(__tstate);
27923 if (PyErr_Occurred()) SWIG_fail;
27924 }
27925 resultobj = SWIG_Py_Void();
27926 if (SWIG_IsTmpObj(res2)) {
27927 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27928 } else {
27929 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27930 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27931 }
27932 if (SWIG_IsTmpObj(res3)) {
27933 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27934 } else {
27935 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27936 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27937 }
27938 return resultobj;
27939 fail:
27940 return NULL;
27941 }
27942
27943
27944 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27945 PyObject *resultobj = 0;
27946 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27947 bool result;
27948 void *argp1 = 0 ;
27949 int res1 = 0 ;
27950 PyObject *swig_obj[1] ;
27951
27952 if (!args) SWIG_fail;
27953 swig_obj[0] = args;
27954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27955 if (!SWIG_IsOK(res1)) {
27956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27957 }
27958 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27959 {
27960 PyThreadState* __tstate = wxPyBeginAllowThreads();
27961 result = (bool)(arg1)->IsPreview();
27962 wxPyEndAllowThreads(__tstate);
27963 if (PyErr_Occurred()) SWIG_fail;
27964 }
27965 {
27966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27967 }
27968 return resultobj;
27969 fail:
27970 return NULL;
27971 }
27972
27973
27974 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27975 PyObject *resultobj = 0;
27976 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27977 bool arg2 ;
27978 void *argp1 = 0 ;
27979 int res1 = 0 ;
27980 bool val2 ;
27981 int ecode2 = 0 ;
27982 PyObject * obj0 = 0 ;
27983 PyObject * obj1 = 0 ;
27984 char * kwnames[] = {
27985 (char *) "self",(char *) "p", NULL
27986 };
27987
27988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
27989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27990 if (!SWIG_IsOK(res1)) {
27991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27992 }
27993 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27994 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27995 if (!SWIG_IsOK(ecode2)) {
27996 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27997 }
27998 arg2 = static_cast< bool >(val2);
27999 {
28000 PyThreadState* __tstate = wxPyBeginAllowThreads();
28001 (arg1)->SetIsPreview(arg2);
28002 wxPyEndAllowThreads(__tstate);
28003 if (PyErr_Occurred()) SWIG_fail;
28004 }
28005 resultobj = SWIG_Py_Void();
28006 return resultobj;
28007 fail:
28008 return NULL;
28009 }
28010
28011
28012 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28013 PyObject *resultobj = 0;
28014 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28015 int arg2 ;
28016 int arg3 ;
28017 bool result;
28018 void *argp1 = 0 ;
28019 int res1 = 0 ;
28020 int val2 ;
28021 int ecode2 = 0 ;
28022 int val3 ;
28023 int ecode3 = 0 ;
28024 PyObject * obj0 = 0 ;
28025 PyObject * obj1 = 0 ;
28026 PyObject * obj2 = 0 ;
28027 char * kwnames[] = {
28028 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28029 };
28030
28031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28033 if (!SWIG_IsOK(res1)) {
28034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28035 }
28036 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28037 ecode2 = SWIG_AsVal_int(obj1, &val2);
28038 if (!SWIG_IsOK(ecode2)) {
28039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28040 }
28041 arg2 = static_cast< int >(val2);
28042 ecode3 = SWIG_AsVal_int(obj2, &val3);
28043 if (!SWIG_IsOK(ecode3)) {
28044 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28045 }
28046 arg3 = static_cast< int >(val3);
28047 {
28048 PyThreadState* __tstate = wxPyBeginAllowThreads();
28049 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28050 wxPyEndAllowThreads(__tstate);
28051 if (PyErr_Occurred()) SWIG_fail;
28052 }
28053 {
28054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28055 }
28056 return resultobj;
28057 fail:
28058 return NULL;
28059 }
28060
28061
28062 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28063 PyObject *resultobj = 0;
28064 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28065 void *argp1 = 0 ;
28066 int res1 = 0 ;
28067 PyObject *swig_obj[1] ;
28068
28069 if (!args) SWIG_fail;
28070 swig_obj[0] = args;
28071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28072 if (!SWIG_IsOK(res1)) {
28073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28074 }
28075 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28076 {
28077 PyThreadState* __tstate = wxPyBeginAllowThreads();
28078 (arg1)->OnEndDocument();
28079 wxPyEndAllowThreads(__tstate);
28080 if (PyErr_Occurred()) SWIG_fail;
28081 }
28082 resultobj = SWIG_Py_Void();
28083 return resultobj;
28084 fail:
28085 return NULL;
28086 }
28087
28088
28089 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28090 PyObject *resultobj = 0;
28091 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28092 void *argp1 = 0 ;
28093 int res1 = 0 ;
28094 PyObject *swig_obj[1] ;
28095
28096 if (!args) SWIG_fail;
28097 swig_obj[0] = args;
28098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28099 if (!SWIG_IsOK(res1)) {
28100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28101 }
28102 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28103 {
28104 PyThreadState* __tstate = wxPyBeginAllowThreads();
28105 (arg1)->OnBeginPrinting();
28106 wxPyEndAllowThreads(__tstate);
28107 if (PyErr_Occurred()) SWIG_fail;
28108 }
28109 resultobj = SWIG_Py_Void();
28110 return resultobj;
28111 fail:
28112 return NULL;
28113 }
28114
28115
28116 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28117 PyObject *resultobj = 0;
28118 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28119 void *argp1 = 0 ;
28120 int res1 = 0 ;
28121 PyObject *swig_obj[1] ;
28122
28123 if (!args) SWIG_fail;
28124 swig_obj[0] = args;
28125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28126 if (!SWIG_IsOK(res1)) {
28127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28128 }
28129 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28130 {
28131 PyThreadState* __tstate = wxPyBeginAllowThreads();
28132 (arg1)->OnEndPrinting();
28133 wxPyEndAllowThreads(__tstate);
28134 if (PyErr_Occurred()) SWIG_fail;
28135 }
28136 resultobj = SWIG_Py_Void();
28137 return resultobj;
28138 fail:
28139 return NULL;
28140 }
28141
28142
28143 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28144 PyObject *resultobj = 0;
28145 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28146 void *argp1 = 0 ;
28147 int res1 = 0 ;
28148 PyObject *swig_obj[1] ;
28149
28150 if (!args) SWIG_fail;
28151 swig_obj[0] = args;
28152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28153 if (!SWIG_IsOK(res1)) {
28154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28155 }
28156 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28157 {
28158 PyThreadState* __tstate = wxPyBeginAllowThreads();
28159 (arg1)->OnPreparePrinting();
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_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28171 PyObject *resultobj = 0;
28172 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28173 int arg2 ;
28174 bool result;
28175 void *argp1 = 0 ;
28176 int res1 = 0 ;
28177 int val2 ;
28178 int ecode2 = 0 ;
28179 PyObject * obj0 = 0 ;
28180 PyObject * obj1 = 0 ;
28181 char * kwnames[] = {
28182 (char *) "self",(char *) "page", NULL
28183 };
28184
28185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28187 if (!SWIG_IsOK(res1)) {
28188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28189 }
28190 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28191 ecode2 = SWIG_AsVal_int(obj1, &val2);
28192 if (!SWIG_IsOK(ecode2)) {
28193 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28194 }
28195 arg2 = static_cast< int >(val2);
28196 {
28197 PyThreadState* __tstate = wxPyBeginAllowThreads();
28198 result = (bool)(arg1)->HasPage(arg2);
28199 wxPyEndAllowThreads(__tstate);
28200 if (PyErr_Occurred()) SWIG_fail;
28201 }
28202 {
28203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28204 }
28205 return resultobj;
28206 fail:
28207 return NULL;
28208 }
28209
28210
28211 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28212 PyObject *resultobj = 0;
28213 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28214 int *arg2 = (int *) 0 ;
28215 int *arg3 = (int *) 0 ;
28216 int *arg4 = (int *) 0 ;
28217 int *arg5 = (int *) 0 ;
28218 void *argp1 = 0 ;
28219 int res1 = 0 ;
28220 int temp2 ;
28221 int res2 = SWIG_TMPOBJ ;
28222 int temp3 ;
28223 int res3 = SWIG_TMPOBJ ;
28224 int temp4 ;
28225 int res4 = SWIG_TMPOBJ ;
28226 int temp5 ;
28227 int res5 = SWIG_TMPOBJ ;
28228 PyObject *swig_obj[1] ;
28229
28230 arg2 = &temp2;
28231 arg3 = &temp3;
28232 arg4 = &temp4;
28233 arg5 = &temp5;
28234 if (!args) SWIG_fail;
28235 swig_obj[0] = args;
28236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28237 if (!SWIG_IsOK(res1)) {
28238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28239 }
28240 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28241 {
28242 PyThreadState* __tstate = wxPyBeginAllowThreads();
28243 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28244 wxPyEndAllowThreads(__tstate);
28245 if (PyErr_Occurred()) SWIG_fail;
28246 }
28247 resultobj = SWIG_Py_Void();
28248 if (SWIG_IsTmpObj(res2)) {
28249 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28250 } else {
28251 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28252 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28253 }
28254 if (SWIG_IsTmpObj(res3)) {
28255 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28256 } else {
28257 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28258 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28259 }
28260 if (SWIG_IsTmpObj(res4)) {
28261 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28262 } else {
28263 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28264 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28265 }
28266 if (SWIG_IsTmpObj(res5)) {
28267 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28268 } else {
28269 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28270 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28271 }
28272 return resultobj;
28273 fail:
28274 return NULL;
28275 }
28276
28277
28278 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28279 PyObject *obj;
28280 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28281 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28282 return SWIG_Py_Void();
28283 }
28284
28285 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28286 return SWIG_Python_InitShadowInstance(args);
28287 }
28288
28289 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28290 PyObject *resultobj = 0;
28291 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28292 wxWindow *arg2 = (wxWindow *) 0 ;
28293 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28294 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28295 wxSize const &arg4_defvalue = wxDefaultSize ;
28296 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28297 long arg5 = (long) 0 ;
28298 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28299 wxString *arg6 = (wxString *) &arg6_defvalue ;
28300 wxPreviewCanvas *result = 0 ;
28301 void *argp1 = 0 ;
28302 int res1 = 0 ;
28303 void *argp2 = 0 ;
28304 int res2 = 0 ;
28305 wxPoint temp3 ;
28306 wxSize temp4 ;
28307 long val5 ;
28308 int ecode5 = 0 ;
28309 bool temp6 = false ;
28310 PyObject * obj0 = 0 ;
28311 PyObject * obj1 = 0 ;
28312 PyObject * obj2 = 0 ;
28313 PyObject * obj3 = 0 ;
28314 PyObject * obj4 = 0 ;
28315 PyObject * obj5 = 0 ;
28316 char * kwnames[] = {
28317 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28318 };
28319
28320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28322 if (!SWIG_IsOK(res1)) {
28323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28324 }
28325 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28326 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28327 if (!SWIG_IsOK(res2)) {
28328 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28329 }
28330 arg2 = reinterpret_cast< wxWindow * >(argp2);
28331 if (obj2) {
28332 {
28333 arg3 = &temp3;
28334 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28335 }
28336 }
28337 if (obj3) {
28338 {
28339 arg4 = &temp4;
28340 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28341 }
28342 }
28343 if (obj4) {
28344 ecode5 = SWIG_AsVal_long(obj4, &val5);
28345 if (!SWIG_IsOK(ecode5)) {
28346 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28347 }
28348 arg5 = static_cast< long >(val5);
28349 }
28350 if (obj5) {
28351 {
28352 arg6 = wxString_in_helper(obj5);
28353 if (arg6 == NULL) SWIG_fail;
28354 temp6 = true;
28355 }
28356 }
28357 {
28358 if (!wxPyCheckForApp()) SWIG_fail;
28359 PyThreadState* __tstate = wxPyBeginAllowThreads();
28360 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28361 wxPyEndAllowThreads(__tstate);
28362 if (PyErr_Occurred()) SWIG_fail;
28363 }
28364 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28365 {
28366 if (temp6)
28367 delete arg6;
28368 }
28369 return resultobj;
28370 fail:
28371 {
28372 if (temp6)
28373 delete arg6;
28374 }
28375 return NULL;
28376 }
28377
28378
28379 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28380 PyObject *obj;
28381 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28382 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28383 return SWIG_Py_Void();
28384 }
28385
28386 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28387 return SWIG_Python_InitShadowInstance(args);
28388 }
28389
28390 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28391 PyObject *resultobj = 0;
28392 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28393 wxFrame *arg2 = (wxFrame *) 0 ;
28394 wxString *arg3 = 0 ;
28395 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28396 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28397 wxSize const &arg5_defvalue = wxDefaultSize ;
28398 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28399 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28400 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28401 wxString *arg7 = (wxString *) &arg7_defvalue ;
28402 wxPreviewFrame *result = 0 ;
28403 int res1 = 0 ;
28404 void *argp2 = 0 ;
28405 int res2 = 0 ;
28406 bool temp3 = false ;
28407 wxPoint temp4 ;
28408 wxSize temp5 ;
28409 long val6 ;
28410 int ecode6 = 0 ;
28411 bool temp7 = false ;
28412 PyObject * obj0 = 0 ;
28413 PyObject * obj1 = 0 ;
28414 PyObject * obj2 = 0 ;
28415 PyObject * obj3 = 0 ;
28416 PyObject * obj4 = 0 ;
28417 PyObject * obj5 = 0 ;
28418 PyObject * obj6 = 0 ;
28419 char * kwnames[] = {
28420 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28421 };
28422
28423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28424 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28425 if (!SWIG_IsOK(res1)) {
28426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28427 }
28428 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28429 if (!SWIG_IsOK(res2)) {
28430 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28431 }
28432 arg2 = reinterpret_cast< wxFrame * >(argp2);
28433 {
28434 arg3 = wxString_in_helper(obj2);
28435 if (arg3 == NULL) SWIG_fail;
28436 temp3 = true;
28437 }
28438 if (obj3) {
28439 {
28440 arg4 = &temp4;
28441 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28442 }
28443 }
28444 if (obj4) {
28445 {
28446 arg5 = &temp5;
28447 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28448 }
28449 }
28450 if (obj5) {
28451 ecode6 = SWIG_AsVal_long(obj5, &val6);
28452 if (!SWIG_IsOK(ecode6)) {
28453 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28454 }
28455 arg6 = static_cast< long >(val6);
28456 }
28457 if (obj6) {
28458 {
28459 arg7 = wxString_in_helper(obj6);
28460 if (arg7 == NULL) SWIG_fail;
28461 temp7 = true;
28462 }
28463 }
28464 {
28465 if (!wxPyCheckForApp()) SWIG_fail;
28466 PyThreadState* __tstate = wxPyBeginAllowThreads();
28467 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28468 wxPyEndAllowThreads(__tstate);
28469 if (PyErr_Occurred()) SWIG_fail;
28470 }
28471 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28472 {
28473 if (temp3)
28474 delete arg3;
28475 }
28476 {
28477 if (temp7)
28478 delete arg7;
28479 }
28480 return resultobj;
28481 fail:
28482 {
28483 if (temp3)
28484 delete arg3;
28485 }
28486 {
28487 if (temp7)
28488 delete arg7;
28489 }
28490 return NULL;
28491 }
28492
28493
28494 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28495 PyObject *resultobj = 0;
28496 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28497 void *argp1 = 0 ;
28498 int res1 = 0 ;
28499 PyObject *swig_obj[1] ;
28500
28501 if (!args) SWIG_fail;
28502 swig_obj[0] = args;
28503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28504 if (!SWIG_IsOK(res1)) {
28505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28506 }
28507 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28508 {
28509 PyThreadState* __tstate = wxPyBeginAllowThreads();
28510 (arg1)->Initialize();
28511 wxPyEndAllowThreads(__tstate);
28512 if (PyErr_Occurred()) SWIG_fail;
28513 }
28514 resultobj = SWIG_Py_Void();
28515 return resultobj;
28516 fail:
28517 return NULL;
28518 }
28519
28520
28521 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28522 PyObject *resultobj = 0;
28523 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28524 void *argp1 = 0 ;
28525 int res1 = 0 ;
28526 PyObject *swig_obj[1] ;
28527
28528 if (!args) SWIG_fail;
28529 swig_obj[0] = args;
28530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28531 if (!SWIG_IsOK(res1)) {
28532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28533 }
28534 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28535 {
28536 PyThreadState* __tstate = wxPyBeginAllowThreads();
28537 (arg1)->CreateControlBar();
28538 wxPyEndAllowThreads(__tstate);
28539 if (PyErr_Occurred()) SWIG_fail;
28540 }
28541 resultobj = SWIG_Py_Void();
28542 return resultobj;
28543 fail:
28544 return NULL;
28545 }
28546
28547
28548 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28549 PyObject *resultobj = 0;
28550 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28551 void *argp1 = 0 ;
28552 int res1 = 0 ;
28553 PyObject *swig_obj[1] ;
28554
28555 if (!args) SWIG_fail;
28556 swig_obj[0] = args;
28557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28558 if (!SWIG_IsOK(res1)) {
28559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28560 }
28561 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28562 {
28563 PyThreadState* __tstate = wxPyBeginAllowThreads();
28564 (arg1)->CreateCanvas();
28565 wxPyEndAllowThreads(__tstate);
28566 if (PyErr_Occurred()) SWIG_fail;
28567 }
28568 resultobj = SWIG_Py_Void();
28569 return resultobj;
28570 fail:
28571 return NULL;
28572 }
28573
28574
28575 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28576 PyObject *resultobj = 0;
28577 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28578 wxPreviewControlBar *result = 0 ;
28579 void *argp1 = 0 ;
28580 int res1 = 0 ;
28581 PyObject *swig_obj[1] ;
28582
28583 if (!args) SWIG_fail;
28584 swig_obj[0] = args;
28585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28586 if (!SWIG_IsOK(res1)) {
28587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28588 }
28589 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28590 {
28591 PyThreadState* __tstate = wxPyBeginAllowThreads();
28592 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28593 wxPyEndAllowThreads(__tstate);
28594 if (PyErr_Occurred()) SWIG_fail;
28595 }
28596 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28597 return resultobj;
28598 fail:
28599 return NULL;
28600 }
28601
28602
28603 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28604 PyObject *obj;
28605 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28606 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28607 return SWIG_Py_Void();
28608 }
28609
28610 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28611 return SWIG_Python_InitShadowInstance(args);
28612 }
28613
28614 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28615 PyObject *resultobj = 0;
28616 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28617 long arg2 ;
28618 wxWindow *arg3 = (wxWindow *) 0 ;
28619 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28620 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28621 wxSize const &arg5_defvalue = wxDefaultSize ;
28622 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28623 long arg6 = (long) wxTAB_TRAVERSAL ;
28624 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28625 wxString *arg7 = (wxString *) &arg7_defvalue ;
28626 wxPreviewControlBar *result = 0 ;
28627 void *argp1 = 0 ;
28628 int res1 = 0 ;
28629 long val2 ;
28630 int ecode2 = 0 ;
28631 void *argp3 = 0 ;
28632 int res3 = 0 ;
28633 wxPoint temp4 ;
28634 wxSize temp5 ;
28635 long val6 ;
28636 int ecode6 = 0 ;
28637 bool temp7 = false ;
28638 PyObject * obj0 = 0 ;
28639 PyObject * obj1 = 0 ;
28640 PyObject * obj2 = 0 ;
28641 PyObject * obj3 = 0 ;
28642 PyObject * obj4 = 0 ;
28643 PyObject * obj5 = 0 ;
28644 PyObject * obj6 = 0 ;
28645 char * kwnames[] = {
28646 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28647 };
28648
28649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28651 if (!SWIG_IsOK(res1)) {
28652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28653 }
28654 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28655 ecode2 = SWIG_AsVal_long(obj1, &val2);
28656 if (!SWIG_IsOK(ecode2)) {
28657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28658 }
28659 arg2 = static_cast< long >(val2);
28660 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28661 if (!SWIG_IsOK(res3)) {
28662 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28663 }
28664 arg3 = reinterpret_cast< wxWindow * >(argp3);
28665 if (obj3) {
28666 {
28667 arg4 = &temp4;
28668 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28669 }
28670 }
28671 if (obj4) {
28672 {
28673 arg5 = &temp5;
28674 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28675 }
28676 }
28677 if (obj5) {
28678 ecode6 = SWIG_AsVal_long(obj5, &val6);
28679 if (!SWIG_IsOK(ecode6)) {
28680 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28681 }
28682 arg6 = static_cast< long >(val6);
28683 }
28684 if (obj6) {
28685 {
28686 arg7 = wxString_in_helper(obj6);
28687 if (arg7 == NULL) SWIG_fail;
28688 temp7 = true;
28689 }
28690 }
28691 {
28692 if (!wxPyCheckForApp()) SWIG_fail;
28693 PyThreadState* __tstate = wxPyBeginAllowThreads();
28694 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28695 wxPyEndAllowThreads(__tstate);
28696 if (PyErr_Occurred()) SWIG_fail;
28697 }
28698 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28699 {
28700 if (temp7)
28701 delete arg7;
28702 }
28703 return resultobj;
28704 fail:
28705 {
28706 if (temp7)
28707 delete arg7;
28708 }
28709 return NULL;
28710 }
28711
28712
28713 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28714 PyObject *resultobj = 0;
28715 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28716 int result;
28717 void *argp1 = 0 ;
28718 int res1 = 0 ;
28719 PyObject *swig_obj[1] ;
28720
28721 if (!args) SWIG_fail;
28722 swig_obj[0] = args;
28723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28724 if (!SWIG_IsOK(res1)) {
28725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28726 }
28727 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28728 {
28729 PyThreadState* __tstate = wxPyBeginAllowThreads();
28730 result = (int)(arg1)->GetZoomControl();
28731 wxPyEndAllowThreads(__tstate);
28732 if (PyErr_Occurred()) SWIG_fail;
28733 }
28734 resultobj = SWIG_From_int(static_cast< int >(result));
28735 return resultobj;
28736 fail:
28737 return NULL;
28738 }
28739
28740
28741 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28742 PyObject *resultobj = 0;
28743 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28744 int arg2 ;
28745 void *argp1 = 0 ;
28746 int res1 = 0 ;
28747 int val2 ;
28748 int ecode2 = 0 ;
28749 PyObject * obj0 = 0 ;
28750 PyObject * obj1 = 0 ;
28751 char * kwnames[] = {
28752 (char *) "self",(char *) "zoom", NULL
28753 };
28754
28755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28757 if (!SWIG_IsOK(res1)) {
28758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28759 }
28760 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28761 ecode2 = SWIG_AsVal_int(obj1, &val2);
28762 if (!SWIG_IsOK(ecode2)) {
28763 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28764 }
28765 arg2 = static_cast< int >(val2);
28766 {
28767 PyThreadState* __tstate = wxPyBeginAllowThreads();
28768 (arg1)->SetZoomControl(arg2);
28769 wxPyEndAllowThreads(__tstate);
28770 if (PyErr_Occurred()) SWIG_fail;
28771 }
28772 resultobj = SWIG_Py_Void();
28773 return resultobj;
28774 fail:
28775 return NULL;
28776 }
28777
28778
28779 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28780 PyObject *resultobj = 0;
28781 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28782 wxPrintPreview *result = 0 ;
28783 void *argp1 = 0 ;
28784 int res1 = 0 ;
28785 PyObject *swig_obj[1] ;
28786
28787 if (!args) SWIG_fail;
28788 swig_obj[0] = args;
28789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28790 if (!SWIG_IsOK(res1)) {
28791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28792 }
28793 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28794 {
28795 PyThreadState* __tstate = wxPyBeginAllowThreads();
28796 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28797 wxPyEndAllowThreads(__tstate);
28798 if (PyErr_Occurred()) SWIG_fail;
28799 }
28800 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28801 return resultobj;
28802 fail:
28803 return NULL;
28804 }
28805
28806
28807 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28808 PyObject *resultobj = 0;
28809 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28810 void *argp1 = 0 ;
28811 int res1 = 0 ;
28812 PyObject *swig_obj[1] ;
28813
28814 if (!args) SWIG_fail;
28815 swig_obj[0] = args;
28816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28817 if (!SWIG_IsOK(res1)) {
28818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28819 }
28820 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28821 {
28822 PyThreadState* __tstate = wxPyBeginAllowThreads();
28823 (arg1)->OnNext();
28824 wxPyEndAllowThreads(__tstate);
28825 if (PyErr_Occurred()) SWIG_fail;
28826 }
28827 resultobj = SWIG_Py_Void();
28828 return resultobj;
28829 fail:
28830 return NULL;
28831 }
28832
28833
28834 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28835 PyObject *resultobj = 0;
28836 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28837 void *argp1 = 0 ;
28838 int res1 = 0 ;
28839 PyObject *swig_obj[1] ;
28840
28841 if (!args) SWIG_fail;
28842 swig_obj[0] = args;
28843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28844 if (!SWIG_IsOK(res1)) {
28845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28846 }
28847 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28848 {
28849 PyThreadState* __tstate = wxPyBeginAllowThreads();
28850 (arg1)->OnPrevious();
28851 wxPyEndAllowThreads(__tstate);
28852 if (PyErr_Occurred()) SWIG_fail;
28853 }
28854 resultobj = SWIG_Py_Void();
28855 return resultobj;
28856 fail:
28857 return NULL;
28858 }
28859
28860
28861 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28862 PyObject *resultobj = 0;
28863 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28864 void *argp1 = 0 ;
28865 int res1 = 0 ;
28866 PyObject *swig_obj[1] ;
28867
28868 if (!args) SWIG_fail;
28869 swig_obj[0] = args;
28870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28871 if (!SWIG_IsOK(res1)) {
28872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28873 }
28874 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28875 {
28876 PyThreadState* __tstate = wxPyBeginAllowThreads();
28877 (arg1)->OnFirst();
28878 wxPyEndAllowThreads(__tstate);
28879 if (PyErr_Occurred()) SWIG_fail;
28880 }
28881 resultobj = SWIG_Py_Void();
28882 return resultobj;
28883 fail:
28884 return NULL;
28885 }
28886
28887
28888 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28889 PyObject *resultobj = 0;
28890 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28891 void *argp1 = 0 ;
28892 int res1 = 0 ;
28893 PyObject *swig_obj[1] ;
28894
28895 if (!args) SWIG_fail;
28896 swig_obj[0] = args;
28897 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28898 if (!SWIG_IsOK(res1)) {
28899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28900 }
28901 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28902 {
28903 PyThreadState* __tstate = wxPyBeginAllowThreads();
28904 (arg1)->OnLast();
28905 wxPyEndAllowThreads(__tstate);
28906 if (PyErr_Occurred()) SWIG_fail;
28907 }
28908 resultobj = SWIG_Py_Void();
28909 return resultobj;
28910 fail:
28911 return NULL;
28912 }
28913
28914
28915 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28916 PyObject *resultobj = 0;
28917 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28918 void *argp1 = 0 ;
28919 int res1 = 0 ;
28920 PyObject *swig_obj[1] ;
28921
28922 if (!args) SWIG_fail;
28923 swig_obj[0] = args;
28924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28925 if (!SWIG_IsOK(res1)) {
28926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28927 }
28928 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28929 {
28930 PyThreadState* __tstate = wxPyBeginAllowThreads();
28931 (arg1)->OnGoto();
28932 wxPyEndAllowThreads(__tstate);
28933 if (PyErr_Occurred()) SWIG_fail;
28934 }
28935 resultobj = SWIG_Py_Void();
28936 return resultobj;
28937 fail:
28938 return NULL;
28939 }
28940
28941
28942 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28943 PyObject *obj;
28944 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28945 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
28946 return SWIG_Py_Void();
28947 }
28948
28949 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28950 return SWIG_Python_InitShadowInstance(args);
28951 }
28952
28953 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28954 PyObject *resultobj = 0;
28955 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28956 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28957 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
28958 wxPrintPreview *result = 0 ;
28959 int res1 = 0 ;
28960 int res2 = 0 ;
28961 void *argp3 = 0 ;
28962 int res3 = 0 ;
28963
28964 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
28965 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28966 if (!SWIG_IsOK(res1)) {
28967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28968 }
28969 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28970 if (!SWIG_IsOK(res2)) {
28971 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28972 }
28973 if (swig_obj[2]) {
28974 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28975 if (!SWIG_IsOK(res3)) {
28976 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28977 }
28978 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
28979 }
28980 {
28981 if (!wxPyCheckForApp()) SWIG_fail;
28982 PyThreadState* __tstate = wxPyBeginAllowThreads();
28983 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28984 wxPyEndAllowThreads(__tstate);
28985 if (PyErr_Occurred()) SWIG_fail;
28986 }
28987 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28988 return resultobj;
28989 fail:
28990 return NULL;
28991 }
28992
28993
28994 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28995 PyObject *resultobj = 0;
28996 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28997 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28998 wxPrintData *arg3 = (wxPrintData *) 0 ;
28999 wxPrintPreview *result = 0 ;
29000 int res1 = 0 ;
29001 int res2 = 0 ;
29002 void *argp3 = 0 ;
29003 int res3 = 0 ;
29004
29005 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29006 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29007 if (!SWIG_IsOK(res1)) {
29008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29009 }
29010 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29011 if (!SWIG_IsOK(res2)) {
29012 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29013 }
29014 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29015 if (!SWIG_IsOK(res3)) {
29016 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29017 }
29018 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29019 {
29020 if (!wxPyCheckForApp()) SWIG_fail;
29021 PyThreadState* __tstate = wxPyBeginAllowThreads();
29022 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29023 wxPyEndAllowThreads(__tstate);
29024 if (PyErr_Occurred()) SWIG_fail;
29025 }
29026 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29027 return resultobj;
29028 fail:
29029 return NULL;
29030 }
29031
29032
29033 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29034 int argc;
29035 PyObject *argv[4];
29036
29037 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29038 --argc;
29039 if ((argc >= 2) && (argc <= 3)) {
29040 int _v = 0;
29041 if (argc > 2) {
29042 {
29043 void *vptr = 0;
29044 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29045 _v = SWIG_CheckState(res);
29046 }
29047 if (!_v) goto check_1;
29048 }
29049 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29050 }
29051 check_1:
29052
29053 if (argc == 3) {
29054 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29055 }
29056
29057 fail:
29058 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29059 return NULL;
29060 }
29061
29062
29063 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29064 PyObject *resultobj = 0;
29065 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29066 void *argp1 = 0 ;
29067 int res1 = 0 ;
29068 PyObject *swig_obj[1] ;
29069
29070 if (!args) SWIG_fail;
29071 swig_obj[0] = args;
29072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29073 if (!SWIG_IsOK(res1)) {
29074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29075 }
29076 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29077 {
29078 PyThreadState* __tstate = wxPyBeginAllowThreads();
29079 delete arg1;
29080
29081 wxPyEndAllowThreads(__tstate);
29082 if (PyErr_Occurred()) SWIG_fail;
29083 }
29084 resultobj = SWIG_Py_Void();
29085 return resultobj;
29086 fail:
29087 return NULL;
29088 }
29089
29090
29091 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29092 PyObject *resultobj = 0;
29093 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29094 int arg2 ;
29095 bool result;
29096 void *argp1 = 0 ;
29097 int res1 = 0 ;
29098 int val2 ;
29099 int ecode2 = 0 ;
29100 PyObject * obj0 = 0 ;
29101 PyObject * obj1 = 0 ;
29102 char * kwnames[] = {
29103 (char *) "self",(char *) "pageNum", NULL
29104 };
29105
29106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29108 if (!SWIG_IsOK(res1)) {
29109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29110 }
29111 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29112 ecode2 = SWIG_AsVal_int(obj1, &val2);
29113 if (!SWIG_IsOK(ecode2)) {
29114 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29115 }
29116 arg2 = static_cast< int >(val2);
29117 {
29118 PyThreadState* __tstate = wxPyBeginAllowThreads();
29119 result = (bool)(arg1)->SetCurrentPage(arg2);
29120 wxPyEndAllowThreads(__tstate);
29121 if (PyErr_Occurred()) SWIG_fail;
29122 }
29123 {
29124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29125 }
29126 return resultobj;
29127 fail:
29128 return NULL;
29129 }
29130
29131
29132 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29133 PyObject *resultobj = 0;
29134 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29135 int result;
29136 void *argp1 = 0 ;
29137 int res1 = 0 ;
29138 PyObject *swig_obj[1] ;
29139
29140 if (!args) SWIG_fail;
29141 swig_obj[0] = args;
29142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29143 if (!SWIG_IsOK(res1)) {
29144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29145 }
29146 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29147 {
29148 PyThreadState* __tstate = wxPyBeginAllowThreads();
29149 result = (int)(arg1)->GetCurrentPage();
29150 wxPyEndAllowThreads(__tstate);
29151 if (PyErr_Occurred()) SWIG_fail;
29152 }
29153 resultobj = SWIG_From_int(static_cast< int >(result));
29154 return resultobj;
29155 fail:
29156 return NULL;
29157 }
29158
29159
29160 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29161 PyObject *resultobj = 0;
29162 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29163 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29164 void *argp1 = 0 ;
29165 int res1 = 0 ;
29166 int res2 = 0 ;
29167 PyObject * obj0 = 0 ;
29168 PyObject * obj1 = 0 ;
29169 char * kwnames[] = {
29170 (char *) "self",(char *) "printout", NULL
29171 };
29172
29173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29175 if (!SWIG_IsOK(res1)) {
29176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29177 }
29178 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29179 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29180 if (!SWIG_IsOK(res2)) {
29181 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29182 }
29183 {
29184 PyThreadState* __tstate = wxPyBeginAllowThreads();
29185 (arg1)->SetPrintout(arg2);
29186 wxPyEndAllowThreads(__tstate);
29187 if (PyErr_Occurred()) SWIG_fail;
29188 }
29189 resultobj = SWIG_Py_Void();
29190 return resultobj;
29191 fail:
29192 return NULL;
29193 }
29194
29195
29196 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29197 PyObject *resultobj = 0;
29198 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29199 wxPyPrintout *result = 0 ;
29200 void *argp1 = 0 ;
29201 int res1 = 0 ;
29202 PyObject *swig_obj[1] ;
29203
29204 if (!args) SWIG_fail;
29205 swig_obj[0] = args;
29206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29207 if (!SWIG_IsOK(res1)) {
29208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29209 }
29210 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29211 {
29212 PyThreadState* __tstate = wxPyBeginAllowThreads();
29213 result = (wxPyPrintout *)(arg1)->GetPrintout();
29214 wxPyEndAllowThreads(__tstate);
29215 if (PyErr_Occurred()) SWIG_fail;
29216 }
29217 {
29218 resultobj = wxPyMake_wxObject(result, 0);
29219 }
29220 return resultobj;
29221 fail:
29222 return NULL;
29223 }
29224
29225
29226 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29227 PyObject *resultobj = 0;
29228 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29229 wxPyPrintout *result = 0 ;
29230 void *argp1 = 0 ;
29231 int res1 = 0 ;
29232 PyObject *swig_obj[1] ;
29233
29234 if (!args) SWIG_fail;
29235 swig_obj[0] = args;
29236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29237 if (!SWIG_IsOK(res1)) {
29238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29239 }
29240 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29241 {
29242 PyThreadState* __tstate = wxPyBeginAllowThreads();
29243 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29244 wxPyEndAllowThreads(__tstate);
29245 if (PyErr_Occurred()) SWIG_fail;
29246 }
29247 {
29248 resultobj = wxPyMake_wxObject(result, 0);
29249 }
29250 return resultobj;
29251 fail:
29252 return NULL;
29253 }
29254
29255
29256 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29257 PyObject *resultobj = 0;
29258 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29259 wxFrame *arg2 = (wxFrame *) 0 ;
29260 void *argp1 = 0 ;
29261 int res1 = 0 ;
29262 void *argp2 = 0 ;
29263 int res2 = 0 ;
29264 PyObject * obj0 = 0 ;
29265 PyObject * obj1 = 0 ;
29266 char * kwnames[] = {
29267 (char *) "self",(char *) "frame", NULL
29268 };
29269
29270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29272 if (!SWIG_IsOK(res1)) {
29273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29274 }
29275 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29276 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29277 if (!SWIG_IsOK(res2)) {
29278 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29279 }
29280 arg2 = reinterpret_cast< wxFrame * >(argp2);
29281 {
29282 PyThreadState* __tstate = wxPyBeginAllowThreads();
29283 (arg1)->SetFrame(arg2);
29284 wxPyEndAllowThreads(__tstate);
29285 if (PyErr_Occurred()) SWIG_fail;
29286 }
29287 resultobj = SWIG_Py_Void();
29288 return resultobj;
29289 fail:
29290 return NULL;
29291 }
29292
29293
29294 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29295 PyObject *resultobj = 0;
29296 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29297 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29298 void *argp1 = 0 ;
29299 int res1 = 0 ;
29300 void *argp2 = 0 ;
29301 int res2 = 0 ;
29302 PyObject * obj0 = 0 ;
29303 PyObject * obj1 = 0 ;
29304 char * kwnames[] = {
29305 (char *) "self",(char *) "canvas", NULL
29306 };
29307
29308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29310 if (!SWIG_IsOK(res1)) {
29311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29312 }
29313 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29314 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29315 if (!SWIG_IsOK(res2)) {
29316 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29317 }
29318 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29319 {
29320 PyThreadState* __tstate = wxPyBeginAllowThreads();
29321 (arg1)->SetCanvas(arg2);
29322 wxPyEndAllowThreads(__tstate);
29323 if (PyErr_Occurred()) SWIG_fail;
29324 }
29325 resultobj = SWIG_Py_Void();
29326 return resultobj;
29327 fail:
29328 return NULL;
29329 }
29330
29331
29332 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29333 PyObject *resultobj = 0;
29334 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29335 wxFrame *result = 0 ;
29336 void *argp1 = 0 ;
29337 int res1 = 0 ;
29338 PyObject *swig_obj[1] ;
29339
29340 if (!args) SWIG_fail;
29341 swig_obj[0] = args;
29342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29343 if (!SWIG_IsOK(res1)) {
29344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29345 }
29346 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29347 {
29348 PyThreadState* __tstate = wxPyBeginAllowThreads();
29349 result = (wxFrame *)(arg1)->GetFrame();
29350 wxPyEndAllowThreads(__tstate);
29351 if (PyErr_Occurred()) SWIG_fail;
29352 }
29353 {
29354 resultobj = wxPyMake_wxObject(result, 0);
29355 }
29356 return resultobj;
29357 fail:
29358 return NULL;
29359 }
29360
29361
29362 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29363 PyObject *resultobj = 0;
29364 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29365 wxPreviewCanvas *result = 0 ;
29366 void *argp1 = 0 ;
29367 int res1 = 0 ;
29368 PyObject *swig_obj[1] ;
29369
29370 if (!args) SWIG_fail;
29371 swig_obj[0] = args;
29372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29373 if (!SWIG_IsOK(res1)) {
29374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29375 }
29376 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29377 {
29378 PyThreadState* __tstate = wxPyBeginAllowThreads();
29379 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29380 wxPyEndAllowThreads(__tstate);
29381 if (PyErr_Occurred()) SWIG_fail;
29382 }
29383 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29384 return resultobj;
29385 fail:
29386 return NULL;
29387 }
29388
29389
29390 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29391 PyObject *resultobj = 0;
29392 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29393 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29394 wxDC *arg3 = 0 ;
29395 bool result;
29396 void *argp1 = 0 ;
29397 int res1 = 0 ;
29398 void *argp2 = 0 ;
29399 int res2 = 0 ;
29400 void *argp3 = 0 ;
29401 int res3 = 0 ;
29402 PyObject * obj0 = 0 ;
29403 PyObject * obj1 = 0 ;
29404 PyObject * obj2 = 0 ;
29405 char * kwnames[] = {
29406 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29407 };
29408
29409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29411 if (!SWIG_IsOK(res1)) {
29412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29413 }
29414 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29415 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29416 if (!SWIG_IsOK(res2)) {
29417 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29418 }
29419 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29420 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29421 if (!SWIG_IsOK(res3)) {
29422 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29423 }
29424 if (!argp3) {
29425 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29426 }
29427 arg3 = reinterpret_cast< wxDC * >(argp3);
29428 {
29429 PyThreadState* __tstate = wxPyBeginAllowThreads();
29430 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29431 wxPyEndAllowThreads(__tstate);
29432 if (PyErr_Occurred()) SWIG_fail;
29433 }
29434 {
29435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29436 }
29437 return resultobj;
29438 fail:
29439 return NULL;
29440 }
29441
29442
29443 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29444 PyObject *resultobj = 0;
29445 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29446 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29447 wxDC *arg3 = 0 ;
29448 bool result;
29449 void *argp1 = 0 ;
29450 int res1 = 0 ;
29451 void *argp2 = 0 ;
29452 int res2 = 0 ;
29453 void *argp3 = 0 ;
29454 int res3 = 0 ;
29455 PyObject * obj0 = 0 ;
29456 PyObject * obj1 = 0 ;
29457 PyObject * obj2 = 0 ;
29458 char * kwnames[] = {
29459 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29460 };
29461
29462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29464 if (!SWIG_IsOK(res1)) {
29465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29466 }
29467 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29468 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29469 if (!SWIG_IsOK(res2)) {
29470 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29471 }
29472 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29473 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29474 if (!SWIG_IsOK(res3)) {
29475 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29476 }
29477 if (!argp3) {
29478 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29479 }
29480 arg3 = reinterpret_cast< wxDC * >(argp3);
29481 {
29482 PyThreadState* __tstate = wxPyBeginAllowThreads();
29483 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29484 wxPyEndAllowThreads(__tstate);
29485 if (PyErr_Occurred()) SWIG_fail;
29486 }
29487 {
29488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29489 }
29490 return resultobj;
29491 fail:
29492 return NULL;
29493 }
29494
29495
29496 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29497 PyObject *resultobj = 0;
29498 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29499 int arg2 ;
29500 bool result;
29501 void *argp1 = 0 ;
29502 int res1 = 0 ;
29503 int val2 ;
29504 int ecode2 = 0 ;
29505 PyObject * obj0 = 0 ;
29506 PyObject * obj1 = 0 ;
29507 char * kwnames[] = {
29508 (char *) "self",(char *) "pageNum", NULL
29509 };
29510
29511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29513 if (!SWIG_IsOK(res1)) {
29514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29515 }
29516 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29517 ecode2 = SWIG_AsVal_int(obj1, &val2);
29518 if (!SWIG_IsOK(ecode2)) {
29519 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29520 }
29521 arg2 = static_cast< int >(val2);
29522 {
29523 PyThreadState* __tstate = wxPyBeginAllowThreads();
29524 result = (bool)(arg1)->RenderPage(arg2);
29525 wxPyEndAllowThreads(__tstate);
29526 if (PyErr_Occurred()) SWIG_fail;
29527 }
29528 {
29529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29530 }
29531 return resultobj;
29532 fail:
29533 return NULL;
29534 }
29535
29536
29537 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29538 PyObject *resultobj = 0;
29539 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29540 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29541 void *argp1 = 0 ;
29542 int res1 = 0 ;
29543 void *argp2 = 0 ;
29544 int res2 = 0 ;
29545 PyObject * obj0 = 0 ;
29546 PyObject * obj1 = 0 ;
29547 char * kwnames[] = {
29548 (char *) "self",(char *) "canvas", NULL
29549 };
29550
29551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29553 if (!SWIG_IsOK(res1)) {
29554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29555 }
29556 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29557 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29558 if (!SWIG_IsOK(res2)) {
29559 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29560 }
29561 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29562 {
29563 PyThreadState* __tstate = wxPyBeginAllowThreads();
29564 (arg1)->AdjustScrollbars(arg2);
29565 wxPyEndAllowThreads(__tstate);
29566 if (PyErr_Occurred()) SWIG_fail;
29567 }
29568 resultobj = SWIG_Py_Void();
29569 return resultobj;
29570 fail:
29571 return NULL;
29572 }
29573
29574
29575 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29576 PyObject *resultobj = 0;
29577 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29578 wxPrintDialogData *result = 0 ;
29579 void *argp1 = 0 ;
29580 int res1 = 0 ;
29581 PyObject *swig_obj[1] ;
29582
29583 if (!args) SWIG_fail;
29584 swig_obj[0] = args;
29585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29586 if (!SWIG_IsOK(res1)) {
29587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29588 }
29589 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29590 {
29591 PyThreadState* __tstate = wxPyBeginAllowThreads();
29592 {
29593 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29594 result = (wxPrintDialogData *) &_result_ref;
29595 }
29596 wxPyEndAllowThreads(__tstate);
29597 if (PyErr_Occurred()) SWIG_fail;
29598 }
29599 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29600 return resultobj;
29601 fail:
29602 return NULL;
29603 }
29604
29605
29606 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29607 PyObject *resultobj = 0;
29608 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29609 int arg2 ;
29610 void *argp1 = 0 ;
29611 int res1 = 0 ;
29612 int val2 ;
29613 int ecode2 = 0 ;
29614 PyObject * obj0 = 0 ;
29615 PyObject * obj1 = 0 ;
29616 char * kwnames[] = {
29617 (char *) "self",(char *) "percent", NULL
29618 };
29619
29620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29622 if (!SWIG_IsOK(res1)) {
29623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29624 }
29625 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29626 ecode2 = SWIG_AsVal_int(obj1, &val2);
29627 if (!SWIG_IsOK(ecode2)) {
29628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29629 }
29630 arg2 = static_cast< int >(val2);
29631 {
29632 PyThreadState* __tstate = wxPyBeginAllowThreads();
29633 (arg1)->SetZoom(arg2);
29634 wxPyEndAllowThreads(__tstate);
29635 if (PyErr_Occurred()) SWIG_fail;
29636 }
29637 resultobj = SWIG_Py_Void();
29638 return resultobj;
29639 fail:
29640 return NULL;
29641 }
29642
29643
29644 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29645 PyObject *resultobj = 0;
29646 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29647 int result;
29648 void *argp1 = 0 ;
29649 int res1 = 0 ;
29650 PyObject *swig_obj[1] ;
29651
29652 if (!args) SWIG_fail;
29653 swig_obj[0] = args;
29654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29655 if (!SWIG_IsOK(res1)) {
29656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29657 }
29658 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29659 {
29660 PyThreadState* __tstate = wxPyBeginAllowThreads();
29661 result = (int)(arg1)->GetZoom();
29662 wxPyEndAllowThreads(__tstate);
29663 if (PyErr_Occurred()) SWIG_fail;
29664 }
29665 resultobj = SWIG_From_int(static_cast< int >(result));
29666 return resultobj;
29667 fail:
29668 return NULL;
29669 }
29670
29671
29672 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29673 PyObject *resultobj = 0;
29674 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29675 int result;
29676 void *argp1 = 0 ;
29677 int res1 = 0 ;
29678 PyObject *swig_obj[1] ;
29679
29680 if (!args) SWIG_fail;
29681 swig_obj[0] = args;
29682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29683 if (!SWIG_IsOK(res1)) {
29684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29685 }
29686 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29687 {
29688 PyThreadState* __tstate = wxPyBeginAllowThreads();
29689 result = (int)(arg1)->GetMaxPage();
29690 wxPyEndAllowThreads(__tstate);
29691 if (PyErr_Occurred()) SWIG_fail;
29692 }
29693 resultobj = SWIG_From_int(static_cast< int >(result));
29694 return resultobj;
29695 fail:
29696 return NULL;
29697 }
29698
29699
29700 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29701 PyObject *resultobj = 0;
29702 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29703 int result;
29704 void *argp1 = 0 ;
29705 int res1 = 0 ;
29706 PyObject *swig_obj[1] ;
29707
29708 if (!args) SWIG_fail;
29709 swig_obj[0] = args;
29710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29711 if (!SWIG_IsOK(res1)) {
29712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29713 }
29714 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29715 {
29716 PyThreadState* __tstate = wxPyBeginAllowThreads();
29717 result = (int)(arg1)->GetMinPage();
29718 wxPyEndAllowThreads(__tstate);
29719 if (PyErr_Occurred()) SWIG_fail;
29720 }
29721 resultobj = SWIG_From_int(static_cast< int >(result));
29722 return resultobj;
29723 fail:
29724 return NULL;
29725 }
29726
29727
29728 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29729 PyObject *resultobj = 0;
29730 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29731 bool result;
29732 void *argp1 = 0 ;
29733 int res1 = 0 ;
29734 PyObject *swig_obj[1] ;
29735
29736 if (!args) SWIG_fail;
29737 swig_obj[0] = args;
29738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29739 if (!SWIG_IsOK(res1)) {
29740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29741 }
29742 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29743 {
29744 PyThreadState* __tstate = wxPyBeginAllowThreads();
29745 result = (bool)(arg1)->Ok();
29746 wxPyEndAllowThreads(__tstate);
29747 if (PyErr_Occurred()) SWIG_fail;
29748 }
29749 {
29750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29751 }
29752 return resultobj;
29753 fail:
29754 return NULL;
29755 }
29756
29757
29758 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29759 PyObject *resultobj = 0;
29760 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29761 bool arg2 ;
29762 void *argp1 = 0 ;
29763 int res1 = 0 ;
29764 bool val2 ;
29765 int ecode2 = 0 ;
29766 PyObject * obj0 = 0 ;
29767 PyObject * obj1 = 0 ;
29768 char * kwnames[] = {
29769 (char *) "self",(char *) "ok", NULL
29770 };
29771
29772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29774 if (!SWIG_IsOK(res1)) {
29775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29776 }
29777 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29778 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29779 if (!SWIG_IsOK(ecode2)) {
29780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29781 }
29782 arg2 = static_cast< bool >(val2);
29783 {
29784 PyThreadState* __tstate = wxPyBeginAllowThreads();
29785 (arg1)->SetOk(arg2);
29786 wxPyEndAllowThreads(__tstate);
29787 if (PyErr_Occurred()) SWIG_fail;
29788 }
29789 resultobj = SWIG_Py_Void();
29790 return resultobj;
29791 fail:
29792 return NULL;
29793 }
29794
29795
29796 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29797 PyObject *resultobj = 0;
29798 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29799 bool arg2 ;
29800 bool result;
29801 void *argp1 = 0 ;
29802 int res1 = 0 ;
29803 bool val2 ;
29804 int ecode2 = 0 ;
29805 PyObject * obj0 = 0 ;
29806 PyObject * obj1 = 0 ;
29807 char * kwnames[] = {
29808 (char *) "self",(char *) "interactive", NULL
29809 };
29810
29811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
29812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29813 if (!SWIG_IsOK(res1)) {
29814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29815 }
29816 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29817 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29818 if (!SWIG_IsOK(ecode2)) {
29819 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29820 }
29821 arg2 = static_cast< bool >(val2);
29822 {
29823 PyThreadState* __tstate = wxPyBeginAllowThreads();
29824 result = (bool)(arg1)->Print(arg2);
29825 wxPyEndAllowThreads(__tstate);
29826 if (PyErr_Occurred()) SWIG_fail;
29827 }
29828 {
29829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29830 }
29831 return resultobj;
29832 fail:
29833 return NULL;
29834 }
29835
29836
29837 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29838 PyObject *resultobj = 0;
29839 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29840 void *argp1 = 0 ;
29841 int res1 = 0 ;
29842 PyObject *swig_obj[1] ;
29843
29844 if (!args) SWIG_fail;
29845 swig_obj[0] = args;
29846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29847 if (!SWIG_IsOK(res1)) {
29848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29849 }
29850 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29851 {
29852 PyThreadState* __tstate = wxPyBeginAllowThreads();
29853 (arg1)->DetermineScaling();
29854 wxPyEndAllowThreads(__tstate);
29855 if (PyErr_Occurred()) SWIG_fail;
29856 }
29857 resultobj = SWIG_Py_Void();
29858 return resultobj;
29859 fail:
29860 return NULL;
29861 }
29862
29863
29864 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29865 PyObject *obj;
29866 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29867 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
29868 return SWIG_Py_Void();
29869 }
29870
29871 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29872 return SWIG_Python_InitShadowInstance(args);
29873 }
29874
29875 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29876 PyObject *resultobj = 0;
29877 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29878 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29879 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29880 wxPyPrintPreview *result = 0 ;
29881 int res1 = 0 ;
29882 int res2 = 0 ;
29883 void *argp3 = 0 ;
29884 int res3 = 0 ;
29885
29886 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29887 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29888 if (!SWIG_IsOK(res1)) {
29889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29890 }
29891 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29892 if (!SWIG_IsOK(res2)) {
29893 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29894 }
29895 if (swig_obj[2]) {
29896 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29897 if (!SWIG_IsOK(res3)) {
29898 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29899 }
29900 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29901 }
29902 {
29903 if (!wxPyCheckForApp()) SWIG_fail;
29904 PyThreadState* __tstate = wxPyBeginAllowThreads();
29905 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29906 wxPyEndAllowThreads(__tstate);
29907 if (PyErr_Occurred()) SWIG_fail;
29908 }
29909 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29910 return resultobj;
29911 fail:
29912 return NULL;
29913 }
29914
29915
29916 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29917 PyObject *resultobj = 0;
29918 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29919 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29920 wxPrintData *arg3 = (wxPrintData *) 0 ;
29921 wxPyPrintPreview *result = 0 ;
29922 int res1 = 0 ;
29923 int res2 = 0 ;
29924 void *argp3 = 0 ;
29925 int res3 = 0 ;
29926
29927 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29928 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29929 if (!SWIG_IsOK(res1)) {
29930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29931 }
29932 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29933 if (!SWIG_IsOK(res2)) {
29934 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29935 }
29936 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29937 if (!SWIG_IsOK(res3)) {
29938 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29939 }
29940 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29941 {
29942 if (!wxPyCheckForApp()) SWIG_fail;
29943 PyThreadState* __tstate = wxPyBeginAllowThreads();
29944 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29945 wxPyEndAllowThreads(__tstate);
29946 if (PyErr_Occurred()) SWIG_fail;
29947 }
29948 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29949 return resultobj;
29950 fail:
29951 return NULL;
29952 }
29953
29954
29955 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
29956 int argc;
29957 PyObject *argv[4];
29958
29959 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
29960 --argc;
29961 if ((argc >= 2) && (argc <= 3)) {
29962 int _v = 0;
29963 if (argc > 2) {
29964 {
29965 void *vptr = 0;
29966 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29967 _v = SWIG_CheckState(res);
29968 }
29969 if (!_v) goto check_1;
29970 }
29971 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
29972 }
29973 check_1:
29974
29975 if (argc == 3) {
29976 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
29977 }
29978
29979 fail:
29980 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
29981 return NULL;
29982 }
29983
29984
29985 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29986 PyObject *resultobj = 0;
29987 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
29988 PyObject *arg2 = (PyObject *) 0 ;
29989 PyObject *arg3 = (PyObject *) 0 ;
29990 void *argp1 = 0 ;
29991 int res1 = 0 ;
29992 PyObject * obj0 = 0 ;
29993 PyObject * obj1 = 0 ;
29994 PyObject * obj2 = 0 ;
29995 char * kwnames[] = {
29996 (char *) "self",(char *) "self",(char *) "_class", NULL
29997 };
29998
29999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30001 if (!SWIG_IsOK(res1)) {
30002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30003 }
30004 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30005 arg2 = obj1;
30006 arg3 = obj2;
30007 {
30008 PyThreadState* __tstate = wxPyBeginAllowThreads();
30009 (arg1)->_setCallbackInfo(arg2,arg3);
30010 wxPyEndAllowThreads(__tstate);
30011 if (PyErr_Occurred()) SWIG_fail;
30012 }
30013 resultobj = SWIG_Py_Void();
30014 return resultobj;
30015 fail:
30016 return NULL;
30017 }
30018
30019
30020 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30021 PyObject *obj;
30022 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30023 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30024 return SWIG_Py_Void();
30025 }
30026
30027 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30028 return SWIG_Python_InitShadowInstance(args);
30029 }
30030
30031 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30032 PyObject *resultobj = 0;
30033 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30034 wxFrame *arg2 = (wxFrame *) 0 ;
30035 wxString *arg3 = 0 ;
30036 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30037 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30038 wxSize const &arg5_defvalue = wxDefaultSize ;
30039 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30040 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30041 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30042 wxString *arg7 = (wxString *) &arg7_defvalue ;
30043 wxPyPreviewFrame *result = 0 ;
30044 void *argp1 = 0 ;
30045 int res1 = 0 ;
30046 void *argp2 = 0 ;
30047 int res2 = 0 ;
30048 bool temp3 = false ;
30049 wxPoint temp4 ;
30050 wxSize temp5 ;
30051 long val6 ;
30052 int ecode6 = 0 ;
30053 bool temp7 = false ;
30054 PyObject * obj0 = 0 ;
30055 PyObject * obj1 = 0 ;
30056 PyObject * obj2 = 0 ;
30057 PyObject * obj3 = 0 ;
30058 PyObject * obj4 = 0 ;
30059 PyObject * obj5 = 0 ;
30060 PyObject * obj6 = 0 ;
30061 char * kwnames[] = {
30062 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30063 };
30064
30065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30067 if (!SWIG_IsOK(res1)) {
30068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30069 }
30070 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30071 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30072 if (!SWIG_IsOK(res2)) {
30073 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30074 }
30075 arg2 = reinterpret_cast< wxFrame * >(argp2);
30076 {
30077 arg3 = wxString_in_helper(obj2);
30078 if (arg3 == NULL) SWIG_fail;
30079 temp3 = true;
30080 }
30081 if (obj3) {
30082 {
30083 arg4 = &temp4;
30084 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30085 }
30086 }
30087 if (obj4) {
30088 {
30089 arg5 = &temp5;
30090 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30091 }
30092 }
30093 if (obj5) {
30094 ecode6 = SWIG_AsVal_long(obj5, &val6);
30095 if (!SWIG_IsOK(ecode6)) {
30096 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30097 }
30098 arg6 = static_cast< long >(val6);
30099 }
30100 if (obj6) {
30101 {
30102 arg7 = wxString_in_helper(obj6);
30103 if (arg7 == NULL) SWIG_fail;
30104 temp7 = true;
30105 }
30106 }
30107 {
30108 if (!wxPyCheckForApp()) SWIG_fail;
30109 PyThreadState* __tstate = wxPyBeginAllowThreads();
30110 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30111 wxPyEndAllowThreads(__tstate);
30112 if (PyErr_Occurred()) SWIG_fail;
30113 }
30114 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30115 {
30116 if (temp3)
30117 delete arg3;
30118 }
30119 {
30120 if (temp7)
30121 delete arg7;
30122 }
30123 return resultobj;
30124 fail:
30125 {
30126 if (temp3)
30127 delete arg3;
30128 }
30129 {
30130 if (temp7)
30131 delete arg7;
30132 }
30133 return NULL;
30134 }
30135
30136
30137 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30138 PyObject *resultobj = 0;
30139 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30140 PyObject *arg2 = (PyObject *) 0 ;
30141 PyObject *arg3 = (PyObject *) 0 ;
30142 void *argp1 = 0 ;
30143 int res1 = 0 ;
30144 PyObject * obj0 = 0 ;
30145 PyObject * obj1 = 0 ;
30146 PyObject * obj2 = 0 ;
30147 char * kwnames[] = {
30148 (char *) "self",(char *) "self",(char *) "_class", NULL
30149 };
30150
30151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30153 if (!SWIG_IsOK(res1)) {
30154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30155 }
30156 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30157 arg2 = obj1;
30158 arg3 = obj2;
30159 {
30160 PyThreadState* __tstate = wxPyBeginAllowThreads();
30161 (arg1)->_setCallbackInfo(arg2,arg3);
30162 wxPyEndAllowThreads(__tstate);
30163 if (PyErr_Occurred()) SWIG_fail;
30164 }
30165 resultobj = SWIG_Py_Void();
30166 return resultobj;
30167 fail:
30168 return NULL;
30169 }
30170
30171
30172 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30173 PyObject *resultobj = 0;
30174 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30175 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30176 void *argp1 = 0 ;
30177 int res1 = 0 ;
30178 void *argp2 = 0 ;
30179 int res2 = 0 ;
30180 PyObject * obj0 = 0 ;
30181 PyObject * obj1 = 0 ;
30182 char * kwnames[] = {
30183 (char *) "self",(char *) "canvas", NULL
30184 };
30185
30186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30188 if (!SWIG_IsOK(res1)) {
30189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30190 }
30191 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30192 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30193 if (!SWIG_IsOK(res2)) {
30194 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30195 }
30196 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30197 {
30198 PyThreadState* __tstate = wxPyBeginAllowThreads();
30199 (arg1)->SetPreviewCanvas(arg2);
30200 wxPyEndAllowThreads(__tstate);
30201 if (PyErr_Occurred()) SWIG_fail;
30202 }
30203 resultobj = SWIG_Py_Void();
30204 return resultobj;
30205 fail:
30206 return NULL;
30207 }
30208
30209
30210 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30211 PyObject *resultobj = 0;
30212 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30213 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30214 void *argp1 = 0 ;
30215 int res1 = 0 ;
30216 void *argp2 = 0 ;
30217 int res2 = 0 ;
30218 PyObject * obj0 = 0 ;
30219 PyObject * obj1 = 0 ;
30220 char * kwnames[] = {
30221 (char *) "self",(char *) "bar", NULL
30222 };
30223
30224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30226 if (!SWIG_IsOK(res1)) {
30227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30228 }
30229 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30230 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30231 if (!SWIG_IsOK(res2)) {
30232 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30233 }
30234 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30235 {
30236 PyThreadState* __tstate = wxPyBeginAllowThreads();
30237 (arg1)->SetControlBar(arg2);
30238 wxPyEndAllowThreads(__tstate);
30239 if (PyErr_Occurred()) SWIG_fail;
30240 }
30241 resultobj = SWIG_Py_Void();
30242 return resultobj;
30243 fail:
30244 return NULL;
30245 }
30246
30247
30248 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30249 PyObject *resultobj = 0;
30250 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30251 void *argp1 = 0 ;
30252 int res1 = 0 ;
30253 PyObject *swig_obj[1] ;
30254
30255 if (!args) SWIG_fail;
30256 swig_obj[0] = args;
30257 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30258 if (!SWIG_IsOK(res1)) {
30259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30260 }
30261 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30262 {
30263 PyThreadState* __tstate = wxPyBeginAllowThreads();
30264 (arg1)->Initialize();
30265 wxPyEndAllowThreads(__tstate);
30266 if (PyErr_Occurred()) SWIG_fail;
30267 }
30268 resultobj = SWIG_Py_Void();
30269 return resultobj;
30270 fail:
30271 return NULL;
30272 }
30273
30274
30275 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30276 PyObject *resultobj = 0;
30277 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30278 void *argp1 = 0 ;
30279 int res1 = 0 ;
30280 PyObject *swig_obj[1] ;
30281
30282 if (!args) SWIG_fail;
30283 swig_obj[0] = args;
30284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30285 if (!SWIG_IsOK(res1)) {
30286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30287 }
30288 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30289 {
30290 PyThreadState* __tstate = wxPyBeginAllowThreads();
30291 (arg1)->CreateCanvas();
30292 wxPyEndAllowThreads(__tstate);
30293 if (PyErr_Occurred()) SWIG_fail;
30294 }
30295 resultobj = SWIG_Py_Void();
30296 return resultobj;
30297 fail:
30298 return NULL;
30299 }
30300
30301
30302 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30303 PyObject *resultobj = 0;
30304 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30305 void *argp1 = 0 ;
30306 int res1 = 0 ;
30307 PyObject *swig_obj[1] ;
30308
30309 if (!args) SWIG_fail;
30310 swig_obj[0] = args;
30311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30312 if (!SWIG_IsOK(res1)) {
30313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30314 }
30315 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30316 {
30317 PyThreadState* __tstate = wxPyBeginAllowThreads();
30318 (arg1)->CreateControlBar();
30319 wxPyEndAllowThreads(__tstate);
30320 if (PyErr_Occurred()) SWIG_fail;
30321 }
30322 resultobj = SWIG_Py_Void();
30323 return resultobj;
30324 fail:
30325 return NULL;
30326 }
30327
30328
30329 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30330 PyObject *obj;
30331 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30332 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30333 return SWIG_Py_Void();
30334 }
30335
30336 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30337 return SWIG_Python_InitShadowInstance(args);
30338 }
30339
30340 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30341 PyObject *resultobj = 0;
30342 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30343 long arg2 ;
30344 wxWindow *arg3 = (wxWindow *) 0 ;
30345 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30346 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30347 wxSize const &arg5_defvalue = wxDefaultSize ;
30348 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30349 long arg6 = (long) 0 ;
30350 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30351 wxString *arg7 = (wxString *) &arg7_defvalue ;
30352 wxPyPreviewControlBar *result = 0 ;
30353 void *argp1 = 0 ;
30354 int res1 = 0 ;
30355 long val2 ;
30356 int ecode2 = 0 ;
30357 void *argp3 = 0 ;
30358 int res3 = 0 ;
30359 wxPoint temp4 ;
30360 wxSize temp5 ;
30361 long val6 ;
30362 int ecode6 = 0 ;
30363 bool temp7 = false ;
30364 PyObject * obj0 = 0 ;
30365 PyObject * obj1 = 0 ;
30366 PyObject * obj2 = 0 ;
30367 PyObject * obj3 = 0 ;
30368 PyObject * obj4 = 0 ;
30369 PyObject * obj5 = 0 ;
30370 PyObject * obj6 = 0 ;
30371 char * kwnames[] = {
30372 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30373 };
30374
30375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30377 if (!SWIG_IsOK(res1)) {
30378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30379 }
30380 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30381 ecode2 = SWIG_AsVal_long(obj1, &val2);
30382 if (!SWIG_IsOK(ecode2)) {
30383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30384 }
30385 arg2 = static_cast< long >(val2);
30386 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30387 if (!SWIG_IsOK(res3)) {
30388 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30389 }
30390 arg3 = reinterpret_cast< wxWindow * >(argp3);
30391 if (obj3) {
30392 {
30393 arg4 = &temp4;
30394 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30395 }
30396 }
30397 if (obj4) {
30398 {
30399 arg5 = &temp5;
30400 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30401 }
30402 }
30403 if (obj5) {
30404 ecode6 = SWIG_AsVal_long(obj5, &val6);
30405 if (!SWIG_IsOK(ecode6)) {
30406 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30407 }
30408 arg6 = static_cast< long >(val6);
30409 }
30410 if (obj6) {
30411 {
30412 arg7 = wxString_in_helper(obj6);
30413 if (arg7 == NULL) SWIG_fail;
30414 temp7 = true;
30415 }
30416 }
30417 {
30418 if (!wxPyCheckForApp()) SWIG_fail;
30419 PyThreadState* __tstate = wxPyBeginAllowThreads();
30420 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30421 wxPyEndAllowThreads(__tstate);
30422 if (PyErr_Occurred()) SWIG_fail;
30423 }
30424 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30425 {
30426 if (temp7)
30427 delete arg7;
30428 }
30429 return resultobj;
30430 fail:
30431 {
30432 if (temp7)
30433 delete arg7;
30434 }
30435 return NULL;
30436 }
30437
30438
30439 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30440 PyObject *resultobj = 0;
30441 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30442 PyObject *arg2 = (PyObject *) 0 ;
30443 PyObject *arg3 = (PyObject *) 0 ;
30444 void *argp1 = 0 ;
30445 int res1 = 0 ;
30446 PyObject * obj0 = 0 ;
30447 PyObject * obj1 = 0 ;
30448 PyObject * obj2 = 0 ;
30449 char * kwnames[] = {
30450 (char *) "self",(char *) "self",(char *) "_class", NULL
30451 };
30452
30453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30455 if (!SWIG_IsOK(res1)) {
30456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30457 }
30458 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30459 arg2 = obj1;
30460 arg3 = obj2;
30461 {
30462 PyThreadState* __tstate = wxPyBeginAllowThreads();
30463 (arg1)->_setCallbackInfo(arg2,arg3);
30464 wxPyEndAllowThreads(__tstate);
30465 if (PyErr_Occurred()) SWIG_fail;
30466 }
30467 resultobj = SWIG_Py_Void();
30468 return resultobj;
30469 fail:
30470 return NULL;
30471 }
30472
30473
30474 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30475 PyObject *resultobj = 0;
30476 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30477 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30478 void *argp1 = 0 ;
30479 int res1 = 0 ;
30480 void *argp2 = 0 ;
30481 int res2 = 0 ;
30482 PyObject * obj0 = 0 ;
30483 PyObject * obj1 = 0 ;
30484 char * kwnames[] = {
30485 (char *) "self",(char *) "preview", NULL
30486 };
30487
30488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30490 if (!SWIG_IsOK(res1)) {
30491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30492 }
30493 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30494 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30495 if (!SWIG_IsOK(res2)) {
30496 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30497 }
30498 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30499 {
30500 PyThreadState* __tstate = wxPyBeginAllowThreads();
30501 (arg1)->SetPrintPreview(arg2);
30502 wxPyEndAllowThreads(__tstate);
30503 if (PyErr_Occurred()) SWIG_fail;
30504 }
30505 resultobj = SWIG_Py_Void();
30506 return resultobj;
30507 fail:
30508 return NULL;
30509 }
30510
30511
30512 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30513 PyObject *resultobj = 0;
30514 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30515 void *argp1 = 0 ;
30516 int res1 = 0 ;
30517 PyObject *swig_obj[1] ;
30518
30519 if (!args) SWIG_fail;
30520 swig_obj[0] = args;
30521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30522 if (!SWIG_IsOK(res1)) {
30523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30524 }
30525 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30526 {
30527 PyThreadState* __tstate = wxPyBeginAllowThreads();
30528 (arg1)->CreateButtons();
30529 wxPyEndAllowThreads(__tstate);
30530 if (PyErr_Occurred()) SWIG_fail;
30531 }
30532 resultobj = SWIG_Py_Void();
30533 return resultobj;
30534 fail:
30535 return NULL;
30536 }
30537
30538
30539 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30540 PyObject *resultobj = 0;
30541 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30542 int arg2 ;
30543 void *argp1 = 0 ;
30544 int res1 = 0 ;
30545 int val2 ;
30546 int ecode2 = 0 ;
30547 PyObject * obj0 = 0 ;
30548 PyObject * obj1 = 0 ;
30549 char * kwnames[] = {
30550 (char *) "self",(char *) "zoom", NULL
30551 };
30552
30553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30554 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30555 if (!SWIG_IsOK(res1)) {
30556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30557 }
30558 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30559 ecode2 = SWIG_AsVal_int(obj1, &val2);
30560 if (!SWIG_IsOK(ecode2)) {
30561 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30562 }
30563 arg2 = static_cast< int >(val2);
30564 {
30565 PyThreadState* __tstate = wxPyBeginAllowThreads();
30566 (arg1)->SetZoomControl(arg2);
30567 wxPyEndAllowThreads(__tstate);
30568 if (PyErr_Occurred()) SWIG_fail;
30569 }
30570 resultobj = SWIG_Py_Void();
30571 return resultobj;
30572 fail:
30573 return NULL;
30574 }
30575
30576
30577 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30578 PyObject *obj;
30579 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30580 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30581 return SWIG_Py_Void();
30582 }
30583
30584 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30585 return SWIG_Python_InitShadowInstance(args);
30586 }
30587
30588 static PyMethodDef SwigMethods[] = {
30589 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30590 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30591 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30592 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30593 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30594 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30595 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30596 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30597 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30598 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30599 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30600 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30601 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30602 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30603 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30604 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30605 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30606 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30607 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30608 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30609 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30610 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30611 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30612 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30613 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30614 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30615 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30616 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30617 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
30618 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30619 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30620 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
30621 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
30622 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
30623 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
30624 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
30625 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
30626 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30627 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
30628 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30629 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30630 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30631 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
30632 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
30633 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
30634 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30635 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
30636 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
30637 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
30638 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
30639 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30640 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30641 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
30642 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
30643 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30644 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
30645 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
30646 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
30647 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30648 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30649 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
30650 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30651 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30652 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30653 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30654 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30655 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
30656 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
30657 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30658 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
30659 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30660 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30661 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30662 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30663 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
30664 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
30665 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
30666 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
30667 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30668 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
30669 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
30670 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
30671 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
30672 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
30673 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
30674 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30675 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30676 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30677 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30678 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
30679 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30680 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30681 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
30682 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
30683 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30684 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
30685 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30686 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
30687 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
30688 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30689 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
30690 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
30691 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
30692 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
30693 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30694 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30695 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30696 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
30697 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
30698 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
30699 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30700 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
30701 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30702 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
30703 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
30704 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30705 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30706 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30707 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30708 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30709 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30710 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30711 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30712 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30713 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
30714 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30715 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
30716 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
30717 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30718 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
30719 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30720 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30721 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
30722 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
30723 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
30724 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30725 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30726 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30727 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30728 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30729 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30730 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
30731 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30732 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30733 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30734 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
30735 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30736 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
30737 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
30738 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
30739 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
30740 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
30741 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30742 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
30743 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
30744 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
30745 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30746 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
30747 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
30748 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30749 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30750 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30751 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30752 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30753 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
30754 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
30755 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
30756 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30757 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
30758 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30759 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30760 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30761 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30762 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30763 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30764 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30765 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
30766 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30767 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
30768 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30769 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30770 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30771 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
30772 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30773 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30774 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30775 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
30776 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30777 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
30778 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
30779 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
30780 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30781 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
30782 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
30783 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
30784 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
30785 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
30786 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
30787 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
30788 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
30789 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30790 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
30791 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
30792 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30793 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
30794 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30795 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
30796 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30797 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
30798 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30799 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
30800 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
30801 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
30802 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30803 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30804 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
30805 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30806 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
30807 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
30808 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
30809 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30810 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
30811 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30812 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
30813 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
30814 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30815 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
30816 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30817 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
30818 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
30819 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
30820 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
30821 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30822 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30823 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30824 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
30825 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
30826 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30827 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
30828 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30829 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
30830 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
30831 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
30832 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30833 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
30834 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30835 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
30836 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
30837 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
30838 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
30839 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30840 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
30841 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
30842 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
30843 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
30844 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30845 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
30846 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30847 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30848 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
30849 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
30850 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
30851 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
30852 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
30853 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30854 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
30855 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
30856 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
30857 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
30858 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30859 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
30860 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
30861 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
30862 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30863 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
30864 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
30865 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30866 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
30867 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30868 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30869 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
30870 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
30871 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
30872 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
30873 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30874 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
30875 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
30876 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30877 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
30878 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
30879 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30880 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
30881 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30882 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
30883 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
30884 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
30885 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
30886 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
30887 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30888 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
30889 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30890 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
30891 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30892 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
30893 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
30894 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30895 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
30896 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30897 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30898 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30899 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
30900 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
30901 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
30902 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
30903 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
30904 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30905 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
30906 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
30907 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
30908 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30909 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
30910 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
30911 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
30912 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
30913 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30914 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
30915 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
30916 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
30917 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
30918 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
30919 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
30920 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30921 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
30922 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30923 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30924 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
30925 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
30926 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30927 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
30928 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
30929 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
30930 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30931 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30932 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
30933 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
30934 { (char *)"DirDialog_GetStyle", (PyCFunction)_wrap_DirDialog_GetStyle, METH_O, NULL},
30935 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30936 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30937 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
30938 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
30939 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30940 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30941 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30942 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
30943 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
30944 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
30945 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30946 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
30947 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
30948 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
30949 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
30950 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
30951 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
30952 { (char *)"FileDialog_GetStyle", (PyCFunction)_wrap_FileDialog_GetStyle, METH_O, NULL},
30953 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
30954 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
30955 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
30956 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
30957 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
30958 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30959 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
30960 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
30961 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
30962 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
30963 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30964 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
30965 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
30966 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30967 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
30968 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
30969 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30970 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
30971 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
30972 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
30973 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
30974 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30975 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
30976 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
30977 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
30978 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
30979 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
30980 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
30981 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
30982 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
30983 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
30984 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
30985 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
30986 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
30987 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
30988 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30989 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
30990 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
30991 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30992 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
30993 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
30994 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30995 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
30996 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
30997 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
30998 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30999 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31000 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31001 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31002 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31003 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31004 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31005 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31006 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31007 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31008 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31009 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31010 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31011 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
31012 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31013 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31014 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31015 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
31016 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
31017 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
31018 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31019 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31020 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31021 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
31022 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31023 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31024 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31025 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
31026 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
31027 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31028 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
31029 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31030 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
31031 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31032 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
31033 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
31034 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31035 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31036 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31037 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31038 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31039 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31040 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31041 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31042 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31043 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
31044 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_MDIParentFrame_GetWindowMenu, METH_O, NULL},
31045 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31046 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31047 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31048 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31049 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31050 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31051 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31052 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31053 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31054 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31055 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31056 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31057 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31058 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31059 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31060 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31061 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31062 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31063 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31064 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31065 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31066 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31067 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31068 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31069 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31070 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31071 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31072 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31073 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31074 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31075 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31076 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31077 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31078 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31079 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31080 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31081 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31082 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31083 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31084 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31085 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31086 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31087 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31088 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31089 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31090 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31091 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31092 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31093 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31094 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31095 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31096 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31097 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31098 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31099 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31100 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31101 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31102 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31103 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31104 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31105 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31106 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31107 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31108 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31109 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31110 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31111 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31112 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31113 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31114 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31115 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31116 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31117 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31118 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31119 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31120 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31121 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31122 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31123 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31124 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31125 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31126 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31127 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31128 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31129 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31130 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31131 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31132 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31133 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31134 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31135 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31136 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31137 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31138 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31139 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31140 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31141 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31142 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31143 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31144 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31145 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31146 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31147 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31148 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31149 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31150 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31151 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31152 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31153 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31154 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31155 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31156 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31157 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31158 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31159 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31160 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31161 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31162 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31163 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31164 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31165 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31166 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
31167 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31168 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31169 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31170 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31171 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31172 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31173 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31174 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31175 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31176 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31177 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31178 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31179 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31180 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31181 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31182 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31183 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31184 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31185 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31186 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31187 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31188 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31189 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31190 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31191 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31192 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31193 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31194 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31195 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31196 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31197 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31198 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31199 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31200 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31201 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31202 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31203 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31204 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31205 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31206 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31207 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31208 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31209 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31210 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31211 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31212 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31213 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31214 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31215 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31216 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31217 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31218 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31219 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31220 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31221 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31222 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31223 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31224 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31225 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31226 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31227 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31228 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31229 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31230 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31231 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31232 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31233 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31234 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31235 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31236 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31237 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31238 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31239 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31240 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31241 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31242 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31243 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31244 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31245 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31246 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31247 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31248 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31249 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31250 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31251 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31252 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31253 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31254 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31255 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31256 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31257 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31258 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31259 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31260 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31261 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31262 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31263 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31264 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31265 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31266 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31267 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31268 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31269 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31270 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31271 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31272 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31273 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31274 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31275 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31276 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31277 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31278 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31279 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31280 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31281 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31282 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31283 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31284 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31285 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31286 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31287 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31288 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31289 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31290 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31291 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31292 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31293 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31294 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31295 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31296 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31297 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31298 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31299 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31300 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31301 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31302 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31303 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31304 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31305 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31306 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31307 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31308 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31309 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31310 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31311 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31312 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31313 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31314 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31315 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31316 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31317 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31318 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31319 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31320 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31321 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31322 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31323 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31324 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31325 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31326 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31327 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31328 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31329 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31330 { NULL, NULL, 0, NULL }
31331 };
31332
31333
31334 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31335
31336 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31337 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31338 }
31339 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31340 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31341 }
31342 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31343 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31344 }
31345 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31346 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31347 }
31348 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31349 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31350 }
31351 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31352 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31353 }
31354 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31355 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31356 }
31357 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31358 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31359 }
31360 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31361 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31362 }
31363 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31364 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31365 }
31366 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31367 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31368 }
31369 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31370 return (void *)((wxEvent *) ((wxPyEvent *) x));
31371 }
31372 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31373 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31374 }
31375 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31376 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31377 }
31378 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31379 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31380 }
31381 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31382 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31383 }
31384 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31385 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31386 }
31387 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31388 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31389 }
31390 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31391 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31392 }
31393 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31394 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31395 }
31396 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31397 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31398 }
31399 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31400 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31401 }
31402 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31403 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31404 }
31405 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31406 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31407 }
31408 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31409 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31410 }
31411 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31412 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31413 }
31414 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31415 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31416 }
31417 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31418 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31419 }
31420 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31421 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31422 }
31423 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31424 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31425 }
31426 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31427 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31428 }
31429 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31430 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31431 }
31432 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31433 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31434 }
31435 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31436 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31437 }
31438 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31439 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31440 }
31441 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31442 return (void *)((wxEvent *) ((wxShowEvent *) x));
31443 }
31444 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31445 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31446 }
31447 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31448 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31449 }
31450 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31451 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31452 }
31453 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31454 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31455 }
31456 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31457 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31458 }
31459 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31460 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31461 }
31462 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31463 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31464 }
31465 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31466 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31467 }
31468 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31469 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31470 }
31471 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31472 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31473 }
31474 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31475 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31476 }
31477 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31478 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31479 }
31480 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31481 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31482 }
31483 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31484 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31485 }
31486 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31487 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31488 }
31489 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31490 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31491 }
31492 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31493 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31494 }
31495 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31496 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31497 }
31498 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31499 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31500 }
31501 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31502 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31503 }
31504 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31505 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31506 }
31507 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31508 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31509 }
31510 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31511 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31512 }
31513 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31514 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31515 }
31516 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31517 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31518 }
31519 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31520 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31521 }
31522 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31523 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31524 }
31525 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31526 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31527 }
31528 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31529 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31530 }
31531 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31532 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31533 }
31534 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31535 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31536 }
31537 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31538 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31539 }
31540 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31541 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31542 }
31543 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31544 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31545 }
31546 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31547 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31548 }
31549 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31550 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31551 }
31552 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31553 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31554 }
31555 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31556 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31557 }
31558 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31559 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31560 }
31561 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31562 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31563 }
31564 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31565 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31566 }
31567 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31568 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31569 }
31570 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31571 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31572 }
31573 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31574 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31575 }
31576 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31577 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31578 }
31579 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31580 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31581 }
31582 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31583 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31584 }
31585 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31586 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31587 }
31588 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31589 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31590 }
31591 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31592 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31593 }
31594 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31595 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31596 }
31597 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31598 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31599 }
31600 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31601 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31602 }
31603 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31604 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31605 }
31606 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31607 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31608 }
31609 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31610 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31611 }
31612 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31613 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31614 }
31615 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31616 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31617 }
31618 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31619 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31620 }
31621 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31622 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31623 }
31624 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31625 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31626 }
31627 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31628 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31629 }
31630 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31631 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31632 }
31633 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31634 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31635 }
31636 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31637 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31638 }
31639 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31640 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31641 }
31642 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31643 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31644 }
31645 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31646 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31647 }
31648 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31649 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31650 }
31651 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31652 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31653 }
31654 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31655 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31656 }
31657 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31658 return (void *)((wxObject *) ((wxSizerItem *) x));
31659 }
31660 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31661 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31662 }
31663 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31664 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31665 }
31666 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31667 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31668 }
31669 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31670 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31671 }
31672 static void *_p_wxSizerTo_p_wxObject(void *x) {
31673 return (void *)((wxObject *) ((wxSizer *) x));
31674 }
31675 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31676 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31677 }
31678 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31679 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31680 }
31681 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31682 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31683 }
31684 static void *_p_wxEventTo_p_wxObject(void *x) {
31685 return (void *)((wxObject *) ((wxEvent *) x));
31686 }
31687 static void *_p_wxFontDataTo_p_wxObject(void *x) {
31688 return (void *)((wxObject *) ((wxFontData *) x));
31689 }
31690 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31691 return (void *)((wxObject *) ((wxPrintData *) x));
31692 }
31693 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31694 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31695 }
31696 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31697 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31698 }
31699 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31700 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31701 }
31702 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31703 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31704 }
31705 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31706 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31707 }
31708 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31709 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31710 }
31711 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31712 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31713 }
31714 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31715 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31716 }
31717 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31718 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31719 }
31720 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31721 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31722 }
31723 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31724 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31725 }
31726 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31727 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31728 }
31729 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31731 }
31732 static void *_p_wxControlTo_p_wxObject(void *x) {
31733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31734 }
31735 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31736 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31737 }
31738 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31739 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31740 }
31741 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31742 return (void *)((wxObject *) ((wxFSFile *) x));
31743 }
31744 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31745 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31746 }
31747 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31748 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31749 }
31750 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31752 }
31753 static void *_p_wxColourDataTo_p_wxObject(void *x) {
31754 return (void *)((wxObject *) ((wxColourData *) x));
31755 }
31756 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31757 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31758 }
31759 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31760 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31761 }
31762 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31763 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31764 }
31765 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31766 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31767 }
31768 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31769 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31770 }
31771 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31772 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31773 }
31774 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31775 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31776 }
31777 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31779 }
31780 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31782 }
31783 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
31784 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31785 }
31786 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
31787 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31788 }
31789 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
31790 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31791 }
31792 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31793 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31794 }
31795 static void *_p_wxPrinterTo_p_wxObject(void *x) {
31796 return (void *)((wxObject *) ((wxPrinter *) x));
31797 }
31798 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31799 return (void *)((wxObject *) ((wxMenuItem *) x));
31800 }
31801 static void *_p_wxDateEventTo_p_wxObject(void *x) {
31802 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31803 }
31804 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31805 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31806 }
31807 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31808 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31809 }
31810 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31811 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31812 }
31813 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31814 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31815 }
31816 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31817 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31818 }
31819 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31820 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31821 }
31822 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31823 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31824 }
31825 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31826 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31827 }
31828 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31829 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31830 }
31831 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31832 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31833 }
31834 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31835 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31836 }
31837 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31838 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31839 }
31840 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31841 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31842 }
31843 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31844 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31845 }
31846 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31847 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31848 }
31849 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31850 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31851 }
31852 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31853 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31854 }
31855 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
31856 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
31857 }
31858 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31859 return (void *)((wxObject *) ((wxImageHandler *) x));
31860 }
31861 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31862 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31863 }
31864 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31865 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31866 }
31867 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31868 return (void *)((wxObject *) ((wxEvtHandler *) x));
31869 }
31870 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
31871 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
31872 }
31873 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
31874 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31875 }
31876 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
31877 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31878 }
31879 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
31880 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
31881 }
31882 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31883 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31884 }
31885 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
31886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31887 }
31888 static void *_p_wxImageTo_p_wxObject(void *x) {
31889 return (void *)((wxObject *) ((wxImage *) x));
31890 }
31891 static void *_p_wxFrameTo_p_wxObject(void *x) {
31892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31893 }
31894 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
31895 return (void *)((wxObject *) ((wxPyPrintout *) x));
31896 }
31897 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31898 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31899 }
31900 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
31901 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
31902 }
31903 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
31904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
31905 }
31906 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
31907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31908 }
31909 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31910 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31911 }
31912 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31913 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31914 }
31915 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31916 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31917 }
31918 static void *_p_wxWindowTo_p_wxObject(void *x) {
31919 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31920 }
31921 static void *_p_wxMenuTo_p_wxObject(void *x) {
31922 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31923 }
31924 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31925 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31926 }
31927 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
31928 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31929 }
31930 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
31931 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
31932 }
31933 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
31934 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
31935 }
31936 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
31937 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
31938 }
31939 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
31940 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
31941 }
31942 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
31943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31944 }
31945 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
31946 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
31947 }
31948 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
31949 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31950 }
31951 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
31952 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31953 }
31954 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
31955 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31956 }
31957 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
31958 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
31959 }
31960 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
31961 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31962 }
31963 static void *_p_wxSashEventTo_p_wxObject(void *x) {
31964 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
31965 }
31966 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
31967 return (void *)((wxObject *) ((wxPrintPreview *) x));
31968 }
31969 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
31970 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
31971 }
31972 static void *_p_wxPanelTo_p_wxObject(void *x) {
31973 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
31974 }
31975 static void *_p_wxDialogTo_p_wxObject(void *x) {
31976 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31977 }
31978 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
31979 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31980 }
31981 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
31982 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31983 }
31984 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
31985 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31986 }
31987 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
31988 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
31989 }
31990 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
31991 return (void *)((wxObject *) ((wxPrintDialog *) x));
31992 }
31993 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31994 return (void *)((wxObject *) ((wxFileSystem *) x));
31995 }
31996 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31997 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31998 }
31999 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32000 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32001 }
32002 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32003 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32004 }
32005 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32006 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32007 }
32008 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32009 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32010 }
32011 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32012 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32013 }
32014 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32015 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32016 }
32017 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32018 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32019 }
32020 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32021 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32022 }
32023 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32024 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32025 }
32026 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32027 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32028 }
32029 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32030 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32031 }
32032 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32033 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32034 }
32035 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32036 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32037 }
32038 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32039 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32040 }
32041 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32042 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32043 }
32044 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32045 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32046 }
32047 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32048 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32049 }
32050 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32051 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32052 }
32053 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32054 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32055 }
32056 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32057 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32058 }
32059 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32060 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32061 }
32062 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32063 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32064 }
32065 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32066 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32067 }
32068 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32069 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32070 }
32071 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32072 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32073 }
32074 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32075 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32076 }
32077 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32078 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32079 }
32080 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32081 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32082 }
32083 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32084 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32085 }
32086 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32087 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32088 }
32089 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32090 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32091 }
32092 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32093 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32094 }
32095 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32096 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32097 }
32098 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32099 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32100 }
32101 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32102 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32103 }
32104 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32105 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32106 }
32107 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32108 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32109 }
32110 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32111 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32112 }
32113 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32114 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32115 }
32116 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32117 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32118 }
32119 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32120 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32121 }
32122 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32123 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32124 }
32125 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32126 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32127 }
32128 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32129 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32130 }
32131 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32132 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32133 }
32134 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32135 return (void *)((wxWindow *) ((wxMenuBar *) x));
32136 }
32137 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32138 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32139 }
32140 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32141 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32142 }
32143 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32144 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32145 }
32146 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32147 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32148 }
32149 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32150 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32151 }
32152 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32153 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32154 }
32155 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32156 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32157 }
32158 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32159 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32160 }
32161 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32162 return (void *)((wxWindow *) ((wxPanel *) x));
32163 }
32164 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32165 return (void *)((wxWindow *) ((wxStatusBar *) x));
32166 }
32167 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32168 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32169 }
32170 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32171 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32172 }
32173 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32174 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32175 }
32176 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32177 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32178 }
32179 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32180 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32181 }
32182 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32183 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32184 }
32185 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32186 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32187 }
32188 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32189 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32190 }
32191 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32192 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32193 }
32194 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32195 return (void *)((wxWindow *) ((wxSashWindow *) x));
32196 }
32197 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32198 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32199 }
32200 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32201 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32202 }
32203 static void *_p_wxControlTo_p_wxWindow(void *x) {
32204 return (void *)((wxWindow *) ((wxControl *) x));
32205 }
32206 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32207 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32208 }
32209 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32210 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32211 }
32212 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32213 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32214 }
32215 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32216 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32217 }
32218 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32219 return (void *)((wxWindow *) ((wxPyWindow *) x));
32220 }
32221 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32222 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32223 }
32224 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32225 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32226 }
32227 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32228 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32229 }
32230 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32231 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32232 }
32233 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32234 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32235 }
32236 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32237 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32238 }
32239 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32240 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32241 }
32242 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32243 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32244 }
32245 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32246 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32247 }
32248 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32249 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32250 }
32251 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32252 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32253 }
32254 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32255 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32256 }
32257 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32258 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32259 }
32260 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32261 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32262 }
32263 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32264 return (void *)((wxDialog *) ((wxColourDialog *) x));
32265 }
32266 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32267 return (void *)((wxDialog *) ((wxDirDialog *) x));
32268 }
32269 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32270 return (void *)((wxDialog *) ((wxFontDialog *) x));
32271 }
32272 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32273 return (void *)((wxDialog *) ((wxFileDialog *) x));
32274 }
32275 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32276 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32277 }
32278 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32279 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32280 }
32281 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32282 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32283 }
32284 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32285 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32286 }
32287 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32288 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32289 }
32290 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32291 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32292 }
32293 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32294 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32295 }
32296 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32297 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32298 }
32299 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32300 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32301 }
32302 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32303 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32304 }
32305 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32306 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32307 }
32308 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32309 return (void *)((wxPanel *) ((wxPyPanel *) x));
32310 }
32311 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32312 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32313 }
32314 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32315 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32316 }
32317 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32318 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32319 }
32320 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32321 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32322 }
32323 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32324 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32325 }
32326 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32327 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32328 }
32329 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32330 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32331 }
32332 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32333 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32334 }
32335 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32336 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32337 }
32338 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32339 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32340 }
32341 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32342 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32343 }
32344 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32345 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32346 }
32347 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32348 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32349 }
32350 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32351 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32352 }
32353 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32354 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32355 }
32356 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32357 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32358 }
32359 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32360 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};
32361 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32362 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32363 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32364 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32365 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32366 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32367 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32368 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32369 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32370 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32371 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32372 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32373 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32374 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32375 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32376 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32377 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32378 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32379 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32380 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32381 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32382 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32383 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32384 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32385 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32386 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32387 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32388 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32389 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32390 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32391 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32392 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32393 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32394 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32395 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32396 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32397 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32398 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32399 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32400 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32401 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32402 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32403 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32404 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32405 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32406 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32407 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32408 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32409 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32410 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32411 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32412 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32413 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32414 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32415 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32416 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32417 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32418 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32419 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32420 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32421 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32422 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32423 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32424 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32425 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32426 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32427 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32428 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32429 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32430 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32431 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32432 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32433 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32434 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32435 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32436 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32437 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32438 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32439 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32440 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32441 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32442 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32443 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32444 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32445 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32446 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32447 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32448 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32449 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32450 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32451 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32452 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32453 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32454 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32455 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32456 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32457 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32458 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32459 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32460 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32461 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32462 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32463 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32464 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32465 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32466 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32467 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32468 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32469 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32470 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32471 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32472 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32473 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32474 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32475 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32476 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32477 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32478 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32479 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32480 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32481 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32482 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32483 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32484 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32485 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32486 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32487 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32488 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32489 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32490 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32491 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32492 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32493 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32494 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32495 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32496 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32497 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32498 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32499 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32500 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32501 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32502 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32503 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32504 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32505 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32506 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32507 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32508 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32509 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32510 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32511 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32512 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32513 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32514 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32515 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32516 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32517 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32518 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32519
32520 static swig_type_info *swig_type_initial[] = {
32521 &_swigt__p_char,
32522 &_swigt__p_form_ops_t,
32523 &_swigt__p_int,
32524 &_swigt__p_unsigned_char,
32525 &_swigt__p_unsigned_int,
32526 &_swigt__p_unsigned_long,
32527 &_swigt__p_wxANIHandler,
32528 &_swigt__p_wxAcceleratorTable,
32529 &_swigt__p_wxActivateEvent,
32530 &_swigt__p_wxArrayInt,
32531 &_swigt__p_wxBMPHandler,
32532 &_swigt__p_wxBitmap,
32533 &_swigt__p_wxBoxSizer,
32534 &_swigt__p_wxCURHandler,
32535 &_swigt__p_wxCalculateLayoutEvent,
32536 &_swigt__p_wxChildFocusEvent,
32537 &_swigt__p_wxCloseEvent,
32538 &_swigt__p_wxColour,
32539 &_swigt__p_wxColourData,
32540 &_swigt__p_wxColourDialog,
32541 &_swigt__p_wxCommandEvent,
32542 &_swigt__p_wxContextMenuEvent,
32543 &_swigt__p_wxControl,
32544 &_swigt__p_wxControlWithItems,
32545 &_swigt__p_wxDC,
32546 &_swigt__p_wxDateEvent,
32547 &_swigt__p_wxDialog,
32548 &_swigt__p_wxDirDialog,
32549 &_swigt__p_wxDisplayChangedEvent,
32550 &_swigt__p_wxDropFilesEvent,
32551 &_swigt__p_wxDuplexMode,
32552 &_swigt__p_wxEraseEvent,
32553 &_swigt__p_wxEvent,
32554 &_swigt__p_wxEvtHandler,
32555 &_swigt__p_wxFSFile,
32556 &_swigt__p_wxFileDialog,
32557 &_swigt__p_wxFileSystem,
32558 &_swigt__p_wxFindDialogEvent,
32559 &_swigt__p_wxFindReplaceData,
32560 &_swigt__p_wxFindReplaceDialog,
32561 &_swigt__p_wxFlexGridSizer,
32562 &_swigt__p_wxFocusEvent,
32563 &_swigt__p_wxFont,
32564 &_swigt__p_wxFontData,
32565 &_swigt__p_wxFontDialog,
32566 &_swigt__p_wxFrame,
32567 &_swigt__p_wxGBSizerItem,
32568 &_swigt__p_wxGIFHandler,
32569 &_swigt__p_wxGridBagSizer,
32570 &_swigt__p_wxGridSizer,
32571 &_swigt__p_wxICOHandler,
32572 &_swigt__p_wxIcon,
32573 &_swigt__p_wxIconBundle,
32574 &_swigt__p_wxIconizeEvent,
32575 &_swigt__p_wxIdleEvent,
32576 &_swigt__p_wxImage,
32577 &_swigt__p_wxImageHandler,
32578 &_swigt__p_wxIndividualLayoutConstraint,
32579 &_swigt__p_wxInitDialogEvent,
32580 &_swigt__p_wxJPEGHandler,
32581 &_swigt__p_wxKeyEvent,
32582 &_swigt__p_wxLayoutAlgorithm,
32583 &_swigt__p_wxLayoutConstraints,
32584 &_swigt__p_wxMDIChildFrame,
32585 &_swigt__p_wxMDIClientWindow,
32586 &_swigt__p_wxMDIParentFrame,
32587 &_swigt__p_wxMaximizeEvent,
32588 &_swigt__p_wxMenu,
32589 &_swigt__p_wxMenuBar,
32590 &_swigt__p_wxMenuEvent,
32591 &_swigt__p_wxMenuItem,
32592 &_swigt__p_wxMessageDialog,
32593 &_swigt__p_wxMiniFrame,
32594 &_swigt__p_wxMouseCaptureChangedEvent,
32595 &_swigt__p_wxMouseEvent,
32596 &_swigt__p_wxMoveEvent,
32597 &_swigt__p_wxMultiChoiceDialog,
32598 &_swigt__p_wxNavigationKeyEvent,
32599 &_swigt__p_wxNcPaintEvent,
32600 &_swigt__p_wxNotifyEvent,
32601 &_swigt__p_wxObject,
32602 &_swigt__p_wxPCXHandler,
32603 &_swigt__p_wxPNGHandler,
32604 &_swigt__p_wxPNMHandler,
32605 &_swigt__p_wxPageSetupDialog,
32606 &_swigt__p_wxPageSetupDialogData,
32607 &_swigt__p_wxPaintEvent,
32608 &_swigt__p_wxPaletteChangedEvent,
32609 &_swigt__p_wxPanel,
32610 &_swigt__p_wxPaperSize,
32611 &_swigt__p_wxPasswordEntryDialog,
32612 &_swigt__p_wxPoint,
32613 &_swigt__p_wxPopupWindow,
32614 &_swigt__p_wxPreviewCanvas,
32615 &_swigt__p_wxPreviewControlBar,
32616 &_swigt__p_wxPreviewFrame,
32617 &_swigt__p_wxPrintData,
32618 &_swigt__p_wxPrintDialog,
32619 &_swigt__p_wxPrintDialogData,
32620 &_swigt__p_wxPrintPreview,
32621 &_swigt__p_wxPrinter,
32622 &_swigt__p_wxProgressDialog,
32623 &_swigt__p_wxPyApp,
32624 &_swigt__p_wxPyCommandEvent,
32625 &_swigt__p_wxPyEvent,
32626 &_swigt__p_wxPyHtmlListBox,
32627 &_swigt__p_wxPyImageHandler,
32628 &_swigt__p_wxPyPanel,
32629 &_swigt__p_wxPyPopupTransientWindow,
32630 &_swigt__p_wxPyPreviewControlBar,
32631 &_swigt__p_wxPyPreviewFrame,
32632 &_swigt__p_wxPyPrintPreview,
32633 &_swigt__p_wxPyPrintout,
32634 &_swigt__p_wxPyScrolledWindow,
32635 &_swigt__p_wxPySizer,
32636 &_swigt__p_wxPyTaskBarIcon,
32637 &_swigt__p_wxPyVListBox,
32638 &_swigt__p_wxPyVScrolledWindow,
32639 &_swigt__p_wxPyValidator,
32640 &_swigt__p_wxPyWindow,
32641 &_swigt__p_wxQueryLayoutInfoEvent,
32642 &_swigt__p_wxQueryNewPaletteEvent,
32643 &_swigt__p_wxRect,
32644 &_swigt__p_wxRegion,
32645 &_swigt__p_wxSashEvent,
32646 &_swigt__p_wxSashLayoutWindow,
32647 &_swigt__p_wxSashWindow,
32648 &_swigt__p_wxScrollEvent,
32649 &_swigt__p_wxScrollWinEvent,
32650 &_swigt__p_wxScrolledWindow,
32651 &_swigt__p_wxSetCursorEvent,
32652 &_swigt__p_wxShowEvent,
32653 &_swigt__p_wxSingleChoiceDialog,
32654 &_swigt__p_wxSize,
32655 &_swigt__p_wxSizeEvent,
32656 &_swigt__p_wxSizer,
32657 &_swigt__p_wxSizerItem,
32658 &_swigt__p_wxSplashScreen,
32659 &_swigt__p_wxSplashScreenWindow,
32660 &_swigt__p_wxSplitterEvent,
32661 &_swigt__p_wxSplitterWindow,
32662 &_swigt__p_wxStaticBoxSizer,
32663 &_swigt__p_wxStatusBar,
32664 &_swigt__p_wxStdDialogButtonSizer,
32665 &_swigt__p_wxString,
32666 &_swigt__p_wxSysColourChangedEvent,
32667 &_swigt__p_wxTIFFHandler,
32668 &_swigt__p_wxTaskBarIcon,
32669 &_swigt__p_wxTaskBarIconEvent,
32670 &_swigt__p_wxTextEntryDialog,
32671 &_swigt__p_wxTipWindow,
32672 &_swigt__p_wxToolBar,
32673 &_swigt__p_wxTopLevelWindow,
32674 &_swigt__p_wxUpdateUIEvent,
32675 &_swigt__p_wxValidator,
32676 &_swigt__p_wxVisualAttributes,
32677 &_swigt__p_wxWindow,
32678 &_swigt__p_wxWindowCreateEvent,
32679 &_swigt__p_wxWindowDestroyEvent,
32680 &_swigt__p_wxXPMHandler,
32681 };
32682
32683 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32684 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32685 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32686 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32687 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32688 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32689 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32690 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32691 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32692 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32693 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32694 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
32695 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32696 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
32697 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32698 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32699 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
32700 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32701 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32702 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32703 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
32704 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32705 static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
32706 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32707 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32708 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32709 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32710 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32711 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32712 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32713 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32714 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32715 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32716 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32717 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32718 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32719 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32720 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32721 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32722 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32723 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32724 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32725 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32726 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32727 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32728 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32729 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32730 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32731 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32732 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32733 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_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_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_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}};
32734 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32735 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32736 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32737 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32738 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
32739 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
32740 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32741 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32742 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32743 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32744 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32745 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32746 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32747 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32748 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}};
32749 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32750 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32751 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32752 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32753 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32754 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32755 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32756 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32757 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32758 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32759 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32760 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}};
32761 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32762 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32763 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32764 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32765 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32766 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32767 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32768 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32769 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32770 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32771 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32772 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32773 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32774 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32775 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32776 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32777 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32778 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32779 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32780 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32781 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32782 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32783 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32784 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
32785 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
32786 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32787 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
32788 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
32789 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
32790 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
32791 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
32792 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}};
32793 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32794 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32795 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
32796 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}};
32797 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
32798 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}};
32799 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}};
32800 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
32801 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32802 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
32803 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}};
32804 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
32805 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
32806 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32807 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
32808 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}};
32809 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32810 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32811 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32812 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
32813 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32814 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32815 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}};
32816 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}};
32817 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
32818 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
32819 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
32820 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
32821 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
32822 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
32823 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}};
32824 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
32825 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}};
32826 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32827 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
32828 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32829 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
32830 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
32831 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
32832 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
32833 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
32834 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
32835 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32836 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
32837 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}};
32838 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
32839 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
32840 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
32841 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
32842 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
32843
32844 static swig_cast_info *swig_cast_initial[] = {
32845 _swigc__p_char,
32846 _swigc__p_form_ops_t,
32847 _swigc__p_int,
32848 _swigc__p_unsigned_char,
32849 _swigc__p_unsigned_int,
32850 _swigc__p_unsigned_long,
32851 _swigc__p_wxANIHandler,
32852 _swigc__p_wxAcceleratorTable,
32853 _swigc__p_wxActivateEvent,
32854 _swigc__p_wxArrayInt,
32855 _swigc__p_wxBMPHandler,
32856 _swigc__p_wxBitmap,
32857 _swigc__p_wxBoxSizer,
32858 _swigc__p_wxCURHandler,
32859 _swigc__p_wxCalculateLayoutEvent,
32860 _swigc__p_wxChildFocusEvent,
32861 _swigc__p_wxCloseEvent,
32862 _swigc__p_wxColour,
32863 _swigc__p_wxColourData,
32864 _swigc__p_wxColourDialog,
32865 _swigc__p_wxCommandEvent,
32866 _swigc__p_wxContextMenuEvent,
32867 _swigc__p_wxControl,
32868 _swigc__p_wxControlWithItems,
32869 _swigc__p_wxDC,
32870 _swigc__p_wxDateEvent,
32871 _swigc__p_wxDialog,
32872 _swigc__p_wxDirDialog,
32873 _swigc__p_wxDisplayChangedEvent,
32874 _swigc__p_wxDropFilesEvent,
32875 _swigc__p_wxDuplexMode,
32876 _swigc__p_wxEraseEvent,
32877 _swigc__p_wxEvent,
32878 _swigc__p_wxEvtHandler,
32879 _swigc__p_wxFSFile,
32880 _swigc__p_wxFileDialog,
32881 _swigc__p_wxFileSystem,
32882 _swigc__p_wxFindDialogEvent,
32883 _swigc__p_wxFindReplaceData,
32884 _swigc__p_wxFindReplaceDialog,
32885 _swigc__p_wxFlexGridSizer,
32886 _swigc__p_wxFocusEvent,
32887 _swigc__p_wxFont,
32888 _swigc__p_wxFontData,
32889 _swigc__p_wxFontDialog,
32890 _swigc__p_wxFrame,
32891 _swigc__p_wxGBSizerItem,
32892 _swigc__p_wxGIFHandler,
32893 _swigc__p_wxGridBagSizer,
32894 _swigc__p_wxGridSizer,
32895 _swigc__p_wxICOHandler,
32896 _swigc__p_wxIcon,
32897 _swigc__p_wxIconBundle,
32898 _swigc__p_wxIconizeEvent,
32899 _swigc__p_wxIdleEvent,
32900 _swigc__p_wxImage,
32901 _swigc__p_wxImageHandler,
32902 _swigc__p_wxIndividualLayoutConstraint,
32903 _swigc__p_wxInitDialogEvent,
32904 _swigc__p_wxJPEGHandler,
32905 _swigc__p_wxKeyEvent,
32906 _swigc__p_wxLayoutAlgorithm,
32907 _swigc__p_wxLayoutConstraints,
32908 _swigc__p_wxMDIChildFrame,
32909 _swigc__p_wxMDIClientWindow,
32910 _swigc__p_wxMDIParentFrame,
32911 _swigc__p_wxMaximizeEvent,
32912 _swigc__p_wxMenu,
32913 _swigc__p_wxMenuBar,
32914 _swigc__p_wxMenuEvent,
32915 _swigc__p_wxMenuItem,
32916 _swigc__p_wxMessageDialog,
32917 _swigc__p_wxMiniFrame,
32918 _swigc__p_wxMouseCaptureChangedEvent,
32919 _swigc__p_wxMouseEvent,
32920 _swigc__p_wxMoveEvent,
32921 _swigc__p_wxMultiChoiceDialog,
32922 _swigc__p_wxNavigationKeyEvent,
32923 _swigc__p_wxNcPaintEvent,
32924 _swigc__p_wxNotifyEvent,
32925 _swigc__p_wxObject,
32926 _swigc__p_wxPCXHandler,
32927 _swigc__p_wxPNGHandler,
32928 _swigc__p_wxPNMHandler,
32929 _swigc__p_wxPageSetupDialog,
32930 _swigc__p_wxPageSetupDialogData,
32931 _swigc__p_wxPaintEvent,
32932 _swigc__p_wxPaletteChangedEvent,
32933 _swigc__p_wxPanel,
32934 _swigc__p_wxPaperSize,
32935 _swigc__p_wxPasswordEntryDialog,
32936 _swigc__p_wxPoint,
32937 _swigc__p_wxPopupWindow,
32938 _swigc__p_wxPreviewCanvas,
32939 _swigc__p_wxPreviewControlBar,
32940 _swigc__p_wxPreviewFrame,
32941 _swigc__p_wxPrintData,
32942 _swigc__p_wxPrintDialog,
32943 _swigc__p_wxPrintDialogData,
32944 _swigc__p_wxPrintPreview,
32945 _swigc__p_wxPrinter,
32946 _swigc__p_wxProgressDialog,
32947 _swigc__p_wxPyApp,
32948 _swigc__p_wxPyCommandEvent,
32949 _swigc__p_wxPyEvent,
32950 _swigc__p_wxPyHtmlListBox,
32951 _swigc__p_wxPyImageHandler,
32952 _swigc__p_wxPyPanel,
32953 _swigc__p_wxPyPopupTransientWindow,
32954 _swigc__p_wxPyPreviewControlBar,
32955 _swigc__p_wxPyPreviewFrame,
32956 _swigc__p_wxPyPrintPreview,
32957 _swigc__p_wxPyPrintout,
32958 _swigc__p_wxPyScrolledWindow,
32959 _swigc__p_wxPySizer,
32960 _swigc__p_wxPyTaskBarIcon,
32961 _swigc__p_wxPyVListBox,
32962 _swigc__p_wxPyVScrolledWindow,
32963 _swigc__p_wxPyValidator,
32964 _swigc__p_wxPyWindow,
32965 _swigc__p_wxQueryLayoutInfoEvent,
32966 _swigc__p_wxQueryNewPaletteEvent,
32967 _swigc__p_wxRect,
32968 _swigc__p_wxRegion,
32969 _swigc__p_wxSashEvent,
32970 _swigc__p_wxSashLayoutWindow,
32971 _swigc__p_wxSashWindow,
32972 _swigc__p_wxScrollEvent,
32973 _swigc__p_wxScrollWinEvent,
32974 _swigc__p_wxScrolledWindow,
32975 _swigc__p_wxSetCursorEvent,
32976 _swigc__p_wxShowEvent,
32977 _swigc__p_wxSingleChoiceDialog,
32978 _swigc__p_wxSize,
32979 _swigc__p_wxSizeEvent,
32980 _swigc__p_wxSizer,
32981 _swigc__p_wxSizerItem,
32982 _swigc__p_wxSplashScreen,
32983 _swigc__p_wxSplashScreenWindow,
32984 _swigc__p_wxSplitterEvent,
32985 _swigc__p_wxSplitterWindow,
32986 _swigc__p_wxStaticBoxSizer,
32987 _swigc__p_wxStatusBar,
32988 _swigc__p_wxStdDialogButtonSizer,
32989 _swigc__p_wxString,
32990 _swigc__p_wxSysColourChangedEvent,
32991 _swigc__p_wxTIFFHandler,
32992 _swigc__p_wxTaskBarIcon,
32993 _swigc__p_wxTaskBarIconEvent,
32994 _swigc__p_wxTextEntryDialog,
32995 _swigc__p_wxTipWindow,
32996 _swigc__p_wxToolBar,
32997 _swigc__p_wxTopLevelWindow,
32998 _swigc__p_wxUpdateUIEvent,
32999 _swigc__p_wxValidator,
33000 _swigc__p_wxVisualAttributes,
33001 _swigc__p_wxWindow,
33002 _swigc__p_wxWindowCreateEvent,
33003 _swigc__p_wxWindowDestroyEvent,
33004 _swigc__p_wxXPMHandler,
33005 };
33006
33007
33008 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33009
33010 static swig_const_info swig_const_table[] = {
33011 {0, 0, 0, 0.0, 0, 0}};
33012
33013 #ifdef __cplusplus
33014 }
33015 #endif
33016 /* -----------------------------------------------------------------------------
33017 * Type initialization:
33018 * This problem is tough by the requirement that no dynamic
33019 * memory is used. Also, since swig_type_info structures store pointers to
33020 * swig_cast_info structures and swig_cast_info structures store pointers back
33021 * to swig_type_info structures, we need some lookup code at initialization.
33022 * The idea is that swig generates all the structures that are needed.
33023 * The runtime then collects these partially filled structures.
33024 * The SWIG_InitializeModule function takes these initial arrays out of
33025 * swig_module, and does all the lookup, filling in the swig_module.types
33026 * array with the correct data and linking the correct swig_cast_info
33027 * structures together.
33028 *
33029 * The generated swig_type_info structures are assigned staticly to an initial
33030 * array. We just loop though that array, and handle each type individually.
33031 * First we lookup if this type has been already loaded, and if so, use the
33032 * loaded structure instead of the generated one. Then we have to fill in the
33033 * cast linked list. The cast data is initially stored in something like a
33034 * two-dimensional array. Each row corresponds to a type (there are the same
33035 * number of rows as there are in the swig_type_initial array). Each entry in
33036 * a column is one of the swig_cast_info structures for that type.
33037 * The cast_initial array is actually an array of arrays, because each row has
33038 * a variable number of columns. So to actually build the cast linked list,
33039 * we find the array of casts associated with the type, and loop through it
33040 * adding the casts to the list. The one last trick we need to do is making
33041 * sure the type pointer in the swig_cast_info struct is correct.
33042 *
33043 * First off, we lookup the cast->type name to see if it is already loaded.
33044 * There are three cases to handle:
33045 * 1) If the cast->type has already been loaded AND the type we are adding
33046 * casting info to has not been loaded (it is in this module), THEN we
33047 * replace the cast->type pointer with the type pointer that has already
33048 * been loaded.
33049 * 2) If BOTH types (the one we are adding casting info to, and the
33050 * cast->type) are loaded, THEN the cast info has already been loaded by
33051 * the previous module so we just ignore it.
33052 * 3) Finally, if cast->type has not already been loaded, then we add that
33053 * swig_cast_info to the linked list (because the cast->type) pointer will
33054 * be correct.
33055 * ----------------------------------------------------------------------------- */
33056
33057 #ifdef __cplusplus
33058 extern "C" {
33059 #if 0
33060 } /* c-mode */
33061 #endif
33062 #endif
33063
33064 #if 0
33065 #define SWIGRUNTIME_DEBUG
33066 #endif
33067
33068 SWIGRUNTIME void
33069 SWIG_InitializeModule(void *clientdata) {
33070 size_t i;
33071 swig_module_info *module_head;
33072 static int init_run = 0;
33073
33074 clientdata = clientdata;
33075
33076 if (init_run) return;
33077 init_run = 1;
33078
33079 /* Initialize the swig_module */
33080 swig_module.type_initial = swig_type_initial;
33081 swig_module.cast_initial = swig_cast_initial;
33082
33083 /* Try and load any already created modules */
33084 module_head = SWIG_GetModule(clientdata);
33085 if (module_head) {
33086 swig_module.next = module_head->next;
33087 module_head->next = &swig_module;
33088 } else {
33089 /* This is the first module loaded */
33090 swig_module.next = &swig_module;
33091 SWIG_SetModule(clientdata, &swig_module);
33092 }
33093
33094 /* Now work on filling in swig_module.types */
33095 #ifdef SWIGRUNTIME_DEBUG
33096 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33097 #endif
33098 for (i = 0; i < swig_module.size; ++i) {
33099 swig_type_info *type = 0;
33100 swig_type_info *ret;
33101 swig_cast_info *cast;
33102
33103 #ifdef SWIGRUNTIME_DEBUG
33104 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33105 #endif
33106
33107 /* if there is another module already loaded */
33108 if (swig_module.next != &swig_module) {
33109 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33110 }
33111 if (type) {
33112 /* Overwrite clientdata field */
33113 #ifdef SWIGRUNTIME_DEBUG
33114 printf("SWIG_InitializeModule: found type %s\n", type->name);
33115 #endif
33116 if (swig_module.type_initial[i]->clientdata) {
33117 type->clientdata = swig_module.type_initial[i]->clientdata;
33118 #ifdef SWIGRUNTIME_DEBUG
33119 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33120 #endif
33121 }
33122 } else {
33123 type = swig_module.type_initial[i];
33124 }
33125
33126 /* Insert casting types */
33127 cast = swig_module.cast_initial[i];
33128 while (cast->type) {
33129 /* Don't need to add information already in the list */
33130 ret = 0;
33131 #ifdef SWIGRUNTIME_DEBUG
33132 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33133 #endif
33134 if (swig_module.next != &swig_module) {
33135 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33136 #ifdef SWIGRUNTIME_DEBUG
33137 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33138 #endif
33139 }
33140 if (ret) {
33141 if (type == swig_module.type_initial[i]) {
33142 #ifdef SWIGRUNTIME_DEBUG
33143 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33144 #endif
33145 cast->type = ret;
33146 ret = 0;
33147 } else {
33148 /* Check for casting already in the list */
33149 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33150 #ifdef SWIGRUNTIME_DEBUG
33151 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33152 #endif
33153 if (!ocast) ret = 0;
33154 }
33155 }
33156
33157 if (!ret) {
33158 #ifdef SWIGRUNTIME_DEBUG
33159 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33160 #endif
33161 if (type->cast) {
33162 type->cast->prev = cast;
33163 cast->next = type->cast;
33164 }
33165 type->cast = cast;
33166 }
33167 cast++;
33168 }
33169 /* Set entry in modules->types array equal to the type */
33170 swig_module.types[i] = type;
33171 }
33172 swig_module.types[i] = 0;
33173
33174 #ifdef SWIGRUNTIME_DEBUG
33175 printf("**** SWIG_InitializeModule: Cast List ******\n");
33176 for (i = 0; i < swig_module.size; ++i) {
33177 int j = 0;
33178 swig_cast_info *cast = swig_module.cast_initial[i];
33179 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33180 while (cast->type) {
33181 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33182 cast++;
33183 ++j;
33184 }
33185 printf("---- Total casts: %d\n",j);
33186 }
33187 printf("**** SWIG_InitializeModule: Cast List ******\n");
33188 #endif
33189 }
33190
33191 /* This function will propagate the clientdata field of type to
33192 * any new swig_type_info structures that have been added into the list
33193 * of equivalent types. It is like calling
33194 * SWIG_TypeClientData(type, clientdata) a second time.
33195 */
33196 SWIGRUNTIME void
33197 SWIG_PropagateClientData(void) {
33198 size_t i;
33199 swig_cast_info *equiv;
33200 static int init_run = 0;
33201
33202 if (init_run) return;
33203 init_run = 1;
33204
33205 for (i = 0; i < swig_module.size; i++) {
33206 if (swig_module.types[i]->clientdata) {
33207 equiv = swig_module.types[i]->cast;
33208 while (equiv) {
33209 if (!equiv->converter) {
33210 if (equiv->type && !equiv->type->clientdata)
33211 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33212 }
33213 equiv = equiv->next;
33214 }
33215 }
33216 }
33217 }
33218
33219 #ifdef __cplusplus
33220 #if 0
33221 {
33222 /* c-mode */
33223 #endif
33224 }
33225 #endif
33226
33227
33228
33229 #ifdef __cplusplus
33230 extern "C" {
33231 #endif
33232
33233 /* Python-specific SWIG API */
33234 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33235 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33236 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33237
33238 /* -----------------------------------------------------------------------------
33239 * global variable support code.
33240 * ----------------------------------------------------------------------------- */
33241
33242 typedef struct swig_globalvar {
33243 char *name; /* Name of global variable */
33244 PyObject *(*get_attr)(void); /* Return the current value */
33245 int (*set_attr)(PyObject *); /* Set the value */
33246 struct swig_globalvar *next;
33247 } swig_globalvar;
33248
33249 typedef struct swig_varlinkobject {
33250 PyObject_HEAD
33251 swig_globalvar *vars;
33252 } swig_varlinkobject;
33253
33254 SWIGINTERN PyObject *
33255 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33256 return PyString_FromString("<Swig global variables>");
33257 }
33258
33259 SWIGINTERN PyObject *
33260 swig_varlink_str(swig_varlinkobject *v) {
33261 PyObject *str = PyString_FromString("(");
33262 swig_globalvar *var;
33263 for (var = v->vars; var; var=var->next) {
33264 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33265 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33266 }
33267 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33268 return str;
33269 }
33270
33271 SWIGINTERN int
33272 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33273 PyObject *str = swig_varlink_str(v);
33274 fprintf(fp,"Swig global variables ");
33275 fprintf(fp,"%s\n", PyString_AsString(str));
33276 Py_DECREF(str);
33277 return 0;
33278 }
33279
33280 SWIGINTERN void
33281 swig_varlink_dealloc(swig_varlinkobject *v) {
33282 swig_globalvar *var = v->vars;
33283 while (var) {
33284 swig_globalvar *n = var->next;
33285 free(var->name);
33286 free(var);
33287 var = n;
33288 }
33289 }
33290
33291 SWIGINTERN PyObject *
33292 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33293 PyObject *res = NULL;
33294 swig_globalvar *var = v->vars;
33295 while (var) {
33296 if (strcmp(var->name,n) == 0) {
33297 res = (*var->get_attr)();
33298 break;
33299 }
33300 var = var->next;
33301 }
33302 if (res == NULL && !PyErr_Occurred()) {
33303 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33304 }
33305 return res;
33306 }
33307
33308 SWIGINTERN int
33309 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33310 int res = 1;
33311 swig_globalvar *var = v->vars;
33312 while (var) {
33313 if (strcmp(var->name,n) == 0) {
33314 res = (*var->set_attr)(p);
33315 break;
33316 }
33317 var = var->next;
33318 }
33319 if (res == 1 && !PyErr_Occurred()) {
33320 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33321 }
33322 return res;
33323 }
33324
33325 SWIGINTERN PyTypeObject*
33326 swig_varlink_type(void) {
33327 static char varlink__doc__[] = "Swig var link object";
33328 static PyTypeObject varlink_type;
33329 static int type_init = 0;
33330 if (!type_init) {
33331 const PyTypeObject tmp
33332 = {
33333 PyObject_HEAD_INIT(NULL)
33334 0, /* Number of items in variable part (ob_size) */
33335 (char *)"swigvarlink", /* Type name (tp_name) */
33336 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33337 0, /* Itemsize (tp_itemsize) */
33338 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33339 (printfunc) swig_varlink_print, /* Print (tp_print) */
33340 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33341 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33342 0, /* tp_compare */
33343 (reprfunc) swig_varlink_repr, /* tp_repr */
33344 0, /* tp_as_number */
33345 0, /* tp_as_sequence */
33346 0, /* tp_as_mapping */
33347 0, /* tp_hash */
33348 0, /* tp_call */
33349 (reprfunc)swig_varlink_str, /* tp_str */
33350 0, /* tp_getattro */
33351 0, /* tp_setattro */
33352 0, /* tp_as_buffer */
33353 0, /* tp_flags */
33354 varlink__doc__, /* tp_doc */
33355 0, /* tp_traverse */
33356 0, /* tp_clear */
33357 0, /* tp_richcompare */
33358 0, /* tp_weaklistoffset */
33359 #if PY_VERSION_HEX >= 0x02020000
33360 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33361 #endif
33362 #if PY_VERSION_HEX >= 0x02030000
33363 0, /* tp_del */
33364 #endif
33365 #ifdef COUNT_ALLOCS
33366 0,0,0,0 /* tp_alloc -> tp_next */
33367 #endif
33368 };
33369 varlink_type = tmp;
33370 varlink_type.ob_type = &PyType_Type;
33371 type_init = 1;
33372 }
33373 return &varlink_type;
33374 }
33375
33376 /* Create a variable linking object for use later */
33377 SWIGINTERN PyObject *
33378 SWIG_Python_newvarlink(void) {
33379 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33380 if (result) {
33381 result->vars = 0;
33382 }
33383 return ((PyObject*) result);
33384 }
33385
33386 SWIGINTERN void
33387 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33388 swig_varlinkobject *v = (swig_varlinkobject *) p;
33389 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33390 if (gv) {
33391 size_t size = strlen(name)+1;
33392 gv->name = (char *)malloc(size);
33393 if (gv->name) {
33394 strncpy(gv->name,name,size);
33395 gv->get_attr = get_attr;
33396 gv->set_attr = set_attr;
33397 gv->next = v->vars;
33398 }
33399 }
33400 v->vars = gv;
33401 }
33402
33403 SWIGINTERN PyObject *
33404 SWIG_globals() {
33405 static PyObject *_SWIG_globals = 0;
33406 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33407 return _SWIG_globals;
33408 }
33409
33410 /* -----------------------------------------------------------------------------
33411 * constants/methods manipulation
33412 * ----------------------------------------------------------------------------- */
33413
33414 /* Install Constants */
33415 SWIGINTERN void
33416 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33417 PyObject *obj = 0;
33418 size_t i;
33419 for (i = 0; constants[i].type; ++i) {
33420 switch(constants[i].type) {
33421 case SWIG_PY_POINTER:
33422 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33423 break;
33424 case SWIG_PY_BINARY:
33425 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33426 break;
33427 default:
33428 obj = 0;
33429 break;
33430 }
33431 if (obj) {
33432 PyDict_SetItemString(d, constants[i].name, obj);
33433 Py_DECREF(obj);
33434 }
33435 }
33436 }
33437
33438 /* -----------------------------------------------------------------------------*/
33439 /* Fix SwigMethods to carry the callback ptrs when needed */
33440 /* -----------------------------------------------------------------------------*/
33441
33442 SWIGINTERN void
33443 SWIG_Python_FixMethods(PyMethodDef *methods,
33444 swig_const_info *const_table,
33445 swig_type_info **types,
33446 swig_type_info **types_initial) {
33447 size_t i;
33448 for (i = 0; methods[i].ml_name; ++i) {
33449 char *c = methods[i].ml_doc;
33450 if (c && (c = strstr(c, "swig_ptr: "))) {
33451 int j;
33452 swig_const_info *ci = 0;
33453 char *name = c + 10;
33454 for (j = 0; const_table[j].type; ++j) {
33455 if (strncmp(const_table[j].name, name,
33456 strlen(const_table[j].name)) == 0) {
33457 ci = &(const_table[j]);
33458 break;
33459 }
33460 }
33461 if (ci) {
33462 size_t shift = (ci->ptype) - types;
33463 swig_type_info *ty = types_initial[shift];
33464 size_t ldoc = (c - methods[i].ml_doc);
33465 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33466 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33467 if (ndoc) {
33468 char *buff = ndoc;
33469 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33470 if (ptr) {
33471 strncpy(buff, methods[i].ml_doc, ldoc);
33472 buff += ldoc;
33473 strncpy(buff, "swig_ptr: ", 10);
33474 buff += 10;
33475 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33476 methods[i].ml_doc = ndoc;
33477 }
33478 }
33479 }
33480 }
33481 }
33482 }
33483
33484 #ifdef __cplusplus
33485 }
33486 #endif
33487
33488 /* -----------------------------------------------------------------------------*
33489 * Partial Init method
33490 * -----------------------------------------------------------------------------*/
33491
33492 #ifdef __cplusplus
33493 extern "C"
33494 #endif
33495 SWIGEXPORT void SWIG_init(void) {
33496 PyObject *m, *d;
33497
33498 /* Fix SwigMethods to carry the callback ptrs when needed */
33499 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33500
33501 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33502 d = PyModule_GetDict(m);
33503
33504 SWIG_InitializeModule(0);
33505 SWIG_InstallConstants(d,swig_const_table);
33506
33507
33508 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33509 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33510 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33511 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33512 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33513 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33514 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33515 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33516 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33517 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33518 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33519 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33520 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33521 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33522 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33523 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33524 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33525 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33526 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33527 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33528 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33529 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33530 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33531 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33532 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33533 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33534 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33535 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33536 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33537 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33538 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33539 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33540 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33541 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33542 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33543 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33544 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33545 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33546 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33547 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33548 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33549 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33550 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33551 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33552 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33553 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33554 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33555 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33556 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33557 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33558 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33559 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33560 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33561 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33562 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33563 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33564 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33565 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33566 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33567 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33568 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33569 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33570 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33571 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33572 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33573 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33574 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33575 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33576 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33577 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33578 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33579 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33580 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33581 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33582 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33583 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33584 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33585 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33586 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33587 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33588 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33589 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33590 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33591 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33592 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33593 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33594 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33595 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33596 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33597 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33598 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33599 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33600 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33601 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33602 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33603 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33604 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33605 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33606 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33607 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33608 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33609 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33610
33611 // Map renamed classes back to their common name for OOR
33612 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33613 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33614 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33615
33616 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33617 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33618 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33619 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33620 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33621 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33622 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33623 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33624 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33625 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33626 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33627 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33628 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
33629 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33630 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33631 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33632 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33633 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33634 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33635 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33636 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33637 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33638 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33639 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33640 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33641 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33642 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33643 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33644 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33645 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33646 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33647 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33648 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33649 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33650 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33651 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33652 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33653 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33654 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33655 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33656 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33657 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33658 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33659 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33660 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33661 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33662 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33663 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33664 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33665 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33666 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33667 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33668 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33669 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33670 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33671 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33672 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33673 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33674 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33675 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33676 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33677 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33678 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33679 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33680 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33681 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33682 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33683 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33684 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33685 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33686 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33687 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33688 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33689 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33690 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33691 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33692 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33693 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33694
33695 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33696
33697 }
33698