]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
wxTGAHandler is included by default
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTIFFHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIcon swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621 #define SWIGTYPE_p_wxTipWindow swig_types[155]
2622 #define SWIGTYPE_p_wxToolBar swig_types[156]
2623 #define SWIGTYPE_p_wxTopLevelWindow swig_types[157]
2624 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[158]
2625 #define SWIGTYPE_p_wxValidator swig_types[159]
2626 #define SWIGTYPE_p_wxVisualAttributes swig_types[160]
2627 #define SWIGTYPE_p_wxWindow swig_types[161]
2628 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630 #define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631 static swig_type_info *swig_types[166];
2632 static swig_module_info swig_module = {swig_types, 165, 0, 0, 0, 0};
2633 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2635
2636 /* -------- TYPES TABLE (END) -------- */
2637
2638 #if (PY_VERSION_HEX <= 0x02000000)
2639 # if !defined(SWIG_PYTHON_CLASSIC)
2640 # error "This python version requires to use swig with the '-classic' option"
2641 # endif
2642 #endif
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodern' option"
2645 #endif
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodernargs' option"
2648 #endif
2649 #ifndef METH_O
2650 # error "This python version requires to use swig with the '-nofastunpack' option"
2651 #endif
2652
2653 /*-----------------------------------------------
2654 @(target):= _windows_.so
2655 ------------------------------------------------*/
2656 #define SWIG_init init_windows_
2657
2658 #define SWIG_name "_windows_"
2659
2660 #define SWIGVERSION 0x010329
2661
2662
2663 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2665
2666
2667 #include <stdexcept>
2668
2669
2670 namespace swig {
2671 class PyObject_ptr {
2672 protected:
2673 PyObject *_obj;
2674
2675 public:
2676 PyObject_ptr() :_obj(0)
2677 {
2678 }
2679
2680 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2681 {
2682 Py_XINCREF(_obj);
2683 }
2684
2685 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2686 {
2687 if (initial_ref) Py_XINCREF(_obj);
2688 }
2689
2690 PyObject_ptr & operator=(const PyObject_ptr& item)
2691 {
2692 Py_XINCREF(item._obj);
2693 Py_XDECREF(_obj);
2694 _obj = item._obj;
2695 return *this;
2696 }
2697
2698 ~PyObject_ptr()
2699 {
2700 Py_XDECREF(_obj);
2701 }
2702
2703 operator PyObject *() const
2704 {
2705 return _obj;
2706 }
2707
2708 PyObject *operator->() const
2709 {
2710 return _obj;
2711 }
2712 };
2713 }
2714
2715
2716 namespace swig {
2717 struct PyObject_var : PyObject_ptr {
2718 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2719
2720 PyObject_var & operator = (PyObject* obj)
2721 {
2722 Py_XDECREF(_obj);
2723 _obj = obj;
2724 return *this;
2725 }
2726 };
2727 }
2728
2729
2730 #include "wx/wxPython/wxPython.h"
2731 #include "wx/wxPython/pyclasses.h"
2732
2733
2734 static const wxString wxPyEmptyString(wxEmptyString);
2735 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2736
2737
2738
2739 #include <limits.h>
2740 #ifndef LLONG_MIN
2741 # define LLONG_MIN LONG_LONG_MIN
2742 #endif
2743 #ifndef LLONG_MAX
2744 # define LLONG_MAX LONG_LONG_MAX
2745 #endif
2746 #ifndef ULLONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2748 #endif
2749
2750
2751 SWIGINTERN int
2752 SWIG_AsVal_long (PyObject* obj, long* val)
2753 {
2754 if (PyNumber_Check(obj)) {
2755 if (val) *val = PyInt_AsLong(obj);
2756 return SWIG_OK;
2757 }
2758 return SWIG_TypeError;
2759 }
2760
2761
2762 SWIGINTERN int
2763 SWIG_AsVal_int (PyObject * obj, int *val)
2764 {
2765 long v;
2766 int res = SWIG_AsVal_long (obj, &v);
2767 if (SWIG_IsOK(res)) {
2768 if ((v < INT_MIN || v > INT_MAX)) {
2769 return SWIG_OverflowError;
2770 } else {
2771 if (val) *val = static_cast< int >(v);
2772 }
2773 }
2774 return res;
2775 }
2776
2777
2778 SWIGINTERN int
2779 SWIG_AsVal_bool (PyObject *obj, bool *val)
2780 {
2781 if (obj == Py_True) {
2782 if (val) *val = true;
2783 return SWIG_OK;
2784 } else if (obj == Py_False) {
2785 if (val) *val = false;
2786 return SWIG_OK;
2787 } else {
2788 long v = 0;
2789 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2790 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2791 return res;
2792 }
2793 }
2794
2795
2796 #define SWIG_From_long PyInt_FromLong
2797
2798
2799 SWIGINTERNINLINE PyObject *
2800 SWIG_From_int (int value)
2801 {
2802 return SWIG_From_long (value);
2803 }
2804
2805
2806 SWIGINTERN int
2807 SWIG_AsVal_double (PyObject *obj, double* val)
2808 {
2809 if (PyNumber_Check(obj)) {
2810 if (val) *val = PyFloat_AsDouble(obj);
2811 return SWIG_OK;
2812 }
2813 return SWIG_TypeError;
2814 }
2815
2816
2817 #define SWIG_From_double PyFloat_FromDouble
2818
2819 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2820 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2821 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2822 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2823 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2824 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2825
2826
2827 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2828 wxRect r;
2829 self->GetFieldRect(i, r);
2830 return r;
2831 }
2832 static const wxString wxPySplitterNameStr(wxT("splitter"));
2833 static const wxString wxPySashNameStr(wxT("sashWindow"));
2834 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2835
2836 #include <wx/popupwin.h>
2837
2838
2839 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2840 {
2841 public:
2842 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2843 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2844 : wxPopupTransientWindow(parent, style) {}
2845
2846 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2847 DEC_PYCALLBACK__(OnDismiss);
2848 DEC_PYCALLBACK_BOOL_(CanDismiss);
2849 PYPRIVATE;
2850 };
2851
2852
2853 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2854 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2855 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2856
2857
2858 #include <wx/tipwin.h>
2859
2860 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2861 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2862 }
2863
2864 #include <wx/tipwin.h>
2865
2866
2867 #include <wx/vscroll.h>
2868
2869
2870 class wxPyVScrolledWindow : public wxVScrolledWindow
2871 {
2872 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2873 public:
2874 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2875
2876 wxPyVScrolledWindow(wxWindow *parent,
2877 wxWindowID id = wxID_ANY,
2878 const wxPoint& pos = wxDefaultPosition,
2879 const wxSize& size = wxDefaultSize,
2880 long style = 0,
2881 const wxString& name = wxPyPanelNameStr)
2882 : wxVScrolledWindow(parent, id, pos, size, style, name)
2883 {}
2884
2885 // Overridable virtuals
2886
2887 // this function must be overridden in the derived class and it should
2888 // return the height of the given line in pixels
2889 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2890
2891
2892 // this function doesn't have to be overridden but it may be useful to do
2893 // it if calculating the lines heights is a relatively expensive operation
2894 // as it gives the user code a possibility to calculate several of them at
2895 // once
2896 //
2897 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2898 // shouldn't rely on the latter being called for all lines in the interval
2899 // specified here. It is also possible that OnGetLineHeight() will be
2900 // called for the lines outside of this interval, so this is really just a
2901 // hint, not a promise.
2902 //
2903 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2904 // usual
2905 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2906
2907
2908 // when the number of lines changes, we try to estimate the total height
2909 // of all lines which is a rather expensive operation in terms of lines
2910 // access, so if the user code may estimate the average height
2911 // better/faster than we do, it should override this function to implement
2912 // its own logic
2913 //
2914 // this function should return the best guess for the total height it may
2915 // make
2916 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2917
2918
2919 // Also expose some other interesting protected methods
2920
2921
2922 // find the index of the line we need to show at the top of the window such
2923 // that the last (fully or partially) visible line is the given one
2924 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2925 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2926
2927 // get the total height of the lines between lineMin (inclusive) and
2928 // lineMax (exclusive)
2929 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2930 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2931
2932 // update the thumb size shown by the scrollbar
2933 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2934
2935 // remove the scrollbar completely because we don't need it
2936 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2937
2938 PYPRIVATE;
2939 };
2940
2941 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2942
2943 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2944 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2945 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2946
2947
2948 SWIGINTERN int
2949 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2950 {
2951 long v = 0;
2952 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2953 return SWIG_TypeError;
2954 }
2955 else if (val)
2956 *val = (unsigned long)v;
2957 return SWIG_OK;
2958 }
2959
2960
2961 SWIGINTERNINLINE int
2962 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2963 {
2964 unsigned long v;
2965 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2966 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2967 return res;
2968 }
2969
2970
2971 SWIGINTERNINLINE PyObject*
2972 SWIG_From_unsigned_SS_long (unsigned long value)
2973 {
2974 return (value > LONG_MAX) ?
2975 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2976 }
2977
2978
2979 SWIGINTERNINLINE PyObject *
2980 SWIG_From_size_t (size_t value)
2981 {
2982 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2983 }
2984
2985
2986 #include <wx/vlbox.h>
2987
2988 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2989
2990 class wxPyVListBox : public wxVListBox
2991 {
2992 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2993 public:
2994 wxPyVListBox() : wxVListBox() {}
2995
2996 wxPyVListBox(wxWindow *parent,
2997 wxWindowID id = wxID_ANY,
2998 const wxPoint& pos = wxDefaultPosition,
2999 const wxSize& size = wxDefaultSize,
3000 long style = 0,
3001 const wxString& name = wxPyVListBoxNameStr)
3002 : wxVListBox(parent, id, pos, size, style, name)
3003 {}
3004
3005 // Overridable virtuals
3006
3007 // the derived class must implement this function to actually draw the item
3008 // with the given index on the provided DC
3009 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3010 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3011
3012
3013 // the derived class must implement this method to return the height of the
3014 // specified item
3015 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3016 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3017
3018
3019 // this method may be used to draw separators between the lines; note that
3020 // the rectangle may be modified, typically to deflate it a bit before
3021 // passing to OnDrawItem()
3022 //
3023 // the base class version doesn't do anything
3024 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3025 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3026
3027
3028 // this method is used to draw the items background and, maybe, a border
3029 // around it
3030 //
3031 // the base class version implements a reasonable default behaviour which
3032 // consists in drawing the selected item with the standard background
3033 // colour and drawing a border around the item if it is either selected or
3034 // current
3035 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3036 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3037
3038
3039 PYPRIVATE;
3040 };
3041
3042 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3043
3044 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3045 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3046 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3047 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3048
3049
3050 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3051 unsigned long cookie = 0;
3052 int selected = self->GetFirstSelected(cookie);
3053 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3054 PyObject* tup = PyTuple_New(2);
3055 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3056 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3057 wxPyEndBlockThreads(blocked);
3058 return tup;
3059 }
3060 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3061 int selected = self->GetNextSelected(cookie);
3062 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3063 PyObject* tup = PyTuple_New(2);
3064 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3065 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3066 wxPyEndBlockThreads(blocked);
3067 return tup;
3068 }
3069
3070 #include <wx/htmllbox.h>
3071
3072
3073 class wxPyHtmlListBox : public wxHtmlListBox
3074 {
3075 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3076 public:
3077 wxPyHtmlListBox() : wxHtmlListBox() {}
3078
3079 wxPyHtmlListBox(wxWindow *parent,
3080 wxWindowID id = wxID_ANY,
3081 const wxPoint& pos = wxDefaultPosition,
3082 const wxSize& size = wxDefaultSize,
3083 long style = 0,
3084 const wxString& name = wxPyVListBoxNameStr)
3085 : wxHtmlListBox(parent, id, pos, size, style, name)
3086 {}
3087
3088 // Overridable virtuals
3089
3090 // this method must be implemented in the derived class and should return
3091 // the body (i.e. without <html>) of the HTML for the given item
3092 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3093
3094 // this function may be overridden to decorate HTML returned by OnGetItem()
3095 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3096
3097 // These are from wxVListBox
3098 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3099 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3100
3101 // TODO:
3102 // // this method allows to customize the selection appearance: it may be used
3103 // // to specify the colour of the text which normally has the given colour
3104 // // colFg when it is inside the selection
3105 // //
3106 // // by default, the original colour is not used at all and all text has the
3107 // // same (default for this system) colour inside selection
3108 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3109
3110 // // this is the same as GetSelectedTextColour() but allows to customize the
3111 // // background colour -- this is even more rarely used as you can change it
3112 // // globally using SetSelectionBackground()
3113 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3114
3115
3116 // This method may be overriden to handle clicking on a link in
3117 // the listbox. By default, clicking links is ignored.
3118 virtual void OnLinkClicked(size_t n,
3119 const wxHtmlLinkInfo& link);
3120
3121 PYPRIVATE;
3122 };
3123
3124
3125 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3126
3127 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3128 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3129 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3130 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3131
3132
3133 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3134 const wxHtmlLinkInfo& link) {
3135 bool found;
3136 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3137 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3138 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3139 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3140 Py_DECREF(obj);
3141 }
3142 wxPyEndBlockThreads(blocked);
3143 if (! found)
3144 wxPyHtmlListBox::OnLinkClicked(n, link);
3145 }
3146
3147
3148
3149
3150
3151 #ifndef wxHAS_TASK_BAR_ICON
3152 // implement dummy classes for platforms that don't have it
3153
3154 class wxTaskBarIcon : public wxEvtHandler
3155 {
3156 public:
3157 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3158 };
3159
3160
3161 class wxTaskBarIconEvent : public wxEvent
3162 {
3163 public:
3164 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3165 { wxPyRaiseNotImplemented(); }
3166 virtual wxEvent* Clone() const { return NULL; }
3167 bool IsOk() const { return false; }
3168 bool IsIconInstalled() const { return false; }
3169 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3170 bool RemoveIcon() { return false; }
3171 bool PopupMenu(wxMenu *menu) { return false; }
3172 };
3173
3174 enum {
3175 wxEVT_TASKBAR_MOVE = 0,
3176 wxEVT_TASKBAR_LEFT_DOWN = 0,
3177 wxEVT_TASKBAR_LEFT_UP = 0,
3178 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3179 wxEVT_TASKBAR_RIGHT_UP = 0,
3180 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3181 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3182 };
3183
3184
3185 #else
3186 // Otherwise make a class that can virtualize CreatePopupMenu
3187 class wxPyTaskBarIcon : public wxTaskBarIcon
3188 {
3189 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3190 public:
3191 wxPyTaskBarIcon() : wxTaskBarIcon()
3192 {}
3193
3194 wxMenu* CreatePopupMenu() {
3195 wxMenu *rval = NULL;
3196 bool found;
3197 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3198 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3199 PyObject* ro;
3200 wxMenu* ptr;
3201 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3202 if (ro) {
3203 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3204 rval = ptr;
3205 Py_DECREF(ro);
3206 }
3207 }
3208 wxPyEndBlockThreads(blocked);
3209 if (! found)
3210 rval = wxTaskBarIcon::CreatePopupMenu();
3211 return rval;
3212 }
3213
3214 PYPRIVATE;
3215 };
3216
3217 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3218
3219 #endif
3220
3221 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3222 self->RemoveIcon();
3223 delete self;
3224 }
3225 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3226 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3227 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3228 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3229 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3230 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3231
3232 // for compatibility only
3233 #define wxHIDE_READONLY 0
3234
3235 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3236 wxArrayString arr;
3237 self->GetFilenames(arr);
3238 return wxArrayString2PyList_helper(arr);
3239 }
3240 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3241 wxArrayString arr;
3242 self->GetPaths(arr);
3243 return wxArrayString2PyList_helper(arr);
3244 }
3245 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3246 return wxArrayInt2PyList_helper(self->GetSelections());
3247 }
3248 SWIGINTERN wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
3249 return new wxSingleChoiceDialog(parent, message, caption,
3250 choices, choices_array, NULL, style, pos);
3251 }
3252 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3253
3254 SWIGINTERNINLINE PyObject*
3255 SWIG_From_bool (bool value)
3256 {
3257 return PyBool_FromLong(value ? 1 : 0);
3258 }
3259
3260
3261 #include <wx/mdi.h>
3262
3263 // C++ version of Python aware wxWindow
3264 class wxPyWindow : public wxWindow
3265 {
3266 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3267 public:
3268 wxPyWindow() : wxWindow() {}
3269 wxPyWindow(wxWindow* parent, const wxWindowID id,
3270 const wxPoint& pos = wxDefaultPosition,
3271 const wxSize& size = wxDefaultSize,
3272 long style = 0,
3273 const wxString& name = wxPyPanelNameStr)
3274 : wxWindow(parent, id, pos, size, style, name) {}
3275
3276 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3277
3278 bool DoEraseBackground(wxDC* dc) {
3279 #ifdef __WXMSW__
3280 return wxWindow::DoEraseBackground(dc->GetHDC());
3281 #else
3282 dc->SetBackground(wxBrush(GetBackgroundColour()));
3283 dc->Clear();
3284 return true;
3285 #endif
3286 }
3287
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3292
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3296
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3299
3300 DEC_PYCALLBACK__(InitDialog);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3303 DEC_PYCALLBACK_BOOL_(Validate);
3304
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3308
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3311
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3314
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3316
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3318
3319 PYPRIVATE;
3320 };
3321
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3323
3324 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3328
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3332
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3335
3336 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3337 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3340
3341 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3342 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3343 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3344
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3347
3348 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3350
3351 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3352
3353 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3354
3355 // C++ version of Python aware wxPanel
3356 class wxPyPanel : public wxPanel
3357 {
3358 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3359 public:
3360 wxPyPanel() : wxPanel() {}
3361 wxPyPanel(wxWindow* parent, const wxWindowID id,
3362 const wxPoint& pos = wxDefaultPosition,
3363 const wxSize& size = wxDefaultSize,
3364 long style = 0,
3365 const wxString& name = wxPyPanelNameStr)
3366 : wxPanel(parent, id, pos, size, style, name) {}
3367
3368 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3369 bool DoEraseBackground(wxDC* dc) {
3370 #ifdef __WXMSW__
3371 return wxWindow::DoEraseBackground(dc->GetHDC());
3372 #else
3373 dc->SetBackground(wxBrush(GetBackgroundColour()));
3374 dc->Clear();
3375 return true;
3376 #endif
3377 }
3378
3379
3380 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3381 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3382 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3383 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3384
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3388
3389 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3390 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3391
3392 DEC_PYCALLBACK__(InitDialog);
3393 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3394 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3395 DEC_PYCALLBACK_BOOL_(Validate);
3396
3397 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3398 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3399 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3400
3401 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3402 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3403
3404 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3405 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3406
3407 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3408
3409 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3410
3411 PYPRIVATE;
3412 };
3413
3414 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3415
3416 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3417 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3419 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3420
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3424
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3426 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3427
3428 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3432
3433 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3434 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3436
3437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3438 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3439
3440 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3441 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3442
3443 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3444
3445 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3446
3447 // C++ version of Python aware wxScrolledWindow
3448 class wxPyScrolledWindow : public wxScrolledWindow
3449 {
3450 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3451 public:
3452 wxPyScrolledWindow() : wxScrolledWindow() {}
3453 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3454 const wxPoint& pos = wxDefaultPosition,
3455 const wxSize& size = wxDefaultSize,
3456 long style = 0,
3457 const wxString& name = wxPyPanelNameStr)
3458 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3459
3460 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3461 bool DoEraseBackground(wxDC* dc) {
3462 #ifdef __WXMSW__
3463 return wxWindow::DoEraseBackground(dc->GetHDC());
3464 #else
3465 dc->SetBackground(wxBrush(GetBackgroundColour()));
3466 dc->Clear();
3467 return true;
3468 #endif
3469 }
3470
3471 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3472 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3473 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3474 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3475
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3479
3480 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3481 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3482
3483 DEC_PYCALLBACK__(InitDialog);
3484 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3485 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3486 DEC_PYCALLBACK_BOOL_(Validate);
3487
3488 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3489 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3490 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3491
3492 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3493 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3494
3495 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3496 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3497
3498 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3499
3500 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3501
3502 PYPRIVATE;
3503 };
3504
3505 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3506
3507 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3508 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3511
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3515
3516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3518
3519 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3523
3524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3527
3528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3530
3531 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3532 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3533
3534 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3535
3536 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3537
3538
3539 #include "wx/wxPython/printfw.h"
3540
3541
3542 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3543 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3544 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3545 PyObject* data;
3546 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3547 data = PyString_FromStringAndSize(self->GetPrivData(),
3548 self->GetPrivDataLen());
3549 wxPyEndBlockThreads(blocked);
3550 return data;
3551 }
3552 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3553 if (! PyString_Check(data)) {
3554 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3555 "Expected string object"));
3556 return /* NULL */ ;
3557 }
3558
3559 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3560 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3561 wxPyEndBlockThreads(blocked);
3562 }
3563
3564
3565 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3566
3567 // Since this one would be tough and ugly to do with the Macros...
3568 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3569 bool hadErr = false;
3570 bool found;
3571
3572 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3573 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3574 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3575 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3576 PyObject* val;
3577
3578 val = PyTuple_GetItem(result, 0);
3579 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3580 else hadErr = true;
3581
3582 val = PyTuple_GetItem(result, 1);
3583 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3584 else hadErr = true;
3585
3586 val = PyTuple_GetItem(result, 2);
3587 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3588 else hadErr = true;
3589
3590 val = PyTuple_GetItem(result, 3);
3591 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3592 else hadErr = true;
3593 }
3594 else
3595 hadErr = true;
3596
3597 if (hadErr) {
3598 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3599 PyErr_Print();
3600 }
3601 Py_DECREF(result);
3602 }
3603 wxPyEndBlockThreads(blocked);
3604 if (! found)
3605 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3606 }
3607
3608
3609
3610 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3611 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3612 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3613 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3614 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3615 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3616 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3617
3618
3619
3620
3621
3622 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3623 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3624
3625
3626 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3627 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3628 bool rval=false; \
3629 bool found; \
3630 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3631 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3632 PyObject* win = wxPyMake_wxObject(a,false); \
3633 PyObject* dc = wxPyMake_wxObject(&b,false); \
3634 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3635 Py_DECREF(win); \
3636 Py_DECREF(dc); \
3637 } \
3638 wxPyEndBlockThreads(blocked); \
3639 if (! found) \
3640 rval = PCLASS::CBNAME(a, b); \
3641 return rval; \
3642 }
3643
3644
3645
3646
3647 class wxPyPrintPreview : public wxPrintPreview
3648 {
3649 DECLARE_CLASS(wxPyPrintPreview)
3650 public:
3651 wxPyPrintPreview(wxPyPrintout* printout,
3652 wxPyPrintout* printoutForPrinting,
3653 wxPrintDialogData* data=NULL)
3654 : wxPrintPreview(printout, printoutForPrinting, data)
3655 {}
3656 wxPyPrintPreview(wxPyPrintout* printout,
3657 wxPyPrintout* printoutForPrinting,
3658 wxPrintData* data)
3659 : wxPrintPreview(printout, printoutForPrinting, data)
3660 {}
3661
3662 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3663 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3664 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3665 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3666 DEC_PYCALLBACK_VOID_INT(SetZoom);
3667 DEC_PYCALLBACK_BOOL_BOOL(Print);
3668 DEC_PYCALLBACK_VOID_(DetermineScaling);
3669
3670 PYPRIVATE;
3671 };
3672
3673 // Stupid renamed classes... Fix this in 2.5...
3674 #if defined(__WXMSW__)
3675 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3676 #elif defined(__WXMAC__)
3677 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3678 #else
3679 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3680 #endif
3681
3682 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3683 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3684 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3685 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3686 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3687 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3688 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3689
3690
3691 class wxPyPreviewFrame : public wxPreviewFrame
3692 {
3693 DECLARE_CLASS(wxPyPreviewFrame)
3694 public:
3695 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3696 const wxString& title,
3697 const wxPoint& pos = wxDefaultPosition,
3698 const wxSize& size = wxDefaultSize,
3699 long style = wxDEFAULT_FRAME_STYLE,
3700 const wxString& name = wxPyFrameNameStr)
3701 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3702 {}
3703
3704 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3705 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3706
3707 DEC_PYCALLBACK_VOID_(Initialize);
3708 DEC_PYCALLBACK_VOID_(CreateCanvas);
3709 DEC_PYCALLBACK_VOID_(CreateControlBar);
3710
3711 PYPRIVATE;
3712 };
3713
3714 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3715
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3719
3720
3721 class wxPyPreviewControlBar : public wxPreviewControlBar
3722 {
3723 DECLARE_CLASS(wxPyPreviewControlBar)
3724 public:
3725 wxPyPreviewControlBar(wxPrintPreview *preview,
3726 long buttons,
3727 wxWindow *parent,
3728 const wxPoint& pos = wxDefaultPosition,
3729 const wxSize& size = wxDefaultSize,
3730 long style = 0,
3731 const wxString& name = wxPyPanelNameStr)
3732 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3733 {}
3734
3735 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3736
3737 DEC_PYCALLBACK_VOID_(CreateButtons);
3738 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3739
3740 PYPRIVATE;
3741 };
3742
3743 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3744 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3745 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3746
3747 #ifdef __cplusplus
3748 extern "C" {
3749 #endif
3750 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3751 PyObject *resultobj = 0;
3752 wxWindow *arg1 = (wxWindow *) 0 ;
3753 int arg2 = (int) (int)-1 ;
3754 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3755 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3756 wxSize const &arg4_defvalue = wxDefaultSize ;
3757 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3758 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3759 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3760 wxString *arg6 = (wxString *) &arg6_defvalue ;
3761 wxPanel *result = 0 ;
3762 void *argp1 = 0 ;
3763 int res1 = 0 ;
3764 int val2 ;
3765 int ecode2 = 0 ;
3766 wxPoint temp3 ;
3767 wxSize temp4 ;
3768 long val5 ;
3769 int ecode5 = 0 ;
3770 bool temp6 = false ;
3771 PyObject * obj0 = 0 ;
3772 PyObject * obj1 = 0 ;
3773 PyObject * obj2 = 0 ;
3774 PyObject * obj3 = 0 ;
3775 PyObject * obj4 = 0 ;
3776 PyObject * obj5 = 0 ;
3777 char * kwnames[] = {
3778 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3779 };
3780
3781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3783 if (!SWIG_IsOK(res1)) {
3784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3785 }
3786 arg1 = reinterpret_cast< wxWindow * >(argp1);
3787 if (obj1) {
3788 ecode2 = SWIG_AsVal_int(obj1, &val2);
3789 if (!SWIG_IsOK(ecode2)) {
3790 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3791 }
3792 arg2 = static_cast< int >(val2);
3793 }
3794 if (obj2) {
3795 {
3796 arg3 = &temp3;
3797 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3798 }
3799 }
3800 if (obj3) {
3801 {
3802 arg4 = &temp4;
3803 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3804 }
3805 }
3806 if (obj4) {
3807 ecode5 = SWIG_AsVal_long(obj4, &val5);
3808 if (!SWIG_IsOK(ecode5)) {
3809 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3810 }
3811 arg5 = static_cast< long >(val5);
3812 }
3813 if (obj5) {
3814 {
3815 arg6 = wxString_in_helper(obj5);
3816 if (arg6 == NULL) SWIG_fail;
3817 temp6 = true;
3818 }
3819 }
3820 {
3821 if (!wxPyCheckForApp()) SWIG_fail;
3822 PyThreadState* __tstate = wxPyBeginAllowThreads();
3823 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3824 wxPyEndAllowThreads(__tstate);
3825 if (PyErr_Occurred()) SWIG_fail;
3826 }
3827 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3828 {
3829 if (temp6)
3830 delete arg6;
3831 }
3832 return resultobj;
3833 fail:
3834 {
3835 if (temp6)
3836 delete arg6;
3837 }
3838 return NULL;
3839 }
3840
3841
3842 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3843 PyObject *resultobj = 0;
3844 wxPanel *result = 0 ;
3845
3846 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3847 {
3848 if (!wxPyCheckForApp()) SWIG_fail;
3849 PyThreadState* __tstate = wxPyBeginAllowThreads();
3850 result = (wxPanel *)new wxPanel();
3851 wxPyEndAllowThreads(__tstate);
3852 if (PyErr_Occurred()) SWIG_fail;
3853 }
3854 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3855 return resultobj;
3856 fail:
3857 return NULL;
3858 }
3859
3860
3861 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3862 PyObject *resultobj = 0;
3863 wxPanel *arg1 = (wxPanel *) 0 ;
3864 wxWindow *arg2 = (wxWindow *) 0 ;
3865 int arg3 = (int) (int)-1 ;
3866 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3867 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3868 wxSize const &arg5_defvalue = wxDefaultSize ;
3869 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3870 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3871 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3872 wxString *arg7 = (wxString *) &arg7_defvalue ;
3873 bool result;
3874 void *argp1 = 0 ;
3875 int res1 = 0 ;
3876 void *argp2 = 0 ;
3877 int res2 = 0 ;
3878 int val3 ;
3879 int ecode3 = 0 ;
3880 wxPoint temp4 ;
3881 wxSize temp5 ;
3882 long val6 ;
3883 int ecode6 = 0 ;
3884 bool temp7 = false ;
3885 PyObject * obj0 = 0 ;
3886 PyObject * obj1 = 0 ;
3887 PyObject * obj2 = 0 ;
3888 PyObject * obj3 = 0 ;
3889 PyObject * obj4 = 0 ;
3890 PyObject * obj5 = 0 ;
3891 PyObject * obj6 = 0 ;
3892 char * kwnames[] = {
3893 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3894 };
3895
3896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3898 if (!SWIG_IsOK(res1)) {
3899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3900 }
3901 arg1 = reinterpret_cast< wxPanel * >(argp1);
3902 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3903 if (!SWIG_IsOK(res2)) {
3904 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3905 }
3906 arg2 = reinterpret_cast< wxWindow * >(argp2);
3907 if (obj2) {
3908 ecode3 = SWIG_AsVal_int(obj2, &val3);
3909 if (!SWIG_IsOK(ecode3)) {
3910 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3911 }
3912 arg3 = static_cast< int >(val3);
3913 }
3914 if (obj3) {
3915 {
3916 arg4 = &temp4;
3917 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3918 }
3919 }
3920 if (obj4) {
3921 {
3922 arg5 = &temp5;
3923 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3924 }
3925 }
3926 if (obj5) {
3927 ecode6 = SWIG_AsVal_long(obj5, &val6);
3928 if (!SWIG_IsOK(ecode6)) {
3929 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3930 }
3931 arg6 = static_cast< long >(val6);
3932 }
3933 if (obj6) {
3934 {
3935 arg7 = wxString_in_helper(obj6);
3936 if (arg7 == NULL) SWIG_fail;
3937 temp7 = true;
3938 }
3939 }
3940 {
3941 PyThreadState* __tstate = wxPyBeginAllowThreads();
3942 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3943 wxPyEndAllowThreads(__tstate);
3944 if (PyErr_Occurred()) SWIG_fail;
3945 }
3946 {
3947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3948 }
3949 {
3950 if (temp7)
3951 delete arg7;
3952 }
3953 return resultobj;
3954 fail:
3955 {
3956 if (temp7)
3957 delete arg7;
3958 }
3959 return NULL;
3960 }
3961
3962
3963 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3964 PyObject *resultobj = 0;
3965 wxPanel *arg1 = (wxPanel *) 0 ;
3966 void *argp1 = 0 ;
3967 int res1 = 0 ;
3968 PyObject *swig_obj[1] ;
3969
3970 if (!args) SWIG_fail;
3971 swig_obj[0] = args;
3972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3973 if (!SWIG_IsOK(res1)) {
3974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3975 }
3976 arg1 = reinterpret_cast< wxPanel * >(argp1);
3977 {
3978 PyThreadState* __tstate = wxPyBeginAllowThreads();
3979 (arg1)->SetFocusIgnoringChildren();
3980 wxPyEndAllowThreads(__tstate);
3981 if (PyErr_Occurred()) SWIG_fail;
3982 }
3983 resultobj = SWIG_Py_Void();
3984 return resultobj;
3985 fail:
3986 return NULL;
3987 }
3988
3989
3990 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3991 PyObject *resultobj = 0;
3992 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3993 SwigValueWrapper<wxVisualAttributes > result;
3994 int val1 ;
3995 int ecode1 = 0 ;
3996 PyObject * obj0 = 0 ;
3997 char * kwnames[] = {
3998 (char *) "variant", NULL
3999 };
4000
4001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4002 if (obj0) {
4003 ecode1 = SWIG_AsVal_int(obj0, &val1);
4004 if (!SWIG_IsOK(ecode1)) {
4005 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4006 }
4007 arg1 = static_cast< wxWindowVariant >(val1);
4008 }
4009 {
4010 if (!wxPyCheckForApp()) SWIG_fail;
4011 PyThreadState* __tstate = wxPyBeginAllowThreads();
4012 result = wxPanel::GetClassDefaultAttributes(arg1);
4013 wxPyEndAllowThreads(__tstate);
4014 if (PyErr_Occurred()) SWIG_fail;
4015 }
4016 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4017 return resultobj;
4018 fail:
4019 return NULL;
4020 }
4021
4022
4023 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4024 PyObject *obj;
4025 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4026 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4027 return SWIG_Py_Void();
4028 }
4029
4030 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4031 return SWIG_Python_InitShadowInstance(args);
4032 }
4033
4034 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4035 PyObject *resultobj = 0;
4036 wxWindow *arg1 = (wxWindow *) 0 ;
4037 int arg2 = (int) (int)-1 ;
4038 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4039 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4040 wxSize const &arg4_defvalue = wxDefaultSize ;
4041 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4042 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4043 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4044 wxString *arg6 = (wxString *) &arg6_defvalue ;
4045 wxScrolledWindow *result = 0 ;
4046 void *argp1 = 0 ;
4047 int res1 = 0 ;
4048 int val2 ;
4049 int ecode2 = 0 ;
4050 wxPoint temp3 ;
4051 wxSize temp4 ;
4052 long val5 ;
4053 int ecode5 = 0 ;
4054 bool temp6 = false ;
4055 PyObject * obj0 = 0 ;
4056 PyObject * obj1 = 0 ;
4057 PyObject * obj2 = 0 ;
4058 PyObject * obj3 = 0 ;
4059 PyObject * obj4 = 0 ;
4060 PyObject * obj5 = 0 ;
4061 char * kwnames[] = {
4062 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4063 };
4064
4065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4067 if (!SWIG_IsOK(res1)) {
4068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4069 }
4070 arg1 = reinterpret_cast< wxWindow * >(argp1);
4071 if (obj1) {
4072 ecode2 = SWIG_AsVal_int(obj1, &val2);
4073 if (!SWIG_IsOK(ecode2)) {
4074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4075 }
4076 arg2 = static_cast< int >(val2);
4077 }
4078 if (obj2) {
4079 {
4080 arg3 = &temp3;
4081 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4082 }
4083 }
4084 if (obj3) {
4085 {
4086 arg4 = &temp4;
4087 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4088 }
4089 }
4090 if (obj4) {
4091 ecode5 = SWIG_AsVal_long(obj4, &val5);
4092 if (!SWIG_IsOK(ecode5)) {
4093 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4094 }
4095 arg5 = static_cast< long >(val5);
4096 }
4097 if (obj5) {
4098 {
4099 arg6 = wxString_in_helper(obj5);
4100 if (arg6 == NULL) SWIG_fail;
4101 temp6 = true;
4102 }
4103 }
4104 {
4105 if (!wxPyCheckForApp()) SWIG_fail;
4106 PyThreadState* __tstate = wxPyBeginAllowThreads();
4107 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4108 wxPyEndAllowThreads(__tstate);
4109 if (PyErr_Occurred()) SWIG_fail;
4110 }
4111 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4112 {
4113 if (temp6)
4114 delete arg6;
4115 }
4116 return resultobj;
4117 fail:
4118 {
4119 if (temp6)
4120 delete arg6;
4121 }
4122 return NULL;
4123 }
4124
4125
4126 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4127 PyObject *resultobj = 0;
4128 wxScrolledWindow *result = 0 ;
4129
4130 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4131 {
4132 if (!wxPyCheckForApp()) SWIG_fail;
4133 PyThreadState* __tstate = wxPyBeginAllowThreads();
4134 result = (wxScrolledWindow *)new wxScrolledWindow();
4135 wxPyEndAllowThreads(__tstate);
4136 if (PyErr_Occurred()) SWIG_fail;
4137 }
4138 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4139 return resultobj;
4140 fail:
4141 return NULL;
4142 }
4143
4144
4145 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4146 PyObject *resultobj = 0;
4147 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4148 wxWindow *arg2 = (wxWindow *) 0 ;
4149 int arg3 = (int) (int)-1 ;
4150 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4151 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4152 wxSize const &arg5_defvalue = wxDefaultSize ;
4153 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4154 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4155 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4156 wxString *arg7 = (wxString *) &arg7_defvalue ;
4157 bool result;
4158 void *argp1 = 0 ;
4159 int res1 = 0 ;
4160 void *argp2 = 0 ;
4161 int res2 = 0 ;
4162 int val3 ;
4163 int ecode3 = 0 ;
4164 wxPoint temp4 ;
4165 wxSize temp5 ;
4166 long val6 ;
4167 int ecode6 = 0 ;
4168 bool temp7 = false ;
4169 PyObject * obj0 = 0 ;
4170 PyObject * obj1 = 0 ;
4171 PyObject * obj2 = 0 ;
4172 PyObject * obj3 = 0 ;
4173 PyObject * obj4 = 0 ;
4174 PyObject * obj5 = 0 ;
4175 PyObject * obj6 = 0 ;
4176 char * kwnames[] = {
4177 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4178 };
4179
4180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4182 if (!SWIG_IsOK(res1)) {
4183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4184 }
4185 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4186 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4187 if (!SWIG_IsOK(res2)) {
4188 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4189 }
4190 arg2 = reinterpret_cast< wxWindow * >(argp2);
4191 if (obj2) {
4192 ecode3 = SWIG_AsVal_int(obj2, &val3);
4193 if (!SWIG_IsOK(ecode3)) {
4194 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4195 }
4196 arg3 = static_cast< int >(val3);
4197 }
4198 if (obj3) {
4199 {
4200 arg4 = &temp4;
4201 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4202 }
4203 }
4204 if (obj4) {
4205 {
4206 arg5 = &temp5;
4207 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4208 }
4209 }
4210 if (obj5) {
4211 ecode6 = SWIG_AsVal_long(obj5, &val6);
4212 if (!SWIG_IsOK(ecode6)) {
4213 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4214 }
4215 arg6 = static_cast< long >(val6);
4216 }
4217 if (obj6) {
4218 {
4219 arg7 = wxString_in_helper(obj6);
4220 if (arg7 == NULL) SWIG_fail;
4221 temp7 = true;
4222 }
4223 }
4224 {
4225 PyThreadState* __tstate = wxPyBeginAllowThreads();
4226 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4227 wxPyEndAllowThreads(__tstate);
4228 if (PyErr_Occurred()) SWIG_fail;
4229 }
4230 {
4231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4232 }
4233 {
4234 if (temp7)
4235 delete arg7;
4236 }
4237 return resultobj;
4238 fail:
4239 {
4240 if (temp7)
4241 delete arg7;
4242 }
4243 return NULL;
4244 }
4245
4246
4247 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4248 PyObject *resultobj = 0;
4249 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4250 int arg2 ;
4251 int arg3 ;
4252 int arg4 ;
4253 int arg5 ;
4254 int arg6 = (int) 0 ;
4255 int arg7 = (int) 0 ;
4256 bool arg8 = (bool) false ;
4257 void *argp1 = 0 ;
4258 int res1 = 0 ;
4259 int val2 ;
4260 int ecode2 = 0 ;
4261 int val3 ;
4262 int ecode3 = 0 ;
4263 int val4 ;
4264 int ecode4 = 0 ;
4265 int val5 ;
4266 int ecode5 = 0 ;
4267 int val6 ;
4268 int ecode6 = 0 ;
4269 int val7 ;
4270 int ecode7 = 0 ;
4271 bool val8 ;
4272 int ecode8 = 0 ;
4273 PyObject * obj0 = 0 ;
4274 PyObject * obj1 = 0 ;
4275 PyObject * obj2 = 0 ;
4276 PyObject * obj3 = 0 ;
4277 PyObject * obj4 = 0 ;
4278 PyObject * obj5 = 0 ;
4279 PyObject * obj6 = 0 ;
4280 PyObject * obj7 = 0 ;
4281 char * kwnames[] = {
4282 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4283 };
4284
4285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4287 if (!SWIG_IsOK(res1)) {
4288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4289 }
4290 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4291 ecode2 = SWIG_AsVal_int(obj1, &val2);
4292 if (!SWIG_IsOK(ecode2)) {
4293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4294 }
4295 arg2 = static_cast< int >(val2);
4296 ecode3 = SWIG_AsVal_int(obj2, &val3);
4297 if (!SWIG_IsOK(ecode3)) {
4298 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4299 }
4300 arg3 = static_cast< int >(val3);
4301 ecode4 = SWIG_AsVal_int(obj3, &val4);
4302 if (!SWIG_IsOK(ecode4)) {
4303 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4304 }
4305 arg4 = static_cast< int >(val4);
4306 ecode5 = SWIG_AsVal_int(obj4, &val5);
4307 if (!SWIG_IsOK(ecode5)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4309 }
4310 arg5 = static_cast< int >(val5);
4311 if (obj5) {
4312 ecode6 = SWIG_AsVal_int(obj5, &val6);
4313 if (!SWIG_IsOK(ecode6)) {
4314 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4315 }
4316 arg6 = static_cast< int >(val6);
4317 }
4318 if (obj6) {
4319 ecode7 = SWIG_AsVal_int(obj6, &val7);
4320 if (!SWIG_IsOK(ecode7)) {
4321 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4322 }
4323 arg7 = static_cast< int >(val7);
4324 }
4325 if (obj7) {
4326 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4327 if (!SWIG_IsOK(ecode8)) {
4328 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4329 }
4330 arg8 = static_cast< bool >(val8);
4331 }
4332 {
4333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4334 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4335 wxPyEndAllowThreads(__tstate);
4336 if (PyErr_Occurred()) SWIG_fail;
4337 }
4338 resultobj = SWIG_Py_Void();
4339 return resultobj;
4340 fail:
4341 return NULL;
4342 }
4343
4344
4345 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4346 PyObject *resultobj = 0;
4347 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4348 int arg2 ;
4349 int arg3 ;
4350 void *argp1 = 0 ;
4351 int res1 = 0 ;
4352 int val2 ;
4353 int ecode2 = 0 ;
4354 int val3 ;
4355 int ecode3 = 0 ;
4356 PyObject * obj0 = 0 ;
4357 PyObject * obj1 = 0 ;
4358 PyObject * obj2 = 0 ;
4359 char * kwnames[] = {
4360 (char *) "self",(char *) "x",(char *) "y", NULL
4361 };
4362
4363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4365 if (!SWIG_IsOK(res1)) {
4366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4367 }
4368 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4369 ecode2 = SWIG_AsVal_int(obj1, &val2);
4370 if (!SWIG_IsOK(ecode2)) {
4371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4372 }
4373 arg2 = static_cast< int >(val2);
4374 ecode3 = SWIG_AsVal_int(obj2, &val3);
4375 if (!SWIG_IsOK(ecode3)) {
4376 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4377 }
4378 arg3 = static_cast< int >(val3);
4379 {
4380 PyThreadState* __tstate = wxPyBeginAllowThreads();
4381 (arg1)->Scroll(arg2,arg3);
4382 wxPyEndAllowThreads(__tstate);
4383 if (PyErr_Occurred()) SWIG_fail;
4384 }
4385 resultobj = SWIG_Py_Void();
4386 return resultobj;
4387 fail:
4388 return NULL;
4389 }
4390
4391
4392 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4393 PyObject *resultobj = 0;
4394 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4395 int arg2 ;
4396 int result;
4397 void *argp1 = 0 ;
4398 int res1 = 0 ;
4399 int val2 ;
4400 int ecode2 = 0 ;
4401 PyObject * obj0 = 0 ;
4402 PyObject * obj1 = 0 ;
4403 char * kwnames[] = {
4404 (char *) "self",(char *) "orient", NULL
4405 };
4406
4407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4409 if (!SWIG_IsOK(res1)) {
4410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4411 }
4412 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4413 ecode2 = SWIG_AsVal_int(obj1, &val2);
4414 if (!SWIG_IsOK(ecode2)) {
4415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4416 }
4417 arg2 = static_cast< int >(val2);
4418 {
4419 PyThreadState* __tstate = wxPyBeginAllowThreads();
4420 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4421 wxPyEndAllowThreads(__tstate);
4422 if (PyErr_Occurred()) SWIG_fail;
4423 }
4424 resultobj = SWIG_From_int(static_cast< int >(result));
4425 return resultobj;
4426 fail:
4427 return NULL;
4428 }
4429
4430
4431 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4432 PyObject *resultobj = 0;
4433 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4434 int arg2 ;
4435 int arg3 ;
4436 void *argp1 = 0 ;
4437 int res1 = 0 ;
4438 int val2 ;
4439 int ecode2 = 0 ;
4440 int val3 ;
4441 int ecode3 = 0 ;
4442 PyObject * obj0 = 0 ;
4443 PyObject * obj1 = 0 ;
4444 PyObject * obj2 = 0 ;
4445 char * kwnames[] = {
4446 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4447 };
4448
4449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4451 if (!SWIG_IsOK(res1)) {
4452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4453 }
4454 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4455 ecode2 = SWIG_AsVal_int(obj1, &val2);
4456 if (!SWIG_IsOK(ecode2)) {
4457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4458 }
4459 arg2 = static_cast< int >(val2);
4460 ecode3 = SWIG_AsVal_int(obj2, &val3);
4461 if (!SWIG_IsOK(ecode3)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4463 }
4464 arg3 = static_cast< int >(val3);
4465 {
4466 PyThreadState* __tstate = wxPyBeginAllowThreads();
4467 (arg1)->SetScrollPageSize(arg2,arg3);
4468 wxPyEndAllowThreads(__tstate);
4469 if (PyErr_Occurred()) SWIG_fail;
4470 }
4471 resultobj = SWIG_Py_Void();
4472 return resultobj;
4473 fail:
4474 return NULL;
4475 }
4476
4477
4478 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4479 PyObject *resultobj = 0;
4480 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4481 int arg2 ;
4482 int arg3 ;
4483 void *argp1 = 0 ;
4484 int res1 = 0 ;
4485 int val2 ;
4486 int ecode2 = 0 ;
4487 int val3 ;
4488 int ecode3 = 0 ;
4489 PyObject * obj0 = 0 ;
4490 PyObject * obj1 = 0 ;
4491 PyObject * obj2 = 0 ;
4492 char * kwnames[] = {
4493 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4494 };
4495
4496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4498 if (!SWIG_IsOK(res1)) {
4499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4500 }
4501 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4502 ecode2 = SWIG_AsVal_int(obj1, &val2);
4503 if (!SWIG_IsOK(ecode2)) {
4504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4505 }
4506 arg2 = static_cast< int >(val2);
4507 ecode3 = SWIG_AsVal_int(obj2, &val3);
4508 if (!SWIG_IsOK(ecode3)) {
4509 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4510 }
4511 arg3 = static_cast< int >(val3);
4512 {
4513 PyThreadState* __tstate = wxPyBeginAllowThreads();
4514 (arg1)->SetScrollRate(arg2,arg3);
4515 wxPyEndAllowThreads(__tstate);
4516 if (PyErr_Occurred()) SWIG_fail;
4517 }
4518 resultobj = SWIG_Py_Void();
4519 return resultobj;
4520 fail:
4521 return NULL;
4522 }
4523
4524
4525 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4526 PyObject *resultobj = 0;
4527 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4528 int *arg2 = (int *) 0 ;
4529 int *arg3 = (int *) 0 ;
4530 void *argp1 = 0 ;
4531 int res1 = 0 ;
4532 int temp2 ;
4533 int res2 = SWIG_TMPOBJ ;
4534 int temp3 ;
4535 int res3 = SWIG_TMPOBJ ;
4536 PyObject *swig_obj[1] ;
4537
4538 arg2 = &temp2;
4539 arg3 = &temp3;
4540 if (!args) SWIG_fail;
4541 swig_obj[0] = args;
4542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4543 if (!SWIG_IsOK(res1)) {
4544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4545 }
4546 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4547 {
4548 PyThreadState* __tstate = wxPyBeginAllowThreads();
4549 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4550 wxPyEndAllowThreads(__tstate);
4551 if (PyErr_Occurred()) SWIG_fail;
4552 }
4553 resultobj = SWIG_Py_Void();
4554 if (SWIG_IsTmpObj(res2)) {
4555 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4556 } else {
4557 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4558 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4559 }
4560 if (SWIG_IsTmpObj(res3)) {
4561 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4562 } else {
4563 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4564 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4565 }
4566 return resultobj;
4567 fail:
4568 return NULL;
4569 }
4570
4571
4572 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4573 PyObject *resultobj = 0;
4574 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4575 bool arg2 ;
4576 bool arg3 ;
4577 void *argp1 = 0 ;
4578 int res1 = 0 ;
4579 bool val2 ;
4580 int ecode2 = 0 ;
4581 bool val3 ;
4582 int ecode3 = 0 ;
4583 PyObject * obj0 = 0 ;
4584 PyObject * obj1 = 0 ;
4585 PyObject * obj2 = 0 ;
4586 char * kwnames[] = {
4587 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4588 };
4589
4590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4592 if (!SWIG_IsOK(res1)) {
4593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4594 }
4595 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4596 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4597 if (!SWIG_IsOK(ecode2)) {
4598 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4599 }
4600 arg2 = static_cast< bool >(val2);
4601 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4602 if (!SWIG_IsOK(ecode3)) {
4603 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4604 }
4605 arg3 = static_cast< bool >(val3);
4606 {
4607 PyThreadState* __tstate = wxPyBeginAllowThreads();
4608 (arg1)->EnableScrolling(arg2,arg3);
4609 wxPyEndAllowThreads(__tstate);
4610 if (PyErr_Occurred()) SWIG_fail;
4611 }
4612 resultobj = SWIG_Py_Void();
4613 return resultobj;
4614 fail:
4615 return NULL;
4616 }
4617
4618
4619 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4620 PyObject *resultobj = 0;
4621 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4622 int *arg2 = (int *) 0 ;
4623 int *arg3 = (int *) 0 ;
4624 void *argp1 = 0 ;
4625 int res1 = 0 ;
4626 int temp2 ;
4627 int res2 = SWIG_TMPOBJ ;
4628 int temp3 ;
4629 int res3 = SWIG_TMPOBJ ;
4630 PyObject *swig_obj[1] ;
4631
4632 arg2 = &temp2;
4633 arg3 = &temp3;
4634 if (!args) SWIG_fail;
4635 swig_obj[0] = args;
4636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4637 if (!SWIG_IsOK(res1)) {
4638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4639 }
4640 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4641 {
4642 PyThreadState* __tstate = wxPyBeginAllowThreads();
4643 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4644 wxPyEndAllowThreads(__tstate);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 }
4647 resultobj = SWIG_Py_Void();
4648 if (SWIG_IsTmpObj(res2)) {
4649 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4650 } else {
4651 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4652 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4653 }
4654 if (SWIG_IsTmpObj(res3)) {
4655 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4656 } else {
4657 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4658 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4659 }
4660 return resultobj;
4661 fail:
4662 return NULL;
4663 }
4664
4665
4666 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4667 PyObject *resultobj = 0;
4668 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4669 double arg2 ;
4670 double arg3 ;
4671 void *argp1 = 0 ;
4672 int res1 = 0 ;
4673 double val2 ;
4674 int ecode2 = 0 ;
4675 double val3 ;
4676 int ecode3 = 0 ;
4677 PyObject * obj0 = 0 ;
4678 PyObject * obj1 = 0 ;
4679 PyObject * obj2 = 0 ;
4680 char * kwnames[] = {
4681 (char *) "self",(char *) "xs",(char *) "ys", NULL
4682 };
4683
4684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4686 if (!SWIG_IsOK(res1)) {
4687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4688 }
4689 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4690 ecode2 = SWIG_AsVal_double(obj1, &val2);
4691 if (!SWIG_IsOK(ecode2)) {
4692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4693 }
4694 arg2 = static_cast< double >(val2);
4695 ecode3 = SWIG_AsVal_double(obj2, &val3);
4696 if (!SWIG_IsOK(ecode3)) {
4697 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4698 }
4699 arg3 = static_cast< double >(val3);
4700 {
4701 PyThreadState* __tstate = wxPyBeginAllowThreads();
4702 (arg1)->SetScale(arg2,arg3);
4703 wxPyEndAllowThreads(__tstate);
4704 if (PyErr_Occurred()) SWIG_fail;
4705 }
4706 resultobj = SWIG_Py_Void();
4707 return resultobj;
4708 fail:
4709 return NULL;
4710 }
4711
4712
4713 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4714 PyObject *resultobj = 0;
4715 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4716 double result;
4717 void *argp1 = 0 ;
4718 int res1 = 0 ;
4719 PyObject *swig_obj[1] ;
4720
4721 if (!args) SWIG_fail;
4722 swig_obj[0] = args;
4723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4724 if (!SWIG_IsOK(res1)) {
4725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4726 }
4727 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4728 {
4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
4730 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4734 resultobj = SWIG_From_double(static_cast< double >(result));
4735 return resultobj;
4736 fail:
4737 return NULL;
4738 }
4739
4740
4741 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4742 PyObject *resultobj = 0;
4743 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4744 double result;
4745 void *argp1 = 0 ;
4746 int res1 = 0 ;
4747 PyObject *swig_obj[1] ;
4748
4749 if (!args) SWIG_fail;
4750 swig_obj[0] = args;
4751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4752 if (!SWIG_IsOK(res1)) {
4753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4754 }
4755 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4756 {
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4759 wxPyEndAllowThreads(__tstate);
4760 if (PyErr_Occurred()) SWIG_fail;
4761 }
4762 resultobj = SWIG_From_double(static_cast< double >(result));
4763 return resultobj;
4764 fail:
4765 return NULL;
4766 }
4767
4768
4769 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4770 PyObject *resultobj = 0;
4771 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4772 wxPoint *arg2 = 0 ;
4773 wxPoint result;
4774 void *argp1 = 0 ;
4775 int res1 = 0 ;
4776 wxPoint temp2 ;
4777
4778 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4780 if (!SWIG_IsOK(res1)) {
4781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4782 }
4783 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4784 {
4785 arg2 = &temp2;
4786 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4787 }
4788 {
4789 PyThreadState* __tstate = wxPyBeginAllowThreads();
4790 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4791 wxPyEndAllowThreads(__tstate);
4792 if (PyErr_Occurred()) SWIG_fail;
4793 }
4794 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4795 return resultobj;
4796 fail:
4797 return NULL;
4798 }
4799
4800
4801 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4802 PyObject *resultobj = 0;
4803 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4804 int arg2 ;
4805 int arg3 ;
4806 int *arg4 = (int *) 0 ;
4807 int *arg5 = (int *) 0 ;
4808 void *argp1 = 0 ;
4809 int res1 = 0 ;
4810 int val2 ;
4811 int ecode2 = 0 ;
4812 int val3 ;
4813 int ecode3 = 0 ;
4814 int temp4 ;
4815 int res4 = SWIG_TMPOBJ ;
4816 int temp5 ;
4817 int res5 = SWIG_TMPOBJ ;
4818
4819 arg4 = &temp4;
4820 arg5 = &temp5;
4821 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4823 if (!SWIG_IsOK(res1)) {
4824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4825 }
4826 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4827 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4828 if (!SWIG_IsOK(ecode2)) {
4829 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4830 }
4831 arg2 = static_cast< int >(val2);
4832 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4833 if (!SWIG_IsOK(ecode3)) {
4834 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4835 }
4836 arg3 = static_cast< int >(val3);
4837 {
4838 PyThreadState* __tstate = wxPyBeginAllowThreads();
4839 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4840 wxPyEndAllowThreads(__tstate);
4841 if (PyErr_Occurred()) SWIG_fail;
4842 }
4843 resultobj = SWIG_Py_Void();
4844 if (SWIG_IsTmpObj(res4)) {
4845 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4846 } else {
4847 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4848 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4849 }
4850 if (SWIG_IsTmpObj(res5)) {
4851 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4852 } else {
4853 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4854 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4855 }
4856 return resultobj;
4857 fail:
4858 return NULL;
4859 }
4860
4861
4862 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4863 int argc;
4864 PyObject *argv[4];
4865
4866 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4867 --argc;
4868 if (argc == 2) {
4869 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4870 }
4871 if (argc == 3) {
4872 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4873 }
4874
4875 fail:
4876 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4877 return NULL;
4878 }
4879
4880
4881 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4882 PyObject *resultobj = 0;
4883 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4884 wxPoint *arg2 = 0 ;
4885 wxPoint result;
4886 void *argp1 = 0 ;
4887 int res1 = 0 ;
4888 wxPoint temp2 ;
4889
4890 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4891 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4892 if (!SWIG_IsOK(res1)) {
4893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4894 }
4895 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4896 {
4897 arg2 = &temp2;
4898 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4899 }
4900 {
4901 PyThreadState* __tstate = wxPyBeginAllowThreads();
4902 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4903 wxPyEndAllowThreads(__tstate);
4904 if (PyErr_Occurred()) SWIG_fail;
4905 }
4906 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4907 return resultobj;
4908 fail:
4909 return NULL;
4910 }
4911
4912
4913 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4914 PyObject *resultobj = 0;
4915 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4916 int arg2 ;
4917 int arg3 ;
4918 int *arg4 = (int *) 0 ;
4919 int *arg5 = (int *) 0 ;
4920 void *argp1 = 0 ;
4921 int res1 = 0 ;
4922 int val2 ;
4923 int ecode2 = 0 ;
4924 int val3 ;
4925 int ecode3 = 0 ;
4926 int temp4 ;
4927 int res4 = SWIG_TMPOBJ ;
4928 int temp5 ;
4929 int res5 = SWIG_TMPOBJ ;
4930
4931 arg4 = &temp4;
4932 arg5 = &temp5;
4933 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4935 if (!SWIG_IsOK(res1)) {
4936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4937 }
4938 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4939 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4940 if (!SWIG_IsOK(ecode2)) {
4941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4942 }
4943 arg2 = static_cast< int >(val2);
4944 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4945 if (!SWIG_IsOK(ecode3)) {
4946 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4947 }
4948 arg3 = static_cast< int >(val3);
4949 {
4950 PyThreadState* __tstate = wxPyBeginAllowThreads();
4951 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4952 wxPyEndAllowThreads(__tstate);
4953 if (PyErr_Occurred()) SWIG_fail;
4954 }
4955 resultobj = SWIG_Py_Void();
4956 if (SWIG_IsTmpObj(res4)) {
4957 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4958 } else {
4959 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4960 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4961 }
4962 if (SWIG_IsTmpObj(res5)) {
4963 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4964 } else {
4965 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4966 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4967 }
4968 return resultobj;
4969 fail:
4970 return NULL;
4971 }
4972
4973
4974 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4975 int argc;
4976 PyObject *argv[4];
4977
4978 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4979 --argc;
4980 if (argc == 2) {
4981 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4982 }
4983 if (argc == 3) {
4984 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4985 }
4986
4987 fail:
4988 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4989 return NULL;
4990 }
4991
4992
4993 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4994 PyObject *resultobj = 0;
4995 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4996 void *argp1 = 0 ;
4997 int res1 = 0 ;
4998 PyObject *swig_obj[1] ;
4999
5000 if (!args) SWIG_fail;
5001 swig_obj[0] = args;
5002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5003 if (!SWIG_IsOK(res1)) {
5004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5005 }
5006 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5007 {
5008 PyThreadState* __tstate = wxPyBeginAllowThreads();
5009 (arg1)->AdjustScrollbars();
5010 wxPyEndAllowThreads(__tstate);
5011 if (PyErr_Occurred()) SWIG_fail;
5012 }
5013 resultobj = SWIG_Py_Void();
5014 return resultobj;
5015 fail:
5016 return NULL;
5017 }
5018
5019
5020 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5021 PyObject *resultobj = 0;
5022 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5023 wxScrollWinEvent *arg2 = 0 ;
5024 int result;
5025 void *argp1 = 0 ;
5026 int res1 = 0 ;
5027 void *argp2 = 0 ;
5028 int res2 = 0 ;
5029 PyObject * obj0 = 0 ;
5030 PyObject * obj1 = 0 ;
5031 char * kwnames[] = {
5032 (char *) "self",(char *) "event", NULL
5033 };
5034
5035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5037 if (!SWIG_IsOK(res1)) {
5038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5039 }
5040 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5041 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5042 if (!SWIG_IsOK(res2)) {
5043 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5044 }
5045 if (!argp2) {
5046 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5047 }
5048 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5049 {
5050 PyThreadState* __tstate = wxPyBeginAllowThreads();
5051 result = (int)(arg1)->CalcScrollInc(*arg2);
5052 wxPyEndAllowThreads(__tstate);
5053 if (PyErr_Occurred()) SWIG_fail;
5054 }
5055 resultobj = SWIG_From_int(static_cast< int >(result));
5056 return resultobj;
5057 fail:
5058 return NULL;
5059 }
5060
5061
5062 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5063 PyObject *resultobj = 0;
5064 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5065 wxWindow *arg2 = (wxWindow *) 0 ;
5066 void *argp1 = 0 ;
5067 int res1 = 0 ;
5068 void *argp2 = 0 ;
5069 int res2 = 0 ;
5070 PyObject * obj0 = 0 ;
5071 PyObject * obj1 = 0 ;
5072 char * kwnames[] = {
5073 (char *) "self",(char *) "target", NULL
5074 };
5075
5076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5078 if (!SWIG_IsOK(res1)) {
5079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5080 }
5081 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5082 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5083 if (!SWIG_IsOK(res2)) {
5084 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5085 }
5086 arg2 = reinterpret_cast< wxWindow * >(argp2);
5087 {
5088 PyThreadState* __tstate = wxPyBeginAllowThreads();
5089 (arg1)->SetTargetWindow(arg2);
5090 wxPyEndAllowThreads(__tstate);
5091 if (PyErr_Occurred()) SWIG_fail;
5092 }
5093 resultobj = SWIG_Py_Void();
5094 return resultobj;
5095 fail:
5096 return NULL;
5097 }
5098
5099
5100 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5101 PyObject *resultobj = 0;
5102 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5103 wxWindow *result = 0 ;
5104 void *argp1 = 0 ;
5105 int res1 = 0 ;
5106 PyObject *swig_obj[1] ;
5107
5108 if (!args) SWIG_fail;
5109 swig_obj[0] = args;
5110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5111 if (!SWIG_IsOK(res1)) {
5112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5113 }
5114 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5115 {
5116 PyThreadState* __tstate = wxPyBeginAllowThreads();
5117 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5118 wxPyEndAllowThreads(__tstate);
5119 if (PyErr_Occurred()) SWIG_fail;
5120 }
5121 {
5122 resultobj = wxPyMake_wxObject(result, 0);
5123 }
5124 return resultobj;
5125 fail:
5126 return NULL;
5127 }
5128
5129
5130 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5131 PyObject *resultobj = 0;
5132 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5133 wxRect *arg2 = 0 ;
5134 void *argp1 = 0 ;
5135 int res1 = 0 ;
5136 wxRect temp2 ;
5137 PyObject * obj0 = 0 ;
5138 PyObject * obj1 = 0 ;
5139 char * kwnames[] = {
5140 (char *) "self",(char *) "rect", NULL
5141 };
5142
5143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5145 if (!SWIG_IsOK(res1)) {
5146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5147 }
5148 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5149 {
5150 arg2 = &temp2;
5151 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5152 }
5153 {
5154 PyThreadState* __tstate = wxPyBeginAllowThreads();
5155 (arg1)->SetTargetRect((wxRect const &)*arg2);
5156 wxPyEndAllowThreads(__tstate);
5157 if (PyErr_Occurred()) SWIG_fail;
5158 }
5159 resultobj = SWIG_Py_Void();
5160 return resultobj;
5161 fail:
5162 return NULL;
5163 }
5164
5165
5166 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5167 PyObject *resultobj = 0;
5168 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5169 wxRect result;
5170 void *argp1 = 0 ;
5171 int res1 = 0 ;
5172 PyObject *swig_obj[1] ;
5173
5174 if (!args) SWIG_fail;
5175 swig_obj[0] = args;
5176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5177 if (!SWIG_IsOK(res1)) {
5178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5179 }
5180 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5181 {
5182 PyThreadState* __tstate = wxPyBeginAllowThreads();
5183 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5184 wxPyEndAllowThreads(__tstate);
5185 if (PyErr_Occurred()) SWIG_fail;
5186 }
5187 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5188 return resultobj;
5189 fail:
5190 return NULL;
5191 }
5192
5193
5194 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5195 PyObject *resultobj = 0;
5196 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5197 wxDC *arg2 = 0 ;
5198 void *argp1 = 0 ;
5199 int res1 = 0 ;
5200 void *argp2 = 0 ;
5201 int res2 = 0 ;
5202 PyObject * obj0 = 0 ;
5203 PyObject * obj1 = 0 ;
5204 char * kwnames[] = {
5205 (char *) "self",(char *) "dc", NULL
5206 };
5207
5208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5210 if (!SWIG_IsOK(res1)) {
5211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5212 }
5213 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5214 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5215 if (!SWIG_IsOK(res2)) {
5216 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5217 }
5218 if (!argp2) {
5219 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5220 }
5221 arg2 = reinterpret_cast< wxDC * >(argp2);
5222 {
5223 PyThreadState* __tstate = wxPyBeginAllowThreads();
5224 (arg1)->DoPrepareDC(*arg2);
5225 wxPyEndAllowThreads(__tstate);
5226 if (PyErr_Occurred()) SWIG_fail;
5227 }
5228 resultobj = SWIG_Py_Void();
5229 return resultobj;
5230 fail:
5231 return NULL;
5232 }
5233
5234
5235 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5236 PyObject *resultobj = 0;
5237 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5238 SwigValueWrapper<wxVisualAttributes > result;
5239 int val1 ;
5240 int ecode1 = 0 ;
5241 PyObject * obj0 = 0 ;
5242 char * kwnames[] = {
5243 (char *) "variant", NULL
5244 };
5245
5246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5247 if (obj0) {
5248 ecode1 = SWIG_AsVal_int(obj0, &val1);
5249 if (!SWIG_IsOK(ecode1)) {
5250 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5251 }
5252 arg1 = static_cast< wxWindowVariant >(val1);
5253 }
5254 {
5255 if (!wxPyCheckForApp()) SWIG_fail;
5256 PyThreadState* __tstate = wxPyBeginAllowThreads();
5257 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5258 wxPyEndAllowThreads(__tstate);
5259 if (PyErr_Occurred()) SWIG_fail;
5260 }
5261 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5262 return resultobj;
5263 fail:
5264 return NULL;
5265 }
5266
5267
5268 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5269 PyObject *obj;
5270 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5271 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5272 return SWIG_Py_Void();
5273 }
5274
5275 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5276 return SWIG_Python_InitShadowInstance(args);
5277 }
5278
5279 SWIGINTERN int FrameNameStr_set(PyObject *) {
5280 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5281 return 1;
5282 }
5283
5284
5285 SWIGINTERN PyObject *FrameNameStr_get(void) {
5286 PyObject *pyobj = 0;
5287
5288 {
5289 #if wxUSE_UNICODE
5290 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5291 #else
5292 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5293 #endif
5294 }
5295 return pyobj;
5296 }
5297
5298
5299 SWIGINTERN int DialogNameStr_set(PyObject *) {
5300 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5301 return 1;
5302 }
5303
5304
5305 SWIGINTERN PyObject *DialogNameStr_get(void) {
5306 PyObject *pyobj = 0;
5307
5308 {
5309 #if wxUSE_UNICODE
5310 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5311 #else
5312 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5313 #endif
5314 }
5315 return pyobj;
5316 }
5317
5318
5319 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5320 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5321 return 1;
5322 }
5323
5324
5325 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5326 PyObject *pyobj = 0;
5327
5328 {
5329 #if wxUSE_UNICODE
5330 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5331 #else
5332 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5333 #endif
5334 }
5335 return pyobj;
5336 }
5337
5338
5339 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5340 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5341 return 1;
5342 }
5343
5344
5345 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5346 PyObject *pyobj = 0;
5347
5348 {
5349 #if wxUSE_UNICODE
5350 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5351 #else
5352 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5353 #endif
5354 }
5355 return pyobj;
5356 }
5357
5358
5359 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5360 PyObject *resultobj = 0;
5361 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5362 bool arg2 = (bool) true ;
5363 void *argp1 = 0 ;
5364 int res1 = 0 ;
5365 bool val2 ;
5366 int ecode2 = 0 ;
5367 PyObject * obj0 = 0 ;
5368 PyObject * obj1 = 0 ;
5369 char * kwnames[] = {
5370 (char *) "self",(char *) "maximize", NULL
5371 };
5372
5373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5375 if (!SWIG_IsOK(res1)) {
5376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5377 }
5378 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5379 if (obj1) {
5380 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5381 if (!SWIG_IsOK(ecode2)) {
5382 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5383 }
5384 arg2 = static_cast< bool >(val2);
5385 }
5386 {
5387 PyThreadState* __tstate = wxPyBeginAllowThreads();
5388 (arg1)->Maximize(arg2);
5389 wxPyEndAllowThreads(__tstate);
5390 if (PyErr_Occurred()) SWIG_fail;
5391 }
5392 resultobj = SWIG_Py_Void();
5393 return resultobj;
5394 fail:
5395 return NULL;
5396 }
5397
5398
5399 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5400 PyObject *resultobj = 0;
5401 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5402 void *argp1 = 0 ;
5403 int res1 = 0 ;
5404 PyObject *swig_obj[1] ;
5405
5406 if (!args) SWIG_fail;
5407 swig_obj[0] = args;
5408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5409 if (!SWIG_IsOK(res1)) {
5410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5411 }
5412 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5413 {
5414 PyThreadState* __tstate = wxPyBeginAllowThreads();
5415 (arg1)->Restore();
5416 wxPyEndAllowThreads(__tstate);
5417 if (PyErr_Occurred()) SWIG_fail;
5418 }
5419 resultobj = SWIG_Py_Void();
5420 return resultobj;
5421 fail:
5422 return NULL;
5423 }
5424
5425
5426 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5427 PyObject *resultobj = 0;
5428 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5429 bool arg2 = (bool) true ;
5430 void *argp1 = 0 ;
5431 int res1 = 0 ;
5432 bool val2 ;
5433 int ecode2 = 0 ;
5434 PyObject * obj0 = 0 ;
5435 PyObject * obj1 = 0 ;
5436 char * kwnames[] = {
5437 (char *) "self",(char *) "iconize", NULL
5438 };
5439
5440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5442 if (!SWIG_IsOK(res1)) {
5443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5444 }
5445 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5446 if (obj1) {
5447 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5448 if (!SWIG_IsOK(ecode2)) {
5449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5450 }
5451 arg2 = static_cast< bool >(val2);
5452 }
5453 {
5454 PyThreadState* __tstate = wxPyBeginAllowThreads();
5455 (arg1)->Iconize(arg2);
5456 wxPyEndAllowThreads(__tstate);
5457 if (PyErr_Occurred()) SWIG_fail;
5458 }
5459 resultobj = SWIG_Py_Void();
5460 return resultobj;
5461 fail:
5462 return NULL;
5463 }
5464
5465
5466 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5467 PyObject *resultobj = 0;
5468 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5469 bool result;
5470 void *argp1 = 0 ;
5471 int res1 = 0 ;
5472 PyObject *swig_obj[1] ;
5473
5474 if (!args) SWIG_fail;
5475 swig_obj[0] = args;
5476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5477 if (!SWIG_IsOK(res1)) {
5478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5479 }
5480 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5481 {
5482 PyThreadState* __tstate = wxPyBeginAllowThreads();
5483 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5484 wxPyEndAllowThreads(__tstate);
5485 if (PyErr_Occurred()) SWIG_fail;
5486 }
5487 {
5488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5489 }
5490 return resultobj;
5491 fail:
5492 return NULL;
5493 }
5494
5495
5496 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5497 PyObject *resultobj = 0;
5498 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5499 bool result;
5500 void *argp1 = 0 ;
5501 int res1 = 0 ;
5502 PyObject *swig_obj[1] ;
5503
5504 if (!args) SWIG_fail;
5505 swig_obj[0] = args;
5506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5507 if (!SWIG_IsOK(res1)) {
5508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5509 }
5510 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5511 {
5512 PyThreadState* __tstate = wxPyBeginAllowThreads();
5513 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5514 wxPyEndAllowThreads(__tstate);
5515 if (PyErr_Occurred()) SWIG_fail;
5516 }
5517 {
5518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5519 }
5520 return resultobj;
5521 fail:
5522 return NULL;
5523 }
5524
5525
5526 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5527 PyObject *resultobj = 0;
5528 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5529 bool result;
5530 void *argp1 = 0 ;
5531 int res1 = 0 ;
5532 PyObject *swig_obj[1] ;
5533
5534 if (!args) SWIG_fail;
5535 swig_obj[0] = args;
5536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5537 if (!SWIG_IsOK(res1)) {
5538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5539 }
5540 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5541 {
5542 PyThreadState* __tstate = wxPyBeginAllowThreads();
5543 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5544 wxPyEndAllowThreads(__tstate);
5545 if (PyErr_Occurred()) SWIG_fail;
5546 }
5547 {
5548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5549 }
5550 return resultobj;
5551 fail:
5552 return NULL;
5553 }
5554
5555
5556 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5557 PyObject *resultobj = 0;
5558 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5559 wxIcon result;
5560 void *argp1 = 0 ;
5561 int res1 = 0 ;
5562 PyObject *swig_obj[1] ;
5563
5564 if (!args) SWIG_fail;
5565 swig_obj[0] = args;
5566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5567 if (!SWIG_IsOK(res1)) {
5568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5569 }
5570 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5571 {
5572 PyThreadState* __tstate = wxPyBeginAllowThreads();
5573 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5574 wxPyEndAllowThreads(__tstate);
5575 if (PyErr_Occurred()) SWIG_fail;
5576 }
5577 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5578 return resultobj;
5579 fail:
5580 return NULL;
5581 }
5582
5583
5584 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5585 PyObject *resultobj = 0;
5586 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5587 wxIcon *arg2 = 0 ;
5588 void *argp1 = 0 ;
5589 int res1 = 0 ;
5590 void *argp2 = 0 ;
5591 int res2 = 0 ;
5592 PyObject * obj0 = 0 ;
5593 PyObject * obj1 = 0 ;
5594 char * kwnames[] = {
5595 (char *) "self",(char *) "icon", NULL
5596 };
5597
5598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5600 if (!SWIG_IsOK(res1)) {
5601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5602 }
5603 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5604 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5605 if (!SWIG_IsOK(res2)) {
5606 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5607 }
5608 if (!argp2) {
5609 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5610 }
5611 arg2 = reinterpret_cast< wxIcon * >(argp2);
5612 {
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 (arg1)->SetIcon((wxIcon const &)*arg2);
5615 wxPyEndAllowThreads(__tstate);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 }
5618 resultobj = SWIG_Py_Void();
5619 return resultobj;
5620 fail:
5621 return NULL;
5622 }
5623
5624
5625 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5626 PyObject *resultobj = 0;
5627 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5628 wxIconBundle *arg2 = 0 ;
5629 void *argp1 = 0 ;
5630 int res1 = 0 ;
5631 void *argp2 = 0 ;
5632 int res2 = 0 ;
5633 PyObject * obj0 = 0 ;
5634 PyObject * obj1 = 0 ;
5635 char * kwnames[] = {
5636 (char *) "self",(char *) "icons", NULL
5637 };
5638
5639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5641 if (!SWIG_IsOK(res1)) {
5642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5643 }
5644 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5645 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5646 if (!SWIG_IsOK(res2)) {
5647 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5648 }
5649 if (!argp2) {
5650 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5651 }
5652 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5653 {
5654 PyThreadState* __tstate = wxPyBeginAllowThreads();
5655 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5656 wxPyEndAllowThreads(__tstate);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 }
5659 resultobj = SWIG_Py_Void();
5660 return resultobj;
5661 fail:
5662 return NULL;
5663 }
5664
5665
5666 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5667 PyObject *resultobj = 0;
5668 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5669 bool arg2 ;
5670 long arg3 = (long) wxFULLSCREEN_ALL ;
5671 bool result;
5672 void *argp1 = 0 ;
5673 int res1 = 0 ;
5674 bool val2 ;
5675 int ecode2 = 0 ;
5676 long val3 ;
5677 int ecode3 = 0 ;
5678 PyObject * obj0 = 0 ;
5679 PyObject * obj1 = 0 ;
5680 PyObject * obj2 = 0 ;
5681 char * kwnames[] = {
5682 (char *) "self",(char *) "show",(char *) "style", NULL
5683 };
5684
5685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5687 if (!SWIG_IsOK(res1)) {
5688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5689 }
5690 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5691 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5692 if (!SWIG_IsOK(ecode2)) {
5693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5694 }
5695 arg2 = static_cast< bool >(val2);
5696 if (obj2) {
5697 ecode3 = SWIG_AsVal_long(obj2, &val3);
5698 if (!SWIG_IsOK(ecode3)) {
5699 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5700 }
5701 arg3 = static_cast< long >(val3);
5702 }
5703 {
5704 PyThreadState* __tstate = wxPyBeginAllowThreads();
5705 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5706 wxPyEndAllowThreads(__tstate);
5707 if (PyErr_Occurred()) SWIG_fail;
5708 }
5709 {
5710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5711 }
5712 return resultobj;
5713 fail:
5714 return NULL;
5715 }
5716
5717
5718 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5719 PyObject *resultobj = 0;
5720 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5721 bool result;
5722 void *argp1 = 0 ;
5723 int res1 = 0 ;
5724 PyObject *swig_obj[1] ;
5725
5726 if (!args) SWIG_fail;
5727 swig_obj[0] = args;
5728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5729 if (!SWIG_IsOK(res1)) {
5730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5731 }
5732 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5733 {
5734 PyThreadState* __tstate = wxPyBeginAllowThreads();
5735 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 {
5740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5741 }
5742 return resultobj;
5743 fail:
5744 return NULL;
5745 }
5746
5747
5748 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5749 PyObject *resultobj = 0;
5750 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5751 wxString *arg2 = 0 ;
5752 void *argp1 = 0 ;
5753 int res1 = 0 ;
5754 bool temp2 = false ;
5755 PyObject * obj0 = 0 ;
5756 PyObject * obj1 = 0 ;
5757 char * kwnames[] = {
5758 (char *) "self",(char *) "title", NULL
5759 };
5760
5761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5763 if (!SWIG_IsOK(res1)) {
5764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5765 }
5766 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5767 {
5768 arg2 = wxString_in_helper(obj1);
5769 if (arg2 == NULL) SWIG_fail;
5770 temp2 = true;
5771 }
5772 {
5773 PyThreadState* __tstate = wxPyBeginAllowThreads();
5774 (arg1)->SetTitle((wxString const &)*arg2);
5775 wxPyEndAllowThreads(__tstate);
5776 if (PyErr_Occurred()) SWIG_fail;
5777 }
5778 resultobj = SWIG_Py_Void();
5779 {
5780 if (temp2)
5781 delete arg2;
5782 }
5783 return resultobj;
5784 fail:
5785 {
5786 if (temp2)
5787 delete arg2;
5788 }
5789 return NULL;
5790 }
5791
5792
5793 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5794 PyObject *resultobj = 0;
5795 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5796 wxString result;
5797 void *argp1 = 0 ;
5798 int res1 = 0 ;
5799 PyObject *swig_obj[1] ;
5800
5801 if (!args) SWIG_fail;
5802 swig_obj[0] = args;
5803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5804 if (!SWIG_IsOK(res1)) {
5805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5806 }
5807 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5808 {
5809 PyThreadState* __tstate = wxPyBeginAllowThreads();
5810 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5811 wxPyEndAllowThreads(__tstate);
5812 if (PyErr_Occurred()) SWIG_fail;
5813 }
5814 {
5815 #if wxUSE_UNICODE
5816 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5817 #else
5818 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5819 #endif
5820 }
5821 return resultobj;
5822 fail:
5823 return NULL;
5824 }
5825
5826
5827 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5828 PyObject *resultobj = 0;
5829 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5830 bool arg2 ;
5831 bool result;
5832 void *argp1 = 0 ;
5833 int res1 = 0 ;
5834 bool val2 ;
5835 int ecode2 = 0 ;
5836 PyObject * obj0 = 0 ;
5837 PyObject * obj1 = 0 ;
5838 char * kwnames[] = {
5839 (char *) "self",(char *) "enable", NULL
5840 };
5841
5842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5844 if (!SWIG_IsOK(res1)) {
5845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5846 }
5847 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5848 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5849 if (!SWIG_IsOK(ecode2)) {
5850 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5851 }
5852 arg2 = static_cast< bool >(val2);
5853 {
5854 PyThreadState* __tstate = wxPyBeginAllowThreads();
5855 result = (bool)(arg1)->EnableCloseButton(arg2);
5856 wxPyEndAllowThreads(__tstate);
5857 if (PyErr_Occurred()) SWIG_fail;
5858 }
5859 {
5860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5861 }
5862 return resultobj;
5863 fail:
5864 return NULL;
5865 }
5866
5867
5868 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5869 PyObject *resultobj = 0;
5870 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5871 wxRegion *arg2 = 0 ;
5872 bool result;
5873 void *argp1 = 0 ;
5874 int res1 = 0 ;
5875 void *argp2 = 0 ;
5876 int res2 = 0 ;
5877 PyObject * obj0 = 0 ;
5878 PyObject * obj1 = 0 ;
5879 char * kwnames[] = {
5880 (char *) "self",(char *) "region", NULL
5881 };
5882
5883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5885 if (!SWIG_IsOK(res1)) {
5886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5887 }
5888 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5889 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5890 if (!SWIG_IsOK(res2)) {
5891 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5892 }
5893 if (!argp2) {
5894 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5895 }
5896 arg2 = reinterpret_cast< wxRegion * >(argp2);
5897 {
5898 PyThreadState* __tstate = wxPyBeginAllowThreads();
5899 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5900 wxPyEndAllowThreads(__tstate);
5901 if (PyErr_Occurred()) SWIG_fail;
5902 }
5903 {
5904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5905 }
5906 return resultobj;
5907 fail:
5908 return NULL;
5909 }
5910
5911
5912 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5913 PyObject *resultobj = 0;
5914 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5915 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5916 void *argp1 = 0 ;
5917 int res1 = 0 ;
5918 int val2 ;
5919 int ecode2 = 0 ;
5920 PyObject * obj0 = 0 ;
5921 PyObject * obj1 = 0 ;
5922 char * kwnames[] = {
5923 (char *) "self",(char *) "flags", NULL
5924 };
5925
5926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5928 if (!SWIG_IsOK(res1)) {
5929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5930 }
5931 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5932 if (obj1) {
5933 ecode2 = SWIG_AsVal_int(obj1, &val2);
5934 if (!SWIG_IsOK(ecode2)) {
5935 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5936 }
5937 arg2 = static_cast< int >(val2);
5938 }
5939 {
5940 PyThreadState* __tstate = wxPyBeginAllowThreads();
5941 (arg1)->RequestUserAttention(arg2);
5942 wxPyEndAllowThreads(__tstate);
5943 if (PyErr_Occurred()) SWIG_fail;
5944 }
5945 resultobj = SWIG_Py_Void();
5946 return resultobj;
5947 fail:
5948 return NULL;
5949 }
5950
5951
5952 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5953 PyObject *resultobj = 0;
5954 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5955 bool result;
5956 void *argp1 = 0 ;
5957 int res1 = 0 ;
5958 PyObject *swig_obj[1] ;
5959
5960 if (!args) SWIG_fail;
5961 swig_obj[0] = args;
5962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5963 if (!SWIG_IsOK(res1)) {
5964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5965 }
5966 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5967 {
5968 PyThreadState* __tstate = wxPyBeginAllowThreads();
5969 result = (bool)(arg1)->IsActive();
5970 wxPyEndAllowThreads(__tstate);
5971 if (PyErr_Occurred()) SWIG_fail;
5972 }
5973 {
5974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5975 }
5976 return resultobj;
5977 fail:
5978 return NULL;
5979 }
5980
5981
5982 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5983 PyObject *resultobj = 0;
5984 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5985 bool arg2 ;
5986 void *argp1 = 0 ;
5987 int res1 = 0 ;
5988 bool val2 ;
5989 int ecode2 = 0 ;
5990 PyObject * obj0 = 0 ;
5991 PyObject * obj1 = 0 ;
5992 char * kwnames[] = {
5993 (char *) "self",(char *) "on", NULL
5994 };
5995
5996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5998 if (!SWIG_IsOK(res1)) {
5999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6000 }
6001 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6002 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6003 if (!SWIG_IsOK(ecode2)) {
6004 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6005 }
6006 arg2 = static_cast< bool >(val2);
6007 {
6008 PyThreadState* __tstate = wxPyBeginAllowThreads();
6009 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
6010 wxPyEndAllowThreads(__tstate);
6011 if (PyErr_Occurred()) SWIG_fail;
6012 }
6013 resultobj = SWIG_Py_Void();
6014 return resultobj;
6015 fail:
6016 return NULL;
6017 }
6018
6019
6020 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6021 PyObject *resultobj = 0;
6022 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6023 bool result;
6024 void *argp1 = 0 ;
6025 int res1 = 0 ;
6026 PyObject *swig_obj[1] ;
6027
6028 if (!args) SWIG_fail;
6029 swig_obj[0] = args;
6030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6031 if (!SWIG_IsOK(res1)) {
6032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6033 }
6034 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6035 {
6036 PyThreadState* __tstate = wxPyBeginAllowThreads();
6037 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
6038 wxPyEndAllowThreads(__tstate);
6039 if (PyErr_Occurred()) SWIG_fail;
6040 }
6041 {
6042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6043 }
6044 return resultobj;
6045 fail:
6046 return NULL;
6047 }
6048
6049
6050 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6051 PyObject *resultobj = 0;
6052 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6053 int arg2 = (int) wxBOTH ;
6054 void *argp1 = 0 ;
6055 int res1 = 0 ;
6056 int val2 ;
6057 int ecode2 = 0 ;
6058 PyObject * obj0 = 0 ;
6059 PyObject * obj1 = 0 ;
6060 char * kwnames[] = {
6061 (char *) "self",(char *) "dir", NULL
6062 };
6063
6064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6066 if (!SWIG_IsOK(res1)) {
6067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6068 }
6069 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6070 if (obj1) {
6071 ecode2 = SWIG_AsVal_int(obj1, &val2);
6072 if (!SWIG_IsOK(ecode2)) {
6073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6074 }
6075 arg2 = static_cast< int >(val2);
6076 }
6077 {
6078 PyThreadState* __tstate = wxPyBeginAllowThreads();
6079 (arg1)->CenterOnScreen(arg2);
6080 wxPyEndAllowThreads(__tstate);
6081 if (PyErr_Occurred()) SWIG_fail;
6082 }
6083 resultobj = SWIG_Py_Void();
6084 return resultobj;
6085 fail:
6086 return NULL;
6087 }
6088
6089
6090 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6091 PyObject *resultobj = 0;
6092 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6093 wxWindow *result = 0 ;
6094 void *argp1 = 0 ;
6095 int res1 = 0 ;
6096 PyObject *swig_obj[1] ;
6097
6098 if (!args) SWIG_fail;
6099 swig_obj[0] = args;
6100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6101 if (!SWIG_IsOK(res1)) {
6102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6103 }
6104 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6105 {
6106 PyThreadState* __tstate = wxPyBeginAllowThreads();
6107 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6108 wxPyEndAllowThreads(__tstate);
6109 if (PyErr_Occurred()) SWIG_fail;
6110 }
6111 {
6112 resultobj = wxPyMake_wxObject(result, 0);
6113 }
6114 return resultobj;
6115 fail:
6116 return NULL;
6117 }
6118
6119
6120 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6121 PyObject *resultobj = 0;
6122 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6123 wxWindow *arg2 = (wxWindow *) 0 ;
6124 wxWindow *result = 0 ;
6125 void *argp1 = 0 ;
6126 int res1 = 0 ;
6127 void *argp2 = 0 ;
6128 int res2 = 0 ;
6129 PyObject * obj0 = 0 ;
6130 PyObject * obj1 = 0 ;
6131 char * kwnames[] = {
6132 (char *) "self",(char *) "child", NULL
6133 };
6134
6135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6137 if (!SWIG_IsOK(res1)) {
6138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6139 }
6140 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6141 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6142 if (!SWIG_IsOK(res2)) {
6143 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6144 }
6145 arg2 = reinterpret_cast< wxWindow * >(argp2);
6146 {
6147 PyThreadState* __tstate = wxPyBeginAllowThreads();
6148 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6149 wxPyEndAllowThreads(__tstate);
6150 if (PyErr_Occurred()) SWIG_fail;
6151 }
6152 {
6153 resultobj = wxPyMake_wxObject(result, 0);
6154 }
6155 return resultobj;
6156 fail:
6157 return NULL;
6158 }
6159
6160
6161 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6162 PyObject *resultobj = 0;
6163 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6164 wxWindow *arg2 = (wxWindow *) 0 ;
6165 void *argp1 = 0 ;
6166 int res1 = 0 ;
6167 void *argp2 = 0 ;
6168 int res2 = 0 ;
6169 PyObject * obj0 = 0 ;
6170 PyObject * obj1 = 0 ;
6171 char * kwnames[] = {
6172 (char *) "self",(char *) "win", NULL
6173 };
6174
6175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6177 if (!SWIG_IsOK(res1)) {
6178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6179 }
6180 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6181 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6182 if (!SWIG_IsOK(res2)) {
6183 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6184 }
6185 arg2 = reinterpret_cast< wxWindow * >(argp2);
6186 {
6187 PyThreadState* __tstate = wxPyBeginAllowThreads();
6188 (arg1)->SetTmpDefaultItem(arg2);
6189 wxPyEndAllowThreads(__tstate);
6190 if (PyErr_Occurred()) SWIG_fail;
6191 }
6192 resultobj = SWIG_Py_Void();
6193 return resultobj;
6194 fail:
6195 return NULL;
6196 }
6197
6198
6199 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6200 PyObject *resultobj = 0;
6201 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6202 wxWindow *result = 0 ;
6203 void *argp1 = 0 ;
6204 int res1 = 0 ;
6205 PyObject *swig_obj[1] ;
6206
6207 if (!args) SWIG_fail;
6208 swig_obj[0] = args;
6209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6210 if (!SWIG_IsOK(res1)) {
6211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6212 }
6213 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6214 {
6215 PyThreadState* __tstate = wxPyBeginAllowThreads();
6216 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6217 wxPyEndAllowThreads(__tstate);
6218 if (PyErr_Occurred()) SWIG_fail;
6219 }
6220 {
6221 resultobj = wxPyMake_wxObject(result, 0);
6222 }
6223 return resultobj;
6224 fail:
6225 return NULL;
6226 }
6227
6228
6229 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6230 PyObject *obj;
6231 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6232 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6233 return SWIG_Py_Void();
6234 }
6235
6236 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6237 PyObject *resultobj = 0;
6238 wxWindow *arg1 = (wxWindow *) 0 ;
6239 int arg2 = (int) (int)-1 ;
6240 wxString const &arg3_defvalue = wxPyEmptyString ;
6241 wxString *arg3 = (wxString *) &arg3_defvalue ;
6242 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6243 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6244 wxSize const &arg5_defvalue = wxDefaultSize ;
6245 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6246 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6247 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6248 wxString *arg7 = (wxString *) &arg7_defvalue ;
6249 wxFrame *result = 0 ;
6250 void *argp1 = 0 ;
6251 int res1 = 0 ;
6252 int val2 ;
6253 int ecode2 = 0 ;
6254 bool temp3 = false ;
6255 wxPoint temp4 ;
6256 wxSize temp5 ;
6257 long val6 ;
6258 int ecode6 = 0 ;
6259 bool temp7 = false ;
6260 PyObject * obj0 = 0 ;
6261 PyObject * obj1 = 0 ;
6262 PyObject * obj2 = 0 ;
6263 PyObject * obj3 = 0 ;
6264 PyObject * obj4 = 0 ;
6265 PyObject * obj5 = 0 ;
6266 PyObject * obj6 = 0 ;
6267 char * kwnames[] = {
6268 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6269 };
6270
6271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6273 if (!SWIG_IsOK(res1)) {
6274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6275 }
6276 arg1 = reinterpret_cast< wxWindow * >(argp1);
6277 if (obj1) {
6278 ecode2 = SWIG_AsVal_int(obj1, &val2);
6279 if (!SWIG_IsOK(ecode2)) {
6280 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6281 }
6282 arg2 = static_cast< int >(val2);
6283 }
6284 if (obj2) {
6285 {
6286 arg3 = wxString_in_helper(obj2);
6287 if (arg3 == NULL) SWIG_fail;
6288 temp3 = true;
6289 }
6290 }
6291 if (obj3) {
6292 {
6293 arg4 = &temp4;
6294 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6295 }
6296 }
6297 if (obj4) {
6298 {
6299 arg5 = &temp5;
6300 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6301 }
6302 }
6303 if (obj5) {
6304 ecode6 = SWIG_AsVal_long(obj5, &val6);
6305 if (!SWIG_IsOK(ecode6)) {
6306 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6307 }
6308 arg6 = static_cast< long >(val6);
6309 }
6310 if (obj6) {
6311 {
6312 arg7 = wxString_in_helper(obj6);
6313 if (arg7 == NULL) SWIG_fail;
6314 temp7 = true;
6315 }
6316 }
6317 {
6318 if (!wxPyCheckForApp()) SWIG_fail;
6319 PyThreadState* __tstate = wxPyBeginAllowThreads();
6320 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6321 wxPyEndAllowThreads(__tstate);
6322 if (PyErr_Occurred()) SWIG_fail;
6323 }
6324 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6325 {
6326 if (temp3)
6327 delete arg3;
6328 }
6329 {
6330 if (temp7)
6331 delete arg7;
6332 }
6333 return resultobj;
6334 fail:
6335 {
6336 if (temp3)
6337 delete arg3;
6338 }
6339 {
6340 if (temp7)
6341 delete arg7;
6342 }
6343 return NULL;
6344 }
6345
6346
6347 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6348 PyObject *resultobj = 0;
6349 wxFrame *result = 0 ;
6350
6351 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6352 {
6353 if (!wxPyCheckForApp()) SWIG_fail;
6354 PyThreadState* __tstate = wxPyBeginAllowThreads();
6355 result = (wxFrame *)new wxFrame();
6356 wxPyEndAllowThreads(__tstate);
6357 if (PyErr_Occurred()) SWIG_fail;
6358 }
6359 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6360 return resultobj;
6361 fail:
6362 return NULL;
6363 }
6364
6365
6366 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6367 PyObject *resultobj = 0;
6368 wxFrame *arg1 = (wxFrame *) 0 ;
6369 wxWindow *arg2 = (wxWindow *) 0 ;
6370 int arg3 = (int) (int)-1 ;
6371 wxString const &arg4_defvalue = wxPyEmptyString ;
6372 wxString *arg4 = (wxString *) &arg4_defvalue ;
6373 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6374 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6375 wxSize const &arg6_defvalue = wxDefaultSize ;
6376 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6377 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6378 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6379 wxString *arg8 = (wxString *) &arg8_defvalue ;
6380 bool result;
6381 void *argp1 = 0 ;
6382 int res1 = 0 ;
6383 void *argp2 = 0 ;
6384 int res2 = 0 ;
6385 int val3 ;
6386 int ecode3 = 0 ;
6387 bool temp4 = false ;
6388 wxPoint temp5 ;
6389 wxSize temp6 ;
6390 long val7 ;
6391 int ecode7 = 0 ;
6392 bool temp8 = false ;
6393 PyObject * obj0 = 0 ;
6394 PyObject * obj1 = 0 ;
6395 PyObject * obj2 = 0 ;
6396 PyObject * obj3 = 0 ;
6397 PyObject * obj4 = 0 ;
6398 PyObject * obj5 = 0 ;
6399 PyObject * obj6 = 0 ;
6400 PyObject * obj7 = 0 ;
6401 char * kwnames[] = {
6402 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6403 };
6404
6405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6407 if (!SWIG_IsOK(res1)) {
6408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6409 }
6410 arg1 = reinterpret_cast< wxFrame * >(argp1);
6411 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6412 if (!SWIG_IsOK(res2)) {
6413 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6414 }
6415 arg2 = reinterpret_cast< wxWindow * >(argp2);
6416 if (obj2) {
6417 ecode3 = SWIG_AsVal_int(obj2, &val3);
6418 if (!SWIG_IsOK(ecode3)) {
6419 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6420 }
6421 arg3 = static_cast< int >(val3);
6422 }
6423 if (obj3) {
6424 {
6425 arg4 = wxString_in_helper(obj3);
6426 if (arg4 == NULL) SWIG_fail;
6427 temp4 = true;
6428 }
6429 }
6430 if (obj4) {
6431 {
6432 arg5 = &temp5;
6433 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6434 }
6435 }
6436 if (obj5) {
6437 {
6438 arg6 = &temp6;
6439 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6440 }
6441 }
6442 if (obj6) {
6443 ecode7 = SWIG_AsVal_long(obj6, &val7);
6444 if (!SWIG_IsOK(ecode7)) {
6445 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6446 }
6447 arg7 = static_cast< long >(val7);
6448 }
6449 if (obj7) {
6450 {
6451 arg8 = wxString_in_helper(obj7);
6452 if (arg8 == NULL) SWIG_fail;
6453 temp8 = true;
6454 }
6455 }
6456 {
6457 PyThreadState* __tstate = wxPyBeginAllowThreads();
6458 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6459 wxPyEndAllowThreads(__tstate);
6460 if (PyErr_Occurred()) SWIG_fail;
6461 }
6462 {
6463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6464 }
6465 {
6466 if (temp4)
6467 delete arg4;
6468 }
6469 {
6470 if (temp8)
6471 delete arg8;
6472 }
6473 return resultobj;
6474 fail:
6475 {
6476 if (temp4)
6477 delete arg4;
6478 }
6479 {
6480 if (temp8)
6481 delete arg8;
6482 }
6483 return NULL;
6484 }
6485
6486
6487 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6488 PyObject *resultobj = 0;
6489 wxFrame *arg1 = (wxFrame *) 0 ;
6490 void *argp1 = 0 ;
6491 int res1 = 0 ;
6492 PyObject *swig_obj[1] ;
6493
6494 if (!args) SWIG_fail;
6495 swig_obj[0] = args;
6496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6497 if (!SWIG_IsOK(res1)) {
6498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6499 }
6500 arg1 = reinterpret_cast< wxFrame * >(argp1);
6501 {
6502 PyThreadState* __tstate = wxPyBeginAllowThreads();
6503 (arg1)->SendSizeEvent();
6504 wxPyEndAllowThreads(__tstate);
6505 if (PyErr_Occurred()) SWIG_fail;
6506 }
6507 resultobj = SWIG_Py_Void();
6508 return resultobj;
6509 fail:
6510 return NULL;
6511 }
6512
6513
6514 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6515 PyObject *resultobj = 0;
6516 wxFrame *arg1 = (wxFrame *) 0 ;
6517 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6518 void *argp1 = 0 ;
6519 int res1 = 0 ;
6520 void *argp2 = 0 ;
6521 int res2 = 0 ;
6522 PyObject * obj0 = 0 ;
6523 PyObject * obj1 = 0 ;
6524 char * kwnames[] = {
6525 (char *) "self",(char *) "menubar", NULL
6526 };
6527
6528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6530 if (!SWIG_IsOK(res1)) {
6531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6532 }
6533 arg1 = reinterpret_cast< wxFrame * >(argp1);
6534 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6535 if (!SWIG_IsOK(res2)) {
6536 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6537 }
6538 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6539 {
6540 PyThreadState* __tstate = wxPyBeginAllowThreads();
6541 (arg1)->SetMenuBar(arg2);
6542 wxPyEndAllowThreads(__tstate);
6543 if (PyErr_Occurred()) SWIG_fail;
6544 }
6545 resultobj = SWIG_Py_Void();
6546 return resultobj;
6547 fail:
6548 return NULL;
6549 }
6550
6551
6552 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6553 PyObject *resultobj = 0;
6554 wxFrame *arg1 = (wxFrame *) 0 ;
6555 wxMenuBar *result = 0 ;
6556 void *argp1 = 0 ;
6557 int res1 = 0 ;
6558 PyObject *swig_obj[1] ;
6559
6560 if (!args) SWIG_fail;
6561 swig_obj[0] = args;
6562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6563 if (!SWIG_IsOK(res1)) {
6564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6565 }
6566 arg1 = reinterpret_cast< wxFrame * >(argp1);
6567 {
6568 PyThreadState* __tstate = wxPyBeginAllowThreads();
6569 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6570 wxPyEndAllowThreads(__tstate);
6571 if (PyErr_Occurred()) SWIG_fail;
6572 }
6573 {
6574 resultobj = wxPyMake_wxObject(result, 0);
6575 }
6576 return resultobj;
6577 fail:
6578 return NULL;
6579 }
6580
6581
6582 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6583 PyObject *resultobj = 0;
6584 wxFrame *arg1 = (wxFrame *) 0 ;
6585 int arg2 ;
6586 bool result;
6587 void *argp1 = 0 ;
6588 int res1 = 0 ;
6589 int val2 ;
6590 int ecode2 = 0 ;
6591 PyObject * obj0 = 0 ;
6592 PyObject * obj1 = 0 ;
6593 char * kwnames[] = {
6594 (char *) "self",(char *) "winid", NULL
6595 };
6596
6597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6599 if (!SWIG_IsOK(res1)) {
6600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6601 }
6602 arg1 = reinterpret_cast< wxFrame * >(argp1);
6603 ecode2 = SWIG_AsVal_int(obj1, &val2);
6604 if (!SWIG_IsOK(ecode2)) {
6605 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6606 }
6607 arg2 = static_cast< int >(val2);
6608 {
6609 PyThreadState* __tstate = wxPyBeginAllowThreads();
6610 result = (bool)(arg1)->ProcessCommand(arg2);
6611 wxPyEndAllowThreads(__tstate);
6612 if (PyErr_Occurred()) SWIG_fail;
6613 }
6614 {
6615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6616 }
6617 return resultobj;
6618 fail:
6619 return NULL;
6620 }
6621
6622
6623 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6624 PyObject *resultobj = 0;
6625 wxFrame *arg1 = (wxFrame *) 0 ;
6626 int arg2 = (int) 1 ;
6627 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6628 int arg4 = (int) 0 ;
6629 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6630 wxString *arg5 = (wxString *) &arg5_defvalue ;
6631 wxStatusBar *result = 0 ;
6632 void *argp1 = 0 ;
6633 int res1 = 0 ;
6634 int val2 ;
6635 int ecode2 = 0 ;
6636 long val3 ;
6637 int ecode3 = 0 ;
6638 int val4 ;
6639 int ecode4 = 0 ;
6640 bool temp5 = false ;
6641 PyObject * obj0 = 0 ;
6642 PyObject * obj1 = 0 ;
6643 PyObject * obj2 = 0 ;
6644 PyObject * obj3 = 0 ;
6645 PyObject * obj4 = 0 ;
6646 char * kwnames[] = {
6647 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6648 };
6649
6650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6652 if (!SWIG_IsOK(res1)) {
6653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6654 }
6655 arg1 = reinterpret_cast< wxFrame * >(argp1);
6656 if (obj1) {
6657 ecode2 = SWIG_AsVal_int(obj1, &val2);
6658 if (!SWIG_IsOK(ecode2)) {
6659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6660 }
6661 arg2 = static_cast< int >(val2);
6662 }
6663 if (obj2) {
6664 ecode3 = SWIG_AsVal_long(obj2, &val3);
6665 if (!SWIG_IsOK(ecode3)) {
6666 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6667 }
6668 arg3 = static_cast< long >(val3);
6669 }
6670 if (obj3) {
6671 ecode4 = SWIG_AsVal_int(obj3, &val4);
6672 if (!SWIG_IsOK(ecode4)) {
6673 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6674 }
6675 arg4 = static_cast< int >(val4);
6676 }
6677 if (obj4) {
6678 {
6679 arg5 = wxString_in_helper(obj4);
6680 if (arg5 == NULL) SWIG_fail;
6681 temp5 = true;
6682 }
6683 }
6684 {
6685 PyThreadState* __tstate = wxPyBeginAllowThreads();
6686 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6687 wxPyEndAllowThreads(__tstate);
6688 if (PyErr_Occurred()) SWIG_fail;
6689 }
6690 {
6691 resultobj = wxPyMake_wxObject(result, (bool)0);
6692 }
6693 {
6694 if (temp5)
6695 delete arg5;
6696 }
6697 return resultobj;
6698 fail:
6699 {
6700 if (temp5)
6701 delete arg5;
6702 }
6703 return NULL;
6704 }
6705
6706
6707 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6708 PyObject *resultobj = 0;
6709 wxFrame *arg1 = (wxFrame *) 0 ;
6710 wxStatusBar *result = 0 ;
6711 void *argp1 = 0 ;
6712 int res1 = 0 ;
6713 PyObject *swig_obj[1] ;
6714
6715 if (!args) SWIG_fail;
6716 swig_obj[0] = args;
6717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6718 if (!SWIG_IsOK(res1)) {
6719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6720 }
6721 arg1 = reinterpret_cast< wxFrame * >(argp1);
6722 {
6723 PyThreadState* __tstate = wxPyBeginAllowThreads();
6724 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6725 wxPyEndAllowThreads(__tstate);
6726 if (PyErr_Occurred()) SWIG_fail;
6727 }
6728 {
6729 resultobj = wxPyMake_wxObject(result, (bool)0);
6730 }
6731 return resultobj;
6732 fail:
6733 return NULL;
6734 }
6735
6736
6737 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6738 PyObject *resultobj = 0;
6739 wxFrame *arg1 = (wxFrame *) 0 ;
6740 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6741 void *argp1 = 0 ;
6742 int res1 = 0 ;
6743 void *argp2 = 0 ;
6744 int res2 = 0 ;
6745 PyObject * obj0 = 0 ;
6746 PyObject * obj1 = 0 ;
6747 char * kwnames[] = {
6748 (char *) "self",(char *) "statBar", NULL
6749 };
6750
6751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6753 if (!SWIG_IsOK(res1)) {
6754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6755 }
6756 arg1 = reinterpret_cast< wxFrame * >(argp1);
6757 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6758 if (!SWIG_IsOK(res2)) {
6759 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6760 }
6761 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6762 {
6763 PyThreadState* __tstate = wxPyBeginAllowThreads();
6764 (arg1)->SetStatusBar(arg2);
6765 wxPyEndAllowThreads(__tstate);
6766 if (PyErr_Occurred()) SWIG_fail;
6767 }
6768 resultobj = SWIG_Py_Void();
6769 return resultobj;
6770 fail:
6771 return NULL;
6772 }
6773
6774
6775 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6776 PyObject *resultobj = 0;
6777 wxFrame *arg1 = (wxFrame *) 0 ;
6778 wxString *arg2 = 0 ;
6779 int arg3 = (int) 0 ;
6780 void *argp1 = 0 ;
6781 int res1 = 0 ;
6782 bool temp2 = false ;
6783 int val3 ;
6784 int ecode3 = 0 ;
6785 PyObject * obj0 = 0 ;
6786 PyObject * obj1 = 0 ;
6787 PyObject * obj2 = 0 ;
6788 char * kwnames[] = {
6789 (char *) "self",(char *) "text",(char *) "number", NULL
6790 };
6791
6792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6794 if (!SWIG_IsOK(res1)) {
6795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6796 }
6797 arg1 = reinterpret_cast< wxFrame * >(argp1);
6798 {
6799 arg2 = wxString_in_helper(obj1);
6800 if (arg2 == NULL) SWIG_fail;
6801 temp2 = true;
6802 }
6803 if (obj2) {
6804 ecode3 = SWIG_AsVal_int(obj2, &val3);
6805 if (!SWIG_IsOK(ecode3)) {
6806 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6807 }
6808 arg3 = static_cast< int >(val3);
6809 }
6810 {
6811 PyThreadState* __tstate = wxPyBeginAllowThreads();
6812 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6813 wxPyEndAllowThreads(__tstate);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 }
6816 resultobj = SWIG_Py_Void();
6817 {
6818 if (temp2)
6819 delete arg2;
6820 }
6821 return resultobj;
6822 fail:
6823 {
6824 if (temp2)
6825 delete arg2;
6826 }
6827 return NULL;
6828 }
6829
6830
6831 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6832 PyObject *resultobj = 0;
6833 wxFrame *arg1 = (wxFrame *) 0 ;
6834 int arg2 ;
6835 int *arg3 = (int *) 0 ;
6836 void *argp1 = 0 ;
6837 int res1 = 0 ;
6838 PyObject * obj0 = 0 ;
6839 PyObject * obj1 = 0 ;
6840 char * kwnames[] = {
6841 (char *) "self",(char *) "widths", NULL
6842 };
6843
6844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6846 if (!SWIG_IsOK(res1)) {
6847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6848 }
6849 arg1 = reinterpret_cast< wxFrame * >(argp1);
6850 {
6851 arg2 = PyList_Size(obj1);
6852 arg3 = int_LIST_helper(obj1);
6853 if (arg3 == NULL) SWIG_fail;
6854 }
6855 {
6856 PyThreadState* __tstate = wxPyBeginAllowThreads();
6857 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6858 wxPyEndAllowThreads(__tstate);
6859 if (PyErr_Occurred()) SWIG_fail;
6860 }
6861 resultobj = SWIG_Py_Void();
6862 {
6863 if (arg3) delete [] arg3;
6864 }
6865 return resultobj;
6866 fail:
6867 {
6868 if (arg3) delete [] arg3;
6869 }
6870 return NULL;
6871 }
6872
6873
6874 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6875 PyObject *resultobj = 0;
6876 wxFrame *arg1 = (wxFrame *) 0 ;
6877 wxString *arg2 = 0 ;
6878 int arg3 = (int) 0 ;
6879 void *argp1 = 0 ;
6880 int res1 = 0 ;
6881 bool temp2 = false ;
6882 int val3 ;
6883 int ecode3 = 0 ;
6884 PyObject * obj0 = 0 ;
6885 PyObject * obj1 = 0 ;
6886 PyObject * obj2 = 0 ;
6887 char * kwnames[] = {
6888 (char *) "self",(char *) "text",(char *) "number", NULL
6889 };
6890
6891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6893 if (!SWIG_IsOK(res1)) {
6894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6895 }
6896 arg1 = reinterpret_cast< wxFrame * >(argp1);
6897 {
6898 arg2 = wxString_in_helper(obj1);
6899 if (arg2 == NULL) SWIG_fail;
6900 temp2 = true;
6901 }
6902 if (obj2) {
6903 ecode3 = SWIG_AsVal_int(obj2, &val3);
6904 if (!SWIG_IsOK(ecode3)) {
6905 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6906 }
6907 arg3 = static_cast< int >(val3);
6908 }
6909 {
6910 PyThreadState* __tstate = wxPyBeginAllowThreads();
6911 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6912 wxPyEndAllowThreads(__tstate);
6913 if (PyErr_Occurred()) SWIG_fail;
6914 }
6915 resultobj = SWIG_Py_Void();
6916 {
6917 if (temp2)
6918 delete arg2;
6919 }
6920 return resultobj;
6921 fail:
6922 {
6923 if (temp2)
6924 delete arg2;
6925 }
6926 return NULL;
6927 }
6928
6929
6930 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6931 PyObject *resultobj = 0;
6932 wxFrame *arg1 = (wxFrame *) 0 ;
6933 int arg2 = (int) 0 ;
6934 void *argp1 = 0 ;
6935 int res1 = 0 ;
6936 int val2 ;
6937 int ecode2 = 0 ;
6938 PyObject * obj0 = 0 ;
6939 PyObject * obj1 = 0 ;
6940 char * kwnames[] = {
6941 (char *) "self",(char *) "number", NULL
6942 };
6943
6944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6946 if (!SWIG_IsOK(res1)) {
6947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6948 }
6949 arg1 = reinterpret_cast< wxFrame * >(argp1);
6950 if (obj1) {
6951 ecode2 = SWIG_AsVal_int(obj1, &val2);
6952 if (!SWIG_IsOK(ecode2)) {
6953 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6954 }
6955 arg2 = static_cast< int >(val2);
6956 }
6957 {
6958 PyThreadState* __tstate = wxPyBeginAllowThreads();
6959 (arg1)->PopStatusText(arg2);
6960 wxPyEndAllowThreads(__tstate);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 }
6963 resultobj = SWIG_Py_Void();
6964 return resultobj;
6965 fail:
6966 return NULL;
6967 }
6968
6969
6970 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6971 PyObject *resultobj = 0;
6972 wxFrame *arg1 = (wxFrame *) 0 ;
6973 int arg2 ;
6974 void *argp1 = 0 ;
6975 int res1 = 0 ;
6976 int val2 ;
6977 int ecode2 = 0 ;
6978 PyObject * obj0 = 0 ;
6979 PyObject * obj1 = 0 ;
6980 char * kwnames[] = {
6981 (char *) "self",(char *) "n", NULL
6982 };
6983
6984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6986 if (!SWIG_IsOK(res1)) {
6987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6988 }
6989 arg1 = reinterpret_cast< wxFrame * >(argp1);
6990 ecode2 = SWIG_AsVal_int(obj1, &val2);
6991 if (!SWIG_IsOK(ecode2)) {
6992 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6993 }
6994 arg2 = static_cast< int >(val2);
6995 {
6996 PyThreadState* __tstate = wxPyBeginAllowThreads();
6997 (arg1)->SetStatusBarPane(arg2);
6998 wxPyEndAllowThreads(__tstate);
6999 if (PyErr_Occurred()) SWIG_fail;
7000 }
7001 resultobj = SWIG_Py_Void();
7002 return resultobj;
7003 fail:
7004 return NULL;
7005 }
7006
7007
7008 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7009 PyObject *resultobj = 0;
7010 wxFrame *arg1 = (wxFrame *) 0 ;
7011 int result;
7012 void *argp1 = 0 ;
7013 int res1 = 0 ;
7014 PyObject *swig_obj[1] ;
7015
7016 if (!args) SWIG_fail;
7017 swig_obj[0] = args;
7018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7019 if (!SWIG_IsOK(res1)) {
7020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7021 }
7022 arg1 = reinterpret_cast< wxFrame * >(argp1);
7023 {
7024 PyThreadState* __tstate = wxPyBeginAllowThreads();
7025 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7026 wxPyEndAllowThreads(__tstate);
7027 if (PyErr_Occurred()) SWIG_fail;
7028 }
7029 resultobj = SWIG_From_int(static_cast< int >(result));
7030 return resultobj;
7031 fail:
7032 return NULL;
7033 }
7034
7035
7036 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7037 PyObject *resultobj = 0;
7038 wxFrame *arg1 = (wxFrame *) 0 ;
7039 long arg2 = (long) -1 ;
7040 int arg3 = (int) -1 ;
7041 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7042 wxString *arg4 = (wxString *) &arg4_defvalue ;
7043 wxToolBar *result = 0 ;
7044 void *argp1 = 0 ;
7045 int res1 = 0 ;
7046 long val2 ;
7047 int ecode2 = 0 ;
7048 int val3 ;
7049 int ecode3 = 0 ;
7050 bool temp4 = false ;
7051 PyObject * obj0 = 0 ;
7052 PyObject * obj1 = 0 ;
7053 PyObject * obj2 = 0 ;
7054 PyObject * obj3 = 0 ;
7055 char * kwnames[] = {
7056 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7057 };
7058
7059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7061 if (!SWIG_IsOK(res1)) {
7062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7063 }
7064 arg1 = reinterpret_cast< wxFrame * >(argp1);
7065 if (obj1) {
7066 ecode2 = SWIG_AsVal_long(obj1, &val2);
7067 if (!SWIG_IsOK(ecode2)) {
7068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7069 }
7070 arg2 = static_cast< long >(val2);
7071 }
7072 if (obj2) {
7073 ecode3 = SWIG_AsVal_int(obj2, &val3);
7074 if (!SWIG_IsOK(ecode3)) {
7075 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7076 }
7077 arg3 = static_cast< int >(val3);
7078 }
7079 if (obj3) {
7080 {
7081 arg4 = wxString_in_helper(obj3);
7082 if (arg4 == NULL) SWIG_fail;
7083 temp4 = true;
7084 }
7085 }
7086 {
7087 PyThreadState* __tstate = wxPyBeginAllowThreads();
7088 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7089 wxPyEndAllowThreads(__tstate);
7090 if (PyErr_Occurred()) SWIG_fail;
7091 }
7092 {
7093 resultobj = wxPyMake_wxObject(result, (bool)0);
7094 }
7095 {
7096 if (temp4)
7097 delete arg4;
7098 }
7099 return resultobj;
7100 fail:
7101 {
7102 if (temp4)
7103 delete arg4;
7104 }
7105 return NULL;
7106 }
7107
7108
7109 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7110 PyObject *resultobj = 0;
7111 wxFrame *arg1 = (wxFrame *) 0 ;
7112 wxToolBar *result = 0 ;
7113 void *argp1 = 0 ;
7114 int res1 = 0 ;
7115 PyObject *swig_obj[1] ;
7116
7117 if (!args) SWIG_fail;
7118 swig_obj[0] = args;
7119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7120 if (!SWIG_IsOK(res1)) {
7121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7122 }
7123 arg1 = reinterpret_cast< wxFrame * >(argp1);
7124 {
7125 PyThreadState* __tstate = wxPyBeginAllowThreads();
7126 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7127 wxPyEndAllowThreads(__tstate);
7128 if (PyErr_Occurred()) SWIG_fail;
7129 }
7130 {
7131 resultobj = wxPyMake_wxObject(result, (bool)0);
7132 }
7133 return resultobj;
7134 fail:
7135 return NULL;
7136 }
7137
7138
7139 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7140 PyObject *resultobj = 0;
7141 wxFrame *arg1 = (wxFrame *) 0 ;
7142 wxToolBar *arg2 = (wxToolBar *) 0 ;
7143 void *argp1 = 0 ;
7144 int res1 = 0 ;
7145 void *argp2 = 0 ;
7146 int res2 = 0 ;
7147 PyObject * obj0 = 0 ;
7148 PyObject * obj1 = 0 ;
7149 char * kwnames[] = {
7150 (char *) "self",(char *) "toolbar", NULL
7151 };
7152
7153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7155 if (!SWIG_IsOK(res1)) {
7156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7157 }
7158 arg1 = reinterpret_cast< wxFrame * >(argp1);
7159 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7160 if (!SWIG_IsOK(res2)) {
7161 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7162 }
7163 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7164 {
7165 PyThreadState* __tstate = wxPyBeginAllowThreads();
7166 (arg1)->SetToolBar(arg2);
7167 wxPyEndAllowThreads(__tstate);
7168 if (PyErr_Occurred()) SWIG_fail;
7169 }
7170 resultobj = SWIG_Py_Void();
7171 return resultobj;
7172 fail:
7173 return NULL;
7174 }
7175
7176
7177 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7178 PyObject *resultobj = 0;
7179 wxFrame *arg1 = (wxFrame *) 0 ;
7180 wxString *arg2 = 0 ;
7181 bool arg3 ;
7182 void *argp1 = 0 ;
7183 int res1 = 0 ;
7184 bool temp2 = false ;
7185 bool val3 ;
7186 int ecode3 = 0 ;
7187 PyObject * obj0 = 0 ;
7188 PyObject * obj1 = 0 ;
7189 PyObject * obj2 = 0 ;
7190 char * kwnames[] = {
7191 (char *) "self",(char *) "text",(char *) "show", NULL
7192 };
7193
7194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7196 if (!SWIG_IsOK(res1)) {
7197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7198 }
7199 arg1 = reinterpret_cast< wxFrame * >(argp1);
7200 {
7201 arg2 = wxString_in_helper(obj1);
7202 if (arg2 == NULL) SWIG_fail;
7203 temp2 = true;
7204 }
7205 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7206 if (!SWIG_IsOK(ecode3)) {
7207 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7208 }
7209 arg3 = static_cast< bool >(val3);
7210 {
7211 PyThreadState* __tstate = wxPyBeginAllowThreads();
7212 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 resultobj = SWIG_Py_Void();
7217 {
7218 if (temp2)
7219 delete arg2;
7220 }
7221 return resultobj;
7222 fail:
7223 {
7224 if (temp2)
7225 delete arg2;
7226 }
7227 return NULL;
7228 }
7229
7230
7231 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7232 PyObject *resultobj = 0;
7233 wxFrame *arg1 = (wxFrame *) 0 ;
7234 wxMenu *arg2 = (wxMenu *) NULL ;
7235 void *argp1 = 0 ;
7236 int res1 = 0 ;
7237 void *argp2 = 0 ;
7238 int res2 = 0 ;
7239 PyObject * obj0 = 0 ;
7240 PyObject * obj1 = 0 ;
7241 char * kwnames[] = {
7242 (char *) "self",(char *) "menu", NULL
7243 };
7244
7245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7247 if (!SWIG_IsOK(res1)) {
7248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7249 }
7250 arg1 = reinterpret_cast< wxFrame * >(argp1);
7251 if (obj1) {
7252 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7253 if (!SWIG_IsOK(res2)) {
7254 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7255 }
7256 arg2 = reinterpret_cast< wxMenu * >(argp2);
7257 }
7258 {
7259 PyThreadState* __tstate = wxPyBeginAllowThreads();
7260 (arg1)->DoMenuUpdates(arg2);
7261 wxPyEndAllowThreads(__tstate);
7262 if (PyErr_Occurred()) SWIG_fail;
7263 }
7264 resultobj = SWIG_Py_Void();
7265 return resultobj;
7266 fail:
7267 return NULL;
7268 }
7269
7270
7271 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7272 PyObject *resultobj = 0;
7273 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7274 SwigValueWrapper<wxVisualAttributes > result;
7275 int val1 ;
7276 int ecode1 = 0 ;
7277 PyObject * obj0 = 0 ;
7278 char * kwnames[] = {
7279 (char *) "variant", NULL
7280 };
7281
7282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7283 if (obj0) {
7284 ecode1 = SWIG_AsVal_int(obj0, &val1);
7285 if (!SWIG_IsOK(ecode1)) {
7286 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7287 }
7288 arg1 = static_cast< wxWindowVariant >(val1);
7289 }
7290 {
7291 if (!wxPyCheckForApp()) SWIG_fail;
7292 PyThreadState* __tstate = wxPyBeginAllowThreads();
7293 result = wxFrame::GetClassDefaultAttributes(arg1);
7294 wxPyEndAllowThreads(__tstate);
7295 if (PyErr_Occurred()) SWIG_fail;
7296 }
7297 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7298 return resultobj;
7299 fail:
7300 return NULL;
7301 }
7302
7303
7304 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7305 PyObject *obj;
7306 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7307 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7308 return SWIG_Py_Void();
7309 }
7310
7311 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7312 return SWIG_Python_InitShadowInstance(args);
7313 }
7314
7315 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7316 PyObject *resultobj = 0;
7317 wxWindow *arg1 = (wxWindow *) 0 ;
7318 int arg2 = (int) (int)-1 ;
7319 wxString const &arg3_defvalue = wxPyEmptyString ;
7320 wxString *arg3 = (wxString *) &arg3_defvalue ;
7321 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7322 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7323 wxSize const &arg5_defvalue = wxDefaultSize ;
7324 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7325 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7326 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7327 wxString *arg7 = (wxString *) &arg7_defvalue ;
7328 wxDialog *result = 0 ;
7329 void *argp1 = 0 ;
7330 int res1 = 0 ;
7331 int val2 ;
7332 int ecode2 = 0 ;
7333 bool temp3 = false ;
7334 wxPoint temp4 ;
7335 wxSize temp5 ;
7336 long val6 ;
7337 int ecode6 = 0 ;
7338 bool temp7 = false ;
7339 PyObject * obj0 = 0 ;
7340 PyObject * obj1 = 0 ;
7341 PyObject * obj2 = 0 ;
7342 PyObject * obj3 = 0 ;
7343 PyObject * obj4 = 0 ;
7344 PyObject * obj5 = 0 ;
7345 PyObject * obj6 = 0 ;
7346 char * kwnames[] = {
7347 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7348 };
7349
7350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7352 if (!SWIG_IsOK(res1)) {
7353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7354 }
7355 arg1 = reinterpret_cast< wxWindow * >(argp1);
7356 if (obj1) {
7357 ecode2 = SWIG_AsVal_int(obj1, &val2);
7358 if (!SWIG_IsOK(ecode2)) {
7359 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7360 }
7361 arg2 = static_cast< int >(val2);
7362 }
7363 if (obj2) {
7364 {
7365 arg3 = wxString_in_helper(obj2);
7366 if (arg3 == NULL) SWIG_fail;
7367 temp3 = true;
7368 }
7369 }
7370 if (obj3) {
7371 {
7372 arg4 = &temp4;
7373 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7374 }
7375 }
7376 if (obj4) {
7377 {
7378 arg5 = &temp5;
7379 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7380 }
7381 }
7382 if (obj5) {
7383 ecode6 = SWIG_AsVal_long(obj5, &val6);
7384 if (!SWIG_IsOK(ecode6)) {
7385 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7386 }
7387 arg6 = static_cast< long >(val6);
7388 }
7389 if (obj6) {
7390 {
7391 arg7 = wxString_in_helper(obj6);
7392 if (arg7 == NULL) SWIG_fail;
7393 temp7 = true;
7394 }
7395 }
7396 {
7397 if (!wxPyCheckForApp()) SWIG_fail;
7398 PyThreadState* __tstate = wxPyBeginAllowThreads();
7399 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7400 wxPyEndAllowThreads(__tstate);
7401 if (PyErr_Occurred()) SWIG_fail;
7402 }
7403 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7404 {
7405 if (temp3)
7406 delete arg3;
7407 }
7408 {
7409 if (temp7)
7410 delete arg7;
7411 }
7412 return resultobj;
7413 fail:
7414 {
7415 if (temp3)
7416 delete arg3;
7417 }
7418 {
7419 if (temp7)
7420 delete arg7;
7421 }
7422 return NULL;
7423 }
7424
7425
7426 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7427 PyObject *resultobj = 0;
7428 wxDialog *result = 0 ;
7429
7430 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7431 {
7432 if (!wxPyCheckForApp()) SWIG_fail;
7433 PyThreadState* __tstate = wxPyBeginAllowThreads();
7434 result = (wxDialog *)new wxDialog();
7435 wxPyEndAllowThreads(__tstate);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 }
7438 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7439 return resultobj;
7440 fail:
7441 return NULL;
7442 }
7443
7444
7445 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7446 PyObject *resultobj = 0;
7447 wxDialog *arg1 = (wxDialog *) 0 ;
7448 wxWindow *arg2 = (wxWindow *) 0 ;
7449 int arg3 = (int) (int)-1 ;
7450 wxString const &arg4_defvalue = wxPyEmptyString ;
7451 wxString *arg4 = (wxString *) &arg4_defvalue ;
7452 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7453 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7454 wxSize const &arg6_defvalue = wxDefaultSize ;
7455 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7456 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7457 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7458 wxString *arg8 = (wxString *) &arg8_defvalue ;
7459 bool result;
7460 void *argp1 = 0 ;
7461 int res1 = 0 ;
7462 void *argp2 = 0 ;
7463 int res2 = 0 ;
7464 int val3 ;
7465 int ecode3 = 0 ;
7466 bool temp4 = false ;
7467 wxPoint temp5 ;
7468 wxSize temp6 ;
7469 long val7 ;
7470 int ecode7 = 0 ;
7471 bool temp8 = false ;
7472 PyObject * obj0 = 0 ;
7473 PyObject * obj1 = 0 ;
7474 PyObject * obj2 = 0 ;
7475 PyObject * obj3 = 0 ;
7476 PyObject * obj4 = 0 ;
7477 PyObject * obj5 = 0 ;
7478 PyObject * obj6 = 0 ;
7479 PyObject * obj7 = 0 ;
7480 char * kwnames[] = {
7481 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7482 };
7483
7484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7486 if (!SWIG_IsOK(res1)) {
7487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7488 }
7489 arg1 = reinterpret_cast< wxDialog * >(argp1);
7490 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7491 if (!SWIG_IsOK(res2)) {
7492 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7493 }
7494 arg2 = reinterpret_cast< wxWindow * >(argp2);
7495 if (obj2) {
7496 ecode3 = SWIG_AsVal_int(obj2, &val3);
7497 if (!SWIG_IsOK(ecode3)) {
7498 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7499 }
7500 arg3 = static_cast< int >(val3);
7501 }
7502 if (obj3) {
7503 {
7504 arg4 = wxString_in_helper(obj3);
7505 if (arg4 == NULL) SWIG_fail;
7506 temp4 = true;
7507 }
7508 }
7509 if (obj4) {
7510 {
7511 arg5 = &temp5;
7512 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7513 }
7514 }
7515 if (obj5) {
7516 {
7517 arg6 = &temp6;
7518 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7519 }
7520 }
7521 if (obj6) {
7522 ecode7 = SWIG_AsVal_long(obj6, &val7);
7523 if (!SWIG_IsOK(ecode7)) {
7524 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7525 }
7526 arg7 = static_cast< long >(val7);
7527 }
7528 if (obj7) {
7529 {
7530 arg8 = wxString_in_helper(obj7);
7531 if (arg8 == NULL) SWIG_fail;
7532 temp8 = true;
7533 }
7534 }
7535 {
7536 PyThreadState* __tstate = wxPyBeginAllowThreads();
7537 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7538 wxPyEndAllowThreads(__tstate);
7539 if (PyErr_Occurred()) SWIG_fail;
7540 }
7541 {
7542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7543 }
7544 {
7545 if (temp4)
7546 delete arg4;
7547 }
7548 {
7549 if (temp8)
7550 delete arg8;
7551 }
7552 return resultobj;
7553 fail:
7554 {
7555 if (temp4)
7556 delete arg4;
7557 }
7558 {
7559 if (temp8)
7560 delete arg8;
7561 }
7562 return NULL;
7563 }
7564
7565
7566 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7567 PyObject *resultobj = 0;
7568 wxDialog *arg1 = (wxDialog *) 0 ;
7569 int arg2 ;
7570 void *argp1 = 0 ;
7571 int res1 = 0 ;
7572 int val2 ;
7573 int ecode2 = 0 ;
7574 PyObject * obj0 = 0 ;
7575 PyObject * obj1 = 0 ;
7576 char * kwnames[] = {
7577 (char *) "self",(char *) "returnCode", NULL
7578 };
7579
7580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7582 if (!SWIG_IsOK(res1)) {
7583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7584 }
7585 arg1 = reinterpret_cast< wxDialog * >(argp1);
7586 ecode2 = SWIG_AsVal_int(obj1, &val2);
7587 if (!SWIG_IsOK(ecode2)) {
7588 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7589 }
7590 arg2 = static_cast< int >(val2);
7591 {
7592 PyThreadState* __tstate = wxPyBeginAllowThreads();
7593 (arg1)->SetReturnCode(arg2);
7594 wxPyEndAllowThreads(__tstate);
7595 if (PyErr_Occurred()) SWIG_fail;
7596 }
7597 resultobj = SWIG_Py_Void();
7598 return resultobj;
7599 fail:
7600 return NULL;
7601 }
7602
7603
7604 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7605 PyObject *resultobj = 0;
7606 wxDialog *arg1 = (wxDialog *) 0 ;
7607 int result;
7608 void *argp1 = 0 ;
7609 int res1 = 0 ;
7610 PyObject *swig_obj[1] ;
7611
7612 if (!args) SWIG_fail;
7613 swig_obj[0] = args;
7614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7615 if (!SWIG_IsOK(res1)) {
7616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7617 }
7618 arg1 = reinterpret_cast< wxDialog * >(argp1);
7619 {
7620 PyThreadState* __tstate = wxPyBeginAllowThreads();
7621 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7622 wxPyEndAllowThreads(__tstate);
7623 if (PyErr_Occurred()) SWIG_fail;
7624 }
7625 resultobj = SWIG_From_int(static_cast< int >(result));
7626 return resultobj;
7627 fail:
7628 return NULL;
7629 }
7630
7631
7632 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7633 PyObject *resultobj = 0;
7634 wxDialog *arg1 = (wxDialog *) 0 ;
7635 int arg2 ;
7636 void *argp1 = 0 ;
7637 int res1 = 0 ;
7638 int val2 ;
7639 int ecode2 = 0 ;
7640 PyObject * obj0 = 0 ;
7641 PyObject * obj1 = 0 ;
7642 char * kwnames[] = {
7643 (char *) "self",(char *) "affirmativeId", NULL
7644 };
7645
7646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7648 if (!SWIG_IsOK(res1)) {
7649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7650 }
7651 arg1 = reinterpret_cast< wxDialog * >(argp1);
7652 ecode2 = SWIG_AsVal_int(obj1, &val2);
7653 if (!SWIG_IsOK(ecode2)) {
7654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7655 }
7656 arg2 = static_cast< int >(val2);
7657 {
7658 PyThreadState* __tstate = wxPyBeginAllowThreads();
7659 (arg1)->SetAffirmativeId(arg2);
7660 wxPyEndAllowThreads(__tstate);
7661 if (PyErr_Occurred()) SWIG_fail;
7662 }
7663 resultobj = SWIG_Py_Void();
7664 return resultobj;
7665 fail:
7666 return NULL;
7667 }
7668
7669
7670 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7671 PyObject *resultobj = 0;
7672 wxDialog *arg1 = (wxDialog *) 0 ;
7673 int result;
7674 void *argp1 = 0 ;
7675 int res1 = 0 ;
7676 PyObject *swig_obj[1] ;
7677
7678 if (!args) SWIG_fail;
7679 swig_obj[0] = args;
7680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7681 if (!SWIG_IsOK(res1)) {
7682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7683 }
7684 arg1 = reinterpret_cast< wxDialog * >(argp1);
7685 {
7686 PyThreadState* __tstate = wxPyBeginAllowThreads();
7687 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7688 wxPyEndAllowThreads(__tstate);
7689 if (PyErr_Occurred()) SWIG_fail;
7690 }
7691 resultobj = SWIG_From_int(static_cast< int >(result));
7692 return resultobj;
7693 fail:
7694 return NULL;
7695 }
7696
7697
7698 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7699 PyObject *resultobj = 0;
7700 wxDialog *arg1 = (wxDialog *) 0 ;
7701 int arg2 ;
7702 void *argp1 = 0 ;
7703 int res1 = 0 ;
7704 int val2 ;
7705 int ecode2 = 0 ;
7706 PyObject * obj0 = 0 ;
7707 PyObject * obj1 = 0 ;
7708 char * kwnames[] = {
7709 (char *) "self",(char *) "escapeId", NULL
7710 };
7711
7712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7714 if (!SWIG_IsOK(res1)) {
7715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7716 }
7717 arg1 = reinterpret_cast< wxDialog * >(argp1);
7718 ecode2 = SWIG_AsVal_int(obj1, &val2);
7719 if (!SWIG_IsOK(ecode2)) {
7720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7721 }
7722 arg2 = static_cast< int >(val2);
7723 {
7724 PyThreadState* __tstate = wxPyBeginAllowThreads();
7725 (arg1)->SetEscapeId(arg2);
7726 wxPyEndAllowThreads(__tstate);
7727 if (PyErr_Occurred()) SWIG_fail;
7728 }
7729 resultobj = SWIG_Py_Void();
7730 return resultobj;
7731 fail:
7732 return NULL;
7733 }
7734
7735
7736 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7737 PyObject *resultobj = 0;
7738 wxDialog *arg1 = (wxDialog *) 0 ;
7739 int result;
7740 void *argp1 = 0 ;
7741 int res1 = 0 ;
7742 PyObject *swig_obj[1] ;
7743
7744 if (!args) SWIG_fail;
7745 swig_obj[0] = args;
7746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7747 if (!SWIG_IsOK(res1)) {
7748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7749 }
7750 arg1 = reinterpret_cast< wxDialog * >(argp1);
7751 {
7752 PyThreadState* __tstate = wxPyBeginAllowThreads();
7753 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7754 wxPyEndAllowThreads(__tstate);
7755 if (PyErr_Occurred()) SWIG_fail;
7756 }
7757 resultobj = SWIG_From_int(static_cast< int >(result));
7758 return resultobj;
7759 fail:
7760 return NULL;
7761 }
7762
7763
7764 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7765 PyObject *resultobj = 0;
7766 wxDialog *arg1 = (wxDialog *) 0 ;
7767 wxString *arg2 = 0 ;
7768 wxSizer *result = 0 ;
7769 void *argp1 = 0 ;
7770 int res1 = 0 ;
7771 bool temp2 = false ;
7772 PyObject * obj0 = 0 ;
7773 PyObject * obj1 = 0 ;
7774 char * kwnames[] = {
7775 (char *) "self",(char *) "message", NULL
7776 };
7777
7778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7780 if (!SWIG_IsOK(res1)) {
7781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7782 }
7783 arg1 = reinterpret_cast< wxDialog * >(argp1);
7784 {
7785 arg2 = wxString_in_helper(obj1);
7786 if (arg2 == NULL) SWIG_fail;
7787 temp2 = true;
7788 }
7789 {
7790 PyThreadState* __tstate = wxPyBeginAllowThreads();
7791 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7792 wxPyEndAllowThreads(__tstate);
7793 if (PyErr_Occurred()) SWIG_fail;
7794 }
7795 {
7796 resultobj = wxPyMake_wxObject(result, (bool)0);
7797 }
7798 {
7799 if (temp2)
7800 delete arg2;
7801 }
7802 return resultobj;
7803 fail:
7804 {
7805 if (temp2)
7806 delete arg2;
7807 }
7808 return NULL;
7809 }
7810
7811
7812 SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7813 PyObject *resultobj = 0;
7814 wxDialog *arg1 = (wxDialog *) 0 ;
7815 long arg2 ;
7816 wxSizer *result = 0 ;
7817 void *argp1 = 0 ;
7818 int res1 = 0 ;
7819 long val2 ;
7820 int ecode2 = 0 ;
7821 PyObject * obj0 = 0 ;
7822 PyObject * obj1 = 0 ;
7823 char * kwnames[] = {
7824 (char *) "self",(char *) "flags", NULL
7825 };
7826
7827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7829 if (!SWIG_IsOK(res1)) {
7830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7831 }
7832 arg1 = reinterpret_cast< wxDialog * >(argp1);
7833 ecode2 = SWIG_AsVal_long(obj1, &val2);
7834 if (!SWIG_IsOK(ecode2)) {
7835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7836 }
7837 arg2 = static_cast< long >(val2);
7838 {
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7841 wxPyEndAllowThreads(__tstate);
7842 if (PyErr_Occurred()) SWIG_fail;
7843 }
7844 {
7845 resultobj = wxPyMake_wxObject(result, (bool)0);
7846 }
7847 return resultobj;
7848 fail:
7849 return NULL;
7850 }
7851
7852
7853 SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7854 PyObject *resultobj = 0;
7855 wxDialog *arg1 = (wxDialog *) 0 ;
7856 long arg2 ;
7857 wxSizer *result = 0 ;
7858 void *argp1 = 0 ;
7859 int res1 = 0 ;
7860 long val2 ;
7861 int ecode2 = 0 ;
7862 PyObject * obj0 = 0 ;
7863 PyObject * obj1 = 0 ;
7864 char * kwnames[] = {
7865 (char *) "self",(char *) "flags", NULL
7866 };
7867
7868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7870 if (!SWIG_IsOK(res1)) {
7871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7872 }
7873 arg1 = reinterpret_cast< wxDialog * >(argp1);
7874 ecode2 = SWIG_AsVal_long(obj1, &val2);
7875 if (!SWIG_IsOK(ecode2)) {
7876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7877 }
7878 arg2 = static_cast< long >(val2);
7879 {
7880 PyThreadState* __tstate = wxPyBeginAllowThreads();
7881 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
7882 wxPyEndAllowThreads(__tstate);
7883 if (PyErr_Occurred()) SWIG_fail;
7884 }
7885 {
7886 resultobj = wxPyMake_wxObject(result, (bool)0);
7887 }
7888 return resultobj;
7889 fail:
7890 return NULL;
7891 }
7892
7893
7894 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7895 PyObject *resultobj = 0;
7896 wxDialog *arg1 = (wxDialog *) 0 ;
7897 long arg2 ;
7898 wxStdDialogButtonSizer *result = 0 ;
7899 void *argp1 = 0 ;
7900 int res1 = 0 ;
7901 long val2 ;
7902 int ecode2 = 0 ;
7903 PyObject * obj0 = 0 ;
7904 PyObject * obj1 = 0 ;
7905 char * kwnames[] = {
7906 (char *) "self",(char *) "flags", NULL
7907 };
7908
7909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7911 if (!SWIG_IsOK(res1)) {
7912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7913 }
7914 arg1 = reinterpret_cast< wxDialog * >(argp1);
7915 ecode2 = SWIG_AsVal_long(obj1, &val2);
7916 if (!SWIG_IsOK(ecode2)) {
7917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7918 }
7919 arg2 = static_cast< long >(val2);
7920 {
7921 PyThreadState* __tstate = wxPyBeginAllowThreads();
7922 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7923 wxPyEndAllowThreads(__tstate);
7924 if (PyErr_Occurred()) SWIG_fail;
7925 }
7926 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7927 return resultobj;
7928 fail:
7929 return NULL;
7930 }
7931
7932
7933 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7934 PyObject *resultobj = 0;
7935 wxDialog *arg1 = (wxDialog *) 0 ;
7936 bool result;
7937 void *argp1 = 0 ;
7938 int res1 = 0 ;
7939 PyObject *swig_obj[1] ;
7940
7941 if (!args) SWIG_fail;
7942 swig_obj[0] = args;
7943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7944 if (!SWIG_IsOK(res1)) {
7945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7946 }
7947 arg1 = reinterpret_cast< wxDialog * >(argp1);
7948 {
7949 PyThreadState* __tstate = wxPyBeginAllowThreads();
7950 result = (bool)((wxDialog const *)arg1)->IsModal();
7951 wxPyEndAllowThreads(__tstate);
7952 if (PyErr_Occurred()) SWIG_fail;
7953 }
7954 {
7955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7956 }
7957 return resultobj;
7958 fail:
7959 return NULL;
7960 }
7961
7962
7963 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7964 PyObject *resultobj = 0;
7965 wxDialog *arg1 = (wxDialog *) 0 ;
7966 int result;
7967 void *argp1 = 0 ;
7968 int res1 = 0 ;
7969 PyObject *swig_obj[1] ;
7970
7971 if (!args) SWIG_fail;
7972 swig_obj[0] = args;
7973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7974 if (!SWIG_IsOK(res1)) {
7975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7976 }
7977 arg1 = reinterpret_cast< wxDialog * >(argp1);
7978 {
7979 PyThreadState* __tstate = wxPyBeginAllowThreads();
7980 result = (int)(arg1)->ShowModal();
7981 wxPyEndAllowThreads(__tstate);
7982 if (PyErr_Occurred()) SWIG_fail;
7983 }
7984 resultobj = SWIG_From_int(static_cast< int >(result));
7985 return resultobj;
7986 fail:
7987 return NULL;
7988 }
7989
7990
7991 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7992 PyObject *resultobj = 0;
7993 wxDialog *arg1 = (wxDialog *) 0 ;
7994 int arg2 ;
7995 void *argp1 = 0 ;
7996 int res1 = 0 ;
7997 int val2 ;
7998 int ecode2 = 0 ;
7999 PyObject * obj0 = 0 ;
8000 PyObject * obj1 = 0 ;
8001 char * kwnames[] = {
8002 (char *) "self",(char *) "retCode", NULL
8003 };
8004
8005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8007 if (!SWIG_IsOK(res1)) {
8008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8009 }
8010 arg1 = reinterpret_cast< wxDialog * >(argp1);
8011 ecode2 = SWIG_AsVal_int(obj1, &val2);
8012 if (!SWIG_IsOK(ecode2)) {
8013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8014 }
8015 arg2 = static_cast< int >(val2);
8016 {
8017 PyThreadState* __tstate = wxPyBeginAllowThreads();
8018 (arg1)->EndModal(arg2);
8019 wxPyEndAllowThreads(__tstate);
8020 if (PyErr_Occurred()) SWIG_fail;
8021 }
8022 resultobj = SWIG_Py_Void();
8023 return resultobj;
8024 fail:
8025 return NULL;
8026 }
8027
8028
8029 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8030 PyObject *resultobj = 0;
8031 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8032 SwigValueWrapper<wxVisualAttributes > result;
8033 int val1 ;
8034 int ecode1 = 0 ;
8035 PyObject * obj0 = 0 ;
8036 char * kwnames[] = {
8037 (char *) "variant", NULL
8038 };
8039
8040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8041 if (obj0) {
8042 ecode1 = SWIG_AsVal_int(obj0, &val1);
8043 if (!SWIG_IsOK(ecode1)) {
8044 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8045 }
8046 arg1 = static_cast< wxWindowVariant >(val1);
8047 }
8048 {
8049 if (!wxPyCheckForApp()) SWIG_fail;
8050 PyThreadState* __tstate = wxPyBeginAllowThreads();
8051 result = wxDialog::GetClassDefaultAttributes(arg1);
8052 wxPyEndAllowThreads(__tstate);
8053 if (PyErr_Occurred()) SWIG_fail;
8054 }
8055 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8056 return resultobj;
8057 fail:
8058 return NULL;
8059 }
8060
8061
8062 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8063 PyObject *obj;
8064 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8065 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8066 return SWIG_Py_Void();
8067 }
8068
8069 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8070 return SWIG_Python_InitShadowInstance(args);
8071 }
8072
8073 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8074 PyObject *resultobj = 0;
8075 wxWindow *arg1 = (wxWindow *) 0 ;
8076 int arg2 = (int) (int)-1 ;
8077 wxString const &arg3_defvalue = wxPyEmptyString ;
8078 wxString *arg3 = (wxString *) &arg3_defvalue ;
8079 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8080 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8081 wxSize const &arg5_defvalue = wxDefaultSize ;
8082 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8083 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
8084 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8085 wxString *arg7 = (wxString *) &arg7_defvalue ;
8086 wxMiniFrame *result = 0 ;
8087 void *argp1 = 0 ;
8088 int res1 = 0 ;
8089 int val2 ;
8090 int ecode2 = 0 ;
8091 bool temp3 = false ;
8092 wxPoint temp4 ;
8093 wxSize temp5 ;
8094 long val6 ;
8095 int ecode6 = 0 ;
8096 bool temp7 = false ;
8097 PyObject * obj0 = 0 ;
8098 PyObject * obj1 = 0 ;
8099 PyObject * obj2 = 0 ;
8100 PyObject * obj3 = 0 ;
8101 PyObject * obj4 = 0 ;
8102 PyObject * obj5 = 0 ;
8103 PyObject * obj6 = 0 ;
8104 char * kwnames[] = {
8105 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8106 };
8107
8108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8110 if (!SWIG_IsOK(res1)) {
8111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8112 }
8113 arg1 = reinterpret_cast< wxWindow * >(argp1);
8114 if (obj1) {
8115 ecode2 = SWIG_AsVal_int(obj1, &val2);
8116 if (!SWIG_IsOK(ecode2)) {
8117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8118 }
8119 arg2 = static_cast< int >(val2);
8120 }
8121 if (obj2) {
8122 {
8123 arg3 = wxString_in_helper(obj2);
8124 if (arg3 == NULL) SWIG_fail;
8125 temp3 = true;
8126 }
8127 }
8128 if (obj3) {
8129 {
8130 arg4 = &temp4;
8131 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8132 }
8133 }
8134 if (obj4) {
8135 {
8136 arg5 = &temp5;
8137 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8138 }
8139 }
8140 if (obj5) {
8141 ecode6 = SWIG_AsVal_long(obj5, &val6);
8142 if (!SWIG_IsOK(ecode6)) {
8143 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8144 }
8145 arg6 = static_cast< long >(val6);
8146 }
8147 if (obj6) {
8148 {
8149 arg7 = wxString_in_helper(obj6);
8150 if (arg7 == NULL) SWIG_fail;
8151 temp7 = true;
8152 }
8153 }
8154 {
8155 if (!wxPyCheckForApp()) SWIG_fail;
8156 PyThreadState* __tstate = wxPyBeginAllowThreads();
8157 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8158 wxPyEndAllowThreads(__tstate);
8159 if (PyErr_Occurred()) SWIG_fail;
8160 }
8161 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8162 {
8163 if (temp3)
8164 delete arg3;
8165 }
8166 {
8167 if (temp7)
8168 delete arg7;
8169 }
8170 return resultobj;
8171 fail:
8172 {
8173 if (temp3)
8174 delete arg3;
8175 }
8176 {
8177 if (temp7)
8178 delete arg7;
8179 }
8180 return NULL;
8181 }
8182
8183
8184 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8185 PyObject *resultobj = 0;
8186 wxMiniFrame *result = 0 ;
8187
8188 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8189 {
8190 if (!wxPyCheckForApp()) SWIG_fail;
8191 PyThreadState* __tstate = wxPyBeginAllowThreads();
8192 result = (wxMiniFrame *)new wxMiniFrame();
8193 wxPyEndAllowThreads(__tstate);
8194 if (PyErr_Occurred()) SWIG_fail;
8195 }
8196 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8197 return resultobj;
8198 fail:
8199 return NULL;
8200 }
8201
8202
8203 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8204 PyObject *resultobj = 0;
8205 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8206 wxWindow *arg2 = (wxWindow *) 0 ;
8207 int arg3 = (int) (int)-1 ;
8208 wxString const &arg4_defvalue = wxPyEmptyString ;
8209 wxString *arg4 = (wxString *) &arg4_defvalue ;
8210 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8211 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8212 wxSize const &arg6_defvalue = wxDefaultSize ;
8213 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8214 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8215 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8216 wxString *arg8 = (wxString *) &arg8_defvalue ;
8217 bool result;
8218 void *argp1 = 0 ;
8219 int res1 = 0 ;
8220 void *argp2 = 0 ;
8221 int res2 = 0 ;
8222 int val3 ;
8223 int ecode3 = 0 ;
8224 bool temp4 = false ;
8225 wxPoint temp5 ;
8226 wxSize temp6 ;
8227 long val7 ;
8228 int ecode7 = 0 ;
8229 bool temp8 = false ;
8230 PyObject * obj0 = 0 ;
8231 PyObject * obj1 = 0 ;
8232 PyObject * obj2 = 0 ;
8233 PyObject * obj3 = 0 ;
8234 PyObject * obj4 = 0 ;
8235 PyObject * obj5 = 0 ;
8236 PyObject * obj6 = 0 ;
8237 PyObject * obj7 = 0 ;
8238 char * kwnames[] = {
8239 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8240 };
8241
8242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8244 if (!SWIG_IsOK(res1)) {
8245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8246 }
8247 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8248 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8249 if (!SWIG_IsOK(res2)) {
8250 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8251 }
8252 arg2 = reinterpret_cast< wxWindow * >(argp2);
8253 if (obj2) {
8254 ecode3 = SWIG_AsVal_int(obj2, &val3);
8255 if (!SWIG_IsOK(ecode3)) {
8256 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8257 }
8258 arg3 = static_cast< int >(val3);
8259 }
8260 if (obj3) {
8261 {
8262 arg4 = wxString_in_helper(obj3);
8263 if (arg4 == NULL) SWIG_fail;
8264 temp4 = true;
8265 }
8266 }
8267 if (obj4) {
8268 {
8269 arg5 = &temp5;
8270 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8271 }
8272 }
8273 if (obj5) {
8274 {
8275 arg6 = &temp6;
8276 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8277 }
8278 }
8279 if (obj6) {
8280 ecode7 = SWIG_AsVal_long(obj6, &val7);
8281 if (!SWIG_IsOK(ecode7)) {
8282 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8283 }
8284 arg7 = static_cast< long >(val7);
8285 }
8286 if (obj7) {
8287 {
8288 arg8 = wxString_in_helper(obj7);
8289 if (arg8 == NULL) SWIG_fail;
8290 temp8 = true;
8291 }
8292 }
8293 {
8294 PyThreadState* __tstate = wxPyBeginAllowThreads();
8295 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8296 wxPyEndAllowThreads(__tstate);
8297 if (PyErr_Occurred()) SWIG_fail;
8298 }
8299 {
8300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8301 }
8302 {
8303 if (temp4)
8304 delete arg4;
8305 }
8306 {
8307 if (temp8)
8308 delete arg8;
8309 }
8310 return resultobj;
8311 fail:
8312 {
8313 if (temp4)
8314 delete arg4;
8315 }
8316 {
8317 if (temp8)
8318 delete arg8;
8319 }
8320 return NULL;
8321 }
8322
8323
8324 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8325 PyObject *obj;
8326 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8327 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8328 return SWIG_Py_Void();
8329 }
8330
8331 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8332 return SWIG_Python_InitShadowInstance(args);
8333 }
8334
8335 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8336 PyObject *resultobj = 0;
8337 wxBitmap *arg1 = 0 ;
8338 wxWindow *arg2 = (wxWindow *) 0 ;
8339 int arg3 ;
8340 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8341 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8342 wxSize const &arg5_defvalue = wxDefaultSize ;
8343 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8344 long arg6 = (long) wxNO_BORDER ;
8345 wxSplashScreenWindow *result = 0 ;
8346 void *argp1 = 0 ;
8347 int res1 = 0 ;
8348 void *argp2 = 0 ;
8349 int res2 = 0 ;
8350 int val3 ;
8351 int ecode3 = 0 ;
8352 wxPoint temp4 ;
8353 wxSize temp5 ;
8354 long val6 ;
8355 int ecode6 = 0 ;
8356 PyObject * obj0 = 0 ;
8357 PyObject * obj1 = 0 ;
8358 PyObject * obj2 = 0 ;
8359 PyObject * obj3 = 0 ;
8360 PyObject * obj4 = 0 ;
8361 PyObject * obj5 = 0 ;
8362 char * kwnames[] = {
8363 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8364 };
8365
8366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8367 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8368 if (!SWIG_IsOK(res1)) {
8369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8370 }
8371 if (!argp1) {
8372 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8373 }
8374 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8375 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8376 if (!SWIG_IsOK(res2)) {
8377 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8378 }
8379 arg2 = reinterpret_cast< wxWindow * >(argp2);
8380 ecode3 = SWIG_AsVal_int(obj2, &val3);
8381 if (!SWIG_IsOK(ecode3)) {
8382 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8383 }
8384 arg3 = static_cast< int >(val3);
8385 if (obj3) {
8386 {
8387 arg4 = &temp4;
8388 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8389 }
8390 }
8391 if (obj4) {
8392 {
8393 arg5 = &temp5;
8394 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8395 }
8396 }
8397 if (obj5) {
8398 ecode6 = SWIG_AsVal_long(obj5, &val6);
8399 if (!SWIG_IsOK(ecode6)) {
8400 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8401 }
8402 arg6 = static_cast< long >(val6);
8403 }
8404 {
8405 if (!wxPyCheckForApp()) SWIG_fail;
8406 PyThreadState* __tstate = wxPyBeginAllowThreads();
8407 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8408 wxPyEndAllowThreads(__tstate);
8409 if (PyErr_Occurred()) SWIG_fail;
8410 }
8411 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8412 return resultobj;
8413 fail:
8414 return NULL;
8415 }
8416
8417
8418 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8419 PyObject *resultobj = 0;
8420 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8421 wxBitmap *arg2 = 0 ;
8422 void *argp1 = 0 ;
8423 int res1 = 0 ;
8424 void *argp2 = 0 ;
8425 int res2 = 0 ;
8426 PyObject * obj0 = 0 ;
8427 PyObject * obj1 = 0 ;
8428 char * kwnames[] = {
8429 (char *) "self",(char *) "bitmap", NULL
8430 };
8431
8432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8434 if (!SWIG_IsOK(res1)) {
8435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8436 }
8437 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8438 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8439 if (!SWIG_IsOK(res2)) {
8440 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8441 }
8442 if (!argp2) {
8443 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8444 }
8445 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8446 {
8447 PyThreadState* __tstate = wxPyBeginAllowThreads();
8448 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8449 wxPyEndAllowThreads(__tstate);
8450 if (PyErr_Occurred()) SWIG_fail;
8451 }
8452 resultobj = SWIG_Py_Void();
8453 return resultobj;
8454 fail:
8455 return NULL;
8456 }
8457
8458
8459 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8460 PyObject *resultobj = 0;
8461 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8462 wxBitmap *result = 0 ;
8463 void *argp1 = 0 ;
8464 int res1 = 0 ;
8465 PyObject *swig_obj[1] ;
8466
8467 if (!args) SWIG_fail;
8468 swig_obj[0] = args;
8469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8470 if (!SWIG_IsOK(res1)) {
8471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8472 }
8473 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8474 {
8475 PyThreadState* __tstate = wxPyBeginAllowThreads();
8476 {
8477 wxBitmap &_result_ref = (arg1)->GetBitmap();
8478 result = (wxBitmap *) &_result_ref;
8479 }
8480 wxPyEndAllowThreads(__tstate);
8481 if (PyErr_Occurred()) SWIG_fail;
8482 }
8483 {
8484 wxBitmap* resultptr = new wxBitmap(*result);
8485 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8486 }
8487 return resultobj;
8488 fail:
8489 return NULL;
8490 }
8491
8492
8493 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8494 PyObject *obj;
8495 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8496 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8497 return SWIG_Py_Void();
8498 }
8499
8500 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8501 return SWIG_Python_InitShadowInstance(args);
8502 }
8503
8504 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8505 PyObject *resultobj = 0;
8506 wxBitmap *arg1 = 0 ;
8507 long arg2 ;
8508 int arg3 ;
8509 wxWindow *arg4 = (wxWindow *) 0 ;
8510 int arg5 = (int) -1 ;
8511 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8512 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8513 wxSize const &arg7_defvalue = wxDefaultSize ;
8514 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8515 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8516 wxSplashScreen *result = 0 ;
8517 void *argp1 = 0 ;
8518 int res1 = 0 ;
8519 long val2 ;
8520 int ecode2 = 0 ;
8521 int val3 ;
8522 int ecode3 = 0 ;
8523 void *argp4 = 0 ;
8524 int res4 = 0 ;
8525 int val5 ;
8526 int ecode5 = 0 ;
8527 wxPoint temp6 ;
8528 wxSize temp7 ;
8529 long val8 ;
8530 int ecode8 = 0 ;
8531 PyObject * obj0 = 0 ;
8532 PyObject * obj1 = 0 ;
8533 PyObject * obj2 = 0 ;
8534 PyObject * obj3 = 0 ;
8535 PyObject * obj4 = 0 ;
8536 PyObject * obj5 = 0 ;
8537 PyObject * obj6 = 0 ;
8538 PyObject * obj7 = 0 ;
8539 char * kwnames[] = {
8540 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8541 };
8542
8543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8544 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8545 if (!SWIG_IsOK(res1)) {
8546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8547 }
8548 if (!argp1) {
8549 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8550 }
8551 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8552 ecode2 = SWIG_AsVal_long(obj1, &val2);
8553 if (!SWIG_IsOK(ecode2)) {
8554 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8555 }
8556 arg2 = static_cast< long >(val2);
8557 ecode3 = SWIG_AsVal_int(obj2, &val3);
8558 if (!SWIG_IsOK(ecode3)) {
8559 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8560 }
8561 arg3 = static_cast< int >(val3);
8562 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8563 if (!SWIG_IsOK(res4)) {
8564 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8565 }
8566 arg4 = reinterpret_cast< wxWindow * >(argp4);
8567 if (obj4) {
8568 ecode5 = SWIG_AsVal_int(obj4, &val5);
8569 if (!SWIG_IsOK(ecode5)) {
8570 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8571 }
8572 arg5 = static_cast< int >(val5);
8573 }
8574 if (obj5) {
8575 {
8576 arg6 = &temp6;
8577 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8578 }
8579 }
8580 if (obj6) {
8581 {
8582 arg7 = &temp7;
8583 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8584 }
8585 }
8586 if (obj7) {
8587 ecode8 = SWIG_AsVal_long(obj7, &val8);
8588 if (!SWIG_IsOK(ecode8)) {
8589 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8590 }
8591 arg8 = static_cast< long >(val8);
8592 }
8593 {
8594 if (!wxPyCheckForApp()) SWIG_fail;
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8597 wxPyEndAllowThreads(__tstate);
8598 if (PyErr_Occurred()) SWIG_fail;
8599 }
8600 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8601 return resultobj;
8602 fail:
8603 return NULL;
8604 }
8605
8606
8607 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8608 PyObject *resultobj = 0;
8609 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8610 long result;
8611 void *argp1 = 0 ;
8612 int res1 = 0 ;
8613 PyObject *swig_obj[1] ;
8614
8615 if (!args) SWIG_fail;
8616 swig_obj[0] = args;
8617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8618 if (!SWIG_IsOK(res1)) {
8619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8620 }
8621 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8622 {
8623 PyThreadState* __tstate = wxPyBeginAllowThreads();
8624 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8625 wxPyEndAllowThreads(__tstate);
8626 if (PyErr_Occurred()) SWIG_fail;
8627 }
8628 resultobj = SWIG_From_long(static_cast< long >(result));
8629 return resultobj;
8630 fail:
8631 return NULL;
8632 }
8633
8634
8635 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8636 PyObject *resultobj = 0;
8637 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8638 wxSplashScreenWindow *result = 0 ;
8639 void *argp1 = 0 ;
8640 int res1 = 0 ;
8641 PyObject *swig_obj[1] ;
8642
8643 if (!args) SWIG_fail;
8644 swig_obj[0] = args;
8645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8646 if (!SWIG_IsOK(res1)) {
8647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8648 }
8649 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8650 {
8651 PyThreadState* __tstate = wxPyBeginAllowThreads();
8652 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8653 wxPyEndAllowThreads(__tstate);
8654 if (PyErr_Occurred()) SWIG_fail;
8655 }
8656 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8657 return resultobj;
8658 fail:
8659 return NULL;
8660 }
8661
8662
8663 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8664 PyObject *resultobj = 0;
8665 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8666 int result;
8667 void *argp1 = 0 ;
8668 int res1 = 0 ;
8669 PyObject *swig_obj[1] ;
8670
8671 if (!args) SWIG_fail;
8672 swig_obj[0] = args;
8673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8674 if (!SWIG_IsOK(res1)) {
8675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8676 }
8677 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8678 {
8679 PyThreadState* __tstate = wxPyBeginAllowThreads();
8680 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8681 wxPyEndAllowThreads(__tstate);
8682 if (PyErr_Occurred()) SWIG_fail;
8683 }
8684 resultobj = SWIG_From_int(static_cast< int >(result));
8685 return resultobj;
8686 fail:
8687 return NULL;
8688 }
8689
8690
8691 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8692 PyObject *obj;
8693 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8694 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8695 return SWIG_Py_Void();
8696 }
8697
8698 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8699 return SWIG_Python_InitShadowInstance(args);
8700 }
8701
8702 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8703 PyObject *resultobj = 0;
8704 wxWindow *arg1 = (wxWindow *) 0 ;
8705 int arg2 = (int) -1 ;
8706 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8707 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8708 wxString *arg4 = (wxString *) &arg4_defvalue ;
8709 wxStatusBar *result = 0 ;
8710 void *argp1 = 0 ;
8711 int res1 = 0 ;
8712 int val2 ;
8713 int ecode2 = 0 ;
8714 long val3 ;
8715 int ecode3 = 0 ;
8716 bool temp4 = false ;
8717 PyObject * obj0 = 0 ;
8718 PyObject * obj1 = 0 ;
8719 PyObject * obj2 = 0 ;
8720 PyObject * obj3 = 0 ;
8721 char * kwnames[] = {
8722 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8723 };
8724
8725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8727 if (!SWIG_IsOK(res1)) {
8728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8729 }
8730 arg1 = reinterpret_cast< wxWindow * >(argp1);
8731 if (obj1) {
8732 ecode2 = SWIG_AsVal_int(obj1, &val2);
8733 if (!SWIG_IsOK(ecode2)) {
8734 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8735 }
8736 arg2 = static_cast< int >(val2);
8737 }
8738 if (obj2) {
8739 ecode3 = SWIG_AsVal_long(obj2, &val3);
8740 if (!SWIG_IsOK(ecode3)) {
8741 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8742 }
8743 arg3 = static_cast< long >(val3);
8744 }
8745 if (obj3) {
8746 {
8747 arg4 = wxString_in_helper(obj3);
8748 if (arg4 == NULL) SWIG_fail;
8749 temp4 = true;
8750 }
8751 }
8752 {
8753 if (!wxPyCheckForApp()) SWIG_fail;
8754 PyThreadState* __tstate = wxPyBeginAllowThreads();
8755 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8756 wxPyEndAllowThreads(__tstate);
8757 if (PyErr_Occurred()) SWIG_fail;
8758 }
8759 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8760 {
8761 if (temp4)
8762 delete arg4;
8763 }
8764 return resultobj;
8765 fail:
8766 {
8767 if (temp4)
8768 delete arg4;
8769 }
8770 return NULL;
8771 }
8772
8773
8774 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8775 PyObject *resultobj = 0;
8776 wxStatusBar *result = 0 ;
8777
8778 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8779 {
8780 if (!wxPyCheckForApp()) SWIG_fail;
8781 PyThreadState* __tstate = wxPyBeginAllowThreads();
8782 result = (wxStatusBar *)new wxStatusBar();
8783 wxPyEndAllowThreads(__tstate);
8784 if (PyErr_Occurred()) SWIG_fail;
8785 }
8786 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8787 return resultobj;
8788 fail:
8789 return NULL;
8790 }
8791
8792
8793 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8794 PyObject *resultobj = 0;
8795 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8796 wxWindow *arg2 = (wxWindow *) 0 ;
8797 int arg3 = (int) -1 ;
8798 long arg4 = (long) wxST_SIZEGRIP ;
8799 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8800 wxString *arg5 = (wxString *) &arg5_defvalue ;
8801 bool result;
8802 void *argp1 = 0 ;
8803 int res1 = 0 ;
8804 void *argp2 = 0 ;
8805 int res2 = 0 ;
8806 int val3 ;
8807 int ecode3 = 0 ;
8808 long val4 ;
8809 int ecode4 = 0 ;
8810 bool temp5 = false ;
8811 PyObject * obj0 = 0 ;
8812 PyObject * obj1 = 0 ;
8813 PyObject * obj2 = 0 ;
8814 PyObject * obj3 = 0 ;
8815 PyObject * obj4 = 0 ;
8816 char * kwnames[] = {
8817 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8818 };
8819
8820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8822 if (!SWIG_IsOK(res1)) {
8823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8824 }
8825 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8826 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8827 if (!SWIG_IsOK(res2)) {
8828 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8829 }
8830 arg2 = reinterpret_cast< wxWindow * >(argp2);
8831 if (obj2) {
8832 ecode3 = SWIG_AsVal_int(obj2, &val3);
8833 if (!SWIG_IsOK(ecode3)) {
8834 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8835 }
8836 arg3 = static_cast< int >(val3);
8837 }
8838 if (obj3) {
8839 ecode4 = SWIG_AsVal_long(obj3, &val4);
8840 if (!SWIG_IsOK(ecode4)) {
8841 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8842 }
8843 arg4 = static_cast< long >(val4);
8844 }
8845 if (obj4) {
8846 {
8847 arg5 = wxString_in_helper(obj4);
8848 if (arg5 == NULL) SWIG_fail;
8849 temp5 = true;
8850 }
8851 }
8852 {
8853 PyThreadState* __tstate = wxPyBeginAllowThreads();
8854 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8855 wxPyEndAllowThreads(__tstate);
8856 if (PyErr_Occurred()) SWIG_fail;
8857 }
8858 {
8859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8860 }
8861 {
8862 if (temp5)
8863 delete arg5;
8864 }
8865 return resultobj;
8866 fail:
8867 {
8868 if (temp5)
8869 delete arg5;
8870 }
8871 return NULL;
8872 }
8873
8874
8875 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8876 PyObject *resultobj = 0;
8877 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8878 int arg2 = (int) 1 ;
8879 void *argp1 = 0 ;
8880 int res1 = 0 ;
8881 int val2 ;
8882 int ecode2 = 0 ;
8883 PyObject * obj0 = 0 ;
8884 PyObject * obj1 = 0 ;
8885 char * kwnames[] = {
8886 (char *) "self",(char *) "number", NULL
8887 };
8888
8889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8891 if (!SWIG_IsOK(res1)) {
8892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8893 }
8894 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8895 if (obj1) {
8896 ecode2 = SWIG_AsVal_int(obj1, &val2);
8897 if (!SWIG_IsOK(ecode2)) {
8898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8899 }
8900 arg2 = static_cast< int >(val2);
8901 }
8902 {
8903 PyThreadState* __tstate = wxPyBeginAllowThreads();
8904 (arg1)->SetFieldsCount(arg2);
8905 wxPyEndAllowThreads(__tstate);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 resultobj = SWIG_Py_Void();
8909 return resultobj;
8910 fail:
8911 return NULL;
8912 }
8913
8914
8915 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8916 PyObject *resultobj = 0;
8917 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8918 int result;
8919 void *argp1 = 0 ;
8920 int res1 = 0 ;
8921 PyObject *swig_obj[1] ;
8922
8923 if (!args) SWIG_fail;
8924 swig_obj[0] = args;
8925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8926 if (!SWIG_IsOK(res1)) {
8927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8928 }
8929 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8930 {
8931 PyThreadState* __tstate = wxPyBeginAllowThreads();
8932 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8933 wxPyEndAllowThreads(__tstate);
8934 if (PyErr_Occurred()) SWIG_fail;
8935 }
8936 resultobj = SWIG_From_int(static_cast< int >(result));
8937 return resultobj;
8938 fail:
8939 return NULL;
8940 }
8941
8942
8943 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8944 PyObject *resultobj = 0;
8945 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8946 wxString *arg2 = 0 ;
8947 int arg3 = (int) 0 ;
8948 void *argp1 = 0 ;
8949 int res1 = 0 ;
8950 bool temp2 = false ;
8951 int val3 ;
8952 int ecode3 = 0 ;
8953 PyObject * obj0 = 0 ;
8954 PyObject * obj1 = 0 ;
8955 PyObject * obj2 = 0 ;
8956 char * kwnames[] = {
8957 (char *) "self",(char *) "text",(char *) "number", NULL
8958 };
8959
8960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8962 if (!SWIG_IsOK(res1)) {
8963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8964 }
8965 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8966 {
8967 arg2 = wxString_in_helper(obj1);
8968 if (arg2 == NULL) SWIG_fail;
8969 temp2 = true;
8970 }
8971 if (obj2) {
8972 ecode3 = SWIG_AsVal_int(obj2, &val3);
8973 if (!SWIG_IsOK(ecode3)) {
8974 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8975 }
8976 arg3 = static_cast< int >(val3);
8977 }
8978 {
8979 PyThreadState* __tstate = wxPyBeginAllowThreads();
8980 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8981 wxPyEndAllowThreads(__tstate);
8982 if (PyErr_Occurred()) SWIG_fail;
8983 }
8984 resultobj = SWIG_Py_Void();
8985 {
8986 if (temp2)
8987 delete arg2;
8988 }
8989 return resultobj;
8990 fail:
8991 {
8992 if (temp2)
8993 delete arg2;
8994 }
8995 return NULL;
8996 }
8997
8998
8999 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9000 PyObject *resultobj = 0;
9001 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9002 int arg2 = (int) 0 ;
9003 wxString result;
9004 void *argp1 = 0 ;
9005 int res1 = 0 ;
9006 int val2 ;
9007 int ecode2 = 0 ;
9008 PyObject * obj0 = 0 ;
9009 PyObject * obj1 = 0 ;
9010 char * kwnames[] = {
9011 (char *) "self",(char *) "number", NULL
9012 };
9013
9014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9016 if (!SWIG_IsOK(res1)) {
9017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9018 }
9019 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9020 if (obj1) {
9021 ecode2 = SWIG_AsVal_int(obj1, &val2);
9022 if (!SWIG_IsOK(ecode2)) {
9023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9024 }
9025 arg2 = static_cast< int >(val2);
9026 }
9027 {
9028 PyThreadState* __tstate = wxPyBeginAllowThreads();
9029 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9030 wxPyEndAllowThreads(__tstate);
9031 if (PyErr_Occurred()) SWIG_fail;
9032 }
9033 {
9034 #if wxUSE_UNICODE
9035 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9036 #else
9037 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9038 #endif
9039 }
9040 return resultobj;
9041 fail:
9042 return NULL;
9043 }
9044
9045
9046 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9047 PyObject *resultobj = 0;
9048 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9049 wxString *arg2 = 0 ;
9050 int arg3 = (int) 0 ;
9051 void *argp1 = 0 ;
9052 int res1 = 0 ;
9053 bool temp2 = false ;
9054 int val3 ;
9055 int ecode3 = 0 ;
9056 PyObject * obj0 = 0 ;
9057 PyObject * obj1 = 0 ;
9058 PyObject * obj2 = 0 ;
9059 char * kwnames[] = {
9060 (char *) "self",(char *) "text",(char *) "number", NULL
9061 };
9062
9063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9065 if (!SWIG_IsOK(res1)) {
9066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9067 }
9068 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9069 {
9070 arg2 = wxString_in_helper(obj1);
9071 if (arg2 == NULL) SWIG_fail;
9072 temp2 = true;
9073 }
9074 if (obj2) {
9075 ecode3 = SWIG_AsVal_int(obj2, &val3);
9076 if (!SWIG_IsOK(ecode3)) {
9077 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9078 }
9079 arg3 = static_cast< int >(val3);
9080 }
9081 {
9082 PyThreadState* __tstate = wxPyBeginAllowThreads();
9083 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9084 wxPyEndAllowThreads(__tstate);
9085 if (PyErr_Occurred()) SWIG_fail;
9086 }
9087 resultobj = SWIG_Py_Void();
9088 {
9089 if (temp2)
9090 delete arg2;
9091 }
9092 return resultobj;
9093 fail:
9094 {
9095 if (temp2)
9096 delete arg2;
9097 }
9098 return NULL;
9099 }
9100
9101
9102 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9103 PyObject *resultobj = 0;
9104 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9105 int arg2 = (int) 0 ;
9106 void *argp1 = 0 ;
9107 int res1 = 0 ;
9108 int val2 ;
9109 int ecode2 = 0 ;
9110 PyObject * obj0 = 0 ;
9111 PyObject * obj1 = 0 ;
9112 char * kwnames[] = {
9113 (char *) "self",(char *) "number", NULL
9114 };
9115
9116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9118 if (!SWIG_IsOK(res1)) {
9119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9120 }
9121 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9122 if (obj1) {
9123 ecode2 = SWIG_AsVal_int(obj1, &val2);
9124 if (!SWIG_IsOK(ecode2)) {
9125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9126 }
9127 arg2 = static_cast< int >(val2);
9128 }
9129 {
9130 PyThreadState* __tstate = wxPyBeginAllowThreads();
9131 (arg1)->PopStatusText(arg2);
9132 wxPyEndAllowThreads(__tstate);
9133 if (PyErr_Occurred()) SWIG_fail;
9134 }
9135 resultobj = SWIG_Py_Void();
9136 return resultobj;
9137 fail:
9138 return NULL;
9139 }
9140
9141
9142 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9143 PyObject *resultobj = 0;
9144 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9145 int arg2 ;
9146 int *arg3 = (int *) 0 ;
9147 void *argp1 = 0 ;
9148 int res1 = 0 ;
9149 PyObject * obj0 = 0 ;
9150 PyObject * obj1 = 0 ;
9151 char * kwnames[] = {
9152 (char *) "self",(char *) "widths", NULL
9153 };
9154
9155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9157 if (!SWIG_IsOK(res1)) {
9158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9159 }
9160 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9161 {
9162 arg2 = PyList_Size(obj1);
9163 arg3 = int_LIST_helper(obj1);
9164 if (arg3 == NULL) SWIG_fail;
9165 }
9166 {
9167 PyThreadState* __tstate = wxPyBeginAllowThreads();
9168 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9169 wxPyEndAllowThreads(__tstate);
9170 if (PyErr_Occurred()) SWIG_fail;
9171 }
9172 resultobj = SWIG_Py_Void();
9173 {
9174 if (arg3) delete [] arg3;
9175 }
9176 return resultobj;
9177 fail:
9178 {
9179 if (arg3) delete [] arg3;
9180 }
9181 return NULL;
9182 }
9183
9184
9185 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9186 PyObject *resultobj = 0;
9187 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9188 int arg2 ;
9189 int *arg3 = (int *) 0 ;
9190 void *argp1 = 0 ;
9191 int res1 = 0 ;
9192 PyObject * obj0 = 0 ;
9193 PyObject * obj1 = 0 ;
9194 char * kwnames[] = {
9195 (char *) "self",(char *) "styles", NULL
9196 };
9197
9198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9200 if (!SWIG_IsOK(res1)) {
9201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9202 }
9203 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9204 {
9205 arg2 = PyList_Size(obj1);
9206 arg3 = int_LIST_helper(obj1);
9207 if (arg3 == NULL) SWIG_fail;
9208 }
9209 {
9210 PyThreadState* __tstate = wxPyBeginAllowThreads();
9211 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9212 wxPyEndAllowThreads(__tstate);
9213 if (PyErr_Occurred()) SWIG_fail;
9214 }
9215 resultobj = SWIG_Py_Void();
9216 {
9217 if (arg3) delete [] arg3;
9218 }
9219 return resultobj;
9220 fail:
9221 {
9222 if (arg3) delete [] arg3;
9223 }
9224 return NULL;
9225 }
9226
9227
9228 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9229 PyObject *resultobj = 0;
9230 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9231 int arg2 ;
9232 wxRect result;
9233 void *argp1 = 0 ;
9234 int res1 = 0 ;
9235 int val2 ;
9236 int ecode2 = 0 ;
9237 PyObject * obj0 = 0 ;
9238 PyObject * obj1 = 0 ;
9239 char * kwnames[] = {
9240 (char *) "self",(char *) "i", NULL
9241 };
9242
9243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9245 if (!SWIG_IsOK(res1)) {
9246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9247 }
9248 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9249 ecode2 = SWIG_AsVal_int(obj1, &val2);
9250 if (!SWIG_IsOK(ecode2)) {
9251 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9252 }
9253 arg2 = static_cast< int >(val2);
9254 {
9255 PyThreadState* __tstate = wxPyBeginAllowThreads();
9256 result = wxStatusBar_GetFieldRect(arg1,arg2);
9257 wxPyEndAllowThreads(__tstate);
9258 if (PyErr_Occurred()) SWIG_fail;
9259 }
9260 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9261 return resultobj;
9262 fail:
9263 return NULL;
9264 }
9265
9266
9267 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9268 PyObject *resultobj = 0;
9269 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9270 int arg2 ;
9271 void *argp1 = 0 ;
9272 int res1 = 0 ;
9273 int val2 ;
9274 int ecode2 = 0 ;
9275 PyObject * obj0 = 0 ;
9276 PyObject * obj1 = 0 ;
9277 char * kwnames[] = {
9278 (char *) "self",(char *) "height", NULL
9279 };
9280
9281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9283 if (!SWIG_IsOK(res1)) {
9284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9285 }
9286 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9287 ecode2 = SWIG_AsVal_int(obj1, &val2);
9288 if (!SWIG_IsOK(ecode2)) {
9289 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9290 }
9291 arg2 = static_cast< int >(val2);
9292 {
9293 PyThreadState* __tstate = wxPyBeginAllowThreads();
9294 (arg1)->SetMinHeight(arg2);
9295 wxPyEndAllowThreads(__tstate);
9296 if (PyErr_Occurred()) SWIG_fail;
9297 }
9298 resultobj = SWIG_Py_Void();
9299 return resultobj;
9300 fail:
9301 return NULL;
9302 }
9303
9304
9305 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9306 PyObject *resultobj = 0;
9307 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9308 int result;
9309 void *argp1 = 0 ;
9310 int res1 = 0 ;
9311 PyObject *swig_obj[1] ;
9312
9313 if (!args) SWIG_fail;
9314 swig_obj[0] = args;
9315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9316 if (!SWIG_IsOK(res1)) {
9317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9318 }
9319 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9320 {
9321 PyThreadState* __tstate = wxPyBeginAllowThreads();
9322 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9323 wxPyEndAllowThreads(__tstate);
9324 if (PyErr_Occurred()) SWIG_fail;
9325 }
9326 resultobj = SWIG_From_int(static_cast< int >(result));
9327 return resultobj;
9328 fail:
9329 return NULL;
9330 }
9331
9332
9333 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9334 PyObject *resultobj = 0;
9335 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9336 int result;
9337 void *argp1 = 0 ;
9338 int res1 = 0 ;
9339 PyObject *swig_obj[1] ;
9340
9341 if (!args) SWIG_fail;
9342 swig_obj[0] = args;
9343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9344 if (!SWIG_IsOK(res1)) {
9345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9346 }
9347 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9348 {
9349 PyThreadState* __tstate = wxPyBeginAllowThreads();
9350 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9351 wxPyEndAllowThreads(__tstate);
9352 if (PyErr_Occurred()) SWIG_fail;
9353 }
9354 resultobj = SWIG_From_int(static_cast< int >(result));
9355 return resultobj;
9356 fail:
9357 return NULL;
9358 }
9359
9360
9361 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9362 PyObject *resultobj = 0;
9363 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9364 SwigValueWrapper<wxVisualAttributes > result;
9365 int val1 ;
9366 int ecode1 = 0 ;
9367 PyObject * obj0 = 0 ;
9368 char * kwnames[] = {
9369 (char *) "variant", NULL
9370 };
9371
9372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9373 if (obj0) {
9374 ecode1 = SWIG_AsVal_int(obj0, &val1);
9375 if (!SWIG_IsOK(ecode1)) {
9376 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9377 }
9378 arg1 = static_cast< wxWindowVariant >(val1);
9379 }
9380 {
9381 if (!wxPyCheckForApp()) SWIG_fail;
9382 PyThreadState* __tstate = wxPyBeginAllowThreads();
9383 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9384 wxPyEndAllowThreads(__tstate);
9385 if (PyErr_Occurred()) SWIG_fail;
9386 }
9387 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9388 return resultobj;
9389 fail:
9390 return NULL;
9391 }
9392
9393
9394 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9395 PyObject *obj;
9396 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9397 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9398 return SWIG_Py_Void();
9399 }
9400
9401 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9402 return SWIG_Python_InitShadowInstance(args);
9403 }
9404
9405 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9406 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9407 return 1;
9408 }
9409
9410
9411 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9412 PyObject *pyobj = 0;
9413
9414 {
9415 #if wxUSE_UNICODE
9416 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9417 #else
9418 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9419 #endif
9420 }
9421 return pyobj;
9422 }
9423
9424
9425 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9426 PyObject *resultobj = 0;
9427 wxWindow *arg1 = (wxWindow *) 0 ;
9428 int arg2 = (int) -1 ;
9429 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9430 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9431 wxSize const &arg4_defvalue = wxDefaultSize ;
9432 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9433 long arg5 = (long) wxSP_3D ;
9434 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9435 wxString *arg6 = (wxString *) &arg6_defvalue ;
9436 wxSplitterWindow *result = 0 ;
9437 void *argp1 = 0 ;
9438 int res1 = 0 ;
9439 int val2 ;
9440 int ecode2 = 0 ;
9441 wxPoint temp3 ;
9442 wxSize temp4 ;
9443 long val5 ;
9444 int ecode5 = 0 ;
9445 bool temp6 = false ;
9446 PyObject * obj0 = 0 ;
9447 PyObject * obj1 = 0 ;
9448 PyObject * obj2 = 0 ;
9449 PyObject * obj3 = 0 ;
9450 PyObject * obj4 = 0 ;
9451 PyObject * obj5 = 0 ;
9452 char * kwnames[] = {
9453 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9454 };
9455
9456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9458 if (!SWIG_IsOK(res1)) {
9459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9460 }
9461 arg1 = reinterpret_cast< wxWindow * >(argp1);
9462 if (obj1) {
9463 ecode2 = SWIG_AsVal_int(obj1, &val2);
9464 if (!SWIG_IsOK(ecode2)) {
9465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9466 }
9467 arg2 = static_cast< int >(val2);
9468 }
9469 if (obj2) {
9470 {
9471 arg3 = &temp3;
9472 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9473 }
9474 }
9475 if (obj3) {
9476 {
9477 arg4 = &temp4;
9478 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9479 }
9480 }
9481 if (obj4) {
9482 ecode5 = SWIG_AsVal_long(obj4, &val5);
9483 if (!SWIG_IsOK(ecode5)) {
9484 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9485 }
9486 arg5 = static_cast< long >(val5);
9487 }
9488 if (obj5) {
9489 {
9490 arg6 = wxString_in_helper(obj5);
9491 if (arg6 == NULL) SWIG_fail;
9492 temp6 = true;
9493 }
9494 }
9495 {
9496 if (!wxPyCheckForApp()) SWIG_fail;
9497 PyThreadState* __tstate = wxPyBeginAllowThreads();
9498 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9499 wxPyEndAllowThreads(__tstate);
9500 if (PyErr_Occurred()) SWIG_fail;
9501 }
9502 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9503 {
9504 if (temp6)
9505 delete arg6;
9506 }
9507 return resultobj;
9508 fail:
9509 {
9510 if (temp6)
9511 delete arg6;
9512 }
9513 return NULL;
9514 }
9515
9516
9517 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9518 PyObject *resultobj = 0;
9519 wxSplitterWindow *result = 0 ;
9520
9521 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9522 {
9523 if (!wxPyCheckForApp()) SWIG_fail;
9524 PyThreadState* __tstate = wxPyBeginAllowThreads();
9525 result = (wxSplitterWindow *)new wxSplitterWindow();
9526 wxPyEndAllowThreads(__tstate);
9527 if (PyErr_Occurred()) SWIG_fail;
9528 }
9529 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9530 return resultobj;
9531 fail:
9532 return NULL;
9533 }
9534
9535
9536 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9537 PyObject *resultobj = 0;
9538 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9539 wxWindow *arg2 = (wxWindow *) 0 ;
9540 int arg3 = (int) -1 ;
9541 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9542 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9543 wxSize const &arg5_defvalue = wxDefaultSize ;
9544 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9545 long arg6 = (long) wxSP_3D ;
9546 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9547 wxString *arg7 = (wxString *) &arg7_defvalue ;
9548 bool result;
9549 void *argp1 = 0 ;
9550 int res1 = 0 ;
9551 void *argp2 = 0 ;
9552 int res2 = 0 ;
9553 int val3 ;
9554 int ecode3 = 0 ;
9555 wxPoint temp4 ;
9556 wxSize temp5 ;
9557 long val6 ;
9558 int ecode6 = 0 ;
9559 bool temp7 = false ;
9560 PyObject * obj0 = 0 ;
9561 PyObject * obj1 = 0 ;
9562 PyObject * obj2 = 0 ;
9563 PyObject * obj3 = 0 ;
9564 PyObject * obj4 = 0 ;
9565 PyObject * obj5 = 0 ;
9566 PyObject * obj6 = 0 ;
9567 char * kwnames[] = {
9568 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9569 };
9570
9571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9573 if (!SWIG_IsOK(res1)) {
9574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9575 }
9576 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9577 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9578 if (!SWIG_IsOK(res2)) {
9579 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9580 }
9581 arg2 = reinterpret_cast< wxWindow * >(argp2);
9582 if (obj2) {
9583 ecode3 = SWIG_AsVal_int(obj2, &val3);
9584 if (!SWIG_IsOK(ecode3)) {
9585 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9586 }
9587 arg3 = static_cast< int >(val3);
9588 }
9589 if (obj3) {
9590 {
9591 arg4 = &temp4;
9592 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9593 }
9594 }
9595 if (obj4) {
9596 {
9597 arg5 = &temp5;
9598 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9599 }
9600 }
9601 if (obj5) {
9602 ecode6 = SWIG_AsVal_long(obj5, &val6);
9603 if (!SWIG_IsOK(ecode6)) {
9604 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9605 }
9606 arg6 = static_cast< long >(val6);
9607 }
9608 if (obj6) {
9609 {
9610 arg7 = wxString_in_helper(obj6);
9611 if (arg7 == NULL) SWIG_fail;
9612 temp7 = true;
9613 }
9614 }
9615 {
9616 PyThreadState* __tstate = wxPyBeginAllowThreads();
9617 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9618 wxPyEndAllowThreads(__tstate);
9619 if (PyErr_Occurred()) SWIG_fail;
9620 }
9621 {
9622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9623 }
9624 {
9625 if (temp7)
9626 delete arg7;
9627 }
9628 return resultobj;
9629 fail:
9630 {
9631 if (temp7)
9632 delete arg7;
9633 }
9634 return NULL;
9635 }
9636
9637
9638 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9639 PyObject *resultobj = 0;
9640 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9641 wxWindow *result = 0 ;
9642 void *argp1 = 0 ;
9643 int res1 = 0 ;
9644 PyObject *swig_obj[1] ;
9645
9646 if (!args) SWIG_fail;
9647 swig_obj[0] = args;
9648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9649 if (!SWIG_IsOK(res1)) {
9650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9651 }
9652 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9653 {
9654 PyThreadState* __tstate = wxPyBeginAllowThreads();
9655 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9656 wxPyEndAllowThreads(__tstate);
9657 if (PyErr_Occurred()) SWIG_fail;
9658 }
9659 {
9660 resultobj = wxPyMake_wxObject(result, 0);
9661 }
9662 return resultobj;
9663 fail:
9664 return NULL;
9665 }
9666
9667
9668 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9669 PyObject *resultobj = 0;
9670 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9671 wxWindow *result = 0 ;
9672 void *argp1 = 0 ;
9673 int res1 = 0 ;
9674 PyObject *swig_obj[1] ;
9675
9676 if (!args) SWIG_fail;
9677 swig_obj[0] = args;
9678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9679 if (!SWIG_IsOK(res1)) {
9680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9681 }
9682 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9683 {
9684 PyThreadState* __tstate = wxPyBeginAllowThreads();
9685 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9686 wxPyEndAllowThreads(__tstate);
9687 if (PyErr_Occurred()) SWIG_fail;
9688 }
9689 {
9690 resultobj = wxPyMake_wxObject(result, 0);
9691 }
9692 return resultobj;
9693 fail:
9694 return NULL;
9695 }
9696
9697
9698 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9699 PyObject *resultobj = 0;
9700 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9701 int arg2 ;
9702 void *argp1 = 0 ;
9703 int res1 = 0 ;
9704 int val2 ;
9705 int ecode2 = 0 ;
9706 PyObject * obj0 = 0 ;
9707 PyObject * obj1 = 0 ;
9708 char * kwnames[] = {
9709 (char *) "self",(char *) "mode", NULL
9710 };
9711
9712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9714 if (!SWIG_IsOK(res1)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9716 }
9717 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9718 ecode2 = SWIG_AsVal_int(obj1, &val2);
9719 if (!SWIG_IsOK(ecode2)) {
9720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9721 }
9722 arg2 = static_cast< int >(val2);
9723 {
9724 PyThreadState* __tstate = wxPyBeginAllowThreads();
9725 (arg1)->SetSplitMode(arg2);
9726 wxPyEndAllowThreads(__tstate);
9727 if (PyErr_Occurred()) SWIG_fail;
9728 }
9729 resultobj = SWIG_Py_Void();
9730 return resultobj;
9731 fail:
9732 return NULL;
9733 }
9734
9735
9736 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9737 PyObject *resultobj = 0;
9738 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9739 wxSplitMode result;
9740 void *argp1 = 0 ;
9741 int res1 = 0 ;
9742 PyObject *swig_obj[1] ;
9743
9744 if (!args) SWIG_fail;
9745 swig_obj[0] = args;
9746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9747 if (!SWIG_IsOK(res1)) {
9748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9749 }
9750 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9751 {
9752 PyThreadState* __tstate = wxPyBeginAllowThreads();
9753 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9754 wxPyEndAllowThreads(__tstate);
9755 if (PyErr_Occurred()) SWIG_fail;
9756 }
9757 resultobj = SWIG_From_int(static_cast< int >(result));
9758 return resultobj;
9759 fail:
9760 return NULL;
9761 }
9762
9763
9764 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9765 PyObject *resultobj = 0;
9766 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9767 wxWindow *arg2 = (wxWindow *) 0 ;
9768 void *argp1 = 0 ;
9769 int res1 = 0 ;
9770 void *argp2 = 0 ;
9771 int res2 = 0 ;
9772 PyObject * obj0 = 0 ;
9773 PyObject * obj1 = 0 ;
9774 char * kwnames[] = {
9775 (char *) "self",(char *) "window", NULL
9776 };
9777
9778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9780 if (!SWIG_IsOK(res1)) {
9781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9782 }
9783 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9784 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9785 if (!SWIG_IsOK(res2)) {
9786 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9787 }
9788 arg2 = reinterpret_cast< wxWindow * >(argp2);
9789 {
9790 PyThreadState* __tstate = wxPyBeginAllowThreads();
9791 (arg1)->Initialize(arg2);
9792 wxPyEndAllowThreads(__tstate);
9793 if (PyErr_Occurred()) SWIG_fail;
9794 }
9795 resultobj = SWIG_Py_Void();
9796 return resultobj;
9797 fail:
9798 return NULL;
9799 }
9800
9801
9802 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9803 PyObject *resultobj = 0;
9804 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9805 wxWindow *arg2 = (wxWindow *) 0 ;
9806 wxWindow *arg3 = (wxWindow *) 0 ;
9807 int arg4 = (int) 0 ;
9808 bool result;
9809 void *argp1 = 0 ;
9810 int res1 = 0 ;
9811 void *argp2 = 0 ;
9812 int res2 = 0 ;
9813 void *argp3 = 0 ;
9814 int res3 = 0 ;
9815 int val4 ;
9816 int ecode4 = 0 ;
9817 PyObject * obj0 = 0 ;
9818 PyObject * obj1 = 0 ;
9819 PyObject * obj2 = 0 ;
9820 PyObject * obj3 = 0 ;
9821 char * kwnames[] = {
9822 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9823 };
9824
9825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9827 if (!SWIG_IsOK(res1)) {
9828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9829 }
9830 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9831 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9832 if (!SWIG_IsOK(res2)) {
9833 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9834 }
9835 arg2 = reinterpret_cast< wxWindow * >(argp2);
9836 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9837 if (!SWIG_IsOK(res3)) {
9838 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9839 }
9840 arg3 = reinterpret_cast< wxWindow * >(argp3);
9841 if (obj3) {
9842 ecode4 = SWIG_AsVal_int(obj3, &val4);
9843 if (!SWIG_IsOK(ecode4)) {
9844 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9845 }
9846 arg4 = static_cast< int >(val4);
9847 }
9848 {
9849 PyThreadState* __tstate = wxPyBeginAllowThreads();
9850 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9851 wxPyEndAllowThreads(__tstate);
9852 if (PyErr_Occurred()) SWIG_fail;
9853 }
9854 {
9855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9856 }
9857 return resultobj;
9858 fail:
9859 return NULL;
9860 }
9861
9862
9863 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9864 PyObject *resultobj = 0;
9865 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9866 wxWindow *arg2 = (wxWindow *) 0 ;
9867 wxWindow *arg3 = (wxWindow *) 0 ;
9868 int arg4 = (int) 0 ;
9869 bool result;
9870 void *argp1 = 0 ;
9871 int res1 = 0 ;
9872 void *argp2 = 0 ;
9873 int res2 = 0 ;
9874 void *argp3 = 0 ;
9875 int res3 = 0 ;
9876 int val4 ;
9877 int ecode4 = 0 ;
9878 PyObject * obj0 = 0 ;
9879 PyObject * obj1 = 0 ;
9880 PyObject * obj2 = 0 ;
9881 PyObject * obj3 = 0 ;
9882 char * kwnames[] = {
9883 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9884 };
9885
9886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9888 if (!SWIG_IsOK(res1)) {
9889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9890 }
9891 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9892 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9893 if (!SWIG_IsOK(res2)) {
9894 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9895 }
9896 arg2 = reinterpret_cast< wxWindow * >(argp2);
9897 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9898 if (!SWIG_IsOK(res3)) {
9899 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9900 }
9901 arg3 = reinterpret_cast< wxWindow * >(argp3);
9902 if (obj3) {
9903 ecode4 = SWIG_AsVal_int(obj3, &val4);
9904 if (!SWIG_IsOK(ecode4)) {
9905 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9906 }
9907 arg4 = static_cast< int >(val4);
9908 }
9909 {
9910 PyThreadState* __tstate = wxPyBeginAllowThreads();
9911 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9912 wxPyEndAllowThreads(__tstate);
9913 if (PyErr_Occurred()) SWIG_fail;
9914 }
9915 {
9916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9917 }
9918 return resultobj;
9919 fail:
9920 return NULL;
9921 }
9922
9923
9924 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9925 PyObject *resultobj = 0;
9926 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9927 wxWindow *arg2 = (wxWindow *) NULL ;
9928 bool result;
9929 void *argp1 = 0 ;
9930 int res1 = 0 ;
9931 void *argp2 = 0 ;
9932 int res2 = 0 ;
9933 PyObject * obj0 = 0 ;
9934 PyObject * obj1 = 0 ;
9935 char * kwnames[] = {
9936 (char *) "self",(char *) "toRemove", NULL
9937 };
9938
9939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9941 if (!SWIG_IsOK(res1)) {
9942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9943 }
9944 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9945 if (obj1) {
9946 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9947 if (!SWIG_IsOK(res2)) {
9948 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9949 }
9950 arg2 = reinterpret_cast< wxWindow * >(argp2);
9951 }
9952 {
9953 PyThreadState* __tstate = wxPyBeginAllowThreads();
9954 result = (bool)(arg1)->Unsplit(arg2);
9955 wxPyEndAllowThreads(__tstate);
9956 if (PyErr_Occurred()) SWIG_fail;
9957 }
9958 {
9959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9960 }
9961 return resultobj;
9962 fail:
9963 return NULL;
9964 }
9965
9966
9967 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9968 PyObject *resultobj = 0;
9969 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9970 wxWindow *arg2 = (wxWindow *) 0 ;
9971 wxWindow *arg3 = (wxWindow *) 0 ;
9972 bool result;
9973 void *argp1 = 0 ;
9974 int res1 = 0 ;
9975 void *argp2 = 0 ;
9976 int res2 = 0 ;
9977 void *argp3 = 0 ;
9978 int res3 = 0 ;
9979 PyObject * obj0 = 0 ;
9980 PyObject * obj1 = 0 ;
9981 PyObject * obj2 = 0 ;
9982 char * kwnames[] = {
9983 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9984 };
9985
9986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9988 if (!SWIG_IsOK(res1)) {
9989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9990 }
9991 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9992 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9993 if (!SWIG_IsOK(res2)) {
9994 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9995 }
9996 arg2 = reinterpret_cast< wxWindow * >(argp2);
9997 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9998 if (!SWIG_IsOK(res3)) {
9999 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10000 }
10001 arg3 = reinterpret_cast< wxWindow * >(argp3);
10002 {
10003 PyThreadState* __tstate = wxPyBeginAllowThreads();
10004 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10005 wxPyEndAllowThreads(__tstate);
10006 if (PyErr_Occurred()) SWIG_fail;
10007 }
10008 {
10009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10010 }
10011 return resultobj;
10012 fail:
10013 return NULL;
10014 }
10015
10016
10017 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10018 PyObject *resultobj = 0;
10019 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10020 void *argp1 = 0 ;
10021 int res1 = 0 ;
10022 PyObject *swig_obj[1] ;
10023
10024 if (!args) SWIG_fail;
10025 swig_obj[0] = args;
10026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10027 if (!SWIG_IsOK(res1)) {
10028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10029 }
10030 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10031 {
10032 PyThreadState* __tstate = wxPyBeginAllowThreads();
10033 (arg1)->UpdateSize();
10034 wxPyEndAllowThreads(__tstate);
10035 if (PyErr_Occurred()) SWIG_fail;
10036 }
10037 resultobj = SWIG_Py_Void();
10038 return resultobj;
10039 fail:
10040 return NULL;
10041 }
10042
10043
10044 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10045 PyObject *resultobj = 0;
10046 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10047 bool result;
10048 void *argp1 = 0 ;
10049 int res1 = 0 ;
10050 PyObject *swig_obj[1] ;
10051
10052 if (!args) SWIG_fail;
10053 swig_obj[0] = args;
10054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10055 if (!SWIG_IsOK(res1)) {
10056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10057 }
10058 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10059 {
10060 PyThreadState* __tstate = wxPyBeginAllowThreads();
10061 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10062 wxPyEndAllowThreads(__tstate);
10063 if (PyErr_Occurred()) SWIG_fail;
10064 }
10065 {
10066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10067 }
10068 return resultobj;
10069 fail:
10070 return NULL;
10071 }
10072
10073
10074 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10075 PyObject *resultobj = 0;
10076 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10077 int arg2 ;
10078 void *argp1 = 0 ;
10079 int res1 = 0 ;
10080 int val2 ;
10081 int ecode2 = 0 ;
10082 PyObject * obj0 = 0 ;
10083 PyObject * obj1 = 0 ;
10084 char * kwnames[] = {
10085 (char *) "self",(char *) "width", NULL
10086 };
10087
10088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10090 if (!SWIG_IsOK(res1)) {
10091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10092 }
10093 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10094 ecode2 = SWIG_AsVal_int(obj1, &val2);
10095 if (!SWIG_IsOK(ecode2)) {
10096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10097 }
10098 arg2 = static_cast< int >(val2);
10099 {
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
10101 (arg1)->SetSashSize(arg2);
10102 wxPyEndAllowThreads(__tstate);
10103 if (PyErr_Occurred()) SWIG_fail;
10104 }
10105 resultobj = SWIG_Py_Void();
10106 return resultobj;
10107 fail:
10108 return NULL;
10109 }
10110
10111
10112 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10113 PyObject *resultobj = 0;
10114 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10115 int arg2 ;
10116 void *argp1 = 0 ;
10117 int res1 = 0 ;
10118 int val2 ;
10119 int ecode2 = 0 ;
10120 PyObject * obj0 = 0 ;
10121 PyObject * obj1 = 0 ;
10122 char * kwnames[] = {
10123 (char *) "self",(char *) "width", NULL
10124 };
10125
10126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10128 if (!SWIG_IsOK(res1)) {
10129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10130 }
10131 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10132 ecode2 = SWIG_AsVal_int(obj1, &val2);
10133 if (!SWIG_IsOK(ecode2)) {
10134 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10135 }
10136 arg2 = static_cast< int >(val2);
10137 {
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 (arg1)->SetBorderSize(arg2);
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 resultobj = SWIG_Py_Void();
10144 return resultobj;
10145 fail:
10146 return NULL;
10147 }
10148
10149
10150 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10151 PyObject *resultobj = 0;
10152 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10153 int result;
10154 void *argp1 = 0 ;
10155 int res1 = 0 ;
10156 PyObject *swig_obj[1] ;
10157
10158 if (!args) SWIG_fail;
10159 swig_obj[0] = args;
10160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10161 if (!SWIG_IsOK(res1)) {
10162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10163 }
10164 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10165 {
10166 PyThreadState* __tstate = wxPyBeginAllowThreads();
10167 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10168 wxPyEndAllowThreads(__tstate);
10169 if (PyErr_Occurred()) SWIG_fail;
10170 }
10171 resultobj = SWIG_From_int(static_cast< int >(result));
10172 return resultobj;
10173 fail:
10174 return NULL;
10175 }
10176
10177
10178 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10179 PyObject *resultobj = 0;
10180 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10181 int result;
10182 void *argp1 = 0 ;
10183 int res1 = 0 ;
10184 PyObject *swig_obj[1] ;
10185
10186 if (!args) SWIG_fail;
10187 swig_obj[0] = args;
10188 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10189 if (!SWIG_IsOK(res1)) {
10190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10191 }
10192 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10193 {
10194 PyThreadState* __tstate = wxPyBeginAllowThreads();
10195 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10196 wxPyEndAllowThreads(__tstate);
10197 if (PyErr_Occurred()) SWIG_fail;
10198 }
10199 resultobj = SWIG_From_int(static_cast< int >(result));
10200 return resultobj;
10201 fail:
10202 return NULL;
10203 }
10204
10205
10206 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10207 PyObject *resultobj = 0;
10208 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10209 int arg2 ;
10210 bool arg3 = (bool) true ;
10211 void *argp1 = 0 ;
10212 int res1 = 0 ;
10213 int val2 ;
10214 int ecode2 = 0 ;
10215 bool val3 ;
10216 int ecode3 = 0 ;
10217 PyObject * obj0 = 0 ;
10218 PyObject * obj1 = 0 ;
10219 PyObject * obj2 = 0 ;
10220 char * kwnames[] = {
10221 (char *) "self",(char *) "position",(char *) "redraw", NULL
10222 };
10223
10224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10226 if (!SWIG_IsOK(res1)) {
10227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10228 }
10229 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10230 ecode2 = SWIG_AsVal_int(obj1, &val2);
10231 if (!SWIG_IsOK(ecode2)) {
10232 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10233 }
10234 arg2 = static_cast< int >(val2);
10235 if (obj2) {
10236 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10237 if (!SWIG_IsOK(ecode3)) {
10238 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10239 }
10240 arg3 = static_cast< bool >(val3);
10241 }
10242 {
10243 PyThreadState* __tstate = wxPyBeginAllowThreads();
10244 (arg1)->SetSashPosition(arg2,arg3);
10245 wxPyEndAllowThreads(__tstate);
10246 if (PyErr_Occurred()) SWIG_fail;
10247 }
10248 resultobj = SWIG_Py_Void();
10249 return resultobj;
10250 fail:
10251 return NULL;
10252 }
10253
10254
10255 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10256 PyObject *resultobj = 0;
10257 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10258 int result;
10259 void *argp1 = 0 ;
10260 int res1 = 0 ;
10261 PyObject *swig_obj[1] ;
10262
10263 if (!args) SWIG_fail;
10264 swig_obj[0] = args;
10265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10266 if (!SWIG_IsOK(res1)) {
10267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10268 }
10269 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10270 {
10271 PyThreadState* __tstate = wxPyBeginAllowThreads();
10272 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10273 wxPyEndAllowThreads(__tstate);
10274 if (PyErr_Occurred()) SWIG_fail;
10275 }
10276 resultobj = SWIG_From_int(static_cast< int >(result));
10277 return resultobj;
10278 fail:
10279 return NULL;
10280 }
10281
10282
10283 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10284 PyObject *resultobj = 0;
10285 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10286 double arg2 ;
10287 void *argp1 = 0 ;
10288 int res1 = 0 ;
10289 double val2 ;
10290 int ecode2 = 0 ;
10291 PyObject * obj0 = 0 ;
10292 PyObject * obj1 = 0 ;
10293 char * kwnames[] = {
10294 (char *) "self",(char *) "gravity", NULL
10295 };
10296
10297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10299 if (!SWIG_IsOK(res1)) {
10300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10301 }
10302 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10303 ecode2 = SWIG_AsVal_double(obj1, &val2);
10304 if (!SWIG_IsOK(ecode2)) {
10305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10306 }
10307 arg2 = static_cast< double >(val2);
10308 {
10309 PyThreadState* __tstate = wxPyBeginAllowThreads();
10310 (arg1)->SetSashGravity(arg2);
10311 wxPyEndAllowThreads(__tstate);
10312 if (PyErr_Occurred()) SWIG_fail;
10313 }
10314 resultobj = SWIG_Py_Void();
10315 return resultobj;
10316 fail:
10317 return NULL;
10318 }
10319
10320
10321 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10322 PyObject *resultobj = 0;
10323 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10324 double result;
10325 void *argp1 = 0 ;
10326 int res1 = 0 ;
10327 PyObject *swig_obj[1] ;
10328
10329 if (!args) SWIG_fail;
10330 swig_obj[0] = args;
10331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10332 if (!SWIG_IsOK(res1)) {
10333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10334 }
10335 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10336 {
10337 PyThreadState* __tstate = wxPyBeginAllowThreads();
10338 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10339 wxPyEndAllowThreads(__tstate);
10340 if (PyErr_Occurred()) SWIG_fail;
10341 }
10342 resultobj = SWIG_From_double(static_cast< double >(result));
10343 return resultobj;
10344 fail:
10345 return NULL;
10346 }
10347
10348
10349 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10350 PyObject *resultobj = 0;
10351 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10352 int arg2 ;
10353 void *argp1 = 0 ;
10354 int res1 = 0 ;
10355 int val2 ;
10356 int ecode2 = 0 ;
10357 PyObject * obj0 = 0 ;
10358 PyObject * obj1 = 0 ;
10359 char * kwnames[] = {
10360 (char *) "self",(char *) "min", NULL
10361 };
10362
10363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10365 if (!SWIG_IsOK(res1)) {
10366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10367 }
10368 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10369 ecode2 = SWIG_AsVal_int(obj1, &val2);
10370 if (!SWIG_IsOK(ecode2)) {
10371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10372 }
10373 arg2 = static_cast< int >(val2);
10374 {
10375 PyThreadState* __tstate = wxPyBeginAllowThreads();
10376 (arg1)->SetMinimumPaneSize(arg2);
10377 wxPyEndAllowThreads(__tstate);
10378 if (PyErr_Occurred()) SWIG_fail;
10379 }
10380 resultobj = SWIG_Py_Void();
10381 return resultobj;
10382 fail:
10383 return NULL;
10384 }
10385
10386
10387 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10388 PyObject *resultobj = 0;
10389 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10390 int result;
10391 void *argp1 = 0 ;
10392 int res1 = 0 ;
10393 PyObject *swig_obj[1] ;
10394
10395 if (!args) SWIG_fail;
10396 swig_obj[0] = args;
10397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10398 if (!SWIG_IsOK(res1)) {
10399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10400 }
10401 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10402 {
10403 PyThreadState* __tstate = wxPyBeginAllowThreads();
10404 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10405 wxPyEndAllowThreads(__tstate);
10406 if (PyErr_Occurred()) SWIG_fail;
10407 }
10408 resultobj = SWIG_From_int(static_cast< int >(result));
10409 return resultobj;
10410 fail:
10411 return NULL;
10412 }
10413
10414
10415 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10416 PyObject *resultobj = 0;
10417 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10418 int arg2 ;
10419 int arg3 ;
10420 int arg4 = (int) 5 ;
10421 bool result;
10422 void *argp1 = 0 ;
10423 int res1 = 0 ;
10424 int val2 ;
10425 int ecode2 = 0 ;
10426 int val3 ;
10427 int ecode3 = 0 ;
10428 int val4 ;
10429 int ecode4 = 0 ;
10430 PyObject * obj0 = 0 ;
10431 PyObject * obj1 = 0 ;
10432 PyObject * obj2 = 0 ;
10433 PyObject * obj3 = 0 ;
10434 char * kwnames[] = {
10435 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10436 };
10437
10438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10440 if (!SWIG_IsOK(res1)) {
10441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10442 }
10443 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10444 ecode2 = SWIG_AsVal_int(obj1, &val2);
10445 if (!SWIG_IsOK(ecode2)) {
10446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10447 }
10448 arg2 = static_cast< int >(val2);
10449 ecode3 = SWIG_AsVal_int(obj2, &val3);
10450 if (!SWIG_IsOK(ecode3)) {
10451 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10452 }
10453 arg3 = static_cast< int >(val3);
10454 if (obj3) {
10455 ecode4 = SWIG_AsVal_int(obj3, &val4);
10456 if (!SWIG_IsOK(ecode4)) {
10457 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10458 }
10459 arg4 = static_cast< int >(val4);
10460 }
10461 {
10462 PyThreadState* __tstate = wxPyBeginAllowThreads();
10463 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10464 wxPyEndAllowThreads(__tstate);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
10467 {
10468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10469 }
10470 return resultobj;
10471 fail:
10472 return NULL;
10473 }
10474
10475
10476 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10477 PyObject *resultobj = 0;
10478 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10479 void *argp1 = 0 ;
10480 int res1 = 0 ;
10481 PyObject *swig_obj[1] ;
10482
10483 if (!args) SWIG_fail;
10484 swig_obj[0] = args;
10485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10486 if (!SWIG_IsOK(res1)) {
10487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10488 }
10489 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10490 {
10491 PyThreadState* __tstate = wxPyBeginAllowThreads();
10492 (arg1)->SizeWindows();
10493 wxPyEndAllowThreads(__tstate);
10494 if (PyErr_Occurred()) SWIG_fail;
10495 }
10496 resultobj = SWIG_Py_Void();
10497 return resultobj;
10498 fail:
10499 return NULL;
10500 }
10501
10502
10503 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10504 PyObject *resultobj = 0;
10505 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10506 bool arg2 ;
10507 void *argp1 = 0 ;
10508 int res1 = 0 ;
10509 bool val2 ;
10510 int ecode2 = 0 ;
10511 PyObject * obj0 = 0 ;
10512 PyObject * obj1 = 0 ;
10513 char * kwnames[] = {
10514 (char *) "self",(char *) "needUpdating", NULL
10515 };
10516
10517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10519 if (!SWIG_IsOK(res1)) {
10520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10521 }
10522 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10523 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10524 if (!SWIG_IsOK(ecode2)) {
10525 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10526 }
10527 arg2 = static_cast< bool >(val2);
10528 {
10529 PyThreadState* __tstate = wxPyBeginAllowThreads();
10530 (arg1)->SetNeedUpdating(arg2);
10531 wxPyEndAllowThreads(__tstate);
10532 if (PyErr_Occurred()) SWIG_fail;
10533 }
10534 resultobj = SWIG_Py_Void();
10535 return resultobj;
10536 fail:
10537 return NULL;
10538 }
10539
10540
10541 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10542 PyObject *resultobj = 0;
10543 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10544 bool result;
10545 void *argp1 = 0 ;
10546 int res1 = 0 ;
10547 PyObject *swig_obj[1] ;
10548
10549 if (!args) SWIG_fail;
10550 swig_obj[0] = args;
10551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10552 if (!SWIG_IsOK(res1)) {
10553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10554 }
10555 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10556 {
10557 PyThreadState* __tstate = wxPyBeginAllowThreads();
10558 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10559 wxPyEndAllowThreads(__tstate);
10560 if (PyErr_Occurred()) SWIG_fail;
10561 }
10562 {
10563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10564 }
10565 return resultobj;
10566 fail:
10567 return NULL;
10568 }
10569
10570
10571 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10572 PyObject *resultobj = 0;
10573 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10574 SwigValueWrapper<wxVisualAttributes > result;
10575 int val1 ;
10576 int ecode1 = 0 ;
10577 PyObject * obj0 = 0 ;
10578 char * kwnames[] = {
10579 (char *) "variant", NULL
10580 };
10581
10582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10583 if (obj0) {
10584 ecode1 = SWIG_AsVal_int(obj0, &val1);
10585 if (!SWIG_IsOK(ecode1)) {
10586 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10587 }
10588 arg1 = static_cast< wxWindowVariant >(val1);
10589 }
10590 {
10591 if (!wxPyCheckForApp()) SWIG_fail;
10592 PyThreadState* __tstate = wxPyBeginAllowThreads();
10593 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10594 wxPyEndAllowThreads(__tstate);
10595 if (PyErr_Occurred()) SWIG_fail;
10596 }
10597 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10598 return resultobj;
10599 fail:
10600 return NULL;
10601 }
10602
10603
10604 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10605 PyObject *obj;
10606 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10607 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10608 return SWIG_Py_Void();
10609 }
10610
10611 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10612 return SWIG_Python_InitShadowInstance(args);
10613 }
10614
10615 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10616 PyObject *resultobj = 0;
10617 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10618 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10619 wxSplitterEvent *result = 0 ;
10620 int val1 ;
10621 int ecode1 = 0 ;
10622 void *argp2 = 0 ;
10623 int res2 = 0 ;
10624 PyObject * obj0 = 0 ;
10625 PyObject * obj1 = 0 ;
10626 char * kwnames[] = {
10627 (char *) "type",(char *) "splitter", NULL
10628 };
10629
10630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10631 if (obj0) {
10632 ecode1 = SWIG_AsVal_int(obj0, &val1);
10633 if (!SWIG_IsOK(ecode1)) {
10634 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10635 }
10636 arg1 = static_cast< wxEventType >(val1);
10637 }
10638 if (obj1) {
10639 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10640 if (!SWIG_IsOK(res2)) {
10641 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10642 }
10643 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10644 }
10645 {
10646 PyThreadState* __tstate = wxPyBeginAllowThreads();
10647 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10648 wxPyEndAllowThreads(__tstate);
10649 if (PyErr_Occurred()) SWIG_fail;
10650 }
10651 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10652 return resultobj;
10653 fail:
10654 return NULL;
10655 }
10656
10657
10658 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10659 PyObject *resultobj = 0;
10660 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10661 int arg2 ;
10662 void *argp1 = 0 ;
10663 int res1 = 0 ;
10664 int val2 ;
10665 int ecode2 = 0 ;
10666 PyObject * obj0 = 0 ;
10667 PyObject * obj1 = 0 ;
10668 char * kwnames[] = {
10669 (char *) "self",(char *) "pos", NULL
10670 };
10671
10672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10674 if (!SWIG_IsOK(res1)) {
10675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10676 }
10677 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10678 ecode2 = SWIG_AsVal_int(obj1, &val2);
10679 if (!SWIG_IsOK(ecode2)) {
10680 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10681 }
10682 arg2 = static_cast< int >(val2);
10683 {
10684 PyThreadState* __tstate = wxPyBeginAllowThreads();
10685 (arg1)->SetSashPosition(arg2);
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 resultobj = SWIG_Py_Void();
10690 return resultobj;
10691 fail:
10692 return NULL;
10693 }
10694
10695
10696 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10697 PyObject *resultobj = 0;
10698 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10699 int result;
10700 void *argp1 = 0 ;
10701 int res1 = 0 ;
10702 PyObject *swig_obj[1] ;
10703
10704 if (!args) SWIG_fail;
10705 swig_obj[0] = args;
10706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10707 if (!SWIG_IsOK(res1)) {
10708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10709 }
10710 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10714 wxPyEndAllowThreads(__tstate);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 }
10717 resultobj = SWIG_From_int(static_cast< int >(result));
10718 return resultobj;
10719 fail:
10720 return NULL;
10721 }
10722
10723
10724 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10725 PyObject *resultobj = 0;
10726 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10727 wxWindow *result = 0 ;
10728 void *argp1 = 0 ;
10729 int res1 = 0 ;
10730 PyObject *swig_obj[1] ;
10731
10732 if (!args) SWIG_fail;
10733 swig_obj[0] = args;
10734 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10735 if (!SWIG_IsOK(res1)) {
10736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10737 }
10738 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10739 {
10740 PyThreadState* __tstate = wxPyBeginAllowThreads();
10741 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10742 wxPyEndAllowThreads(__tstate);
10743 if (PyErr_Occurred()) SWIG_fail;
10744 }
10745 {
10746 resultobj = wxPyMake_wxObject(result, 0);
10747 }
10748 return resultobj;
10749 fail:
10750 return NULL;
10751 }
10752
10753
10754 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10755 PyObject *resultobj = 0;
10756 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10757 int result;
10758 void *argp1 = 0 ;
10759 int res1 = 0 ;
10760 PyObject *swig_obj[1] ;
10761
10762 if (!args) SWIG_fail;
10763 swig_obj[0] = args;
10764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10765 if (!SWIG_IsOK(res1)) {
10766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10767 }
10768 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10769 {
10770 PyThreadState* __tstate = wxPyBeginAllowThreads();
10771 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10772 wxPyEndAllowThreads(__tstate);
10773 if (PyErr_Occurred()) SWIG_fail;
10774 }
10775 resultobj = SWIG_From_int(static_cast< int >(result));
10776 return resultobj;
10777 fail:
10778 return NULL;
10779 }
10780
10781
10782 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10783 PyObject *resultobj = 0;
10784 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10785 int result;
10786 void *argp1 = 0 ;
10787 int res1 = 0 ;
10788 PyObject *swig_obj[1] ;
10789
10790 if (!args) SWIG_fail;
10791 swig_obj[0] = args;
10792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10793 if (!SWIG_IsOK(res1)) {
10794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10795 }
10796 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10797 {
10798 PyThreadState* __tstate = wxPyBeginAllowThreads();
10799 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10800 wxPyEndAllowThreads(__tstate);
10801 if (PyErr_Occurred()) SWIG_fail;
10802 }
10803 resultobj = SWIG_From_int(static_cast< int >(result));
10804 return resultobj;
10805 fail:
10806 return NULL;
10807 }
10808
10809
10810 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10811 PyObject *obj;
10812 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10813 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10814 return SWIG_Py_Void();
10815 }
10816
10817 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10818 return SWIG_Python_InitShadowInstance(args);
10819 }
10820
10821 SWIGINTERN int SashNameStr_set(PyObject *) {
10822 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10823 return 1;
10824 }
10825
10826
10827 SWIGINTERN PyObject *SashNameStr_get(void) {
10828 PyObject *pyobj = 0;
10829
10830 {
10831 #if wxUSE_UNICODE
10832 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10833 #else
10834 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10835 #endif
10836 }
10837 return pyobj;
10838 }
10839
10840
10841 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10842 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10843 return 1;
10844 }
10845
10846
10847 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10848 PyObject *pyobj = 0;
10849
10850 {
10851 #if wxUSE_UNICODE
10852 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10853 #else
10854 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10855 #endif
10856 }
10857 return pyobj;
10858 }
10859
10860
10861 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10862 PyObject *resultobj = 0;
10863 wxWindow *arg1 = (wxWindow *) 0 ;
10864 int arg2 = (int) -1 ;
10865 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10866 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10867 wxSize const &arg4_defvalue = wxDefaultSize ;
10868 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10869 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10870 wxString const &arg6_defvalue = wxPySashNameStr ;
10871 wxString *arg6 = (wxString *) &arg6_defvalue ;
10872 wxSashWindow *result = 0 ;
10873 void *argp1 = 0 ;
10874 int res1 = 0 ;
10875 int val2 ;
10876 int ecode2 = 0 ;
10877 wxPoint temp3 ;
10878 wxSize temp4 ;
10879 long val5 ;
10880 int ecode5 = 0 ;
10881 bool temp6 = false ;
10882 PyObject * obj0 = 0 ;
10883 PyObject * obj1 = 0 ;
10884 PyObject * obj2 = 0 ;
10885 PyObject * obj3 = 0 ;
10886 PyObject * obj4 = 0 ;
10887 PyObject * obj5 = 0 ;
10888 char * kwnames[] = {
10889 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10890 };
10891
10892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10894 if (!SWIG_IsOK(res1)) {
10895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10896 }
10897 arg1 = reinterpret_cast< wxWindow * >(argp1);
10898 if (obj1) {
10899 ecode2 = SWIG_AsVal_int(obj1, &val2);
10900 if (!SWIG_IsOK(ecode2)) {
10901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10902 }
10903 arg2 = static_cast< int >(val2);
10904 }
10905 if (obj2) {
10906 {
10907 arg3 = &temp3;
10908 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10909 }
10910 }
10911 if (obj3) {
10912 {
10913 arg4 = &temp4;
10914 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10915 }
10916 }
10917 if (obj4) {
10918 ecode5 = SWIG_AsVal_long(obj4, &val5);
10919 if (!SWIG_IsOK(ecode5)) {
10920 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10921 }
10922 arg5 = static_cast< long >(val5);
10923 }
10924 if (obj5) {
10925 {
10926 arg6 = wxString_in_helper(obj5);
10927 if (arg6 == NULL) SWIG_fail;
10928 temp6 = true;
10929 }
10930 }
10931 {
10932 if (!wxPyCheckForApp()) SWIG_fail;
10933 PyThreadState* __tstate = wxPyBeginAllowThreads();
10934 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10935 wxPyEndAllowThreads(__tstate);
10936 if (PyErr_Occurred()) SWIG_fail;
10937 }
10938 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10939 {
10940 if (temp6)
10941 delete arg6;
10942 }
10943 return resultobj;
10944 fail:
10945 {
10946 if (temp6)
10947 delete arg6;
10948 }
10949 return NULL;
10950 }
10951
10952
10953 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10954 PyObject *resultobj = 0;
10955 wxSashWindow *result = 0 ;
10956
10957 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10958 {
10959 if (!wxPyCheckForApp()) SWIG_fail;
10960 PyThreadState* __tstate = wxPyBeginAllowThreads();
10961 result = (wxSashWindow *)new wxSashWindow();
10962 wxPyEndAllowThreads(__tstate);
10963 if (PyErr_Occurred()) SWIG_fail;
10964 }
10965 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10966 return resultobj;
10967 fail:
10968 return NULL;
10969 }
10970
10971
10972 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10973 PyObject *resultobj = 0;
10974 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10975 wxWindow *arg2 = (wxWindow *) 0 ;
10976 int arg3 = (int) -1 ;
10977 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10978 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10979 wxSize const &arg5_defvalue = wxDefaultSize ;
10980 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10981 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10982 wxString const &arg7_defvalue = wxPySashNameStr ;
10983 wxString *arg7 = (wxString *) &arg7_defvalue ;
10984 bool result;
10985 void *argp1 = 0 ;
10986 int res1 = 0 ;
10987 void *argp2 = 0 ;
10988 int res2 = 0 ;
10989 int val3 ;
10990 int ecode3 = 0 ;
10991 wxPoint temp4 ;
10992 wxSize temp5 ;
10993 long val6 ;
10994 int ecode6 = 0 ;
10995 bool temp7 = false ;
10996 PyObject * obj0 = 0 ;
10997 PyObject * obj1 = 0 ;
10998 PyObject * obj2 = 0 ;
10999 PyObject * obj3 = 0 ;
11000 PyObject * obj4 = 0 ;
11001 PyObject * obj5 = 0 ;
11002 PyObject * obj6 = 0 ;
11003 char * kwnames[] = {
11004 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11005 };
11006
11007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11009 if (!SWIG_IsOK(res1)) {
11010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11011 }
11012 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11013 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11014 if (!SWIG_IsOK(res2)) {
11015 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11016 }
11017 arg2 = reinterpret_cast< wxWindow * >(argp2);
11018 if (obj2) {
11019 ecode3 = SWIG_AsVal_int(obj2, &val3);
11020 if (!SWIG_IsOK(ecode3)) {
11021 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11022 }
11023 arg3 = static_cast< int >(val3);
11024 }
11025 if (obj3) {
11026 {
11027 arg4 = &temp4;
11028 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11029 }
11030 }
11031 if (obj4) {
11032 {
11033 arg5 = &temp5;
11034 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11035 }
11036 }
11037 if (obj5) {
11038 ecode6 = SWIG_AsVal_long(obj5, &val6);
11039 if (!SWIG_IsOK(ecode6)) {
11040 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11041 }
11042 arg6 = static_cast< long >(val6);
11043 }
11044 if (obj6) {
11045 {
11046 arg7 = wxString_in_helper(obj6);
11047 if (arg7 == NULL) SWIG_fail;
11048 temp7 = true;
11049 }
11050 }
11051 {
11052 PyThreadState* __tstate = wxPyBeginAllowThreads();
11053 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11054 wxPyEndAllowThreads(__tstate);
11055 if (PyErr_Occurred()) SWIG_fail;
11056 }
11057 {
11058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11059 }
11060 {
11061 if (temp7)
11062 delete arg7;
11063 }
11064 return resultobj;
11065 fail:
11066 {
11067 if (temp7)
11068 delete arg7;
11069 }
11070 return NULL;
11071 }
11072
11073
11074 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11075 PyObject *resultobj = 0;
11076 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11077 wxSashEdgePosition arg2 ;
11078 bool arg3 ;
11079 void *argp1 = 0 ;
11080 int res1 = 0 ;
11081 int val2 ;
11082 int ecode2 = 0 ;
11083 bool val3 ;
11084 int ecode3 = 0 ;
11085 PyObject * obj0 = 0 ;
11086 PyObject * obj1 = 0 ;
11087 PyObject * obj2 = 0 ;
11088 char * kwnames[] = {
11089 (char *) "self",(char *) "edge",(char *) "sash", NULL
11090 };
11091
11092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11094 if (!SWIG_IsOK(res1)) {
11095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11096 }
11097 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11098 ecode2 = SWIG_AsVal_int(obj1, &val2);
11099 if (!SWIG_IsOK(ecode2)) {
11100 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11101 }
11102 arg2 = static_cast< wxSashEdgePosition >(val2);
11103 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11104 if (!SWIG_IsOK(ecode3)) {
11105 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11106 }
11107 arg3 = static_cast< bool >(val3);
11108 {
11109 PyThreadState* __tstate = wxPyBeginAllowThreads();
11110 (arg1)->SetSashVisible(arg2,arg3);
11111 wxPyEndAllowThreads(__tstate);
11112 if (PyErr_Occurred()) SWIG_fail;
11113 }
11114 resultobj = SWIG_Py_Void();
11115 return resultobj;
11116 fail:
11117 return NULL;
11118 }
11119
11120
11121 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11122 PyObject *resultobj = 0;
11123 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11124 wxSashEdgePosition arg2 ;
11125 bool result;
11126 void *argp1 = 0 ;
11127 int res1 = 0 ;
11128 int val2 ;
11129 int ecode2 = 0 ;
11130 PyObject * obj0 = 0 ;
11131 PyObject * obj1 = 0 ;
11132 char * kwnames[] = {
11133 (char *) "self",(char *) "edge", NULL
11134 };
11135
11136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11138 if (!SWIG_IsOK(res1)) {
11139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11140 }
11141 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11142 ecode2 = SWIG_AsVal_int(obj1, &val2);
11143 if (!SWIG_IsOK(ecode2)) {
11144 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11145 }
11146 arg2 = static_cast< wxSashEdgePosition >(val2);
11147 {
11148 PyThreadState* __tstate = wxPyBeginAllowThreads();
11149 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11150 wxPyEndAllowThreads(__tstate);
11151 if (PyErr_Occurred()) SWIG_fail;
11152 }
11153 {
11154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11155 }
11156 return resultobj;
11157 fail:
11158 return NULL;
11159 }
11160
11161
11162 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11163 PyObject *resultobj = 0;
11164 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11165 wxSashEdgePosition arg2 ;
11166 bool arg3 ;
11167 void *argp1 = 0 ;
11168 int res1 = 0 ;
11169 int val2 ;
11170 int ecode2 = 0 ;
11171 bool val3 ;
11172 int ecode3 = 0 ;
11173 PyObject * obj0 = 0 ;
11174 PyObject * obj1 = 0 ;
11175 PyObject * obj2 = 0 ;
11176 char * kwnames[] = {
11177 (char *) "self",(char *) "edge",(char *) "border", NULL
11178 };
11179
11180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11182 if (!SWIG_IsOK(res1)) {
11183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11184 }
11185 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11186 ecode2 = SWIG_AsVal_int(obj1, &val2);
11187 if (!SWIG_IsOK(ecode2)) {
11188 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11189 }
11190 arg2 = static_cast< wxSashEdgePosition >(val2);
11191 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11192 if (!SWIG_IsOK(ecode3)) {
11193 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11194 }
11195 arg3 = static_cast< bool >(val3);
11196 {
11197 PyThreadState* __tstate = wxPyBeginAllowThreads();
11198 (arg1)->SetSashBorder(arg2,arg3);
11199 wxPyEndAllowThreads(__tstate);
11200 if (PyErr_Occurred()) SWIG_fail;
11201 }
11202 resultobj = SWIG_Py_Void();
11203 return resultobj;
11204 fail:
11205 return NULL;
11206 }
11207
11208
11209 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11210 PyObject *resultobj = 0;
11211 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11212 wxSashEdgePosition arg2 ;
11213 bool result;
11214 void *argp1 = 0 ;
11215 int res1 = 0 ;
11216 int val2 ;
11217 int ecode2 = 0 ;
11218 PyObject * obj0 = 0 ;
11219 PyObject * obj1 = 0 ;
11220 char * kwnames[] = {
11221 (char *) "self",(char *) "edge", NULL
11222 };
11223
11224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11226 if (!SWIG_IsOK(res1)) {
11227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11228 }
11229 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11230 ecode2 = SWIG_AsVal_int(obj1, &val2);
11231 if (!SWIG_IsOK(ecode2)) {
11232 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11233 }
11234 arg2 = static_cast< wxSashEdgePosition >(val2);
11235 {
11236 PyThreadState* __tstate = wxPyBeginAllowThreads();
11237 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11238 wxPyEndAllowThreads(__tstate);
11239 if (PyErr_Occurred()) SWIG_fail;
11240 }
11241 {
11242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11243 }
11244 return resultobj;
11245 fail:
11246 return NULL;
11247 }
11248
11249
11250 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11251 PyObject *resultobj = 0;
11252 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11253 wxSashEdgePosition arg2 ;
11254 int result;
11255 void *argp1 = 0 ;
11256 int res1 = 0 ;
11257 int val2 ;
11258 int ecode2 = 0 ;
11259 PyObject * obj0 = 0 ;
11260 PyObject * obj1 = 0 ;
11261 char * kwnames[] = {
11262 (char *) "self",(char *) "edge", NULL
11263 };
11264
11265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11267 if (!SWIG_IsOK(res1)) {
11268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11269 }
11270 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11271 ecode2 = SWIG_AsVal_int(obj1, &val2);
11272 if (!SWIG_IsOK(ecode2)) {
11273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11274 }
11275 arg2 = static_cast< wxSashEdgePosition >(val2);
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11279 wxPyEndAllowThreads(__tstate);
11280 if (PyErr_Occurred()) SWIG_fail;
11281 }
11282 resultobj = SWIG_From_int(static_cast< int >(result));
11283 return resultobj;
11284 fail:
11285 return NULL;
11286 }
11287
11288
11289 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11290 PyObject *resultobj = 0;
11291 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11292 int arg2 ;
11293 void *argp1 = 0 ;
11294 int res1 = 0 ;
11295 int val2 ;
11296 int ecode2 = 0 ;
11297 PyObject * obj0 = 0 ;
11298 PyObject * obj1 = 0 ;
11299 char * kwnames[] = {
11300 (char *) "self",(char *) "width", NULL
11301 };
11302
11303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11305 if (!SWIG_IsOK(res1)) {
11306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11307 }
11308 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11309 ecode2 = SWIG_AsVal_int(obj1, &val2);
11310 if (!SWIG_IsOK(ecode2)) {
11311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11312 }
11313 arg2 = static_cast< int >(val2);
11314 {
11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
11316 (arg1)->SetDefaultBorderSize(arg2);
11317 wxPyEndAllowThreads(__tstate);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 resultobj = SWIG_Py_Void();
11321 return resultobj;
11322 fail:
11323 return NULL;
11324 }
11325
11326
11327 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11328 PyObject *resultobj = 0;
11329 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11330 int result;
11331 void *argp1 = 0 ;
11332 int res1 = 0 ;
11333 PyObject *swig_obj[1] ;
11334
11335 if (!args) SWIG_fail;
11336 swig_obj[0] = args;
11337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11338 if (!SWIG_IsOK(res1)) {
11339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11340 }
11341 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11342 {
11343 PyThreadState* __tstate = wxPyBeginAllowThreads();
11344 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11345 wxPyEndAllowThreads(__tstate);
11346 if (PyErr_Occurred()) SWIG_fail;
11347 }
11348 resultobj = SWIG_From_int(static_cast< int >(result));
11349 return resultobj;
11350 fail:
11351 return NULL;
11352 }
11353
11354
11355 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11356 PyObject *resultobj = 0;
11357 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11358 int arg2 ;
11359 void *argp1 = 0 ;
11360 int res1 = 0 ;
11361 int val2 ;
11362 int ecode2 = 0 ;
11363 PyObject * obj0 = 0 ;
11364 PyObject * obj1 = 0 ;
11365 char * kwnames[] = {
11366 (char *) "self",(char *) "width", NULL
11367 };
11368
11369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11371 if (!SWIG_IsOK(res1)) {
11372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11373 }
11374 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11375 ecode2 = SWIG_AsVal_int(obj1, &val2);
11376 if (!SWIG_IsOK(ecode2)) {
11377 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11378 }
11379 arg2 = static_cast< int >(val2);
11380 {
11381 PyThreadState* __tstate = wxPyBeginAllowThreads();
11382 (arg1)->SetExtraBorderSize(arg2);
11383 wxPyEndAllowThreads(__tstate);
11384 if (PyErr_Occurred()) SWIG_fail;
11385 }
11386 resultobj = SWIG_Py_Void();
11387 return resultobj;
11388 fail:
11389 return NULL;
11390 }
11391
11392
11393 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11394 PyObject *resultobj = 0;
11395 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11396 int result;
11397 void *argp1 = 0 ;
11398 int res1 = 0 ;
11399 PyObject *swig_obj[1] ;
11400
11401 if (!args) SWIG_fail;
11402 swig_obj[0] = args;
11403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11404 if (!SWIG_IsOK(res1)) {
11405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11406 }
11407 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11408 {
11409 PyThreadState* __tstate = wxPyBeginAllowThreads();
11410 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11411 wxPyEndAllowThreads(__tstate);
11412 if (PyErr_Occurred()) SWIG_fail;
11413 }
11414 resultobj = SWIG_From_int(static_cast< int >(result));
11415 return resultobj;
11416 fail:
11417 return NULL;
11418 }
11419
11420
11421 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11422 PyObject *resultobj = 0;
11423 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11424 int arg2 ;
11425 void *argp1 = 0 ;
11426 int res1 = 0 ;
11427 int val2 ;
11428 int ecode2 = 0 ;
11429 PyObject * obj0 = 0 ;
11430 PyObject * obj1 = 0 ;
11431 char * kwnames[] = {
11432 (char *) "self",(char *) "min", NULL
11433 };
11434
11435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11437 if (!SWIG_IsOK(res1)) {
11438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11439 }
11440 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11441 ecode2 = SWIG_AsVal_int(obj1, &val2);
11442 if (!SWIG_IsOK(ecode2)) {
11443 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11444 }
11445 arg2 = static_cast< int >(val2);
11446 {
11447 PyThreadState* __tstate = wxPyBeginAllowThreads();
11448 (arg1)->SetMinimumSizeX(arg2);
11449 wxPyEndAllowThreads(__tstate);
11450 if (PyErr_Occurred()) SWIG_fail;
11451 }
11452 resultobj = SWIG_Py_Void();
11453 return resultobj;
11454 fail:
11455 return NULL;
11456 }
11457
11458
11459 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11460 PyObject *resultobj = 0;
11461 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11462 int arg2 ;
11463 void *argp1 = 0 ;
11464 int res1 = 0 ;
11465 int val2 ;
11466 int ecode2 = 0 ;
11467 PyObject * obj0 = 0 ;
11468 PyObject * obj1 = 0 ;
11469 char * kwnames[] = {
11470 (char *) "self",(char *) "min", NULL
11471 };
11472
11473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11475 if (!SWIG_IsOK(res1)) {
11476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11477 }
11478 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11479 ecode2 = SWIG_AsVal_int(obj1, &val2);
11480 if (!SWIG_IsOK(ecode2)) {
11481 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11482 }
11483 arg2 = static_cast< int >(val2);
11484 {
11485 PyThreadState* __tstate = wxPyBeginAllowThreads();
11486 (arg1)->SetMinimumSizeY(arg2);
11487 wxPyEndAllowThreads(__tstate);
11488 if (PyErr_Occurred()) SWIG_fail;
11489 }
11490 resultobj = SWIG_Py_Void();
11491 return resultobj;
11492 fail:
11493 return NULL;
11494 }
11495
11496
11497 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11498 PyObject *resultobj = 0;
11499 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11500 int result;
11501 void *argp1 = 0 ;
11502 int res1 = 0 ;
11503 PyObject *swig_obj[1] ;
11504
11505 if (!args) SWIG_fail;
11506 swig_obj[0] = args;
11507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11508 if (!SWIG_IsOK(res1)) {
11509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11510 }
11511 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11512 {
11513 PyThreadState* __tstate = wxPyBeginAllowThreads();
11514 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11515 wxPyEndAllowThreads(__tstate);
11516 if (PyErr_Occurred()) SWIG_fail;
11517 }
11518 resultobj = SWIG_From_int(static_cast< int >(result));
11519 return resultobj;
11520 fail:
11521 return NULL;
11522 }
11523
11524
11525 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11526 PyObject *resultobj = 0;
11527 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11528 int result;
11529 void *argp1 = 0 ;
11530 int res1 = 0 ;
11531 PyObject *swig_obj[1] ;
11532
11533 if (!args) SWIG_fail;
11534 swig_obj[0] = args;
11535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11536 if (!SWIG_IsOK(res1)) {
11537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11538 }
11539 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11540 {
11541 PyThreadState* __tstate = wxPyBeginAllowThreads();
11542 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11543 wxPyEndAllowThreads(__tstate);
11544 if (PyErr_Occurred()) SWIG_fail;
11545 }
11546 resultobj = SWIG_From_int(static_cast< int >(result));
11547 return resultobj;
11548 fail:
11549 return NULL;
11550 }
11551
11552
11553 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11554 PyObject *resultobj = 0;
11555 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11556 int arg2 ;
11557 void *argp1 = 0 ;
11558 int res1 = 0 ;
11559 int val2 ;
11560 int ecode2 = 0 ;
11561 PyObject * obj0 = 0 ;
11562 PyObject * obj1 = 0 ;
11563 char * kwnames[] = {
11564 (char *) "self",(char *) "max", NULL
11565 };
11566
11567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11569 if (!SWIG_IsOK(res1)) {
11570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11571 }
11572 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11573 ecode2 = SWIG_AsVal_int(obj1, &val2);
11574 if (!SWIG_IsOK(ecode2)) {
11575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11576 }
11577 arg2 = static_cast< int >(val2);
11578 {
11579 PyThreadState* __tstate = wxPyBeginAllowThreads();
11580 (arg1)->SetMaximumSizeX(arg2);
11581 wxPyEndAllowThreads(__tstate);
11582 if (PyErr_Occurred()) SWIG_fail;
11583 }
11584 resultobj = SWIG_Py_Void();
11585 return resultobj;
11586 fail:
11587 return NULL;
11588 }
11589
11590
11591 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11592 PyObject *resultobj = 0;
11593 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11594 int arg2 ;
11595 void *argp1 = 0 ;
11596 int res1 = 0 ;
11597 int val2 ;
11598 int ecode2 = 0 ;
11599 PyObject * obj0 = 0 ;
11600 PyObject * obj1 = 0 ;
11601 char * kwnames[] = {
11602 (char *) "self",(char *) "max", NULL
11603 };
11604
11605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11607 if (!SWIG_IsOK(res1)) {
11608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11609 }
11610 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11611 ecode2 = SWIG_AsVal_int(obj1, &val2);
11612 if (!SWIG_IsOK(ecode2)) {
11613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11614 }
11615 arg2 = static_cast< int >(val2);
11616 {
11617 PyThreadState* __tstate = wxPyBeginAllowThreads();
11618 (arg1)->SetMaximumSizeY(arg2);
11619 wxPyEndAllowThreads(__tstate);
11620 if (PyErr_Occurred()) SWIG_fail;
11621 }
11622 resultobj = SWIG_Py_Void();
11623 return resultobj;
11624 fail:
11625 return NULL;
11626 }
11627
11628
11629 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11630 PyObject *resultobj = 0;
11631 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11632 int result;
11633 void *argp1 = 0 ;
11634 int res1 = 0 ;
11635 PyObject *swig_obj[1] ;
11636
11637 if (!args) SWIG_fail;
11638 swig_obj[0] = args;
11639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11640 if (!SWIG_IsOK(res1)) {
11641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11642 }
11643 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11644 {
11645 PyThreadState* __tstate = wxPyBeginAllowThreads();
11646 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11647 wxPyEndAllowThreads(__tstate);
11648 if (PyErr_Occurred()) SWIG_fail;
11649 }
11650 resultobj = SWIG_From_int(static_cast< int >(result));
11651 return resultobj;
11652 fail:
11653 return NULL;
11654 }
11655
11656
11657 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11658 PyObject *resultobj = 0;
11659 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11660 int result;
11661 void *argp1 = 0 ;
11662 int res1 = 0 ;
11663 PyObject *swig_obj[1] ;
11664
11665 if (!args) SWIG_fail;
11666 swig_obj[0] = args;
11667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11668 if (!SWIG_IsOK(res1)) {
11669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11670 }
11671 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11672 {
11673 PyThreadState* __tstate = wxPyBeginAllowThreads();
11674 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11675 wxPyEndAllowThreads(__tstate);
11676 if (PyErr_Occurred()) SWIG_fail;
11677 }
11678 resultobj = SWIG_From_int(static_cast< int >(result));
11679 return resultobj;
11680 fail:
11681 return NULL;
11682 }
11683
11684
11685 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11686 PyObject *resultobj = 0;
11687 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11688 int arg2 ;
11689 int arg3 ;
11690 int arg4 = (int) 2 ;
11691 wxSashEdgePosition result;
11692 void *argp1 = 0 ;
11693 int res1 = 0 ;
11694 int val2 ;
11695 int ecode2 = 0 ;
11696 int val3 ;
11697 int ecode3 = 0 ;
11698 int val4 ;
11699 int ecode4 = 0 ;
11700 PyObject * obj0 = 0 ;
11701 PyObject * obj1 = 0 ;
11702 PyObject * obj2 = 0 ;
11703 PyObject * obj3 = 0 ;
11704 char * kwnames[] = {
11705 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11706 };
11707
11708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11710 if (!SWIG_IsOK(res1)) {
11711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11712 }
11713 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11714 ecode2 = SWIG_AsVal_int(obj1, &val2);
11715 if (!SWIG_IsOK(ecode2)) {
11716 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11717 }
11718 arg2 = static_cast< int >(val2);
11719 ecode3 = SWIG_AsVal_int(obj2, &val3);
11720 if (!SWIG_IsOK(ecode3)) {
11721 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11722 }
11723 arg3 = static_cast< int >(val3);
11724 if (obj3) {
11725 ecode4 = SWIG_AsVal_int(obj3, &val4);
11726 if (!SWIG_IsOK(ecode4)) {
11727 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11728 }
11729 arg4 = static_cast< int >(val4);
11730 }
11731 {
11732 PyThreadState* __tstate = wxPyBeginAllowThreads();
11733 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11734 wxPyEndAllowThreads(__tstate);
11735 if (PyErr_Occurred()) SWIG_fail;
11736 }
11737 resultobj = SWIG_From_int(static_cast< int >(result));
11738 return resultobj;
11739 fail:
11740 return NULL;
11741 }
11742
11743
11744 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11745 PyObject *resultobj = 0;
11746 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11747 void *argp1 = 0 ;
11748 int res1 = 0 ;
11749 PyObject *swig_obj[1] ;
11750
11751 if (!args) SWIG_fail;
11752 swig_obj[0] = args;
11753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11754 if (!SWIG_IsOK(res1)) {
11755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11756 }
11757 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11758 {
11759 PyThreadState* __tstate = wxPyBeginAllowThreads();
11760 (arg1)->SizeWindows();
11761 wxPyEndAllowThreads(__tstate);
11762 if (PyErr_Occurred()) SWIG_fail;
11763 }
11764 resultobj = SWIG_Py_Void();
11765 return resultobj;
11766 fail:
11767 return NULL;
11768 }
11769
11770
11771 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11772 PyObject *obj;
11773 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11774 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11775 return SWIG_Py_Void();
11776 }
11777
11778 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11779 return SWIG_Python_InitShadowInstance(args);
11780 }
11781
11782 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11783 PyObject *resultobj = 0;
11784 int arg1 = (int) 0 ;
11785 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11786 wxSashEvent *result = 0 ;
11787 int val1 ;
11788 int ecode1 = 0 ;
11789 int val2 ;
11790 int ecode2 = 0 ;
11791 PyObject * obj0 = 0 ;
11792 PyObject * obj1 = 0 ;
11793 char * kwnames[] = {
11794 (char *) "id",(char *) "edge", NULL
11795 };
11796
11797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11798 if (obj0) {
11799 ecode1 = SWIG_AsVal_int(obj0, &val1);
11800 if (!SWIG_IsOK(ecode1)) {
11801 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11802 }
11803 arg1 = static_cast< int >(val1);
11804 }
11805 if (obj1) {
11806 ecode2 = SWIG_AsVal_int(obj1, &val2);
11807 if (!SWIG_IsOK(ecode2)) {
11808 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11809 }
11810 arg2 = static_cast< wxSashEdgePosition >(val2);
11811 }
11812 {
11813 PyThreadState* __tstate = wxPyBeginAllowThreads();
11814 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11815 wxPyEndAllowThreads(__tstate);
11816 if (PyErr_Occurred()) SWIG_fail;
11817 }
11818 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11819 return resultobj;
11820 fail:
11821 return NULL;
11822 }
11823
11824
11825 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11826 PyObject *resultobj = 0;
11827 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11828 wxSashEdgePosition arg2 ;
11829 void *argp1 = 0 ;
11830 int res1 = 0 ;
11831 int val2 ;
11832 int ecode2 = 0 ;
11833 PyObject * obj0 = 0 ;
11834 PyObject * obj1 = 0 ;
11835 char * kwnames[] = {
11836 (char *) "self",(char *) "edge", NULL
11837 };
11838
11839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11841 if (!SWIG_IsOK(res1)) {
11842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11843 }
11844 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11845 ecode2 = SWIG_AsVal_int(obj1, &val2);
11846 if (!SWIG_IsOK(ecode2)) {
11847 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11848 }
11849 arg2 = static_cast< wxSashEdgePosition >(val2);
11850 {
11851 PyThreadState* __tstate = wxPyBeginAllowThreads();
11852 (arg1)->SetEdge(arg2);
11853 wxPyEndAllowThreads(__tstate);
11854 if (PyErr_Occurred()) SWIG_fail;
11855 }
11856 resultobj = SWIG_Py_Void();
11857 return resultobj;
11858 fail:
11859 return NULL;
11860 }
11861
11862
11863 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11864 PyObject *resultobj = 0;
11865 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11866 wxSashEdgePosition result;
11867 void *argp1 = 0 ;
11868 int res1 = 0 ;
11869 PyObject *swig_obj[1] ;
11870
11871 if (!args) SWIG_fail;
11872 swig_obj[0] = args;
11873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11874 if (!SWIG_IsOK(res1)) {
11875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11876 }
11877 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11878 {
11879 PyThreadState* __tstate = wxPyBeginAllowThreads();
11880 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11881 wxPyEndAllowThreads(__tstate);
11882 if (PyErr_Occurred()) SWIG_fail;
11883 }
11884 resultobj = SWIG_From_int(static_cast< int >(result));
11885 return resultobj;
11886 fail:
11887 return NULL;
11888 }
11889
11890
11891 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11892 PyObject *resultobj = 0;
11893 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11894 wxRect *arg2 = 0 ;
11895 void *argp1 = 0 ;
11896 int res1 = 0 ;
11897 wxRect temp2 ;
11898 PyObject * obj0 = 0 ;
11899 PyObject * obj1 = 0 ;
11900 char * kwnames[] = {
11901 (char *) "self",(char *) "rect", NULL
11902 };
11903
11904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11906 if (!SWIG_IsOK(res1)) {
11907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11908 }
11909 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11910 {
11911 arg2 = &temp2;
11912 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11913 }
11914 {
11915 PyThreadState* __tstate = wxPyBeginAllowThreads();
11916 (arg1)->SetDragRect((wxRect const &)*arg2);
11917 wxPyEndAllowThreads(__tstate);
11918 if (PyErr_Occurred()) SWIG_fail;
11919 }
11920 resultobj = SWIG_Py_Void();
11921 return resultobj;
11922 fail:
11923 return NULL;
11924 }
11925
11926
11927 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11928 PyObject *resultobj = 0;
11929 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11930 wxRect result;
11931 void *argp1 = 0 ;
11932 int res1 = 0 ;
11933 PyObject *swig_obj[1] ;
11934
11935 if (!args) SWIG_fail;
11936 swig_obj[0] = args;
11937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11938 if (!SWIG_IsOK(res1)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11940 }
11941 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11942 {
11943 PyThreadState* __tstate = wxPyBeginAllowThreads();
11944 result = ((wxSashEvent const *)arg1)->GetDragRect();
11945 wxPyEndAllowThreads(__tstate);
11946 if (PyErr_Occurred()) SWIG_fail;
11947 }
11948 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11949 return resultobj;
11950 fail:
11951 return NULL;
11952 }
11953
11954
11955 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11956 PyObject *resultobj = 0;
11957 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11958 wxSashDragStatus arg2 ;
11959 void *argp1 = 0 ;
11960 int res1 = 0 ;
11961 int val2 ;
11962 int ecode2 = 0 ;
11963 PyObject * obj0 = 0 ;
11964 PyObject * obj1 = 0 ;
11965 char * kwnames[] = {
11966 (char *) "self",(char *) "status", NULL
11967 };
11968
11969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11971 if (!SWIG_IsOK(res1)) {
11972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11973 }
11974 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11975 ecode2 = SWIG_AsVal_int(obj1, &val2);
11976 if (!SWIG_IsOK(ecode2)) {
11977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11978 }
11979 arg2 = static_cast< wxSashDragStatus >(val2);
11980 {
11981 PyThreadState* __tstate = wxPyBeginAllowThreads();
11982 (arg1)->SetDragStatus(arg2);
11983 wxPyEndAllowThreads(__tstate);
11984 if (PyErr_Occurred()) SWIG_fail;
11985 }
11986 resultobj = SWIG_Py_Void();
11987 return resultobj;
11988 fail:
11989 return NULL;
11990 }
11991
11992
11993 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11994 PyObject *resultobj = 0;
11995 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11996 wxSashDragStatus result;
11997 void *argp1 = 0 ;
11998 int res1 = 0 ;
11999 PyObject *swig_obj[1] ;
12000
12001 if (!args) SWIG_fail;
12002 swig_obj[0] = args;
12003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12004 if (!SWIG_IsOK(res1)) {
12005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12006 }
12007 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12008 {
12009 PyThreadState* __tstate = wxPyBeginAllowThreads();
12010 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12011 wxPyEndAllowThreads(__tstate);
12012 if (PyErr_Occurred()) SWIG_fail;
12013 }
12014 resultobj = SWIG_From_int(static_cast< int >(result));
12015 return resultobj;
12016 fail:
12017 return NULL;
12018 }
12019
12020
12021 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12022 PyObject *obj;
12023 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12024 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12025 return SWIG_Py_Void();
12026 }
12027
12028 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12029 return SWIG_Python_InitShadowInstance(args);
12030 }
12031
12032 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12033 PyObject *resultobj = 0;
12034 int arg1 = (int) 0 ;
12035 wxQueryLayoutInfoEvent *result = 0 ;
12036 int val1 ;
12037 int ecode1 = 0 ;
12038 PyObject * obj0 = 0 ;
12039 char * kwnames[] = {
12040 (char *) "id", NULL
12041 };
12042
12043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12044 if (obj0) {
12045 ecode1 = SWIG_AsVal_int(obj0, &val1);
12046 if (!SWIG_IsOK(ecode1)) {
12047 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12048 }
12049 arg1 = static_cast< int >(val1);
12050 }
12051 {
12052 PyThreadState* __tstate = wxPyBeginAllowThreads();
12053 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12054 wxPyEndAllowThreads(__tstate);
12055 if (PyErr_Occurred()) SWIG_fail;
12056 }
12057 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12058 return resultobj;
12059 fail:
12060 return NULL;
12061 }
12062
12063
12064 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12065 PyObject *resultobj = 0;
12066 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12067 int arg2 ;
12068 void *argp1 = 0 ;
12069 int res1 = 0 ;
12070 int val2 ;
12071 int ecode2 = 0 ;
12072 PyObject * obj0 = 0 ;
12073 PyObject * obj1 = 0 ;
12074 char * kwnames[] = {
12075 (char *) "self",(char *) "length", NULL
12076 };
12077
12078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12080 if (!SWIG_IsOK(res1)) {
12081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12082 }
12083 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12084 ecode2 = SWIG_AsVal_int(obj1, &val2);
12085 if (!SWIG_IsOK(ecode2)) {
12086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12087 }
12088 arg2 = static_cast< int >(val2);
12089 {
12090 PyThreadState* __tstate = wxPyBeginAllowThreads();
12091 (arg1)->SetRequestedLength(arg2);
12092 wxPyEndAllowThreads(__tstate);
12093 if (PyErr_Occurred()) SWIG_fail;
12094 }
12095 resultobj = SWIG_Py_Void();
12096 return resultobj;
12097 fail:
12098 return NULL;
12099 }
12100
12101
12102 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12103 PyObject *resultobj = 0;
12104 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12105 int result;
12106 void *argp1 = 0 ;
12107 int res1 = 0 ;
12108 PyObject *swig_obj[1] ;
12109
12110 if (!args) SWIG_fail;
12111 swig_obj[0] = args;
12112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12113 if (!SWIG_IsOK(res1)) {
12114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12115 }
12116 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12117 {
12118 PyThreadState* __tstate = wxPyBeginAllowThreads();
12119 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12120 wxPyEndAllowThreads(__tstate);
12121 if (PyErr_Occurred()) SWIG_fail;
12122 }
12123 resultobj = SWIG_From_int(static_cast< int >(result));
12124 return resultobj;
12125 fail:
12126 return NULL;
12127 }
12128
12129
12130 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12131 PyObject *resultobj = 0;
12132 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12133 int arg2 ;
12134 void *argp1 = 0 ;
12135 int res1 = 0 ;
12136 int val2 ;
12137 int ecode2 = 0 ;
12138 PyObject * obj0 = 0 ;
12139 PyObject * obj1 = 0 ;
12140 char * kwnames[] = {
12141 (char *) "self",(char *) "flags", NULL
12142 };
12143
12144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12146 if (!SWIG_IsOK(res1)) {
12147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12148 }
12149 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12150 ecode2 = SWIG_AsVal_int(obj1, &val2);
12151 if (!SWIG_IsOK(ecode2)) {
12152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12153 }
12154 arg2 = static_cast< int >(val2);
12155 {
12156 PyThreadState* __tstate = wxPyBeginAllowThreads();
12157 (arg1)->SetFlags(arg2);
12158 wxPyEndAllowThreads(__tstate);
12159 if (PyErr_Occurred()) SWIG_fail;
12160 }
12161 resultobj = SWIG_Py_Void();
12162 return resultobj;
12163 fail:
12164 return NULL;
12165 }
12166
12167
12168 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12169 PyObject *resultobj = 0;
12170 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12171 int result;
12172 void *argp1 = 0 ;
12173 int res1 = 0 ;
12174 PyObject *swig_obj[1] ;
12175
12176 if (!args) SWIG_fail;
12177 swig_obj[0] = args;
12178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12179 if (!SWIG_IsOK(res1)) {
12180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12181 }
12182 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12183 {
12184 PyThreadState* __tstate = wxPyBeginAllowThreads();
12185 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12186 wxPyEndAllowThreads(__tstate);
12187 if (PyErr_Occurred()) SWIG_fail;
12188 }
12189 resultobj = SWIG_From_int(static_cast< int >(result));
12190 return resultobj;
12191 fail:
12192 return NULL;
12193 }
12194
12195
12196 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12197 PyObject *resultobj = 0;
12198 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12199 wxSize *arg2 = 0 ;
12200 void *argp1 = 0 ;
12201 int res1 = 0 ;
12202 wxSize temp2 ;
12203 PyObject * obj0 = 0 ;
12204 PyObject * obj1 = 0 ;
12205 char * kwnames[] = {
12206 (char *) "self",(char *) "size", NULL
12207 };
12208
12209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12211 if (!SWIG_IsOK(res1)) {
12212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12213 }
12214 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12215 {
12216 arg2 = &temp2;
12217 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12218 }
12219 {
12220 PyThreadState* __tstate = wxPyBeginAllowThreads();
12221 (arg1)->SetSize((wxSize const &)*arg2);
12222 wxPyEndAllowThreads(__tstate);
12223 if (PyErr_Occurred()) SWIG_fail;
12224 }
12225 resultobj = SWIG_Py_Void();
12226 return resultobj;
12227 fail:
12228 return NULL;
12229 }
12230
12231
12232 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12233 PyObject *resultobj = 0;
12234 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12235 wxSize result;
12236 void *argp1 = 0 ;
12237 int res1 = 0 ;
12238 PyObject *swig_obj[1] ;
12239
12240 if (!args) SWIG_fail;
12241 swig_obj[0] = args;
12242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12243 if (!SWIG_IsOK(res1)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12245 }
12246 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12247 {
12248 PyThreadState* __tstate = wxPyBeginAllowThreads();
12249 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12250 wxPyEndAllowThreads(__tstate);
12251 if (PyErr_Occurred()) SWIG_fail;
12252 }
12253 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12254 return resultobj;
12255 fail:
12256 return NULL;
12257 }
12258
12259
12260 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12261 PyObject *resultobj = 0;
12262 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12263 wxLayoutOrientation arg2 ;
12264 void *argp1 = 0 ;
12265 int res1 = 0 ;
12266 int val2 ;
12267 int ecode2 = 0 ;
12268 PyObject * obj0 = 0 ;
12269 PyObject * obj1 = 0 ;
12270 char * kwnames[] = {
12271 (char *) "self",(char *) "orient", NULL
12272 };
12273
12274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12276 if (!SWIG_IsOK(res1)) {
12277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12278 }
12279 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12280 ecode2 = SWIG_AsVal_int(obj1, &val2);
12281 if (!SWIG_IsOK(ecode2)) {
12282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12283 }
12284 arg2 = static_cast< wxLayoutOrientation >(val2);
12285 {
12286 PyThreadState* __tstate = wxPyBeginAllowThreads();
12287 (arg1)->SetOrientation(arg2);
12288 wxPyEndAllowThreads(__tstate);
12289 if (PyErr_Occurred()) SWIG_fail;
12290 }
12291 resultobj = SWIG_Py_Void();
12292 return resultobj;
12293 fail:
12294 return NULL;
12295 }
12296
12297
12298 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12299 PyObject *resultobj = 0;
12300 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12301 wxLayoutOrientation result;
12302 void *argp1 = 0 ;
12303 int res1 = 0 ;
12304 PyObject *swig_obj[1] ;
12305
12306 if (!args) SWIG_fail;
12307 swig_obj[0] = args;
12308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12309 if (!SWIG_IsOK(res1)) {
12310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12311 }
12312 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12313 {
12314 PyThreadState* __tstate = wxPyBeginAllowThreads();
12315 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12316 wxPyEndAllowThreads(__tstate);
12317 if (PyErr_Occurred()) SWIG_fail;
12318 }
12319 resultobj = SWIG_From_int(static_cast< int >(result));
12320 return resultobj;
12321 fail:
12322 return NULL;
12323 }
12324
12325
12326 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12327 PyObject *resultobj = 0;
12328 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12329 wxLayoutAlignment arg2 ;
12330 void *argp1 = 0 ;
12331 int res1 = 0 ;
12332 int val2 ;
12333 int ecode2 = 0 ;
12334 PyObject * obj0 = 0 ;
12335 PyObject * obj1 = 0 ;
12336 char * kwnames[] = {
12337 (char *) "self",(char *) "align", NULL
12338 };
12339
12340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12342 if (!SWIG_IsOK(res1)) {
12343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12344 }
12345 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12346 ecode2 = SWIG_AsVal_int(obj1, &val2);
12347 if (!SWIG_IsOK(ecode2)) {
12348 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12349 }
12350 arg2 = static_cast< wxLayoutAlignment >(val2);
12351 {
12352 PyThreadState* __tstate = wxPyBeginAllowThreads();
12353 (arg1)->SetAlignment(arg2);
12354 wxPyEndAllowThreads(__tstate);
12355 if (PyErr_Occurred()) SWIG_fail;
12356 }
12357 resultobj = SWIG_Py_Void();
12358 return resultobj;
12359 fail:
12360 return NULL;
12361 }
12362
12363
12364 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12365 PyObject *resultobj = 0;
12366 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12367 wxLayoutAlignment result;
12368 void *argp1 = 0 ;
12369 int res1 = 0 ;
12370 PyObject *swig_obj[1] ;
12371
12372 if (!args) SWIG_fail;
12373 swig_obj[0] = args;
12374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12375 if (!SWIG_IsOK(res1)) {
12376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12377 }
12378 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12379 {
12380 PyThreadState* __tstate = wxPyBeginAllowThreads();
12381 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12382 wxPyEndAllowThreads(__tstate);
12383 if (PyErr_Occurred()) SWIG_fail;
12384 }
12385 resultobj = SWIG_From_int(static_cast< int >(result));
12386 return resultobj;
12387 fail:
12388 return NULL;
12389 }
12390
12391
12392 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12393 PyObject *obj;
12394 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12395 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12396 return SWIG_Py_Void();
12397 }
12398
12399 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12400 return SWIG_Python_InitShadowInstance(args);
12401 }
12402
12403 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12404 PyObject *resultobj = 0;
12405 int arg1 = (int) 0 ;
12406 wxCalculateLayoutEvent *result = 0 ;
12407 int val1 ;
12408 int ecode1 = 0 ;
12409 PyObject * obj0 = 0 ;
12410 char * kwnames[] = {
12411 (char *) "id", NULL
12412 };
12413
12414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12415 if (obj0) {
12416 ecode1 = SWIG_AsVal_int(obj0, &val1);
12417 if (!SWIG_IsOK(ecode1)) {
12418 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12419 }
12420 arg1 = static_cast< int >(val1);
12421 }
12422 {
12423 PyThreadState* __tstate = wxPyBeginAllowThreads();
12424 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12425 wxPyEndAllowThreads(__tstate);
12426 if (PyErr_Occurred()) SWIG_fail;
12427 }
12428 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12429 return resultobj;
12430 fail:
12431 return NULL;
12432 }
12433
12434
12435 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12436 PyObject *resultobj = 0;
12437 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12438 int arg2 ;
12439 void *argp1 = 0 ;
12440 int res1 = 0 ;
12441 int val2 ;
12442 int ecode2 = 0 ;
12443 PyObject * obj0 = 0 ;
12444 PyObject * obj1 = 0 ;
12445 char * kwnames[] = {
12446 (char *) "self",(char *) "flags", NULL
12447 };
12448
12449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12451 if (!SWIG_IsOK(res1)) {
12452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12453 }
12454 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12455 ecode2 = SWIG_AsVal_int(obj1, &val2);
12456 if (!SWIG_IsOK(ecode2)) {
12457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12458 }
12459 arg2 = static_cast< int >(val2);
12460 {
12461 PyThreadState* __tstate = wxPyBeginAllowThreads();
12462 (arg1)->SetFlags(arg2);
12463 wxPyEndAllowThreads(__tstate);
12464 if (PyErr_Occurred()) SWIG_fail;
12465 }
12466 resultobj = SWIG_Py_Void();
12467 return resultobj;
12468 fail:
12469 return NULL;
12470 }
12471
12472
12473 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12474 PyObject *resultobj = 0;
12475 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12476 int result;
12477 void *argp1 = 0 ;
12478 int res1 = 0 ;
12479 PyObject *swig_obj[1] ;
12480
12481 if (!args) SWIG_fail;
12482 swig_obj[0] = args;
12483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12484 if (!SWIG_IsOK(res1)) {
12485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12486 }
12487 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12488 {
12489 PyThreadState* __tstate = wxPyBeginAllowThreads();
12490 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12491 wxPyEndAllowThreads(__tstate);
12492 if (PyErr_Occurred()) SWIG_fail;
12493 }
12494 resultobj = SWIG_From_int(static_cast< int >(result));
12495 return resultobj;
12496 fail:
12497 return NULL;
12498 }
12499
12500
12501 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12502 PyObject *resultobj = 0;
12503 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12504 wxRect *arg2 = 0 ;
12505 void *argp1 = 0 ;
12506 int res1 = 0 ;
12507 wxRect temp2 ;
12508 PyObject * obj0 = 0 ;
12509 PyObject * obj1 = 0 ;
12510 char * kwnames[] = {
12511 (char *) "self",(char *) "rect", NULL
12512 };
12513
12514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12516 if (!SWIG_IsOK(res1)) {
12517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12518 }
12519 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12520 {
12521 arg2 = &temp2;
12522 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12523 }
12524 {
12525 PyThreadState* __tstate = wxPyBeginAllowThreads();
12526 (arg1)->SetRect((wxRect const &)*arg2);
12527 wxPyEndAllowThreads(__tstate);
12528 if (PyErr_Occurred()) SWIG_fail;
12529 }
12530 resultobj = SWIG_Py_Void();
12531 return resultobj;
12532 fail:
12533 return NULL;
12534 }
12535
12536
12537 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12538 PyObject *resultobj = 0;
12539 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12540 wxRect result;
12541 void *argp1 = 0 ;
12542 int res1 = 0 ;
12543 PyObject *swig_obj[1] ;
12544
12545 if (!args) SWIG_fail;
12546 swig_obj[0] = args;
12547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12548 if (!SWIG_IsOK(res1)) {
12549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12550 }
12551 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12552 {
12553 PyThreadState* __tstate = wxPyBeginAllowThreads();
12554 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12555 wxPyEndAllowThreads(__tstate);
12556 if (PyErr_Occurred()) SWIG_fail;
12557 }
12558 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12559 return resultobj;
12560 fail:
12561 return NULL;
12562 }
12563
12564
12565 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12566 PyObject *obj;
12567 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12568 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12569 return SWIG_Py_Void();
12570 }
12571
12572 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12573 return SWIG_Python_InitShadowInstance(args);
12574 }
12575
12576 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12577 PyObject *resultobj = 0;
12578 wxWindow *arg1 = (wxWindow *) 0 ;
12579 int arg2 = (int) -1 ;
12580 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12581 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12582 wxSize const &arg4_defvalue = wxDefaultSize ;
12583 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12584 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12585 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12586 wxString *arg6 = (wxString *) &arg6_defvalue ;
12587 wxSashLayoutWindow *result = 0 ;
12588 void *argp1 = 0 ;
12589 int res1 = 0 ;
12590 int val2 ;
12591 int ecode2 = 0 ;
12592 wxPoint temp3 ;
12593 wxSize temp4 ;
12594 long val5 ;
12595 int ecode5 = 0 ;
12596 bool temp6 = false ;
12597 PyObject * obj0 = 0 ;
12598 PyObject * obj1 = 0 ;
12599 PyObject * obj2 = 0 ;
12600 PyObject * obj3 = 0 ;
12601 PyObject * obj4 = 0 ;
12602 PyObject * obj5 = 0 ;
12603 char * kwnames[] = {
12604 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12605 };
12606
12607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12609 if (!SWIG_IsOK(res1)) {
12610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12611 }
12612 arg1 = reinterpret_cast< wxWindow * >(argp1);
12613 if (obj1) {
12614 ecode2 = SWIG_AsVal_int(obj1, &val2);
12615 if (!SWIG_IsOK(ecode2)) {
12616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12617 }
12618 arg2 = static_cast< int >(val2);
12619 }
12620 if (obj2) {
12621 {
12622 arg3 = &temp3;
12623 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12624 }
12625 }
12626 if (obj3) {
12627 {
12628 arg4 = &temp4;
12629 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12630 }
12631 }
12632 if (obj4) {
12633 ecode5 = SWIG_AsVal_long(obj4, &val5);
12634 if (!SWIG_IsOK(ecode5)) {
12635 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12636 }
12637 arg5 = static_cast< long >(val5);
12638 }
12639 if (obj5) {
12640 {
12641 arg6 = wxString_in_helper(obj5);
12642 if (arg6 == NULL) SWIG_fail;
12643 temp6 = true;
12644 }
12645 }
12646 {
12647 if (!wxPyCheckForApp()) SWIG_fail;
12648 PyThreadState* __tstate = wxPyBeginAllowThreads();
12649 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12650 wxPyEndAllowThreads(__tstate);
12651 if (PyErr_Occurred()) SWIG_fail;
12652 }
12653 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12654 {
12655 if (temp6)
12656 delete arg6;
12657 }
12658 return resultobj;
12659 fail:
12660 {
12661 if (temp6)
12662 delete arg6;
12663 }
12664 return NULL;
12665 }
12666
12667
12668 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12669 PyObject *resultobj = 0;
12670 wxSashLayoutWindow *result = 0 ;
12671
12672 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12673 {
12674 if (!wxPyCheckForApp()) SWIG_fail;
12675 PyThreadState* __tstate = wxPyBeginAllowThreads();
12676 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12677 wxPyEndAllowThreads(__tstate);
12678 if (PyErr_Occurred()) SWIG_fail;
12679 }
12680 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12681 return resultobj;
12682 fail:
12683 return NULL;
12684 }
12685
12686
12687 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12688 PyObject *resultobj = 0;
12689 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12690 wxWindow *arg2 = (wxWindow *) 0 ;
12691 int arg3 = (int) -1 ;
12692 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12693 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12694 wxSize const &arg5_defvalue = wxDefaultSize ;
12695 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12696 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12697 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12698 wxString *arg7 = (wxString *) &arg7_defvalue ;
12699 bool result;
12700 void *argp1 = 0 ;
12701 int res1 = 0 ;
12702 void *argp2 = 0 ;
12703 int res2 = 0 ;
12704 int val3 ;
12705 int ecode3 = 0 ;
12706 wxPoint temp4 ;
12707 wxSize temp5 ;
12708 long val6 ;
12709 int ecode6 = 0 ;
12710 bool temp7 = false ;
12711 PyObject * obj0 = 0 ;
12712 PyObject * obj1 = 0 ;
12713 PyObject * obj2 = 0 ;
12714 PyObject * obj3 = 0 ;
12715 PyObject * obj4 = 0 ;
12716 PyObject * obj5 = 0 ;
12717 PyObject * obj6 = 0 ;
12718 char * kwnames[] = {
12719 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12720 };
12721
12722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12724 if (!SWIG_IsOK(res1)) {
12725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12726 }
12727 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12728 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12729 if (!SWIG_IsOK(res2)) {
12730 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12731 }
12732 arg2 = reinterpret_cast< wxWindow * >(argp2);
12733 if (obj2) {
12734 ecode3 = SWIG_AsVal_int(obj2, &val3);
12735 if (!SWIG_IsOK(ecode3)) {
12736 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12737 }
12738 arg3 = static_cast< int >(val3);
12739 }
12740 if (obj3) {
12741 {
12742 arg4 = &temp4;
12743 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12744 }
12745 }
12746 if (obj4) {
12747 {
12748 arg5 = &temp5;
12749 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12750 }
12751 }
12752 if (obj5) {
12753 ecode6 = SWIG_AsVal_long(obj5, &val6);
12754 if (!SWIG_IsOK(ecode6)) {
12755 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12756 }
12757 arg6 = static_cast< long >(val6);
12758 }
12759 if (obj6) {
12760 {
12761 arg7 = wxString_in_helper(obj6);
12762 if (arg7 == NULL) SWIG_fail;
12763 temp7 = true;
12764 }
12765 }
12766 {
12767 PyThreadState* __tstate = wxPyBeginAllowThreads();
12768 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12769 wxPyEndAllowThreads(__tstate);
12770 if (PyErr_Occurred()) SWIG_fail;
12771 }
12772 {
12773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12774 }
12775 {
12776 if (temp7)
12777 delete arg7;
12778 }
12779 return resultobj;
12780 fail:
12781 {
12782 if (temp7)
12783 delete arg7;
12784 }
12785 return NULL;
12786 }
12787
12788
12789 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12790 PyObject *resultobj = 0;
12791 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12792 wxLayoutAlignment result;
12793 void *argp1 = 0 ;
12794 int res1 = 0 ;
12795 PyObject *swig_obj[1] ;
12796
12797 if (!args) SWIG_fail;
12798 swig_obj[0] = args;
12799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12800 if (!SWIG_IsOK(res1)) {
12801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12802 }
12803 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12804 {
12805 PyThreadState* __tstate = wxPyBeginAllowThreads();
12806 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12807 wxPyEndAllowThreads(__tstate);
12808 if (PyErr_Occurred()) SWIG_fail;
12809 }
12810 resultobj = SWIG_From_int(static_cast< int >(result));
12811 return resultobj;
12812 fail:
12813 return NULL;
12814 }
12815
12816
12817 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12818 PyObject *resultobj = 0;
12819 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12820 wxLayoutOrientation result;
12821 void *argp1 = 0 ;
12822 int res1 = 0 ;
12823 PyObject *swig_obj[1] ;
12824
12825 if (!args) SWIG_fail;
12826 swig_obj[0] = args;
12827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12828 if (!SWIG_IsOK(res1)) {
12829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12830 }
12831 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12832 {
12833 PyThreadState* __tstate = wxPyBeginAllowThreads();
12834 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12835 wxPyEndAllowThreads(__tstate);
12836 if (PyErr_Occurred()) SWIG_fail;
12837 }
12838 resultobj = SWIG_From_int(static_cast< int >(result));
12839 return resultobj;
12840 fail:
12841 return NULL;
12842 }
12843
12844
12845 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12846 PyObject *resultobj = 0;
12847 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12848 wxLayoutAlignment arg2 ;
12849 void *argp1 = 0 ;
12850 int res1 = 0 ;
12851 int val2 ;
12852 int ecode2 = 0 ;
12853 PyObject * obj0 = 0 ;
12854 PyObject * obj1 = 0 ;
12855 char * kwnames[] = {
12856 (char *) "self",(char *) "alignment", NULL
12857 };
12858
12859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12861 if (!SWIG_IsOK(res1)) {
12862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12863 }
12864 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12865 ecode2 = SWIG_AsVal_int(obj1, &val2);
12866 if (!SWIG_IsOK(ecode2)) {
12867 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12868 }
12869 arg2 = static_cast< wxLayoutAlignment >(val2);
12870 {
12871 PyThreadState* __tstate = wxPyBeginAllowThreads();
12872 (arg1)->SetAlignment(arg2);
12873 wxPyEndAllowThreads(__tstate);
12874 if (PyErr_Occurred()) SWIG_fail;
12875 }
12876 resultobj = SWIG_Py_Void();
12877 return resultobj;
12878 fail:
12879 return NULL;
12880 }
12881
12882
12883 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12884 PyObject *resultobj = 0;
12885 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12886 wxSize *arg2 = 0 ;
12887 void *argp1 = 0 ;
12888 int res1 = 0 ;
12889 wxSize temp2 ;
12890 PyObject * obj0 = 0 ;
12891 PyObject * obj1 = 0 ;
12892 char * kwnames[] = {
12893 (char *) "self",(char *) "size", NULL
12894 };
12895
12896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12898 if (!SWIG_IsOK(res1)) {
12899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12900 }
12901 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12902 {
12903 arg2 = &temp2;
12904 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12905 }
12906 {
12907 PyThreadState* __tstate = wxPyBeginAllowThreads();
12908 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12909 wxPyEndAllowThreads(__tstate);
12910 if (PyErr_Occurred()) SWIG_fail;
12911 }
12912 resultobj = SWIG_Py_Void();
12913 return resultobj;
12914 fail:
12915 return NULL;
12916 }
12917
12918
12919 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12920 PyObject *resultobj = 0;
12921 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12922 wxLayoutOrientation arg2 ;
12923 void *argp1 = 0 ;
12924 int res1 = 0 ;
12925 int val2 ;
12926 int ecode2 = 0 ;
12927 PyObject * obj0 = 0 ;
12928 PyObject * obj1 = 0 ;
12929 char * kwnames[] = {
12930 (char *) "self",(char *) "orientation", NULL
12931 };
12932
12933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12935 if (!SWIG_IsOK(res1)) {
12936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12937 }
12938 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12939 ecode2 = SWIG_AsVal_int(obj1, &val2);
12940 if (!SWIG_IsOK(ecode2)) {
12941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12942 }
12943 arg2 = static_cast< wxLayoutOrientation >(val2);
12944 {
12945 PyThreadState* __tstate = wxPyBeginAllowThreads();
12946 (arg1)->SetOrientation(arg2);
12947 wxPyEndAllowThreads(__tstate);
12948 if (PyErr_Occurred()) SWIG_fail;
12949 }
12950 resultobj = SWIG_Py_Void();
12951 return resultobj;
12952 fail:
12953 return NULL;
12954 }
12955
12956
12957 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12958 PyObject *obj;
12959 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12960 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12961 return SWIG_Py_Void();
12962 }
12963
12964 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12965 return SWIG_Python_InitShadowInstance(args);
12966 }
12967
12968 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12969 PyObject *resultobj = 0;
12970 wxLayoutAlgorithm *result = 0 ;
12971
12972 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12973 {
12974 PyThreadState* __tstate = wxPyBeginAllowThreads();
12975 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12976 wxPyEndAllowThreads(__tstate);
12977 if (PyErr_Occurred()) SWIG_fail;
12978 }
12979 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12980 return resultobj;
12981 fail:
12982 return NULL;
12983 }
12984
12985
12986 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12987 PyObject *resultobj = 0;
12988 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12989 void *argp1 = 0 ;
12990 int res1 = 0 ;
12991 PyObject *swig_obj[1] ;
12992
12993 if (!args) SWIG_fail;
12994 swig_obj[0] = args;
12995 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12996 if (!SWIG_IsOK(res1)) {
12997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12998 }
12999 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13000 {
13001 PyThreadState* __tstate = wxPyBeginAllowThreads();
13002 delete arg1;
13003
13004 wxPyEndAllowThreads(__tstate);
13005 if (PyErr_Occurred()) SWIG_fail;
13006 }
13007 resultobj = SWIG_Py_Void();
13008 return resultobj;
13009 fail:
13010 return NULL;
13011 }
13012
13013
13014 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13015 PyObject *resultobj = 0;
13016 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13017 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13018 wxRect *arg3 = (wxRect *) NULL ;
13019 bool result;
13020 void *argp1 = 0 ;
13021 int res1 = 0 ;
13022 void *argp2 = 0 ;
13023 int res2 = 0 ;
13024 void *argp3 = 0 ;
13025 int res3 = 0 ;
13026 PyObject * obj0 = 0 ;
13027 PyObject * obj1 = 0 ;
13028 PyObject * obj2 = 0 ;
13029 char * kwnames[] = {
13030 (char *) "self",(char *) "frame",(char *) "rect", NULL
13031 };
13032
13033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13035 if (!SWIG_IsOK(res1)) {
13036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13037 }
13038 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13039 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13040 if (!SWIG_IsOK(res2)) {
13041 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13042 }
13043 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13044 if (obj2) {
13045 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13046 if (!SWIG_IsOK(res3)) {
13047 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13048 }
13049 arg3 = reinterpret_cast< wxRect * >(argp3);
13050 }
13051 {
13052 PyThreadState* __tstate = wxPyBeginAllowThreads();
13053 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13054 wxPyEndAllowThreads(__tstate);
13055 if (PyErr_Occurred()) SWIG_fail;
13056 }
13057 {
13058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13059 }
13060 return resultobj;
13061 fail:
13062 return NULL;
13063 }
13064
13065
13066 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13067 PyObject *resultobj = 0;
13068 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13069 wxFrame *arg2 = (wxFrame *) 0 ;
13070 wxWindow *arg3 = (wxWindow *) NULL ;
13071 bool result;
13072 void *argp1 = 0 ;
13073 int res1 = 0 ;
13074 void *argp2 = 0 ;
13075 int res2 = 0 ;
13076 void *argp3 = 0 ;
13077 int res3 = 0 ;
13078 PyObject * obj0 = 0 ;
13079 PyObject * obj1 = 0 ;
13080 PyObject * obj2 = 0 ;
13081 char * kwnames[] = {
13082 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13083 };
13084
13085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13087 if (!SWIG_IsOK(res1)) {
13088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13089 }
13090 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13091 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13092 if (!SWIG_IsOK(res2)) {
13093 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13094 }
13095 arg2 = reinterpret_cast< wxFrame * >(argp2);
13096 if (obj2) {
13097 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13098 if (!SWIG_IsOK(res3)) {
13099 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13100 }
13101 arg3 = reinterpret_cast< wxWindow * >(argp3);
13102 }
13103 {
13104 PyThreadState* __tstate = wxPyBeginAllowThreads();
13105 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13106 wxPyEndAllowThreads(__tstate);
13107 if (PyErr_Occurred()) SWIG_fail;
13108 }
13109 {
13110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13111 }
13112 return resultobj;
13113 fail:
13114 return NULL;
13115 }
13116
13117
13118 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13119 PyObject *resultobj = 0;
13120 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13121 wxWindow *arg2 = (wxWindow *) 0 ;
13122 wxWindow *arg3 = (wxWindow *) NULL ;
13123 bool result;
13124 void *argp1 = 0 ;
13125 int res1 = 0 ;
13126 void *argp2 = 0 ;
13127 int res2 = 0 ;
13128 void *argp3 = 0 ;
13129 int res3 = 0 ;
13130 PyObject * obj0 = 0 ;
13131 PyObject * obj1 = 0 ;
13132 PyObject * obj2 = 0 ;
13133 char * kwnames[] = {
13134 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13135 };
13136
13137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13139 if (!SWIG_IsOK(res1)) {
13140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13141 }
13142 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13143 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13144 if (!SWIG_IsOK(res2)) {
13145 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13146 }
13147 arg2 = reinterpret_cast< wxWindow * >(argp2);
13148 if (obj2) {
13149 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13150 if (!SWIG_IsOK(res3)) {
13151 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13152 }
13153 arg3 = reinterpret_cast< wxWindow * >(argp3);
13154 }
13155 {
13156 PyThreadState* __tstate = wxPyBeginAllowThreads();
13157 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13158 wxPyEndAllowThreads(__tstate);
13159 if (PyErr_Occurred()) SWIG_fail;
13160 }
13161 {
13162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13163 }
13164 return resultobj;
13165 fail:
13166 return NULL;
13167 }
13168
13169
13170 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13171 PyObject *obj;
13172 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13173 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13174 return SWIG_Py_Void();
13175 }
13176
13177 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13178 return SWIG_Python_InitShadowInstance(args);
13179 }
13180
13181 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13182 PyObject *resultobj = 0;
13183 wxWindow *arg1 = (wxWindow *) 0 ;
13184 int arg2 = (int) wxBORDER_NONE ;
13185 wxPopupWindow *result = 0 ;
13186 void *argp1 = 0 ;
13187 int res1 = 0 ;
13188 int val2 ;
13189 int ecode2 = 0 ;
13190 PyObject * obj0 = 0 ;
13191 PyObject * obj1 = 0 ;
13192 char * kwnames[] = {
13193 (char *) "parent",(char *) "flags", NULL
13194 };
13195
13196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13198 if (!SWIG_IsOK(res1)) {
13199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13200 }
13201 arg1 = reinterpret_cast< wxWindow * >(argp1);
13202 if (obj1) {
13203 ecode2 = SWIG_AsVal_int(obj1, &val2);
13204 if (!SWIG_IsOK(ecode2)) {
13205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13206 }
13207 arg2 = static_cast< int >(val2);
13208 }
13209 {
13210 if (!wxPyCheckForApp()) SWIG_fail;
13211 PyThreadState* __tstate = wxPyBeginAllowThreads();
13212 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13213 wxPyEndAllowThreads(__tstate);
13214 if (PyErr_Occurred()) SWIG_fail;
13215 }
13216 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13217 return resultobj;
13218 fail:
13219 return NULL;
13220 }
13221
13222
13223 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13224 PyObject *resultobj = 0;
13225 wxPopupWindow *result = 0 ;
13226
13227 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13228 {
13229 if (!wxPyCheckForApp()) SWIG_fail;
13230 PyThreadState* __tstate = wxPyBeginAllowThreads();
13231 result = (wxPopupWindow *)new wxPopupWindow();
13232 wxPyEndAllowThreads(__tstate);
13233 if (PyErr_Occurred()) SWIG_fail;
13234 }
13235 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13236 return resultobj;
13237 fail:
13238 return NULL;
13239 }
13240
13241
13242 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13243 PyObject *resultobj = 0;
13244 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13245 wxWindow *arg2 = (wxWindow *) 0 ;
13246 int arg3 = (int) wxBORDER_NONE ;
13247 bool result;
13248 void *argp1 = 0 ;
13249 int res1 = 0 ;
13250 void *argp2 = 0 ;
13251 int res2 = 0 ;
13252 int val3 ;
13253 int ecode3 = 0 ;
13254 PyObject * obj0 = 0 ;
13255 PyObject * obj1 = 0 ;
13256 PyObject * obj2 = 0 ;
13257 char * kwnames[] = {
13258 (char *) "self",(char *) "parent",(char *) "flags", NULL
13259 };
13260
13261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13263 if (!SWIG_IsOK(res1)) {
13264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13265 }
13266 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13267 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13268 if (!SWIG_IsOK(res2)) {
13269 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13270 }
13271 arg2 = reinterpret_cast< wxWindow * >(argp2);
13272 if (obj2) {
13273 ecode3 = SWIG_AsVal_int(obj2, &val3);
13274 if (!SWIG_IsOK(ecode3)) {
13275 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13276 }
13277 arg3 = static_cast< int >(val3);
13278 }
13279 {
13280 PyThreadState* __tstate = wxPyBeginAllowThreads();
13281 result = (bool)(arg1)->Create(arg2,arg3);
13282 wxPyEndAllowThreads(__tstate);
13283 if (PyErr_Occurred()) SWIG_fail;
13284 }
13285 {
13286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13287 }
13288 return resultobj;
13289 fail:
13290 return NULL;
13291 }
13292
13293
13294 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13295 PyObject *resultobj = 0;
13296 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13297 wxPoint *arg2 = 0 ;
13298 wxSize *arg3 = 0 ;
13299 void *argp1 = 0 ;
13300 int res1 = 0 ;
13301 wxPoint temp2 ;
13302 wxSize temp3 ;
13303 PyObject * obj0 = 0 ;
13304 PyObject * obj1 = 0 ;
13305 PyObject * obj2 = 0 ;
13306 char * kwnames[] = {
13307 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13308 };
13309
13310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13312 if (!SWIG_IsOK(res1)) {
13313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13314 }
13315 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13316 {
13317 arg2 = &temp2;
13318 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13319 }
13320 {
13321 arg3 = &temp3;
13322 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13323 }
13324 {
13325 PyThreadState* __tstate = wxPyBeginAllowThreads();
13326 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13327 wxPyEndAllowThreads(__tstate);
13328 if (PyErr_Occurred()) SWIG_fail;
13329 }
13330 resultobj = SWIG_Py_Void();
13331 return resultobj;
13332 fail:
13333 return NULL;
13334 }
13335
13336
13337 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13338 PyObject *obj;
13339 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13340 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13341 return SWIG_Py_Void();
13342 }
13343
13344 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13345 return SWIG_Python_InitShadowInstance(args);
13346 }
13347
13348 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13349 PyObject *resultobj = 0;
13350 wxWindow *arg1 = (wxWindow *) 0 ;
13351 int arg2 = (int) wxBORDER_NONE ;
13352 wxPyPopupTransientWindow *result = 0 ;
13353 void *argp1 = 0 ;
13354 int res1 = 0 ;
13355 int val2 ;
13356 int ecode2 = 0 ;
13357 PyObject * obj0 = 0 ;
13358 PyObject * obj1 = 0 ;
13359 char * kwnames[] = {
13360 (char *) "parent",(char *) "style", NULL
13361 };
13362
13363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13365 if (!SWIG_IsOK(res1)) {
13366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13367 }
13368 arg1 = reinterpret_cast< wxWindow * >(argp1);
13369 if (obj1) {
13370 ecode2 = SWIG_AsVal_int(obj1, &val2);
13371 if (!SWIG_IsOK(ecode2)) {
13372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13373 }
13374 arg2 = static_cast< int >(val2);
13375 }
13376 {
13377 if (!wxPyCheckForApp()) SWIG_fail;
13378 PyThreadState* __tstate = wxPyBeginAllowThreads();
13379 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13380 wxPyEndAllowThreads(__tstate);
13381 if (PyErr_Occurred()) SWIG_fail;
13382 }
13383 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13384 return resultobj;
13385 fail:
13386 return NULL;
13387 }
13388
13389
13390 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13391 PyObject *resultobj = 0;
13392 wxPyPopupTransientWindow *result = 0 ;
13393
13394 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13395 {
13396 if (!wxPyCheckForApp()) SWIG_fail;
13397 PyThreadState* __tstate = wxPyBeginAllowThreads();
13398 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13399 wxPyEndAllowThreads(__tstate);
13400 if (PyErr_Occurred()) SWIG_fail;
13401 }
13402 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13403 return resultobj;
13404 fail:
13405 return NULL;
13406 }
13407
13408
13409 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13410 PyObject *resultobj = 0;
13411 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13412 PyObject *arg2 = (PyObject *) 0 ;
13413 PyObject *arg3 = (PyObject *) 0 ;
13414 void *argp1 = 0 ;
13415 int res1 = 0 ;
13416 PyObject * obj0 = 0 ;
13417 PyObject * obj1 = 0 ;
13418 PyObject * obj2 = 0 ;
13419 char * kwnames[] = {
13420 (char *) "self",(char *) "self",(char *) "_class", NULL
13421 };
13422
13423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13425 if (!SWIG_IsOK(res1)) {
13426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13427 }
13428 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13429 arg2 = obj1;
13430 arg3 = obj2;
13431 {
13432 PyThreadState* __tstate = wxPyBeginAllowThreads();
13433 (arg1)->_setCallbackInfo(arg2,arg3);
13434 wxPyEndAllowThreads(__tstate);
13435 if (PyErr_Occurred()) SWIG_fail;
13436 }
13437 resultobj = SWIG_Py_Void();
13438 return resultobj;
13439 fail:
13440 return NULL;
13441 }
13442
13443
13444 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13445 PyObject *resultobj = 0;
13446 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13447 wxWindow *arg2 = (wxWindow *) NULL ;
13448 void *argp1 = 0 ;
13449 int res1 = 0 ;
13450 void *argp2 = 0 ;
13451 int res2 = 0 ;
13452 PyObject * obj0 = 0 ;
13453 PyObject * obj1 = 0 ;
13454 char * kwnames[] = {
13455 (char *) "self",(char *) "focus", NULL
13456 };
13457
13458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13460 if (!SWIG_IsOK(res1)) {
13461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13462 }
13463 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13464 if (obj1) {
13465 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13466 if (!SWIG_IsOK(res2)) {
13467 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13468 }
13469 arg2 = reinterpret_cast< wxWindow * >(argp2);
13470 }
13471 {
13472 PyThreadState* __tstate = wxPyBeginAllowThreads();
13473 (arg1)->Popup(arg2);
13474 wxPyEndAllowThreads(__tstate);
13475 if (PyErr_Occurred()) SWIG_fail;
13476 }
13477 resultobj = SWIG_Py_Void();
13478 return resultobj;
13479 fail:
13480 return NULL;
13481 }
13482
13483
13484 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13485 PyObject *resultobj = 0;
13486 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13487 void *argp1 = 0 ;
13488 int res1 = 0 ;
13489 PyObject *swig_obj[1] ;
13490
13491 if (!args) SWIG_fail;
13492 swig_obj[0] = args;
13493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13494 if (!SWIG_IsOK(res1)) {
13495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13496 }
13497 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13498 {
13499 PyThreadState* __tstate = wxPyBeginAllowThreads();
13500 (arg1)->Dismiss();
13501 wxPyEndAllowThreads(__tstate);
13502 if (PyErr_Occurred()) SWIG_fail;
13503 }
13504 resultobj = SWIG_Py_Void();
13505 return resultobj;
13506 fail:
13507 return NULL;
13508 }
13509
13510
13511 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13512 PyObject *obj;
13513 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13514 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13515 return SWIG_Py_Void();
13516 }
13517
13518 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13519 return SWIG_Python_InitShadowInstance(args);
13520 }
13521
13522 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13523 PyObject *resultobj = 0;
13524 wxWindow *arg1 = (wxWindow *) 0 ;
13525 wxString *arg2 = 0 ;
13526 int arg3 = (int) 100 ;
13527 wxRect *arg4 = (wxRect *) NULL ;
13528 wxTipWindow *result = 0 ;
13529 void *argp1 = 0 ;
13530 int res1 = 0 ;
13531 bool temp2 = false ;
13532 int val3 ;
13533 int ecode3 = 0 ;
13534 void *argp4 = 0 ;
13535 int res4 = 0 ;
13536 PyObject * obj0 = 0 ;
13537 PyObject * obj1 = 0 ;
13538 PyObject * obj2 = 0 ;
13539 PyObject * obj3 = 0 ;
13540 char * kwnames[] = {
13541 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13542 };
13543
13544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13546 if (!SWIG_IsOK(res1)) {
13547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13548 }
13549 arg1 = reinterpret_cast< wxWindow * >(argp1);
13550 {
13551 arg2 = wxString_in_helper(obj1);
13552 if (arg2 == NULL) SWIG_fail;
13553 temp2 = true;
13554 }
13555 if (obj2) {
13556 ecode3 = SWIG_AsVal_int(obj2, &val3);
13557 if (!SWIG_IsOK(ecode3)) {
13558 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13559 }
13560 arg3 = static_cast< int >(val3);
13561 }
13562 if (obj3) {
13563 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13564 if (!SWIG_IsOK(res4)) {
13565 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13566 }
13567 arg4 = reinterpret_cast< wxRect * >(argp4);
13568 }
13569 {
13570 if (!wxPyCheckForApp()) SWIG_fail;
13571 PyThreadState* __tstate = wxPyBeginAllowThreads();
13572 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13573 wxPyEndAllowThreads(__tstate);
13574 if (PyErr_Occurred()) SWIG_fail;
13575 }
13576 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13577 {
13578 if (temp2)
13579 delete arg2;
13580 }
13581 return resultobj;
13582 fail:
13583 {
13584 if (temp2)
13585 delete arg2;
13586 }
13587 return NULL;
13588 }
13589
13590
13591 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13592 PyObject *resultobj = 0;
13593 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13594 wxRect *arg2 = 0 ;
13595 void *argp1 = 0 ;
13596 int res1 = 0 ;
13597 wxRect temp2 ;
13598 PyObject * obj0 = 0 ;
13599 PyObject * obj1 = 0 ;
13600 char * kwnames[] = {
13601 (char *) "self",(char *) "rectBound", NULL
13602 };
13603
13604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13606 if (!SWIG_IsOK(res1)) {
13607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13608 }
13609 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13610 {
13611 arg2 = &temp2;
13612 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13613 }
13614 {
13615 PyThreadState* __tstate = wxPyBeginAllowThreads();
13616 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13617 wxPyEndAllowThreads(__tstate);
13618 if (PyErr_Occurred()) SWIG_fail;
13619 }
13620 resultobj = SWIG_Py_Void();
13621 return resultobj;
13622 fail:
13623 return NULL;
13624 }
13625
13626
13627 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13628 PyObject *resultobj = 0;
13629 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13630 void *argp1 = 0 ;
13631 int res1 = 0 ;
13632 PyObject *swig_obj[1] ;
13633
13634 if (!args) SWIG_fail;
13635 swig_obj[0] = args;
13636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13637 if (!SWIG_IsOK(res1)) {
13638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13639 }
13640 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13641 {
13642 PyThreadState* __tstate = wxPyBeginAllowThreads();
13643 (arg1)->Close();
13644 wxPyEndAllowThreads(__tstate);
13645 if (PyErr_Occurred()) SWIG_fail;
13646 }
13647 resultobj = SWIG_Py_Void();
13648 return resultobj;
13649 fail:
13650 return NULL;
13651 }
13652
13653
13654 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13655 PyObject *obj;
13656 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13657 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13658 return SWIG_Py_Void();
13659 }
13660
13661 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13662 return SWIG_Python_InitShadowInstance(args);
13663 }
13664
13665 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13666 PyObject *resultobj = 0;
13667 wxWindow *arg1 = (wxWindow *) 0 ;
13668 int arg2 = (int) wxID_ANY ;
13669 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13670 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13671 wxSize const &arg4_defvalue = wxDefaultSize ;
13672 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13673 long arg5 = (long) 0 ;
13674 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13675 wxString *arg6 = (wxString *) &arg6_defvalue ;
13676 wxPyVScrolledWindow *result = 0 ;
13677 void *argp1 = 0 ;
13678 int res1 = 0 ;
13679 int val2 ;
13680 int ecode2 = 0 ;
13681 wxPoint temp3 ;
13682 wxSize temp4 ;
13683 long val5 ;
13684 int ecode5 = 0 ;
13685 bool temp6 = false ;
13686 PyObject * obj0 = 0 ;
13687 PyObject * obj1 = 0 ;
13688 PyObject * obj2 = 0 ;
13689 PyObject * obj3 = 0 ;
13690 PyObject * obj4 = 0 ;
13691 PyObject * obj5 = 0 ;
13692 char * kwnames[] = {
13693 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13694 };
13695
13696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13698 if (!SWIG_IsOK(res1)) {
13699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13700 }
13701 arg1 = reinterpret_cast< wxWindow * >(argp1);
13702 if (obj1) {
13703 ecode2 = SWIG_AsVal_int(obj1, &val2);
13704 if (!SWIG_IsOK(ecode2)) {
13705 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13706 }
13707 arg2 = static_cast< int >(val2);
13708 }
13709 if (obj2) {
13710 {
13711 arg3 = &temp3;
13712 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13713 }
13714 }
13715 if (obj3) {
13716 {
13717 arg4 = &temp4;
13718 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13719 }
13720 }
13721 if (obj4) {
13722 ecode5 = SWIG_AsVal_long(obj4, &val5);
13723 if (!SWIG_IsOK(ecode5)) {
13724 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13725 }
13726 arg5 = static_cast< long >(val5);
13727 }
13728 if (obj5) {
13729 {
13730 arg6 = wxString_in_helper(obj5);
13731 if (arg6 == NULL) SWIG_fail;
13732 temp6 = true;
13733 }
13734 }
13735 {
13736 if (!wxPyCheckForApp()) SWIG_fail;
13737 PyThreadState* __tstate = wxPyBeginAllowThreads();
13738 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13739 wxPyEndAllowThreads(__tstate);
13740 if (PyErr_Occurred()) SWIG_fail;
13741 }
13742 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13743 {
13744 if (temp6)
13745 delete arg6;
13746 }
13747 return resultobj;
13748 fail:
13749 {
13750 if (temp6)
13751 delete arg6;
13752 }
13753 return NULL;
13754 }
13755
13756
13757 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13758 PyObject *resultobj = 0;
13759 wxPyVScrolledWindow *result = 0 ;
13760
13761 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13762 {
13763 if (!wxPyCheckForApp()) SWIG_fail;
13764 PyThreadState* __tstate = wxPyBeginAllowThreads();
13765 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13766 wxPyEndAllowThreads(__tstate);
13767 if (PyErr_Occurred()) SWIG_fail;
13768 }
13769 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13770 return resultobj;
13771 fail:
13772 return NULL;
13773 }
13774
13775
13776 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13777 PyObject *resultobj = 0;
13778 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13779 PyObject *arg2 = (PyObject *) 0 ;
13780 PyObject *arg3 = (PyObject *) 0 ;
13781 void *argp1 = 0 ;
13782 int res1 = 0 ;
13783 PyObject * obj0 = 0 ;
13784 PyObject * obj1 = 0 ;
13785 PyObject * obj2 = 0 ;
13786 char * kwnames[] = {
13787 (char *) "self",(char *) "self",(char *) "_class", NULL
13788 };
13789
13790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13792 if (!SWIG_IsOK(res1)) {
13793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13794 }
13795 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13796 arg2 = obj1;
13797 arg3 = obj2;
13798 {
13799 PyThreadState* __tstate = wxPyBeginAllowThreads();
13800 (arg1)->_setCallbackInfo(arg2,arg3);
13801 wxPyEndAllowThreads(__tstate);
13802 if (PyErr_Occurred()) SWIG_fail;
13803 }
13804 resultobj = SWIG_Py_Void();
13805 return resultobj;
13806 fail:
13807 return NULL;
13808 }
13809
13810
13811 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13812 PyObject *resultobj = 0;
13813 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13814 wxWindow *arg2 = (wxWindow *) 0 ;
13815 int arg3 = (int) wxID_ANY ;
13816 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13817 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13818 wxSize const &arg5_defvalue = wxDefaultSize ;
13819 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13820 long arg6 = (long) 0 ;
13821 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13822 wxString *arg7 = (wxString *) &arg7_defvalue ;
13823 bool result;
13824 void *argp1 = 0 ;
13825 int res1 = 0 ;
13826 void *argp2 = 0 ;
13827 int res2 = 0 ;
13828 int val3 ;
13829 int ecode3 = 0 ;
13830 wxPoint temp4 ;
13831 wxSize temp5 ;
13832 long val6 ;
13833 int ecode6 = 0 ;
13834 bool temp7 = false ;
13835 PyObject * obj0 = 0 ;
13836 PyObject * obj1 = 0 ;
13837 PyObject * obj2 = 0 ;
13838 PyObject * obj3 = 0 ;
13839 PyObject * obj4 = 0 ;
13840 PyObject * obj5 = 0 ;
13841 PyObject * obj6 = 0 ;
13842 char * kwnames[] = {
13843 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13844 };
13845
13846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13848 if (!SWIG_IsOK(res1)) {
13849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13850 }
13851 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13852 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13853 if (!SWIG_IsOK(res2)) {
13854 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13855 }
13856 arg2 = reinterpret_cast< wxWindow * >(argp2);
13857 if (obj2) {
13858 ecode3 = SWIG_AsVal_int(obj2, &val3);
13859 if (!SWIG_IsOK(ecode3)) {
13860 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13861 }
13862 arg3 = static_cast< int >(val3);
13863 }
13864 if (obj3) {
13865 {
13866 arg4 = &temp4;
13867 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13868 }
13869 }
13870 if (obj4) {
13871 {
13872 arg5 = &temp5;
13873 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13874 }
13875 }
13876 if (obj5) {
13877 ecode6 = SWIG_AsVal_long(obj5, &val6);
13878 if (!SWIG_IsOK(ecode6)) {
13879 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13880 }
13881 arg6 = static_cast< long >(val6);
13882 }
13883 if (obj6) {
13884 {
13885 arg7 = wxString_in_helper(obj6);
13886 if (arg7 == NULL) SWIG_fail;
13887 temp7 = true;
13888 }
13889 }
13890 {
13891 PyThreadState* __tstate = wxPyBeginAllowThreads();
13892 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13893 wxPyEndAllowThreads(__tstate);
13894 if (PyErr_Occurred()) SWIG_fail;
13895 }
13896 {
13897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13898 }
13899 {
13900 if (temp7)
13901 delete arg7;
13902 }
13903 return resultobj;
13904 fail:
13905 {
13906 if (temp7)
13907 delete arg7;
13908 }
13909 return NULL;
13910 }
13911
13912
13913 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13914 PyObject *resultobj = 0;
13915 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13916 size_t arg2 ;
13917 void *argp1 = 0 ;
13918 int res1 = 0 ;
13919 size_t val2 ;
13920 int ecode2 = 0 ;
13921 PyObject * obj0 = 0 ;
13922 PyObject * obj1 = 0 ;
13923 char * kwnames[] = {
13924 (char *) "self",(char *) "count", NULL
13925 };
13926
13927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13929 if (!SWIG_IsOK(res1)) {
13930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13931 }
13932 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13933 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13934 if (!SWIG_IsOK(ecode2)) {
13935 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13936 }
13937 arg2 = static_cast< size_t >(val2);
13938 {
13939 PyThreadState* __tstate = wxPyBeginAllowThreads();
13940 (arg1)->SetLineCount(arg2);
13941 wxPyEndAllowThreads(__tstate);
13942 if (PyErr_Occurred()) SWIG_fail;
13943 }
13944 resultobj = SWIG_Py_Void();
13945 return resultobj;
13946 fail:
13947 return NULL;
13948 }
13949
13950
13951 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13952 PyObject *resultobj = 0;
13953 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13954 size_t arg2 ;
13955 bool result;
13956 void *argp1 = 0 ;
13957 int res1 = 0 ;
13958 size_t val2 ;
13959 int ecode2 = 0 ;
13960 PyObject * obj0 = 0 ;
13961 PyObject * obj1 = 0 ;
13962 char * kwnames[] = {
13963 (char *) "self",(char *) "line", NULL
13964 };
13965
13966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13968 if (!SWIG_IsOK(res1)) {
13969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13970 }
13971 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13972 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13973 if (!SWIG_IsOK(ecode2)) {
13974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13975 }
13976 arg2 = static_cast< size_t >(val2);
13977 {
13978 PyThreadState* __tstate = wxPyBeginAllowThreads();
13979 result = (bool)(arg1)->ScrollToLine(arg2);
13980 wxPyEndAllowThreads(__tstate);
13981 if (PyErr_Occurred()) SWIG_fail;
13982 }
13983 {
13984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13985 }
13986 return resultobj;
13987 fail:
13988 return NULL;
13989 }
13990
13991
13992 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13993 PyObject *resultobj = 0;
13994 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13995 size_t arg2 ;
13996 void *argp1 = 0 ;
13997 int res1 = 0 ;
13998 size_t val2 ;
13999 int ecode2 = 0 ;
14000 PyObject * obj0 = 0 ;
14001 PyObject * obj1 = 0 ;
14002 char * kwnames[] = {
14003 (char *) "self",(char *) "line", NULL
14004 };
14005
14006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
14007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14008 if (!SWIG_IsOK(res1)) {
14009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14010 }
14011 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14012 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14013 if (!SWIG_IsOK(ecode2)) {
14014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
14015 }
14016 arg2 = static_cast< size_t >(val2);
14017 {
14018 PyThreadState* __tstate = wxPyBeginAllowThreads();
14019 (arg1)->RefreshLine(arg2);
14020 wxPyEndAllowThreads(__tstate);
14021 if (PyErr_Occurred()) SWIG_fail;
14022 }
14023 resultobj = SWIG_Py_Void();
14024 return resultobj;
14025 fail:
14026 return NULL;
14027 }
14028
14029
14030 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14031 PyObject *resultobj = 0;
14032 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14033 size_t arg2 ;
14034 size_t arg3 ;
14035 void *argp1 = 0 ;
14036 int res1 = 0 ;
14037 size_t val2 ;
14038 int ecode2 = 0 ;
14039 size_t val3 ;
14040 int ecode3 = 0 ;
14041 PyObject * obj0 = 0 ;
14042 PyObject * obj1 = 0 ;
14043 PyObject * obj2 = 0 ;
14044 char * kwnames[] = {
14045 (char *) "self",(char *) "from",(char *) "to", NULL
14046 };
14047
14048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14050 if (!SWIG_IsOK(res1)) {
14051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14052 }
14053 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14054 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14055 if (!SWIG_IsOK(ecode2)) {
14056 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14057 }
14058 arg2 = static_cast< size_t >(val2);
14059 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14060 if (!SWIG_IsOK(ecode3)) {
14061 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14062 }
14063 arg3 = static_cast< size_t >(val3);
14064 {
14065 PyThreadState* __tstate = wxPyBeginAllowThreads();
14066 (arg1)->RefreshLines(arg2,arg3);
14067 wxPyEndAllowThreads(__tstate);
14068 if (PyErr_Occurred()) SWIG_fail;
14069 }
14070 resultobj = SWIG_Py_Void();
14071 return resultobj;
14072 fail:
14073 return NULL;
14074 }
14075
14076
14077 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14078 PyObject *resultobj = 0;
14079 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14080 int arg2 ;
14081 int arg3 ;
14082 int result;
14083 void *argp1 = 0 ;
14084 int res1 = 0 ;
14085 int val2 ;
14086 int ecode2 = 0 ;
14087 int val3 ;
14088 int ecode3 = 0 ;
14089 PyObject * obj0 = 0 ;
14090 PyObject * obj1 = 0 ;
14091 PyObject * obj2 = 0 ;
14092 char * kwnames[] = {
14093 (char *) "self",(char *) "x",(char *) "y", NULL
14094 };
14095
14096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14098 if (!SWIG_IsOK(res1)) {
14099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14100 }
14101 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14102 ecode2 = SWIG_AsVal_int(obj1, &val2);
14103 if (!SWIG_IsOK(ecode2)) {
14104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14105 }
14106 arg2 = static_cast< int >(val2);
14107 ecode3 = SWIG_AsVal_int(obj2, &val3);
14108 if (!SWIG_IsOK(ecode3)) {
14109 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14110 }
14111 arg3 = static_cast< int >(val3);
14112 {
14113 PyThreadState* __tstate = wxPyBeginAllowThreads();
14114 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14115 wxPyEndAllowThreads(__tstate);
14116 if (PyErr_Occurred()) SWIG_fail;
14117 }
14118 resultobj = SWIG_From_int(static_cast< int >(result));
14119 return resultobj;
14120 fail:
14121 return NULL;
14122 }
14123
14124
14125 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14126 PyObject *resultobj = 0;
14127 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14128 wxPoint *arg2 = 0 ;
14129 int result;
14130 void *argp1 = 0 ;
14131 int res1 = 0 ;
14132 wxPoint temp2 ;
14133 PyObject * obj0 = 0 ;
14134 PyObject * obj1 = 0 ;
14135 char * kwnames[] = {
14136 (char *) "self",(char *) "pt", NULL
14137 };
14138
14139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14141 if (!SWIG_IsOK(res1)) {
14142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14143 }
14144 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14145 {
14146 arg2 = &temp2;
14147 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14148 }
14149 {
14150 PyThreadState* __tstate = wxPyBeginAllowThreads();
14151 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14152 wxPyEndAllowThreads(__tstate);
14153 if (PyErr_Occurred()) SWIG_fail;
14154 }
14155 resultobj = SWIG_From_int(static_cast< int >(result));
14156 return resultobj;
14157 fail:
14158 return NULL;
14159 }
14160
14161
14162 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14163 PyObject *resultobj = 0;
14164 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14165 void *argp1 = 0 ;
14166 int res1 = 0 ;
14167 PyObject *swig_obj[1] ;
14168
14169 if (!args) SWIG_fail;
14170 swig_obj[0] = args;
14171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14172 if (!SWIG_IsOK(res1)) {
14173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14174 }
14175 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14176 {
14177 PyThreadState* __tstate = wxPyBeginAllowThreads();
14178 (arg1)->RefreshAll();
14179 wxPyEndAllowThreads(__tstate);
14180 if (PyErr_Occurred()) SWIG_fail;
14181 }
14182 resultobj = SWIG_Py_Void();
14183 return resultobj;
14184 fail:
14185 return NULL;
14186 }
14187
14188
14189 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14190 PyObject *resultobj = 0;
14191 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14192 size_t result;
14193 void *argp1 = 0 ;
14194 int res1 = 0 ;
14195 PyObject *swig_obj[1] ;
14196
14197 if (!args) SWIG_fail;
14198 swig_obj[0] = args;
14199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14200 if (!SWIG_IsOK(res1)) {
14201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14202 }
14203 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14204 {
14205 PyThreadState* __tstate = wxPyBeginAllowThreads();
14206 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14207 wxPyEndAllowThreads(__tstate);
14208 if (PyErr_Occurred()) SWIG_fail;
14209 }
14210 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14211 return resultobj;
14212 fail:
14213 return NULL;
14214 }
14215
14216
14217 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14218 PyObject *resultobj = 0;
14219 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14220 size_t result;
14221 void *argp1 = 0 ;
14222 int res1 = 0 ;
14223 PyObject *swig_obj[1] ;
14224
14225 if (!args) SWIG_fail;
14226 swig_obj[0] = args;
14227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14228 if (!SWIG_IsOK(res1)) {
14229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14230 }
14231 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14232 {
14233 PyThreadState* __tstate = wxPyBeginAllowThreads();
14234 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14235 wxPyEndAllowThreads(__tstate);
14236 if (PyErr_Occurred()) SWIG_fail;
14237 }
14238 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14239 return resultobj;
14240 fail:
14241 return NULL;
14242 }
14243
14244
14245 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14246 PyObject *resultobj = 0;
14247 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14248 size_t result;
14249 void *argp1 = 0 ;
14250 int res1 = 0 ;
14251 PyObject *swig_obj[1] ;
14252
14253 if (!args) SWIG_fail;
14254 swig_obj[0] = args;
14255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14256 if (!SWIG_IsOK(res1)) {
14257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14258 }
14259 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14260 {
14261 PyThreadState* __tstate = wxPyBeginAllowThreads();
14262 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14263 wxPyEndAllowThreads(__tstate);
14264 if (PyErr_Occurred()) SWIG_fail;
14265 }
14266 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14267 return resultobj;
14268 fail:
14269 return NULL;
14270 }
14271
14272
14273 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14274 PyObject *resultobj = 0;
14275 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14276 size_t arg2 ;
14277 bool result;
14278 void *argp1 = 0 ;
14279 int res1 = 0 ;
14280 size_t val2 ;
14281 int ecode2 = 0 ;
14282 PyObject * obj0 = 0 ;
14283 PyObject * obj1 = 0 ;
14284 char * kwnames[] = {
14285 (char *) "self",(char *) "line", NULL
14286 };
14287
14288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14290 if (!SWIG_IsOK(res1)) {
14291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14292 }
14293 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14294 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14295 if (!SWIG_IsOK(ecode2)) {
14296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14297 }
14298 arg2 = static_cast< size_t >(val2);
14299 {
14300 PyThreadState* __tstate = wxPyBeginAllowThreads();
14301 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14302 wxPyEndAllowThreads(__tstate);
14303 if (PyErr_Occurred()) SWIG_fail;
14304 }
14305 {
14306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14307 }
14308 return resultobj;
14309 fail:
14310 return NULL;
14311 }
14312
14313
14314 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14315 PyObject *resultobj = 0;
14316 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14317 size_t result;
14318 void *argp1 = 0 ;
14319 int res1 = 0 ;
14320 PyObject *swig_obj[1] ;
14321
14322 if (!args) SWIG_fail;
14323 swig_obj[0] = args;
14324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14325 if (!SWIG_IsOK(res1)) {
14326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14327 }
14328 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14329 {
14330 PyThreadState* __tstate = wxPyBeginAllowThreads();
14331 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14332 wxPyEndAllowThreads(__tstate);
14333 if (PyErr_Occurred()) SWIG_fail;
14334 }
14335 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14336 return resultobj;
14337 fail:
14338 return NULL;
14339 }
14340
14341
14342 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14343 PyObject *resultobj = 0;
14344 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14345 size_t result;
14346 void *argp1 = 0 ;
14347 int res1 = 0 ;
14348 PyObject *swig_obj[1] ;
14349
14350 if (!args) SWIG_fail;
14351 swig_obj[0] = args;
14352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14353 if (!SWIG_IsOK(res1)) {
14354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14355 }
14356 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14357 {
14358 PyThreadState* __tstate = wxPyBeginAllowThreads();
14359 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14360 wxPyEndAllowThreads(__tstate);
14361 if (PyErr_Occurred()) SWIG_fail;
14362 }
14363 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14364 return resultobj;
14365 fail:
14366 return NULL;
14367 }
14368
14369
14370 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14371 PyObject *resultobj = 0;
14372 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14373 size_t arg2 ;
14374 bool arg3 = (bool) false ;
14375 size_t result;
14376 void *argp1 = 0 ;
14377 int res1 = 0 ;
14378 size_t val2 ;
14379 int ecode2 = 0 ;
14380 bool val3 ;
14381 int ecode3 = 0 ;
14382 PyObject * obj0 = 0 ;
14383 PyObject * obj1 = 0 ;
14384 PyObject * obj2 = 0 ;
14385 char * kwnames[] = {
14386 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14387 };
14388
14389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14391 if (!SWIG_IsOK(res1)) {
14392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14393 }
14394 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14395 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14396 if (!SWIG_IsOK(ecode2)) {
14397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14398 }
14399 arg2 = static_cast< size_t >(val2);
14400 if (obj2) {
14401 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14402 if (!SWIG_IsOK(ecode3)) {
14403 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14404 }
14405 arg3 = static_cast< bool >(val3);
14406 }
14407 {
14408 PyThreadState* __tstate = wxPyBeginAllowThreads();
14409 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14410 wxPyEndAllowThreads(__tstate);
14411 if (PyErr_Occurred()) SWIG_fail;
14412 }
14413 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14414 return resultobj;
14415 fail:
14416 return NULL;
14417 }
14418
14419
14420 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14421 PyObject *resultobj = 0;
14422 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14423 size_t arg2 ;
14424 size_t arg3 ;
14425 int result;
14426 void *argp1 = 0 ;
14427 int res1 = 0 ;
14428 size_t val2 ;
14429 int ecode2 = 0 ;
14430 size_t val3 ;
14431 int ecode3 = 0 ;
14432 PyObject * obj0 = 0 ;
14433 PyObject * obj1 = 0 ;
14434 PyObject * obj2 = 0 ;
14435 char * kwnames[] = {
14436 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14437 };
14438
14439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14441 if (!SWIG_IsOK(res1)) {
14442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14443 }
14444 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14445 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14446 if (!SWIG_IsOK(ecode2)) {
14447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14448 }
14449 arg2 = static_cast< size_t >(val2);
14450 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14451 if (!SWIG_IsOK(ecode3)) {
14452 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14453 }
14454 arg3 = static_cast< size_t >(val3);
14455 {
14456 PyThreadState* __tstate = wxPyBeginAllowThreads();
14457 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14458 wxPyEndAllowThreads(__tstate);
14459 if (PyErr_Occurred()) SWIG_fail;
14460 }
14461 resultobj = SWIG_From_int(static_cast< int >(result));
14462 return resultobj;
14463 fail:
14464 return NULL;
14465 }
14466
14467
14468 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14469 PyObject *obj;
14470 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14471 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14472 return SWIG_Py_Void();
14473 }
14474
14475 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14476 return SWIG_Python_InitShadowInstance(args);
14477 }
14478
14479 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14480 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14481 return 1;
14482 }
14483
14484
14485 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14486 PyObject *pyobj = 0;
14487
14488 {
14489 #if wxUSE_UNICODE
14490 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14491 #else
14492 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14493 #endif
14494 }
14495 return pyobj;
14496 }
14497
14498
14499 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14500 PyObject *resultobj = 0;
14501 wxWindow *arg1 = (wxWindow *) 0 ;
14502 int arg2 = (int) wxID_ANY ;
14503 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14504 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14505 wxSize const &arg4_defvalue = wxDefaultSize ;
14506 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14507 long arg5 = (long) 0 ;
14508 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14509 wxString *arg6 = (wxString *) &arg6_defvalue ;
14510 wxPyVListBox *result = 0 ;
14511 void *argp1 = 0 ;
14512 int res1 = 0 ;
14513 int val2 ;
14514 int ecode2 = 0 ;
14515 wxPoint temp3 ;
14516 wxSize temp4 ;
14517 long val5 ;
14518 int ecode5 = 0 ;
14519 bool temp6 = false ;
14520 PyObject * obj0 = 0 ;
14521 PyObject * obj1 = 0 ;
14522 PyObject * obj2 = 0 ;
14523 PyObject * obj3 = 0 ;
14524 PyObject * obj4 = 0 ;
14525 PyObject * obj5 = 0 ;
14526 char * kwnames[] = {
14527 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14528 };
14529
14530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14531 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14532 if (!SWIG_IsOK(res1)) {
14533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14534 }
14535 arg1 = reinterpret_cast< wxWindow * >(argp1);
14536 if (obj1) {
14537 ecode2 = SWIG_AsVal_int(obj1, &val2);
14538 if (!SWIG_IsOK(ecode2)) {
14539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14540 }
14541 arg2 = static_cast< int >(val2);
14542 }
14543 if (obj2) {
14544 {
14545 arg3 = &temp3;
14546 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14547 }
14548 }
14549 if (obj3) {
14550 {
14551 arg4 = &temp4;
14552 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14553 }
14554 }
14555 if (obj4) {
14556 ecode5 = SWIG_AsVal_long(obj4, &val5);
14557 if (!SWIG_IsOK(ecode5)) {
14558 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14559 }
14560 arg5 = static_cast< long >(val5);
14561 }
14562 if (obj5) {
14563 {
14564 arg6 = wxString_in_helper(obj5);
14565 if (arg6 == NULL) SWIG_fail;
14566 temp6 = true;
14567 }
14568 }
14569 {
14570 if (!wxPyCheckForApp()) SWIG_fail;
14571 PyThreadState* __tstate = wxPyBeginAllowThreads();
14572 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14573 wxPyEndAllowThreads(__tstate);
14574 if (PyErr_Occurred()) SWIG_fail;
14575 }
14576 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14577 {
14578 if (temp6)
14579 delete arg6;
14580 }
14581 return resultobj;
14582 fail:
14583 {
14584 if (temp6)
14585 delete arg6;
14586 }
14587 return NULL;
14588 }
14589
14590
14591 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14592 PyObject *resultobj = 0;
14593 wxPyVListBox *result = 0 ;
14594
14595 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14596 {
14597 if (!wxPyCheckForApp()) SWIG_fail;
14598 PyThreadState* __tstate = wxPyBeginAllowThreads();
14599 result = (wxPyVListBox *)new wxPyVListBox();
14600 wxPyEndAllowThreads(__tstate);
14601 if (PyErr_Occurred()) SWIG_fail;
14602 }
14603 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14604 return resultobj;
14605 fail:
14606 return NULL;
14607 }
14608
14609
14610 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14611 PyObject *resultobj = 0;
14612 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14613 PyObject *arg2 = (PyObject *) 0 ;
14614 PyObject *arg3 = (PyObject *) 0 ;
14615 void *argp1 = 0 ;
14616 int res1 = 0 ;
14617 PyObject * obj0 = 0 ;
14618 PyObject * obj1 = 0 ;
14619 PyObject * obj2 = 0 ;
14620 char * kwnames[] = {
14621 (char *) "self",(char *) "self",(char *) "_class", NULL
14622 };
14623
14624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14626 if (!SWIG_IsOK(res1)) {
14627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14628 }
14629 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14630 arg2 = obj1;
14631 arg3 = obj2;
14632 {
14633 PyThreadState* __tstate = wxPyBeginAllowThreads();
14634 (arg1)->_setCallbackInfo(arg2,arg3);
14635 wxPyEndAllowThreads(__tstate);
14636 if (PyErr_Occurred()) SWIG_fail;
14637 }
14638 resultobj = SWIG_Py_Void();
14639 return resultobj;
14640 fail:
14641 return NULL;
14642 }
14643
14644
14645 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14646 PyObject *resultobj = 0;
14647 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14648 wxWindow *arg2 = (wxWindow *) 0 ;
14649 int arg3 = (int) wxID_ANY ;
14650 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14651 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14652 wxSize const &arg5_defvalue = wxDefaultSize ;
14653 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14654 long arg6 = (long) 0 ;
14655 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14656 wxString *arg7 = (wxString *) &arg7_defvalue ;
14657 bool result;
14658 void *argp1 = 0 ;
14659 int res1 = 0 ;
14660 void *argp2 = 0 ;
14661 int res2 = 0 ;
14662 int val3 ;
14663 int ecode3 = 0 ;
14664 wxPoint temp4 ;
14665 wxSize temp5 ;
14666 long val6 ;
14667 int ecode6 = 0 ;
14668 bool temp7 = false ;
14669 PyObject * obj0 = 0 ;
14670 PyObject * obj1 = 0 ;
14671 PyObject * obj2 = 0 ;
14672 PyObject * obj3 = 0 ;
14673 PyObject * obj4 = 0 ;
14674 PyObject * obj5 = 0 ;
14675 PyObject * obj6 = 0 ;
14676 char * kwnames[] = {
14677 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14678 };
14679
14680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14682 if (!SWIG_IsOK(res1)) {
14683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14684 }
14685 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14686 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14687 if (!SWIG_IsOK(res2)) {
14688 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14689 }
14690 arg2 = reinterpret_cast< wxWindow * >(argp2);
14691 if (obj2) {
14692 ecode3 = SWIG_AsVal_int(obj2, &val3);
14693 if (!SWIG_IsOK(ecode3)) {
14694 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14695 }
14696 arg3 = static_cast< int >(val3);
14697 }
14698 if (obj3) {
14699 {
14700 arg4 = &temp4;
14701 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14702 }
14703 }
14704 if (obj4) {
14705 {
14706 arg5 = &temp5;
14707 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14708 }
14709 }
14710 if (obj5) {
14711 ecode6 = SWIG_AsVal_long(obj5, &val6);
14712 if (!SWIG_IsOK(ecode6)) {
14713 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14714 }
14715 arg6 = static_cast< long >(val6);
14716 }
14717 if (obj6) {
14718 {
14719 arg7 = wxString_in_helper(obj6);
14720 if (arg7 == NULL) SWIG_fail;
14721 temp7 = true;
14722 }
14723 }
14724 {
14725 PyThreadState* __tstate = wxPyBeginAllowThreads();
14726 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14727 wxPyEndAllowThreads(__tstate);
14728 if (PyErr_Occurred()) SWIG_fail;
14729 }
14730 {
14731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14732 }
14733 {
14734 if (temp7)
14735 delete arg7;
14736 }
14737 return resultobj;
14738 fail:
14739 {
14740 if (temp7)
14741 delete arg7;
14742 }
14743 return NULL;
14744 }
14745
14746
14747 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14748 PyObject *resultobj = 0;
14749 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14750 size_t result;
14751 void *argp1 = 0 ;
14752 int res1 = 0 ;
14753 PyObject *swig_obj[1] ;
14754
14755 if (!args) SWIG_fail;
14756 swig_obj[0] = args;
14757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14758 if (!SWIG_IsOK(res1)) {
14759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14760 }
14761 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14762 {
14763 PyThreadState* __tstate = wxPyBeginAllowThreads();
14764 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14765 wxPyEndAllowThreads(__tstate);
14766 if (PyErr_Occurred()) SWIG_fail;
14767 }
14768 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14769 return resultobj;
14770 fail:
14771 return NULL;
14772 }
14773
14774
14775 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14776 PyObject *resultobj = 0;
14777 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14778 bool result;
14779 void *argp1 = 0 ;
14780 int res1 = 0 ;
14781 PyObject *swig_obj[1] ;
14782
14783 if (!args) SWIG_fail;
14784 swig_obj[0] = args;
14785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14786 if (!SWIG_IsOK(res1)) {
14787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14788 }
14789 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14790 {
14791 PyThreadState* __tstate = wxPyBeginAllowThreads();
14792 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14793 wxPyEndAllowThreads(__tstate);
14794 if (PyErr_Occurred()) SWIG_fail;
14795 }
14796 {
14797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14798 }
14799 return resultobj;
14800 fail:
14801 return NULL;
14802 }
14803
14804
14805 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14806 PyObject *resultobj = 0;
14807 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14808 int result;
14809 void *argp1 = 0 ;
14810 int res1 = 0 ;
14811 PyObject *swig_obj[1] ;
14812
14813 if (!args) SWIG_fail;
14814 swig_obj[0] = args;
14815 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14816 if (!SWIG_IsOK(res1)) {
14817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14818 }
14819 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14820 {
14821 PyThreadState* __tstate = wxPyBeginAllowThreads();
14822 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14823 wxPyEndAllowThreads(__tstate);
14824 if (PyErr_Occurred()) SWIG_fail;
14825 }
14826 resultobj = SWIG_From_int(static_cast< int >(result));
14827 return resultobj;
14828 fail:
14829 return NULL;
14830 }
14831
14832
14833 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14834 PyObject *resultobj = 0;
14835 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14836 size_t arg2 ;
14837 bool result;
14838 void *argp1 = 0 ;
14839 int res1 = 0 ;
14840 size_t val2 ;
14841 int ecode2 = 0 ;
14842 PyObject * obj0 = 0 ;
14843 PyObject * obj1 = 0 ;
14844 char * kwnames[] = {
14845 (char *) "self",(char *) "item", NULL
14846 };
14847
14848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14850 if (!SWIG_IsOK(res1)) {
14851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14852 }
14853 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14854 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14855 if (!SWIG_IsOK(ecode2)) {
14856 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14857 }
14858 arg2 = static_cast< size_t >(val2);
14859 {
14860 PyThreadState* __tstate = wxPyBeginAllowThreads();
14861 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14862 wxPyEndAllowThreads(__tstate);
14863 if (PyErr_Occurred()) SWIG_fail;
14864 }
14865 {
14866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14867 }
14868 return resultobj;
14869 fail:
14870 return NULL;
14871 }
14872
14873
14874 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14875 PyObject *resultobj = 0;
14876 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14877 size_t arg2 ;
14878 bool result;
14879 void *argp1 = 0 ;
14880 int res1 = 0 ;
14881 size_t val2 ;
14882 int ecode2 = 0 ;
14883 PyObject * obj0 = 0 ;
14884 PyObject * obj1 = 0 ;
14885 char * kwnames[] = {
14886 (char *) "self",(char *) "item", NULL
14887 };
14888
14889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14891 if (!SWIG_IsOK(res1)) {
14892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14893 }
14894 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14895 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14896 if (!SWIG_IsOK(ecode2)) {
14897 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14898 }
14899 arg2 = static_cast< size_t >(val2);
14900 {
14901 PyThreadState* __tstate = wxPyBeginAllowThreads();
14902 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14903 wxPyEndAllowThreads(__tstate);
14904 if (PyErr_Occurred()) SWIG_fail;
14905 }
14906 {
14907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14908 }
14909 return resultobj;
14910 fail:
14911 return NULL;
14912 }
14913
14914
14915 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14916 PyObject *resultobj = 0;
14917 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14918 size_t result;
14919 void *argp1 = 0 ;
14920 int res1 = 0 ;
14921 PyObject *swig_obj[1] ;
14922
14923 if (!args) SWIG_fail;
14924 swig_obj[0] = args;
14925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14926 if (!SWIG_IsOK(res1)) {
14927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14928 }
14929 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14930 {
14931 PyThreadState* __tstate = wxPyBeginAllowThreads();
14932 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14933 wxPyEndAllowThreads(__tstate);
14934 if (PyErr_Occurred()) SWIG_fail;
14935 }
14936 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14937 return resultobj;
14938 fail:
14939 return NULL;
14940 }
14941
14942
14943 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14944 PyObject *resultobj = 0;
14945 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14946 PyObject *result = 0 ;
14947 void *argp1 = 0 ;
14948 int res1 = 0 ;
14949 PyObject *swig_obj[1] ;
14950
14951 if (!args) SWIG_fail;
14952 swig_obj[0] = args;
14953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14954 if (!SWIG_IsOK(res1)) {
14955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14956 }
14957 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14958 {
14959 PyThreadState* __tstate = wxPyBeginAllowThreads();
14960 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14961 wxPyEndAllowThreads(__tstate);
14962 if (PyErr_Occurred()) SWIG_fail;
14963 }
14964 resultobj = result;
14965 return resultobj;
14966 fail:
14967 return NULL;
14968 }
14969
14970
14971 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14972 PyObject *resultobj = 0;
14973 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14974 unsigned long arg2 ;
14975 PyObject *result = 0 ;
14976 void *argp1 = 0 ;
14977 int res1 = 0 ;
14978 unsigned long val2 ;
14979 int ecode2 = 0 ;
14980 PyObject * obj0 = 0 ;
14981 PyObject * obj1 = 0 ;
14982 char * kwnames[] = {
14983 (char *) "self",(char *) "cookie", NULL
14984 };
14985
14986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14988 if (!SWIG_IsOK(res1)) {
14989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14990 }
14991 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14992 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14993 if (!SWIG_IsOK(ecode2)) {
14994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14995 }
14996 arg2 = static_cast< unsigned long >(val2);
14997 {
14998 PyThreadState* __tstate = wxPyBeginAllowThreads();
14999 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
15000 wxPyEndAllowThreads(__tstate);
15001 if (PyErr_Occurred()) SWIG_fail;
15002 }
15003 resultobj = result;
15004 return resultobj;
15005 fail:
15006 return NULL;
15007 }
15008
15009
15010 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15011 PyObject *resultobj = 0;
15012 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15013 wxPoint result;
15014 void *argp1 = 0 ;
15015 int res1 = 0 ;
15016 PyObject *swig_obj[1] ;
15017
15018 if (!args) SWIG_fail;
15019 swig_obj[0] = args;
15020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15021 if (!SWIG_IsOK(res1)) {
15022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15023 }
15024 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15025 {
15026 PyThreadState* __tstate = wxPyBeginAllowThreads();
15027 result = ((wxPyVListBox const *)arg1)->GetMargins();
15028 wxPyEndAllowThreads(__tstate);
15029 if (PyErr_Occurred()) SWIG_fail;
15030 }
15031 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
15032 return resultobj;
15033 fail:
15034 return NULL;
15035 }
15036
15037
15038 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15039 PyObject *resultobj = 0;
15040 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15041 wxColour *result = 0 ;
15042 void *argp1 = 0 ;
15043 int res1 = 0 ;
15044 PyObject *swig_obj[1] ;
15045
15046 if (!args) SWIG_fail;
15047 swig_obj[0] = args;
15048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15049 if (!SWIG_IsOK(res1)) {
15050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15051 }
15052 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15053 {
15054 PyThreadState* __tstate = wxPyBeginAllowThreads();
15055 {
15056 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
15057 result = (wxColour *) &_result_ref;
15058 }
15059 wxPyEndAllowThreads(__tstate);
15060 if (PyErr_Occurred()) SWIG_fail;
15061 }
15062 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
15063 return resultobj;
15064 fail:
15065 return NULL;
15066 }
15067
15068
15069 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15070 PyObject *resultobj = 0;
15071 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15072 size_t arg2 ;
15073 void *argp1 = 0 ;
15074 int res1 = 0 ;
15075 size_t val2 ;
15076 int ecode2 = 0 ;
15077 PyObject * obj0 = 0 ;
15078 PyObject * obj1 = 0 ;
15079 char * kwnames[] = {
15080 (char *) "self",(char *) "count", NULL
15081 };
15082
15083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15085 if (!SWIG_IsOK(res1)) {
15086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15087 }
15088 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15089 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15090 if (!SWIG_IsOK(ecode2)) {
15091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15092 }
15093 arg2 = static_cast< size_t >(val2);
15094 {
15095 PyThreadState* __tstate = wxPyBeginAllowThreads();
15096 (arg1)->SetItemCount(arg2);
15097 wxPyEndAllowThreads(__tstate);
15098 if (PyErr_Occurred()) SWIG_fail;
15099 }
15100 resultobj = SWIG_Py_Void();
15101 return resultobj;
15102 fail:
15103 return NULL;
15104 }
15105
15106
15107 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15108 PyObject *resultobj = 0;
15109 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15110 void *argp1 = 0 ;
15111 int res1 = 0 ;
15112 PyObject *swig_obj[1] ;
15113
15114 if (!args) SWIG_fail;
15115 swig_obj[0] = args;
15116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15117 if (!SWIG_IsOK(res1)) {
15118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15119 }
15120 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15121 {
15122 PyThreadState* __tstate = wxPyBeginAllowThreads();
15123 (arg1)->Clear();
15124 wxPyEndAllowThreads(__tstate);
15125 if (PyErr_Occurred()) SWIG_fail;
15126 }
15127 resultobj = SWIG_Py_Void();
15128 return resultobj;
15129 fail:
15130 return NULL;
15131 }
15132
15133
15134 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15135 PyObject *resultobj = 0;
15136 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15137 int arg2 ;
15138 void *argp1 = 0 ;
15139 int res1 = 0 ;
15140 int val2 ;
15141 int ecode2 = 0 ;
15142 PyObject * obj0 = 0 ;
15143 PyObject * obj1 = 0 ;
15144 char * kwnames[] = {
15145 (char *) "self",(char *) "selection", NULL
15146 };
15147
15148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15150 if (!SWIG_IsOK(res1)) {
15151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15152 }
15153 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15154 ecode2 = SWIG_AsVal_int(obj1, &val2);
15155 if (!SWIG_IsOK(ecode2)) {
15156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15157 }
15158 arg2 = static_cast< int >(val2);
15159 {
15160 PyThreadState* __tstate = wxPyBeginAllowThreads();
15161 (arg1)->SetSelection(arg2);
15162 wxPyEndAllowThreads(__tstate);
15163 if (PyErr_Occurred()) SWIG_fail;
15164 }
15165 resultobj = SWIG_Py_Void();
15166 return resultobj;
15167 fail:
15168 return NULL;
15169 }
15170
15171
15172 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15173 PyObject *resultobj = 0;
15174 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15175 size_t arg2 ;
15176 bool arg3 = (bool) true ;
15177 bool result;
15178 void *argp1 = 0 ;
15179 int res1 = 0 ;
15180 size_t val2 ;
15181 int ecode2 = 0 ;
15182 bool val3 ;
15183 int ecode3 = 0 ;
15184 PyObject * obj0 = 0 ;
15185 PyObject * obj1 = 0 ;
15186 PyObject * obj2 = 0 ;
15187 char * kwnames[] = {
15188 (char *) "self",(char *) "item",(char *) "select", NULL
15189 };
15190
15191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15193 if (!SWIG_IsOK(res1)) {
15194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15195 }
15196 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15197 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15198 if (!SWIG_IsOK(ecode2)) {
15199 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15200 }
15201 arg2 = static_cast< size_t >(val2);
15202 if (obj2) {
15203 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15204 if (!SWIG_IsOK(ecode3)) {
15205 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15206 }
15207 arg3 = static_cast< bool >(val3);
15208 }
15209 {
15210 PyThreadState* __tstate = wxPyBeginAllowThreads();
15211 result = (bool)(arg1)->Select(arg2,arg3);
15212 wxPyEndAllowThreads(__tstate);
15213 if (PyErr_Occurred()) SWIG_fail;
15214 }
15215 {
15216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15217 }
15218 return resultobj;
15219 fail:
15220 return NULL;
15221 }
15222
15223
15224 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15225 PyObject *resultobj = 0;
15226 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15227 size_t arg2 ;
15228 size_t arg3 ;
15229 bool result;
15230 void *argp1 = 0 ;
15231 int res1 = 0 ;
15232 size_t val2 ;
15233 int ecode2 = 0 ;
15234 size_t val3 ;
15235 int ecode3 = 0 ;
15236 PyObject * obj0 = 0 ;
15237 PyObject * obj1 = 0 ;
15238 PyObject * obj2 = 0 ;
15239 char * kwnames[] = {
15240 (char *) "self",(char *) "from",(char *) "to", NULL
15241 };
15242
15243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15245 if (!SWIG_IsOK(res1)) {
15246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15247 }
15248 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15249 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15250 if (!SWIG_IsOK(ecode2)) {
15251 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15252 }
15253 arg2 = static_cast< size_t >(val2);
15254 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15255 if (!SWIG_IsOK(ecode3)) {
15256 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15257 }
15258 arg3 = static_cast< size_t >(val3);
15259 {
15260 PyThreadState* __tstate = wxPyBeginAllowThreads();
15261 result = (bool)(arg1)->SelectRange(arg2,arg3);
15262 wxPyEndAllowThreads(__tstate);
15263 if (PyErr_Occurred()) SWIG_fail;
15264 }
15265 {
15266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15267 }
15268 return resultobj;
15269 fail:
15270 return NULL;
15271 }
15272
15273
15274 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15275 PyObject *resultobj = 0;
15276 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15277 size_t arg2 ;
15278 void *argp1 = 0 ;
15279 int res1 = 0 ;
15280 size_t val2 ;
15281 int ecode2 = 0 ;
15282 PyObject * obj0 = 0 ;
15283 PyObject * obj1 = 0 ;
15284 char * kwnames[] = {
15285 (char *) "self",(char *) "item", NULL
15286 };
15287
15288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15290 if (!SWIG_IsOK(res1)) {
15291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15292 }
15293 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15294 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15295 if (!SWIG_IsOK(ecode2)) {
15296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15297 }
15298 arg2 = static_cast< size_t >(val2);
15299 {
15300 PyThreadState* __tstate = wxPyBeginAllowThreads();
15301 (arg1)->Toggle(arg2);
15302 wxPyEndAllowThreads(__tstate);
15303 if (PyErr_Occurred()) SWIG_fail;
15304 }
15305 resultobj = SWIG_Py_Void();
15306 return resultobj;
15307 fail:
15308 return NULL;
15309 }
15310
15311
15312 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15313 PyObject *resultobj = 0;
15314 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15315 bool result;
15316 void *argp1 = 0 ;
15317 int res1 = 0 ;
15318 PyObject *swig_obj[1] ;
15319
15320 if (!args) SWIG_fail;
15321 swig_obj[0] = args;
15322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15323 if (!SWIG_IsOK(res1)) {
15324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15325 }
15326 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15327 {
15328 PyThreadState* __tstate = wxPyBeginAllowThreads();
15329 result = (bool)(arg1)->SelectAll();
15330 wxPyEndAllowThreads(__tstate);
15331 if (PyErr_Occurred()) SWIG_fail;
15332 }
15333 {
15334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15335 }
15336 return resultobj;
15337 fail:
15338 return NULL;
15339 }
15340
15341
15342 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15343 PyObject *resultobj = 0;
15344 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15345 bool result;
15346 void *argp1 = 0 ;
15347 int res1 = 0 ;
15348 PyObject *swig_obj[1] ;
15349
15350 if (!args) SWIG_fail;
15351 swig_obj[0] = args;
15352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15353 if (!SWIG_IsOK(res1)) {
15354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15355 }
15356 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15357 {
15358 PyThreadState* __tstate = wxPyBeginAllowThreads();
15359 result = (bool)(arg1)->DeselectAll();
15360 wxPyEndAllowThreads(__tstate);
15361 if (PyErr_Occurred()) SWIG_fail;
15362 }
15363 {
15364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15365 }
15366 return resultobj;
15367 fail:
15368 return NULL;
15369 }
15370
15371
15372 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15373 PyObject *resultobj = 0;
15374 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15375 wxPoint *arg2 = 0 ;
15376 void *argp1 = 0 ;
15377 int res1 = 0 ;
15378 wxPoint temp2 ;
15379 PyObject * obj0 = 0 ;
15380 PyObject * obj1 = 0 ;
15381 char * kwnames[] = {
15382 (char *) "self",(char *) "pt", NULL
15383 };
15384
15385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15387 if (!SWIG_IsOK(res1)) {
15388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15389 }
15390 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15391 {
15392 arg2 = &temp2;
15393 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15394 }
15395 {
15396 PyThreadState* __tstate = wxPyBeginAllowThreads();
15397 (arg1)->SetMargins((wxPoint const &)*arg2);
15398 wxPyEndAllowThreads(__tstate);
15399 if (PyErr_Occurred()) SWIG_fail;
15400 }
15401 resultobj = SWIG_Py_Void();
15402 return resultobj;
15403 fail:
15404 return NULL;
15405 }
15406
15407
15408 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15409 PyObject *resultobj = 0;
15410 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15411 int arg2 ;
15412 int arg3 ;
15413 void *argp1 = 0 ;
15414 int res1 = 0 ;
15415 int val2 ;
15416 int ecode2 = 0 ;
15417 int val3 ;
15418 int ecode3 = 0 ;
15419 PyObject * obj0 = 0 ;
15420 PyObject * obj1 = 0 ;
15421 PyObject * obj2 = 0 ;
15422 char * kwnames[] = {
15423 (char *) "self",(char *) "x",(char *) "y", NULL
15424 };
15425
15426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15428 if (!SWIG_IsOK(res1)) {
15429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15430 }
15431 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15432 ecode2 = SWIG_AsVal_int(obj1, &val2);
15433 if (!SWIG_IsOK(ecode2)) {
15434 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15435 }
15436 arg2 = static_cast< int >(val2);
15437 ecode3 = SWIG_AsVal_int(obj2, &val3);
15438 if (!SWIG_IsOK(ecode3)) {
15439 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15440 }
15441 arg3 = static_cast< int >(val3);
15442 {
15443 PyThreadState* __tstate = wxPyBeginAllowThreads();
15444 (arg1)->SetMargins(arg2,arg3);
15445 wxPyEndAllowThreads(__tstate);
15446 if (PyErr_Occurred()) SWIG_fail;
15447 }
15448 resultobj = SWIG_Py_Void();
15449 return resultobj;
15450 fail:
15451 return NULL;
15452 }
15453
15454
15455 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15456 PyObject *resultobj = 0;
15457 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15458 wxColour *arg2 = 0 ;
15459 void *argp1 = 0 ;
15460 int res1 = 0 ;
15461 wxColour temp2 ;
15462 PyObject * obj0 = 0 ;
15463 PyObject * obj1 = 0 ;
15464 char * kwnames[] = {
15465 (char *) "self",(char *) "col", NULL
15466 };
15467
15468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15470 if (!SWIG_IsOK(res1)) {
15471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15472 }
15473 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15474 {
15475 arg2 = &temp2;
15476 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15477 }
15478 {
15479 PyThreadState* __tstate = wxPyBeginAllowThreads();
15480 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15481 wxPyEndAllowThreads(__tstate);
15482 if (PyErr_Occurred()) SWIG_fail;
15483 }
15484 resultobj = SWIG_Py_Void();
15485 return resultobj;
15486 fail:
15487 return NULL;
15488 }
15489
15490
15491 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15492 PyObject *resultobj = 0;
15493 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15494 wxDC *arg2 = 0 ;
15495 wxRect *arg3 = 0 ;
15496 size_t arg4 ;
15497 void *argp1 = 0 ;
15498 int res1 = 0 ;
15499 void *argp2 = 0 ;
15500 int res2 = 0 ;
15501 wxRect temp3 ;
15502 size_t val4 ;
15503 int ecode4 = 0 ;
15504 PyObject * obj0 = 0 ;
15505 PyObject * obj1 = 0 ;
15506 PyObject * obj2 = 0 ;
15507 PyObject * obj3 = 0 ;
15508 char * kwnames[] = {
15509 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15510 };
15511
15512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15514 if (!SWIG_IsOK(res1)) {
15515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15516 }
15517 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15518 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15519 if (!SWIG_IsOK(res2)) {
15520 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15521 }
15522 if (!argp2) {
15523 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15524 }
15525 arg2 = reinterpret_cast< wxDC * >(argp2);
15526 {
15527 arg3 = &temp3;
15528 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15529 }
15530 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15531 if (!SWIG_IsOK(ecode4)) {
15532 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15533 }
15534 arg4 = static_cast< size_t >(val4);
15535 {
15536 PyThreadState* __tstate = wxPyBeginAllowThreads();
15537 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15538 wxPyEndAllowThreads(__tstate);
15539 if (PyErr_Occurred()) SWIG_fail;
15540 }
15541 resultobj = SWIG_Py_Void();
15542 return resultobj;
15543 fail:
15544 return NULL;
15545 }
15546
15547
15548 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15549 PyObject *resultobj = 0;
15550 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15551 wxDC *arg2 = 0 ;
15552 wxRect *arg3 = 0 ;
15553 size_t arg4 ;
15554 void *argp1 = 0 ;
15555 int res1 = 0 ;
15556 void *argp2 = 0 ;
15557 int res2 = 0 ;
15558 wxRect temp3 ;
15559 size_t val4 ;
15560 int ecode4 = 0 ;
15561 PyObject * obj0 = 0 ;
15562 PyObject * obj1 = 0 ;
15563 PyObject * obj2 = 0 ;
15564 PyObject * obj3 = 0 ;
15565 char * kwnames[] = {
15566 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15567 };
15568
15569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15571 if (!SWIG_IsOK(res1)) {
15572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15573 }
15574 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15575 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15576 if (!SWIG_IsOK(res2)) {
15577 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15578 }
15579 if (!argp2) {
15580 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15581 }
15582 arg2 = reinterpret_cast< wxDC * >(argp2);
15583 {
15584 arg3 = &temp3;
15585 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15586 }
15587 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15588 if (!SWIG_IsOK(ecode4)) {
15589 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15590 }
15591 arg4 = static_cast< size_t >(val4);
15592 {
15593 PyThreadState* __tstate = wxPyBeginAllowThreads();
15594 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15595 wxPyEndAllowThreads(__tstate);
15596 if (PyErr_Occurred()) SWIG_fail;
15597 }
15598 resultobj = SWIG_Py_Void();
15599 return resultobj;
15600 fail:
15601 return NULL;
15602 }
15603
15604
15605 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15606 PyObject *obj;
15607 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15608 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15609 return SWIG_Py_Void();
15610 }
15611
15612 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15613 return SWIG_Python_InitShadowInstance(args);
15614 }
15615
15616 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15617 PyObject *resultobj = 0;
15618 wxWindow *arg1 = (wxWindow *) 0 ;
15619 int arg2 = (int) wxID_ANY ;
15620 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15621 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15622 wxSize const &arg4_defvalue = wxDefaultSize ;
15623 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15624 long arg5 = (long) 0 ;
15625 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15626 wxString *arg6 = (wxString *) &arg6_defvalue ;
15627 wxPyHtmlListBox *result = 0 ;
15628 void *argp1 = 0 ;
15629 int res1 = 0 ;
15630 int val2 ;
15631 int ecode2 = 0 ;
15632 wxPoint temp3 ;
15633 wxSize temp4 ;
15634 long val5 ;
15635 int ecode5 = 0 ;
15636 bool temp6 = false ;
15637 PyObject * obj0 = 0 ;
15638 PyObject * obj1 = 0 ;
15639 PyObject * obj2 = 0 ;
15640 PyObject * obj3 = 0 ;
15641 PyObject * obj4 = 0 ;
15642 PyObject * obj5 = 0 ;
15643 char * kwnames[] = {
15644 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15645 };
15646
15647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15649 if (!SWIG_IsOK(res1)) {
15650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15651 }
15652 arg1 = reinterpret_cast< wxWindow * >(argp1);
15653 if (obj1) {
15654 ecode2 = SWIG_AsVal_int(obj1, &val2);
15655 if (!SWIG_IsOK(ecode2)) {
15656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15657 }
15658 arg2 = static_cast< int >(val2);
15659 }
15660 if (obj2) {
15661 {
15662 arg3 = &temp3;
15663 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15664 }
15665 }
15666 if (obj3) {
15667 {
15668 arg4 = &temp4;
15669 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15670 }
15671 }
15672 if (obj4) {
15673 ecode5 = SWIG_AsVal_long(obj4, &val5);
15674 if (!SWIG_IsOK(ecode5)) {
15675 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15676 }
15677 arg5 = static_cast< long >(val5);
15678 }
15679 if (obj5) {
15680 {
15681 arg6 = wxString_in_helper(obj5);
15682 if (arg6 == NULL) SWIG_fail;
15683 temp6 = true;
15684 }
15685 }
15686 {
15687 if (!wxPyCheckForApp()) SWIG_fail;
15688 PyThreadState* __tstate = wxPyBeginAllowThreads();
15689 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15690 wxPyEndAllowThreads(__tstate);
15691 if (PyErr_Occurred()) SWIG_fail;
15692 }
15693 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15694 {
15695 if (temp6)
15696 delete arg6;
15697 }
15698 return resultobj;
15699 fail:
15700 {
15701 if (temp6)
15702 delete arg6;
15703 }
15704 return NULL;
15705 }
15706
15707
15708 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15709 PyObject *resultobj = 0;
15710 wxPyHtmlListBox *result = 0 ;
15711
15712 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15713 {
15714 if (!wxPyCheckForApp()) SWIG_fail;
15715 PyThreadState* __tstate = wxPyBeginAllowThreads();
15716 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15717 wxPyEndAllowThreads(__tstate);
15718 if (PyErr_Occurred()) SWIG_fail;
15719 }
15720 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15721 return resultobj;
15722 fail:
15723 return NULL;
15724 }
15725
15726
15727 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15728 PyObject *resultobj = 0;
15729 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15730 PyObject *arg2 = (PyObject *) 0 ;
15731 PyObject *arg3 = (PyObject *) 0 ;
15732 void *argp1 = 0 ;
15733 int res1 = 0 ;
15734 PyObject * obj0 = 0 ;
15735 PyObject * obj1 = 0 ;
15736 PyObject * obj2 = 0 ;
15737 char * kwnames[] = {
15738 (char *) "self",(char *) "self",(char *) "_class", NULL
15739 };
15740
15741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15743 if (!SWIG_IsOK(res1)) {
15744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15745 }
15746 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15747 arg2 = obj1;
15748 arg3 = obj2;
15749 {
15750 PyThreadState* __tstate = wxPyBeginAllowThreads();
15751 (arg1)->_setCallbackInfo(arg2,arg3);
15752 wxPyEndAllowThreads(__tstate);
15753 if (PyErr_Occurred()) SWIG_fail;
15754 }
15755 resultobj = SWIG_Py_Void();
15756 return resultobj;
15757 fail:
15758 return NULL;
15759 }
15760
15761
15762 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15763 PyObject *resultobj = 0;
15764 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15765 wxWindow *arg2 = (wxWindow *) 0 ;
15766 int arg3 = (int) wxID_ANY ;
15767 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15768 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15769 wxSize const &arg5_defvalue = wxDefaultSize ;
15770 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15771 long arg6 = (long) 0 ;
15772 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15773 wxString *arg7 = (wxString *) &arg7_defvalue ;
15774 bool result;
15775 void *argp1 = 0 ;
15776 int res1 = 0 ;
15777 void *argp2 = 0 ;
15778 int res2 = 0 ;
15779 int val3 ;
15780 int ecode3 = 0 ;
15781 wxPoint temp4 ;
15782 wxSize temp5 ;
15783 long val6 ;
15784 int ecode6 = 0 ;
15785 bool temp7 = false ;
15786 PyObject * obj0 = 0 ;
15787 PyObject * obj1 = 0 ;
15788 PyObject * obj2 = 0 ;
15789 PyObject * obj3 = 0 ;
15790 PyObject * obj4 = 0 ;
15791 PyObject * obj5 = 0 ;
15792 PyObject * obj6 = 0 ;
15793 char * kwnames[] = {
15794 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15795 };
15796
15797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15799 if (!SWIG_IsOK(res1)) {
15800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15801 }
15802 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15803 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15804 if (!SWIG_IsOK(res2)) {
15805 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15806 }
15807 arg2 = reinterpret_cast< wxWindow * >(argp2);
15808 if (obj2) {
15809 ecode3 = SWIG_AsVal_int(obj2, &val3);
15810 if (!SWIG_IsOK(ecode3)) {
15811 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15812 }
15813 arg3 = static_cast< int >(val3);
15814 }
15815 if (obj3) {
15816 {
15817 arg4 = &temp4;
15818 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15819 }
15820 }
15821 if (obj4) {
15822 {
15823 arg5 = &temp5;
15824 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15825 }
15826 }
15827 if (obj5) {
15828 ecode6 = SWIG_AsVal_long(obj5, &val6);
15829 if (!SWIG_IsOK(ecode6)) {
15830 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15831 }
15832 arg6 = static_cast< long >(val6);
15833 }
15834 if (obj6) {
15835 {
15836 arg7 = wxString_in_helper(obj6);
15837 if (arg7 == NULL) SWIG_fail;
15838 temp7 = true;
15839 }
15840 }
15841 {
15842 PyThreadState* __tstate = wxPyBeginAllowThreads();
15843 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15844 wxPyEndAllowThreads(__tstate);
15845 if (PyErr_Occurred()) SWIG_fail;
15846 }
15847 {
15848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15849 }
15850 {
15851 if (temp7)
15852 delete arg7;
15853 }
15854 return resultobj;
15855 fail:
15856 {
15857 if (temp7)
15858 delete arg7;
15859 }
15860 return NULL;
15861 }
15862
15863
15864 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15865 PyObject *resultobj = 0;
15866 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15867 size_t arg2 ;
15868 void *argp1 = 0 ;
15869 int res1 = 0 ;
15870 size_t val2 ;
15871 int ecode2 = 0 ;
15872 PyObject * obj0 = 0 ;
15873 PyObject * obj1 = 0 ;
15874 char * kwnames[] = {
15875 (char *) "self",(char *) "count", NULL
15876 };
15877
15878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15880 if (!SWIG_IsOK(res1)) {
15881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15882 }
15883 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15884 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15885 if (!SWIG_IsOK(ecode2)) {
15886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15887 }
15888 arg2 = static_cast< size_t >(val2);
15889 {
15890 PyThreadState* __tstate = wxPyBeginAllowThreads();
15891 (arg1)->SetItemCount(arg2);
15892 wxPyEndAllowThreads(__tstate);
15893 if (PyErr_Occurred()) SWIG_fail;
15894 }
15895 resultobj = SWIG_Py_Void();
15896 return resultobj;
15897 fail:
15898 return NULL;
15899 }
15900
15901
15902 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15903 PyObject *resultobj = 0;
15904 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15905 wxFileSystem *result = 0 ;
15906 void *argp1 = 0 ;
15907 int res1 = 0 ;
15908 PyObject *swig_obj[1] ;
15909
15910 if (!args) SWIG_fail;
15911 swig_obj[0] = args;
15912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15913 if (!SWIG_IsOK(res1)) {
15914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15915 }
15916 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15917 {
15918 PyThreadState* __tstate = wxPyBeginAllowThreads();
15919 {
15920 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15921 result = (wxFileSystem *) &_result_ref;
15922 }
15923 wxPyEndAllowThreads(__tstate);
15924 if (PyErr_Occurred()) SWIG_fail;
15925 }
15926 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15927 return resultobj;
15928 fail:
15929 return NULL;
15930 }
15931
15932
15933 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15934 PyObject *resultobj = 0;
15935 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15936 size_t arg2 ;
15937 wxHtmlLinkInfo *arg3 = 0 ;
15938 void *argp1 = 0 ;
15939 int res1 = 0 ;
15940 size_t val2 ;
15941 int ecode2 = 0 ;
15942 void *argp3 = 0 ;
15943 int res3 = 0 ;
15944 PyObject * obj0 = 0 ;
15945 PyObject * obj1 = 0 ;
15946 PyObject * obj2 = 0 ;
15947 char * kwnames[] = {
15948 (char *) "self",(char *) "n",(char *) "link", NULL
15949 };
15950
15951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15953 if (!SWIG_IsOK(res1)) {
15954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15955 }
15956 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15957 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15958 if (!SWIG_IsOK(ecode2)) {
15959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15960 }
15961 arg2 = static_cast< size_t >(val2);
15962 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15963 if (!SWIG_IsOK(res3)) {
15964 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15965 }
15966 if (!argp3) {
15967 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15968 }
15969 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15970 {
15971 PyThreadState* __tstate = wxPyBeginAllowThreads();
15972 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15973 wxPyEndAllowThreads(__tstate);
15974 if (PyErr_Occurred()) SWIG_fail;
15975 }
15976 resultobj = SWIG_Py_Void();
15977 return resultobj;
15978 fail:
15979 return NULL;
15980 }
15981
15982
15983 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15984 PyObject *obj;
15985 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15986 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15987 return SWIG_Py_Void();
15988 }
15989
15990 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15991 return SWIG_Python_InitShadowInstance(args);
15992 }
15993
15994 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15995 PyObject *resultobj = 0;
15996 wxPyTaskBarIcon *result = 0 ;
15997
15998 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15999 {
16000 if (!wxPyCheckForApp()) SWIG_fail;
16001 PyThreadState* __tstate = wxPyBeginAllowThreads();
16002 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
16003 wxPyEndAllowThreads(__tstate);
16004 if (PyErr_Occurred()) SWIG_fail;
16005 }
16006 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
16007 return resultobj;
16008 fail:
16009 return NULL;
16010 }
16011
16012
16013 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16014 PyObject *resultobj = 0;
16015 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16016 void *argp1 = 0 ;
16017 int res1 = 0 ;
16018 PyObject *swig_obj[1] ;
16019
16020 if (!args) SWIG_fail;
16021 swig_obj[0] = args;
16022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
16023 if (!SWIG_IsOK(res1)) {
16024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16025 }
16026 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16027 {
16028 PyThreadState* __tstate = wxPyBeginAllowThreads();
16029 delete arg1;
16030
16031 wxPyEndAllowThreads(__tstate);
16032 if (PyErr_Occurred()) SWIG_fail;
16033 }
16034 resultobj = SWIG_Py_Void();
16035 return resultobj;
16036 fail:
16037 return NULL;
16038 }
16039
16040
16041 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16042 PyObject *resultobj = 0;
16043 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16044 PyObject *arg2 = (PyObject *) 0 ;
16045 PyObject *arg3 = (PyObject *) 0 ;
16046 int arg4 ;
16047 void *argp1 = 0 ;
16048 int res1 = 0 ;
16049 int val4 ;
16050 int ecode4 = 0 ;
16051 PyObject * obj0 = 0 ;
16052 PyObject * obj1 = 0 ;
16053 PyObject * obj2 = 0 ;
16054 PyObject * obj3 = 0 ;
16055 char * kwnames[] = {
16056 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16057 };
16058
16059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16061 if (!SWIG_IsOK(res1)) {
16062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16063 }
16064 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16065 arg2 = obj1;
16066 arg3 = obj2;
16067 ecode4 = SWIG_AsVal_int(obj3, &val4);
16068 if (!SWIG_IsOK(ecode4)) {
16069 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16070 }
16071 arg4 = static_cast< int >(val4);
16072 {
16073 PyThreadState* __tstate = wxPyBeginAllowThreads();
16074 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16075 wxPyEndAllowThreads(__tstate);
16076 if (PyErr_Occurred()) SWIG_fail;
16077 }
16078 resultobj = SWIG_Py_Void();
16079 return resultobj;
16080 fail:
16081 return NULL;
16082 }
16083
16084
16085 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16086 PyObject *resultobj = 0;
16087 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16088 void *argp1 = 0 ;
16089 int res1 = 0 ;
16090 PyObject *swig_obj[1] ;
16091
16092 if (!args) SWIG_fail;
16093 swig_obj[0] = args;
16094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16095 if (!SWIG_IsOK(res1)) {
16096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16097 }
16098 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16099 {
16100 PyThreadState* __tstate = wxPyBeginAllowThreads();
16101 wxPyTaskBarIcon_Destroy(arg1);
16102 wxPyEndAllowThreads(__tstate);
16103 if (PyErr_Occurred()) SWIG_fail;
16104 }
16105 resultobj = SWIG_Py_Void();
16106 return resultobj;
16107 fail:
16108 return NULL;
16109 }
16110
16111
16112 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16113 PyObject *resultobj = 0;
16114 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16115 bool result;
16116 void *argp1 = 0 ;
16117 int res1 = 0 ;
16118 PyObject *swig_obj[1] ;
16119
16120 if (!args) SWIG_fail;
16121 swig_obj[0] = args;
16122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16123 if (!SWIG_IsOK(res1)) {
16124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16125 }
16126 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16127 {
16128 PyThreadState* __tstate = wxPyBeginAllowThreads();
16129 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16130 wxPyEndAllowThreads(__tstate);
16131 if (PyErr_Occurred()) SWIG_fail;
16132 }
16133 {
16134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16135 }
16136 return resultobj;
16137 fail:
16138 return NULL;
16139 }
16140
16141
16142 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16143 PyObject *resultobj = 0;
16144 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16145 bool result;
16146 void *argp1 = 0 ;
16147 int res1 = 0 ;
16148 PyObject *swig_obj[1] ;
16149
16150 if (!args) SWIG_fail;
16151 swig_obj[0] = args;
16152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16153 if (!SWIG_IsOK(res1)) {
16154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16155 }
16156 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16157 {
16158 PyThreadState* __tstate = wxPyBeginAllowThreads();
16159 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16160 wxPyEndAllowThreads(__tstate);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 }
16163 {
16164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16165 }
16166 return resultobj;
16167 fail:
16168 return NULL;
16169 }
16170
16171
16172 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16173 PyObject *resultobj = 0;
16174 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16175 wxIcon *arg2 = 0 ;
16176 wxString const &arg3_defvalue = wxPyEmptyString ;
16177 wxString *arg3 = (wxString *) &arg3_defvalue ;
16178 bool result;
16179 void *argp1 = 0 ;
16180 int res1 = 0 ;
16181 void *argp2 = 0 ;
16182 int res2 = 0 ;
16183 bool temp3 = false ;
16184 PyObject * obj0 = 0 ;
16185 PyObject * obj1 = 0 ;
16186 PyObject * obj2 = 0 ;
16187 char * kwnames[] = {
16188 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16189 };
16190
16191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16193 if (!SWIG_IsOK(res1)) {
16194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16195 }
16196 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16197 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16198 if (!SWIG_IsOK(res2)) {
16199 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16200 }
16201 if (!argp2) {
16202 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16203 }
16204 arg2 = reinterpret_cast< wxIcon * >(argp2);
16205 if (obj2) {
16206 {
16207 arg3 = wxString_in_helper(obj2);
16208 if (arg3 == NULL) SWIG_fail;
16209 temp3 = true;
16210 }
16211 }
16212 {
16213 PyThreadState* __tstate = wxPyBeginAllowThreads();
16214 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16215 wxPyEndAllowThreads(__tstate);
16216 if (PyErr_Occurred()) SWIG_fail;
16217 }
16218 {
16219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16220 }
16221 {
16222 if (temp3)
16223 delete arg3;
16224 }
16225 return resultobj;
16226 fail:
16227 {
16228 if (temp3)
16229 delete arg3;
16230 }
16231 return NULL;
16232 }
16233
16234
16235 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16236 PyObject *resultobj = 0;
16237 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16238 bool result;
16239 void *argp1 = 0 ;
16240 int res1 = 0 ;
16241 PyObject *swig_obj[1] ;
16242
16243 if (!args) SWIG_fail;
16244 swig_obj[0] = args;
16245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16246 if (!SWIG_IsOK(res1)) {
16247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16248 }
16249 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16250 {
16251 PyThreadState* __tstate = wxPyBeginAllowThreads();
16252 result = (bool)(arg1)->RemoveIcon();
16253 wxPyEndAllowThreads(__tstate);
16254 if (PyErr_Occurred()) SWIG_fail;
16255 }
16256 {
16257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16258 }
16259 return resultobj;
16260 fail:
16261 return NULL;
16262 }
16263
16264
16265 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16266 PyObject *resultobj = 0;
16267 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16268 wxMenu *arg2 = (wxMenu *) 0 ;
16269 bool result;
16270 void *argp1 = 0 ;
16271 int res1 = 0 ;
16272 void *argp2 = 0 ;
16273 int res2 = 0 ;
16274 PyObject * obj0 = 0 ;
16275 PyObject * obj1 = 0 ;
16276 char * kwnames[] = {
16277 (char *) "self",(char *) "menu", NULL
16278 };
16279
16280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16282 if (!SWIG_IsOK(res1)) {
16283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16284 }
16285 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16286 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16287 if (!SWIG_IsOK(res2)) {
16288 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16289 }
16290 arg2 = reinterpret_cast< wxMenu * >(argp2);
16291 {
16292 PyThreadState* __tstate = wxPyBeginAllowThreads();
16293 result = (bool)(arg1)->PopupMenu(arg2);
16294 wxPyEndAllowThreads(__tstate);
16295 if (PyErr_Occurred()) SWIG_fail;
16296 }
16297 {
16298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16299 }
16300 return resultobj;
16301 fail:
16302 return NULL;
16303 }
16304
16305
16306 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16307 PyObject *obj;
16308 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16309 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16310 return SWIG_Py_Void();
16311 }
16312
16313 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16314 return SWIG_Python_InitShadowInstance(args);
16315 }
16316
16317 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16318 PyObject *resultobj = 0;
16319 wxEventType arg1 ;
16320 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16321 wxTaskBarIconEvent *result = 0 ;
16322 int val1 ;
16323 int ecode1 = 0 ;
16324 void *argp2 = 0 ;
16325 int res2 = 0 ;
16326 PyObject * obj0 = 0 ;
16327 PyObject * obj1 = 0 ;
16328 char * kwnames[] = {
16329 (char *) "evtType",(char *) "tbIcon", NULL
16330 };
16331
16332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16333 ecode1 = SWIG_AsVal_int(obj0, &val1);
16334 if (!SWIG_IsOK(ecode1)) {
16335 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16336 }
16337 arg1 = static_cast< wxEventType >(val1);
16338 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16339 if (!SWIG_IsOK(res2)) {
16340 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16341 }
16342 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16343 {
16344 PyThreadState* __tstate = wxPyBeginAllowThreads();
16345 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16346 wxPyEndAllowThreads(__tstate);
16347 if (PyErr_Occurred()) SWIG_fail;
16348 }
16349 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16350 return resultobj;
16351 fail:
16352 return NULL;
16353 }
16354
16355
16356 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16357 PyObject *obj;
16358 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16359 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16360 return SWIG_Py_Void();
16361 }
16362
16363 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16364 return SWIG_Python_InitShadowInstance(args);
16365 }
16366
16367 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16368 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16369 return 1;
16370 }
16371
16372
16373 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16374 PyObject *pyobj = 0;
16375
16376 {
16377 #if wxUSE_UNICODE
16378 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16379 #else
16380 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16381 #endif
16382 }
16383 return pyobj;
16384 }
16385
16386
16387 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16388 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16389 return 1;
16390 }
16391
16392
16393 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16394 PyObject *pyobj = 0;
16395
16396 {
16397 #if wxUSE_UNICODE
16398 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16399 #else
16400 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16401 #endif
16402 }
16403 return pyobj;
16404 }
16405
16406
16407 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16408 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16409 return 1;
16410 }
16411
16412
16413 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16414 PyObject *pyobj = 0;
16415
16416 {
16417 #if wxUSE_UNICODE
16418 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16419 #else
16420 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16421 #endif
16422 }
16423 return pyobj;
16424 }
16425
16426
16427 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16428 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16429 return 1;
16430 }
16431
16432
16433 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16434 PyObject *pyobj = 0;
16435
16436 {
16437 #if wxUSE_UNICODE
16438 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16439 #else
16440 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16441 #endif
16442 }
16443 return pyobj;
16444 }
16445
16446
16447 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16448 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16449 return 1;
16450 }
16451
16452
16453 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16454 PyObject *pyobj = 0;
16455
16456 {
16457 #if wxUSE_UNICODE
16458 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16459 #else
16460 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16461 #endif
16462 }
16463 return pyobj;
16464 }
16465
16466
16467 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16468 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16469 return 1;
16470 }
16471
16472
16473 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16474 PyObject *pyobj = 0;
16475
16476 {
16477 #if wxUSE_UNICODE
16478 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16479 #else
16480 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16481 #endif
16482 }
16483 return pyobj;
16484 }
16485
16486
16487 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16488 PyObject *resultobj = 0;
16489 wxColourData *result = 0 ;
16490
16491 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16492 {
16493 PyThreadState* __tstate = wxPyBeginAllowThreads();
16494 result = (wxColourData *)new wxColourData();
16495 wxPyEndAllowThreads(__tstate);
16496 if (PyErr_Occurred()) SWIG_fail;
16497 }
16498 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16499 return resultobj;
16500 fail:
16501 return NULL;
16502 }
16503
16504
16505 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16506 PyObject *resultobj = 0;
16507 wxColourData *arg1 = (wxColourData *) 0 ;
16508 void *argp1 = 0 ;
16509 int res1 = 0 ;
16510 PyObject *swig_obj[1] ;
16511
16512 if (!args) SWIG_fail;
16513 swig_obj[0] = args;
16514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16515 if (!SWIG_IsOK(res1)) {
16516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16517 }
16518 arg1 = reinterpret_cast< wxColourData * >(argp1);
16519 {
16520 PyThreadState* __tstate = wxPyBeginAllowThreads();
16521 delete arg1;
16522
16523 wxPyEndAllowThreads(__tstate);
16524 if (PyErr_Occurred()) SWIG_fail;
16525 }
16526 resultobj = SWIG_Py_Void();
16527 return resultobj;
16528 fail:
16529 return NULL;
16530 }
16531
16532
16533 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16534 PyObject *resultobj = 0;
16535 wxColourData *arg1 = (wxColourData *) 0 ;
16536 bool result;
16537 void *argp1 = 0 ;
16538 int res1 = 0 ;
16539 PyObject *swig_obj[1] ;
16540
16541 if (!args) SWIG_fail;
16542 swig_obj[0] = args;
16543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16544 if (!SWIG_IsOK(res1)) {
16545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16546 }
16547 arg1 = reinterpret_cast< wxColourData * >(argp1);
16548 {
16549 PyThreadState* __tstate = wxPyBeginAllowThreads();
16550 result = (bool)(arg1)->GetChooseFull();
16551 wxPyEndAllowThreads(__tstate);
16552 if (PyErr_Occurred()) SWIG_fail;
16553 }
16554 {
16555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16556 }
16557 return resultobj;
16558 fail:
16559 return NULL;
16560 }
16561
16562
16563 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16564 PyObject *resultobj = 0;
16565 wxColourData *arg1 = (wxColourData *) 0 ;
16566 wxColour result;
16567 void *argp1 = 0 ;
16568 int res1 = 0 ;
16569 PyObject *swig_obj[1] ;
16570
16571 if (!args) SWIG_fail;
16572 swig_obj[0] = args;
16573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16574 if (!SWIG_IsOK(res1)) {
16575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16576 }
16577 arg1 = reinterpret_cast< wxColourData * >(argp1);
16578 {
16579 PyThreadState* __tstate = wxPyBeginAllowThreads();
16580 result = (arg1)->GetColour();
16581 wxPyEndAllowThreads(__tstate);
16582 if (PyErr_Occurred()) SWIG_fail;
16583 }
16584 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16585 return resultobj;
16586 fail:
16587 return NULL;
16588 }
16589
16590
16591 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16592 PyObject *resultobj = 0;
16593 wxColourData *arg1 = (wxColourData *) 0 ;
16594 int arg2 ;
16595 wxColour result;
16596 void *argp1 = 0 ;
16597 int res1 = 0 ;
16598 int val2 ;
16599 int ecode2 = 0 ;
16600 PyObject * obj0 = 0 ;
16601 PyObject * obj1 = 0 ;
16602 char * kwnames[] = {
16603 (char *) "self",(char *) "i", NULL
16604 };
16605
16606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16608 if (!SWIG_IsOK(res1)) {
16609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16610 }
16611 arg1 = reinterpret_cast< wxColourData * >(argp1);
16612 ecode2 = SWIG_AsVal_int(obj1, &val2);
16613 if (!SWIG_IsOK(ecode2)) {
16614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16615 }
16616 arg2 = static_cast< int >(val2);
16617 {
16618 PyThreadState* __tstate = wxPyBeginAllowThreads();
16619 result = (arg1)->GetCustomColour(arg2);
16620 wxPyEndAllowThreads(__tstate);
16621 if (PyErr_Occurred()) SWIG_fail;
16622 }
16623 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16624 return resultobj;
16625 fail:
16626 return NULL;
16627 }
16628
16629
16630 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16631 PyObject *resultobj = 0;
16632 wxColourData *arg1 = (wxColourData *) 0 ;
16633 int arg2 ;
16634 void *argp1 = 0 ;
16635 int res1 = 0 ;
16636 int val2 ;
16637 int ecode2 = 0 ;
16638 PyObject * obj0 = 0 ;
16639 PyObject * obj1 = 0 ;
16640 char * kwnames[] = {
16641 (char *) "self",(char *) "flag", NULL
16642 };
16643
16644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16646 if (!SWIG_IsOK(res1)) {
16647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16648 }
16649 arg1 = reinterpret_cast< wxColourData * >(argp1);
16650 ecode2 = SWIG_AsVal_int(obj1, &val2);
16651 if (!SWIG_IsOK(ecode2)) {
16652 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16653 }
16654 arg2 = static_cast< int >(val2);
16655 {
16656 PyThreadState* __tstate = wxPyBeginAllowThreads();
16657 (arg1)->SetChooseFull(arg2);
16658 wxPyEndAllowThreads(__tstate);
16659 if (PyErr_Occurred()) SWIG_fail;
16660 }
16661 resultobj = SWIG_Py_Void();
16662 return resultobj;
16663 fail:
16664 return NULL;
16665 }
16666
16667
16668 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16669 PyObject *resultobj = 0;
16670 wxColourData *arg1 = (wxColourData *) 0 ;
16671 wxColour *arg2 = 0 ;
16672 void *argp1 = 0 ;
16673 int res1 = 0 ;
16674 wxColour temp2 ;
16675 PyObject * obj0 = 0 ;
16676 PyObject * obj1 = 0 ;
16677 char * kwnames[] = {
16678 (char *) "self",(char *) "colour", NULL
16679 };
16680
16681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16683 if (!SWIG_IsOK(res1)) {
16684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16685 }
16686 arg1 = reinterpret_cast< wxColourData * >(argp1);
16687 {
16688 arg2 = &temp2;
16689 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16690 }
16691 {
16692 PyThreadState* __tstate = wxPyBeginAllowThreads();
16693 (arg1)->SetColour((wxColour const &)*arg2);
16694 wxPyEndAllowThreads(__tstate);
16695 if (PyErr_Occurred()) SWIG_fail;
16696 }
16697 resultobj = SWIG_Py_Void();
16698 return resultobj;
16699 fail:
16700 return NULL;
16701 }
16702
16703
16704 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16705 PyObject *resultobj = 0;
16706 wxColourData *arg1 = (wxColourData *) 0 ;
16707 int arg2 ;
16708 wxColour *arg3 = 0 ;
16709 void *argp1 = 0 ;
16710 int res1 = 0 ;
16711 int val2 ;
16712 int ecode2 = 0 ;
16713 wxColour temp3 ;
16714 PyObject * obj0 = 0 ;
16715 PyObject * obj1 = 0 ;
16716 PyObject * obj2 = 0 ;
16717 char * kwnames[] = {
16718 (char *) "self",(char *) "i",(char *) "colour", NULL
16719 };
16720
16721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16723 if (!SWIG_IsOK(res1)) {
16724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16725 }
16726 arg1 = reinterpret_cast< wxColourData * >(argp1);
16727 ecode2 = SWIG_AsVal_int(obj1, &val2);
16728 if (!SWIG_IsOK(ecode2)) {
16729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16730 }
16731 arg2 = static_cast< int >(val2);
16732 {
16733 arg3 = &temp3;
16734 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16735 }
16736 {
16737 PyThreadState* __tstate = wxPyBeginAllowThreads();
16738 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16739 wxPyEndAllowThreads(__tstate);
16740 if (PyErr_Occurred()) SWIG_fail;
16741 }
16742 resultobj = SWIG_Py_Void();
16743 return resultobj;
16744 fail:
16745 return NULL;
16746 }
16747
16748
16749 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16750 PyObject *obj;
16751 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16752 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16753 return SWIG_Py_Void();
16754 }
16755
16756 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16757 return SWIG_Python_InitShadowInstance(args);
16758 }
16759
16760 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16761 PyObject *resultobj = 0;
16762 wxWindow *arg1 = (wxWindow *) 0 ;
16763 wxColourData *arg2 = (wxColourData *) NULL ;
16764 wxColourDialog *result = 0 ;
16765 void *argp1 = 0 ;
16766 int res1 = 0 ;
16767 void *argp2 = 0 ;
16768 int res2 = 0 ;
16769 PyObject * obj0 = 0 ;
16770 PyObject * obj1 = 0 ;
16771 char * kwnames[] = {
16772 (char *) "parent",(char *) "data", NULL
16773 };
16774
16775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16777 if (!SWIG_IsOK(res1)) {
16778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16779 }
16780 arg1 = reinterpret_cast< wxWindow * >(argp1);
16781 if (obj1) {
16782 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16783 if (!SWIG_IsOK(res2)) {
16784 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16785 }
16786 arg2 = reinterpret_cast< wxColourData * >(argp2);
16787 }
16788 {
16789 if (!wxPyCheckForApp()) SWIG_fail;
16790 PyThreadState* __tstate = wxPyBeginAllowThreads();
16791 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16792 wxPyEndAllowThreads(__tstate);
16793 if (PyErr_Occurred()) SWIG_fail;
16794 }
16795 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16796 return resultobj;
16797 fail:
16798 return NULL;
16799 }
16800
16801
16802 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16803 PyObject *resultobj = 0;
16804 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16805 wxColourData *result = 0 ;
16806 void *argp1 = 0 ;
16807 int res1 = 0 ;
16808 PyObject *swig_obj[1] ;
16809
16810 if (!args) SWIG_fail;
16811 swig_obj[0] = args;
16812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16813 if (!SWIG_IsOK(res1)) {
16814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16815 }
16816 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16817 {
16818 PyThreadState* __tstate = wxPyBeginAllowThreads();
16819 {
16820 wxColourData &_result_ref = (arg1)->GetColourData();
16821 result = (wxColourData *) &_result_ref;
16822 }
16823 wxPyEndAllowThreads(__tstate);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
16826 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16827 return resultobj;
16828 fail:
16829 return NULL;
16830 }
16831
16832
16833 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16834 PyObject *obj;
16835 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16836 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16837 return SWIG_Py_Void();
16838 }
16839
16840 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16841 return SWIG_Python_InitShadowInstance(args);
16842 }
16843
16844 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16845 PyObject *resultobj = 0;
16846 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16847 wxColour const &arg2_defvalue = wxNullColour ;
16848 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16849 wxString const &arg3_defvalue = wxPyEmptyString ;
16850 wxString *arg3 = (wxString *) &arg3_defvalue ;
16851 wxColour result;
16852 void *argp1 = 0 ;
16853 int res1 = 0 ;
16854 wxColour temp2 ;
16855 bool temp3 = false ;
16856 PyObject * obj0 = 0 ;
16857 PyObject * obj1 = 0 ;
16858 PyObject * obj2 = 0 ;
16859 char * kwnames[] = {
16860 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16861 };
16862
16863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16864 if (obj0) {
16865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16866 if (!SWIG_IsOK(res1)) {
16867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16868 }
16869 arg1 = reinterpret_cast< wxWindow * >(argp1);
16870 }
16871 if (obj1) {
16872 {
16873 arg2 = &temp2;
16874 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16875 }
16876 }
16877 if (obj2) {
16878 {
16879 arg3 = wxString_in_helper(obj2);
16880 if (arg3 == NULL) SWIG_fail;
16881 temp3 = true;
16882 }
16883 }
16884 {
16885 PyThreadState* __tstate = wxPyBeginAllowThreads();
16886 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16887 wxPyEndAllowThreads(__tstate);
16888 if (PyErr_Occurred()) SWIG_fail;
16889 }
16890 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16891 {
16892 if (temp3)
16893 delete arg3;
16894 }
16895 return resultobj;
16896 fail:
16897 {
16898 if (temp3)
16899 delete arg3;
16900 }
16901 return NULL;
16902 }
16903
16904
16905 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16906 PyObject *resultobj = 0;
16907 wxWindow *arg1 = (wxWindow *) 0 ;
16908 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16909 wxString *arg2 = (wxString *) &arg2_defvalue ;
16910 wxString const &arg3_defvalue = wxPyEmptyString ;
16911 wxString *arg3 = (wxString *) &arg3_defvalue ;
16912 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16913 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16914 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16915 wxSize const &arg6_defvalue = wxDefaultSize ;
16916 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16917 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16918 wxString *arg7 = (wxString *) &arg7_defvalue ;
16919 wxDirDialog *result = 0 ;
16920 void *argp1 = 0 ;
16921 int res1 = 0 ;
16922 bool temp2 = false ;
16923 bool temp3 = false ;
16924 long val4 ;
16925 int ecode4 = 0 ;
16926 wxPoint temp5 ;
16927 wxSize temp6 ;
16928 bool temp7 = false ;
16929 PyObject * obj0 = 0 ;
16930 PyObject * obj1 = 0 ;
16931 PyObject * obj2 = 0 ;
16932 PyObject * obj3 = 0 ;
16933 PyObject * obj4 = 0 ;
16934 PyObject * obj5 = 0 ;
16935 PyObject * obj6 = 0 ;
16936 char * kwnames[] = {
16937 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16938 };
16939
16940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16942 if (!SWIG_IsOK(res1)) {
16943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16944 }
16945 arg1 = reinterpret_cast< wxWindow * >(argp1);
16946 if (obj1) {
16947 {
16948 arg2 = wxString_in_helper(obj1);
16949 if (arg2 == NULL) SWIG_fail;
16950 temp2 = true;
16951 }
16952 }
16953 if (obj2) {
16954 {
16955 arg3 = wxString_in_helper(obj2);
16956 if (arg3 == NULL) SWIG_fail;
16957 temp3 = true;
16958 }
16959 }
16960 if (obj3) {
16961 ecode4 = SWIG_AsVal_long(obj3, &val4);
16962 if (!SWIG_IsOK(ecode4)) {
16963 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16964 }
16965 arg4 = static_cast< long >(val4);
16966 }
16967 if (obj4) {
16968 {
16969 arg5 = &temp5;
16970 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16971 }
16972 }
16973 if (obj5) {
16974 {
16975 arg6 = &temp6;
16976 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16977 }
16978 }
16979 if (obj6) {
16980 {
16981 arg7 = wxString_in_helper(obj6);
16982 if (arg7 == NULL) SWIG_fail;
16983 temp7 = true;
16984 }
16985 }
16986 {
16987 if (!wxPyCheckForApp()) SWIG_fail;
16988 PyThreadState* __tstate = wxPyBeginAllowThreads();
16989 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16990 wxPyEndAllowThreads(__tstate);
16991 if (PyErr_Occurred()) SWIG_fail;
16992 }
16993 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16994 {
16995 if (temp2)
16996 delete arg2;
16997 }
16998 {
16999 if (temp3)
17000 delete arg3;
17001 }
17002 {
17003 if (temp7)
17004 delete arg7;
17005 }
17006 return resultobj;
17007 fail:
17008 {
17009 if (temp2)
17010 delete arg2;
17011 }
17012 {
17013 if (temp3)
17014 delete arg3;
17015 }
17016 {
17017 if (temp7)
17018 delete arg7;
17019 }
17020 return NULL;
17021 }
17022
17023
17024 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17025 PyObject *resultobj = 0;
17026 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17027 wxString result;
17028 void *argp1 = 0 ;
17029 int res1 = 0 ;
17030 PyObject *swig_obj[1] ;
17031
17032 if (!args) SWIG_fail;
17033 swig_obj[0] = args;
17034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17035 if (!SWIG_IsOK(res1)) {
17036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17037 }
17038 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17039 {
17040 PyThreadState* __tstate = wxPyBeginAllowThreads();
17041 result = (arg1)->GetPath();
17042 wxPyEndAllowThreads(__tstate);
17043 if (PyErr_Occurred()) SWIG_fail;
17044 }
17045 {
17046 #if wxUSE_UNICODE
17047 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17048 #else
17049 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17050 #endif
17051 }
17052 return resultobj;
17053 fail:
17054 return NULL;
17055 }
17056
17057
17058 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17059 PyObject *resultobj = 0;
17060 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17061 wxString result;
17062 void *argp1 = 0 ;
17063 int res1 = 0 ;
17064 PyObject *swig_obj[1] ;
17065
17066 if (!args) SWIG_fail;
17067 swig_obj[0] = args;
17068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17069 if (!SWIG_IsOK(res1)) {
17070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17071 }
17072 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17073 {
17074 PyThreadState* __tstate = wxPyBeginAllowThreads();
17075 result = (arg1)->GetMessage();
17076 wxPyEndAllowThreads(__tstate);
17077 if (PyErr_Occurred()) SWIG_fail;
17078 }
17079 {
17080 #if wxUSE_UNICODE
17081 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17082 #else
17083 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17084 #endif
17085 }
17086 return resultobj;
17087 fail:
17088 return NULL;
17089 }
17090
17091
17092 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17093 PyObject *resultobj = 0;
17094 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17095 wxString *arg2 = 0 ;
17096 void *argp1 = 0 ;
17097 int res1 = 0 ;
17098 bool temp2 = false ;
17099 PyObject * obj0 = 0 ;
17100 PyObject * obj1 = 0 ;
17101 char * kwnames[] = {
17102 (char *) "self",(char *) "message", NULL
17103 };
17104
17105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17107 if (!SWIG_IsOK(res1)) {
17108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17109 }
17110 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17111 {
17112 arg2 = wxString_in_helper(obj1);
17113 if (arg2 == NULL) SWIG_fail;
17114 temp2 = true;
17115 }
17116 {
17117 PyThreadState* __tstate = wxPyBeginAllowThreads();
17118 (arg1)->SetMessage((wxString const &)*arg2);
17119 wxPyEndAllowThreads(__tstate);
17120 if (PyErr_Occurred()) SWIG_fail;
17121 }
17122 resultobj = SWIG_Py_Void();
17123 {
17124 if (temp2)
17125 delete arg2;
17126 }
17127 return resultobj;
17128 fail:
17129 {
17130 if (temp2)
17131 delete arg2;
17132 }
17133 return NULL;
17134 }
17135
17136
17137 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17138 PyObject *resultobj = 0;
17139 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17140 wxString *arg2 = 0 ;
17141 void *argp1 = 0 ;
17142 int res1 = 0 ;
17143 bool temp2 = false ;
17144 PyObject * obj0 = 0 ;
17145 PyObject * obj1 = 0 ;
17146 char * kwnames[] = {
17147 (char *) "self",(char *) "path", NULL
17148 };
17149
17150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17152 if (!SWIG_IsOK(res1)) {
17153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17154 }
17155 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17156 {
17157 arg2 = wxString_in_helper(obj1);
17158 if (arg2 == NULL) SWIG_fail;
17159 temp2 = true;
17160 }
17161 {
17162 PyThreadState* __tstate = wxPyBeginAllowThreads();
17163 (arg1)->SetPath((wxString const &)*arg2);
17164 wxPyEndAllowThreads(__tstate);
17165 if (PyErr_Occurred()) SWIG_fail;
17166 }
17167 resultobj = SWIG_Py_Void();
17168 {
17169 if (temp2)
17170 delete arg2;
17171 }
17172 return resultobj;
17173 fail:
17174 {
17175 if (temp2)
17176 delete arg2;
17177 }
17178 return NULL;
17179 }
17180
17181
17182 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17183 PyObject *obj;
17184 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17185 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17186 return SWIG_Py_Void();
17187 }
17188
17189 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17190 return SWIG_Python_InitShadowInstance(args);
17191 }
17192
17193 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17194 PyObject *resultobj = 0;
17195 wxWindow *arg1 = (wxWindow *) 0 ;
17196 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17197 wxString *arg2 = (wxString *) &arg2_defvalue ;
17198 wxString const &arg3_defvalue = wxPyEmptyString ;
17199 wxString *arg3 = (wxString *) &arg3_defvalue ;
17200 wxString const &arg4_defvalue = wxPyEmptyString ;
17201 wxString *arg4 = (wxString *) &arg4_defvalue ;
17202 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17203 wxString *arg5 = (wxString *) &arg5_defvalue ;
17204 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17205 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17206 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17207 wxFileDialog *result = 0 ;
17208 void *argp1 = 0 ;
17209 int res1 = 0 ;
17210 bool temp2 = false ;
17211 bool temp3 = false ;
17212 bool temp4 = false ;
17213 bool temp5 = false ;
17214 long val6 ;
17215 int ecode6 = 0 ;
17216 wxPoint temp7 ;
17217 PyObject * obj0 = 0 ;
17218 PyObject * obj1 = 0 ;
17219 PyObject * obj2 = 0 ;
17220 PyObject * obj3 = 0 ;
17221 PyObject * obj4 = 0 ;
17222 PyObject * obj5 = 0 ;
17223 PyObject * obj6 = 0 ;
17224 char * kwnames[] = {
17225 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17226 };
17227
17228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17230 if (!SWIG_IsOK(res1)) {
17231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17232 }
17233 arg1 = reinterpret_cast< wxWindow * >(argp1);
17234 if (obj1) {
17235 {
17236 arg2 = wxString_in_helper(obj1);
17237 if (arg2 == NULL) SWIG_fail;
17238 temp2 = true;
17239 }
17240 }
17241 if (obj2) {
17242 {
17243 arg3 = wxString_in_helper(obj2);
17244 if (arg3 == NULL) SWIG_fail;
17245 temp3 = true;
17246 }
17247 }
17248 if (obj3) {
17249 {
17250 arg4 = wxString_in_helper(obj3);
17251 if (arg4 == NULL) SWIG_fail;
17252 temp4 = true;
17253 }
17254 }
17255 if (obj4) {
17256 {
17257 arg5 = wxString_in_helper(obj4);
17258 if (arg5 == NULL) SWIG_fail;
17259 temp5 = true;
17260 }
17261 }
17262 if (obj5) {
17263 ecode6 = SWIG_AsVal_long(obj5, &val6);
17264 if (!SWIG_IsOK(ecode6)) {
17265 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17266 }
17267 arg6 = static_cast< long >(val6);
17268 }
17269 if (obj6) {
17270 {
17271 arg7 = &temp7;
17272 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17273 }
17274 }
17275 {
17276 if (!wxPyCheckForApp()) SWIG_fail;
17277 PyThreadState* __tstate = wxPyBeginAllowThreads();
17278 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17279 wxPyEndAllowThreads(__tstate);
17280 if (PyErr_Occurred()) SWIG_fail;
17281 }
17282 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17283 {
17284 if (temp2)
17285 delete arg2;
17286 }
17287 {
17288 if (temp3)
17289 delete arg3;
17290 }
17291 {
17292 if (temp4)
17293 delete arg4;
17294 }
17295 {
17296 if (temp5)
17297 delete arg5;
17298 }
17299 return resultobj;
17300 fail:
17301 {
17302 if (temp2)
17303 delete arg2;
17304 }
17305 {
17306 if (temp3)
17307 delete arg3;
17308 }
17309 {
17310 if (temp4)
17311 delete arg4;
17312 }
17313 {
17314 if (temp5)
17315 delete arg5;
17316 }
17317 return NULL;
17318 }
17319
17320
17321 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17322 PyObject *resultobj = 0;
17323 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17324 wxString *arg2 = 0 ;
17325 void *argp1 = 0 ;
17326 int res1 = 0 ;
17327 bool temp2 = false ;
17328 PyObject * obj0 = 0 ;
17329 PyObject * obj1 = 0 ;
17330 char * kwnames[] = {
17331 (char *) "self",(char *) "message", NULL
17332 };
17333
17334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17336 if (!SWIG_IsOK(res1)) {
17337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17338 }
17339 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17340 {
17341 arg2 = wxString_in_helper(obj1);
17342 if (arg2 == NULL) SWIG_fail;
17343 temp2 = true;
17344 }
17345 {
17346 PyThreadState* __tstate = wxPyBeginAllowThreads();
17347 (arg1)->SetMessage((wxString const &)*arg2);
17348 wxPyEndAllowThreads(__tstate);
17349 if (PyErr_Occurred()) SWIG_fail;
17350 }
17351 resultobj = SWIG_Py_Void();
17352 {
17353 if (temp2)
17354 delete arg2;
17355 }
17356 return resultobj;
17357 fail:
17358 {
17359 if (temp2)
17360 delete arg2;
17361 }
17362 return NULL;
17363 }
17364
17365
17366 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17367 PyObject *resultobj = 0;
17368 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17369 wxString *arg2 = 0 ;
17370 void *argp1 = 0 ;
17371 int res1 = 0 ;
17372 bool temp2 = false ;
17373 PyObject * obj0 = 0 ;
17374 PyObject * obj1 = 0 ;
17375 char * kwnames[] = {
17376 (char *) "self",(char *) "path", NULL
17377 };
17378
17379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17381 if (!SWIG_IsOK(res1)) {
17382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17383 }
17384 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17385 {
17386 arg2 = wxString_in_helper(obj1);
17387 if (arg2 == NULL) SWIG_fail;
17388 temp2 = true;
17389 }
17390 {
17391 PyThreadState* __tstate = wxPyBeginAllowThreads();
17392 (arg1)->SetPath((wxString const &)*arg2);
17393 wxPyEndAllowThreads(__tstate);
17394 if (PyErr_Occurred()) SWIG_fail;
17395 }
17396 resultobj = SWIG_Py_Void();
17397 {
17398 if (temp2)
17399 delete arg2;
17400 }
17401 return resultobj;
17402 fail:
17403 {
17404 if (temp2)
17405 delete arg2;
17406 }
17407 return NULL;
17408 }
17409
17410
17411 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17412 PyObject *resultobj = 0;
17413 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17414 wxString *arg2 = 0 ;
17415 void *argp1 = 0 ;
17416 int res1 = 0 ;
17417 bool temp2 = false ;
17418 PyObject * obj0 = 0 ;
17419 PyObject * obj1 = 0 ;
17420 char * kwnames[] = {
17421 (char *) "self",(char *) "dir", NULL
17422 };
17423
17424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17426 if (!SWIG_IsOK(res1)) {
17427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17428 }
17429 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17430 {
17431 arg2 = wxString_in_helper(obj1);
17432 if (arg2 == NULL) SWIG_fail;
17433 temp2 = true;
17434 }
17435 {
17436 PyThreadState* __tstate = wxPyBeginAllowThreads();
17437 (arg1)->SetDirectory((wxString const &)*arg2);
17438 wxPyEndAllowThreads(__tstate);
17439 if (PyErr_Occurred()) SWIG_fail;
17440 }
17441 resultobj = SWIG_Py_Void();
17442 {
17443 if (temp2)
17444 delete arg2;
17445 }
17446 return resultobj;
17447 fail:
17448 {
17449 if (temp2)
17450 delete arg2;
17451 }
17452 return NULL;
17453 }
17454
17455
17456 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17457 PyObject *resultobj = 0;
17458 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17459 wxString *arg2 = 0 ;
17460 void *argp1 = 0 ;
17461 int res1 = 0 ;
17462 bool temp2 = false ;
17463 PyObject * obj0 = 0 ;
17464 PyObject * obj1 = 0 ;
17465 char * kwnames[] = {
17466 (char *) "self",(char *) "name", NULL
17467 };
17468
17469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17471 if (!SWIG_IsOK(res1)) {
17472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17473 }
17474 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17475 {
17476 arg2 = wxString_in_helper(obj1);
17477 if (arg2 == NULL) SWIG_fail;
17478 temp2 = true;
17479 }
17480 {
17481 PyThreadState* __tstate = wxPyBeginAllowThreads();
17482 (arg1)->SetFilename((wxString const &)*arg2);
17483 wxPyEndAllowThreads(__tstate);
17484 if (PyErr_Occurred()) SWIG_fail;
17485 }
17486 resultobj = SWIG_Py_Void();
17487 {
17488 if (temp2)
17489 delete arg2;
17490 }
17491 return resultobj;
17492 fail:
17493 {
17494 if (temp2)
17495 delete arg2;
17496 }
17497 return NULL;
17498 }
17499
17500
17501 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17502 PyObject *resultobj = 0;
17503 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17504 wxString *arg2 = 0 ;
17505 void *argp1 = 0 ;
17506 int res1 = 0 ;
17507 bool temp2 = false ;
17508 PyObject * obj0 = 0 ;
17509 PyObject * obj1 = 0 ;
17510 char * kwnames[] = {
17511 (char *) "self",(char *) "wildCard", NULL
17512 };
17513
17514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17516 if (!SWIG_IsOK(res1)) {
17517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17518 }
17519 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17520 {
17521 arg2 = wxString_in_helper(obj1);
17522 if (arg2 == NULL) SWIG_fail;
17523 temp2 = true;
17524 }
17525 {
17526 PyThreadState* __tstate = wxPyBeginAllowThreads();
17527 (arg1)->SetWildcard((wxString const &)*arg2);
17528 wxPyEndAllowThreads(__tstate);
17529 if (PyErr_Occurred()) SWIG_fail;
17530 }
17531 resultobj = SWIG_Py_Void();
17532 {
17533 if (temp2)
17534 delete arg2;
17535 }
17536 return resultobj;
17537 fail:
17538 {
17539 if (temp2)
17540 delete arg2;
17541 }
17542 return NULL;
17543 }
17544
17545
17546 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17547 PyObject *resultobj = 0;
17548 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17549 int arg2 ;
17550 void *argp1 = 0 ;
17551 int res1 = 0 ;
17552 int val2 ;
17553 int ecode2 = 0 ;
17554 PyObject * obj0 = 0 ;
17555 PyObject * obj1 = 0 ;
17556 char * kwnames[] = {
17557 (char *) "self",(char *) "filterIndex", NULL
17558 };
17559
17560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17562 if (!SWIG_IsOK(res1)) {
17563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17564 }
17565 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17566 ecode2 = SWIG_AsVal_int(obj1, &val2);
17567 if (!SWIG_IsOK(ecode2)) {
17568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17569 }
17570 arg2 = static_cast< int >(val2);
17571 {
17572 PyThreadState* __tstate = wxPyBeginAllowThreads();
17573 (arg1)->SetFilterIndex(arg2);
17574 wxPyEndAllowThreads(__tstate);
17575 if (PyErr_Occurred()) SWIG_fail;
17576 }
17577 resultobj = SWIG_Py_Void();
17578 return resultobj;
17579 fail:
17580 return NULL;
17581 }
17582
17583
17584 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17585 PyObject *resultobj = 0;
17586 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17587 wxString result;
17588 void *argp1 = 0 ;
17589 int res1 = 0 ;
17590 PyObject *swig_obj[1] ;
17591
17592 if (!args) SWIG_fail;
17593 swig_obj[0] = args;
17594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17595 if (!SWIG_IsOK(res1)) {
17596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17597 }
17598 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17599 {
17600 PyThreadState* __tstate = wxPyBeginAllowThreads();
17601 result = ((wxFileDialog const *)arg1)->GetMessage();
17602 wxPyEndAllowThreads(__tstate);
17603 if (PyErr_Occurred()) SWIG_fail;
17604 }
17605 {
17606 #if wxUSE_UNICODE
17607 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17608 #else
17609 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17610 #endif
17611 }
17612 return resultobj;
17613 fail:
17614 return NULL;
17615 }
17616
17617
17618 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17619 PyObject *resultobj = 0;
17620 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17621 wxString result;
17622 void *argp1 = 0 ;
17623 int res1 = 0 ;
17624 PyObject *swig_obj[1] ;
17625
17626 if (!args) SWIG_fail;
17627 swig_obj[0] = args;
17628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17629 if (!SWIG_IsOK(res1)) {
17630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17631 }
17632 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17633 {
17634 PyThreadState* __tstate = wxPyBeginAllowThreads();
17635 result = ((wxFileDialog const *)arg1)->GetPath();
17636 wxPyEndAllowThreads(__tstate);
17637 if (PyErr_Occurred()) SWIG_fail;
17638 }
17639 {
17640 #if wxUSE_UNICODE
17641 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17642 #else
17643 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17644 #endif
17645 }
17646 return resultobj;
17647 fail:
17648 return NULL;
17649 }
17650
17651
17652 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17653 PyObject *resultobj = 0;
17654 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17655 wxString result;
17656 void *argp1 = 0 ;
17657 int res1 = 0 ;
17658 PyObject *swig_obj[1] ;
17659
17660 if (!args) SWIG_fail;
17661 swig_obj[0] = args;
17662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17663 if (!SWIG_IsOK(res1)) {
17664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17665 }
17666 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17667 {
17668 PyThreadState* __tstate = wxPyBeginAllowThreads();
17669 result = ((wxFileDialog const *)arg1)->GetDirectory();
17670 wxPyEndAllowThreads(__tstate);
17671 if (PyErr_Occurred()) SWIG_fail;
17672 }
17673 {
17674 #if wxUSE_UNICODE
17675 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17676 #else
17677 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17678 #endif
17679 }
17680 return resultobj;
17681 fail:
17682 return NULL;
17683 }
17684
17685
17686 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17687 PyObject *resultobj = 0;
17688 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17689 wxString result;
17690 void *argp1 = 0 ;
17691 int res1 = 0 ;
17692 PyObject *swig_obj[1] ;
17693
17694 if (!args) SWIG_fail;
17695 swig_obj[0] = args;
17696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17697 if (!SWIG_IsOK(res1)) {
17698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17699 }
17700 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17701 {
17702 PyThreadState* __tstate = wxPyBeginAllowThreads();
17703 result = ((wxFileDialog const *)arg1)->GetFilename();
17704 wxPyEndAllowThreads(__tstate);
17705 if (PyErr_Occurred()) SWIG_fail;
17706 }
17707 {
17708 #if wxUSE_UNICODE
17709 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17710 #else
17711 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17712 #endif
17713 }
17714 return resultobj;
17715 fail:
17716 return NULL;
17717 }
17718
17719
17720 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17721 PyObject *resultobj = 0;
17722 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17723 wxString result;
17724 void *argp1 = 0 ;
17725 int res1 = 0 ;
17726 PyObject *swig_obj[1] ;
17727
17728 if (!args) SWIG_fail;
17729 swig_obj[0] = args;
17730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17731 if (!SWIG_IsOK(res1)) {
17732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17733 }
17734 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17735 {
17736 PyThreadState* __tstate = wxPyBeginAllowThreads();
17737 result = ((wxFileDialog const *)arg1)->GetWildcard();
17738 wxPyEndAllowThreads(__tstate);
17739 if (PyErr_Occurred()) SWIG_fail;
17740 }
17741 {
17742 #if wxUSE_UNICODE
17743 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17744 #else
17745 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17746 #endif
17747 }
17748 return resultobj;
17749 fail:
17750 return NULL;
17751 }
17752
17753
17754 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17755 PyObject *resultobj = 0;
17756 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17757 int result;
17758 void *argp1 = 0 ;
17759 int res1 = 0 ;
17760 PyObject *swig_obj[1] ;
17761
17762 if (!args) SWIG_fail;
17763 swig_obj[0] = args;
17764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17765 if (!SWIG_IsOK(res1)) {
17766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17767 }
17768 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17769 {
17770 PyThreadState* __tstate = wxPyBeginAllowThreads();
17771 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17772 wxPyEndAllowThreads(__tstate);
17773 if (PyErr_Occurred()) SWIG_fail;
17774 }
17775 resultobj = SWIG_From_int(static_cast< int >(result));
17776 return resultobj;
17777 fail:
17778 return NULL;
17779 }
17780
17781
17782 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17783 PyObject *resultobj = 0;
17784 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17785 PyObject *result = 0 ;
17786 void *argp1 = 0 ;
17787 int res1 = 0 ;
17788 PyObject *swig_obj[1] ;
17789
17790 if (!args) SWIG_fail;
17791 swig_obj[0] = args;
17792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17793 if (!SWIG_IsOK(res1)) {
17794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17795 }
17796 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17797 {
17798 PyThreadState* __tstate = wxPyBeginAllowThreads();
17799 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17800 wxPyEndAllowThreads(__tstate);
17801 if (PyErr_Occurred()) SWIG_fail;
17802 }
17803 resultobj = result;
17804 return resultobj;
17805 fail:
17806 return NULL;
17807 }
17808
17809
17810 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17811 PyObject *resultobj = 0;
17812 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17813 PyObject *result = 0 ;
17814 void *argp1 = 0 ;
17815 int res1 = 0 ;
17816 PyObject *swig_obj[1] ;
17817
17818 if (!args) SWIG_fail;
17819 swig_obj[0] = args;
17820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17821 if (!SWIG_IsOK(res1)) {
17822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17823 }
17824 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17825 {
17826 PyThreadState* __tstate = wxPyBeginAllowThreads();
17827 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17828 wxPyEndAllowThreads(__tstate);
17829 if (PyErr_Occurred()) SWIG_fail;
17830 }
17831 resultobj = result;
17832 return resultobj;
17833 fail:
17834 return NULL;
17835 }
17836
17837
17838 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17839 PyObject *obj;
17840 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17841 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17842 return SWIG_Py_Void();
17843 }
17844
17845 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17846 return SWIG_Python_InitShadowInstance(args);
17847 }
17848
17849 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17850 PyObject *resultobj = 0;
17851 wxWindow *arg1 = (wxWindow *) 0 ;
17852 wxString *arg2 = 0 ;
17853 wxString *arg3 = 0 ;
17854 int arg4 = (int) 0 ;
17855 wxString *arg5 = (wxString *) NULL ;
17856 long arg6 = (long) wxCHOICEDLG_STYLE ;
17857 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17858 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17859 wxMultiChoiceDialog *result = 0 ;
17860 void *argp1 = 0 ;
17861 int res1 = 0 ;
17862 bool temp2 = false ;
17863 bool temp3 = false ;
17864 long val6 ;
17865 int ecode6 = 0 ;
17866 wxPoint temp7 ;
17867 PyObject * obj0 = 0 ;
17868 PyObject * obj1 = 0 ;
17869 PyObject * obj2 = 0 ;
17870 PyObject * obj3 = 0 ;
17871 PyObject * obj4 = 0 ;
17872 PyObject * obj5 = 0 ;
17873 char * kwnames[] = {
17874 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17875 };
17876
17877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17879 if (!SWIG_IsOK(res1)) {
17880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17881 }
17882 arg1 = reinterpret_cast< wxWindow * >(argp1);
17883 {
17884 arg2 = wxString_in_helper(obj1);
17885 if (arg2 == NULL) SWIG_fail;
17886 temp2 = true;
17887 }
17888 {
17889 arg3 = wxString_in_helper(obj2);
17890 if (arg3 == NULL) SWIG_fail;
17891 temp3 = true;
17892 }
17893 if (obj3) {
17894 {
17895 arg4 = PyList_Size(obj3);
17896 arg5 = wxString_LIST_helper(obj3);
17897 if (arg5 == NULL) SWIG_fail;
17898 }
17899 }
17900 if (obj4) {
17901 ecode6 = SWIG_AsVal_long(obj4, &val6);
17902 if (!SWIG_IsOK(ecode6)) {
17903 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17904 }
17905 arg6 = static_cast< long >(val6);
17906 }
17907 if (obj5) {
17908 {
17909 arg7 = &temp7;
17910 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17911 }
17912 }
17913 {
17914 if (!wxPyCheckForApp()) SWIG_fail;
17915 PyThreadState* __tstate = wxPyBeginAllowThreads();
17916 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17917 wxPyEndAllowThreads(__tstate);
17918 if (PyErr_Occurred()) SWIG_fail;
17919 }
17920 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17921 {
17922 if (temp2)
17923 delete arg2;
17924 }
17925 {
17926 if (temp3)
17927 delete arg3;
17928 }
17929 {
17930 if (arg5) delete [] arg5;
17931 }
17932 return resultobj;
17933 fail:
17934 {
17935 if (temp2)
17936 delete arg2;
17937 }
17938 {
17939 if (temp3)
17940 delete arg3;
17941 }
17942 {
17943 if (arg5) delete [] arg5;
17944 }
17945 return NULL;
17946 }
17947
17948
17949 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17950 PyObject *resultobj = 0;
17951 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17952 wxArrayInt *arg2 = 0 ;
17953 void *argp1 = 0 ;
17954 int res1 = 0 ;
17955 bool temp2 = false ;
17956 PyObject * obj0 = 0 ;
17957 PyObject * obj1 = 0 ;
17958 char * kwnames[] = {
17959 (char *) "self",(char *) "selections", NULL
17960 };
17961
17962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17964 if (!SWIG_IsOK(res1)) {
17965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17966 }
17967 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17968 {
17969 if (! PySequence_Check(obj1)) {
17970 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17971 SWIG_fail;
17972 }
17973 arg2 = new wxArrayInt;
17974 temp2 = true;
17975 int i, len=PySequence_Length(obj1);
17976 for (i=0; i<len; i++) {
17977 PyObject* item = PySequence_GetItem(obj1, i);
17978 PyObject* number = PyNumber_Int(item);
17979 arg2->Add(PyInt_AS_LONG(number));
17980 Py_DECREF(item);
17981 Py_DECREF(number);
17982 }
17983 }
17984 {
17985 PyThreadState* __tstate = wxPyBeginAllowThreads();
17986 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17987 wxPyEndAllowThreads(__tstate);
17988 if (PyErr_Occurred()) SWIG_fail;
17989 }
17990 resultobj = SWIG_Py_Void();
17991 {
17992 if (temp2) delete arg2;
17993 }
17994 return resultobj;
17995 fail:
17996 {
17997 if (temp2) delete arg2;
17998 }
17999 return NULL;
18000 }
18001
18002
18003 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18004 PyObject *resultobj = 0;
18005 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18006 PyObject *result = 0 ;
18007 void *argp1 = 0 ;
18008 int res1 = 0 ;
18009 PyObject *swig_obj[1] ;
18010
18011 if (!args) SWIG_fail;
18012 swig_obj[0] = args;
18013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18014 if (!SWIG_IsOK(res1)) {
18015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18016 }
18017 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18018 {
18019 PyThreadState* __tstate = wxPyBeginAllowThreads();
18020 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
18021 wxPyEndAllowThreads(__tstate);
18022 if (PyErr_Occurred()) SWIG_fail;
18023 }
18024 resultobj = result;
18025 return resultobj;
18026 fail:
18027 return NULL;
18028 }
18029
18030
18031 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18032 PyObject *obj;
18033 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18034 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
18035 return SWIG_Py_Void();
18036 }
18037
18038 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18039 return SWIG_Python_InitShadowInstance(args);
18040 }
18041
18042 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18043 PyObject *resultobj = 0;
18044 wxWindow *arg1 = (wxWindow *) 0 ;
18045 wxString *arg2 = 0 ;
18046 wxString *arg3 = 0 ;
18047 int arg4 ;
18048 wxString *arg5 = (wxString *) 0 ;
18049 long arg6 = (long) wxCHOICEDLG_STYLE ;
18050 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18051 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18052 wxSingleChoiceDialog *result = 0 ;
18053 void *argp1 = 0 ;
18054 int res1 = 0 ;
18055 bool temp2 = false ;
18056 bool temp3 = false ;
18057 long val6 ;
18058 int ecode6 = 0 ;
18059 wxPoint temp7 ;
18060 PyObject * obj0 = 0 ;
18061 PyObject * obj1 = 0 ;
18062 PyObject * obj2 = 0 ;
18063 PyObject * obj3 = 0 ;
18064 PyObject * obj4 = 0 ;
18065 PyObject * obj5 = 0 ;
18066 char * kwnames[] = {
18067 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18068 };
18069
18070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18072 if (!SWIG_IsOK(res1)) {
18073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18074 }
18075 arg1 = reinterpret_cast< wxWindow * >(argp1);
18076 {
18077 arg2 = wxString_in_helper(obj1);
18078 if (arg2 == NULL) SWIG_fail;
18079 temp2 = true;
18080 }
18081 {
18082 arg3 = wxString_in_helper(obj2);
18083 if (arg3 == NULL) SWIG_fail;
18084 temp3 = true;
18085 }
18086 {
18087 arg4 = PyList_Size(obj3);
18088 arg5 = wxString_LIST_helper(obj3);
18089 if (arg5 == NULL) SWIG_fail;
18090 }
18091 if (obj4) {
18092 ecode6 = SWIG_AsVal_long(obj4, &val6);
18093 if (!SWIG_IsOK(ecode6)) {
18094 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18095 }
18096 arg6 = static_cast< long >(val6);
18097 }
18098 if (obj5) {
18099 {
18100 arg7 = &temp7;
18101 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18102 }
18103 }
18104 {
18105 if (!wxPyCheckForApp()) SWIG_fail;
18106 PyThreadState* __tstate = wxPyBeginAllowThreads();
18107 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18108 wxPyEndAllowThreads(__tstate);
18109 if (PyErr_Occurred()) SWIG_fail;
18110 }
18111 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18112 {
18113 if (temp2)
18114 delete arg2;
18115 }
18116 {
18117 if (temp3)
18118 delete arg3;
18119 }
18120 {
18121 if (arg5) delete [] arg5;
18122 }
18123 return resultobj;
18124 fail:
18125 {
18126 if (temp2)
18127 delete arg2;
18128 }
18129 {
18130 if (temp3)
18131 delete arg3;
18132 }
18133 {
18134 if (arg5) delete [] arg5;
18135 }
18136 return NULL;
18137 }
18138
18139
18140 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18141 PyObject *resultobj = 0;
18142 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18143 int result;
18144 void *argp1 = 0 ;
18145 int res1 = 0 ;
18146 PyObject *swig_obj[1] ;
18147
18148 if (!args) SWIG_fail;
18149 swig_obj[0] = args;
18150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18151 if (!SWIG_IsOK(res1)) {
18152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18153 }
18154 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18155 {
18156 PyThreadState* __tstate = wxPyBeginAllowThreads();
18157 result = (int)(arg1)->GetSelection();
18158 wxPyEndAllowThreads(__tstate);
18159 if (PyErr_Occurred()) SWIG_fail;
18160 }
18161 resultobj = SWIG_From_int(static_cast< int >(result));
18162 return resultobj;
18163 fail:
18164 return NULL;
18165 }
18166
18167
18168 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18169 PyObject *resultobj = 0;
18170 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18171 wxString result;
18172 void *argp1 = 0 ;
18173 int res1 = 0 ;
18174 PyObject *swig_obj[1] ;
18175
18176 if (!args) SWIG_fail;
18177 swig_obj[0] = args;
18178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18179 if (!SWIG_IsOK(res1)) {
18180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18181 }
18182 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18183 {
18184 PyThreadState* __tstate = wxPyBeginAllowThreads();
18185 result = (arg1)->GetStringSelection();
18186 wxPyEndAllowThreads(__tstate);
18187 if (PyErr_Occurred()) SWIG_fail;
18188 }
18189 {
18190 #if wxUSE_UNICODE
18191 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18192 #else
18193 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18194 #endif
18195 }
18196 return resultobj;
18197 fail:
18198 return NULL;
18199 }
18200
18201
18202 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18203 PyObject *resultobj = 0;
18204 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18205 int arg2 ;
18206 void *argp1 = 0 ;
18207 int res1 = 0 ;
18208 int val2 ;
18209 int ecode2 = 0 ;
18210 PyObject * obj0 = 0 ;
18211 PyObject * obj1 = 0 ;
18212 char * kwnames[] = {
18213 (char *) "self",(char *) "sel", NULL
18214 };
18215
18216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18218 if (!SWIG_IsOK(res1)) {
18219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18220 }
18221 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18222 ecode2 = SWIG_AsVal_int(obj1, &val2);
18223 if (!SWIG_IsOK(ecode2)) {
18224 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18225 }
18226 arg2 = static_cast< int >(val2);
18227 {
18228 PyThreadState* __tstate = wxPyBeginAllowThreads();
18229 (arg1)->SetSelection(arg2);
18230 wxPyEndAllowThreads(__tstate);
18231 if (PyErr_Occurred()) SWIG_fail;
18232 }
18233 resultobj = SWIG_Py_Void();
18234 return resultobj;
18235 fail:
18236 return NULL;
18237 }
18238
18239
18240 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18241 PyObject *obj;
18242 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18243 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18244 return SWIG_Py_Void();
18245 }
18246
18247 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18248 return SWIG_Python_InitShadowInstance(args);
18249 }
18250
18251 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18252 PyObject *resultobj = 0;
18253 wxWindow *arg1 = (wxWindow *) 0 ;
18254 wxString *arg2 = 0 ;
18255 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18256 wxString *arg3 = (wxString *) &arg3_defvalue ;
18257 wxString const &arg4_defvalue = wxPyEmptyString ;
18258 wxString *arg4 = (wxString *) &arg4_defvalue ;
18259 long arg5 = (long) wxTextEntryDialogStyle ;
18260 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18261 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18262 wxTextEntryDialog *result = 0 ;
18263 void *argp1 = 0 ;
18264 int res1 = 0 ;
18265 bool temp2 = false ;
18266 bool temp3 = false ;
18267 bool temp4 = false ;
18268 long val5 ;
18269 int ecode5 = 0 ;
18270 wxPoint temp6 ;
18271 PyObject * obj0 = 0 ;
18272 PyObject * obj1 = 0 ;
18273 PyObject * obj2 = 0 ;
18274 PyObject * obj3 = 0 ;
18275 PyObject * obj4 = 0 ;
18276 PyObject * obj5 = 0 ;
18277 char * kwnames[] = {
18278 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18279 };
18280
18281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18283 if (!SWIG_IsOK(res1)) {
18284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18285 }
18286 arg1 = reinterpret_cast< wxWindow * >(argp1);
18287 {
18288 arg2 = wxString_in_helper(obj1);
18289 if (arg2 == NULL) SWIG_fail;
18290 temp2 = true;
18291 }
18292 if (obj2) {
18293 {
18294 arg3 = wxString_in_helper(obj2);
18295 if (arg3 == NULL) SWIG_fail;
18296 temp3 = true;
18297 }
18298 }
18299 if (obj3) {
18300 {
18301 arg4 = wxString_in_helper(obj3);
18302 if (arg4 == NULL) SWIG_fail;
18303 temp4 = true;
18304 }
18305 }
18306 if (obj4) {
18307 ecode5 = SWIG_AsVal_long(obj4, &val5);
18308 if (!SWIG_IsOK(ecode5)) {
18309 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18310 }
18311 arg5 = static_cast< long >(val5);
18312 }
18313 if (obj5) {
18314 {
18315 arg6 = &temp6;
18316 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18317 }
18318 }
18319 {
18320 if (!wxPyCheckForApp()) SWIG_fail;
18321 PyThreadState* __tstate = wxPyBeginAllowThreads();
18322 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18323 wxPyEndAllowThreads(__tstate);
18324 if (PyErr_Occurred()) SWIG_fail;
18325 }
18326 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18327 {
18328 if (temp2)
18329 delete arg2;
18330 }
18331 {
18332 if (temp3)
18333 delete arg3;
18334 }
18335 {
18336 if (temp4)
18337 delete arg4;
18338 }
18339 return resultobj;
18340 fail:
18341 {
18342 if (temp2)
18343 delete arg2;
18344 }
18345 {
18346 if (temp3)
18347 delete arg3;
18348 }
18349 {
18350 if (temp4)
18351 delete arg4;
18352 }
18353 return NULL;
18354 }
18355
18356
18357 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18358 PyObject *resultobj = 0;
18359 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18360 wxString result;
18361 void *argp1 = 0 ;
18362 int res1 = 0 ;
18363 PyObject *swig_obj[1] ;
18364
18365 if (!args) SWIG_fail;
18366 swig_obj[0] = args;
18367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18368 if (!SWIG_IsOK(res1)) {
18369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18370 }
18371 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18372 {
18373 PyThreadState* __tstate = wxPyBeginAllowThreads();
18374 result = (arg1)->GetValue();
18375 wxPyEndAllowThreads(__tstate);
18376 if (PyErr_Occurred()) SWIG_fail;
18377 }
18378 {
18379 #if wxUSE_UNICODE
18380 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18381 #else
18382 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18383 #endif
18384 }
18385 return resultobj;
18386 fail:
18387 return NULL;
18388 }
18389
18390
18391 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18392 PyObject *resultobj = 0;
18393 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18394 wxString *arg2 = 0 ;
18395 void *argp1 = 0 ;
18396 int res1 = 0 ;
18397 bool temp2 = false ;
18398 PyObject * obj0 = 0 ;
18399 PyObject * obj1 = 0 ;
18400 char * kwnames[] = {
18401 (char *) "self",(char *) "value", NULL
18402 };
18403
18404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18406 if (!SWIG_IsOK(res1)) {
18407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18408 }
18409 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18410 {
18411 arg2 = wxString_in_helper(obj1);
18412 if (arg2 == NULL) SWIG_fail;
18413 temp2 = true;
18414 }
18415 {
18416 PyThreadState* __tstate = wxPyBeginAllowThreads();
18417 (arg1)->SetValue((wxString const &)*arg2);
18418 wxPyEndAllowThreads(__tstate);
18419 if (PyErr_Occurred()) SWIG_fail;
18420 }
18421 resultobj = SWIG_Py_Void();
18422 {
18423 if (temp2)
18424 delete arg2;
18425 }
18426 return resultobj;
18427 fail:
18428 {
18429 if (temp2)
18430 delete arg2;
18431 }
18432 return NULL;
18433 }
18434
18435
18436 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18437 PyObject *obj;
18438 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18439 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18440 return SWIG_Py_Void();
18441 }
18442
18443 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18444 return SWIG_Python_InitShadowInstance(args);
18445 }
18446
18447 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18448 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18449 return 1;
18450 }
18451
18452
18453 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18454 PyObject *pyobj = 0;
18455
18456 {
18457 #if wxUSE_UNICODE
18458 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18459 #else
18460 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18461 #endif
18462 }
18463 return pyobj;
18464 }
18465
18466
18467 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18468 PyObject *resultobj = 0;
18469 wxWindow *arg1 = (wxWindow *) 0 ;
18470 wxString *arg2 = 0 ;
18471 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18472 wxString *arg3 = (wxString *) &arg3_defvalue ;
18473 wxString const &arg4_defvalue = wxPyEmptyString ;
18474 wxString *arg4 = (wxString *) &arg4_defvalue ;
18475 long arg5 = (long) wxTextEntryDialogStyle ;
18476 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18477 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18478 wxPasswordEntryDialog *result = 0 ;
18479 void *argp1 = 0 ;
18480 int res1 = 0 ;
18481 bool temp2 = false ;
18482 bool temp3 = false ;
18483 bool temp4 = false ;
18484 long val5 ;
18485 int ecode5 = 0 ;
18486 wxPoint temp6 ;
18487 PyObject * obj0 = 0 ;
18488 PyObject * obj1 = 0 ;
18489 PyObject * obj2 = 0 ;
18490 PyObject * obj3 = 0 ;
18491 PyObject * obj4 = 0 ;
18492 PyObject * obj5 = 0 ;
18493 char * kwnames[] = {
18494 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18495 };
18496
18497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18499 if (!SWIG_IsOK(res1)) {
18500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18501 }
18502 arg1 = reinterpret_cast< wxWindow * >(argp1);
18503 {
18504 arg2 = wxString_in_helper(obj1);
18505 if (arg2 == NULL) SWIG_fail;
18506 temp2 = true;
18507 }
18508 if (obj2) {
18509 {
18510 arg3 = wxString_in_helper(obj2);
18511 if (arg3 == NULL) SWIG_fail;
18512 temp3 = true;
18513 }
18514 }
18515 if (obj3) {
18516 {
18517 arg4 = wxString_in_helper(obj3);
18518 if (arg4 == NULL) SWIG_fail;
18519 temp4 = true;
18520 }
18521 }
18522 if (obj4) {
18523 ecode5 = SWIG_AsVal_long(obj4, &val5);
18524 if (!SWIG_IsOK(ecode5)) {
18525 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18526 }
18527 arg5 = static_cast< long >(val5);
18528 }
18529 if (obj5) {
18530 {
18531 arg6 = &temp6;
18532 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18533 }
18534 }
18535 {
18536 PyThreadState* __tstate = wxPyBeginAllowThreads();
18537 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18538 wxPyEndAllowThreads(__tstate);
18539 if (PyErr_Occurred()) SWIG_fail;
18540 }
18541 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18542 {
18543 if (temp2)
18544 delete arg2;
18545 }
18546 {
18547 if (temp3)
18548 delete arg3;
18549 }
18550 {
18551 if (temp4)
18552 delete arg4;
18553 }
18554 return resultobj;
18555 fail:
18556 {
18557 if (temp2)
18558 delete arg2;
18559 }
18560 {
18561 if (temp3)
18562 delete arg3;
18563 }
18564 {
18565 if (temp4)
18566 delete arg4;
18567 }
18568 return NULL;
18569 }
18570
18571
18572 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18573 PyObject *obj;
18574 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18575 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18576 return SWIG_Py_Void();
18577 }
18578
18579 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18580 return SWIG_Python_InitShadowInstance(args);
18581 }
18582
18583 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18584 PyObject *resultobj = 0;
18585 wxWindow *arg1 = (wxWindow *) 0 ;
18586 wxString *arg2 = 0 ;
18587 wxString *arg3 = 0 ;
18588 wxString *arg4 = 0 ;
18589 long arg5 ;
18590 long arg6 ;
18591 long arg7 ;
18592 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18593 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18594 wxNumberEntryDialog *result = 0 ;
18595 void *argp1 = 0 ;
18596 int res1 = 0 ;
18597 bool temp2 = false ;
18598 bool temp3 = false ;
18599 bool temp4 = false ;
18600 long val5 ;
18601 int ecode5 = 0 ;
18602 long val6 ;
18603 int ecode6 = 0 ;
18604 long val7 ;
18605 int ecode7 = 0 ;
18606 wxPoint temp8 ;
18607 PyObject * obj0 = 0 ;
18608 PyObject * obj1 = 0 ;
18609 PyObject * obj2 = 0 ;
18610 PyObject * obj3 = 0 ;
18611 PyObject * obj4 = 0 ;
18612 PyObject * obj5 = 0 ;
18613 PyObject * obj6 = 0 ;
18614 PyObject * obj7 = 0 ;
18615 char * kwnames[] = {
18616 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18617 };
18618
18619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18621 if (!SWIG_IsOK(res1)) {
18622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18623 }
18624 arg1 = reinterpret_cast< wxWindow * >(argp1);
18625 {
18626 arg2 = wxString_in_helper(obj1);
18627 if (arg2 == NULL) SWIG_fail;
18628 temp2 = true;
18629 }
18630 {
18631 arg3 = wxString_in_helper(obj2);
18632 if (arg3 == NULL) SWIG_fail;
18633 temp3 = true;
18634 }
18635 {
18636 arg4 = wxString_in_helper(obj3);
18637 if (arg4 == NULL) SWIG_fail;
18638 temp4 = true;
18639 }
18640 ecode5 = SWIG_AsVal_long(obj4, &val5);
18641 if (!SWIG_IsOK(ecode5)) {
18642 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18643 }
18644 arg5 = static_cast< long >(val5);
18645 ecode6 = SWIG_AsVal_long(obj5, &val6);
18646 if (!SWIG_IsOK(ecode6)) {
18647 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18648 }
18649 arg6 = static_cast< long >(val6);
18650 ecode7 = SWIG_AsVal_long(obj6, &val7);
18651 if (!SWIG_IsOK(ecode7)) {
18652 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18653 }
18654 arg7 = static_cast< long >(val7);
18655 if (obj7) {
18656 {
18657 arg8 = &temp8;
18658 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18659 }
18660 }
18661 {
18662 if (!wxPyCheckForApp()) SWIG_fail;
18663 PyThreadState* __tstate = wxPyBeginAllowThreads();
18664 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18665 wxPyEndAllowThreads(__tstate);
18666 if (PyErr_Occurred()) SWIG_fail;
18667 }
18668 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18669 {
18670 if (temp2)
18671 delete arg2;
18672 }
18673 {
18674 if (temp3)
18675 delete arg3;
18676 }
18677 {
18678 if (temp4)
18679 delete arg4;
18680 }
18681 return resultobj;
18682 fail:
18683 {
18684 if (temp2)
18685 delete arg2;
18686 }
18687 {
18688 if (temp3)
18689 delete arg3;
18690 }
18691 {
18692 if (temp4)
18693 delete arg4;
18694 }
18695 return NULL;
18696 }
18697
18698
18699 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18700 PyObject *resultobj = 0;
18701 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18702 long result;
18703 void *argp1 = 0 ;
18704 int res1 = 0 ;
18705 PyObject *swig_obj[1] ;
18706
18707 if (!args) SWIG_fail;
18708 swig_obj[0] = args;
18709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18710 if (!SWIG_IsOK(res1)) {
18711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18712 }
18713 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18714 {
18715 PyThreadState* __tstate = wxPyBeginAllowThreads();
18716 result = (long)(arg1)->GetValue();
18717 wxPyEndAllowThreads(__tstate);
18718 if (PyErr_Occurred()) SWIG_fail;
18719 }
18720 resultobj = SWIG_From_long(static_cast< long >(result));
18721 return resultobj;
18722 fail:
18723 return NULL;
18724 }
18725
18726
18727 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18728 PyObject *obj;
18729 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18730 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18731 return SWIG_Py_Void();
18732 }
18733
18734 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18735 return SWIG_Python_InitShadowInstance(args);
18736 }
18737
18738 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18739 PyObject *resultobj = 0;
18740 wxFontData *result = 0 ;
18741
18742 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18743 {
18744 PyThreadState* __tstate = wxPyBeginAllowThreads();
18745 result = (wxFontData *)new wxFontData();
18746 wxPyEndAllowThreads(__tstate);
18747 if (PyErr_Occurred()) SWIG_fail;
18748 }
18749 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18750 return resultobj;
18751 fail:
18752 return NULL;
18753 }
18754
18755
18756 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18757 PyObject *resultobj = 0;
18758 wxFontData *arg1 = (wxFontData *) 0 ;
18759 void *argp1 = 0 ;
18760 int res1 = 0 ;
18761 PyObject *swig_obj[1] ;
18762
18763 if (!args) SWIG_fail;
18764 swig_obj[0] = args;
18765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18766 if (!SWIG_IsOK(res1)) {
18767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18768 }
18769 arg1 = reinterpret_cast< wxFontData * >(argp1);
18770 {
18771 PyThreadState* __tstate = wxPyBeginAllowThreads();
18772 delete arg1;
18773
18774 wxPyEndAllowThreads(__tstate);
18775 if (PyErr_Occurred()) SWIG_fail;
18776 }
18777 resultobj = SWIG_Py_Void();
18778 return resultobj;
18779 fail:
18780 return NULL;
18781 }
18782
18783
18784 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18785 PyObject *resultobj = 0;
18786 wxFontData *arg1 = (wxFontData *) 0 ;
18787 bool arg2 ;
18788 void *argp1 = 0 ;
18789 int res1 = 0 ;
18790 bool val2 ;
18791 int ecode2 = 0 ;
18792 PyObject * obj0 = 0 ;
18793 PyObject * obj1 = 0 ;
18794 char * kwnames[] = {
18795 (char *) "self",(char *) "enable", NULL
18796 };
18797
18798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18800 if (!SWIG_IsOK(res1)) {
18801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18802 }
18803 arg1 = reinterpret_cast< wxFontData * >(argp1);
18804 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18805 if (!SWIG_IsOK(ecode2)) {
18806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18807 }
18808 arg2 = static_cast< bool >(val2);
18809 {
18810 PyThreadState* __tstate = wxPyBeginAllowThreads();
18811 (arg1)->EnableEffects(arg2);
18812 wxPyEndAllowThreads(__tstate);
18813 if (PyErr_Occurred()) SWIG_fail;
18814 }
18815 resultobj = SWIG_Py_Void();
18816 return resultobj;
18817 fail:
18818 return NULL;
18819 }
18820
18821
18822 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18823 PyObject *resultobj = 0;
18824 wxFontData *arg1 = (wxFontData *) 0 ;
18825 bool result;
18826 void *argp1 = 0 ;
18827 int res1 = 0 ;
18828 PyObject *swig_obj[1] ;
18829
18830 if (!args) SWIG_fail;
18831 swig_obj[0] = args;
18832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18833 if (!SWIG_IsOK(res1)) {
18834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18835 }
18836 arg1 = reinterpret_cast< wxFontData * >(argp1);
18837 {
18838 PyThreadState* __tstate = wxPyBeginAllowThreads();
18839 result = (bool)(arg1)->GetAllowSymbols();
18840 wxPyEndAllowThreads(__tstate);
18841 if (PyErr_Occurred()) SWIG_fail;
18842 }
18843 {
18844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18845 }
18846 return resultobj;
18847 fail:
18848 return NULL;
18849 }
18850
18851
18852 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18853 PyObject *resultobj = 0;
18854 wxFontData *arg1 = (wxFontData *) 0 ;
18855 wxColour result;
18856 void *argp1 = 0 ;
18857 int res1 = 0 ;
18858 PyObject *swig_obj[1] ;
18859
18860 if (!args) SWIG_fail;
18861 swig_obj[0] = args;
18862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18863 if (!SWIG_IsOK(res1)) {
18864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18865 }
18866 arg1 = reinterpret_cast< wxFontData * >(argp1);
18867 {
18868 PyThreadState* __tstate = wxPyBeginAllowThreads();
18869 result = (arg1)->GetColour();
18870 wxPyEndAllowThreads(__tstate);
18871 if (PyErr_Occurred()) SWIG_fail;
18872 }
18873 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18874 return resultobj;
18875 fail:
18876 return NULL;
18877 }
18878
18879
18880 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18881 PyObject *resultobj = 0;
18882 wxFontData *arg1 = (wxFontData *) 0 ;
18883 wxFont result;
18884 void *argp1 = 0 ;
18885 int res1 = 0 ;
18886 PyObject *swig_obj[1] ;
18887
18888 if (!args) SWIG_fail;
18889 swig_obj[0] = args;
18890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18891 if (!SWIG_IsOK(res1)) {
18892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18893 }
18894 arg1 = reinterpret_cast< wxFontData * >(argp1);
18895 {
18896 PyThreadState* __tstate = wxPyBeginAllowThreads();
18897 result = (arg1)->GetChosenFont();
18898 wxPyEndAllowThreads(__tstate);
18899 if (PyErr_Occurred()) SWIG_fail;
18900 }
18901 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18902 return resultobj;
18903 fail:
18904 return NULL;
18905 }
18906
18907
18908 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18909 PyObject *resultobj = 0;
18910 wxFontData *arg1 = (wxFontData *) 0 ;
18911 bool result;
18912 void *argp1 = 0 ;
18913 int res1 = 0 ;
18914 PyObject *swig_obj[1] ;
18915
18916 if (!args) SWIG_fail;
18917 swig_obj[0] = args;
18918 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18919 if (!SWIG_IsOK(res1)) {
18920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18921 }
18922 arg1 = reinterpret_cast< wxFontData * >(argp1);
18923 {
18924 PyThreadState* __tstate = wxPyBeginAllowThreads();
18925 result = (bool)(arg1)->GetEnableEffects();
18926 wxPyEndAllowThreads(__tstate);
18927 if (PyErr_Occurred()) SWIG_fail;
18928 }
18929 {
18930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18931 }
18932 return resultobj;
18933 fail:
18934 return NULL;
18935 }
18936
18937
18938 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18939 PyObject *resultobj = 0;
18940 wxFontData *arg1 = (wxFontData *) 0 ;
18941 wxFont result;
18942 void *argp1 = 0 ;
18943 int res1 = 0 ;
18944 PyObject *swig_obj[1] ;
18945
18946 if (!args) SWIG_fail;
18947 swig_obj[0] = args;
18948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18949 if (!SWIG_IsOK(res1)) {
18950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18951 }
18952 arg1 = reinterpret_cast< wxFontData * >(argp1);
18953 {
18954 PyThreadState* __tstate = wxPyBeginAllowThreads();
18955 result = (arg1)->GetInitialFont();
18956 wxPyEndAllowThreads(__tstate);
18957 if (PyErr_Occurred()) SWIG_fail;
18958 }
18959 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18960 return resultobj;
18961 fail:
18962 return NULL;
18963 }
18964
18965
18966 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18967 PyObject *resultobj = 0;
18968 wxFontData *arg1 = (wxFontData *) 0 ;
18969 bool result;
18970 void *argp1 = 0 ;
18971 int res1 = 0 ;
18972 PyObject *swig_obj[1] ;
18973
18974 if (!args) SWIG_fail;
18975 swig_obj[0] = args;
18976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18977 if (!SWIG_IsOK(res1)) {
18978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18979 }
18980 arg1 = reinterpret_cast< wxFontData * >(argp1);
18981 {
18982 PyThreadState* __tstate = wxPyBeginAllowThreads();
18983 result = (bool)(arg1)->GetShowHelp();
18984 wxPyEndAllowThreads(__tstate);
18985 if (PyErr_Occurred()) SWIG_fail;
18986 }
18987 {
18988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18989 }
18990 return resultobj;
18991 fail:
18992 return NULL;
18993 }
18994
18995
18996 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18997 PyObject *resultobj = 0;
18998 wxFontData *arg1 = (wxFontData *) 0 ;
18999 bool arg2 ;
19000 void *argp1 = 0 ;
19001 int res1 = 0 ;
19002 bool val2 ;
19003 int ecode2 = 0 ;
19004 PyObject * obj0 = 0 ;
19005 PyObject * obj1 = 0 ;
19006 char * kwnames[] = {
19007 (char *) "self",(char *) "allowSymbols", NULL
19008 };
19009
19010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
19011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19012 if (!SWIG_IsOK(res1)) {
19013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19014 }
19015 arg1 = reinterpret_cast< wxFontData * >(argp1);
19016 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19017 if (!SWIG_IsOK(ecode2)) {
19018 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19019 }
19020 arg2 = static_cast< bool >(val2);
19021 {
19022 PyThreadState* __tstate = wxPyBeginAllowThreads();
19023 (arg1)->SetAllowSymbols(arg2);
19024 wxPyEndAllowThreads(__tstate);
19025 if (PyErr_Occurred()) SWIG_fail;
19026 }
19027 resultobj = SWIG_Py_Void();
19028 return resultobj;
19029 fail:
19030 return NULL;
19031 }
19032
19033
19034 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19035 PyObject *resultobj = 0;
19036 wxFontData *arg1 = (wxFontData *) 0 ;
19037 wxFont *arg2 = 0 ;
19038 void *argp1 = 0 ;
19039 int res1 = 0 ;
19040 void *argp2 = 0 ;
19041 int res2 = 0 ;
19042 PyObject * obj0 = 0 ;
19043 PyObject * obj1 = 0 ;
19044 char * kwnames[] = {
19045 (char *) "self",(char *) "font", NULL
19046 };
19047
19048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
19049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19050 if (!SWIG_IsOK(res1)) {
19051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19052 }
19053 arg1 = reinterpret_cast< wxFontData * >(argp1);
19054 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19055 if (!SWIG_IsOK(res2)) {
19056 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19057 }
19058 if (!argp2) {
19059 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19060 }
19061 arg2 = reinterpret_cast< wxFont * >(argp2);
19062 {
19063 PyThreadState* __tstate = wxPyBeginAllowThreads();
19064 (arg1)->SetChosenFont((wxFont const &)*arg2);
19065 wxPyEndAllowThreads(__tstate);
19066 if (PyErr_Occurred()) SWIG_fail;
19067 }
19068 resultobj = SWIG_Py_Void();
19069 return resultobj;
19070 fail:
19071 return NULL;
19072 }
19073
19074
19075 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19076 PyObject *resultobj = 0;
19077 wxFontData *arg1 = (wxFontData *) 0 ;
19078 wxColour *arg2 = 0 ;
19079 void *argp1 = 0 ;
19080 int res1 = 0 ;
19081 wxColour temp2 ;
19082 PyObject * obj0 = 0 ;
19083 PyObject * obj1 = 0 ;
19084 char * kwnames[] = {
19085 (char *) "self",(char *) "colour", NULL
19086 };
19087
19088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19090 if (!SWIG_IsOK(res1)) {
19091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19092 }
19093 arg1 = reinterpret_cast< wxFontData * >(argp1);
19094 {
19095 arg2 = &temp2;
19096 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19097 }
19098 {
19099 PyThreadState* __tstate = wxPyBeginAllowThreads();
19100 (arg1)->SetColour((wxColour const &)*arg2);
19101 wxPyEndAllowThreads(__tstate);
19102 if (PyErr_Occurred()) SWIG_fail;
19103 }
19104 resultobj = SWIG_Py_Void();
19105 return resultobj;
19106 fail:
19107 return NULL;
19108 }
19109
19110
19111 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19112 PyObject *resultobj = 0;
19113 wxFontData *arg1 = (wxFontData *) 0 ;
19114 wxFont *arg2 = 0 ;
19115 void *argp1 = 0 ;
19116 int res1 = 0 ;
19117 void *argp2 = 0 ;
19118 int res2 = 0 ;
19119 PyObject * obj0 = 0 ;
19120 PyObject * obj1 = 0 ;
19121 char * kwnames[] = {
19122 (char *) "self",(char *) "font", NULL
19123 };
19124
19125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19127 if (!SWIG_IsOK(res1)) {
19128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19129 }
19130 arg1 = reinterpret_cast< wxFontData * >(argp1);
19131 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19132 if (!SWIG_IsOK(res2)) {
19133 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19134 }
19135 if (!argp2) {
19136 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19137 }
19138 arg2 = reinterpret_cast< wxFont * >(argp2);
19139 {
19140 PyThreadState* __tstate = wxPyBeginAllowThreads();
19141 (arg1)->SetInitialFont((wxFont const &)*arg2);
19142 wxPyEndAllowThreads(__tstate);
19143 if (PyErr_Occurred()) SWIG_fail;
19144 }
19145 resultobj = SWIG_Py_Void();
19146 return resultobj;
19147 fail:
19148 return NULL;
19149 }
19150
19151
19152 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19153 PyObject *resultobj = 0;
19154 wxFontData *arg1 = (wxFontData *) 0 ;
19155 int arg2 ;
19156 int arg3 ;
19157 void *argp1 = 0 ;
19158 int res1 = 0 ;
19159 int val2 ;
19160 int ecode2 = 0 ;
19161 int val3 ;
19162 int ecode3 = 0 ;
19163 PyObject * obj0 = 0 ;
19164 PyObject * obj1 = 0 ;
19165 PyObject * obj2 = 0 ;
19166 char * kwnames[] = {
19167 (char *) "self",(char *) "min",(char *) "max", NULL
19168 };
19169
19170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19172 if (!SWIG_IsOK(res1)) {
19173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19174 }
19175 arg1 = reinterpret_cast< wxFontData * >(argp1);
19176 ecode2 = SWIG_AsVal_int(obj1, &val2);
19177 if (!SWIG_IsOK(ecode2)) {
19178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19179 }
19180 arg2 = static_cast< int >(val2);
19181 ecode3 = SWIG_AsVal_int(obj2, &val3);
19182 if (!SWIG_IsOK(ecode3)) {
19183 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19184 }
19185 arg3 = static_cast< int >(val3);
19186 {
19187 PyThreadState* __tstate = wxPyBeginAllowThreads();
19188 (arg1)->SetRange(arg2,arg3);
19189 wxPyEndAllowThreads(__tstate);
19190 if (PyErr_Occurred()) SWIG_fail;
19191 }
19192 resultobj = SWIG_Py_Void();
19193 return resultobj;
19194 fail:
19195 return NULL;
19196 }
19197
19198
19199 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19200 PyObject *resultobj = 0;
19201 wxFontData *arg1 = (wxFontData *) 0 ;
19202 bool arg2 ;
19203 void *argp1 = 0 ;
19204 int res1 = 0 ;
19205 bool val2 ;
19206 int ecode2 = 0 ;
19207 PyObject * obj0 = 0 ;
19208 PyObject * obj1 = 0 ;
19209 char * kwnames[] = {
19210 (char *) "self",(char *) "showHelp", NULL
19211 };
19212
19213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19214 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19215 if (!SWIG_IsOK(res1)) {
19216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19217 }
19218 arg1 = reinterpret_cast< wxFontData * >(argp1);
19219 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19220 if (!SWIG_IsOK(ecode2)) {
19221 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19222 }
19223 arg2 = static_cast< bool >(val2);
19224 {
19225 PyThreadState* __tstate = wxPyBeginAllowThreads();
19226 (arg1)->SetShowHelp(arg2);
19227 wxPyEndAllowThreads(__tstate);
19228 if (PyErr_Occurred()) SWIG_fail;
19229 }
19230 resultobj = SWIG_Py_Void();
19231 return resultobj;
19232 fail:
19233 return NULL;
19234 }
19235
19236
19237 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19238 PyObject *obj;
19239 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19240 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19241 return SWIG_Py_Void();
19242 }
19243
19244 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19245 return SWIG_Python_InitShadowInstance(args);
19246 }
19247
19248 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19249 PyObject *resultobj = 0;
19250 wxWindow *arg1 = (wxWindow *) 0 ;
19251 wxFontData *arg2 = 0 ;
19252 wxFontDialog *result = 0 ;
19253 void *argp1 = 0 ;
19254 int res1 = 0 ;
19255 void *argp2 = 0 ;
19256 int res2 = 0 ;
19257 PyObject * obj0 = 0 ;
19258 PyObject * obj1 = 0 ;
19259 char * kwnames[] = {
19260 (char *) "parent",(char *) "data", NULL
19261 };
19262
19263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19265 if (!SWIG_IsOK(res1)) {
19266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19267 }
19268 arg1 = reinterpret_cast< wxWindow * >(argp1);
19269 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19270 if (!SWIG_IsOK(res2)) {
19271 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19272 }
19273 if (!argp2) {
19274 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19275 }
19276 arg2 = reinterpret_cast< wxFontData * >(argp2);
19277 {
19278 if (!wxPyCheckForApp()) SWIG_fail;
19279 PyThreadState* __tstate = wxPyBeginAllowThreads();
19280 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19281 wxPyEndAllowThreads(__tstate);
19282 if (PyErr_Occurred()) SWIG_fail;
19283 }
19284 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19285 return resultobj;
19286 fail:
19287 return NULL;
19288 }
19289
19290
19291 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19292 PyObject *resultobj = 0;
19293 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19294 wxFontData *result = 0 ;
19295 void *argp1 = 0 ;
19296 int res1 = 0 ;
19297 PyObject *swig_obj[1] ;
19298
19299 if (!args) SWIG_fail;
19300 swig_obj[0] = args;
19301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19302 if (!SWIG_IsOK(res1)) {
19303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19304 }
19305 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19306 {
19307 PyThreadState* __tstate = wxPyBeginAllowThreads();
19308 {
19309 wxFontData &_result_ref = (arg1)->GetFontData();
19310 result = (wxFontData *) &_result_ref;
19311 }
19312 wxPyEndAllowThreads(__tstate);
19313 if (PyErr_Occurred()) SWIG_fail;
19314 }
19315 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19316 return resultobj;
19317 fail:
19318 return NULL;
19319 }
19320
19321
19322 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19323 PyObject *obj;
19324 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19325 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19326 return SWIG_Py_Void();
19327 }
19328
19329 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19330 return SWIG_Python_InitShadowInstance(args);
19331 }
19332
19333 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19334 PyObject *resultobj = 0;
19335 wxWindow *arg1 = (wxWindow *) NULL ;
19336 wxFont const &arg2_defvalue = wxNullFont ;
19337 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19338 wxString const &arg3_defvalue = wxPyEmptyString ;
19339 wxString *arg3 = (wxString *) &arg3_defvalue ;
19340 wxFont result;
19341 void *argp1 = 0 ;
19342 int res1 = 0 ;
19343 void *argp2 = 0 ;
19344 int res2 = 0 ;
19345 bool temp3 = false ;
19346 PyObject * obj0 = 0 ;
19347 PyObject * obj1 = 0 ;
19348 PyObject * obj2 = 0 ;
19349 char * kwnames[] = {
19350 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19351 };
19352
19353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19354 if (obj0) {
19355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19356 if (!SWIG_IsOK(res1)) {
19357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19358 }
19359 arg1 = reinterpret_cast< wxWindow * >(argp1);
19360 }
19361 if (obj1) {
19362 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19363 if (!SWIG_IsOK(res2)) {
19364 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19365 }
19366 if (!argp2) {
19367 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19368 }
19369 arg2 = reinterpret_cast< wxFont * >(argp2);
19370 }
19371 if (obj2) {
19372 {
19373 arg3 = wxString_in_helper(obj2);
19374 if (arg3 == NULL) SWIG_fail;
19375 temp3 = true;
19376 }
19377 }
19378 {
19379 PyThreadState* __tstate = wxPyBeginAllowThreads();
19380 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19381 wxPyEndAllowThreads(__tstate);
19382 if (PyErr_Occurred()) SWIG_fail;
19383 }
19384 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19385 {
19386 if (temp3)
19387 delete arg3;
19388 }
19389 return resultobj;
19390 fail:
19391 {
19392 if (temp3)
19393 delete arg3;
19394 }
19395 return NULL;
19396 }
19397
19398
19399 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19400 PyObject *resultobj = 0;
19401 wxWindow *arg1 = (wxWindow *) 0 ;
19402 wxString *arg2 = 0 ;
19403 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19404 wxString *arg3 = (wxString *) &arg3_defvalue ;
19405 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19406 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19407 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19408 wxMessageDialog *result = 0 ;
19409 void *argp1 = 0 ;
19410 int res1 = 0 ;
19411 bool temp2 = false ;
19412 bool temp3 = false ;
19413 long val4 ;
19414 int ecode4 = 0 ;
19415 wxPoint temp5 ;
19416 PyObject * obj0 = 0 ;
19417 PyObject * obj1 = 0 ;
19418 PyObject * obj2 = 0 ;
19419 PyObject * obj3 = 0 ;
19420 PyObject * obj4 = 0 ;
19421 char * kwnames[] = {
19422 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19423 };
19424
19425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19427 if (!SWIG_IsOK(res1)) {
19428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19429 }
19430 arg1 = reinterpret_cast< wxWindow * >(argp1);
19431 {
19432 arg2 = wxString_in_helper(obj1);
19433 if (arg2 == NULL) SWIG_fail;
19434 temp2 = true;
19435 }
19436 if (obj2) {
19437 {
19438 arg3 = wxString_in_helper(obj2);
19439 if (arg3 == NULL) SWIG_fail;
19440 temp3 = true;
19441 }
19442 }
19443 if (obj3) {
19444 ecode4 = SWIG_AsVal_long(obj3, &val4);
19445 if (!SWIG_IsOK(ecode4)) {
19446 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19447 }
19448 arg4 = static_cast< long >(val4);
19449 }
19450 if (obj4) {
19451 {
19452 arg5 = &temp5;
19453 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19454 }
19455 }
19456 {
19457 if (!wxPyCheckForApp()) SWIG_fail;
19458 PyThreadState* __tstate = wxPyBeginAllowThreads();
19459 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19460 wxPyEndAllowThreads(__tstate);
19461 if (PyErr_Occurred()) SWIG_fail;
19462 }
19463 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19464 {
19465 if (temp2)
19466 delete arg2;
19467 }
19468 {
19469 if (temp3)
19470 delete arg3;
19471 }
19472 return resultobj;
19473 fail:
19474 {
19475 if (temp2)
19476 delete arg2;
19477 }
19478 {
19479 if (temp3)
19480 delete arg3;
19481 }
19482 return NULL;
19483 }
19484
19485
19486 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19487 PyObject *obj;
19488 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19489 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19490 return SWIG_Py_Void();
19491 }
19492
19493 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19494 return SWIG_Python_InitShadowInstance(args);
19495 }
19496
19497 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19498 PyObject *resultobj = 0;
19499 wxString *arg1 = 0 ;
19500 wxString *arg2 = 0 ;
19501 int arg3 = (int) 100 ;
19502 wxWindow *arg4 = (wxWindow *) NULL ;
19503 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19504 wxProgressDialog *result = 0 ;
19505 bool temp1 = false ;
19506 bool temp2 = false ;
19507 int val3 ;
19508 int ecode3 = 0 ;
19509 void *argp4 = 0 ;
19510 int res4 = 0 ;
19511 int val5 ;
19512 int ecode5 = 0 ;
19513 PyObject * obj0 = 0 ;
19514 PyObject * obj1 = 0 ;
19515 PyObject * obj2 = 0 ;
19516 PyObject * obj3 = 0 ;
19517 PyObject * obj4 = 0 ;
19518 char * kwnames[] = {
19519 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19520 };
19521
19522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19523 {
19524 arg1 = wxString_in_helper(obj0);
19525 if (arg1 == NULL) SWIG_fail;
19526 temp1 = true;
19527 }
19528 {
19529 arg2 = wxString_in_helper(obj1);
19530 if (arg2 == NULL) SWIG_fail;
19531 temp2 = true;
19532 }
19533 if (obj2) {
19534 ecode3 = SWIG_AsVal_int(obj2, &val3);
19535 if (!SWIG_IsOK(ecode3)) {
19536 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19537 }
19538 arg3 = static_cast< int >(val3);
19539 }
19540 if (obj3) {
19541 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19542 if (!SWIG_IsOK(res4)) {
19543 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19544 }
19545 arg4 = reinterpret_cast< wxWindow * >(argp4);
19546 }
19547 if (obj4) {
19548 ecode5 = SWIG_AsVal_int(obj4, &val5);
19549 if (!SWIG_IsOK(ecode5)) {
19550 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19551 }
19552 arg5 = static_cast< int >(val5);
19553 }
19554 {
19555 if (!wxPyCheckForApp()) SWIG_fail;
19556 PyThreadState* __tstate = wxPyBeginAllowThreads();
19557 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19558 wxPyEndAllowThreads(__tstate);
19559 if (PyErr_Occurred()) SWIG_fail;
19560 }
19561 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19562 {
19563 if (temp1)
19564 delete arg1;
19565 }
19566 {
19567 if (temp2)
19568 delete arg2;
19569 }
19570 return resultobj;
19571 fail:
19572 {
19573 if (temp1)
19574 delete arg1;
19575 }
19576 {
19577 if (temp2)
19578 delete arg2;
19579 }
19580 return NULL;
19581 }
19582
19583
19584 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19585 PyObject *resultobj = 0;
19586 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19587 int arg2 ;
19588 wxString const &arg3_defvalue = wxPyEmptyString ;
19589 wxString *arg3 = (wxString *) &arg3_defvalue ;
19590 bool *arg4 = (bool *) 0 ;
19591 bool result;
19592 void *argp1 = 0 ;
19593 int res1 = 0 ;
19594 int val2 ;
19595 int ecode2 = 0 ;
19596 bool temp3 = false ;
19597 bool temp4 ;
19598 int res4 = SWIG_TMPOBJ ;
19599 PyObject * obj0 = 0 ;
19600 PyObject * obj1 = 0 ;
19601 PyObject * obj2 = 0 ;
19602 char * kwnames[] = {
19603 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19604 };
19605
19606 arg4 = &temp4;
19607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19609 if (!SWIG_IsOK(res1)) {
19610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19611 }
19612 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19613 ecode2 = SWIG_AsVal_int(obj1, &val2);
19614 if (!SWIG_IsOK(ecode2)) {
19615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19616 }
19617 arg2 = static_cast< int >(val2);
19618 if (obj2) {
19619 {
19620 arg3 = wxString_in_helper(obj2);
19621 if (arg3 == NULL) SWIG_fail;
19622 temp3 = true;
19623 }
19624 }
19625 {
19626 PyThreadState* __tstate = wxPyBeginAllowThreads();
19627 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19628 wxPyEndAllowThreads(__tstate);
19629 if (PyErr_Occurred()) SWIG_fail;
19630 }
19631 {
19632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19633 }
19634 if (SWIG_IsTmpObj(res4)) {
19635 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19636 } else {
19637 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19638 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19639 }
19640 {
19641 if (temp3)
19642 delete arg3;
19643 }
19644 return resultobj;
19645 fail:
19646 {
19647 if (temp3)
19648 delete arg3;
19649 }
19650 return NULL;
19651 }
19652
19653
19654 SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19655 PyObject *resultobj = 0;
19656 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19657 wxString const &arg2_defvalue = wxPyEmptyString ;
19658 wxString *arg2 = (wxString *) &arg2_defvalue ;
19659 bool *arg3 = (bool *) 0 ;
19660 bool result;
19661 void *argp1 = 0 ;
19662 int res1 = 0 ;
19663 bool temp2 = false ;
19664 bool temp3 ;
19665 int res3 = SWIG_TMPOBJ ;
19666 PyObject * obj0 = 0 ;
19667 PyObject * obj1 = 0 ;
19668 char * kwnames[] = {
19669 (char *) "self",(char *) "newmsg", NULL
19670 };
19671
19672 arg3 = &temp3;
19673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
19674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19675 if (!SWIG_IsOK(res1)) {
19676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19677 }
19678 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19679 if (obj1) {
19680 {
19681 arg2 = wxString_in_helper(obj1);
19682 if (arg2 == NULL) SWIG_fail;
19683 temp2 = true;
19684 }
19685 }
19686 {
19687 PyThreadState* __tstate = wxPyBeginAllowThreads();
19688 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
19689 wxPyEndAllowThreads(__tstate);
19690 if (PyErr_Occurred()) SWIG_fail;
19691 }
19692 {
19693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19694 }
19695 if (SWIG_IsTmpObj(res3)) {
19696 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19697 } else {
19698 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19699 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19700 }
19701 {
19702 if (temp2)
19703 delete arg2;
19704 }
19705 return resultobj;
19706 fail:
19707 {
19708 if (temp2)
19709 delete arg2;
19710 }
19711 return NULL;
19712 }
19713
19714
19715 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19716 PyObject *resultobj = 0;
19717 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19718 void *argp1 = 0 ;
19719 int res1 = 0 ;
19720 PyObject *swig_obj[1] ;
19721
19722 if (!args) SWIG_fail;
19723 swig_obj[0] = args;
19724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19725 if (!SWIG_IsOK(res1)) {
19726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19727 }
19728 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19729 {
19730 PyThreadState* __tstate = wxPyBeginAllowThreads();
19731 (arg1)->Resume();
19732 wxPyEndAllowThreads(__tstate);
19733 if (PyErr_Occurred()) SWIG_fail;
19734 }
19735 resultobj = SWIG_Py_Void();
19736 return resultobj;
19737 fail:
19738 return NULL;
19739 }
19740
19741
19742 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19743 PyObject *obj;
19744 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19745 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19746 return SWIG_Py_Void();
19747 }
19748
19749 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19750 return SWIG_Python_InitShadowInstance(args);
19751 }
19752
19753 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19754 PyObject *resultobj = 0;
19755 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19756 int arg2 = (int) 0 ;
19757 wxFindDialogEvent *result = 0 ;
19758 int val1 ;
19759 int ecode1 = 0 ;
19760 int val2 ;
19761 int ecode2 = 0 ;
19762 PyObject * obj0 = 0 ;
19763 PyObject * obj1 = 0 ;
19764 char * kwnames[] = {
19765 (char *) "commandType",(char *) "id", NULL
19766 };
19767
19768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19769 if (obj0) {
19770 ecode1 = SWIG_AsVal_int(obj0, &val1);
19771 if (!SWIG_IsOK(ecode1)) {
19772 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19773 }
19774 arg1 = static_cast< wxEventType >(val1);
19775 }
19776 if (obj1) {
19777 ecode2 = SWIG_AsVal_int(obj1, &val2);
19778 if (!SWIG_IsOK(ecode2)) {
19779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19780 }
19781 arg2 = static_cast< int >(val2);
19782 }
19783 {
19784 PyThreadState* __tstate = wxPyBeginAllowThreads();
19785 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19786 wxPyEndAllowThreads(__tstate);
19787 if (PyErr_Occurred()) SWIG_fail;
19788 }
19789 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19790 return resultobj;
19791 fail:
19792 return NULL;
19793 }
19794
19795
19796 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19797 PyObject *resultobj = 0;
19798 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19799 int result;
19800 void *argp1 = 0 ;
19801 int res1 = 0 ;
19802 PyObject *swig_obj[1] ;
19803
19804 if (!args) SWIG_fail;
19805 swig_obj[0] = args;
19806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19807 if (!SWIG_IsOK(res1)) {
19808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19809 }
19810 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19811 {
19812 PyThreadState* __tstate = wxPyBeginAllowThreads();
19813 result = (int)(arg1)->GetFlags();
19814 wxPyEndAllowThreads(__tstate);
19815 if (PyErr_Occurred()) SWIG_fail;
19816 }
19817 resultobj = SWIG_From_int(static_cast< int >(result));
19818 return resultobj;
19819 fail:
19820 return NULL;
19821 }
19822
19823
19824 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19825 PyObject *resultobj = 0;
19826 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19827 wxString *result = 0 ;
19828 void *argp1 = 0 ;
19829 int res1 = 0 ;
19830 PyObject *swig_obj[1] ;
19831
19832 if (!args) SWIG_fail;
19833 swig_obj[0] = args;
19834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19835 if (!SWIG_IsOK(res1)) {
19836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19837 }
19838 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19839 {
19840 PyThreadState* __tstate = wxPyBeginAllowThreads();
19841 {
19842 wxString const &_result_ref = (arg1)->GetFindString();
19843 result = (wxString *) &_result_ref;
19844 }
19845 wxPyEndAllowThreads(__tstate);
19846 if (PyErr_Occurred()) SWIG_fail;
19847 }
19848 {
19849 #if wxUSE_UNICODE
19850 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19851 #else
19852 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19853 #endif
19854 }
19855 return resultobj;
19856 fail:
19857 return NULL;
19858 }
19859
19860
19861 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19862 PyObject *resultobj = 0;
19863 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19864 wxString *result = 0 ;
19865 void *argp1 = 0 ;
19866 int res1 = 0 ;
19867 PyObject *swig_obj[1] ;
19868
19869 if (!args) SWIG_fail;
19870 swig_obj[0] = args;
19871 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19872 if (!SWIG_IsOK(res1)) {
19873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19874 }
19875 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19876 {
19877 PyThreadState* __tstate = wxPyBeginAllowThreads();
19878 {
19879 wxString const &_result_ref = (arg1)->GetReplaceString();
19880 result = (wxString *) &_result_ref;
19881 }
19882 wxPyEndAllowThreads(__tstate);
19883 if (PyErr_Occurred()) SWIG_fail;
19884 }
19885 {
19886 #if wxUSE_UNICODE
19887 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19888 #else
19889 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19890 #endif
19891 }
19892 return resultobj;
19893 fail:
19894 return NULL;
19895 }
19896
19897
19898 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19899 PyObject *resultobj = 0;
19900 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19901 wxFindReplaceDialog *result = 0 ;
19902 void *argp1 = 0 ;
19903 int res1 = 0 ;
19904 PyObject *swig_obj[1] ;
19905
19906 if (!args) SWIG_fail;
19907 swig_obj[0] = args;
19908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19909 if (!SWIG_IsOK(res1)) {
19910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19911 }
19912 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19913 {
19914 PyThreadState* __tstate = wxPyBeginAllowThreads();
19915 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19916 wxPyEndAllowThreads(__tstate);
19917 if (PyErr_Occurred()) SWIG_fail;
19918 }
19919 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19920 return resultobj;
19921 fail:
19922 return NULL;
19923 }
19924
19925
19926 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19927 PyObject *resultobj = 0;
19928 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19929 int arg2 ;
19930 void *argp1 = 0 ;
19931 int res1 = 0 ;
19932 int val2 ;
19933 int ecode2 = 0 ;
19934 PyObject * obj0 = 0 ;
19935 PyObject * obj1 = 0 ;
19936 char * kwnames[] = {
19937 (char *) "self",(char *) "flags", NULL
19938 };
19939
19940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19942 if (!SWIG_IsOK(res1)) {
19943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19944 }
19945 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19946 ecode2 = SWIG_AsVal_int(obj1, &val2);
19947 if (!SWIG_IsOK(ecode2)) {
19948 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19949 }
19950 arg2 = static_cast< int >(val2);
19951 {
19952 PyThreadState* __tstate = wxPyBeginAllowThreads();
19953 (arg1)->SetFlags(arg2);
19954 wxPyEndAllowThreads(__tstate);
19955 if (PyErr_Occurred()) SWIG_fail;
19956 }
19957 resultobj = SWIG_Py_Void();
19958 return resultobj;
19959 fail:
19960 return NULL;
19961 }
19962
19963
19964 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19965 PyObject *resultobj = 0;
19966 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19967 wxString *arg2 = 0 ;
19968 void *argp1 = 0 ;
19969 int res1 = 0 ;
19970 bool temp2 = false ;
19971 PyObject * obj0 = 0 ;
19972 PyObject * obj1 = 0 ;
19973 char * kwnames[] = {
19974 (char *) "self",(char *) "str", NULL
19975 };
19976
19977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19979 if (!SWIG_IsOK(res1)) {
19980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19981 }
19982 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19983 {
19984 arg2 = wxString_in_helper(obj1);
19985 if (arg2 == NULL) SWIG_fail;
19986 temp2 = true;
19987 }
19988 {
19989 PyThreadState* __tstate = wxPyBeginAllowThreads();
19990 (arg1)->SetFindString((wxString const &)*arg2);
19991 wxPyEndAllowThreads(__tstate);
19992 if (PyErr_Occurred()) SWIG_fail;
19993 }
19994 resultobj = SWIG_Py_Void();
19995 {
19996 if (temp2)
19997 delete arg2;
19998 }
19999 return resultobj;
20000 fail:
20001 {
20002 if (temp2)
20003 delete arg2;
20004 }
20005 return NULL;
20006 }
20007
20008
20009 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20010 PyObject *resultobj = 0;
20011 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20012 wxString *arg2 = 0 ;
20013 void *argp1 = 0 ;
20014 int res1 = 0 ;
20015 bool temp2 = false ;
20016 PyObject * obj0 = 0 ;
20017 PyObject * obj1 = 0 ;
20018 char * kwnames[] = {
20019 (char *) "self",(char *) "str", NULL
20020 };
20021
20022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20024 if (!SWIG_IsOK(res1)) {
20025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20026 }
20027 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20028 {
20029 arg2 = wxString_in_helper(obj1);
20030 if (arg2 == NULL) SWIG_fail;
20031 temp2 = true;
20032 }
20033 {
20034 PyThreadState* __tstate = wxPyBeginAllowThreads();
20035 (arg1)->SetReplaceString((wxString const &)*arg2);
20036 wxPyEndAllowThreads(__tstate);
20037 if (PyErr_Occurred()) SWIG_fail;
20038 }
20039 resultobj = SWIG_Py_Void();
20040 {
20041 if (temp2)
20042 delete arg2;
20043 }
20044 return resultobj;
20045 fail:
20046 {
20047 if (temp2)
20048 delete arg2;
20049 }
20050 return NULL;
20051 }
20052
20053
20054 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20055 PyObject *obj;
20056 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20057 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
20058 return SWIG_Py_Void();
20059 }
20060
20061 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20062 return SWIG_Python_InitShadowInstance(args);
20063 }
20064
20065 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20066 PyObject *resultobj = 0;
20067 int arg1 = (int) 0 ;
20068 wxFindReplaceData *result = 0 ;
20069 int val1 ;
20070 int ecode1 = 0 ;
20071 PyObject * obj0 = 0 ;
20072 char * kwnames[] = {
20073 (char *) "flags", NULL
20074 };
20075
20076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20077 if (obj0) {
20078 ecode1 = SWIG_AsVal_int(obj0, &val1);
20079 if (!SWIG_IsOK(ecode1)) {
20080 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20081 }
20082 arg1 = static_cast< int >(val1);
20083 }
20084 {
20085 PyThreadState* __tstate = wxPyBeginAllowThreads();
20086 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20087 wxPyEndAllowThreads(__tstate);
20088 if (PyErr_Occurred()) SWIG_fail;
20089 }
20090 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20091 return resultobj;
20092 fail:
20093 return NULL;
20094 }
20095
20096
20097 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20098 PyObject *resultobj = 0;
20099 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20100 void *argp1 = 0 ;
20101 int res1 = 0 ;
20102 PyObject *swig_obj[1] ;
20103
20104 if (!args) SWIG_fail;
20105 swig_obj[0] = args;
20106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20107 if (!SWIG_IsOK(res1)) {
20108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20109 }
20110 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20111 {
20112 PyThreadState* __tstate = wxPyBeginAllowThreads();
20113 delete arg1;
20114
20115 wxPyEndAllowThreads(__tstate);
20116 if (PyErr_Occurred()) SWIG_fail;
20117 }
20118 resultobj = SWIG_Py_Void();
20119 return resultobj;
20120 fail:
20121 return NULL;
20122 }
20123
20124
20125 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20126 PyObject *resultobj = 0;
20127 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20128 wxString *result = 0 ;
20129 void *argp1 = 0 ;
20130 int res1 = 0 ;
20131 PyObject *swig_obj[1] ;
20132
20133 if (!args) SWIG_fail;
20134 swig_obj[0] = args;
20135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20136 if (!SWIG_IsOK(res1)) {
20137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20138 }
20139 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20140 {
20141 PyThreadState* __tstate = wxPyBeginAllowThreads();
20142 {
20143 wxString const &_result_ref = (arg1)->GetFindString();
20144 result = (wxString *) &_result_ref;
20145 }
20146 wxPyEndAllowThreads(__tstate);
20147 if (PyErr_Occurred()) SWIG_fail;
20148 }
20149 {
20150 #if wxUSE_UNICODE
20151 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20152 #else
20153 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20154 #endif
20155 }
20156 return resultobj;
20157 fail:
20158 return NULL;
20159 }
20160
20161
20162 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20163 PyObject *resultobj = 0;
20164 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20165 wxString *result = 0 ;
20166 void *argp1 = 0 ;
20167 int res1 = 0 ;
20168 PyObject *swig_obj[1] ;
20169
20170 if (!args) SWIG_fail;
20171 swig_obj[0] = args;
20172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20173 if (!SWIG_IsOK(res1)) {
20174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20175 }
20176 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20177 {
20178 PyThreadState* __tstate = wxPyBeginAllowThreads();
20179 {
20180 wxString const &_result_ref = (arg1)->GetReplaceString();
20181 result = (wxString *) &_result_ref;
20182 }
20183 wxPyEndAllowThreads(__tstate);
20184 if (PyErr_Occurred()) SWIG_fail;
20185 }
20186 {
20187 #if wxUSE_UNICODE
20188 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20189 #else
20190 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20191 #endif
20192 }
20193 return resultobj;
20194 fail:
20195 return NULL;
20196 }
20197
20198
20199 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20200 PyObject *resultobj = 0;
20201 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20202 int result;
20203 void *argp1 = 0 ;
20204 int res1 = 0 ;
20205 PyObject *swig_obj[1] ;
20206
20207 if (!args) SWIG_fail;
20208 swig_obj[0] = args;
20209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20210 if (!SWIG_IsOK(res1)) {
20211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20212 }
20213 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20214 {
20215 PyThreadState* __tstate = wxPyBeginAllowThreads();
20216 result = (int)(arg1)->GetFlags();
20217 wxPyEndAllowThreads(__tstate);
20218 if (PyErr_Occurred()) SWIG_fail;
20219 }
20220 resultobj = SWIG_From_int(static_cast< int >(result));
20221 return resultobj;
20222 fail:
20223 return NULL;
20224 }
20225
20226
20227 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20228 PyObject *resultobj = 0;
20229 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20230 int arg2 ;
20231 void *argp1 = 0 ;
20232 int res1 = 0 ;
20233 int val2 ;
20234 int ecode2 = 0 ;
20235 PyObject * obj0 = 0 ;
20236 PyObject * obj1 = 0 ;
20237 char * kwnames[] = {
20238 (char *) "self",(char *) "flags", NULL
20239 };
20240
20241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20243 if (!SWIG_IsOK(res1)) {
20244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20245 }
20246 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20247 ecode2 = SWIG_AsVal_int(obj1, &val2);
20248 if (!SWIG_IsOK(ecode2)) {
20249 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20250 }
20251 arg2 = static_cast< int >(val2);
20252 {
20253 PyThreadState* __tstate = wxPyBeginAllowThreads();
20254 (arg1)->SetFlags(arg2);
20255 wxPyEndAllowThreads(__tstate);
20256 if (PyErr_Occurred()) SWIG_fail;
20257 }
20258 resultobj = SWIG_Py_Void();
20259 return resultobj;
20260 fail:
20261 return NULL;
20262 }
20263
20264
20265 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20266 PyObject *resultobj = 0;
20267 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20268 wxString *arg2 = 0 ;
20269 void *argp1 = 0 ;
20270 int res1 = 0 ;
20271 bool temp2 = false ;
20272 PyObject * obj0 = 0 ;
20273 PyObject * obj1 = 0 ;
20274 char * kwnames[] = {
20275 (char *) "self",(char *) "str", NULL
20276 };
20277
20278 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20279 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20280 if (!SWIG_IsOK(res1)) {
20281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20282 }
20283 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20284 {
20285 arg2 = wxString_in_helper(obj1);
20286 if (arg2 == NULL) SWIG_fail;
20287 temp2 = true;
20288 }
20289 {
20290 PyThreadState* __tstate = wxPyBeginAllowThreads();
20291 (arg1)->SetFindString((wxString const &)*arg2);
20292 wxPyEndAllowThreads(__tstate);
20293 if (PyErr_Occurred()) SWIG_fail;
20294 }
20295 resultobj = SWIG_Py_Void();
20296 {
20297 if (temp2)
20298 delete arg2;
20299 }
20300 return resultobj;
20301 fail:
20302 {
20303 if (temp2)
20304 delete arg2;
20305 }
20306 return NULL;
20307 }
20308
20309
20310 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20311 PyObject *resultobj = 0;
20312 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20313 wxString *arg2 = 0 ;
20314 void *argp1 = 0 ;
20315 int res1 = 0 ;
20316 bool temp2 = false ;
20317 PyObject * obj0 = 0 ;
20318 PyObject * obj1 = 0 ;
20319 char * kwnames[] = {
20320 (char *) "self",(char *) "str", NULL
20321 };
20322
20323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20325 if (!SWIG_IsOK(res1)) {
20326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20327 }
20328 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20329 {
20330 arg2 = wxString_in_helper(obj1);
20331 if (arg2 == NULL) SWIG_fail;
20332 temp2 = true;
20333 }
20334 {
20335 PyThreadState* __tstate = wxPyBeginAllowThreads();
20336 (arg1)->SetReplaceString((wxString const &)*arg2);
20337 wxPyEndAllowThreads(__tstate);
20338 if (PyErr_Occurred()) SWIG_fail;
20339 }
20340 resultobj = SWIG_Py_Void();
20341 {
20342 if (temp2)
20343 delete arg2;
20344 }
20345 return resultobj;
20346 fail:
20347 {
20348 if (temp2)
20349 delete arg2;
20350 }
20351 return NULL;
20352 }
20353
20354
20355 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20356 PyObject *obj;
20357 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20358 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20359 return SWIG_Py_Void();
20360 }
20361
20362 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20363 return SWIG_Python_InitShadowInstance(args);
20364 }
20365
20366 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20367 PyObject *resultobj = 0;
20368 wxWindow *arg1 = (wxWindow *) 0 ;
20369 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20370 wxString *arg3 = 0 ;
20371 int arg4 = (int) 0 ;
20372 wxFindReplaceDialog *result = 0 ;
20373 void *argp1 = 0 ;
20374 int res1 = 0 ;
20375 void *argp2 = 0 ;
20376 int res2 = 0 ;
20377 bool temp3 = false ;
20378 int val4 ;
20379 int ecode4 = 0 ;
20380 PyObject * obj0 = 0 ;
20381 PyObject * obj1 = 0 ;
20382 PyObject * obj2 = 0 ;
20383 PyObject * obj3 = 0 ;
20384 char * kwnames[] = {
20385 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20386 };
20387
20388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20390 if (!SWIG_IsOK(res1)) {
20391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20392 }
20393 arg1 = reinterpret_cast< wxWindow * >(argp1);
20394 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20395 if (!SWIG_IsOK(res2)) {
20396 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20397 }
20398 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20399 {
20400 arg3 = wxString_in_helper(obj2);
20401 if (arg3 == NULL) SWIG_fail;
20402 temp3 = true;
20403 }
20404 if (obj3) {
20405 ecode4 = SWIG_AsVal_int(obj3, &val4);
20406 if (!SWIG_IsOK(ecode4)) {
20407 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20408 }
20409 arg4 = static_cast< int >(val4);
20410 }
20411 {
20412 if (!wxPyCheckForApp()) SWIG_fail;
20413 PyThreadState* __tstate = wxPyBeginAllowThreads();
20414 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20415 wxPyEndAllowThreads(__tstate);
20416 if (PyErr_Occurred()) SWIG_fail;
20417 }
20418 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20419 {
20420 if (temp3)
20421 delete arg3;
20422 }
20423 return resultobj;
20424 fail:
20425 {
20426 if (temp3)
20427 delete arg3;
20428 }
20429 return NULL;
20430 }
20431
20432
20433 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20434 PyObject *resultobj = 0;
20435 wxFindReplaceDialog *result = 0 ;
20436
20437 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20438 {
20439 if (!wxPyCheckForApp()) SWIG_fail;
20440 PyThreadState* __tstate = wxPyBeginAllowThreads();
20441 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20442 wxPyEndAllowThreads(__tstate);
20443 if (PyErr_Occurred()) SWIG_fail;
20444 }
20445 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20446 return resultobj;
20447 fail:
20448 return NULL;
20449 }
20450
20451
20452 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20453 PyObject *resultobj = 0;
20454 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20455 wxWindow *arg2 = (wxWindow *) 0 ;
20456 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20457 wxString *arg4 = 0 ;
20458 int arg5 = (int) 0 ;
20459 bool result;
20460 void *argp1 = 0 ;
20461 int res1 = 0 ;
20462 void *argp2 = 0 ;
20463 int res2 = 0 ;
20464 void *argp3 = 0 ;
20465 int res3 = 0 ;
20466 bool temp4 = false ;
20467 int val5 ;
20468 int ecode5 = 0 ;
20469 PyObject * obj0 = 0 ;
20470 PyObject * obj1 = 0 ;
20471 PyObject * obj2 = 0 ;
20472 PyObject * obj3 = 0 ;
20473 PyObject * obj4 = 0 ;
20474 char * kwnames[] = {
20475 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20476 };
20477
20478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20480 if (!SWIG_IsOK(res1)) {
20481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20482 }
20483 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20484 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20485 if (!SWIG_IsOK(res2)) {
20486 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20487 }
20488 arg2 = reinterpret_cast< wxWindow * >(argp2);
20489 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20490 if (!SWIG_IsOK(res3)) {
20491 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20492 }
20493 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20494 {
20495 arg4 = wxString_in_helper(obj3);
20496 if (arg4 == NULL) SWIG_fail;
20497 temp4 = true;
20498 }
20499 if (obj4) {
20500 ecode5 = SWIG_AsVal_int(obj4, &val5);
20501 if (!SWIG_IsOK(ecode5)) {
20502 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20503 }
20504 arg5 = static_cast< int >(val5);
20505 }
20506 {
20507 PyThreadState* __tstate = wxPyBeginAllowThreads();
20508 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20509 wxPyEndAllowThreads(__tstate);
20510 if (PyErr_Occurred()) SWIG_fail;
20511 }
20512 {
20513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20514 }
20515 {
20516 if (temp4)
20517 delete arg4;
20518 }
20519 return resultobj;
20520 fail:
20521 {
20522 if (temp4)
20523 delete arg4;
20524 }
20525 return NULL;
20526 }
20527
20528
20529 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20530 PyObject *resultobj = 0;
20531 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20532 wxFindReplaceData *result = 0 ;
20533 void *argp1 = 0 ;
20534 int res1 = 0 ;
20535 PyObject *swig_obj[1] ;
20536
20537 if (!args) SWIG_fail;
20538 swig_obj[0] = args;
20539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20540 if (!SWIG_IsOK(res1)) {
20541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20542 }
20543 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20544 {
20545 PyThreadState* __tstate = wxPyBeginAllowThreads();
20546 result = (wxFindReplaceData *)(arg1)->GetData();
20547 wxPyEndAllowThreads(__tstate);
20548 if (PyErr_Occurred()) SWIG_fail;
20549 }
20550 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20551 return resultobj;
20552 fail:
20553 return NULL;
20554 }
20555
20556
20557 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20558 PyObject *resultobj = 0;
20559 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20560 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20561 void *argp1 = 0 ;
20562 int res1 = 0 ;
20563 void *argp2 = 0 ;
20564 int res2 = 0 ;
20565 PyObject * obj0 = 0 ;
20566 PyObject * obj1 = 0 ;
20567 char * kwnames[] = {
20568 (char *) "self",(char *) "data", NULL
20569 };
20570
20571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20573 if (!SWIG_IsOK(res1)) {
20574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20575 }
20576 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20577 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20578 if (!SWIG_IsOK(res2)) {
20579 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20580 }
20581 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20582 {
20583 PyThreadState* __tstate = wxPyBeginAllowThreads();
20584 (arg1)->SetData(arg2);
20585 wxPyEndAllowThreads(__tstate);
20586 if (PyErr_Occurred()) SWIG_fail;
20587 }
20588 resultobj = SWIG_Py_Void();
20589 return resultobj;
20590 fail:
20591 return NULL;
20592 }
20593
20594
20595 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20596 PyObject *obj;
20597 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20598 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20599 return SWIG_Py_Void();
20600 }
20601
20602 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20603 return SWIG_Python_InitShadowInstance(args);
20604 }
20605
20606 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20607 PyObject *resultobj = 0;
20608 wxWindow *arg1 = (wxWindow *) 0 ;
20609 int arg2 = (int) (int)-1 ;
20610 wxString const &arg3_defvalue = wxPyEmptyString ;
20611 wxString *arg3 = (wxString *) &arg3_defvalue ;
20612 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20613 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20614 wxSize const &arg5_defvalue = wxDefaultSize ;
20615 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20616 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20617 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20618 wxString *arg7 = (wxString *) &arg7_defvalue ;
20619 wxMDIParentFrame *result = 0 ;
20620 void *argp1 = 0 ;
20621 int res1 = 0 ;
20622 int val2 ;
20623 int ecode2 = 0 ;
20624 bool temp3 = false ;
20625 wxPoint temp4 ;
20626 wxSize temp5 ;
20627 long val6 ;
20628 int ecode6 = 0 ;
20629 bool temp7 = false ;
20630 PyObject * obj0 = 0 ;
20631 PyObject * obj1 = 0 ;
20632 PyObject * obj2 = 0 ;
20633 PyObject * obj3 = 0 ;
20634 PyObject * obj4 = 0 ;
20635 PyObject * obj5 = 0 ;
20636 PyObject * obj6 = 0 ;
20637 char * kwnames[] = {
20638 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20639 };
20640
20641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20643 if (!SWIG_IsOK(res1)) {
20644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20645 }
20646 arg1 = reinterpret_cast< wxWindow * >(argp1);
20647 if (obj1) {
20648 ecode2 = SWIG_AsVal_int(obj1, &val2);
20649 if (!SWIG_IsOK(ecode2)) {
20650 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20651 }
20652 arg2 = static_cast< int >(val2);
20653 }
20654 if (obj2) {
20655 {
20656 arg3 = wxString_in_helper(obj2);
20657 if (arg3 == NULL) SWIG_fail;
20658 temp3 = true;
20659 }
20660 }
20661 if (obj3) {
20662 {
20663 arg4 = &temp4;
20664 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20665 }
20666 }
20667 if (obj4) {
20668 {
20669 arg5 = &temp5;
20670 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20671 }
20672 }
20673 if (obj5) {
20674 ecode6 = SWIG_AsVal_long(obj5, &val6);
20675 if (!SWIG_IsOK(ecode6)) {
20676 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20677 }
20678 arg6 = static_cast< long >(val6);
20679 }
20680 if (obj6) {
20681 {
20682 arg7 = wxString_in_helper(obj6);
20683 if (arg7 == NULL) SWIG_fail;
20684 temp7 = true;
20685 }
20686 }
20687 {
20688 if (!wxPyCheckForApp()) SWIG_fail;
20689 PyThreadState* __tstate = wxPyBeginAllowThreads();
20690 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20691 wxPyEndAllowThreads(__tstate);
20692 if (PyErr_Occurred()) SWIG_fail;
20693 }
20694 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20695 {
20696 if (temp3)
20697 delete arg3;
20698 }
20699 {
20700 if (temp7)
20701 delete arg7;
20702 }
20703 return resultobj;
20704 fail:
20705 {
20706 if (temp3)
20707 delete arg3;
20708 }
20709 {
20710 if (temp7)
20711 delete arg7;
20712 }
20713 return NULL;
20714 }
20715
20716
20717 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20718 PyObject *resultobj = 0;
20719 wxMDIParentFrame *result = 0 ;
20720
20721 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20722 {
20723 if (!wxPyCheckForApp()) SWIG_fail;
20724 PyThreadState* __tstate = wxPyBeginAllowThreads();
20725 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20726 wxPyEndAllowThreads(__tstate);
20727 if (PyErr_Occurred()) SWIG_fail;
20728 }
20729 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20730 return resultobj;
20731 fail:
20732 return NULL;
20733 }
20734
20735
20736 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20737 PyObject *resultobj = 0;
20738 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20739 wxWindow *arg2 = (wxWindow *) 0 ;
20740 int arg3 = (int) (int)-1 ;
20741 wxString const &arg4_defvalue = wxPyEmptyString ;
20742 wxString *arg4 = (wxString *) &arg4_defvalue ;
20743 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20744 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20745 wxSize const &arg6_defvalue = wxDefaultSize ;
20746 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20747 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20748 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20749 wxString *arg8 = (wxString *) &arg8_defvalue ;
20750 bool result;
20751 void *argp1 = 0 ;
20752 int res1 = 0 ;
20753 void *argp2 = 0 ;
20754 int res2 = 0 ;
20755 int val3 ;
20756 int ecode3 = 0 ;
20757 bool temp4 = false ;
20758 wxPoint temp5 ;
20759 wxSize temp6 ;
20760 long val7 ;
20761 int ecode7 = 0 ;
20762 bool temp8 = false ;
20763 PyObject * obj0 = 0 ;
20764 PyObject * obj1 = 0 ;
20765 PyObject * obj2 = 0 ;
20766 PyObject * obj3 = 0 ;
20767 PyObject * obj4 = 0 ;
20768 PyObject * obj5 = 0 ;
20769 PyObject * obj6 = 0 ;
20770 PyObject * obj7 = 0 ;
20771 char * kwnames[] = {
20772 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20773 };
20774
20775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20777 if (!SWIG_IsOK(res1)) {
20778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20779 }
20780 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20781 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20782 if (!SWIG_IsOK(res2)) {
20783 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20784 }
20785 arg2 = reinterpret_cast< wxWindow * >(argp2);
20786 if (obj2) {
20787 ecode3 = SWIG_AsVal_int(obj2, &val3);
20788 if (!SWIG_IsOK(ecode3)) {
20789 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20790 }
20791 arg3 = static_cast< int >(val3);
20792 }
20793 if (obj3) {
20794 {
20795 arg4 = wxString_in_helper(obj3);
20796 if (arg4 == NULL) SWIG_fail;
20797 temp4 = true;
20798 }
20799 }
20800 if (obj4) {
20801 {
20802 arg5 = &temp5;
20803 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20804 }
20805 }
20806 if (obj5) {
20807 {
20808 arg6 = &temp6;
20809 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20810 }
20811 }
20812 if (obj6) {
20813 ecode7 = SWIG_AsVal_long(obj6, &val7);
20814 if (!SWIG_IsOK(ecode7)) {
20815 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20816 }
20817 arg7 = static_cast< long >(val7);
20818 }
20819 if (obj7) {
20820 {
20821 arg8 = wxString_in_helper(obj7);
20822 if (arg8 == NULL) SWIG_fail;
20823 temp8 = true;
20824 }
20825 }
20826 {
20827 PyThreadState* __tstate = wxPyBeginAllowThreads();
20828 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20829 wxPyEndAllowThreads(__tstate);
20830 if (PyErr_Occurred()) SWIG_fail;
20831 }
20832 {
20833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20834 }
20835 {
20836 if (temp4)
20837 delete arg4;
20838 }
20839 {
20840 if (temp8)
20841 delete arg8;
20842 }
20843 return resultobj;
20844 fail:
20845 {
20846 if (temp4)
20847 delete arg4;
20848 }
20849 {
20850 if (temp8)
20851 delete arg8;
20852 }
20853 return NULL;
20854 }
20855
20856
20857 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20858 PyObject *resultobj = 0;
20859 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20860 void *argp1 = 0 ;
20861 int res1 = 0 ;
20862 PyObject *swig_obj[1] ;
20863
20864 if (!args) SWIG_fail;
20865 swig_obj[0] = args;
20866 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20867 if (!SWIG_IsOK(res1)) {
20868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20869 }
20870 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20871 {
20872 PyThreadState* __tstate = wxPyBeginAllowThreads();
20873 (arg1)->ActivateNext();
20874 wxPyEndAllowThreads(__tstate);
20875 if (PyErr_Occurred()) SWIG_fail;
20876 }
20877 resultobj = SWIG_Py_Void();
20878 return resultobj;
20879 fail:
20880 return NULL;
20881 }
20882
20883
20884 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20885 PyObject *resultobj = 0;
20886 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20887 void *argp1 = 0 ;
20888 int res1 = 0 ;
20889 PyObject *swig_obj[1] ;
20890
20891 if (!args) SWIG_fail;
20892 swig_obj[0] = args;
20893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20894 if (!SWIG_IsOK(res1)) {
20895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20896 }
20897 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20898 {
20899 PyThreadState* __tstate = wxPyBeginAllowThreads();
20900 (arg1)->ActivatePrevious();
20901 wxPyEndAllowThreads(__tstate);
20902 if (PyErr_Occurred()) SWIG_fail;
20903 }
20904 resultobj = SWIG_Py_Void();
20905 return resultobj;
20906 fail:
20907 return NULL;
20908 }
20909
20910
20911 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20912 PyObject *resultobj = 0;
20913 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20914 void *argp1 = 0 ;
20915 int res1 = 0 ;
20916 PyObject *swig_obj[1] ;
20917
20918 if (!args) SWIG_fail;
20919 swig_obj[0] = args;
20920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20921 if (!SWIG_IsOK(res1)) {
20922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20923 }
20924 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20925 {
20926 PyThreadState* __tstate = wxPyBeginAllowThreads();
20927 (arg1)->ArrangeIcons();
20928 wxPyEndAllowThreads(__tstate);
20929 if (PyErr_Occurred()) SWIG_fail;
20930 }
20931 resultobj = SWIG_Py_Void();
20932 return resultobj;
20933 fail:
20934 return NULL;
20935 }
20936
20937
20938 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20939 PyObject *resultobj = 0;
20940 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20941 void *argp1 = 0 ;
20942 int res1 = 0 ;
20943 PyObject *swig_obj[1] ;
20944
20945 if (!args) SWIG_fail;
20946 swig_obj[0] = args;
20947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20948 if (!SWIG_IsOK(res1)) {
20949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20950 }
20951 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20952 {
20953 PyThreadState* __tstate = wxPyBeginAllowThreads();
20954 (arg1)->Cascade();
20955 wxPyEndAllowThreads(__tstate);
20956 if (PyErr_Occurred()) SWIG_fail;
20957 }
20958 resultobj = SWIG_Py_Void();
20959 return resultobj;
20960 fail:
20961 return NULL;
20962 }
20963
20964
20965 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20966 PyObject *resultobj = 0;
20967 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20968 wxMDIChildFrame *result = 0 ;
20969 void *argp1 = 0 ;
20970 int res1 = 0 ;
20971 PyObject *swig_obj[1] ;
20972
20973 if (!args) SWIG_fail;
20974 swig_obj[0] = args;
20975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20976 if (!SWIG_IsOK(res1)) {
20977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20978 }
20979 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20980 {
20981 PyThreadState* __tstate = wxPyBeginAllowThreads();
20982 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20983 wxPyEndAllowThreads(__tstate);
20984 if (PyErr_Occurred()) SWIG_fail;
20985 }
20986 {
20987 resultobj = wxPyMake_wxObject(result, (bool)0);
20988 }
20989 return resultobj;
20990 fail:
20991 return NULL;
20992 }
20993
20994
20995 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20996 PyObject *resultobj = 0;
20997 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20998 wxMDIClientWindow *result = 0 ;
20999 void *argp1 = 0 ;
21000 int res1 = 0 ;
21001 PyObject *swig_obj[1] ;
21002
21003 if (!args) SWIG_fail;
21004 swig_obj[0] = args;
21005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21006 if (!SWIG_IsOK(res1)) {
21007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21008 }
21009 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21010 {
21011 PyThreadState* __tstate = wxPyBeginAllowThreads();
21012 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
21013 wxPyEndAllowThreads(__tstate);
21014 if (PyErr_Occurred()) SWIG_fail;
21015 }
21016 {
21017 resultobj = wxPyMake_wxObject(result, (bool)0);
21018 }
21019 return resultobj;
21020 fail:
21021 return NULL;
21022 }
21023
21024
21025 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21026 PyObject *resultobj = 0;
21027 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21028 wxMenu *result = 0 ;
21029 void *argp1 = 0 ;
21030 int res1 = 0 ;
21031 PyObject *swig_obj[1] ;
21032
21033 if (!args) SWIG_fail;
21034 swig_obj[0] = args;
21035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21036 if (!SWIG_IsOK(res1)) {
21037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21038 }
21039 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21040 {
21041 PyThreadState* __tstate = wxPyBeginAllowThreads();
21042 result = (wxMenu *)(arg1)->GetWindowMenu();
21043 wxPyEndAllowThreads(__tstate);
21044 if (PyErr_Occurred()) SWIG_fail;
21045 }
21046 {
21047 resultobj = wxPyMake_wxObject(result, 0);
21048 }
21049 return resultobj;
21050 fail:
21051 return NULL;
21052 }
21053
21054
21055 SWIGINTERN PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21056 PyObject *resultobj = 0;
21057 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21058 wxMenu *arg2 = (wxMenu *) 0 ;
21059 void *argp1 = 0 ;
21060 int res1 = 0 ;
21061 void *argp2 = 0 ;
21062 int res2 = 0 ;
21063 PyObject * obj0 = 0 ;
21064 PyObject * obj1 = 0 ;
21065 char * kwnames[] = {
21066 (char *) "self",(char *) "menu", NULL
21067 };
21068
21069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail;
21070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21071 if (!SWIG_IsOK(res1)) {
21072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21073 }
21074 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21075 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
21076 if (!SWIG_IsOK(res2)) {
21077 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
21078 }
21079 arg2 = reinterpret_cast< wxMenu * >(argp2);
21080 {
21081 PyThreadState* __tstate = wxPyBeginAllowThreads();
21082 (arg1)->SetWindowMenu(arg2);
21083 wxPyEndAllowThreads(__tstate);
21084 if (PyErr_Occurred()) SWIG_fail;
21085 }
21086 resultobj = SWIG_Py_Void();
21087 return resultobj;
21088 fail:
21089 return NULL;
21090 }
21091
21092
21093 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21094 PyObject *resultobj = 0;
21095 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21096 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
21097 void *argp1 = 0 ;
21098 int res1 = 0 ;
21099 int val2 ;
21100 int ecode2 = 0 ;
21101 PyObject * obj0 = 0 ;
21102 PyObject * obj1 = 0 ;
21103 char * kwnames[] = {
21104 (char *) "self",(char *) "orient", NULL
21105 };
21106
21107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
21108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21109 if (!SWIG_IsOK(res1)) {
21110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21111 }
21112 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21113 if (obj1) {
21114 ecode2 = SWIG_AsVal_int(obj1, &val2);
21115 if (!SWIG_IsOK(ecode2)) {
21116 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21117 }
21118 arg2 = static_cast< wxOrientation >(val2);
21119 }
21120 {
21121 PyThreadState* __tstate = wxPyBeginAllowThreads();
21122 (arg1)->Tile(arg2);
21123 wxPyEndAllowThreads(__tstate);
21124 if (PyErr_Occurred()) SWIG_fail;
21125 }
21126 resultobj = SWIG_Py_Void();
21127 return resultobj;
21128 fail:
21129 return NULL;
21130 }
21131
21132
21133 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21134 PyObject *obj;
21135 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21136 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21137 return SWIG_Py_Void();
21138 }
21139
21140 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21141 return SWIG_Python_InitShadowInstance(args);
21142 }
21143
21144 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21145 PyObject *resultobj = 0;
21146 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21147 int arg2 = (int) (int)-1 ;
21148 wxString const &arg3_defvalue = wxPyEmptyString ;
21149 wxString *arg3 = (wxString *) &arg3_defvalue ;
21150 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21151 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21152 wxSize const &arg5_defvalue = wxDefaultSize ;
21153 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21154 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21155 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21156 wxString *arg7 = (wxString *) &arg7_defvalue ;
21157 wxMDIChildFrame *result = 0 ;
21158 void *argp1 = 0 ;
21159 int res1 = 0 ;
21160 int val2 ;
21161 int ecode2 = 0 ;
21162 bool temp3 = false ;
21163 wxPoint temp4 ;
21164 wxSize temp5 ;
21165 long val6 ;
21166 int ecode6 = 0 ;
21167 bool temp7 = false ;
21168 PyObject * obj0 = 0 ;
21169 PyObject * obj1 = 0 ;
21170 PyObject * obj2 = 0 ;
21171 PyObject * obj3 = 0 ;
21172 PyObject * obj4 = 0 ;
21173 PyObject * obj5 = 0 ;
21174 PyObject * obj6 = 0 ;
21175 char * kwnames[] = {
21176 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21177 };
21178
21179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21181 if (!SWIG_IsOK(res1)) {
21182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21183 }
21184 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21185 if (obj1) {
21186 ecode2 = SWIG_AsVal_int(obj1, &val2);
21187 if (!SWIG_IsOK(ecode2)) {
21188 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21189 }
21190 arg2 = static_cast< int >(val2);
21191 }
21192 if (obj2) {
21193 {
21194 arg3 = wxString_in_helper(obj2);
21195 if (arg3 == NULL) SWIG_fail;
21196 temp3 = true;
21197 }
21198 }
21199 if (obj3) {
21200 {
21201 arg4 = &temp4;
21202 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21203 }
21204 }
21205 if (obj4) {
21206 {
21207 arg5 = &temp5;
21208 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21209 }
21210 }
21211 if (obj5) {
21212 ecode6 = SWIG_AsVal_long(obj5, &val6);
21213 if (!SWIG_IsOK(ecode6)) {
21214 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21215 }
21216 arg6 = static_cast< long >(val6);
21217 }
21218 if (obj6) {
21219 {
21220 arg7 = wxString_in_helper(obj6);
21221 if (arg7 == NULL) SWIG_fail;
21222 temp7 = true;
21223 }
21224 }
21225 {
21226 if (!wxPyCheckForApp()) SWIG_fail;
21227 PyThreadState* __tstate = wxPyBeginAllowThreads();
21228 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21229 wxPyEndAllowThreads(__tstate);
21230 if (PyErr_Occurred()) SWIG_fail;
21231 }
21232 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21233 {
21234 if (temp3)
21235 delete arg3;
21236 }
21237 {
21238 if (temp7)
21239 delete arg7;
21240 }
21241 return resultobj;
21242 fail:
21243 {
21244 if (temp3)
21245 delete arg3;
21246 }
21247 {
21248 if (temp7)
21249 delete arg7;
21250 }
21251 return NULL;
21252 }
21253
21254
21255 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21256 PyObject *resultobj = 0;
21257 wxMDIChildFrame *result = 0 ;
21258
21259 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21260 {
21261 if (!wxPyCheckForApp()) SWIG_fail;
21262 PyThreadState* __tstate = wxPyBeginAllowThreads();
21263 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21264 wxPyEndAllowThreads(__tstate);
21265 if (PyErr_Occurred()) SWIG_fail;
21266 }
21267 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21268 return resultobj;
21269 fail:
21270 return NULL;
21271 }
21272
21273
21274 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21275 PyObject *resultobj = 0;
21276 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21277 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21278 int arg3 = (int) (int)-1 ;
21279 wxString const &arg4_defvalue = wxPyEmptyString ;
21280 wxString *arg4 = (wxString *) &arg4_defvalue ;
21281 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21282 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21283 wxSize const &arg6_defvalue = wxDefaultSize ;
21284 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21285 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21286 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21287 wxString *arg8 = (wxString *) &arg8_defvalue ;
21288 bool result;
21289 void *argp1 = 0 ;
21290 int res1 = 0 ;
21291 void *argp2 = 0 ;
21292 int res2 = 0 ;
21293 int val3 ;
21294 int ecode3 = 0 ;
21295 bool temp4 = false ;
21296 wxPoint temp5 ;
21297 wxSize temp6 ;
21298 long val7 ;
21299 int ecode7 = 0 ;
21300 bool temp8 = false ;
21301 PyObject * obj0 = 0 ;
21302 PyObject * obj1 = 0 ;
21303 PyObject * obj2 = 0 ;
21304 PyObject * obj3 = 0 ;
21305 PyObject * obj4 = 0 ;
21306 PyObject * obj5 = 0 ;
21307 PyObject * obj6 = 0 ;
21308 PyObject * obj7 = 0 ;
21309 char * kwnames[] = {
21310 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21311 };
21312
21313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21315 if (!SWIG_IsOK(res1)) {
21316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21317 }
21318 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21319 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21320 if (!SWIG_IsOK(res2)) {
21321 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21322 }
21323 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21324 if (obj2) {
21325 ecode3 = SWIG_AsVal_int(obj2, &val3);
21326 if (!SWIG_IsOK(ecode3)) {
21327 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21328 }
21329 arg3 = static_cast< int >(val3);
21330 }
21331 if (obj3) {
21332 {
21333 arg4 = wxString_in_helper(obj3);
21334 if (arg4 == NULL) SWIG_fail;
21335 temp4 = true;
21336 }
21337 }
21338 if (obj4) {
21339 {
21340 arg5 = &temp5;
21341 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21342 }
21343 }
21344 if (obj5) {
21345 {
21346 arg6 = &temp6;
21347 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21348 }
21349 }
21350 if (obj6) {
21351 ecode7 = SWIG_AsVal_long(obj6, &val7);
21352 if (!SWIG_IsOK(ecode7)) {
21353 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21354 }
21355 arg7 = static_cast< long >(val7);
21356 }
21357 if (obj7) {
21358 {
21359 arg8 = wxString_in_helper(obj7);
21360 if (arg8 == NULL) SWIG_fail;
21361 temp8 = true;
21362 }
21363 }
21364 {
21365 PyThreadState* __tstate = wxPyBeginAllowThreads();
21366 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21367 wxPyEndAllowThreads(__tstate);
21368 if (PyErr_Occurred()) SWIG_fail;
21369 }
21370 {
21371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21372 }
21373 {
21374 if (temp4)
21375 delete arg4;
21376 }
21377 {
21378 if (temp8)
21379 delete arg8;
21380 }
21381 return resultobj;
21382 fail:
21383 {
21384 if (temp4)
21385 delete arg4;
21386 }
21387 {
21388 if (temp8)
21389 delete arg8;
21390 }
21391 return NULL;
21392 }
21393
21394
21395 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21396 PyObject *resultobj = 0;
21397 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21398 void *argp1 = 0 ;
21399 int res1 = 0 ;
21400 PyObject *swig_obj[1] ;
21401
21402 if (!args) SWIG_fail;
21403 swig_obj[0] = args;
21404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21405 if (!SWIG_IsOK(res1)) {
21406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21407 }
21408 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21409 {
21410 PyThreadState* __tstate = wxPyBeginAllowThreads();
21411 (arg1)->Activate();
21412 wxPyEndAllowThreads(__tstate);
21413 if (PyErr_Occurred()) SWIG_fail;
21414 }
21415 resultobj = SWIG_Py_Void();
21416 return resultobj;
21417 fail:
21418 return NULL;
21419 }
21420
21421
21422 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21423 PyObject *obj;
21424 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21425 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21426 return SWIG_Py_Void();
21427 }
21428
21429 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21430 return SWIG_Python_InitShadowInstance(args);
21431 }
21432
21433 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21434 PyObject *resultobj = 0;
21435 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21436 long arg2 = (long) 0 ;
21437 wxMDIClientWindow *result = 0 ;
21438 void *argp1 = 0 ;
21439 int res1 = 0 ;
21440 long val2 ;
21441 int ecode2 = 0 ;
21442 PyObject * obj0 = 0 ;
21443 PyObject * obj1 = 0 ;
21444 char * kwnames[] = {
21445 (char *) "parent",(char *) "style", NULL
21446 };
21447
21448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21450 if (!SWIG_IsOK(res1)) {
21451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21452 }
21453 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21454 if (obj1) {
21455 ecode2 = SWIG_AsVal_long(obj1, &val2);
21456 if (!SWIG_IsOK(ecode2)) {
21457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21458 }
21459 arg2 = static_cast< long >(val2);
21460 }
21461 {
21462 if (!wxPyCheckForApp()) SWIG_fail;
21463 PyThreadState* __tstate = wxPyBeginAllowThreads();
21464 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21465 wxPyEndAllowThreads(__tstate);
21466 if (PyErr_Occurred()) SWIG_fail;
21467 }
21468 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21469 return resultobj;
21470 fail:
21471 return NULL;
21472 }
21473
21474
21475 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21476 PyObject *resultobj = 0;
21477 wxMDIClientWindow *result = 0 ;
21478
21479 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21480 {
21481 if (!wxPyCheckForApp()) SWIG_fail;
21482 PyThreadState* __tstate = wxPyBeginAllowThreads();
21483 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21484 wxPyEndAllowThreads(__tstate);
21485 if (PyErr_Occurred()) SWIG_fail;
21486 }
21487 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21488 return resultobj;
21489 fail:
21490 return NULL;
21491 }
21492
21493
21494 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21495 PyObject *resultobj = 0;
21496 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21497 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21498 long arg3 = (long) 0 ;
21499 bool result;
21500 void *argp1 = 0 ;
21501 int res1 = 0 ;
21502 void *argp2 = 0 ;
21503 int res2 = 0 ;
21504 long val3 ;
21505 int ecode3 = 0 ;
21506 PyObject * obj0 = 0 ;
21507 PyObject * obj1 = 0 ;
21508 PyObject * obj2 = 0 ;
21509 char * kwnames[] = {
21510 (char *) "self",(char *) "parent",(char *) "style", NULL
21511 };
21512
21513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21515 if (!SWIG_IsOK(res1)) {
21516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21517 }
21518 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21519 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21520 if (!SWIG_IsOK(res2)) {
21521 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21522 }
21523 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21524 if (obj2) {
21525 ecode3 = SWIG_AsVal_long(obj2, &val3);
21526 if (!SWIG_IsOK(ecode3)) {
21527 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21528 }
21529 arg3 = static_cast< long >(val3);
21530 }
21531 {
21532 PyThreadState* __tstate = wxPyBeginAllowThreads();
21533 result = (bool)(arg1)->Create(arg2,arg3);
21534 wxPyEndAllowThreads(__tstate);
21535 if (PyErr_Occurred()) SWIG_fail;
21536 }
21537 {
21538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21539 }
21540 return resultobj;
21541 fail:
21542 return NULL;
21543 }
21544
21545
21546 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21547 PyObject *obj;
21548 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21549 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21550 return SWIG_Py_Void();
21551 }
21552
21553 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21554 return SWIG_Python_InitShadowInstance(args);
21555 }
21556
21557 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21558 PyObject *resultobj = 0;
21559 wxWindow *arg1 = (wxWindow *) 0 ;
21560 int arg2 = (int) (int)-1 ;
21561 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21562 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21563 wxSize const &arg4_defvalue = wxDefaultSize ;
21564 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21565 long arg5 = (long) 0 ;
21566 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21567 wxString *arg6 = (wxString *) &arg6_defvalue ;
21568 wxPyWindow *result = 0 ;
21569 void *argp1 = 0 ;
21570 int res1 = 0 ;
21571 int val2 ;
21572 int ecode2 = 0 ;
21573 wxPoint temp3 ;
21574 wxSize temp4 ;
21575 long val5 ;
21576 int ecode5 = 0 ;
21577 bool temp6 = false ;
21578 PyObject * obj0 = 0 ;
21579 PyObject * obj1 = 0 ;
21580 PyObject * obj2 = 0 ;
21581 PyObject * obj3 = 0 ;
21582 PyObject * obj4 = 0 ;
21583 PyObject * obj5 = 0 ;
21584 char * kwnames[] = {
21585 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21586 };
21587
21588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21590 if (!SWIG_IsOK(res1)) {
21591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21592 }
21593 arg1 = reinterpret_cast< wxWindow * >(argp1);
21594 if (obj1) {
21595 ecode2 = SWIG_AsVal_int(obj1, &val2);
21596 if (!SWIG_IsOK(ecode2)) {
21597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21598 }
21599 arg2 = static_cast< int >(val2);
21600 }
21601 if (obj2) {
21602 {
21603 arg3 = &temp3;
21604 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21605 }
21606 }
21607 if (obj3) {
21608 {
21609 arg4 = &temp4;
21610 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21611 }
21612 }
21613 if (obj4) {
21614 ecode5 = SWIG_AsVal_long(obj4, &val5);
21615 if (!SWIG_IsOK(ecode5)) {
21616 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21617 }
21618 arg5 = static_cast< long >(val5);
21619 }
21620 if (obj5) {
21621 {
21622 arg6 = wxString_in_helper(obj5);
21623 if (arg6 == NULL) SWIG_fail;
21624 temp6 = true;
21625 }
21626 }
21627 {
21628 if (!wxPyCheckForApp()) SWIG_fail;
21629 PyThreadState* __tstate = wxPyBeginAllowThreads();
21630 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21631 wxPyEndAllowThreads(__tstate);
21632 if (PyErr_Occurred()) SWIG_fail;
21633 }
21634 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21635 {
21636 if (temp6)
21637 delete arg6;
21638 }
21639 return resultobj;
21640 fail:
21641 {
21642 if (temp6)
21643 delete arg6;
21644 }
21645 return NULL;
21646 }
21647
21648
21649 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21650 PyObject *resultobj = 0;
21651 wxPyWindow *result = 0 ;
21652
21653 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21654 {
21655 if (!wxPyCheckForApp()) SWIG_fail;
21656 PyThreadState* __tstate = wxPyBeginAllowThreads();
21657 result = (wxPyWindow *)new wxPyWindow();
21658 wxPyEndAllowThreads(__tstate);
21659 if (PyErr_Occurred()) SWIG_fail;
21660 }
21661 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21662 return resultobj;
21663 fail:
21664 return NULL;
21665 }
21666
21667
21668 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21669 PyObject *resultobj = 0;
21670 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21671 PyObject *arg2 = (PyObject *) 0 ;
21672 PyObject *arg3 = (PyObject *) 0 ;
21673 void *argp1 = 0 ;
21674 int res1 = 0 ;
21675 PyObject * obj0 = 0 ;
21676 PyObject * obj1 = 0 ;
21677 PyObject * obj2 = 0 ;
21678 char * kwnames[] = {
21679 (char *) "self",(char *) "self",(char *) "_class", NULL
21680 };
21681
21682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21684 if (!SWIG_IsOK(res1)) {
21685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21686 }
21687 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21688 arg2 = obj1;
21689 arg3 = obj2;
21690 {
21691 PyThreadState* __tstate = wxPyBeginAllowThreads();
21692 (arg1)->_setCallbackInfo(arg2,arg3);
21693 wxPyEndAllowThreads(__tstate);
21694 if (PyErr_Occurred()) SWIG_fail;
21695 }
21696 resultobj = SWIG_Py_Void();
21697 return resultobj;
21698 fail:
21699 return NULL;
21700 }
21701
21702
21703 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21704 PyObject *resultobj = 0;
21705 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21706 wxSize *arg2 = 0 ;
21707 void *argp1 = 0 ;
21708 int res1 = 0 ;
21709 wxSize temp2 ;
21710 PyObject * obj0 = 0 ;
21711 PyObject * obj1 = 0 ;
21712 char * kwnames[] = {
21713 (char *) "self",(char *) "size", NULL
21714 };
21715
21716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21718 if (!SWIG_IsOK(res1)) {
21719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21720 }
21721 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21722 {
21723 arg2 = &temp2;
21724 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21725 }
21726 {
21727 PyThreadState* __tstate = wxPyBeginAllowThreads();
21728 (arg1)->SetBestSize((wxSize const &)*arg2);
21729 wxPyEndAllowThreads(__tstate);
21730 if (PyErr_Occurred()) SWIG_fail;
21731 }
21732 resultobj = SWIG_Py_Void();
21733 return resultobj;
21734 fail:
21735 return NULL;
21736 }
21737
21738
21739 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21740 PyObject *resultobj = 0;
21741 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21742 wxDC *arg2 = (wxDC *) 0 ;
21743 bool result;
21744 void *argp1 = 0 ;
21745 int res1 = 0 ;
21746 void *argp2 = 0 ;
21747 int res2 = 0 ;
21748 PyObject * obj0 = 0 ;
21749 PyObject * obj1 = 0 ;
21750 char * kwnames[] = {
21751 (char *) "self",(char *) "dc", NULL
21752 };
21753
21754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21756 if (!SWIG_IsOK(res1)) {
21757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21758 }
21759 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21760 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21761 if (!SWIG_IsOK(res2)) {
21762 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21763 }
21764 arg2 = reinterpret_cast< wxDC * >(argp2);
21765 {
21766 PyThreadState* __tstate = wxPyBeginAllowThreads();
21767 result = (bool)(arg1)->DoEraseBackground(arg2);
21768 wxPyEndAllowThreads(__tstate);
21769 if (PyErr_Occurred()) SWIG_fail;
21770 }
21771 {
21772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21773 }
21774 return resultobj;
21775 fail:
21776 return NULL;
21777 }
21778
21779
21780 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21781 PyObject *resultobj = 0;
21782 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21783 int arg2 ;
21784 int arg3 ;
21785 int arg4 ;
21786 int arg5 ;
21787 void *argp1 = 0 ;
21788 int res1 = 0 ;
21789 int val2 ;
21790 int ecode2 = 0 ;
21791 int val3 ;
21792 int ecode3 = 0 ;
21793 int val4 ;
21794 int ecode4 = 0 ;
21795 int val5 ;
21796 int ecode5 = 0 ;
21797 PyObject * obj0 = 0 ;
21798 PyObject * obj1 = 0 ;
21799 PyObject * obj2 = 0 ;
21800 PyObject * obj3 = 0 ;
21801 PyObject * obj4 = 0 ;
21802 char * kwnames[] = {
21803 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21804 };
21805
21806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21808 if (!SWIG_IsOK(res1)) {
21809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21810 }
21811 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21812 ecode2 = SWIG_AsVal_int(obj1, &val2);
21813 if (!SWIG_IsOK(ecode2)) {
21814 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21815 }
21816 arg2 = static_cast< int >(val2);
21817 ecode3 = SWIG_AsVal_int(obj2, &val3);
21818 if (!SWIG_IsOK(ecode3)) {
21819 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21820 }
21821 arg3 = static_cast< int >(val3);
21822 ecode4 = SWIG_AsVal_int(obj3, &val4);
21823 if (!SWIG_IsOK(ecode4)) {
21824 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21825 }
21826 arg4 = static_cast< int >(val4);
21827 ecode5 = SWIG_AsVal_int(obj4, &val5);
21828 if (!SWIG_IsOK(ecode5)) {
21829 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21830 }
21831 arg5 = static_cast< int >(val5);
21832 {
21833 PyThreadState* __tstate = wxPyBeginAllowThreads();
21834 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21835 wxPyEndAllowThreads(__tstate);
21836 if (PyErr_Occurred()) SWIG_fail;
21837 }
21838 resultobj = SWIG_Py_Void();
21839 return resultobj;
21840 fail:
21841 return NULL;
21842 }
21843
21844
21845 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21846 PyObject *resultobj = 0;
21847 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21848 int arg2 ;
21849 int arg3 ;
21850 int arg4 ;
21851 int arg5 ;
21852 int arg6 = (int) wxSIZE_AUTO ;
21853 void *argp1 = 0 ;
21854 int res1 = 0 ;
21855 int val2 ;
21856 int ecode2 = 0 ;
21857 int val3 ;
21858 int ecode3 = 0 ;
21859 int val4 ;
21860 int ecode4 = 0 ;
21861 int val5 ;
21862 int ecode5 = 0 ;
21863 int val6 ;
21864 int ecode6 = 0 ;
21865 PyObject * obj0 = 0 ;
21866 PyObject * obj1 = 0 ;
21867 PyObject * obj2 = 0 ;
21868 PyObject * obj3 = 0 ;
21869 PyObject * obj4 = 0 ;
21870 PyObject * obj5 = 0 ;
21871 char * kwnames[] = {
21872 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21873 };
21874
21875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21877 if (!SWIG_IsOK(res1)) {
21878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21879 }
21880 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21881 ecode2 = SWIG_AsVal_int(obj1, &val2);
21882 if (!SWIG_IsOK(ecode2)) {
21883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21884 }
21885 arg2 = static_cast< int >(val2);
21886 ecode3 = SWIG_AsVal_int(obj2, &val3);
21887 if (!SWIG_IsOK(ecode3)) {
21888 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21889 }
21890 arg3 = static_cast< int >(val3);
21891 ecode4 = SWIG_AsVal_int(obj3, &val4);
21892 if (!SWIG_IsOK(ecode4)) {
21893 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21894 }
21895 arg4 = static_cast< int >(val4);
21896 ecode5 = SWIG_AsVal_int(obj4, &val5);
21897 if (!SWIG_IsOK(ecode5)) {
21898 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21899 }
21900 arg5 = static_cast< int >(val5);
21901 if (obj5) {
21902 ecode6 = SWIG_AsVal_int(obj5, &val6);
21903 if (!SWIG_IsOK(ecode6)) {
21904 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21905 }
21906 arg6 = static_cast< int >(val6);
21907 }
21908 {
21909 PyThreadState* __tstate = wxPyBeginAllowThreads();
21910 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21911 wxPyEndAllowThreads(__tstate);
21912 if (PyErr_Occurred()) SWIG_fail;
21913 }
21914 resultobj = SWIG_Py_Void();
21915 return resultobj;
21916 fail:
21917 return NULL;
21918 }
21919
21920
21921 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21922 PyObject *resultobj = 0;
21923 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21924 int arg2 ;
21925 int arg3 ;
21926 void *argp1 = 0 ;
21927 int res1 = 0 ;
21928 int val2 ;
21929 int ecode2 = 0 ;
21930 int val3 ;
21931 int ecode3 = 0 ;
21932 PyObject * obj0 = 0 ;
21933 PyObject * obj1 = 0 ;
21934 PyObject * obj2 = 0 ;
21935 char * kwnames[] = {
21936 (char *) "self",(char *) "width",(char *) "height", NULL
21937 };
21938
21939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21941 if (!SWIG_IsOK(res1)) {
21942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21943 }
21944 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21945 ecode2 = SWIG_AsVal_int(obj1, &val2);
21946 if (!SWIG_IsOK(ecode2)) {
21947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21948 }
21949 arg2 = static_cast< int >(val2);
21950 ecode3 = SWIG_AsVal_int(obj2, &val3);
21951 if (!SWIG_IsOK(ecode3)) {
21952 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21953 }
21954 arg3 = static_cast< int >(val3);
21955 {
21956 PyThreadState* __tstate = wxPyBeginAllowThreads();
21957 (arg1)->DoSetClientSize(arg2,arg3);
21958 wxPyEndAllowThreads(__tstate);
21959 if (PyErr_Occurred()) SWIG_fail;
21960 }
21961 resultobj = SWIG_Py_Void();
21962 return resultobj;
21963 fail:
21964 return NULL;
21965 }
21966
21967
21968 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21969 PyObject *resultobj = 0;
21970 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21971 int arg2 ;
21972 int arg3 ;
21973 void *argp1 = 0 ;
21974 int res1 = 0 ;
21975 int val2 ;
21976 int ecode2 = 0 ;
21977 int val3 ;
21978 int ecode3 = 0 ;
21979 PyObject * obj0 = 0 ;
21980 PyObject * obj1 = 0 ;
21981 PyObject * obj2 = 0 ;
21982 char * kwnames[] = {
21983 (char *) "self",(char *) "x",(char *) "y", NULL
21984 };
21985
21986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21988 if (!SWIG_IsOK(res1)) {
21989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21990 }
21991 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21992 ecode2 = SWIG_AsVal_int(obj1, &val2);
21993 if (!SWIG_IsOK(ecode2)) {
21994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21995 }
21996 arg2 = static_cast< int >(val2);
21997 ecode3 = SWIG_AsVal_int(obj2, &val3);
21998 if (!SWIG_IsOK(ecode3)) {
21999 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22000 }
22001 arg3 = static_cast< int >(val3);
22002 {
22003 PyThreadState* __tstate = wxPyBeginAllowThreads();
22004 (arg1)->DoSetVirtualSize(arg2,arg3);
22005 wxPyEndAllowThreads(__tstate);
22006 if (PyErr_Occurred()) SWIG_fail;
22007 }
22008 resultobj = SWIG_Py_Void();
22009 return resultobj;
22010 fail:
22011 return NULL;
22012 }
22013
22014
22015 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22016 PyObject *resultobj = 0;
22017 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22018 int *arg2 = (int *) 0 ;
22019 int *arg3 = (int *) 0 ;
22020 void *argp1 = 0 ;
22021 int res1 = 0 ;
22022 int temp2 ;
22023 int res2 = SWIG_TMPOBJ ;
22024 int temp3 ;
22025 int res3 = SWIG_TMPOBJ ;
22026 PyObject *swig_obj[1] ;
22027
22028 arg2 = &temp2;
22029 arg3 = &temp3;
22030 if (!args) SWIG_fail;
22031 swig_obj[0] = args;
22032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22033 if (!SWIG_IsOK(res1)) {
22034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22035 }
22036 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22037 {
22038 PyThreadState* __tstate = wxPyBeginAllowThreads();
22039 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
22040 wxPyEndAllowThreads(__tstate);
22041 if (PyErr_Occurred()) SWIG_fail;
22042 }
22043 resultobj = SWIG_Py_Void();
22044 if (SWIG_IsTmpObj(res2)) {
22045 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22046 } else {
22047 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22048 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22049 }
22050 if (SWIG_IsTmpObj(res3)) {
22051 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22052 } else {
22053 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22054 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22055 }
22056 return resultobj;
22057 fail:
22058 return NULL;
22059 }
22060
22061
22062 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22063 PyObject *resultobj = 0;
22064 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22065 int *arg2 = (int *) 0 ;
22066 int *arg3 = (int *) 0 ;
22067 void *argp1 = 0 ;
22068 int res1 = 0 ;
22069 int temp2 ;
22070 int res2 = SWIG_TMPOBJ ;
22071 int temp3 ;
22072 int res3 = SWIG_TMPOBJ ;
22073 PyObject *swig_obj[1] ;
22074
22075 arg2 = &temp2;
22076 arg3 = &temp3;
22077 if (!args) SWIG_fail;
22078 swig_obj[0] = args;
22079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22080 if (!SWIG_IsOK(res1)) {
22081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22082 }
22083 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22084 {
22085 PyThreadState* __tstate = wxPyBeginAllowThreads();
22086 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22087 wxPyEndAllowThreads(__tstate);
22088 if (PyErr_Occurred()) SWIG_fail;
22089 }
22090 resultobj = SWIG_Py_Void();
22091 if (SWIG_IsTmpObj(res2)) {
22092 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22093 } else {
22094 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22095 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22096 }
22097 if (SWIG_IsTmpObj(res3)) {
22098 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22099 } else {
22100 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22101 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22102 }
22103 return resultobj;
22104 fail:
22105 return NULL;
22106 }
22107
22108
22109 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22110 PyObject *resultobj = 0;
22111 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22112 int *arg2 = (int *) 0 ;
22113 int *arg3 = (int *) 0 ;
22114 void *argp1 = 0 ;
22115 int res1 = 0 ;
22116 int temp2 ;
22117 int res2 = SWIG_TMPOBJ ;
22118 int temp3 ;
22119 int res3 = SWIG_TMPOBJ ;
22120 PyObject *swig_obj[1] ;
22121
22122 arg2 = &temp2;
22123 arg3 = &temp3;
22124 if (!args) SWIG_fail;
22125 swig_obj[0] = args;
22126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22127 if (!SWIG_IsOK(res1)) {
22128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22129 }
22130 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22131 {
22132 PyThreadState* __tstate = wxPyBeginAllowThreads();
22133 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22134 wxPyEndAllowThreads(__tstate);
22135 if (PyErr_Occurred()) SWIG_fail;
22136 }
22137 resultobj = SWIG_Py_Void();
22138 if (SWIG_IsTmpObj(res2)) {
22139 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22140 } else {
22141 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22142 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22143 }
22144 if (SWIG_IsTmpObj(res3)) {
22145 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22146 } else {
22147 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22148 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22149 }
22150 return resultobj;
22151 fail:
22152 return NULL;
22153 }
22154
22155
22156 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22157 PyObject *resultobj = 0;
22158 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22159 wxSize result;
22160 void *argp1 = 0 ;
22161 int res1 = 0 ;
22162 PyObject *swig_obj[1] ;
22163
22164 if (!args) SWIG_fail;
22165 swig_obj[0] = args;
22166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22167 if (!SWIG_IsOK(res1)) {
22168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22169 }
22170 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22171 {
22172 PyThreadState* __tstate = wxPyBeginAllowThreads();
22173 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22174 wxPyEndAllowThreads(__tstate);
22175 if (PyErr_Occurred()) SWIG_fail;
22176 }
22177 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22178 return resultobj;
22179 fail:
22180 return NULL;
22181 }
22182
22183
22184 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22185 PyObject *resultobj = 0;
22186 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22187 wxSize result;
22188 void *argp1 = 0 ;
22189 int res1 = 0 ;
22190 PyObject *swig_obj[1] ;
22191
22192 if (!args) SWIG_fail;
22193 swig_obj[0] = args;
22194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22195 if (!SWIG_IsOK(res1)) {
22196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22197 }
22198 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22199 {
22200 PyThreadState* __tstate = wxPyBeginAllowThreads();
22201 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22202 wxPyEndAllowThreads(__tstate);
22203 if (PyErr_Occurred()) SWIG_fail;
22204 }
22205 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22206 return resultobj;
22207 fail:
22208 return NULL;
22209 }
22210
22211
22212 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22213 PyObject *resultobj = 0;
22214 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22215 SwigValueWrapper<wxVisualAttributes > result;
22216 void *argp1 = 0 ;
22217 int res1 = 0 ;
22218 PyObject *swig_obj[1] ;
22219
22220 if (!args) SWIG_fail;
22221 swig_obj[0] = args;
22222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22223 if (!SWIG_IsOK(res1)) {
22224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22225 }
22226 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22227 {
22228 PyThreadState* __tstate = wxPyBeginAllowThreads();
22229 result = (arg1)->GetDefaultAttributes();
22230 wxPyEndAllowThreads(__tstate);
22231 if (PyErr_Occurred()) SWIG_fail;
22232 }
22233 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22234 return resultobj;
22235 fail:
22236 return NULL;
22237 }
22238
22239
22240 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22241 PyObject *resultobj = 0;
22242 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22243 void *argp1 = 0 ;
22244 int res1 = 0 ;
22245 PyObject *swig_obj[1] ;
22246
22247 if (!args) SWIG_fail;
22248 swig_obj[0] = args;
22249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22250 if (!SWIG_IsOK(res1)) {
22251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22252 }
22253 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22254 {
22255 PyThreadState* __tstate = wxPyBeginAllowThreads();
22256 (arg1)->OnInternalIdle();
22257 wxPyEndAllowThreads(__tstate);
22258 if (PyErr_Occurred()) SWIG_fail;
22259 }
22260 resultobj = SWIG_Py_Void();
22261 return resultobj;
22262 fail:
22263 return NULL;
22264 }
22265
22266
22267 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22268 PyObject *obj;
22269 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22270 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22271 return SWIG_Py_Void();
22272 }
22273
22274 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22275 return SWIG_Python_InitShadowInstance(args);
22276 }
22277
22278 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22279 PyObject *resultobj = 0;
22280 wxWindow *arg1 = (wxWindow *) 0 ;
22281 int arg2 = (int) (int)-1 ;
22282 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22283 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22284 wxSize const &arg4_defvalue = wxDefaultSize ;
22285 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22286 long arg5 = (long) 0 ;
22287 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22288 wxString *arg6 = (wxString *) &arg6_defvalue ;
22289 wxPyPanel *result = 0 ;
22290 void *argp1 = 0 ;
22291 int res1 = 0 ;
22292 int val2 ;
22293 int ecode2 = 0 ;
22294 wxPoint temp3 ;
22295 wxSize temp4 ;
22296 long val5 ;
22297 int ecode5 = 0 ;
22298 bool temp6 = false ;
22299 PyObject * obj0 = 0 ;
22300 PyObject * obj1 = 0 ;
22301 PyObject * obj2 = 0 ;
22302 PyObject * obj3 = 0 ;
22303 PyObject * obj4 = 0 ;
22304 PyObject * obj5 = 0 ;
22305 char * kwnames[] = {
22306 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22307 };
22308
22309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22311 if (!SWIG_IsOK(res1)) {
22312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22313 }
22314 arg1 = reinterpret_cast< wxWindow * >(argp1);
22315 if (obj1) {
22316 ecode2 = SWIG_AsVal_int(obj1, &val2);
22317 if (!SWIG_IsOK(ecode2)) {
22318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22319 }
22320 arg2 = static_cast< int >(val2);
22321 }
22322 if (obj2) {
22323 {
22324 arg3 = &temp3;
22325 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22326 }
22327 }
22328 if (obj3) {
22329 {
22330 arg4 = &temp4;
22331 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22332 }
22333 }
22334 if (obj4) {
22335 ecode5 = SWIG_AsVal_long(obj4, &val5);
22336 if (!SWIG_IsOK(ecode5)) {
22337 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22338 }
22339 arg5 = static_cast< long >(val5);
22340 }
22341 if (obj5) {
22342 {
22343 arg6 = wxString_in_helper(obj5);
22344 if (arg6 == NULL) SWIG_fail;
22345 temp6 = true;
22346 }
22347 }
22348 {
22349 if (!wxPyCheckForApp()) SWIG_fail;
22350 PyThreadState* __tstate = wxPyBeginAllowThreads();
22351 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22352 wxPyEndAllowThreads(__tstate);
22353 if (PyErr_Occurred()) SWIG_fail;
22354 }
22355 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22356 {
22357 if (temp6)
22358 delete arg6;
22359 }
22360 return resultobj;
22361 fail:
22362 {
22363 if (temp6)
22364 delete arg6;
22365 }
22366 return NULL;
22367 }
22368
22369
22370 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22371 PyObject *resultobj = 0;
22372 wxPyPanel *result = 0 ;
22373
22374 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22375 {
22376 if (!wxPyCheckForApp()) SWIG_fail;
22377 PyThreadState* __tstate = wxPyBeginAllowThreads();
22378 result = (wxPyPanel *)new wxPyPanel();
22379 wxPyEndAllowThreads(__tstate);
22380 if (PyErr_Occurred()) SWIG_fail;
22381 }
22382 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22383 return resultobj;
22384 fail:
22385 return NULL;
22386 }
22387
22388
22389 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22390 PyObject *resultobj = 0;
22391 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22392 PyObject *arg2 = (PyObject *) 0 ;
22393 PyObject *arg3 = (PyObject *) 0 ;
22394 void *argp1 = 0 ;
22395 int res1 = 0 ;
22396 PyObject * obj0 = 0 ;
22397 PyObject * obj1 = 0 ;
22398 PyObject * obj2 = 0 ;
22399 char * kwnames[] = {
22400 (char *) "self",(char *) "self",(char *) "_class", NULL
22401 };
22402
22403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22405 if (!SWIG_IsOK(res1)) {
22406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22407 }
22408 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22409 arg2 = obj1;
22410 arg3 = obj2;
22411 {
22412 PyThreadState* __tstate = wxPyBeginAllowThreads();
22413 (arg1)->_setCallbackInfo(arg2,arg3);
22414 wxPyEndAllowThreads(__tstate);
22415 if (PyErr_Occurred()) SWIG_fail;
22416 }
22417 resultobj = SWIG_Py_Void();
22418 return resultobj;
22419 fail:
22420 return NULL;
22421 }
22422
22423
22424 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22425 PyObject *resultobj = 0;
22426 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22427 wxSize *arg2 = 0 ;
22428 void *argp1 = 0 ;
22429 int res1 = 0 ;
22430 wxSize temp2 ;
22431 PyObject * obj0 = 0 ;
22432 PyObject * obj1 = 0 ;
22433 char * kwnames[] = {
22434 (char *) "self",(char *) "size", NULL
22435 };
22436
22437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22439 if (!SWIG_IsOK(res1)) {
22440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22441 }
22442 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22443 {
22444 arg2 = &temp2;
22445 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22446 }
22447 {
22448 PyThreadState* __tstate = wxPyBeginAllowThreads();
22449 (arg1)->SetBestSize((wxSize const &)*arg2);
22450 wxPyEndAllowThreads(__tstate);
22451 if (PyErr_Occurred()) SWIG_fail;
22452 }
22453 resultobj = SWIG_Py_Void();
22454 return resultobj;
22455 fail:
22456 return NULL;
22457 }
22458
22459
22460 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22461 PyObject *resultobj = 0;
22462 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22463 wxDC *arg2 = (wxDC *) 0 ;
22464 bool result;
22465 void *argp1 = 0 ;
22466 int res1 = 0 ;
22467 void *argp2 = 0 ;
22468 int res2 = 0 ;
22469 PyObject * obj0 = 0 ;
22470 PyObject * obj1 = 0 ;
22471 char * kwnames[] = {
22472 (char *) "self",(char *) "dc", NULL
22473 };
22474
22475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22477 if (!SWIG_IsOK(res1)) {
22478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22479 }
22480 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22481 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22482 if (!SWIG_IsOK(res2)) {
22483 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22484 }
22485 arg2 = reinterpret_cast< wxDC * >(argp2);
22486 {
22487 PyThreadState* __tstate = wxPyBeginAllowThreads();
22488 result = (bool)(arg1)->DoEraseBackground(arg2);
22489 wxPyEndAllowThreads(__tstate);
22490 if (PyErr_Occurred()) SWIG_fail;
22491 }
22492 {
22493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22494 }
22495 return resultobj;
22496 fail:
22497 return NULL;
22498 }
22499
22500
22501 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22502 PyObject *resultobj = 0;
22503 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22504 int arg2 ;
22505 int arg3 ;
22506 int arg4 ;
22507 int arg5 ;
22508 void *argp1 = 0 ;
22509 int res1 = 0 ;
22510 int val2 ;
22511 int ecode2 = 0 ;
22512 int val3 ;
22513 int ecode3 = 0 ;
22514 int val4 ;
22515 int ecode4 = 0 ;
22516 int val5 ;
22517 int ecode5 = 0 ;
22518 PyObject * obj0 = 0 ;
22519 PyObject * obj1 = 0 ;
22520 PyObject * obj2 = 0 ;
22521 PyObject * obj3 = 0 ;
22522 PyObject * obj4 = 0 ;
22523 char * kwnames[] = {
22524 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22525 };
22526
22527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22529 if (!SWIG_IsOK(res1)) {
22530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22531 }
22532 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22533 ecode2 = SWIG_AsVal_int(obj1, &val2);
22534 if (!SWIG_IsOK(ecode2)) {
22535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22536 }
22537 arg2 = static_cast< int >(val2);
22538 ecode3 = SWIG_AsVal_int(obj2, &val3);
22539 if (!SWIG_IsOK(ecode3)) {
22540 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22541 }
22542 arg3 = static_cast< int >(val3);
22543 ecode4 = SWIG_AsVal_int(obj3, &val4);
22544 if (!SWIG_IsOK(ecode4)) {
22545 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22546 }
22547 arg4 = static_cast< int >(val4);
22548 ecode5 = SWIG_AsVal_int(obj4, &val5);
22549 if (!SWIG_IsOK(ecode5)) {
22550 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22551 }
22552 arg5 = static_cast< int >(val5);
22553 {
22554 PyThreadState* __tstate = wxPyBeginAllowThreads();
22555 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22556 wxPyEndAllowThreads(__tstate);
22557 if (PyErr_Occurred()) SWIG_fail;
22558 }
22559 resultobj = SWIG_Py_Void();
22560 return resultobj;
22561 fail:
22562 return NULL;
22563 }
22564
22565
22566 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22567 PyObject *resultobj = 0;
22568 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22569 int arg2 ;
22570 int arg3 ;
22571 int arg4 ;
22572 int arg5 ;
22573 int arg6 = (int) wxSIZE_AUTO ;
22574 void *argp1 = 0 ;
22575 int res1 = 0 ;
22576 int val2 ;
22577 int ecode2 = 0 ;
22578 int val3 ;
22579 int ecode3 = 0 ;
22580 int val4 ;
22581 int ecode4 = 0 ;
22582 int val5 ;
22583 int ecode5 = 0 ;
22584 int val6 ;
22585 int ecode6 = 0 ;
22586 PyObject * obj0 = 0 ;
22587 PyObject * obj1 = 0 ;
22588 PyObject * obj2 = 0 ;
22589 PyObject * obj3 = 0 ;
22590 PyObject * obj4 = 0 ;
22591 PyObject * obj5 = 0 ;
22592 char * kwnames[] = {
22593 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22594 };
22595
22596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22598 if (!SWIG_IsOK(res1)) {
22599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22600 }
22601 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22602 ecode2 = SWIG_AsVal_int(obj1, &val2);
22603 if (!SWIG_IsOK(ecode2)) {
22604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22605 }
22606 arg2 = static_cast< int >(val2);
22607 ecode3 = SWIG_AsVal_int(obj2, &val3);
22608 if (!SWIG_IsOK(ecode3)) {
22609 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22610 }
22611 arg3 = static_cast< int >(val3);
22612 ecode4 = SWIG_AsVal_int(obj3, &val4);
22613 if (!SWIG_IsOK(ecode4)) {
22614 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22615 }
22616 arg4 = static_cast< int >(val4);
22617 ecode5 = SWIG_AsVal_int(obj4, &val5);
22618 if (!SWIG_IsOK(ecode5)) {
22619 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22620 }
22621 arg5 = static_cast< int >(val5);
22622 if (obj5) {
22623 ecode6 = SWIG_AsVal_int(obj5, &val6);
22624 if (!SWIG_IsOK(ecode6)) {
22625 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22626 }
22627 arg6 = static_cast< int >(val6);
22628 }
22629 {
22630 PyThreadState* __tstate = wxPyBeginAllowThreads();
22631 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22632 wxPyEndAllowThreads(__tstate);
22633 if (PyErr_Occurred()) SWIG_fail;
22634 }
22635 resultobj = SWIG_Py_Void();
22636 return resultobj;
22637 fail:
22638 return NULL;
22639 }
22640
22641
22642 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22643 PyObject *resultobj = 0;
22644 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22645 int arg2 ;
22646 int arg3 ;
22647 void *argp1 = 0 ;
22648 int res1 = 0 ;
22649 int val2 ;
22650 int ecode2 = 0 ;
22651 int val3 ;
22652 int ecode3 = 0 ;
22653 PyObject * obj0 = 0 ;
22654 PyObject * obj1 = 0 ;
22655 PyObject * obj2 = 0 ;
22656 char * kwnames[] = {
22657 (char *) "self",(char *) "width",(char *) "height", NULL
22658 };
22659
22660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22662 if (!SWIG_IsOK(res1)) {
22663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22664 }
22665 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22666 ecode2 = SWIG_AsVal_int(obj1, &val2);
22667 if (!SWIG_IsOK(ecode2)) {
22668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22669 }
22670 arg2 = static_cast< int >(val2);
22671 ecode3 = SWIG_AsVal_int(obj2, &val3);
22672 if (!SWIG_IsOK(ecode3)) {
22673 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22674 }
22675 arg3 = static_cast< int >(val3);
22676 {
22677 PyThreadState* __tstate = wxPyBeginAllowThreads();
22678 (arg1)->DoSetClientSize(arg2,arg3);
22679 wxPyEndAllowThreads(__tstate);
22680 if (PyErr_Occurred()) SWIG_fail;
22681 }
22682 resultobj = SWIG_Py_Void();
22683 return resultobj;
22684 fail:
22685 return NULL;
22686 }
22687
22688
22689 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22690 PyObject *resultobj = 0;
22691 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22692 int arg2 ;
22693 int arg3 ;
22694 void *argp1 = 0 ;
22695 int res1 = 0 ;
22696 int val2 ;
22697 int ecode2 = 0 ;
22698 int val3 ;
22699 int ecode3 = 0 ;
22700 PyObject * obj0 = 0 ;
22701 PyObject * obj1 = 0 ;
22702 PyObject * obj2 = 0 ;
22703 char * kwnames[] = {
22704 (char *) "self",(char *) "x",(char *) "y", NULL
22705 };
22706
22707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22709 if (!SWIG_IsOK(res1)) {
22710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22711 }
22712 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22713 ecode2 = SWIG_AsVal_int(obj1, &val2);
22714 if (!SWIG_IsOK(ecode2)) {
22715 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22716 }
22717 arg2 = static_cast< int >(val2);
22718 ecode3 = SWIG_AsVal_int(obj2, &val3);
22719 if (!SWIG_IsOK(ecode3)) {
22720 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22721 }
22722 arg3 = static_cast< int >(val3);
22723 {
22724 PyThreadState* __tstate = wxPyBeginAllowThreads();
22725 (arg1)->DoSetVirtualSize(arg2,arg3);
22726 wxPyEndAllowThreads(__tstate);
22727 if (PyErr_Occurred()) SWIG_fail;
22728 }
22729 resultobj = SWIG_Py_Void();
22730 return resultobj;
22731 fail:
22732 return NULL;
22733 }
22734
22735
22736 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22737 PyObject *resultobj = 0;
22738 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22739 int *arg2 = (int *) 0 ;
22740 int *arg3 = (int *) 0 ;
22741 void *argp1 = 0 ;
22742 int res1 = 0 ;
22743 int temp2 ;
22744 int res2 = SWIG_TMPOBJ ;
22745 int temp3 ;
22746 int res3 = SWIG_TMPOBJ ;
22747 PyObject *swig_obj[1] ;
22748
22749 arg2 = &temp2;
22750 arg3 = &temp3;
22751 if (!args) SWIG_fail;
22752 swig_obj[0] = args;
22753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22754 if (!SWIG_IsOK(res1)) {
22755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22756 }
22757 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22758 {
22759 PyThreadState* __tstate = wxPyBeginAllowThreads();
22760 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22761 wxPyEndAllowThreads(__tstate);
22762 if (PyErr_Occurred()) SWIG_fail;
22763 }
22764 resultobj = SWIG_Py_Void();
22765 if (SWIG_IsTmpObj(res2)) {
22766 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22767 } else {
22768 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22769 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22770 }
22771 if (SWIG_IsTmpObj(res3)) {
22772 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22773 } else {
22774 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22775 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22776 }
22777 return resultobj;
22778 fail:
22779 return NULL;
22780 }
22781
22782
22783 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22784 PyObject *resultobj = 0;
22785 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22786 int *arg2 = (int *) 0 ;
22787 int *arg3 = (int *) 0 ;
22788 void *argp1 = 0 ;
22789 int res1 = 0 ;
22790 int temp2 ;
22791 int res2 = SWIG_TMPOBJ ;
22792 int temp3 ;
22793 int res3 = SWIG_TMPOBJ ;
22794 PyObject *swig_obj[1] ;
22795
22796 arg2 = &temp2;
22797 arg3 = &temp3;
22798 if (!args) SWIG_fail;
22799 swig_obj[0] = args;
22800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22801 if (!SWIG_IsOK(res1)) {
22802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22803 }
22804 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22805 {
22806 PyThreadState* __tstate = wxPyBeginAllowThreads();
22807 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22808 wxPyEndAllowThreads(__tstate);
22809 if (PyErr_Occurred()) SWIG_fail;
22810 }
22811 resultobj = SWIG_Py_Void();
22812 if (SWIG_IsTmpObj(res2)) {
22813 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22814 } else {
22815 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22816 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22817 }
22818 if (SWIG_IsTmpObj(res3)) {
22819 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22820 } else {
22821 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22822 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22823 }
22824 return resultobj;
22825 fail:
22826 return NULL;
22827 }
22828
22829
22830 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22831 PyObject *resultobj = 0;
22832 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22833 int *arg2 = (int *) 0 ;
22834 int *arg3 = (int *) 0 ;
22835 void *argp1 = 0 ;
22836 int res1 = 0 ;
22837 int temp2 ;
22838 int res2 = SWIG_TMPOBJ ;
22839 int temp3 ;
22840 int res3 = SWIG_TMPOBJ ;
22841 PyObject *swig_obj[1] ;
22842
22843 arg2 = &temp2;
22844 arg3 = &temp3;
22845 if (!args) SWIG_fail;
22846 swig_obj[0] = args;
22847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22848 if (!SWIG_IsOK(res1)) {
22849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22850 }
22851 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22852 {
22853 PyThreadState* __tstate = wxPyBeginAllowThreads();
22854 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22855 wxPyEndAllowThreads(__tstate);
22856 if (PyErr_Occurred()) SWIG_fail;
22857 }
22858 resultobj = SWIG_Py_Void();
22859 if (SWIG_IsTmpObj(res2)) {
22860 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22861 } else {
22862 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22863 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22864 }
22865 if (SWIG_IsTmpObj(res3)) {
22866 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22867 } else {
22868 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22869 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22870 }
22871 return resultobj;
22872 fail:
22873 return NULL;
22874 }
22875
22876
22877 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22878 PyObject *resultobj = 0;
22879 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22880 wxSize result;
22881 void *argp1 = 0 ;
22882 int res1 = 0 ;
22883 PyObject *swig_obj[1] ;
22884
22885 if (!args) SWIG_fail;
22886 swig_obj[0] = args;
22887 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22888 if (!SWIG_IsOK(res1)) {
22889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22890 }
22891 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22892 {
22893 PyThreadState* __tstate = wxPyBeginAllowThreads();
22894 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22895 wxPyEndAllowThreads(__tstate);
22896 if (PyErr_Occurred()) SWIG_fail;
22897 }
22898 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22899 return resultobj;
22900 fail:
22901 return NULL;
22902 }
22903
22904
22905 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22906 PyObject *resultobj = 0;
22907 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22908 wxSize result;
22909 void *argp1 = 0 ;
22910 int res1 = 0 ;
22911 PyObject *swig_obj[1] ;
22912
22913 if (!args) SWIG_fail;
22914 swig_obj[0] = args;
22915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22916 if (!SWIG_IsOK(res1)) {
22917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22918 }
22919 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22920 {
22921 PyThreadState* __tstate = wxPyBeginAllowThreads();
22922 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22923 wxPyEndAllowThreads(__tstate);
22924 if (PyErr_Occurred()) SWIG_fail;
22925 }
22926 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22927 return resultobj;
22928 fail:
22929 return NULL;
22930 }
22931
22932
22933 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22934 PyObject *resultobj = 0;
22935 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22936 SwigValueWrapper<wxVisualAttributes > result;
22937 void *argp1 = 0 ;
22938 int res1 = 0 ;
22939 PyObject *swig_obj[1] ;
22940
22941 if (!args) SWIG_fail;
22942 swig_obj[0] = args;
22943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22944 if (!SWIG_IsOK(res1)) {
22945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22946 }
22947 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22948 {
22949 PyThreadState* __tstate = wxPyBeginAllowThreads();
22950 result = (arg1)->GetDefaultAttributes();
22951 wxPyEndAllowThreads(__tstate);
22952 if (PyErr_Occurred()) SWIG_fail;
22953 }
22954 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22955 return resultobj;
22956 fail:
22957 return NULL;
22958 }
22959
22960
22961 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22962 PyObject *resultobj = 0;
22963 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22964 void *argp1 = 0 ;
22965 int res1 = 0 ;
22966 PyObject *swig_obj[1] ;
22967
22968 if (!args) SWIG_fail;
22969 swig_obj[0] = args;
22970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22971 if (!SWIG_IsOK(res1)) {
22972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22973 }
22974 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22975 {
22976 PyThreadState* __tstate = wxPyBeginAllowThreads();
22977 (arg1)->OnInternalIdle();
22978 wxPyEndAllowThreads(__tstate);
22979 if (PyErr_Occurred()) SWIG_fail;
22980 }
22981 resultobj = SWIG_Py_Void();
22982 return resultobj;
22983 fail:
22984 return NULL;
22985 }
22986
22987
22988 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22989 PyObject *obj;
22990 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22991 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22992 return SWIG_Py_Void();
22993 }
22994
22995 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22996 return SWIG_Python_InitShadowInstance(args);
22997 }
22998
22999 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23000 PyObject *resultobj = 0;
23001 wxWindow *arg1 = (wxWindow *) 0 ;
23002 int arg2 = (int) (int)-1 ;
23003 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23004 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23005 wxSize const &arg4_defvalue = wxDefaultSize ;
23006 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23007 long arg5 = (long) 0 ;
23008 wxString const &arg6_defvalue = wxPyPanelNameStr ;
23009 wxString *arg6 = (wxString *) &arg6_defvalue ;
23010 wxPyScrolledWindow *result = 0 ;
23011 void *argp1 = 0 ;
23012 int res1 = 0 ;
23013 int val2 ;
23014 int ecode2 = 0 ;
23015 wxPoint temp3 ;
23016 wxSize temp4 ;
23017 long val5 ;
23018 int ecode5 = 0 ;
23019 bool temp6 = false ;
23020 PyObject * obj0 = 0 ;
23021 PyObject * obj1 = 0 ;
23022 PyObject * obj2 = 0 ;
23023 PyObject * obj3 = 0 ;
23024 PyObject * obj4 = 0 ;
23025 PyObject * obj5 = 0 ;
23026 char * kwnames[] = {
23027 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23028 };
23029
23030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23032 if (!SWIG_IsOK(res1)) {
23033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23034 }
23035 arg1 = reinterpret_cast< wxWindow * >(argp1);
23036 if (obj1) {
23037 ecode2 = SWIG_AsVal_int(obj1, &val2);
23038 if (!SWIG_IsOK(ecode2)) {
23039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23040 }
23041 arg2 = static_cast< int >(val2);
23042 }
23043 if (obj2) {
23044 {
23045 arg3 = &temp3;
23046 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23047 }
23048 }
23049 if (obj3) {
23050 {
23051 arg4 = &temp4;
23052 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23053 }
23054 }
23055 if (obj4) {
23056 ecode5 = SWIG_AsVal_long(obj4, &val5);
23057 if (!SWIG_IsOK(ecode5)) {
23058 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23059 }
23060 arg5 = static_cast< long >(val5);
23061 }
23062 if (obj5) {
23063 {
23064 arg6 = wxString_in_helper(obj5);
23065 if (arg6 == NULL) SWIG_fail;
23066 temp6 = true;
23067 }
23068 }
23069 {
23070 if (!wxPyCheckForApp()) SWIG_fail;
23071 PyThreadState* __tstate = wxPyBeginAllowThreads();
23072 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23073 wxPyEndAllowThreads(__tstate);
23074 if (PyErr_Occurred()) SWIG_fail;
23075 }
23076 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
23077 {
23078 if (temp6)
23079 delete arg6;
23080 }
23081 return resultobj;
23082 fail:
23083 {
23084 if (temp6)
23085 delete arg6;
23086 }
23087 return NULL;
23088 }
23089
23090
23091 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23092 PyObject *resultobj = 0;
23093 wxPyScrolledWindow *result = 0 ;
23094
23095 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
23096 {
23097 if (!wxPyCheckForApp()) SWIG_fail;
23098 PyThreadState* __tstate = wxPyBeginAllowThreads();
23099 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
23100 wxPyEndAllowThreads(__tstate);
23101 if (PyErr_Occurred()) SWIG_fail;
23102 }
23103 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
23104 return resultobj;
23105 fail:
23106 return NULL;
23107 }
23108
23109
23110 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23111 PyObject *resultobj = 0;
23112 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23113 PyObject *arg2 = (PyObject *) 0 ;
23114 PyObject *arg3 = (PyObject *) 0 ;
23115 void *argp1 = 0 ;
23116 int res1 = 0 ;
23117 PyObject * obj0 = 0 ;
23118 PyObject * obj1 = 0 ;
23119 PyObject * obj2 = 0 ;
23120 char * kwnames[] = {
23121 (char *) "self",(char *) "self",(char *) "_class", NULL
23122 };
23123
23124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23126 if (!SWIG_IsOK(res1)) {
23127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23128 }
23129 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23130 arg2 = obj1;
23131 arg3 = obj2;
23132 {
23133 PyThreadState* __tstate = wxPyBeginAllowThreads();
23134 (arg1)->_setCallbackInfo(arg2,arg3);
23135 wxPyEndAllowThreads(__tstate);
23136 if (PyErr_Occurred()) SWIG_fail;
23137 }
23138 resultobj = SWIG_Py_Void();
23139 return resultobj;
23140 fail:
23141 return NULL;
23142 }
23143
23144
23145 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23146 PyObject *resultobj = 0;
23147 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23148 wxSize *arg2 = 0 ;
23149 void *argp1 = 0 ;
23150 int res1 = 0 ;
23151 wxSize temp2 ;
23152 PyObject * obj0 = 0 ;
23153 PyObject * obj1 = 0 ;
23154 char * kwnames[] = {
23155 (char *) "self",(char *) "size", NULL
23156 };
23157
23158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
23159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23160 if (!SWIG_IsOK(res1)) {
23161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23162 }
23163 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23164 {
23165 arg2 = &temp2;
23166 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23167 }
23168 {
23169 PyThreadState* __tstate = wxPyBeginAllowThreads();
23170 (arg1)->SetBestSize((wxSize const &)*arg2);
23171 wxPyEndAllowThreads(__tstate);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 }
23174 resultobj = SWIG_Py_Void();
23175 return resultobj;
23176 fail:
23177 return NULL;
23178 }
23179
23180
23181 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23182 PyObject *resultobj = 0;
23183 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23184 wxDC *arg2 = (wxDC *) 0 ;
23185 bool result;
23186 void *argp1 = 0 ;
23187 int res1 = 0 ;
23188 void *argp2 = 0 ;
23189 int res2 = 0 ;
23190 PyObject * obj0 = 0 ;
23191 PyObject * obj1 = 0 ;
23192 char * kwnames[] = {
23193 (char *) "self",(char *) "dc", NULL
23194 };
23195
23196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23198 if (!SWIG_IsOK(res1)) {
23199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23200 }
23201 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23202 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23203 if (!SWIG_IsOK(res2)) {
23204 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23205 }
23206 arg2 = reinterpret_cast< wxDC * >(argp2);
23207 {
23208 PyThreadState* __tstate = wxPyBeginAllowThreads();
23209 result = (bool)(arg1)->DoEraseBackground(arg2);
23210 wxPyEndAllowThreads(__tstate);
23211 if (PyErr_Occurred()) SWIG_fail;
23212 }
23213 {
23214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23215 }
23216 return resultobj;
23217 fail:
23218 return NULL;
23219 }
23220
23221
23222 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23223 PyObject *resultobj = 0;
23224 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23225 int arg2 ;
23226 int arg3 ;
23227 int arg4 ;
23228 int arg5 ;
23229 void *argp1 = 0 ;
23230 int res1 = 0 ;
23231 int val2 ;
23232 int ecode2 = 0 ;
23233 int val3 ;
23234 int ecode3 = 0 ;
23235 int val4 ;
23236 int ecode4 = 0 ;
23237 int val5 ;
23238 int ecode5 = 0 ;
23239 PyObject * obj0 = 0 ;
23240 PyObject * obj1 = 0 ;
23241 PyObject * obj2 = 0 ;
23242 PyObject * obj3 = 0 ;
23243 PyObject * obj4 = 0 ;
23244 char * kwnames[] = {
23245 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23246 };
23247
23248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23250 if (!SWIG_IsOK(res1)) {
23251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23252 }
23253 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23254 ecode2 = SWIG_AsVal_int(obj1, &val2);
23255 if (!SWIG_IsOK(ecode2)) {
23256 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23257 }
23258 arg2 = static_cast< int >(val2);
23259 ecode3 = SWIG_AsVal_int(obj2, &val3);
23260 if (!SWIG_IsOK(ecode3)) {
23261 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23262 }
23263 arg3 = static_cast< int >(val3);
23264 ecode4 = SWIG_AsVal_int(obj3, &val4);
23265 if (!SWIG_IsOK(ecode4)) {
23266 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23267 }
23268 arg4 = static_cast< int >(val4);
23269 ecode5 = SWIG_AsVal_int(obj4, &val5);
23270 if (!SWIG_IsOK(ecode5)) {
23271 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23272 }
23273 arg5 = static_cast< int >(val5);
23274 {
23275 PyThreadState* __tstate = wxPyBeginAllowThreads();
23276 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23277 wxPyEndAllowThreads(__tstate);
23278 if (PyErr_Occurred()) SWIG_fail;
23279 }
23280 resultobj = SWIG_Py_Void();
23281 return resultobj;
23282 fail:
23283 return NULL;
23284 }
23285
23286
23287 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23288 PyObject *resultobj = 0;
23289 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23290 int arg2 ;
23291 int arg3 ;
23292 int arg4 ;
23293 int arg5 ;
23294 int arg6 = (int) wxSIZE_AUTO ;
23295 void *argp1 = 0 ;
23296 int res1 = 0 ;
23297 int val2 ;
23298 int ecode2 = 0 ;
23299 int val3 ;
23300 int ecode3 = 0 ;
23301 int val4 ;
23302 int ecode4 = 0 ;
23303 int val5 ;
23304 int ecode5 = 0 ;
23305 int val6 ;
23306 int ecode6 = 0 ;
23307 PyObject * obj0 = 0 ;
23308 PyObject * obj1 = 0 ;
23309 PyObject * obj2 = 0 ;
23310 PyObject * obj3 = 0 ;
23311 PyObject * obj4 = 0 ;
23312 PyObject * obj5 = 0 ;
23313 char * kwnames[] = {
23314 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23315 };
23316
23317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23319 if (!SWIG_IsOK(res1)) {
23320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23321 }
23322 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23323 ecode2 = SWIG_AsVal_int(obj1, &val2);
23324 if (!SWIG_IsOK(ecode2)) {
23325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23326 }
23327 arg2 = static_cast< int >(val2);
23328 ecode3 = SWIG_AsVal_int(obj2, &val3);
23329 if (!SWIG_IsOK(ecode3)) {
23330 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23331 }
23332 arg3 = static_cast< int >(val3);
23333 ecode4 = SWIG_AsVal_int(obj3, &val4);
23334 if (!SWIG_IsOK(ecode4)) {
23335 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23336 }
23337 arg4 = static_cast< int >(val4);
23338 ecode5 = SWIG_AsVal_int(obj4, &val5);
23339 if (!SWIG_IsOK(ecode5)) {
23340 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23341 }
23342 arg5 = static_cast< int >(val5);
23343 if (obj5) {
23344 ecode6 = SWIG_AsVal_int(obj5, &val6);
23345 if (!SWIG_IsOK(ecode6)) {
23346 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23347 }
23348 arg6 = static_cast< int >(val6);
23349 }
23350 {
23351 PyThreadState* __tstate = wxPyBeginAllowThreads();
23352 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23353 wxPyEndAllowThreads(__tstate);
23354 if (PyErr_Occurred()) SWIG_fail;
23355 }
23356 resultobj = SWIG_Py_Void();
23357 return resultobj;
23358 fail:
23359 return NULL;
23360 }
23361
23362
23363 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23364 PyObject *resultobj = 0;
23365 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23366 int arg2 ;
23367 int arg3 ;
23368 void *argp1 = 0 ;
23369 int res1 = 0 ;
23370 int val2 ;
23371 int ecode2 = 0 ;
23372 int val3 ;
23373 int ecode3 = 0 ;
23374 PyObject * obj0 = 0 ;
23375 PyObject * obj1 = 0 ;
23376 PyObject * obj2 = 0 ;
23377 char * kwnames[] = {
23378 (char *) "self",(char *) "width",(char *) "height", NULL
23379 };
23380
23381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23383 if (!SWIG_IsOK(res1)) {
23384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23385 }
23386 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23387 ecode2 = SWIG_AsVal_int(obj1, &val2);
23388 if (!SWIG_IsOK(ecode2)) {
23389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23390 }
23391 arg2 = static_cast< int >(val2);
23392 ecode3 = SWIG_AsVal_int(obj2, &val3);
23393 if (!SWIG_IsOK(ecode3)) {
23394 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23395 }
23396 arg3 = static_cast< int >(val3);
23397 {
23398 PyThreadState* __tstate = wxPyBeginAllowThreads();
23399 (arg1)->DoSetClientSize(arg2,arg3);
23400 wxPyEndAllowThreads(__tstate);
23401 if (PyErr_Occurred()) SWIG_fail;
23402 }
23403 resultobj = SWIG_Py_Void();
23404 return resultobj;
23405 fail:
23406 return NULL;
23407 }
23408
23409
23410 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23411 PyObject *resultobj = 0;
23412 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23413 int arg2 ;
23414 int arg3 ;
23415 void *argp1 = 0 ;
23416 int res1 = 0 ;
23417 int val2 ;
23418 int ecode2 = 0 ;
23419 int val3 ;
23420 int ecode3 = 0 ;
23421 PyObject * obj0 = 0 ;
23422 PyObject * obj1 = 0 ;
23423 PyObject * obj2 = 0 ;
23424 char * kwnames[] = {
23425 (char *) "self",(char *) "x",(char *) "y", NULL
23426 };
23427
23428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23430 if (!SWIG_IsOK(res1)) {
23431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23432 }
23433 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23434 ecode2 = SWIG_AsVal_int(obj1, &val2);
23435 if (!SWIG_IsOK(ecode2)) {
23436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23437 }
23438 arg2 = static_cast< int >(val2);
23439 ecode3 = SWIG_AsVal_int(obj2, &val3);
23440 if (!SWIG_IsOK(ecode3)) {
23441 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23442 }
23443 arg3 = static_cast< int >(val3);
23444 {
23445 PyThreadState* __tstate = wxPyBeginAllowThreads();
23446 (arg1)->DoSetVirtualSize(arg2,arg3);
23447 wxPyEndAllowThreads(__tstate);
23448 if (PyErr_Occurred()) SWIG_fail;
23449 }
23450 resultobj = SWIG_Py_Void();
23451 return resultobj;
23452 fail:
23453 return NULL;
23454 }
23455
23456
23457 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23458 PyObject *resultobj = 0;
23459 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23460 int *arg2 = (int *) 0 ;
23461 int *arg3 = (int *) 0 ;
23462 void *argp1 = 0 ;
23463 int res1 = 0 ;
23464 int temp2 ;
23465 int res2 = SWIG_TMPOBJ ;
23466 int temp3 ;
23467 int res3 = SWIG_TMPOBJ ;
23468 PyObject *swig_obj[1] ;
23469
23470 arg2 = &temp2;
23471 arg3 = &temp3;
23472 if (!args) SWIG_fail;
23473 swig_obj[0] = args;
23474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23475 if (!SWIG_IsOK(res1)) {
23476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23477 }
23478 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23479 {
23480 PyThreadState* __tstate = wxPyBeginAllowThreads();
23481 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23482 wxPyEndAllowThreads(__tstate);
23483 if (PyErr_Occurred()) SWIG_fail;
23484 }
23485 resultobj = SWIG_Py_Void();
23486 if (SWIG_IsTmpObj(res2)) {
23487 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23488 } else {
23489 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23490 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23491 }
23492 if (SWIG_IsTmpObj(res3)) {
23493 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23494 } else {
23495 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23496 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23497 }
23498 return resultobj;
23499 fail:
23500 return NULL;
23501 }
23502
23503
23504 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23505 PyObject *resultobj = 0;
23506 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23507 int *arg2 = (int *) 0 ;
23508 int *arg3 = (int *) 0 ;
23509 void *argp1 = 0 ;
23510 int res1 = 0 ;
23511 int temp2 ;
23512 int res2 = SWIG_TMPOBJ ;
23513 int temp3 ;
23514 int res3 = SWIG_TMPOBJ ;
23515 PyObject *swig_obj[1] ;
23516
23517 arg2 = &temp2;
23518 arg3 = &temp3;
23519 if (!args) SWIG_fail;
23520 swig_obj[0] = args;
23521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23522 if (!SWIG_IsOK(res1)) {
23523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23524 }
23525 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23526 {
23527 PyThreadState* __tstate = wxPyBeginAllowThreads();
23528 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23529 wxPyEndAllowThreads(__tstate);
23530 if (PyErr_Occurred()) SWIG_fail;
23531 }
23532 resultobj = SWIG_Py_Void();
23533 if (SWIG_IsTmpObj(res2)) {
23534 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23535 } else {
23536 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23537 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23538 }
23539 if (SWIG_IsTmpObj(res3)) {
23540 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23541 } else {
23542 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23543 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23544 }
23545 return resultobj;
23546 fail:
23547 return NULL;
23548 }
23549
23550
23551 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23552 PyObject *resultobj = 0;
23553 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23554 int *arg2 = (int *) 0 ;
23555 int *arg3 = (int *) 0 ;
23556 void *argp1 = 0 ;
23557 int res1 = 0 ;
23558 int temp2 ;
23559 int res2 = SWIG_TMPOBJ ;
23560 int temp3 ;
23561 int res3 = SWIG_TMPOBJ ;
23562 PyObject *swig_obj[1] ;
23563
23564 arg2 = &temp2;
23565 arg3 = &temp3;
23566 if (!args) SWIG_fail;
23567 swig_obj[0] = args;
23568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23569 if (!SWIG_IsOK(res1)) {
23570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23571 }
23572 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23573 {
23574 PyThreadState* __tstate = wxPyBeginAllowThreads();
23575 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23576 wxPyEndAllowThreads(__tstate);
23577 if (PyErr_Occurred()) SWIG_fail;
23578 }
23579 resultobj = SWIG_Py_Void();
23580 if (SWIG_IsTmpObj(res2)) {
23581 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23582 } else {
23583 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23584 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23585 }
23586 if (SWIG_IsTmpObj(res3)) {
23587 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23588 } else {
23589 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23590 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23591 }
23592 return resultobj;
23593 fail:
23594 return NULL;
23595 }
23596
23597
23598 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23599 PyObject *resultobj = 0;
23600 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23601 wxSize result;
23602 void *argp1 = 0 ;
23603 int res1 = 0 ;
23604 PyObject *swig_obj[1] ;
23605
23606 if (!args) SWIG_fail;
23607 swig_obj[0] = args;
23608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23609 if (!SWIG_IsOK(res1)) {
23610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23611 }
23612 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23613 {
23614 PyThreadState* __tstate = wxPyBeginAllowThreads();
23615 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23616 wxPyEndAllowThreads(__tstate);
23617 if (PyErr_Occurred()) SWIG_fail;
23618 }
23619 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23620 return resultobj;
23621 fail:
23622 return NULL;
23623 }
23624
23625
23626 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23627 PyObject *resultobj = 0;
23628 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23629 wxSize result;
23630 void *argp1 = 0 ;
23631 int res1 = 0 ;
23632 PyObject *swig_obj[1] ;
23633
23634 if (!args) SWIG_fail;
23635 swig_obj[0] = args;
23636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23637 if (!SWIG_IsOK(res1)) {
23638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23639 }
23640 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23641 {
23642 PyThreadState* __tstate = wxPyBeginAllowThreads();
23643 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23644 wxPyEndAllowThreads(__tstate);
23645 if (PyErr_Occurred()) SWIG_fail;
23646 }
23647 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23648 return resultobj;
23649 fail:
23650 return NULL;
23651 }
23652
23653
23654 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23655 PyObject *resultobj = 0;
23656 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23657 SwigValueWrapper<wxVisualAttributes > result;
23658 void *argp1 = 0 ;
23659 int res1 = 0 ;
23660 PyObject *swig_obj[1] ;
23661
23662 if (!args) SWIG_fail;
23663 swig_obj[0] = args;
23664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23665 if (!SWIG_IsOK(res1)) {
23666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23667 }
23668 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23669 {
23670 PyThreadState* __tstate = wxPyBeginAllowThreads();
23671 result = (arg1)->GetDefaultAttributes();
23672 wxPyEndAllowThreads(__tstate);
23673 if (PyErr_Occurred()) SWIG_fail;
23674 }
23675 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23676 return resultobj;
23677 fail:
23678 return NULL;
23679 }
23680
23681
23682 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23683 PyObject *resultobj = 0;
23684 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23685 void *argp1 = 0 ;
23686 int res1 = 0 ;
23687 PyObject *swig_obj[1] ;
23688
23689 if (!args) SWIG_fail;
23690 swig_obj[0] = args;
23691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23692 if (!SWIG_IsOK(res1)) {
23693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23694 }
23695 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23696 {
23697 PyThreadState* __tstate = wxPyBeginAllowThreads();
23698 (arg1)->OnInternalIdle();
23699 wxPyEndAllowThreads(__tstate);
23700 if (PyErr_Occurred()) SWIG_fail;
23701 }
23702 resultobj = SWIG_Py_Void();
23703 return resultobj;
23704 fail:
23705 return NULL;
23706 }
23707
23708
23709 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23710 PyObject *obj;
23711 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23712 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23713 return SWIG_Py_Void();
23714 }
23715
23716 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23717 return SWIG_Python_InitShadowInstance(args);
23718 }
23719
23720 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23721 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23722 return 1;
23723 }
23724
23725
23726 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23727 PyObject *pyobj = 0;
23728
23729 {
23730 #if wxUSE_UNICODE
23731 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23732 #else
23733 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23734 #endif
23735 }
23736 return pyobj;
23737 }
23738
23739
23740 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23741 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23742 return 1;
23743 }
23744
23745
23746 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23747 PyObject *pyobj = 0;
23748
23749 {
23750 #if wxUSE_UNICODE
23751 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23752 #else
23753 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23754 #endif
23755 }
23756 return pyobj;
23757 }
23758
23759
23760 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23761 PyObject *resultobj = 0;
23762 wxPrintData *result = 0 ;
23763
23764 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23765 {
23766 PyThreadState* __tstate = wxPyBeginAllowThreads();
23767 result = (wxPrintData *)new wxPrintData();
23768 wxPyEndAllowThreads(__tstate);
23769 if (PyErr_Occurred()) SWIG_fail;
23770 }
23771 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23772 return resultobj;
23773 fail:
23774 return NULL;
23775 }
23776
23777
23778 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23779 PyObject *resultobj = 0;
23780 wxPrintData *arg1 = 0 ;
23781 wxPrintData *result = 0 ;
23782 void *argp1 = 0 ;
23783 int res1 = 0 ;
23784
23785 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23786 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23787 if (!SWIG_IsOK(res1)) {
23788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23789 }
23790 if (!argp1) {
23791 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23792 }
23793 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23794 {
23795 PyThreadState* __tstate = wxPyBeginAllowThreads();
23796 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23797 wxPyEndAllowThreads(__tstate);
23798 if (PyErr_Occurred()) SWIG_fail;
23799 }
23800 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23801 return resultobj;
23802 fail:
23803 return NULL;
23804 }
23805
23806
23807 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23808 int argc;
23809 PyObject *argv[2];
23810
23811 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23812 --argc;
23813 if (argc == 0) {
23814 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23815 }
23816 if (argc == 1) {
23817 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23818 }
23819
23820 fail:
23821 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23822 return NULL;
23823 }
23824
23825
23826 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23827 PyObject *resultobj = 0;
23828 wxPrintData *arg1 = (wxPrintData *) 0 ;
23829 void *argp1 = 0 ;
23830 int res1 = 0 ;
23831 PyObject *swig_obj[1] ;
23832
23833 if (!args) SWIG_fail;
23834 swig_obj[0] = args;
23835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23836 if (!SWIG_IsOK(res1)) {
23837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23838 }
23839 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23840 {
23841 PyThreadState* __tstate = wxPyBeginAllowThreads();
23842 delete arg1;
23843
23844 wxPyEndAllowThreads(__tstate);
23845 if (PyErr_Occurred()) SWIG_fail;
23846 }
23847 resultobj = SWIG_Py_Void();
23848 return resultobj;
23849 fail:
23850 return NULL;
23851 }
23852
23853
23854 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23855 PyObject *resultobj = 0;
23856 wxPrintData *arg1 = (wxPrintData *) 0 ;
23857 int result;
23858 void *argp1 = 0 ;
23859 int res1 = 0 ;
23860 PyObject *swig_obj[1] ;
23861
23862 if (!args) SWIG_fail;
23863 swig_obj[0] = args;
23864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23865 if (!SWIG_IsOK(res1)) {
23866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23867 }
23868 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23869 {
23870 PyThreadState* __tstate = wxPyBeginAllowThreads();
23871 result = (int)(arg1)->GetNoCopies();
23872 wxPyEndAllowThreads(__tstate);
23873 if (PyErr_Occurred()) SWIG_fail;
23874 }
23875 resultobj = SWIG_From_int(static_cast< int >(result));
23876 return resultobj;
23877 fail:
23878 return NULL;
23879 }
23880
23881
23882 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23883 PyObject *resultobj = 0;
23884 wxPrintData *arg1 = (wxPrintData *) 0 ;
23885 bool result;
23886 void *argp1 = 0 ;
23887 int res1 = 0 ;
23888 PyObject *swig_obj[1] ;
23889
23890 if (!args) SWIG_fail;
23891 swig_obj[0] = args;
23892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23893 if (!SWIG_IsOK(res1)) {
23894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23895 }
23896 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23897 {
23898 PyThreadState* __tstate = wxPyBeginAllowThreads();
23899 result = (bool)(arg1)->GetCollate();
23900 wxPyEndAllowThreads(__tstate);
23901 if (PyErr_Occurred()) SWIG_fail;
23902 }
23903 {
23904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23905 }
23906 return resultobj;
23907 fail:
23908 return NULL;
23909 }
23910
23911
23912 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23913 PyObject *resultobj = 0;
23914 wxPrintData *arg1 = (wxPrintData *) 0 ;
23915 int result;
23916 void *argp1 = 0 ;
23917 int res1 = 0 ;
23918 PyObject *swig_obj[1] ;
23919
23920 if (!args) SWIG_fail;
23921 swig_obj[0] = args;
23922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23923 if (!SWIG_IsOK(res1)) {
23924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23925 }
23926 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23927 {
23928 PyThreadState* __tstate = wxPyBeginAllowThreads();
23929 result = (int)(arg1)->GetOrientation();
23930 wxPyEndAllowThreads(__tstate);
23931 if (PyErr_Occurred()) SWIG_fail;
23932 }
23933 resultobj = SWIG_From_int(static_cast< int >(result));
23934 return resultobj;
23935 fail:
23936 return NULL;
23937 }
23938
23939
23940 SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23941 PyObject *resultobj = 0;
23942 wxPrintData *arg1 = (wxPrintData *) 0 ;
23943 bool result;
23944 void *argp1 = 0 ;
23945 int res1 = 0 ;
23946 PyObject *swig_obj[1] ;
23947
23948 if (!args) SWIG_fail;
23949 swig_obj[0] = args;
23950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23951 if (!SWIG_IsOK(res1)) {
23952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23953 }
23954 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23955 {
23956 PyThreadState* __tstate = wxPyBeginAllowThreads();
23957 result = (bool)(arg1)->IsOk();
23958 wxPyEndAllowThreads(__tstate);
23959 if (PyErr_Occurred()) SWIG_fail;
23960 }
23961 {
23962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23963 }
23964 return resultobj;
23965 fail:
23966 return NULL;
23967 }
23968
23969
23970 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23971 PyObject *resultobj = 0;
23972 wxPrintData *arg1 = (wxPrintData *) 0 ;
23973 wxString *result = 0 ;
23974 void *argp1 = 0 ;
23975 int res1 = 0 ;
23976 PyObject *swig_obj[1] ;
23977
23978 if (!args) SWIG_fail;
23979 swig_obj[0] = args;
23980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23981 if (!SWIG_IsOK(res1)) {
23982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23983 }
23984 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23985 {
23986 PyThreadState* __tstate = wxPyBeginAllowThreads();
23987 {
23988 wxString const &_result_ref = (arg1)->GetPrinterName();
23989 result = (wxString *) &_result_ref;
23990 }
23991 wxPyEndAllowThreads(__tstate);
23992 if (PyErr_Occurred()) SWIG_fail;
23993 }
23994 {
23995 #if wxUSE_UNICODE
23996 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23997 #else
23998 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23999 #endif
24000 }
24001 return resultobj;
24002 fail:
24003 return NULL;
24004 }
24005
24006
24007 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24008 PyObject *resultobj = 0;
24009 wxPrintData *arg1 = (wxPrintData *) 0 ;
24010 bool result;
24011 void *argp1 = 0 ;
24012 int res1 = 0 ;
24013 PyObject *swig_obj[1] ;
24014
24015 if (!args) SWIG_fail;
24016 swig_obj[0] = args;
24017 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24018 if (!SWIG_IsOK(res1)) {
24019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24020 }
24021 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24022 {
24023 PyThreadState* __tstate = wxPyBeginAllowThreads();
24024 result = (bool)(arg1)->GetColour();
24025 wxPyEndAllowThreads(__tstate);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 }
24028 {
24029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24030 }
24031 return resultobj;
24032 fail:
24033 return NULL;
24034 }
24035
24036
24037 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24038 PyObject *resultobj = 0;
24039 wxPrintData *arg1 = (wxPrintData *) 0 ;
24040 wxDuplexMode result;
24041 void *argp1 = 0 ;
24042 int res1 = 0 ;
24043 PyObject *swig_obj[1] ;
24044
24045 if (!args) SWIG_fail;
24046 swig_obj[0] = args;
24047 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24048 if (!SWIG_IsOK(res1)) {
24049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24050 }
24051 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24052 {
24053 PyThreadState* __tstate = wxPyBeginAllowThreads();
24054 result = (wxDuplexMode)(arg1)->GetDuplex();
24055 wxPyEndAllowThreads(__tstate);
24056 if (PyErr_Occurred()) SWIG_fail;
24057 }
24058 resultobj = SWIG_From_int(static_cast< int >(result));
24059 return resultobj;
24060 fail:
24061 return NULL;
24062 }
24063
24064
24065 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24066 PyObject *resultobj = 0;
24067 wxPrintData *arg1 = (wxPrintData *) 0 ;
24068 wxPaperSize result;
24069 void *argp1 = 0 ;
24070 int res1 = 0 ;
24071 PyObject *swig_obj[1] ;
24072
24073 if (!args) SWIG_fail;
24074 swig_obj[0] = args;
24075 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24076 if (!SWIG_IsOK(res1)) {
24077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24078 }
24079 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24080 {
24081 PyThreadState* __tstate = wxPyBeginAllowThreads();
24082 result = (wxPaperSize)(arg1)->GetPaperId();
24083 wxPyEndAllowThreads(__tstate);
24084 if (PyErr_Occurred()) SWIG_fail;
24085 }
24086 resultobj = SWIG_From_int(static_cast< int >(result));
24087 return resultobj;
24088 fail:
24089 return NULL;
24090 }
24091
24092
24093 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24094 PyObject *resultobj = 0;
24095 wxPrintData *arg1 = (wxPrintData *) 0 ;
24096 wxSize *result = 0 ;
24097 void *argp1 = 0 ;
24098 int res1 = 0 ;
24099 PyObject *swig_obj[1] ;
24100
24101 if (!args) SWIG_fail;
24102 swig_obj[0] = args;
24103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24104 if (!SWIG_IsOK(res1)) {
24105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24106 }
24107 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24108 {
24109 PyThreadState* __tstate = wxPyBeginAllowThreads();
24110 {
24111 wxSize const &_result_ref = (arg1)->GetPaperSize();
24112 result = (wxSize *) &_result_ref;
24113 }
24114 wxPyEndAllowThreads(__tstate);
24115 if (PyErr_Occurred()) SWIG_fail;
24116 }
24117 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
24118 return resultobj;
24119 fail:
24120 return NULL;
24121 }
24122
24123
24124 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24125 PyObject *resultobj = 0;
24126 wxPrintData *arg1 = (wxPrintData *) 0 ;
24127 int result;
24128 void *argp1 = 0 ;
24129 int res1 = 0 ;
24130 PyObject *swig_obj[1] ;
24131
24132 if (!args) SWIG_fail;
24133 swig_obj[0] = args;
24134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24135 if (!SWIG_IsOK(res1)) {
24136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24137 }
24138 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24139 {
24140 PyThreadState* __tstate = wxPyBeginAllowThreads();
24141 result = (int)(arg1)->GetQuality();
24142 wxPyEndAllowThreads(__tstate);
24143 if (PyErr_Occurred()) SWIG_fail;
24144 }
24145 resultobj = SWIG_From_int(static_cast< int >(result));
24146 return resultobj;
24147 fail:
24148 return NULL;
24149 }
24150
24151
24152 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24153 PyObject *resultobj = 0;
24154 wxPrintData *arg1 = (wxPrintData *) 0 ;
24155 wxPrintBin result;
24156 void *argp1 = 0 ;
24157 int res1 = 0 ;
24158 PyObject *swig_obj[1] ;
24159
24160 if (!args) SWIG_fail;
24161 swig_obj[0] = args;
24162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24163 if (!SWIG_IsOK(res1)) {
24164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24165 }
24166 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24167 {
24168 PyThreadState* __tstate = wxPyBeginAllowThreads();
24169 result = (wxPrintBin)(arg1)->GetBin();
24170 wxPyEndAllowThreads(__tstate);
24171 if (PyErr_Occurred()) SWIG_fail;
24172 }
24173 resultobj = SWIG_From_int(static_cast< int >(result));
24174 return resultobj;
24175 fail:
24176 return NULL;
24177 }
24178
24179
24180 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24181 PyObject *resultobj = 0;
24182 wxPrintData *arg1 = (wxPrintData *) 0 ;
24183 wxPrintMode result;
24184 void *argp1 = 0 ;
24185 int res1 = 0 ;
24186 PyObject *swig_obj[1] ;
24187
24188 if (!args) SWIG_fail;
24189 swig_obj[0] = args;
24190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24191 if (!SWIG_IsOK(res1)) {
24192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24193 }
24194 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24195 {
24196 PyThreadState* __tstate = wxPyBeginAllowThreads();
24197 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24198 wxPyEndAllowThreads(__tstate);
24199 if (PyErr_Occurred()) SWIG_fail;
24200 }
24201 resultobj = SWIG_From_int(static_cast< int >(result));
24202 return resultobj;
24203 fail:
24204 return NULL;
24205 }
24206
24207
24208 SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24209 PyObject *resultobj = 0;
24210 wxPrintData *arg1 = (wxPrintData *) 0 ;
24211 int result;
24212 void *argp1 = 0 ;
24213 int res1 = 0 ;
24214 PyObject *swig_obj[1] ;
24215
24216 if (!args) SWIG_fail;
24217 swig_obj[0] = args;
24218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24219 if (!SWIG_IsOK(res1)) {
24220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24221 }
24222 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24223 {
24224 PyThreadState* __tstate = wxPyBeginAllowThreads();
24225 result = (int)((wxPrintData const *)arg1)->GetMedia();
24226 wxPyEndAllowThreads(__tstate);
24227 if (PyErr_Occurred()) SWIG_fail;
24228 }
24229 resultobj = SWIG_From_int(static_cast< int >(result));
24230 return resultobj;
24231 fail:
24232 return NULL;
24233 }
24234
24235
24236 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24237 PyObject *resultobj = 0;
24238 wxPrintData *arg1 = (wxPrintData *) 0 ;
24239 int arg2 ;
24240 void *argp1 = 0 ;
24241 int res1 = 0 ;
24242 int val2 ;
24243 int ecode2 = 0 ;
24244 PyObject * obj0 = 0 ;
24245 PyObject * obj1 = 0 ;
24246 char * kwnames[] = {
24247 (char *) "self",(char *) "v", NULL
24248 };
24249
24250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24252 if (!SWIG_IsOK(res1)) {
24253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24254 }
24255 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24256 ecode2 = SWIG_AsVal_int(obj1, &val2);
24257 if (!SWIG_IsOK(ecode2)) {
24258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24259 }
24260 arg2 = static_cast< int >(val2);
24261 {
24262 PyThreadState* __tstate = wxPyBeginAllowThreads();
24263 (arg1)->SetNoCopies(arg2);
24264 wxPyEndAllowThreads(__tstate);
24265 if (PyErr_Occurred()) SWIG_fail;
24266 }
24267 resultobj = SWIG_Py_Void();
24268 return resultobj;
24269 fail:
24270 return NULL;
24271 }
24272
24273
24274 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24275 PyObject *resultobj = 0;
24276 wxPrintData *arg1 = (wxPrintData *) 0 ;
24277 bool arg2 ;
24278 void *argp1 = 0 ;
24279 int res1 = 0 ;
24280 bool val2 ;
24281 int ecode2 = 0 ;
24282 PyObject * obj0 = 0 ;
24283 PyObject * obj1 = 0 ;
24284 char * kwnames[] = {
24285 (char *) "self",(char *) "flag", NULL
24286 };
24287
24288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24290 if (!SWIG_IsOK(res1)) {
24291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24292 }
24293 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24294 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24295 if (!SWIG_IsOK(ecode2)) {
24296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24297 }
24298 arg2 = static_cast< bool >(val2);
24299 {
24300 PyThreadState* __tstate = wxPyBeginAllowThreads();
24301 (arg1)->SetCollate(arg2);
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 resultobj = SWIG_Py_Void();
24306 return resultobj;
24307 fail:
24308 return NULL;
24309 }
24310
24311
24312 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24313 PyObject *resultobj = 0;
24314 wxPrintData *arg1 = (wxPrintData *) 0 ;
24315 int arg2 ;
24316 void *argp1 = 0 ;
24317 int res1 = 0 ;
24318 int val2 ;
24319 int ecode2 = 0 ;
24320 PyObject * obj0 = 0 ;
24321 PyObject * obj1 = 0 ;
24322 char * kwnames[] = {
24323 (char *) "self",(char *) "orient", NULL
24324 };
24325
24326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24328 if (!SWIG_IsOK(res1)) {
24329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24330 }
24331 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24332 ecode2 = SWIG_AsVal_int(obj1, &val2);
24333 if (!SWIG_IsOK(ecode2)) {
24334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24335 }
24336 arg2 = static_cast< int >(val2);
24337 {
24338 PyThreadState* __tstate = wxPyBeginAllowThreads();
24339 (arg1)->SetOrientation(arg2);
24340 wxPyEndAllowThreads(__tstate);
24341 if (PyErr_Occurred()) SWIG_fail;
24342 }
24343 resultobj = SWIG_Py_Void();
24344 return resultobj;
24345 fail:
24346 return NULL;
24347 }
24348
24349
24350 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24351 PyObject *resultobj = 0;
24352 wxPrintData *arg1 = (wxPrintData *) 0 ;
24353 wxString *arg2 = 0 ;
24354 void *argp1 = 0 ;
24355 int res1 = 0 ;
24356 bool temp2 = false ;
24357 PyObject * obj0 = 0 ;
24358 PyObject * obj1 = 0 ;
24359 char * kwnames[] = {
24360 (char *) "self",(char *) "name", NULL
24361 };
24362
24363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24365 if (!SWIG_IsOK(res1)) {
24366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24367 }
24368 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24369 {
24370 arg2 = wxString_in_helper(obj1);
24371 if (arg2 == NULL) SWIG_fail;
24372 temp2 = true;
24373 }
24374 {
24375 PyThreadState* __tstate = wxPyBeginAllowThreads();
24376 (arg1)->SetPrinterName((wxString const &)*arg2);
24377 wxPyEndAllowThreads(__tstate);
24378 if (PyErr_Occurred()) SWIG_fail;
24379 }
24380 resultobj = SWIG_Py_Void();
24381 {
24382 if (temp2)
24383 delete arg2;
24384 }
24385 return resultobj;
24386 fail:
24387 {
24388 if (temp2)
24389 delete arg2;
24390 }
24391 return NULL;
24392 }
24393
24394
24395 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24396 PyObject *resultobj = 0;
24397 wxPrintData *arg1 = (wxPrintData *) 0 ;
24398 bool arg2 ;
24399 void *argp1 = 0 ;
24400 int res1 = 0 ;
24401 bool val2 ;
24402 int ecode2 = 0 ;
24403 PyObject * obj0 = 0 ;
24404 PyObject * obj1 = 0 ;
24405 char * kwnames[] = {
24406 (char *) "self",(char *) "colour", NULL
24407 };
24408
24409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24411 if (!SWIG_IsOK(res1)) {
24412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24413 }
24414 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24415 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24416 if (!SWIG_IsOK(ecode2)) {
24417 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24418 }
24419 arg2 = static_cast< bool >(val2);
24420 {
24421 PyThreadState* __tstate = wxPyBeginAllowThreads();
24422 (arg1)->SetColour(arg2);
24423 wxPyEndAllowThreads(__tstate);
24424 if (PyErr_Occurred()) SWIG_fail;
24425 }
24426 resultobj = SWIG_Py_Void();
24427 return resultobj;
24428 fail:
24429 return NULL;
24430 }
24431
24432
24433 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24434 PyObject *resultobj = 0;
24435 wxPrintData *arg1 = (wxPrintData *) 0 ;
24436 wxDuplexMode arg2 ;
24437 void *argp1 = 0 ;
24438 int res1 = 0 ;
24439 int val2 ;
24440 int ecode2 = 0 ;
24441 PyObject * obj0 = 0 ;
24442 PyObject * obj1 = 0 ;
24443 char * kwnames[] = {
24444 (char *) "self",(char *) "duplex", NULL
24445 };
24446
24447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24449 if (!SWIG_IsOK(res1)) {
24450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24451 }
24452 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24453 ecode2 = SWIG_AsVal_int(obj1, &val2);
24454 if (!SWIG_IsOK(ecode2)) {
24455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24456 }
24457 arg2 = static_cast< wxDuplexMode >(val2);
24458 {
24459 PyThreadState* __tstate = wxPyBeginAllowThreads();
24460 (arg1)->SetDuplex(arg2);
24461 wxPyEndAllowThreads(__tstate);
24462 if (PyErr_Occurred()) SWIG_fail;
24463 }
24464 resultobj = SWIG_Py_Void();
24465 return resultobj;
24466 fail:
24467 return NULL;
24468 }
24469
24470
24471 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24472 PyObject *resultobj = 0;
24473 wxPrintData *arg1 = (wxPrintData *) 0 ;
24474 wxPaperSize arg2 ;
24475 void *argp1 = 0 ;
24476 int res1 = 0 ;
24477 int val2 ;
24478 int ecode2 = 0 ;
24479 PyObject * obj0 = 0 ;
24480 PyObject * obj1 = 0 ;
24481 char * kwnames[] = {
24482 (char *) "self",(char *) "sizeId", NULL
24483 };
24484
24485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24487 if (!SWIG_IsOK(res1)) {
24488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24489 }
24490 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24491 ecode2 = SWIG_AsVal_int(obj1, &val2);
24492 if (!SWIG_IsOK(ecode2)) {
24493 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24494 }
24495 arg2 = static_cast< wxPaperSize >(val2);
24496 {
24497 PyThreadState* __tstate = wxPyBeginAllowThreads();
24498 (arg1)->SetPaperId(arg2);
24499 wxPyEndAllowThreads(__tstate);
24500 if (PyErr_Occurred()) SWIG_fail;
24501 }
24502 resultobj = SWIG_Py_Void();
24503 return resultobj;
24504 fail:
24505 return NULL;
24506 }
24507
24508
24509 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24510 PyObject *resultobj = 0;
24511 wxPrintData *arg1 = (wxPrintData *) 0 ;
24512 wxSize *arg2 = 0 ;
24513 void *argp1 = 0 ;
24514 int res1 = 0 ;
24515 wxSize temp2 ;
24516 PyObject * obj0 = 0 ;
24517 PyObject * obj1 = 0 ;
24518 char * kwnames[] = {
24519 (char *) "self",(char *) "sz", NULL
24520 };
24521
24522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24524 if (!SWIG_IsOK(res1)) {
24525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24526 }
24527 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24528 {
24529 arg2 = &temp2;
24530 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24531 }
24532 {
24533 PyThreadState* __tstate = wxPyBeginAllowThreads();
24534 (arg1)->SetPaperSize((wxSize const &)*arg2);
24535 wxPyEndAllowThreads(__tstate);
24536 if (PyErr_Occurred()) SWIG_fail;
24537 }
24538 resultobj = SWIG_Py_Void();
24539 return resultobj;
24540 fail:
24541 return NULL;
24542 }
24543
24544
24545 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24546 PyObject *resultobj = 0;
24547 wxPrintData *arg1 = (wxPrintData *) 0 ;
24548 int arg2 ;
24549 void *argp1 = 0 ;
24550 int res1 = 0 ;
24551 int val2 ;
24552 int ecode2 = 0 ;
24553 PyObject * obj0 = 0 ;
24554 PyObject * obj1 = 0 ;
24555 char * kwnames[] = {
24556 (char *) "self",(char *) "quality", NULL
24557 };
24558
24559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24561 if (!SWIG_IsOK(res1)) {
24562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24563 }
24564 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24565 ecode2 = SWIG_AsVal_int(obj1, &val2);
24566 if (!SWIG_IsOK(ecode2)) {
24567 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24568 }
24569 arg2 = static_cast< int >(val2);
24570 {
24571 PyThreadState* __tstate = wxPyBeginAllowThreads();
24572 (arg1)->SetQuality(arg2);
24573 wxPyEndAllowThreads(__tstate);
24574 if (PyErr_Occurred()) SWIG_fail;
24575 }
24576 resultobj = SWIG_Py_Void();
24577 return resultobj;
24578 fail:
24579 return NULL;
24580 }
24581
24582
24583 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24584 PyObject *resultobj = 0;
24585 wxPrintData *arg1 = (wxPrintData *) 0 ;
24586 wxPrintBin arg2 ;
24587 void *argp1 = 0 ;
24588 int res1 = 0 ;
24589 int val2 ;
24590 int ecode2 = 0 ;
24591 PyObject * obj0 = 0 ;
24592 PyObject * obj1 = 0 ;
24593 char * kwnames[] = {
24594 (char *) "self",(char *) "bin", NULL
24595 };
24596
24597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24599 if (!SWIG_IsOK(res1)) {
24600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24601 }
24602 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24603 ecode2 = SWIG_AsVal_int(obj1, &val2);
24604 if (!SWIG_IsOK(ecode2)) {
24605 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24606 }
24607 arg2 = static_cast< wxPrintBin >(val2);
24608 {
24609 PyThreadState* __tstate = wxPyBeginAllowThreads();
24610 (arg1)->SetBin(arg2);
24611 wxPyEndAllowThreads(__tstate);
24612 if (PyErr_Occurred()) SWIG_fail;
24613 }
24614 resultobj = SWIG_Py_Void();
24615 return resultobj;
24616 fail:
24617 return NULL;
24618 }
24619
24620
24621 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24622 PyObject *resultobj = 0;
24623 wxPrintData *arg1 = (wxPrintData *) 0 ;
24624 wxPrintMode arg2 ;
24625 void *argp1 = 0 ;
24626 int res1 = 0 ;
24627 int val2 ;
24628 int ecode2 = 0 ;
24629 PyObject * obj0 = 0 ;
24630 PyObject * obj1 = 0 ;
24631 char * kwnames[] = {
24632 (char *) "self",(char *) "printMode", NULL
24633 };
24634
24635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24637 if (!SWIG_IsOK(res1)) {
24638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24639 }
24640 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24641 ecode2 = SWIG_AsVal_int(obj1, &val2);
24642 if (!SWIG_IsOK(ecode2)) {
24643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24644 }
24645 arg2 = static_cast< wxPrintMode >(val2);
24646 {
24647 PyThreadState* __tstate = wxPyBeginAllowThreads();
24648 (arg1)->SetPrintMode(arg2);
24649 wxPyEndAllowThreads(__tstate);
24650 if (PyErr_Occurred()) SWIG_fail;
24651 }
24652 resultobj = SWIG_Py_Void();
24653 return resultobj;
24654 fail:
24655 return NULL;
24656 }
24657
24658
24659 SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24660 PyObject *resultobj = 0;
24661 wxPrintData *arg1 = (wxPrintData *) 0 ;
24662 int arg2 ;
24663 void *argp1 = 0 ;
24664 int res1 = 0 ;
24665 int val2 ;
24666 int ecode2 = 0 ;
24667 PyObject * obj0 = 0 ;
24668 PyObject * obj1 = 0 ;
24669 char * kwnames[] = {
24670 (char *) "self",(char *) "media", NULL
24671 };
24672
24673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
24674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24675 if (!SWIG_IsOK(res1)) {
24676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24677 }
24678 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24679 ecode2 = SWIG_AsVal_int(obj1, &val2);
24680 if (!SWIG_IsOK(ecode2)) {
24681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24682 }
24683 arg2 = static_cast< int >(val2);
24684 {
24685 PyThreadState* __tstate = wxPyBeginAllowThreads();
24686 (arg1)->SetMedia(arg2);
24687 wxPyEndAllowThreads(__tstate);
24688 if (PyErr_Occurred()) SWIG_fail;
24689 }
24690 resultobj = SWIG_Py_Void();
24691 return resultobj;
24692 fail:
24693 return NULL;
24694 }
24695
24696
24697 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24698 PyObject *resultobj = 0;
24699 wxPrintData *arg1 = (wxPrintData *) 0 ;
24700 wxString result;
24701 void *argp1 = 0 ;
24702 int res1 = 0 ;
24703 PyObject *swig_obj[1] ;
24704
24705 if (!args) SWIG_fail;
24706 swig_obj[0] = args;
24707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24708 if (!SWIG_IsOK(res1)) {
24709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24710 }
24711 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24712 {
24713 PyThreadState* __tstate = wxPyBeginAllowThreads();
24714 result = ((wxPrintData const *)arg1)->GetFilename();
24715 wxPyEndAllowThreads(__tstate);
24716 if (PyErr_Occurred()) SWIG_fail;
24717 }
24718 {
24719 #if wxUSE_UNICODE
24720 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24721 #else
24722 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24723 #endif
24724 }
24725 return resultobj;
24726 fail:
24727 return NULL;
24728 }
24729
24730
24731 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24732 PyObject *resultobj = 0;
24733 wxPrintData *arg1 = (wxPrintData *) 0 ;
24734 wxString *arg2 = 0 ;
24735 void *argp1 = 0 ;
24736 int res1 = 0 ;
24737 bool temp2 = false ;
24738 PyObject * obj0 = 0 ;
24739 PyObject * obj1 = 0 ;
24740 char * kwnames[] = {
24741 (char *) "self",(char *) "filename", NULL
24742 };
24743
24744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24746 if (!SWIG_IsOK(res1)) {
24747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24748 }
24749 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24750 {
24751 arg2 = wxString_in_helper(obj1);
24752 if (arg2 == NULL) SWIG_fail;
24753 temp2 = true;
24754 }
24755 {
24756 PyThreadState* __tstate = wxPyBeginAllowThreads();
24757 (arg1)->SetFilename((wxString const &)*arg2);
24758 wxPyEndAllowThreads(__tstate);
24759 if (PyErr_Occurred()) SWIG_fail;
24760 }
24761 resultobj = SWIG_Py_Void();
24762 {
24763 if (temp2)
24764 delete arg2;
24765 }
24766 return resultobj;
24767 fail:
24768 {
24769 if (temp2)
24770 delete arg2;
24771 }
24772 return NULL;
24773 }
24774
24775
24776 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24777 PyObject *resultobj = 0;
24778 wxPrintData *arg1 = (wxPrintData *) 0 ;
24779 PyObject *result = 0 ;
24780 void *argp1 = 0 ;
24781 int res1 = 0 ;
24782 PyObject *swig_obj[1] ;
24783
24784 if (!args) SWIG_fail;
24785 swig_obj[0] = args;
24786 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24787 if (!SWIG_IsOK(res1)) {
24788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24789 }
24790 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24791 {
24792 PyThreadState* __tstate = wxPyBeginAllowThreads();
24793 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24794 wxPyEndAllowThreads(__tstate);
24795 if (PyErr_Occurred()) SWIG_fail;
24796 }
24797 resultobj = result;
24798 return resultobj;
24799 fail:
24800 return NULL;
24801 }
24802
24803
24804 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24805 PyObject *resultobj = 0;
24806 wxPrintData *arg1 = (wxPrintData *) 0 ;
24807 PyObject *arg2 = (PyObject *) 0 ;
24808 void *argp1 = 0 ;
24809 int res1 = 0 ;
24810 PyObject * obj0 = 0 ;
24811 PyObject * obj1 = 0 ;
24812 char * kwnames[] = {
24813 (char *) "self",(char *) "data", NULL
24814 };
24815
24816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24818 if (!SWIG_IsOK(res1)) {
24819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24820 }
24821 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24822 arg2 = obj1;
24823 {
24824 PyThreadState* __tstate = wxPyBeginAllowThreads();
24825 wxPrintData_SetPrivData(arg1,arg2);
24826 wxPyEndAllowThreads(__tstate);
24827 if (PyErr_Occurred()) SWIG_fail;
24828 }
24829 resultobj = SWIG_Py_Void();
24830 return resultobj;
24831 fail:
24832 return NULL;
24833 }
24834
24835
24836 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24837 PyObject *obj;
24838 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24839 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24840 return SWIG_Py_Void();
24841 }
24842
24843 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24844 return SWIG_Python_InitShadowInstance(args);
24845 }
24846
24847 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24848 PyObject *resultobj = 0;
24849 wxPageSetupDialogData *result = 0 ;
24850
24851 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24852 {
24853 PyThreadState* __tstate = wxPyBeginAllowThreads();
24854 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24855 wxPyEndAllowThreads(__tstate);
24856 if (PyErr_Occurred()) SWIG_fail;
24857 }
24858 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24859 return resultobj;
24860 fail:
24861 return NULL;
24862 }
24863
24864
24865 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24866 PyObject *resultobj = 0;
24867 wxPageSetupDialogData *arg1 = 0 ;
24868 wxPageSetupDialogData *result = 0 ;
24869 void *argp1 = 0 ;
24870 int res1 = 0 ;
24871
24872 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24874 if (!SWIG_IsOK(res1)) {
24875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24876 }
24877 if (!argp1) {
24878 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24879 }
24880 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24881 {
24882 PyThreadState* __tstate = wxPyBeginAllowThreads();
24883 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24884 wxPyEndAllowThreads(__tstate);
24885 if (PyErr_Occurred()) SWIG_fail;
24886 }
24887 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24888 return resultobj;
24889 fail:
24890 return NULL;
24891 }
24892
24893
24894 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24895 PyObject *resultobj = 0;
24896 wxPrintData *arg1 = 0 ;
24897 wxPageSetupDialogData *result = 0 ;
24898 void *argp1 = 0 ;
24899 int res1 = 0 ;
24900
24901 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24903 if (!SWIG_IsOK(res1)) {
24904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24905 }
24906 if (!argp1) {
24907 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24908 }
24909 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24910 {
24911 PyThreadState* __tstate = wxPyBeginAllowThreads();
24912 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24913 wxPyEndAllowThreads(__tstate);
24914 if (PyErr_Occurred()) SWIG_fail;
24915 }
24916 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24917 return resultobj;
24918 fail:
24919 return NULL;
24920 }
24921
24922
24923 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24924 int argc;
24925 PyObject *argv[2];
24926
24927 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24928 --argc;
24929 if (argc == 0) {
24930 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24931 }
24932 if (argc == 1) {
24933 int _v = 0;
24934 {
24935 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24936 _v = SWIG_CheckState(res);
24937 }
24938 if (!_v) goto check_2;
24939 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24940 }
24941 check_2:
24942
24943 if (argc == 1) {
24944 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24945 }
24946
24947 fail:
24948 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24949 return NULL;
24950 }
24951
24952
24953 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24954 PyObject *resultobj = 0;
24955 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24956 void *argp1 = 0 ;
24957 int res1 = 0 ;
24958 PyObject *swig_obj[1] ;
24959
24960 if (!args) SWIG_fail;
24961 swig_obj[0] = args;
24962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24963 if (!SWIG_IsOK(res1)) {
24964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24965 }
24966 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24967 {
24968 PyThreadState* __tstate = wxPyBeginAllowThreads();
24969 delete arg1;
24970
24971 wxPyEndAllowThreads(__tstate);
24972 if (PyErr_Occurred()) SWIG_fail;
24973 }
24974 resultobj = SWIG_Py_Void();
24975 return resultobj;
24976 fail:
24977 return NULL;
24978 }
24979
24980
24981 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24982 PyObject *resultobj = 0;
24983 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24984 bool arg2 ;
24985 void *argp1 = 0 ;
24986 int res1 = 0 ;
24987 bool val2 ;
24988 int ecode2 = 0 ;
24989 PyObject * obj0 = 0 ;
24990 PyObject * obj1 = 0 ;
24991 char * kwnames[] = {
24992 (char *) "self",(char *) "flag", NULL
24993 };
24994
24995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24997 if (!SWIG_IsOK(res1)) {
24998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24999 }
25000 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25001 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25002 if (!SWIG_IsOK(ecode2)) {
25003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
25004 }
25005 arg2 = static_cast< bool >(val2);
25006 {
25007 PyThreadState* __tstate = wxPyBeginAllowThreads();
25008 (arg1)->EnableHelp(arg2);
25009 wxPyEndAllowThreads(__tstate);
25010 if (PyErr_Occurred()) SWIG_fail;
25011 }
25012 resultobj = SWIG_Py_Void();
25013 return resultobj;
25014 fail:
25015 return NULL;
25016 }
25017
25018
25019 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25020 PyObject *resultobj = 0;
25021 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25022 bool arg2 ;
25023 void *argp1 = 0 ;
25024 int res1 = 0 ;
25025 bool val2 ;
25026 int ecode2 = 0 ;
25027 PyObject * obj0 = 0 ;
25028 PyObject * obj1 = 0 ;
25029 char * kwnames[] = {
25030 (char *) "self",(char *) "flag", NULL
25031 };
25032
25033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25035 if (!SWIG_IsOK(res1)) {
25036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25037 }
25038 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25039 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25040 if (!SWIG_IsOK(ecode2)) {
25041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25042 }
25043 arg2 = static_cast< bool >(val2);
25044 {
25045 PyThreadState* __tstate = wxPyBeginAllowThreads();
25046 (arg1)->EnableMargins(arg2);
25047 wxPyEndAllowThreads(__tstate);
25048 if (PyErr_Occurred()) SWIG_fail;
25049 }
25050 resultobj = SWIG_Py_Void();
25051 return resultobj;
25052 fail:
25053 return NULL;
25054 }
25055
25056
25057 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25058 PyObject *resultobj = 0;
25059 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25060 bool arg2 ;
25061 void *argp1 = 0 ;
25062 int res1 = 0 ;
25063 bool val2 ;
25064 int ecode2 = 0 ;
25065 PyObject * obj0 = 0 ;
25066 PyObject * obj1 = 0 ;
25067 char * kwnames[] = {
25068 (char *) "self",(char *) "flag", NULL
25069 };
25070
25071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
25072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25073 if (!SWIG_IsOK(res1)) {
25074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25075 }
25076 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25077 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25078 if (!SWIG_IsOK(ecode2)) {
25079 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25080 }
25081 arg2 = static_cast< bool >(val2);
25082 {
25083 PyThreadState* __tstate = wxPyBeginAllowThreads();
25084 (arg1)->EnableOrientation(arg2);
25085 wxPyEndAllowThreads(__tstate);
25086 if (PyErr_Occurred()) SWIG_fail;
25087 }
25088 resultobj = SWIG_Py_Void();
25089 return resultobj;
25090 fail:
25091 return NULL;
25092 }
25093
25094
25095 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25096 PyObject *resultobj = 0;
25097 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25098 bool arg2 ;
25099 void *argp1 = 0 ;
25100 int res1 = 0 ;
25101 bool val2 ;
25102 int ecode2 = 0 ;
25103 PyObject * obj0 = 0 ;
25104 PyObject * obj1 = 0 ;
25105 char * kwnames[] = {
25106 (char *) "self",(char *) "flag", NULL
25107 };
25108
25109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
25110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25111 if (!SWIG_IsOK(res1)) {
25112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25113 }
25114 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25115 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25116 if (!SWIG_IsOK(ecode2)) {
25117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25118 }
25119 arg2 = static_cast< bool >(val2);
25120 {
25121 PyThreadState* __tstate = wxPyBeginAllowThreads();
25122 (arg1)->EnablePaper(arg2);
25123 wxPyEndAllowThreads(__tstate);
25124 if (PyErr_Occurred()) SWIG_fail;
25125 }
25126 resultobj = SWIG_Py_Void();
25127 return resultobj;
25128 fail:
25129 return NULL;
25130 }
25131
25132
25133 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25134 PyObject *resultobj = 0;
25135 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25136 bool arg2 ;
25137 void *argp1 = 0 ;
25138 int res1 = 0 ;
25139 bool val2 ;
25140 int ecode2 = 0 ;
25141 PyObject * obj0 = 0 ;
25142 PyObject * obj1 = 0 ;
25143 char * kwnames[] = {
25144 (char *) "self",(char *) "flag", NULL
25145 };
25146
25147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
25148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25149 if (!SWIG_IsOK(res1)) {
25150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25151 }
25152 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25153 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25154 if (!SWIG_IsOK(ecode2)) {
25155 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25156 }
25157 arg2 = static_cast< bool >(val2);
25158 {
25159 PyThreadState* __tstate = wxPyBeginAllowThreads();
25160 (arg1)->EnablePrinter(arg2);
25161 wxPyEndAllowThreads(__tstate);
25162 if (PyErr_Occurred()) SWIG_fail;
25163 }
25164 resultobj = SWIG_Py_Void();
25165 return resultobj;
25166 fail:
25167 return NULL;
25168 }
25169
25170
25171 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25172 PyObject *resultobj = 0;
25173 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25174 bool result;
25175 void *argp1 = 0 ;
25176 int res1 = 0 ;
25177 PyObject *swig_obj[1] ;
25178
25179 if (!args) SWIG_fail;
25180 swig_obj[0] = args;
25181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25182 if (!SWIG_IsOK(res1)) {
25183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25184 }
25185 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25186 {
25187 PyThreadState* __tstate = wxPyBeginAllowThreads();
25188 result = (bool)(arg1)->GetDefaultMinMargins();
25189 wxPyEndAllowThreads(__tstate);
25190 if (PyErr_Occurred()) SWIG_fail;
25191 }
25192 {
25193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25194 }
25195 return resultobj;
25196 fail:
25197 return NULL;
25198 }
25199
25200
25201 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25202 PyObject *resultobj = 0;
25203 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25204 bool result;
25205 void *argp1 = 0 ;
25206 int res1 = 0 ;
25207 PyObject *swig_obj[1] ;
25208
25209 if (!args) SWIG_fail;
25210 swig_obj[0] = args;
25211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25212 if (!SWIG_IsOK(res1)) {
25213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25214 }
25215 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25216 {
25217 PyThreadState* __tstate = wxPyBeginAllowThreads();
25218 result = (bool)(arg1)->GetEnableMargins();
25219 wxPyEndAllowThreads(__tstate);
25220 if (PyErr_Occurred()) SWIG_fail;
25221 }
25222 {
25223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25224 }
25225 return resultobj;
25226 fail:
25227 return NULL;
25228 }
25229
25230
25231 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25232 PyObject *resultobj = 0;
25233 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25234 bool result;
25235 void *argp1 = 0 ;
25236 int res1 = 0 ;
25237 PyObject *swig_obj[1] ;
25238
25239 if (!args) SWIG_fail;
25240 swig_obj[0] = args;
25241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25242 if (!SWIG_IsOK(res1)) {
25243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25244 }
25245 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25246 {
25247 PyThreadState* __tstate = wxPyBeginAllowThreads();
25248 result = (bool)(arg1)->GetEnableOrientation();
25249 wxPyEndAllowThreads(__tstate);
25250 if (PyErr_Occurred()) SWIG_fail;
25251 }
25252 {
25253 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25254 }
25255 return resultobj;
25256 fail:
25257 return NULL;
25258 }
25259
25260
25261 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25262 PyObject *resultobj = 0;
25263 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25264 bool result;
25265 void *argp1 = 0 ;
25266 int res1 = 0 ;
25267 PyObject *swig_obj[1] ;
25268
25269 if (!args) SWIG_fail;
25270 swig_obj[0] = args;
25271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25272 if (!SWIG_IsOK(res1)) {
25273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25274 }
25275 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25276 {
25277 PyThreadState* __tstate = wxPyBeginAllowThreads();
25278 result = (bool)(arg1)->GetEnablePaper();
25279 wxPyEndAllowThreads(__tstate);
25280 if (PyErr_Occurred()) SWIG_fail;
25281 }
25282 {
25283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25284 }
25285 return resultobj;
25286 fail:
25287 return NULL;
25288 }
25289
25290
25291 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25292 PyObject *resultobj = 0;
25293 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25294 bool result;
25295 void *argp1 = 0 ;
25296 int res1 = 0 ;
25297 PyObject *swig_obj[1] ;
25298
25299 if (!args) SWIG_fail;
25300 swig_obj[0] = args;
25301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25302 if (!SWIG_IsOK(res1)) {
25303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25304 }
25305 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25306 {
25307 PyThreadState* __tstate = wxPyBeginAllowThreads();
25308 result = (bool)(arg1)->GetEnablePrinter();
25309 wxPyEndAllowThreads(__tstate);
25310 if (PyErr_Occurred()) SWIG_fail;
25311 }
25312 {
25313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25314 }
25315 return resultobj;
25316 fail:
25317 return NULL;
25318 }
25319
25320
25321 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25322 PyObject *resultobj = 0;
25323 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25324 bool result;
25325 void *argp1 = 0 ;
25326 int res1 = 0 ;
25327 PyObject *swig_obj[1] ;
25328
25329 if (!args) SWIG_fail;
25330 swig_obj[0] = args;
25331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25332 if (!SWIG_IsOK(res1)) {
25333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25334 }
25335 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25336 {
25337 PyThreadState* __tstate = wxPyBeginAllowThreads();
25338 result = (bool)(arg1)->GetEnableHelp();
25339 wxPyEndAllowThreads(__tstate);
25340 if (PyErr_Occurred()) SWIG_fail;
25341 }
25342 {
25343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25344 }
25345 return resultobj;
25346 fail:
25347 return NULL;
25348 }
25349
25350
25351 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25352 PyObject *resultobj = 0;
25353 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25354 bool result;
25355 void *argp1 = 0 ;
25356 int res1 = 0 ;
25357 PyObject *swig_obj[1] ;
25358
25359 if (!args) SWIG_fail;
25360 swig_obj[0] = args;
25361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25362 if (!SWIG_IsOK(res1)) {
25363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25364 }
25365 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25366 {
25367 PyThreadState* __tstate = wxPyBeginAllowThreads();
25368 result = (bool)(arg1)->GetDefaultInfo();
25369 wxPyEndAllowThreads(__tstate);
25370 if (PyErr_Occurred()) SWIG_fail;
25371 }
25372 {
25373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25374 }
25375 return resultobj;
25376 fail:
25377 return NULL;
25378 }
25379
25380
25381 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25382 PyObject *resultobj = 0;
25383 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25384 wxPoint result;
25385 void *argp1 = 0 ;
25386 int res1 = 0 ;
25387 PyObject *swig_obj[1] ;
25388
25389 if (!args) SWIG_fail;
25390 swig_obj[0] = args;
25391 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25392 if (!SWIG_IsOK(res1)) {
25393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25394 }
25395 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25396 {
25397 PyThreadState* __tstate = wxPyBeginAllowThreads();
25398 result = (arg1)->GetMarginTopLeft();
25399 wxPyEndAllowThreads(__tstate);
25400 if (PyErr_Occurred()) SWIG_fail;
25401 }
25402 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25403 return resultobj;
25404 fail:
25405 return NULL;
25406 }
25407
25408
25409 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25410 PyObject *resultobj = 0;
25411 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25412 wxPoint result;
25413 void *argp1 = 0 ;
25414 int res1 = 0 ;
25415 PyObject *swig_obj[1] ;
25416
25417 if (!args) SWIG_fail;
25418 swig_obj[0] = args;
25419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25420 if (!SWIG_IsOK(res1)) {
25421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25422 }
25423 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25424 {
25425 PyThreadState* __tstate = wxPyBeginAllowThreads();
25426 result = (arg1)->GetMarginBottomRight();
25427 wxPyEndAllowThreads(__tstate);
25428 if (PyErr_Occurred()) SWIG_fail;
25429 }
25430 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25431 return resultobj;
25432 fail:
25433 return NULL;
25434 }
25435
25436
25437 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25438 PyObject *resultobj = 0;
25439 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25440 wxPoint result;
25441 void *argp1 = 0 ;
25442 int res1 = 0 ;
25443 PyObject *swig_obj[1] ;
25444
25445 if (!args) SWIG_fail;
25446 swig_obj[0] = args;
25447 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25448 if (!SWIG_IsOK(res1)) {
25449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25450 }
25451 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25452 {
25453 PyThreadState* __tstate = wxPyBeginAllowThreads();
25454 result = (arg1)->GetMinMarginTopLeft();
25455 wxPyEndAllowThreads(__tstate);
25456 if (PyErr_Occurred()) SWIG_fail;
25457 }
25458 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25459 return resultobj;
25460 fail:
25461 return NULL;
25462 }
25463
25464
25465 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25466 PyObject *resultobj = 0;
25467 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25468 wxPoint result;
25469 void *argp1 = 0 ;
25470 int res1 = 0 ;
25471 PyObject *swig_obj[1] ;
25472
25473 if (!args) SWIG_fail;
25474 swig_obj[0] = args;
25475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25476 if (!SWIG_IsOK(res1)) {
25477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25478 }
25479 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25480 {
25481 PyThreadState* __tstate = wxPyBeginAllowThreads();
25482 result = (arg1)->GetMinMarginBottomRight();
25483 wxPyEndAllowThreads(__tstate);
25484 if (PyErr_Occurred()) SWIG_fail;
25485 }
25486 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25487 return resultobj;
25488 fail:
25489 return NULL;
25490 }
25491
25492
25493 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25494 PyObject *resultobj = 0;
25495 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25496 wxPaperSize result;
25497 void *argp1 = 0 ;
25498 int res1 = 0 ;
25499 PyObject *swig_obj[1] ;
25500
25501 if (!args) SWIG_fail;
25502 swig_obj[0] = args;
25503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25504 if (!SWIG_IsOK(res1)) {
25505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25506 }
25507 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25508 {
25509 PyThreadState* __tstate = wxPyBeginAllowThreads();
25510 result = (wxPaperSize)(arg1)->GetPaperId();
25511 wxPyEndAllowThreads(__tstate);
25512 if (PyErr_Occurred()) SWIG_fail;
25513 }
25514 resultobj = SWIG_From_int(static_cast< int >(result));
25515 return resultobj;
25516 fail:
25517 return NULL;
25518 }
25519
25520
25521 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25522 PyObject *resultobj = 0;
25523 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25524 wxSize result;
25525 void *argp1 = 0 ;
25526 int res1 = 0 ;
25527 PyObject *swig_obj[1] ;
25528
25529 if (!args) SWIG_fail;
25530 swig_obj[0] = args;
25531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25532 if (!SWIG_IsOK(res1)) {
25533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25534 }
25535 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25536 {
25537 PyThreadState* __tstate = wxPyBeginAllowThreads();
25538 result = (arg1)->GetPaperSize();
25539 wxPyEndAllowThreads(__tstate);
25540 if (PyErr_Occurred()) SWIG_fail;
25541 }
25542 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25543 return resultobj;
25544 fail:
25545 return NULL;
25546 }
25547
25548
25549 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25550 PyObject *resultobj = 0;
25551 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25552 wxPrintData *result = 0 ;
25553 void *argp1 = 0 ;
25554 int res1 = 0 ;
25555 PyObject *swig_obj[1] ;
25556
25557 if (!args) SWIG_fail;
25558 swig_obj[0] = args;
25559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25560 if (!SWIG_IsOK(res1)) {
25561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25562 }
25563 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25564 {
25565 PyThreadState* __tstate = wxPyBeginAllowThreads();
25566 {
25567 wxPrintData &_result_ref = (arg1)->GetPrintData();
25568 result = (wxPrintData *) &_result_ref;
25569 }
25570 wxPyEndAllowThreads(__tstate);
25571 if (PyErr_Occurred()) SWIG_fail;
25572 }
25573 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25574 return resultobj;
25575 fail:
25576 return NULL;
25577 }
25578
25579
25580 SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25581 PyObject *resultobj = 0;
25582 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25583 bool result;
25584 void *argp1 = 0 ;
25585 int res1 = 0 ;
25586 PyObject *swig_obj[1] ;
25587
25588 if (!args) SWIG_fail;
25589 swig_obj[0] = args;
25590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25591 if (!SWIG_IsOK(res1)) {
25592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25593 }
25594 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25595 {
25596 PyThreadState* __tstate = wxPyBeginAllowThreads();
25597 result = (bool)(arg1)->IsOk();
25598 wxPyEndAllowThreads(__tstate);
25599 if (PyErr_Occurred()) SWIG_fail;
25600 }
25601 {
25602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25603 }
25604 return resultobj;
25605 fail:
25606 return NULL;
25607 }
25608
25609
25610 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25611 PyObject *resultobj = 0;
25612 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25613 bool arg2 ;
25614 void *argp1 = 0 ;
25615 int res1 = 0 ;
25616 bool val2 ;
25617 int ecode2 = 0 ;
25618 PyObject * obj0 = 0 ;
25619 PyObject * obj1 = 0 ;
25620 char * kwnames[] = {
25621 (char *) "self",(char *) "flag", NULL
25622 };
25623
25624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25626 if (!SWIG_IsOK(res1)) {
25627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25628 }
25629 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25630 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25631 if (!SWIG_IsOK(ecode2)) {
25632 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25633 }
25634 arg2 = static_cast< bool >(val2);
25635 {
25636 PyThreadState* __tstate = wxPyBeginAllowThreads();
25637 (arg1)->SetDefaultInfo(arg2);
25638 wxPyEndAllowThreads(__tstate);
25639 if (PyErr_Occurred()) SWIG_fail;
25640 }
25641 resultobj = SWIG_Py_Void();
25642 return resultobj;
25643 fail:
25644 return NULL;
25645 }
25646
25647
25648 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25649 PyObject *resultobj = 0;
25650 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25651 bool arg2 ;
25652 void *argp1 = 0 ;
25653 int res1 = 0 ;
25654 bool val2 ;
25655 int ecode2 = 0 ;
25656 PyObject * obj0 = 0 ;
25657 PyObject * obj1 = 0 ;
25658 char * kwnames[] = {
25659 (char *) "self",(char *) "flag", NULL
25660 };
25661
25662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25664 if (!SWIG_IsOK(res1)) {
25665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25666 }
25667 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25668 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25669 if (!SWIG_IsOK(ecode2)) {
25670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25671 }
25672 arg2 = static_cast< bool >(val2);
25673 {
25674 PyThreadState* __tstate = wxPyBeginAllowThreads();
25675 (arg1)->SetDefaultMinMargins(arg2);
25676 wxPyEndAllowThreads(__tstate);
25677 if (PyErr_Occurred()) SWIG_fail;
25678 }
25679 resultobj = SWIG_Py_Void();
25680 return resultobj;
25681 fail:
25682 return NULL;
25683 }
25684
25685
25686 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25687 PyObject *resultobj = 0;
25688 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25689 wxPoint *arg2 = 0 ;
25690 void *argp1 = 0 ;
25691 int res1 = 0 ;
25692 wxPoint temp2 ;
25693 PyObject * obj0 = 0 ;
25694 PyObject * obj1 = 0 ;
25695 char * kwnames[] = {
25696 (char *) "self",(char *) "pt", NULL
25697 };
25698
25699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25701 if (!SWIG_IsOK(res1)) {
25702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25703 }
25704 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25705 {
25706 arg2 = &temp2;
25707 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25708 }
25709 {
25710 PyThreadState* __tstate = wxPyBeginAllowThreads();
25711 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25712 wxPyEndAllowThreads(__tstate);
25713 if (PyErr_Occurred()) SWIG_fail;
25714 }
25715 resultobj = SWIG_Py_Void();
25716 return resultobj;
25717 fail:
25718 return NULL;
25719 }
25720
25721
25722 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25723 PyObject *resultobj = 0;
25724 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25725 wxPoint *arg2 = 0 ;
25726 void *argp1 = 0 ;
25727 int res1 = 0 ;
25728 wxPoint temp2 ;
25729 PyObject * obj0 = 0 ;
25730 PyObject * obj1 = 0 ;
25731 char * kwnames[] = {
25732 (char *) "self",(char *) "pt", NULL
25733 };
25734
25735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25737 if (!SWIG_IsOK(res1)) {
25738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25739 }
25740 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25741 {
25742 arg2 = &temp2;
25743 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25744 }
25745 {
25746 PyThreadState* __tstate = wxPyBeginAllowThreads();
25747 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25748 wxPyEndAllowThreads(__tstate);
25749 if (PyErr_Occurred()) SWIG_fail;
25750 }
25751 resultobj = SWIG_Py_Void();
25752 return resultobj;
25753 fail:
25754 return NULL;
25755 }
25756
25757
25758 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25759 PyObject *resultobj = 0;
25760 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25761 wxPoint *arg2 = 0 ;
25762 void *argp1 = 0 ;
25763 int res1 = 0 ;
25764 wxPoint temp2 ;
25765 PyObject * obj0 = 0 ;
25766 PyObject * obj1 = 0 ;
25767 char * kwnames[] = {
25768 (char *) "self",(char *) "pt", NULL
25769 };
25770
25771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25773 if (!SWIG_IsOK(res1)) {
25774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25775 }
25776 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25777 {
25778 arg2 = &temp2;
25779 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25780 }
25781 {
25782 PyThreadState* __tstate = wxPyBeginAllowThreads();
25783 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25784 wxPyEndAllowThreads(__tstate);
25785 if (PyErr_Occurred()) SWIG_fail;
25786 }
25787 resultobj = SWIG_Py_Void();
25788 return resultobj;
25789 fail:
25790 return NULL;
25791 }
25792
25793
25794 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25795 PyObject *resultobj = 0;
25796 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25797 wxPoint *arg2 = 0 ;
25798 void *argp1 = 0 ;
25799 int res1 = 0 ;
25800 wxPoint temp2 ;
25801 PyObject * obj0 = 0 ;
25802 PyObject * obj1 = 0 ;
25803 char * kwnames[] = {
25804 (char *) "self",(char *) "pt", NULL
25805 };
25806
25807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25809 if (!SWIG_IsOK(res1)) {
25810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25811 }
25812 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25813 {
25814 arg2 = &temp2;
25815 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25816 }
25817 {
25818 PyThreadState* __tstate = wxPyBeginAllowThreads();
25819 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25820 wxPyEndAllowThreads(__tstate);
25821 if (PyErr_Occurred()) SWIG_fail;
25822 }
25823 resultobj = SWIG_Py_Void();
25824 return resultobj;
25825 fail:
25826 return NULL;
25827 }
25828
25829
25830 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25831 PyObject *resultobj = 0;
25832 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25833 wxPaperSize arg2 ;
25834 void *argp1 = 0 ;
25835 int res1 = 0 ;
25836 int val2 ;
25837 int ecode2 = 0 ;
25838 PyObject * obj0 = 0 ;
25839 PyObject * obj1 = 0 ;
25840 char * kwnames[] = {
25841 (char *) "self",(char *) "id", NULL
25842 };
25843
25844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25846 if (!SWIG_IsOK(res1)) {
25847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25848 }
25849 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25850 ecode2 = SWIG_AsVal_int(obj1, &val2);
25851 if (!SWIG_IsOK(ecode2)) {
25852 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25853 }
25854 arg2 = static_cast< wxPaperSize >(val2);
25855 {
25856 PyThreadState* __tstate = wxPyBeginAllowThreads();
25857 (arg1)->SetPaperId(arg2);
25858 wxPyEndAllowThreads(__tstate);
25859 if (PyErr_Occurred()) SWIG_fail;
25860 }
25861 resultobj = SWIG_Py_Void();
25862 return resultobj;
25863 fail:
25864 return NULL;
25865 }
25866
25867
25868 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25869 PyObject *resultobj = 0;
25870 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25871 wxSize *arg2 = 0 ;
25872 void *argp1 = 0 ;
25873 int res1 = 0 ;
25874 wxSize temp2 ;
25875 PyObject * obj0 = 0 ;
25876 PyObject * obj1 = 0 ;
25877 char * kwnames[] = {
25878 (char *) "self",(char *) "size", NULL
25879 };
25880
25881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25883 if (!SWIG_IsOK(res1)) {
25884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25885 }
25886 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25887 {
25888 arg2 = &temp2;
25889 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25890 }
25891 {
25892 PyThreadState* __tstate = wxPyBeginAllowThreads();
25893 (arg1)->SetPaperSize((wxSize const &)*arg2);
25894 wxPyEndAllowThreads(__tstate);
25895 if (PyErr_Occurred()) SWIG_fail;
25896 }
25897 resultobj = SWIG_Py_Void();
25898 return resultobj;
25899 fail:
25900 return NULL;
25901 }
25902
25903
25904 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25905 PyObject *resultobj = 0;
25906 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25907 wxPrintData *arg2 = 0 ;
25908 void *argp1 = 0 ;
25909 int res1 = 0 ;
25910 void *argp2 = 0 ;
25911 int res2 = 0 ;
25912 PyObject * obj0 = 0 ;
25913 PyObject * obj1 = 0 ;
25914 char * kwnames[] = {
25915 (char *) "self",(char *) "printData", NULL
25916 };
25917
25918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25920 if (!SWIG_IsOK(res1)) {
25921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25922 }
25923 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25924 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25925 if (!SWIG_IsOK(res2)) {
25926 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25927 }
25928 if (!argp2) {
25929 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25930 }
25931 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25932 {
25933 PyThreadState* __tstate = wxPyBeginAllowThreads();
25934 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25935 wxPyEndAllowThreads(__tstate);
25936 if (PyErr_Occurred()) SWIG_fail;
25937 }
25938 resultobj = SWIG_Py_Void();
25939 return resultobj;
25940 fail:
25941 return NULL;
25942 }
25943
25944
25945 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25946 PyObject *resultobj = 0;
25947 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25948 void *argp1 = 0 ;
25949 int res1 = 0 ;
25950 PyObject *swig_obj[1] ;
25951
25952 if (!args) SWIG_fail;
25953 swig_obj[0] = args;
25954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25955 if (!SWIG_IsOK(res1)) {
25956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25957 }
25958 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25959 {
25960 PyThreadState* __tstate = wxPyBeginAllowThreads();
25961 (arg1)->CalculateIdFromPaperSize();
25962 wxPyEndAllowThreads(__tstate);
25963 if (PyErr_Occurred()) SWIG_fail;
25964 }
25965 resultobj = SWIG_Py_Void();
25966 return resultobj;
25967 fail:
25968 return NULL;
25969 }
25970
25971
25972 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25973 PyObject *resultobj = 0;
25974 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25975 void *argp1 = 0 ;
25976 int res1 = 0 ;
25977 PyObject *swig_obj[1] ;
25978
25979 if (!args) SWIG_fail;
25980 swig_obj[0] = args;
25981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25982 if (!SWIG_IsOK(res1)) {
25983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25984 }
25985 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25986 {
25987 PyThreadState* __tstate = wxPyBeginAllowThreads();
25988 (arg1)->CalculatePaperSizeFromId();
25989 wxPyEndAllowThreads(__tstate);
25990 if (PyErr_Occurred()) SWIG_fail;
25991 }
25992 resultobj = SWIG_Py_Void();
25993 return resultobj;
25994 fail:
25995 return NULL;
25996 }
25997
25998
25999 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26000 PyObject *obj;
26001 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26002 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
26003 return SWIG_Py_Void();
26004 }
26005
26006 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26007 return SWIG_Python_InitShadowInstance(args);
26008 }
26009
26010 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26011 PyObject *resultobj = 0;
26012 wxWindow *arg1 = (wxWindow *) 0 ;
26013 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
26014 wxPageSetupDialog *result = 0 ;
26015 void *argp1 = 0 ;
26016 int res1 = 0 ;
26017 void *argp2 = 0 ;
26018 int res2 = 0 ;
26019 PyObject * obj0 = 0 ;
26020 PyObject * obj1 = 0 ;
26021 char * kwnames[] = {
26022 (char *) "parent",(char *) "data", NULL
26023 };
26024
26025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26027 if (!SWIG_IsOK(res1)) {
26028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26029 }
26030 arg1 = reinterpret_cast< wxWindow * >(argp1);
26031 if (obj1) {
26032 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26033 if (!SWIG_IsOK(res2)) {
26034 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26035 }
26036 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
26037 }
26038 {
26039 if (!wxPyCheckForApp()) SWIG_fail;
26040 PyThreadState* __tstate = wxPyBeginAllowThreads();
26041 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
26042 wxPyEndAllowThreads(__tstate);
26043 if (PyErr_Occurred()) SWIG_fail;
26044 }
26045 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
26046 return resultobj;
26047 fail:
26048 return NULL;
26049 }
26050
26051
26052 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26053 PyObject *resultobj = 0;
26054 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26055 void *argp1 = 0 ;
26056 int res1 = 0 ;
26057 PyObject *swig_obj[1] ;
26058
26059 if (!args) SWIG_fail;
26060 swig_obj[0] = args;
26061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
26062 if (!SWIG_IsOK(res1)) {
26063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26064 }
26065 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26066 {
26067 PyThreadState* __tstate = wxPyBeginAllowThreads();
26068 delete arg1;
26069
26070 wxPyEndAllowThreads(__tstate);
26071 if (PyErr_Occurred()) SWIG_fail;
26072 }
26073 resultobj = SWIG_Py_Void();
26074 return resultobj;
26075 fail:
26076 return NULL;
26077 }
26078
26079
26080 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26081 PyObject *resultobj = 0;
26082 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26083 wxPageSetupDialogData *result = 0 ;
26084 void *argp1 = 0 ;
26085 int res1 = 0 ;
26086 PyObject *swig_obj[1] ;
26087
26088 if (!args) SWIG_fail;
26089 swig_obj[0] = args;
26090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26091 if (!SWIG_IsOK(res1)) {
26092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26093 }
26094 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26095 {
26096 PyThreadState* __tstate = wxPyBeginAllowThreads();
26097 {
26098 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
26099 result = (wxPageSetupDialogData *) &_result_ref;
26100 }
26101 wxPyEndAllowThreads(__tstate);
26102 if (PyErr_Occurred()) SWIG_fail;
26103 }
26104 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26105 return resultobj;
26106 fail:
26107 return NULL;
26108 }
26109
26110
26111 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26112 PyObject *resultobj = 0;
26113 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26114 wxPageSetupDialogData *result = 0 ;
26115 void *argp1 = 0 ;
26116 int res1 = 0 ;
26117 PyObject *swig_obj[1] ;
26118
26119 if (!args) SWIG_fail;
26120 swig_obj[0] = args;
26121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26122 if (!SWIG_IsOK(res1)) {
26123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26124 }
26125 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26126 {
26127 PyThreadState* __tstate = wxPyBeginAllowThreads();
26128 {
26129 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
26130 result = (wxPageSetupDialogData *) &_result_ref;
26131 }
26132 wxPyEndAllowThreads(__tstate);
26133 if (PyErr_Occurred()) SWIG_fail;
26134 }
26135 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26136 return resultobj;
26137 fail:
26138 return NULL;
26139 }
26140
26141
26142 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26143 PyObject *resultobj = 0;
26144 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26145 int result;
26146 void *argp1 = 0 ;
26147 int res1 = 0 ;
26148 PyObject *swig_obj[1] ;
26149
26150 if (!args) SWIG_fail;
26151 swig_obj[0] = args;
26152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26153 if (!SWIG_IsOK(res1)) {
26154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26155 }
26156 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26157 {
26158 PyThreadState* __tstate = wxPyBeginAllowThreads();
26159 result = (int)(arg1)->ShowModal();
26160 wxPyEndAllowThreads(__tstate);
26161 if (PyErr_Occurred()) SWIG_fail;
26162 }
26163 resultobj = SWIG_From_int(static_cast< int >(result));
26164 return resultobj;
26165 fail:
26166 return NULL;
26167 }
26168
26169
26170 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26171 PyObject *obj;
26172 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26173 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
26174 return SWIG_Py_Void();
26175 }
26176
26177 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26178 return SWIG_Python_InitShadowInstance(args);
26179 }
26180
26181 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26182 PyObject *resultobj = 0;
26183 wxPrintDialogData *result = 0 ;
26184
26185 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26186 {
26187 PyThreadState* __tstate = wxPyBeginAllowThreads();
26188 result = (wxPrintDialogData *)new wxPrintDialogData();
26189 wxPyEndAllowThreads(__tstate);
26190 if (PyErr_Occurred()) SWIG_fail;
26191 }
26192 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26193 return resultobj;
26194 fail:
26195 return NULL;
26196 }
26197
26198
26199 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26200 PyObject *resultobj = 0;
26201 wxPrintData *arg1 = 0 ;
26202 wxPrintDialogData *result = 0 ;
26203 void *argp1 = 0 ;
26204 int res1 = 0 ;
26205
26206 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26208 if (!SWIG_IsOK(res1)) {
26209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26210 }
26211 if (!argp1) {
26212 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26213 }
26214 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26215 {
26216 PyThreadState* __tstate = wxPyBeginAllowThreads();
26217 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26218 wxPyEndAllowThreads(__tstate);
26219 if (PyErr_Occurred()) SWIG_fail;
26220 }
26221 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26222 return resultobj;
26223 fail:
26224 return NULL;
26225 }
26226
26227
26228 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26229 PyObject *resultobj = 0;
26230 wxPrintDialogData *arg1 = 0 ;
26231 wxPrintDialogData *result = 0 ;
26232 void *argp1 = 0 ;
26233 int res1 = 0 ;
26234
26235 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26237 if (!SWIG_IsOK(res1)) {
26238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26239 }
26240 if (!argp1) {
26241 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26242 }
26243 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26244 {
26245 PyThreadState* __tstate = wxPyBeginAllowThreads();
26246 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26247 wxPyEndAllowThreads(__tstate);
26248 if (PyErr_Occurred()) SWIG_fail;
26249 }
26250 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26251 return resultobj;
26252 fail:
26253 return NULL;
26254 }
26255
26256
26257 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26258 int argc;
26259 PyObject *argv[2];
26260
26261 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26262 --argc;
26263 if (argc == 0) {
26264 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26265 }
26266 if (argc == 1) {
26267 int _v = 0;
26268 {
26269 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26270 _v = SWIG_CheckState(res);
26271 }
26272 if (!_v) goto check_2;
26273 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26274 }
26275 check_2:
26276
26277 if (argc == 1) {
26278 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26279 }
26280
26281 fail:
26282 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26283 return NULL;
26284 }
26285
26286
26287 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26288 PyObject *resultobj = 0;
26289 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26290 void *argp1 = 0 ;
26291 int res1 = 0 ;
26292 PyObject *swig_obj[1] ;
26293
26294 if (!args) SWIG_fail;
26295 swig_obj[0] = args;
26296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26297 if (!SWIG_IsOK(res1)) {
26298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26299 }
26300 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26301 {
26302 PyThreadState* __tstate = wxPyBeginAllowThreads();
26303 delete arg1;
26304
26305 wxPyEndAllowThreads(__tstate);
26306 if (PyErr_Occurred()) SWIG_fail;
26307 }
26308 resultobj = SWIG_Py_Void();
26309 return resultobj;
26310 fail:
26311 return NULL;
26312 }
26313
26314
26315 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26316 PyObject *resultobj = 0;
26317 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26318 int result;
26319 void *argp1 = 0 ;
26320 int res1 = 0 ;
26321 PyObject *swig_obj[1] ;
26322
26323 if (!args) SWIG_fail;
26324 swig_obj[0] = args;
26325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26326 if (!SWIG_IsOK(res1)) {
26327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26328 }
26329 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26330 {
26331 PyThreadState* __tstate = wxPyBeginAllowThreads();
26332 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26333 wxPyEndAllowThreads(__tstate);
26334 if (PyErr_Occurred()) SWIG_fail;
26335 }
26336 resultobj = SWIG_From_int(static_cast< int >(result));
26337 return resultobj;
26338 fail:
26339 return NULL;
26340 }
26341
26342
26343 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26344 PyObject *resultobj = 0;
26345 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26346 int result;
26347 void *argp1 = 0 ;
26348 int res1 = 0 ;
26349 PyObject *swig_obj[1] ;
26350
26351 if (!args) SWIG_fail;
26352 swig_obj[0] = args;
26353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26354 if (!SWIG_IsOK(res1)) {
26355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26356 }
26357 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26358 {
26359 PyThreadState* __tstate = wxPyBeginAllowThreads();
26360 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26361 wxPyEndAllowThreads(__tstate);
26362 if (PyErr_Occurred()) SWIG_fail;
26363 }
26364 resultobj = SWIG_From_int(static_cast< int >(result));
26365 return resultobj;
26366 fail:
26367 return NULL;
26368 }
26369
26370
26371 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26372 PyObject *resultobj = 0;
26373 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26374 int result;
26375 void *argp1 = 0 ;
26376 int res1 = 0 ;
26377 PyObject *swig_obj[1] ;
26378
26379 if (!args) SWIG_fail;
26380 swig_obj[0] = args;
26381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26382 if (!SWIG_IsOK(res1)) {
26383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26384 }
26385 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26386 {
26387 PyThreadState* __tstate = wxPyBeginAllowThreads();
26388 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26389 wxPyEndAllowThreads(__tstate);
26390 if (PyErr_Occurred()) SWIG_fail;
26391 }
26392 resultobj = SWIG_From_int(static_cast< int >(result));
26393 return resultobj;
26394 fail:
26395 return NULL;
26396 }
26397
26398
26399 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26400 PyObject *resultobj = 0;
26401 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26402 int result;
26403 void *argp1 = 0 ;
26404 int res1 = 0 ;
26405 PyObject *swig_obj[1] ;
26406
26407 if (!args) SWIG_fail;
26408 swig_obj[0] = args;
26409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26410 if (!SWIG_IsOK(res1)) {
26411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26412 }
26413 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26414 {
26415 PyThreadState* __tstate = wxPyBeginAllowThreads();
26416 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26417 wxPyEndAllowThreads(__tstate);
26418 if (PyErr_Occurred()) SWIG_fail;
26419 }
26420 resultobj = SWIG_From_int(static_cast< int >(result));
26421 return resultobj;
26422 fail:
26423 return NULL;
26424 }
26425
26426
26427 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26428 PyObject *resultobj = 0;
26429 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26430 int result;
26431 void *argp1 = 0 ;
26432 int res1 = 0 ;
26433 PyObject *swig_obj[1] ;
26434
26435 if (!args) SWIG_fail;
26436 swig_obj[0] = args;
26437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26438 if (!SWIG_IsOK(res1)) {
26439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26440 }
26441 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26442 {
26443 PyThreadState* __tstate = wxPyBeginAllowThreads();
26444 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26445 wxPyEndAllowThreads(__tstate);
26446 if (PyErr_Occurred()) SWIG_fail;
26447 }
26448 resultobj = SWIG_From_int(static_cast< int >(result));
26449 return resultobj;
26450 fail:
26451 return NULL;
26452 }
26453
26454
26455 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26456 PyObject *resultobj = 0;
26457 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26458 bool result;
26459 void *argp1 = 0 ;
26460 int res1 = 0 ;
26461 PyObject *swig_obj[1] ;
26462
26463 if (!args) SWIG_fail;
26464 swig_obj[0] = args;
26465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26466 if (!SWIG_IsOK(res1)) {
26467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26468 }
26469 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26470 {
26471 PyThreadState* __tstate = wxPyBeginAllowThreads();
26472 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26473 wxPyEndAllowThreads(__tstate);
26474 if (PyErr_Occurred()) SWIG_fail;
26475 }
26476 {
26477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26478 }
26479 return resultobj;
26480 fail:
26481 return NULL;
26482 }
26483
26484
26485 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26486 PyObject *resultobj = 0;
26487 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26488 bool result;
26489 void *argp1 = 0 ;
26490 int res1 = 0 ;
26491 PyObject *swig_obj[1] ;
26492
26493 if (!args) SWIG_fail;
26494 swig_obj[0] = args;
26495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26496 if (!SWIG_IsOK(res1)) {
26497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26498 }
26499 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26500 {
26501 PyThreadState* __tstate = wxPyBeginAllowThreads();
26502 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26503 wxPyEndAllowThreads(__tstate);
26504 if (PyErr_Occurred()) SWIG_fail;
26505 }
26506 {
26507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26508 }
26509 return resultobj;
26510 fail:
26511 return NULL;
26512 }
26513
26514
26515 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26516 PyObject *resultobj = 0;
26517 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26518 bool result;
26519 void *argp1 = 0 ;
26520 int res1 = 0 ;
26521 PyObject *swig_obj[1] ;
26522
26523 if (!args) SWIG_fail;
26524 swig_obj[0] = args;
26525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26526 if (!SWIG_IsOK(res1)) {
26527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26528 }
26529 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26530 {
26531 PyThreadState* __tstate = wxPyBeginAllowThreads();
26532 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26533 wxPyEndAllowThreads(__tstate);
26534 if (PyErr_Occurred()) SWIG_fail;
26535 }
26536 {
26537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26538 }
26539 return resultobj;
26540 fail:
26541 return NULL;
26542 }
26543
26544
26545 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26546 PyObject *resultobj = 0;
26547 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26548 bool result;
26549 void *argp1 = 0 ;
26550 int res1 = 0 ;
26551 PyObject *swig_obj[1] ;
26552
26553 if (!args) SWIG_fail;
26554 swig_obj[0] = args;
26555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26556 if (!SWIG_IsOK(res1)) {
26557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26558 }
26559 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26560 {
26561 PyThreadState* __tstate = wxPyBeginAllowThreads();
26562 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26563 wxPyEndAllowThreads(__tstate);
26564 if (PyErr_Occurred()) SWIG_fail;
26565 }
26566 {
26567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26568 }
26569 return resultobj;
26570 fail:
26571 return NULL;
26572 }
26573
26574
26575 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26576 PyObject *resultobj = 0;
26577 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26578 int arg2 ;
26579 void *argp1 = 0 ;
26580 int res1 = 0 ;
26581 int val2 ;
26582 int ecode2 = 0 ;
26583 PyObject * obj0 = 0 ;
26584 PyObject * obj1 = 0 ;
26585 char * kwnames[] = {
26586 (char *) "self",(char *) "v", NULL
26587 };
26588
26589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26591 if (!SWIG_IsOK(res1)) {
26592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26593 }
26594 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26595 ecode2 = SWIG_AsVal_int(obj1, &val2);
26596 if (!SWIG_IsOK(ecode2)) {
26597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26598 }
26599 arg2 = static_cast< int >(val2);
26600 {
26601 PyThreadState* __tstate = wxPyBeginAllowThreads();
26602 (arg1)->SetFromPage(arg2);
26603 wxPyEndAllowThreads(__tstate);
26604 if (PyErr_Occurred()) SWIG_fail;
26605 }
26606 resultobj = SWIG_Py_Void();
26607 return resultobj;
26608 fail:
26609 return NULL;
26610 }
26611
26612
26613 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26614 PyObject *resultobj = 0;
26615 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26616 int arg2 ;
26617 void *argp1 = 0 ;
26618 int res1 = 0 ;
26619 int val2 ;
26620 int ecode2 = 0 ;
26621 PyObject * obj0 = 0 ;
26622 PyObject * obj1 = 0 ;
26623 char * kwnames[] = {
26624 (char *) "self",(char *) "v", NULL
26625 };
26626
26627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26629 if (!SWIG_IsOK(res1)) {
26630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26631 }
26632 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26633 ecode2 = SWIG_AsVal_int(obj1, &val2);
26634 if (!SWIG_IsOK(ecode2)) {
26635 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26636 }
26637 arg2 = static_cast< int >(val2);
26638 {
26639 PyThreadState* __tstate = wxPyBeginAllowThreads();
26640 (arg1)->SetToPage(arg2);
26641 wxPyEndAllowThreads(__tstate);
26642 if (PyErr_Occurred()) SWIG_fail;
26643 }
26644 resultobj = SWIG_Py_Void();
26645 return resultobj;
26646 fail:
26647 return NULL;
26648 }
26649
26650
26651 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26652 PyObject *resultobj = 0;
26653 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26654 int arg2 ;
26655 void *argp1 = 0 ;
26656 int res1 = 0 ;
26657 int val2 ;
26658 int ecode2 = 0 ;
26659 PyObject * obj0 = 0 ;
26660 PyObject * obj1 = 0 ;
26661 char * kwnames[] = {
26662 (char *) "self",(char *) "v", NULL
26663 };
26664
26665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26667 if (!SWIG_IsOK(res1)) {
26668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26669 }
26670 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26671 ecode2 = SWIG_AsVal_int(obj1, &val2);
26672 if (!SWIG_IsOK(ecode2)) {
26673 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26674 }
26675 arg2 = static_cast< int >(val2);
26676 {
26677 PyThreadState* __tstate = wxPyBeginAllowThreads();
26678 (arg1)->SetMinPage(arg2);
26679 wxPyEndAllowThreads(__tstate);
26680 if (PyErr_Occurred()) SWIG_fail;
26681 }
26682 resultobj = SWIG_Py_Void();
26683 return resultobj;
26684 fail:
26685 return NULL;
26686 }
26687
26688
26689 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26690 PyObject *resultobj = 0;
26691 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26692 int arg2 ;
26693 void *argp1 = 0 ;
26694 int res1 = 0 ;
26695 int val2 ;
26696 int ecode2 = 0 ;
26697 PyObject * obj0 = 0 ;
26698 PyObject * obj1 = 0 ;
26699 char * kwnames[] = {
26700 (char *) "self",(char *) "v", NULL
26701 };
26702
26703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26705 if (!SWIG_IsOK(res1)) {
26706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26707 }
26708 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26709 ecode2 = SWIG_AsVal_int(obj1, &val2);
26710 if (!SWIG_IsOK(ecode2)) {
26711 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26712 }
26713 arg2 = static_cast< int >(val2);
26714 {
26715 PyThreadState* __tstate = wxPyBeginAllowThreads();
26716 (arg1)->SetMaxPage(arg2);
26717 wxPyEndAllowThreads(__tstate);
26718 if (PyErr_Occurred()) SWIG_fail;
26719 }
26720 resultobj = SWIG_Py_Void();
26721 return resultobj;
26722 fail:
26723 return NULL;
26724 }
26725
26726
26727 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26728 PyObject *resultobj = 0;
26729 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26730 int arg2 ;
26731 void *argp1 = 0 ;
26732 int res1 = 0 ;
26733 int val2 ;
26734 int ecode2 = 0 ;
26735 PyObject * obj0 = 0 ;
26736 PyObject * obj1 = 0 ;
26737 char * kwnames[] = {
26738 (char *) "self",(char *) "v", NULL
26739 };
26740
26741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26743 if (!SWIG_IsOK(res1)) {
26744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26745 }
26746 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26747 ecode2 = SWIG_AsVal_int(obj1, &val2);
26748 if (!SWIG_IsOK(ecode2)) {
26749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26750 }
26751 arg2 = static_cast< int >(val2);
26752 {
26753 PyThreadState* __tstate = wxPyBeginAllowThreads();
26754 (arg1)->SetNoCopies(arg2);
26755 wxPyEndAllowThreads(__tstate);
26756 if (PyErr_Occurred()) SWIG_fail;
26757 }
26758 resultobj = SWIG_Py_Void();
26759 return resultobj;
26760 fail:
26761 return NULL;
26762 }
26763
26764
26765 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26766 PyObject *resultobj = 0;
26767 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26768 bool arg2 ;
26769 void *argp1 = 0 ;
26770 int res1 = 0 ;
26771 bool val2 ;
26772 int ecode2 = 0 ;
26773 PyObject * obj0 = 0 ;
26774 PyObject * obj1 = 0 ;
26775 char * kwnames[] = {
26776 (char *) "self",(char *) "flag", NULL
26777 };
26778
26779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26781 if (!SWIG_IsOK(res1)) {
26782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26783 }
26784 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26785 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26786 if (!SWIG_IsOK(ecode2)) {
26787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26788 }
26789 arg2 = static_cast< bool >(val2);
26790 {
26791 PyThreadState* __tstate = wxPyBeginAllowThreads();
26792 (arg1)->SetAllPages(arg2);
26793 wxPyEndAllowThreads(__tstate);
26794 if (PyErr_Occurred()) SWIG_fail;
26795 }
26796 resultobj = SWIG_Py_Void();
26797 return resultobj;
26798 fail:
26799 return NULL;
26800 }
26801
26802
26803 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26804 PyObject *resultobj = 0;
26805 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26806 bool arg2 ;
26807 void *argp1 = 0 ;
26808 int res1 = 0 ;
26809 bool val2 ;
26810 int ecode2 = 0 ;
26811 PyObject * obj0 = 0 ;
26812 PyObject * obj1 = 0 ;
26813 char * kwnames[] = {
26814 (char *) "self",(char *) "flag", NULL
26815 };
26816
26817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26819 if (!SWIG_IsOK(res1)) {
26820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26821 }
26822 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26823 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26824 if (!SWIG_IsOK(ecode2)) {
26825 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26826 }
26827 arg2 = static_cast< bool >(val2);
26828 {
26829 PyThreadState* __tstate = wxPyBeginAllowThreads();
26830 (arg1)->SetSelection(arg2);
26831 wxPyEndAllowThreads(__tstate);
26832 if (PyErr_Occurred()) SWIG_fail;
26833 }
26834 resultobj = SWIG_Py_Void();
26835 return resultobj;
26836 fail:
26837 return NULL;
26838 }
26839
26840
26841 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26842 PyObject *resultobj = 0;
26843 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26844 bool arg2 ;
26845 void *argp1 = 0 ;
26846 int res1 = 0 ;
26847 bool val2 ;
26848 int ecode2 = 0 ;
26849 PyObject * obj0 = 0 ;
26850 PyObject * obj1 = 0 ;
26851 char * kwnames[] = {
26852 (char *) "self",(char *) "flag", NULL
26853 };
26854
26855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26857 if (!SWIG_IsOK(res1)) {
26858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26859 }
26860 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26861 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26862 if (!SWIG_IsOK(ecode2)) {
26863 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26864 }
26865 arg2 = static_cast< bool >(val2);
26866 {
26867 PyThreadState* __tstate = wxPyBeginAllowThreads();
26868 (arg1)->SetCollate(arg2);
26869 wxPyEndAllowThreads(__tstate);
26870 if (PyErr_Occurred()) SWIG_fail;
26871 }
26872 resultobj = SWIG_Py_Void();
26873 return resultobj;
26874 fail:
26875 return NULL;
26876 }
26877
26878
26879 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26880 PyObject *resultobj = 0;
26881 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26882 bool arg2 ;
26883 void *argp1 = 0 ;
26884 int res1 = 0 ;
26885 bool val2 ;
26886 int ecode2 = 0 ;
26887 PyObject * obj0 = 0 ;
26888 PyObject * obj1 = 0 ;
26889 char * kwnames[] = {
26890 (char *) "self",(char *) "flag", NULL
26891 };
26892
26893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26895 if (!SWIG_IsOK(res1)) {
26896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26897 }
26898 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26899 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26900 if (!SWIG_IsOK(ecode2)) {
26901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26902 }
26903 arg2 = static_cast< bool >(val2);
26904 {
26905 PyThreadState* __tstate = wxPyBeginAllowThreads();
26906 (arg1)->SetPrintToFile(arg2);
26907 wxPyEndAllowThreads(__tstate);
26908 if (PyErr_Occurred()) SWIG_fail;
26909 }
26910 resultobj = SWIG_Py_Void();
26911 return resultobj;
26912 fail:
26913 return NULL;
26914 }
26915
26916
26917 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26918 PyObject *resultobj = 0;
26919 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26920 bool arg2 ;
26921 void *argp1 = 0 ;
26922 int res1 = 0 ;
26923 bool val2 ;
26924 int ecode2 = 0 ;
26925 PyObject * obj0 = 0 ;
26926 PyObject * obj1 = 0 ;
26927 char * kwnames[] = {
26928 (char *) "self",(char *) "flag", NULL
26929 };
26930
26931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26933 if (!SWIG_IsOK(res1)) {
26934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26935 }
26936 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26937 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26938 if (!SWIG_IsOK(ecode2)) {
26939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26940 }
26941 arg2 = static_cast< bool >(val2);
26942 {
26943 PyThreadState* __tstate = wxPyBeginAllowThreads();
26944 (arg1)->EnablePrintToFile(arg2);
26945 wxPyEndAllowThreads(__tstate);
26946 if (PyErr_Occurred()) SWIG_fail;
26947 }
26948 resultobj = SWIG_Py_Void();
26949 return resultobj;
26950 fail:
26951 return NULL;
26952 }
26953
26954
26955 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26956 PyObject *resultobj = 0;
26957 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26958 bool arg2 ;
26959 void *argp1 = 0 ;
26960 int res1 = 0 ;
26961 bool val2 ;
26962 int ecode2 = 0 ;
26963 PyObject * obj0 = 0 ;
26964 PyObject * obj1 = 0 ;
26965 char * kwnames[] = {
26966 (char *) "self",(char *) "flag", NULL
26967 };
26968
26969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26971 if (!SWIG_IsOK(res1)) {
26972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26973 }
26974 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26975 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26976 if (!SWIG_IsOK(ecode2)) {
26977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26978 }
26979 arg2 = static_cast< bool >(val2);
26980 {
26981 PyThreadState* __tstate = wxPyBeginAllowThreads();
26982 (arg1)->EnableSelection(arg2);
26983 wxPyEndAllowThreads(__tstate);
26984 if (PyErr_Occurred()) SWIG_fail;
26985 }
26986 resultobj = SWIG_Py_Void();
26987 return resultobj;
26988 fail:
26989 return NULL;
26990 }
26991
26992
26993 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26994 PyObject *resultobj = 0;
26995 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26996 bool arg2 ;
26997 void *argp1 = 0 ;
26998 int res1 = 0 ;
26999 bool val2 ;
27000 int ecode2 = 0 ;
27001 PyObject * obj0 = 0 ;
27002 PyObject * obj1 = 0 ;
27003 char * kwnames[] = {
27004 (char *) "self",(char *) "flag", NULL
27005 };
27006
27007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
27008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27009 if (!SWIG_IsOK(res1)) {
27010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27011 }
27012 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27013 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27014 if (!SWIG_IsOK(ecode2)) {
27015 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
27016 }
27017 arg2 = static_cast< bool >(val2);
27018 {
27019 PyThreadState* __tstate = wxPyBeginAllowThreads();
27020 (arg1)->EnablePageNumbers(arg2);
27021 wxPyEndAllowThreads(__tstate);
27022 if (PyErr_Occurred()) SWIG_fail;
27023 }
27024 resultobj = SWIG_Py_Void();
27025 return resultobj;
27026 fail:
27027 return NULL;
27028 }
27029
27030
27031 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27032 PyObject *resultobj = 0;
27033 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27034 bool arg2 ;
27035 void *argp1 = 0 ;
27036 int res1 = 0 ;
27037 bool val2 ;
27038 int ecode2 = 0 ;
27039 PyObject * obj0 = 0 ;
27040 PyObject * obj1 = 0 ;
27041 char * kwnames[] = {
27042 (char *) "self",(char *) "flag", NULL
27043 };
27044
27045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
27046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27047 if (!SWIG_IsOK(res1)) {
27048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27049 }
27050 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27051 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27052 if (!SWIG_IsOK(ecode2)) {
27053 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27054 }
27055 arg2 = static_cast< bool >(val2);
27056 {
27057 PyThreadState* __tstate = wxPyBeginAllowThreads();
27058 (arg1)->EnableHelp(arg2);
27059 wxPyEndAllowThreads(__tstate);
27060 if (PyErr_Occurred()) SWIG_fail;
27061 }
27062 resultobj = SWIG_Py_Void();
27063 return resultobj;
27064 fail:
27065 return NULL;
27066 }
27067
27068
27069 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27070 PyObject *resultobj = 0;
27071 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27072 bool result;
27073 void *argp1 = 0 ;
27074 int res1 = 0 ;
27075 PyObject *swig_obj[1] ;
27076
27077 if (!args) SWIG_fail;
27078 swig_obj[0] = args;
27079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27080 if (!SWIG_IsOK(res1)) {
27081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27082 }
27083 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27084 {
27085 PyThreadState* __tstate = wxPyBeginAllowThreads();
27086 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
27087 wxPyEndAllowThreads(__tstate);
27088 if (PyErr_Occurred()) SWIG_fail;
27089 }
27090 {
27091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27092 }
27093 return resultobj;
27094 fail:
27095 return NULL;
27096 }
27097
27098
27099 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27100 PyObject *resultobj = 0;
27101 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27102 bool result;
27103 void *argp1 = 0 ;
27104 int res1 = 0 ;
27105 PyObject *swig_obj[1] ;
27106
27107 if (!args) SWIG_fail;
27108 swig_obj[0] = args;
27109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27110 if (!SWIG_IsOK(res1)) {
27111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27112 }
27113 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27114 {
27115 PyThreadState* __tstate = wxPyBeginAllowThreads();
27116 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
27117 wxPyEndAllowThreads(__tstate);
27118 if (PyErr_Occurred()) SWIG_fail;
27119 }
27120 {
27121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27122 }
27123 return resultobj;
27124 fail:
27125 return NULL;
27126 }
27127
27128
27129 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27130 PyObject *resultobj = 0;
27131 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27132 bool result;
27133 void *argp1 = 0 ;
27134 int res1 = 0 ;
27135 PyObject *swig_obj[1] ;
27136
27137 if (!args) SWIG_fail;
27138 swig_obj[0] = args;
27139 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27140 if (!SWIG_IsOK(res1)) {
27141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27142 }
27143 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27144 {
27145 PyThreadState* __tstate = wxPyBeginAllowThreads();
27146 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
27147 wxPyEndAllowThreads(__tstate);
27148 if (PyErr_Occurred()) SWIG_fail;
27149 }
27150 {
27151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27152 }
27153 return resultobj;
27154 fail:
27155 return NULL;
27156 }
27157
27158
27159 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27160 PyObject *resultobj = 0;
27161 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27162 bool result;
27163 void *argp1 = 0 ;
27164 int res1 = 0 ;
27165 PyObject *swig_obj[1] ;
27166
27167 if (!args) SWIG_fail;
27168 swig_obj[0] = args;
27169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27170 if (!SWIG_IsOK(res1)) {
27171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27172 }
27173 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27174 {
27175 PyThreadState* __tstate = wxPyBeginAllowThreads();
27176 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
27177 wxPyEndAllowThreads(__tstate);
27178 if (PyErr_Occurred()) SWIG_fail;
27179 }
27180 {
27181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27182 }
27183 return resultobj;
27184 fail:
27185 return NULL;
27186 }
27187
27188
27189 SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27190 PyObject *resultobj = 0;
27191 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27192 bool result;
27193 void *argp1 = 0 ;
27194 int res1 = 0 ;
27195 PyObject *swig_obj[1] ;
27196
27197 if (!args) SWIG_fail;
27198 swig_obj[0] = args;
27199 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27200 if (!SWIG_IsOK(res1)) {
27201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27202 }
27203 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27204 {
27205 PyThreadState* __tstate = wxPyBeginAllowThreads();
27206 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
27207 wxPyEndAllowThreads(__tstate);
27208 if (PyErr_Occurred()) SWIG_fail;
27209 }
27210 {
27211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27212 }
27213 return resultobj;
27214 fail:
27215 return NULL;
27216 }
27217
27218
27219 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27220 PyObject *resultobj = 0;
27221 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27222 wxPrintData *result = 0 ;
27223 void *argp1 = 0 ;
27224 int res1 = 0 ;
27225 PyObject *swig_obj[1] ;
27226
27227 if (!args) SWIG_fail;
27228 swig_obj[0] = args;
27229 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27230 if (!SWIG_IsOK(res1)) {
27231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27232 }
27233 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27234 {
27235 PyThreadState* __tstate = wxPyBeginAllowThreads();
27236 {
27237 wxPrintData &_result_ref = (arg1)->GetPrintData();
27238 result = (wxPrintData *) &_result_ref;
27239 }
27240 wxPyEndAllowThreads(__tstate);
27241 if (PyErr_Occurred()) SWIG_fail;
27242 }
27243 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27244 return resultobj;
27245 fail:
27246 return NULL;
27247 }
27248
27249
27250 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27251 PyObject *resultobj = 0;
27252 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27253 wxPrintData *arg2 = 0 ;
27254 void *argp1 = 0 ;
27255 int res1 = 0 ;
27256 void *argp2 = 0 ;
27257 int res2 = 0 ;
27258 PyObject * obj0 = 0 ;
27259 PyObject * obj1 = 0 ;
27260 char * kwnames[] = {
27261 (char *) "self",(char *) "printData", NULL
27262 };
27263
27264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27266 if (!SWIG_IsOK(res1)) {
27267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27268 }
27269 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27270 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27271 if (!SWIG_IsOK(res2)) {
27272 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27273 }
27274 if (!argp2) {
27275 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27276 }
27277 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27278 {
27279 PyThreadState* __tstate = wxPyBeginAllowThreads();
27280 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27281 wxPyEndAllowThreads(__tstate);
27282 if (PyErr_Occurred()) SWIG_fail;
27283 }
27284 resultobj = SWIG_Py_Void();
27285 return resultobj;
27286 fail:
27287 return NULL;
27288 }
27289
27290
27291 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27292 PyObject *obj;
27293 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27294 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27295 return SWIG_Py_Void();
27296 }
27297
27298 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27299 return SWIG_Python_InitShadowInstance(args);
27300 }
27301
27302 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27303 PyObject *resultobj = 0;
27304 wxWindow *arg1 = (wxWindow *) 0 ;
27305 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27306 wxPrintDialog *result = 0 ;
27307 void *argp1 = 0 ;
27308 int res1 = 0 ;
27309 void *argp2 = 0 ;
27310 int res2 = 0 ;
27311 PyObject * obj0 = 0 ;
27312 PyObject * obj1 = 0 ;
27313 char * kwnames[] = {
27314 (char *) "parent",(char *) "data", NULL
27315 };
27316
27317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27319 if (!SWIG_IsOK(res1)) {
27320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27321 }
27322 arg1 = reinterpret_cast< wxWindow * >(argp1);
27323 if (obj1) {
27324 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27325 if (!SWIG_IsOK(res2)) {
27326 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27327 }
27328 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27329 }
27330 {
27331 if (!wxPyCheckForApp()) SWIG_fail;
27332 PyThreadState* __tstate = wxPyBeginAllowThreads();
27333 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27334 wxPyEndAllowThreads(__tstate);
27335 if (PyErr_Occurred()) SWIG_fail;
27336 }
27337 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27338 return resultobj;
27339 fail:
27340 return NULL;
27341 }
27342
27343
27344 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27345 PyObject *resultobj = 0;
27346 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27347 void *argp1 = 0 ;
27348 int res1 = 0 ;
27349 PyObject *swig_obj[1] ;
27350
27351 if (!args) SWIG_fail;
27352 swig_obj[0] = args;
27353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27354 if (!SWIG_IsOK(res1)) {
27355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27356 }
27357 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27358 {
27359 PyThreadState* __tstate = wxPyBeginAllowThreads();
27360 delete arg1;
27361
27362 wxPyEndAllowThreads(__tstate);
27363 if (PyErr_Occurred()) SWIG_fail;
27364 }
27365 resultobj = SWIG_Py_Void();
27366 return resultobj;
27367 fail:
27368 return NULL;
27369 }
27370
27371
27372 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27373 PyObject *resultobj = 0;
27374 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27375 int result;
27376 void *argp1 = 0 ;
27377 int res1 = 0 ;
27378 PyObject *swig_obj[1] ;
27379
27380 if (!args) SWIG_fail;
27381 swig_obj[0] = args;
27382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27383 if (!SWIG_IsOK(res1)) {
27384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27385 }
27386 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27387 {
27388 PyThreadState* __tstate = wxPyBeginAllowThreads();
27389 result = (int)(arg1)->ShowModal();
27390 wxPyEndAllowThreads(__tstate);
27391 if (PyErr_Occurred()) SWIG_fail;
27392 }
27393 resultobj = SWIG_From_int(static_cast< int >(result));
27394 return resultobj;
27395 fail:
27396 return NULL;
27397 }
27398
27399
27400 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27401 PyObject *resultobj = 0;
27402 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27403 wxPrintDialogData *result = 0 ;
27404 void *argp1 = 0 ;
27405 int res1 = 0 ;
27406 PyObject *swig_obj[1] ;
27407
27408 if (!args) SWIG_fail;
27409 swig_obj[0] = args;
27410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27411 if (!SWIG_IsOK(res1)) {
27412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27413 }
27414 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27415 {
27416 PyThreadState* __tstate = wxPyBeginAllowThreads();
27417 {
27418 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27419 result = (wxPrintDialogData *) &_result_ref;
27420 }
27421 wxPyEndAllowThreads(__tstate);
27422 if (PyErr_Occurred()) SWIG_fail;
27423 }
27424 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27425 return resultobj;
27426 fail:
27427 return NULL;
27428 }
27429
27430
27431 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27432 PyObject *resultobj = 0;
27433 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27434 wxPrintData *result = 0 ;
27435 void *argp1 = 0 ;
27436 int res1 = 0 ;
27437 PyObject *swig_obj[1] ;
27438
27439 if (!args) SWIG_fail;
27440 swig_obj[0] = args;
27441 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27442 if (!SWIG_IsOK(res1)) {
27443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27444 }
27445 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27446 {
27447 PyThreadState* __tstate = wxPyBeginAllowThreads();
27448 {
27449 wxPrintData &_result_ref = (arg1)->GetPrintData();
27450 result = (wxPrintData *) &_result_ref;
27451 }
27452 wxPyEndAllowThreads(__tstate);
27453 if (PyErr_Occurred()) SWIG_fail;
27454 }
27455 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27456 return resultobj;
27457 fail:
27458 return NULL;
27459 }
27460
27461
27462 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27463 PyObject *resultobj = 0;
27464 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27465 wxDC *result = 0 ;
27466 void *argp1 = 0 ;
27467 int res1 = 0 ;
27468 PyObject *swig_obj[1] ;
27469
27470 if (!args) SWIG_fail;
27471 swig_obj[0] = args;
27472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27473 if (!SWIG_IsOK(res1)) {
27474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27475 }
27476 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27477 {
27478 PyThreadState* __tstate = wxPyBeginAllowThreads();
27479 result = (wxDC *)(arg1)->GetPrintDC();
27480 wxPyEndAllowThreads(__tstate);
27481 if (PyErr_Occurred()) SWIG_fail;
27482 }
27483 {
27484 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27485 }
27486 return resultobj;
27487 fail:
27488 return NULL;
27489 }
27490
27491
27492 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27493 PyObject *obj;
27494 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27495 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27496 return SWIG_Py_Void();
27497 }
27498
27499 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27500 return SWIG_Python_InitShadowInstance(args);
27501 }
27502
27503 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27504 PyObject *resultobj = 0;
27505 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27506 wxPrinter *result = 0 ;
27507 void *argp1 = 0 ;
27508 int res1 = 0 ;
27509 PyObject * obj0 = 0 ;
27510 char * kwnames[] = {
27511 (char *) "data", NULL
27512 };
27513
27514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27515 if (obj0) {
27516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27517 if (!SWIG_IsOK(res1)) {
27518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27519 }
27520 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27521 }
27522 {
27523 if (!wxPyCheckForApp()) SWIG_fail;
27524 PyThreadState* __tstate = wxPyBeginAllowThreads();
27525 result = (wxPrinter *)new wxPrinter(arg1);
27526 wxPyEndAllowThreads(__tstate);
27527 if (PyErr_Occurred()) SWIG_fail;
27528 }
27529 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27530 return resultobj;
27531 fail:
27532 return NULL;
27533 }
27534
27535
27536 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27537 PyObject *resultobj = 0;
27538 wxPrinter *arg1 = (wxPrinter *) 0 ;
27539 void *argp1 = 0 ;
27540 int res1 = 0 ;
27541 PyObject *swig_obj[1] ;
27542
27543 if (!args) SWIG_fail;
27544 swig_obj[0] = args;
27545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27546 if (!SWIG_IsOK(res1)) {
27547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27548 }
27549 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27550 {
27551 PyThreadState* __tstate = wxPyBeginAllowThreads();
27552 delete arg1;
27553
27554 wxPyEndAllowThreads(__tstate);
27555 if (PyErr_Occurred()) SWIG_fail;
27556 }
27557 resultobj = SWIG_Py_Void();
27558 return resultobj;
27559 fail:
27560 return NULL;
27561 }
27562
27563
27564 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27565 PyObject *resultobj = 0;
27566 wxPrinter *arg1 = (wxPrinter *) 0 ;
27567 wxWindow *arg2 = (wxWindow *) 0 ;
27568 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27569 wxWindow *result = 0 ;
27570 void *argp1 = 0 ;
27571 int res1 = 0 ;
27572 void *argp2 = 0 ;
27573 int res2 = 0 ;
27574 void *argp3 = 0 ;
27575 int res3 = 0 ;
27576 PyObject * obj0 = 0 ;
27577 PyObject * obj1 = 0 ;
27578 PyObject * obj2 = 0 ;
27579 char * kwnames[] = {
27580 (char *) "self",(char *) "parent",(char *) "printout", NULL
27581 };
27582
27583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27585 if (!SWIG_IsOK(res1)) {
27586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27587 }
27588 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27589 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27590 if (!SWIG_IsOK(res2)) {
27591 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27592 }
27593 arg2 = reinterpret_cast< wxWindow * >(argp2);
27594 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27595 if (!SWIG_IsOK(res3)) {
27596 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27597 }
27598 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27599 {
27600 PyThreadState* __tstate = wxPyBeginAllowThreads();
27601 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27602 wxPyEndAllowThreads(__tstate);
27603 if (PyErr_Occurred()) SWIG_fail;
27604 }
27605 {
27606 resultobj = wxPyMake_wxObject(result, 0);
27607 }
27608 return resultobj;
27609 fail:
27610 return NULL;
27611 }
27612
27613
27614 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27615 PyObject *resultobj = 0;
27616 wxPrinter *arg1 = (wxPrinter *) 0 ;
27617 wxWindow *arg2 = (wxWindow *) 0 ;
27618 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27619 wxString *arg4 = 0 ;
27620 void *argp1 = 0 ;
27621 int res1 = 0 ;
27622 void *argp2 = 0 ;
27623 int res2 = 0 ;
27624 void *argp3 = 0 ;
27625 int res3 = 0 ;
27626 bool temp4 = false ;
27627 PyObject * obj0 = 0 ;
27628 PyObject * obj1 = 0 ;
27629 PyObject * obj2 = 0 ;
27630 PyObject * obj3 = 0 ;
27631 char * kwnames[] = {
27632 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27633 };
27634
27635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27637 if (!SWIG_IsOK(res1)) {
27638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27639 }
27640 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27641 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27642 if (!SWIG_IsOK(res2)) {
27643 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27644 }
27645 arg2 = reinterpret_cast< wxWindow * >(argp2);
27646 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27647 if (!SWIG_IsOK(res3)) {
27648 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27649 }
27650 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27651 {
27652 arg4 = wxString_in_helper(obj3);
27653 if (arg4 == NULL) SWIG_fail;
27654 temp4 = true;
27655 }
27656 {
27657 PyThreadState* __tstate = wxPyBeginAllowThreads();
27658 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27659 wxPyEndAllowThreads(__tstate);
27660 if (PyErr_Occurred()) SWIG_fail;
27661 }
27662 resultobj = SWIG_Py_Void();
27663 {
27664 if (temp4)
27665 delete arg4;
27666 }
27667 return resultobj;
27668 fail:
27669 {
27670 if (temp4)
27671 delete arg4;
27672 }
27673 return NULL;
27674 }
27675
27676
27677 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27678 PyObject *resultobj = 0;
27679 wxPrinter *arg1 = (wxPrinter *) 0 ;
27680 wxWindow *arg2 = (wxWindow *) 0 ;
27681 bool result;
27682 void *argp1 = 0 ;
27683 int res1 = 0 ;
27684 void *argp2 = 0 ;
27685 int res2 = 0 ;
27686 PyObject * obj0 = 0 ;
27687 PyObject * obj1 = 0 ;
27688 char * kwnames[] = {
27689 (char *) "self",(char *) "parent", NULL
27690 };
27691
27692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27694 if (!SWIG_IsOK(res1)) {
27695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27696 }
27697 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27698 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27699 if (!SWIG_IsOK(res2)) {
27700 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27701 }
27702 arg2 = reinterpret_cast< wxWindow * >(argp2);
27703 {
27704 PyThreadState* __tstate = wxPyBeginAllowThreads();
27705 result = (bool)(arg1)->Setup(arg2);
27706 wxPyEndAllowThreads(__tstate);
27707 if (PyErr_Occurred()) SWIG_fail;
27708 }
27709 {
27710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27711 }
27712 return resultobj;
27713 fail:
27714 return NULL;
27715 }
27716
27717
27718 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27719 PyObject *resultobj = 0;
27720 wxPrinter *arg1 = (wxPrinter *) 0 ;
27721 wxWindow *arg2 = (wxWindow *) 0 ;
27722 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27723 bool arg4 = (bool) true ;
27724 bool result;
27725 void *argp1 = 0 ;
27726 int res1 = 0 ;
27727 void *argp2 = 0 ;
27728 int res2 = 0 ;
27729 void *argp3 = 0 ;
27730 int res3 = 0 ;
27731 bool val4 ;
27732 int ecode4 = 0 ;
27733 PyObject * obj0 = 0 ;
27734 PyObject * obj1 = 0 ;
27735 PyObject * obj2 = 0 ;
27736 PyObject * obj3 = 0 ;
27737 char * kwnames[] = {
27738 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27739 };
27740
27741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27743 if (!SWIG_IsOK(res1)) {
27744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27745 }
27746 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27747 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27748 if (!SWIG_IsOK(res2)) {
27749 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27750 }
27751 arg2 = reinterpret_cast< wxWindow * >(argp2);
27752 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27753 if (!SWIG_IsOK(res3)) {
27754 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27755 }
27756 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27757 if (obj3) {
27758 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27759 if (!SWIG_IsOK(ecode4)) {
27760 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27761 }
27762 arg4 = static_cast< bool >(val4);
27763 }
27764 {
27765 PyThreadState* __tstate = wxPyBeginAllowThreads();
27766 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27767 wxPyEndAllowThreads(__tstate);
27768 if (PyErr_Occurred()) SWIG_fail;
27769 }
27770 {
27771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27772 }
27773 return resultobj;
27774 fail:
27775 return NULL;
27776 }
27777
27778
27779 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27780 PyObject *resultobj = 0;
27781 wxPrinter *arg1 = (wxPrinter *) 0 ;
27782 wxWindow *arg2 = (wxWindow *) 0 ;
27783 wxDC *result = 0 ;
27784 void *argp1 = 0 ;
27785 int res1 = 0 ;
27786 void *argp2 = 0 ;
27787 int res2 = 0 ;
27788 PyObject * obj0 = 0 ;
27789 PyObject * obj1 = 0 ;
27790 char * kwnames[] = {
27791 (char *) "self",(char *) "parent", NULL
27792 };
27793
27794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27796 if (!SWIG_IsOK(res1)) {
27797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27798 }
27799 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27800 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27801 if (!SWIG_IsOK(res2)) {
27802 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27803 }
27804 arg2 = reinterpret_cast< wxWindow * >(argp2);
27805 {
27806 PyThreadState* __tstate = wxPyBeginAllowThreads();
27807 result = (wxDC *)(arg1)->PrintDialog(arg2);
27808 wxPyEndAllowThreads(__tstate);
27809 if (PyErr_Occurred()) SWIG_fail;
27810 }
27811 {
27812 resultobj = wxPyMake_wxObject(result, (bool)0);
27813 }
27814 return resultobj;
27815 fail:
27816 return NULL;
27817 }
27818
27819
27820 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27821 PyObject *resultobj = 0;
27822 wxPrinter *arg1 = (wxPrinter *) 0 ;
27823 wxPrintDialogData *result = 0 ;
27824 void *argp1 = 0 ;
27825 int res1 = 0 ;
27826 PyObject *swig_obj[1] ;
27827
27828 if (!args) SWIG_fail;
27829 swig_obj[0] = args;
27830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27831 if (!SWIG_IsOK(res1)) {
27832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27833 }
27834 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27835 {
27836 PyThreadState* __tstate = wxPyBeginAllowThreads();
27837 {
27838 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27839 result = (wxPrintDialogData *) &_result_ref;
27840 }
27841 wxPyEndAllowThreads(__tstate);
27842 if (PyErr_Occurred()) SWIG_fail;
27843 }
27844 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27845 return resultobj;
27846 fail:
27847 return NULL;
27848 }
27849
27850
27851 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27852 PyObject *resultobj = 0;
27853 wxPrinter *arg1 = (wxPrinter *) 0 ;
27854 bool result;
27855 void *argp1 = 0 ;
27856 int res1 = 0 ;
27857 PyObject *swig_obj[1] ;
27858
27859 if (!args) SWIG_fail;
27860 swig_obj[0] = args;
27861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27862 if (!SWIG_IsOK(res1)) {
27863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27864 }
27865 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27866 {
27867 PyThreadState* __tstate = wxPyBeginAllowThreads();
27868 result = (bool)(arg1)->GetAbort();
27869 wxPyEndAllowThreads(__tstate);
27870 if (PyErr_Occurred()) SWIG_fail;
27871 }
27872 {
27873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27874 }
27875 return resultobj;
27876 fail:
27877 return NULL;
27878 }
27879
27880
27881 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27882 PyObject *resultobj = 0;
27883 wxPrinterError result;
27884
27885 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27886 {
27887 PyThreadState* __tstate = wxPyBeginAllowThreads();
27888 result = (wxPrinterError)wxPrinter::GetLastError();
27889 wxPyEndAllowThreads(__tstate);
27890 if (PyErr_Occurred()) SWIG_fail;
27891 }
27892 resultobj = SWIG_From_int(static_cast< int >(result));
27893 return resultobj;
27894 fail:
27895 return NULL;
27896 }
27897
27898
27899 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27900 PyObject *obj;
27901 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27902 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27903 return SWIG_Py_Void();
27904 }
27905
27906 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27907 return SWIG_Python_InitShadowInstance(args);
27908 }
27909
27910 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27911 PyObject *resultobj = 0;
27912 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27913 wxString *arg1 = (wxString *) &arg1_defvalue ;
27914 wxPyPrintout *result = 0 ;
27915 bool temp1 = false ;
27916 PyObject * obj0 = 0 ;
27917 char * kwnames[] = {
27918 (char *) "title", NULL
27919 };
27920
27921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27922 if (obj0) {
27923 {
27924 arg1 = wxString_in_helper(obj0);
27925 if (arg1 == NULL) SWIG_fail;
27926 temp1 = true;
27927 }
27928 }
27929 {
27930 if (!wxPyCheckForApp()) SWIG_fail;
27931 PyThreadState* __tstate = wxPyBeginAllowThreads();
27932 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27933 wxPyEndAllowThreads(__tstate);
27934 if (PyErr_Occurred()) SWIG_fail;
27935 }
27936 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27937 {
27938 if (temp1)
27939 delete arg1;
27940 }
27941 return resultobj;
27942 fail:
27943 {
27944 if (temp1)
27945 delete arg1;
27946 }
27947 return NULL;
27948 }
27949
27950
27951 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27952 PyObject *resultobj = 0;
27953 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27954 void *argp1 = 0 ;
27955 int res1 = 0 ;
27956 PyObject *swig_obj[1] ;
27957
27958 if (!args) SWIG_fail;
27959 swig_obj[0] = args;
27960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27961 if (!SWIG_IsOK(res1)) {
27962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27963 }
27964 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27965 {
27966 PyThreadState* __tstate = wxPyBeginAllowThreads();
27967 delete arg1;
27968
27969 wxPyEndAllowThreads(__tstate);
27970 if (PyErr_Occurred()) SWIG_fail;
27971 }
27972 resultobj = SWIG_Py_Void();
27973 return resultobj;
27974 fail:
27975 return NULL;
27976 }
27977
27978
27979 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27980 PyObject *resultobj = 0;
27981 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27982 PyObject *arg2 = (PyObject *) 0 ;
27983 PyObject *arg3 = (PyObject *) 0 ;
27984 void *argp1 = 0 ;
27985 int res1 = 0 ;
27986 PyObject * obj0 = 0 ;
27987 PyObject * obj1 = 0 ;
27988 PyObject * obj2 = 0 ;
27989 char * kwnames[] = {
27990 (char *) "self",(char *) "self",(char *) "_class", NULL
27991 };
27992
27993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27995 if (!SWIG_IsOK(res1)) {
27996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27997 }
27998 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27999 arg2 = obj1;
28000 arg3 = obj2;
28001 {
28002 PyThreadState* __tstate = wxPyBeginAllowThreads();
28003 (arg1)->_setCallbackInfo(arg2,arg3);
28004 wxPyEndAllowThreads(__tstate);
28005 if (PyErr_Occurred()) SWIG_fail;
28006 }
28007 resultobj = SWIG_Py_Void();
28008 return resultobj;
28009 fail:
28010 return NULL;
28011 }
28012
28013
28014 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28015 PyObject *resultobj = 0;
28016 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28017 wxString result;
28018 void *argp1 = 0 ;
28019 int res1 = 0 ;
28020 PyObject *swig_obj[1] ;
28021
28022 if (!args) SWIG_fail;
28023 swig_obj[0] = args;
28024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28025 if (!SWIG_IsOK(res1)) {
28026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28027 }
28028 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28029 {
28030 PyThreadState* __tstate = wxPyBeginAllowThreads();
28031 result = ((wxPyPrintout const *)arg1)->GetTitle();
28032 wxPyEndAllowThreads(__tstate);
28033 if (PyErr_Occurred()) SWIG_fail;
28034 }
28035 {
28036 #if wxUSE_UNICODE
28037 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28038 #else
28039 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28040 #endif
28041 }
28042 return resultobj;
28043 fail:
28044 return NULL;
28045 }
28046
28047
28048 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28049 PyObject *resultobj = 0;
28050 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28051 wxDC *result = 0 ;
28052 void *argp1 = 0 ;
28053 int res1 = 0 ;
28054 PyObject *swig_obj[1] ;
28055
28056 if (!args) SWIG_fail;
28057 swig_obj[0] = args;
28058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28059 if (!SWIG_IsOK(res1)) {
28060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28061 }
28062 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28063 {
28064 PyThreadState* __tstate = wxPyBeginAllowThreads();
28065 result = (wxDC *)(arg1)->GetDC();
28066 wxPyEndAllowThreads(__tstate);
28067 if (PyErr_Occurred()) SWIG_fail;
28068 }
28069 {
28070 resultobj = wxPyMake_wxObject(result, (bool)0);
28071 }
28072 return resultobj;
28073 fail:
28074 return NULL;
28075 }
28076
28077
28078 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28079 PyObject *resultobj = 0;
28080 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28081 wxDC *arg2 = (wxDC *) 0 ;
28082 void *argp1 = 0 ;
28083 int res1 = 0 ;
28084 void *argp2 = 0 ;
28085 int res2 = 0 ;
28086 PyObject * obj0 = 0 ;
28087 PyObject * obj1 = 0 ;
28088 char * kwnames[] = {
28089 (char *) "self",(char *) "dc", NULL
28090 };
28091
28092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
28093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28094 if (!SWIG_IsOK(res1)) {
28095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28096 }
28097 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28098 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
28099 if (!SWIG_IsOK(res2)) {
28100 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28101 }
28102 arg2 = reinterpret_cast< wxDC * >(argp2);
28103 {
28104 PyThreadState* __tstate = wxPyBeginAllowThreads();
28105 (arg1)->SetDC(arg2);
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_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28117 PyObject *resultobj = 0;
28118 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28119 wxSize *arg2 = 0 ;
28120 void *argp1 = 0 ;
28121 int res1 = 0 ;
28122 wxSize temp2 ;
28123 PyObject * obj0 = 0 ;
28124 PyObject * obj1 = 0 ;
28125 char * kwnames[] = {
28126 (char *) "self",(char *) "imageSize", NULL
28127 };
28128
28129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
28130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28131 if (!SWIG_IsOK(res1)) {
28132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28133 }
28134 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28135 {
28136 arg2 = &temp2;
28137 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28138 }
28139 {
28140 PyThreadState* __tstate = wxPyBeginAllowThreads();
28141 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
28142 wxPyEndAllowThreads(__tstate);
28143 if (PyErr_Occurred()) SWIG_fail;
28144 }
28145 resultobj = SWIG_Py_Void();
28146 return resultobj;
28147 fail:
28148 return NULL;
28149 }
28150
28151
28152 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28153 PyObject *resultobj = 0;
28154 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28155 wxSize *arg2 = 0 ;
28156 void *argp1 = 0 ;
28157 int res1 = 0 ;
28158 wxSize temp2 ;
28159 PyObject * obj0 = 0 ;
28160 PyObject * obj1 = 0 ;
28161 char * kwnames[] = {
28162 (char *) "self",(char *) "imageSize", NULL
28163 };
28164
28165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
28166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28167 if (!SWIG_IsOK(res1)) {
28168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28169 }
28170 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28171 {
28172 arg2 = &temp2;
28173 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28174 }
28175 {
28176 PyThreadState* __tstate = wxPyBeginAllowThreads();
28177 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
28178 wxPyEndAllowThreads(__tstate);
28179 if (PyErr_Occurred()) SWIG_fail;
28180 }
28181 resultobj = SWIG_Py_Void();
28182 return resultobj;
28183 fail:
28184 return NULL;
28185 }
28186
28187
28188 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28189 PyObject *resultobj = 0;
28190 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28191 wxSize *arg2 = 0 ;
28192 wxPageSetupDialogData *arg3 = 0 ;
28193 void *argp1 = 0 ;
28194 int res1 = 0 ;
28195 wxSize temp2 ;
28196 void *argp3 = 0 ;
28197 int res3 = 0 ;
28198 PyObject * obj0 = 0 ;
28199 PyObject * obj1 = 0 ;
28200 PyObject * obj2 = 0 ;
28201 char * kwnames[] = {
28202 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28203 };
28204
28205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28207 if (!SWIG_IsOK(res1)) {
28208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28209 }
28210 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28211 {
28212 arg2 = &temp2;
28213 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28214 }
28215 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28216 if (!SWIG_IsOK(res3)) {
28217 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28218 }
28219 if (!argp3) {
28220 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28221 }
28222 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
28223 {
28224 PyThreadState* __tstate = wxPyBeginAllowThreads();
28225 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
28226 wxPyEndAllowThreads(__tstate);
28227 if (PyErr_Occurred()) SWIG_fail;
28228 }
28229 resultobj = SWIG_Py_Void();
28230 return resultobj;
28231 fail:
28232 return NULL;
28233 }
28234
28235
28236 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28237 PyObject *resultobj = 0;
28238 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28239 void *argp1 = 0 ;
28240 int res1 = 0 ;
28241 PyObject *swig_obj[1] ;
28242
28243 if (!args) SWIG_fail;
28244 swig_obj[0] = args;
28245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28246 if (!SWIG_IsOK(res1)) {
28247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28248 }
28249 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28250 {
28251 PyThreadState* __tstate = wxPyBeginAllowThreads();
28252 (arg1)->MapScreenSizeToPaper();
28253 wxPyEndAllowThreads(__tstate);
28254 if (PyErr_Occurred()) SWIG_fail;
28255 }
28256 resultobj = SWIG_Py_Void();
28257 return resultobj;
28258 fail:
28259 return NULL;
28260 }
28261
28262
28263 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28264 PyObject *resultobj = 0;
28265 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28266 void *argp1 = 0 ;
28267 int res1 = 0 ;
28268 PyObject *swig_obj[1] ;
28269
28270 if (!args) SWIG_fail;
28271 swig_obj[0] = args;
28272 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28273 if (!SWIG_IsOK(res1)) {
28274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28275 }
28276 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28277 {
28278 PyThreadState* __tstate = wxPyBeginAllowThreads();
28279 (arg1)->MapScreenSizeToPage();
28280 wxPyEndAllowThreads(__tstate);
28281 if (PyErr_Occurred()) SWIG_fail;
28282 }
28283 resultobj = SWIG_Py_Void();
28284 return resultobj;
28285 fail:
28286 return NULL;
28287 }
28288
28289
28290 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28291 PyObject *resultobj = 0;
28292 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28293 wxPageSetupDialogData *arg2 = 0 ;
28294 void *argp1 = 0 ;
28295 int res1 = 0 ;
28296 void *argp2 = 0 ;
28297 int res2 = 0 ;
28298 PyObject * obj0 = 0 ;
28299 PyObject * obj1 = 0 ;
28300 char * kwnames[] = {
28301 (char *) "self",(char *) "pageSetupData", NULL
28302 };
28303
28304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
28305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28306 if (!SWIG_IsOK(res1)) {
28307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28308 }
28309 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28310 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28311 if (!SWIG_IsOK(res2)) {
28312 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28313 }
28314 if (!argp2) {
28315 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28316 }
28317 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28318 {
28319 PyThreadState* __tstate = wxPyBeginAllowThreads();
28320 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
28321 wxPyEndAllowThreads(__tstate);
28322 if (PyErr_Occurred()) SWIG_fail;
28323 }
28324 resultobj = SWIG_Py_Void();
28325 return resultobj;
28326 fail:
28327 return NULL;
28328 }
28329
28330
28331 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28332 PyObject *resultobj = 0;
28333 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28334 void *argp1 = 0 ;
28335 int res1 = 0 ;
28336 PyObject *swig_obj[1] ;
28337
28338 if (!args) SWIG_fail;
28339 swig_obj[0] = args;
28340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28341 if (!SWIG_IsOK(res1)) {
28342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28343 }
28344 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28345 {
28346 PyThreadState* __tstate = wxPyBeginAllowThreads();
28347 (arg1)->MapScreenSizeToDevice();
28348 wxPyEndAllowThreads(__tstate);
28349 if (PyErr_Occurred()) SWIG_fail;
28350 }
28351 resultobj = SWIG_Py_Void();
28352 return resultobj;
28353 fail:
28354 return NULL;
28355 }
28356
28357
28358 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28359 PyObject *resultobj = 0;
28360 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28361 wxRect result;
28362 void *argp1 = 0 ;
28363 int res1 = 0 ;
28364 PyObject *swig_obj[1] ;
28365
28366 if (!args) SWIG_fail;
28367 swig_obj[0] = args;
28368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28369 if (!SWIG_IsOK(res1)) {
28370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28371 }
28372 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28373 {
28374 PyThreadState* __tstate = wxPyBeginAllowThreads();
28375 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
28376 wxPyEndAllowThreads(__tstate);
28377 if (PyErr_Occurred()) SWIG_fail;
28378 }
28379 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28380 return resultobj;
28381 fail:
28382 return NULL;
28383 }
28384
28385
28386 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28387 PyObject *resultobj = 0;
28388 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28389 wxRect result;
28390 void *argp1 = 0 ;
28391 int res1 = 0 ;
28392 PyObject *swig_obj[1] ;
28393
28394 if (!args) SWIG_fail;
28395 swig_obj[0] = args;
28396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28397 if (!SWIG_IsOK(res1)) {
28398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28399 }
28400 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28401 {
28402 PyThreadState* __tstate = wxPyBeginAllowThreads();
28403 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
28404 wxPyEndAllowThreads(__tstate);
28405 if (PyErr_Occurred()) SWIG_fail;
28406 }
28407 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28408 return resultobj;
28409 fail:
28410 return NULL;
28411 }
28412
28413
28414 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28415 PyObject *resultobj = 0;
28416 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28417 wxPageSetupDialogData *arg2 = 0 ;
28418 wxRect result;
28419 void *argp1 = 0 ;
28420 int res1 = 0 ;
28421 void *argp2 = 0 ;
28422 int res2 = 0 ;
28423 PyObject * obj0 = 0 ;
28424 PyObject * obj1 = 0 ;
28425 char * kwnames[] = {
28426 (char *) "self",(char *) "pageSetupData", NULL
28427 };
28428
28429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
28430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28431 if (!SWIG_IsOK(res1)) {
28432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28433 }
28434 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28435 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28436 if (!SWIG_IsOK(res2)) {
28437 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28438 }
28439 if (!argp2) {
28440 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28441 }
28442 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28443 {
28444 PyThreadState* __tstate = wxPyBeginAllowThreads();
28445 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
28446 wxPyEndAllowThreads(__tstate);
28447 if (PyErr_Occurred()) SWIG_fail;
28448 }
28449 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28450 return resultobj;
28451 fail:
28452 return NULL;
28453 }
28454
28455
28456 SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28457 PyObject *resultobj = 0;
28458 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28459 int arg2 ;
28460 int arg3 ;
28461 void *argp1 = 0 ;
28462 int res1 = 0 ;
28463 int val2 ;
28464 int ecode2 = 0 ;
28465 int val3 ;
28466 int ecode3 = 0 ;
28467 PyObject * obj0 = 0 ;
28468 PyObject * obj1 = 0 ;
28469 PyObject * obj2 = 0 ;
28470 char * kwnames[] = {
28471 (char *) "self",(char *) "x",(char *) "y", NULL
28472 };
28473
28474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28476 if (!SWIG_IsOK(res1)) {
28477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28478 }
28479 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28480 ecode2 = SWIG_AsVal_int(obj1, &val2);
28481 if (!SWIG_IsOK(ecode2)) {
28482 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28483 }
28484 arg2 = static_cast< int >(val2);
28485 ecode3 = SWIG_AsVal_int(obj2, &val3);
28486 if (!SWIG_IsOK(ecode3)) {
28487 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28488 }
28489 arg3 = static_cast< int >(val3);
28490 {
28491 PyThreadState* __tstate = wxPyBeginAllowThreads();
28492 (arg1)->SetLogicalOrigin(arg2,arg3);
28493 wxPyEndAllowThreads(__tstate);
28494 if (PyErr_Occurred()) SWIG_fail;
28495 }
28496 resultobj = SWIG_Py_Void();
28497 return resultobj;
28498 fail:
28499 return NULL;
28500 }
28501
28502
28503 SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28504 PyObject *resultobj = 0;
28505 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28506 int arg2 ;
28507 int arg3 ;
28508 void *argp1 = 0 ;
28509 int res1 = 0 ;
28510 int val2 ;
28511 int ecode2 = 0 ;
28512 int val3 ;
28513 int ecode3 = 0 ;
28514 PyObject * obj0 = 0 ;
28515 PyObject * obj1 = 0 ;
28516 PyObject * obj2 = 0 ;
28517 char * kwnames[] = {
28518 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28519 };
28520
28521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28523 if (!SWIG_IsOK(res1)) {
28524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28525 }
28526 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28527 ecode2 = SWIG_AsVal_int(obj1, &val2);
28528 if (!SWIG_IsOK(ecode2)) {
28529 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28530 }
28531 arg2 = static_cast< int >(val2);
28532 ecode3 = SWIG_AsVal_int(obj2, &val3);
28533 if (!SWIG_IsOK(ecode3)) {
28534 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28535 }
28536 arg3 = static_cast< int >(val3);
28537 {
28538 PyThreadState* __tstate = wxPyBeginAllowThreads();
28539 (arg1)->OffsetLogicalOrigin(arg2,arg3);
28540 wxPyEndAllowThreads(__tstate);
28541 if (PyErr_Occurred()) SWIG_fail;
28542 }
28543 resultobj = SWIG_Py_Void();
28544 return resultobj;
28545 fail:
28546 return NULL;
28547 }
28548
28549
28550 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28551 PyObject *resultobj = 0;
28552 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28553 int arg2 ;
28554 int arg3 ;
28555 void *argp1 = 0 ;
28556 int res1 = 0 ;
28557 int val2 ;
28558 int ecode2 = 0 ;
28559 int val3 ;
28560 int ecode3 = 0 ;
28561 PyObject * obj0 = 0 ;
28562 PyObject * obj1 = 0 ;
28563 PyObject * obj2 = 0 ;
28564 char * kwnames[] = {
28565 (char *) "self",(char *) "w",(char *) "h", NULL
28566 };
28567
28568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28570 if (!SWIG_IsOK(res1)) {
28571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28572 }
28573 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28574 ecode2 = SWIG_AsVal_int(obj1, &val2);
28575 if (!SWIG_IsOK(ecode2)) {
28576 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28577 }
28578 arg2 = static_cast< int >(val2);
28579 ecode3 = SWIG_AsVal_int(obj2, &val3);
28580 if (!SWIG_IsOK(ecode3)) {
28581 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28582 }
28583 arg3 = static_cast< int >(val3);
28584 {
28585 PyThreadState* __tstate = wxPyBeginAllowThreads();
28586 (arg1)->SetPageSizePixels(arg2,arg3);
28587 wxPyEndAllowThreads(__tstate);
28588 if (PyErr_Occurred()) SWIG_fail;
28589 }
28590 resultobj = SWIG_Py_Void();
28591 return resultobj;
28592 fail:
28593 return NULL;
28594 }
28595
28596
28597 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28598 PyObject *resultobj = 0;
28599 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28600 int *arg2 = (int *) 0 ;
28601 int *arg3 = (int *) 0 ;
28602 void *argp1 = 0 ;
28603 int res1 = 0 ;
28604 int temp2 ;
28605 int res2 = SWIG_TMPOBJ ;
28606 int temp3 ;
28607 int res3 = SWIG_TMPOBJ ;
28608 PyObject *swig_obj[1] ;
28609
28610 arg2 = &temp2;
28611 arg3 = &temp3;
28612 if (!args) SWIG_fail;
28613 swig_obj[0] = args;
28614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28615 if (!SWIG_IsOK(res1)) {
28616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28617 }
28618 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28619 {
28620 PyThreadState* __tstate = wxPyBeginAllowThreads();
28621 (arg1)->GetPageSizePixels(arg2,arg3);
28622 wxPyEndAllowThreads(__tstate);
28623 if (PyErr_Occurred()) SWIG_fail;
28624 }
28625 resultobj = SWIG_Py_Void();
28626 if (SWIG_IsTmpObj(res2)) {
28627 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28628 } else {
28629 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28630 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28631 }
28632 if (SWIG_IsTmpObj(res3)) {
28633 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28634 } else {
28635 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28636 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28637 }
28638 return resultobj;
28639 fail:
28640 return NULL;
28641 }
28642
28643
28644 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28645 PyObject *resultobj = 0;
28646 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28647 int arg2 ;
28648 int arg3 ;
28649 void *argp1 = 0 ;
28650 int res1 = 0 ;
28651 int val2 ;
28652 int ecode2 = 0 ;
28653 int val3 ;
28654 int ecode3 = 0 ;
28655 PyObject * obj0 = 0 ;
28656 PyObject * obj1 = 0 ;
28657 PyObject * obj2 = 0 ;
28658 char * kwnames[] = {
28659 (char *) "self",(char *) "w",(char *) "h", NULL
28660 };
28661
28662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28664 if (!SWIG_IsOK(res1)) {
28665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28666 }
28667 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28668 ecode2 = SWIG_AsVal_int(obj1, &val2);
28669 if (!SWIG_IsOK(ecode2)) {
28670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28671 }
28672 arg2 = static_cast< int >(val2);
28673 ecode3 = SWIG_AsVal_int(obj2, &val3);
28674 if (!SWIG_IsOK(ecode3)) {
28675 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28676 }
28677 arg3 = static_cast< int >(val3);
28678 {
28679 PyThreadState* __tstate = wxPyBeginAllowThreads();
28680 (arg1)->SetPageSizeMM(arg2,arg3);
28681 wxPyEndAllowThreads(__tstate);
28682 if (PyErr_Occurred()) SWIG_fail;
28683 }
28684 resultobj = SWIG_Py_Void();
28685 return resultobj;
28686 fail:
28687 return NULL;
28688 }
28689
28690
28691 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28692 PyObject *resultobj = 0;
28693 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28694 int *arg2 = (int *) 0 ;
28695 int *arg3 = (int *) 0 ;
28696 void *argp1 = 0 ;
28697 int res1 = 0 ;
28698 int temp2 ;
28699 int res2 = SWIG_TMPOBJ ;
28700 int temp3 ;
28701 int res3 = SWIG_TMPOBJ ;
28702 PyObject *swig_obj[1] ;
28703
28704 arg2 = &temp2;
28705 arg3 = &temp3;
28706 if (!args) SWIG_fail;
28707 swig_obj[0] = args;
28708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28709 if (!SWIG_IsOK(res1)) {
28710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28711 }
28712 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28713 {
28714 PyThreadState* __tstate = wxPyBeginAllowThreads();
28715 (arg1)->GetPageSizeMM(arg2,arg3);
28716 wxPyEndAllowThreads(__tstate);
28717 if (PyErr_Occurred()) SWIG_fail;
28718 }
28719 resultobj = SWIG_Py_Void();
28720 if (SWIG_IsTmpObj(res2)) {
28721 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28722 } else {
28723 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28724 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28725 }
28726 if (SWIG_IsTmpObj(res3)) {
28727 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28728 } else {
28729 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28730 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28731 }
28732 return resultobj;
28733 fail:
28734 return NULL;
28735 }
28736
28737
28738 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28739 PyObject *resultobj = 0;
28740 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28741 int arg2 ;
28742 int arg3 ;
28743 void *argp1 = 0 ;
28744 int res1 = 0 ;
28745 int val2 ;
28746 int ecode2 = 0 ;
28747 int val3 ;
28748 int ecode3 = 0 ;
28749 PyObject * obj0 = 0 ;
28750 PyObject * obj1 = 0 ;
28751 PyObject * obj2 = 0 ;
28752 char * kwnames[] = {
28753 (char *) "self",(char *) "x",(char *) "y", NULL
28754 };
28755
28756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28758 if (!SWIG_IsOK(res1)) {
28759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28760 }
28761 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28762 ecode2 = SWIG_AsVal_int(obj1, &val2);
28763 if (!SWIG_IsOK(ecode2)) {
28764 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28765 }
28766 arg2 = static_cast< int >(val2);
28767 ecode3 = SWIG_AsVal_int(obj2, &val3);
28768 if (!SWIG_IsOK(ecode3)) {
28769 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28770 }
28771 arg3 = static_cast< int >(val3);
28772 {
28773 PyThreadState* __tstate = wxPyBeginAllowThreads();
28774 (arg1)->SetPPIScreen(arg2,arg3);
28775 wxPyEndAllowThreads(__tstate);
28776 if (PyErr_Occurred()) SWIG_fail;
28777 }
28778 resultobj = SWIG_Py_Void();
28779 return resultobj;
28780 fail:
28781 return NULL;
28782 }
28783
28784
28785 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28786 PyObject *resultobj = 0;
28787 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28788 int *arg2 = (int *) 0 ;
28789 int *arg3 = (int *) 0 ;
28790 void *argp1 = 0 ;
28791 int res1 = 0 ;
28792 int temp2 ;
28793 int res2 = SWIG_TMPOBJ ;
28794 int temp3 ;
28795 int res3 = SWIG_TMPOBJ ;
28796 PyObject *swig_obj[1] ;
28797
28798 arg2 = &temp2;
28799 arg3 = &temp3;
28800 if (!args) SWIG_fail;
28801 swig_obj[0] = args;
28802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28803 if (!SWIG_IsOK(res1)) {
28804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28805 }
28806 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28807 {
28808 PyThreadState* __tstate = wxPyBeginAllowThreads();
28809 (arg1)->GetPPIScreen(arg2,arg3);
28810 wxPyEndAllowThreads(__tstate);
28811 if (PyErr_Occurred()) SWIG_fail;
28812 }
28813 resultobj = SWIG_Py_Void();
28814 if (SWIG_IsTmpObj(res2)) {
28815 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28816 } else {
28817 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28818 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28819 }
28820 if (SWIG_IsTmpObj(res3)) {
28821 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28822 } else {
28823 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28824 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28825 }
28826 return resultobj;
28827 fail:
28828 return NULL;
28829 }
28830
28831
28832 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28833 PyObject *resultobj = 0;
28834 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28835 int arg2 ;
28836 int arg3 ;
28837 void *argp1 = 0 ;
28838 int res1 = 0 ;
28839 int val2 ;
28840 int ecode2 = 0 ;
28841 int val3 ;
28842 int ecode3 = 0 ;
28843 PyObject * obj0 = 0 ;
28844 PyObject * obj1 = 0 ;
28845 PyObject * obj2 = 0 ;
28846 char * kwnames[] = {
28847 (char *) "self",(char *) "x",(char *) "y", NULL
28848 };
28849
28850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28852 if (!SWIG_IsOK(res1)) {
28853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28854 }
28855 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28856 ecode2 = SWIG_AsVal_int(obj1, &val2);
28857 if (!SWIG_IsOK(ecode2)) {
28858 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28859 }
28860 arg2 = static_cast< int >(val2);
28861 ecode3 = SWIG_AsVal_int(obj2, &val3);
28862 if (!SWIG_IsOK(ecode3)) {
28863 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28864 }
28865 arg3 = static_cast< int >(val3);
28866 {
28867 PyThreadState* __tstate = wxPyBeginAllowThreads();
28868 (arg1)->SetPPIPrinter(arg2,arg3);
28869 wxPyEndAllowThreads(__tstate);
28870 if (PyErr_Occurred()) SWIG_fail;
28871 }
28872 resultobj = SWIG_Py_Void();
28873 return resultobj;
28874 fail:
28875 return NULL;
28876 }
28877
28878
28879 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28880 PyObject *resultobj = 0;
28881 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28882 int *arg2 = (int *) 0 ;
28883 int *arg3 = (int *) 0 ;
28884 void *argp1 = 0 ;
28885 int res1 = 0 ;
28886 int temp2 ;
28887 int res2 = SWIG_TMPOBJ ;
28888 int temp3 ;
28889 int res3 = SWIG_TMPOBJ ;
28890 PyObject *swig_obj[1] ;
28891
28892 arg2 = &temp2;
28893 arg3 = &temp3;
28894 if (!args) SWIG_fail;
28895 swig_obj[0] = args;
28896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28897 if (!SWIG_IsOK(res1)) {
28898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28899 }
28900 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28901 {
28902 PyThreadState* __tstate = wxPyBeginAllowThreads();
28903 (arg1)->GetPPIPrinter(arg2,arg3);
28904 wxPyEndAllowThreads(__tstate);
28905 if (PyErr_Occurred()) SWIG_fail;
28906 }
28907 resultobj = SWIG_Py_Void();
28908 if (SWIG_IsTmpObj(res2)) {
28909 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28910 } else {
28911 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28912 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28913 }
28914 if (SWIG_IsTmpObj(res3)) {
28915 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28916 } else {
28917 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28918 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28919 }
28920 return resultobj;
28921 fail:
28922 return NULL;
28923 }
28924
28925
28926 SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28927 PyObject *resultobj = 0;
28928 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28929 wxRect *arg2 = 0 ;
28930 void *argp1 = 0 ;
28931 int res1 = 0 ;
28932 wxRect temp2 ;
28933 PyObject * obj0 = 0 ;
28934 PyObject * obj1 = 0 ;
28935 char * kwnames[] = {
28936 (char *) "self",(char *) "paperRectPixels", NULL
28937 };
28938
28939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
28940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28941 if (!SWIG_IsOK(res1)) {
28942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28943 }
28944 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28945 {
28946 arg2 = &temp2;
28947 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
28948 }
28949 {
28950 PyThreadState* __tstate = wxPyBeginAllowThreads();
28951 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
28952 wxPyEndAllowThreads(__tstate);
28953 if (PyErr_Occurred()) SWIG_fail;
28954 }
28955 resultobj = SWIG_Py_Void();
28956 return resultobj;
28957 fail:
28958 return NULL;
28959 }
28960
28961
28962 SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28963 PyObject *resultobj = 0;
28964 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28965 wxRect result;
28966 void *argp1 = 0 ;
28967 int res1 = 0 ;
28968 PyObject *swig_obj[1] ;
28969
28970 if (!args) SWIG_fail;
28971 swig_obj[0] = args;
28972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28973 if (!SWIG_IsOK(res1)) {
28974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28975 }
28976 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28977 {
28978 PyThreadState* __tstate = wxPyBeginAllowThreads();
28979 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
28980 wxPyEndAllowThreads(__tstate);
28981 if (PyErr_Occurred()) SWIG_fail;
28982 }
28983 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28984 return resultobj;
28985 fail:
28986 return NULL;
28987 }
28988
28989
28990 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28991 PyObject *resultobj = 0;
28992 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28993 bool result;
28994 void *argp1 = 0 ;
28995 int res1 = 0 ;
28996 PyObject *swig_obj[1] ;
28997
28998 if (!args) SWIG_fail;
28999 swig_obj[0] = args;
29000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29001 if (!SWIG_IsOK(res1)) {
29002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29003 }
29004 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29005 {
29006 PyThreadState* __tstate = wxPyBeginAllowThreads();
29007 result = (bool)(arg1)->IsPreview();
29008 wxPyEndAllowThreads(__tstate);
29009 if (PyErr_Occurred()) SWIG_fail;
29010 }
29011 {
29012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29013 }
29014 return resultobj;
29015 fail:
29016 return NULL;
29017 }
29018
29019
29020 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29021 PyObject *resultobj = 0;
29022 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29023 bool arg2 ;
29024 void *argp1 = 0 ;
29025 int res1 = 0 ;
29026 bool val2 ;
29027 int ecode2 = 0 ;
29028 PyObject * obj0 = 0 ;
29029 PyObject * obj1 = 0 ;
29030 char * kwnames[] = {
29031 (char *) "self",(char *) "p", NULL
29032 };
29033
29034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
29035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29036 if (!SWIG_IsOK(res1)) {
29037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29038 }
29039 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29040 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29041 if (!SWIG_IsOK(ecode2)) {
29042 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29043 }
29044 arg2 = static_cast< bool >(val2);
29045 {
29046 PyThreadState* __tstate = wxPyBeginAllowThreads();
29047 (arg1)->SetIsPreview(arg2);
29048 wxPyEndAllowThreads(__tstate);
29049 if (PyErr_Occurred()) SWIG_fail;
29050 }
29051 resultobj = SWIG_Py_Void();
29052 return resultobj;
29053 fail:
29054 return NULL;
29055 }
29056
29057
29058 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29059 PyObject *resultobj = 0;
29060 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29061 int arg2 ;
29062 int arg3 ;
29063 bool result;
29064 void *argp1 = 0 ;
29065 int res1 = 0 ;
29066 int val2 ;
29067 int ecode2 = 0 ;
29068 int val3 ;
29069 int ecode3 = 0 ;
29070 PyObject * obj0 = 0 ;
29071 PyObject * obj1 = 0 ;
29072 PyObject * obj2 = 0 ;
29073 char * kwnames[] = {
29074 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29075 };
29076
29077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29079 if (!SWIG_IsOK(res1)) {
29080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29081 }
29082 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29083 ecode2 = SWIG_AsVal_int(obj1, &val2);
29084 if (!SWIG_IsOK(ecode2)) {
29085 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29086 }
29087 arg2 = static_cast< int >(val2);
29088 ecode3 = SWIG_AsVal_int(obj2, &val3);
29089 if (!SWIG_IsOK(ecode3)) {
29090 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29091 }
29092 arg3 = static_cast< int >(val3);
29093 {
29094 PyThreadState* __tstate = wxPyBeginAllowThreads();
29095 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
29096 wxPyEndAllowThreads(__tstate);
29097 if (PyErr_Occurred()) SWIG_fail;
29098 }
29099 {
29100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29101 }
29102 return resultobj;
29103 fail:
29104 return NULL;
29105 }
29106
29107
29108 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29109 PyObject *resultobj = 0;
29110 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29111 void *argp1 = 0 ;
29112 int res1 = 0 ;
29113 PyObject *swig_obj[1] ;
29114
29115 if (!args) SWIG_fail;
29116 swig_obj[0] = args;
29117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29118 if (!SWIG_IsOK(res1)) {
29119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29120 }
29121 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29122 {
29123 PyThreadState* __tstate = wxPyBeginAllowThreads();
29124 (arg1)->OnEndDocument();
29125 wxPyEndAllowThreads(__tstate);
29126 if (PyErr_Occurred()) SWIG_fail;
29127 }
29128 resultobj = SWIG_Py_Void();
29129 return resultobj;
29130 fail:
29131 return NULL;
29132 }
29133
29134
29135 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29136 PyObject *resultobj = 0;
29137 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29138 void *argp1 = 0 ;
29139 int res1 = 0 ;
29140 PyObject *swig_obj[1] ;
29141
29142 if (!args) SWIG_fail;
29143 swig_obj[0] = args;
29144 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29145 if (!SWIG_IsOK(res1)) {
29146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29147 }
29148 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29149 {
29150 PyThreadState* __tstate = wxPyBeginAllowThreads();
29151 (arg1)->OnBeginPrinting();
29152 wxPyEndAllowThreads(__tstate);
29153 if (PyErr_Occurred()) SWIG_fail;
29154 }
29155 resultobj = SWIG_Py_Void();
29156 return resultobj;
29157 fail:
29158 return NULL;
29159 }
29160
29161
29162 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29163 PyObject *resultobj = 0;
29164 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29165 void *argp1 = 0 ;
29166 int res1 = 0 ;
29167 PyObject *swig_obj[1] ;
29168
29169 if (!args) SWIG_fail;
29170 swig_obj[0] = args;
29171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29172 if (!SWIG_IsOK(res1)) {
29173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29174 }
29175 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29176 {
29177 PyThreadState* __tstate = wxPyBeginAllowThreads();
29178 (arg1)->OnEndPrinting();
29179 wxPyEndAllowThreads(__tstate);
29180 if (PyErr_Occurred()) SWIG_fail;
29181 }
29182 resultobj = SWIG_Py_Void();
29183 return resultobj;
29184 fail:
29185 return NULL;
29186 }
29187
29188
29189 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29190 PyObject *resultobj = 0;
29191 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29192 void *argp1 = 0 ;
29193 int res1 = 0 ;
29194 PyObject *swig_obj[1] ;
29195
29196 if (!args) SWIG_fail;
29197 swig_obj[0] = args;
29198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29199 if (!SWIG_IsOK(res1)) {
29200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29201 }
29202 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29203 {
29204 PyThreadState* __tstate = wxPyBeginAllowThreads();
29205 (arg1)->OnPreparePrinting();
29206 wxPyEndAllowThreads(__tstate);
29207 if (PyErr_Occurred()) SWIG_fail;
29208 }
29209 resultobj = SWIG_Py_Void();
29210 return resultobj;
29211 fail:
29212 return NULL;
29213 }
29214
29215
29216 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29217 PyObject *resultobj = 0;
29218 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29219 int arg2 ;
29220 bool result;
29221 void *argp1 = 0 ;
29222 int res1 = 0 ;
29223 int val2 ;
29224 int ecode2 = 0 ;
29225 PyObject * obj0 = 0 ;
29226 PyObject * obj1 = 0 ;
29227 char * kwnames[] = {
29228 (char *) "self",(char *) "page", NULL
29229 };
29230
29231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
29232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29233 if (!SWIG_IsOK(res1)) {
29234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29235 }
29236 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29237 ecode2 = SWIG_AsVal_int(obj1, &val2);
29238 if (!SWIG_IsOK(ecode2)) {
29239 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29240 }
29241 arg2 = static_cast< int >(val2);
29242 {
29243 PyThreadState* __tstate = wxPyBeginAllowThreads();
29244 result = (bool)(arg1)->HasPage(arg2);
29245 wxPyEndAllowThreads(__tstate);
29246 if (PyErr_Occurred()) SWIG_fail;
29247 }
29248 {
29249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29250 }
29251 return resultobj;
29252 fail:
29253 return NULL;
29254 }
29255
29256
29257 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29258 PyObject *resultobj = 0;
29259 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29260 int *arg2 = (int *) 0 ;
29261 int *arg3 = (int *) 0 ;
29262 int *arg4 = (int *) 0 ;
29263 int *arg5 = (int *) 0 ;
29264 void *argp1 = 0 ;
29265 int res1 = 0 ;
29266 int temp2 ;
29267 int res2 = SWIG_TMPOBJ ;
29268 int temp3 ;
29269 int res3 = SWIG_TMPOBJ ;
29270 int temp4 ;
29271 int res4 = SWIG_TMPOBJ ;
29272 int temp5 ;
29273 int res5 = SWIG_TMPOBJ ;
29274 PyObject *swig_obj[1] ;
29275
29276 arg2 = &temp2;
29277 arg3 = &temp3;
29278 arg4 = &temp4;
29279 arg5 = &temp5;
29280 if (!args) SWIG_fail;
29281 swig_obj[0] = args;
29282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29283 if (!SWIG_IsOK(res1)) {
29284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29285 }
29286 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29287 {
29288 PyThreadState* __tstate = wxPyBeginAllowThreads();
29289 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
29290 wxPyEndAllowThreads(__tstate);
29291 if (PyErr_Occurred()) SWIG_fail;
29292 }
29293 resultobj = SWIG_Py_Void();
29294 if (SWIG_IsTmpObj(res2)) {
29295 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29296 } else {
29297 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29298 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29299 }
29300 if (SWIG_IsTmpObj(res3)) {
29301 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29302 } else {
29303 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29304 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29305 }
29306 if (SWIG_IsTmpObj(res4)) {
29307 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
29308 } else {
29309 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29310 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
29311 }
29312 if (SWIG_IsTmpObj(res5)) {
29313 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
29314 } else {
29315 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29316 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
29317 }
29318 return resultobj;
29319 fail:
29320 return NULL;
29321 }
29322
29323
29324 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29325 PyObject *obj;
29326 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29327 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
29328 return SWIG_Py_Void();
29329 }
29330
29331 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29332 return SWIG_Python_InitShadowInstance(args);
29333 }
29334
29335 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29336 PyObject *resultobj = 0;
29337 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29338 wxWindow *arg2 = (wxWindow *) 0 ;
29339 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29340 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29341 wxSize const &arg4_defvalue = wxDefaultSize ;
29342 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29343 long arg5 = (long) 0 ;
29344 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
29345 wxString *arg6 = (wxString *) &arg6_defvalue ;
29346 wxPreviewCanvas *result = 0 ;
29347 void *argp1 = 0 ;
29348 int res1 = 0 ;
29349 void *argp2 = 0 ;
29350 int res2 = 0 ;
29351 wxPoint temp3 ;
29352 wxSize temp4 ;
29353 long val5 ;
29354 int ecode5 = 0 ;
29355 bool temp6 = false ;
29356 PyObject * obj0 = 0 ;
29357 PyObject * obj1 = 0 ;
29358 PyObject * obj2 = 0 ;
29359 PyObject * obj3 = 0 ;
29360 PyObject * obj4 = 0 ;
29361 PyObject * obj5 = 0 ;
29362 char * kwnames[] = {
29363 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29364 };
29365
29366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
29367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29368 if (!SWIG_IsOK(res1)) {
29369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29370 }
29371 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29372 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29373 if (!SWIG_IsOK(res2)) {
29374 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29375 }
29376 arg2 = reinterpret_cast< wxWindow * >(argp2);
29377 if (obj2) {
29378 {
29379 arg3 = &temp3;
29380 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29381 }
29382 }
29383 if (obj3) {
29384 {
29385 arg4 = &temp4;
29386 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29387 }
29388 }
29389 if (obj4) {
29390 ecode5 = SWIG_AsVal_long(obj4, &val5);
29391 if (!SWIG_IsOK(ecode5)) {
29392 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29393 }
29394 arg5 = static_cast< long >(val5);
29395 }
29396 if (obj5) {
29397 {
29398 arg6 = wxString_in_helper(obj5);
29399 if (arg6 == NULL) SWIG_fail;
29400 temp6 = true;
29401 }
29402 }
29403 {
29404 if (!wxPyCheckForApp()) SWIG_fail;
29405 PyThreadState* __tstate = wxPyBeginAllowThreads();
29406 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
29407 wxPyEndAllowThreads(__tstate);
29408 if (PyErr_Occurred()) SWIG_fail;
29409 }
29410 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
29411 {
29412 if (temp6)
29413 delete arg6;
29414 }
29415 return resultobj;
29416 fail:
29417 {
29418 if (temp6)
29419 delete arg6;
29420 }
29421 return NULL;
29422 }
29423
29424
29425 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29426 PyObject *obj;
29427 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29428 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
29429 return SWIG_Py_Void();
29430 }
29431
29432 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29433 return SWIG_Python_InitShadowInstance(args);
29434 }
29435
29436 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29437 PyObject *resultobj = 0;
29438 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29439 wxFrame *arg2 = (wxFrame *) 0 ;
29440 wxString *arg3 = 0 ;
29441 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29442 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29443 wxSize const &arg5_defvalue = wxDefaultSize ;
29444 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29445 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29446 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29447 wxString *arg7 = (wxString *) &arg7_defvalue ;
29448 wxPreviewFrame *result = 0 ;
29449 int res1 = 0 ;
29450 void *argp2 = 0 ;
29451 int res2 = 0 ;
29452 bool temp3 = false ;
29453 wxPoint temp4 ;
29454 wxSize temp5 ;
29455 long val6 ;
29456 int ecode6 = 0 ;
29457 bool temp7 = false ;
29458 PyObject * obj0 = 0 ;
29459 PyObject * obj1 = 0 ;
29460 PyObject * obj2 = 0 ;
29461 PyObject * obj3 = 0 ;
29462 PyObject * obj4 = 0 ;
29463 PyObject * obj5 = 0 ;
29464 PyObject * obj6 = 0 ;
29465 char * kwnames[] = {
29466 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29467 };
29468
29469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29470 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29471 if (!SWIG_IsOK(res1)) {
29472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29473 }
29474 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29475 if (!SWIG_IsOK(res2)) {
29476 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29477 }
29478 arg2 = reinterpret_cast< wxFrame * >(argp2);
29479 {
29480 arg3 = wxString_in_helper(obj2);
29481 if (arg3 == NULL) SWIG_fail;
29482 temp3 = true;
29483 }
29484 if (obj3) {
29485 {
29486 arg4 = &temp4;
29487 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29488 }
29489 }
29490 if (obj4) {
29491 {
29492 arg5 = &temp5;
29493 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29494 }
29495 }
29496 if (obj5) {
29497 ecode6 = SWIG_AsVal_long(obj5, &val6);
29498 if (!SWIG_IsOK(ecode6)) {
29499 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29500 }
29501 arg6 = static_cast< long >(val6);
29502 }
29503 if (obj6) {
29504 {
29505 arg7 = wxString_in_helper(obj6);
29506 if (arg7 == NULL) SWIG_fail;
29507 temp7 = true;
29508 }
29509 }
29510 {
29511 if (!wxPyCheckForApp()) SWIG_fail;
29512 PyThreadState* __tstate = wxPyBeginAllowThreads();
29513 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29514 wxPyEndAllowThreads(__tstate);
29515 if (PyErr_Occurred()) SWIG_fail;
29516 }
29517 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
29518 {
29519 if (temp3)
29520 delete arg3;
29521 }
29522 {
29523 if (temp7)
29524 delete arg7;
29525 }
29526 return resultobj;
29527 fail:
29528 {
29529 if (temp3)
29530 delete arg3;
29531 }
29532 {
29533 if (temp7)
29534 delete arg7;
29535 }
29536 return NULL;
29537 }
29538
29539
29540 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29541 PyObject *resultobj = 0;
29542 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29543 void *argp1 = 0 ;
29544 int res1 = 0 ;
29545 PyObject *swig_obj[1] ;
29546
29547 if (!args) SWIG_fail;
29548 swig_obj[0] = args;
29549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29550 if (!SWIG_IsOK(res1)) {
29551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29552 }
29553 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29554 {
29555 PyThreadState* __tstate = wxPyBeginAllowThreads();
29556 (arg1)->Initialize();
29557 wxPyEndAllowThreads(__tstate);
29558 if (PyErr_Occurred()) SWIG_fail;
29559 }
29560 resultobj = SWIG_Py_Void();
29561 return resultobj;
29562 fail:
29563 return NULL;
29564 }
29565
29566
29567 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29568 PyObject *resultobj = 0;
29569 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29570 void *argp1 = 0 ;
29571 int res1 = 0 ;
29572 PyObject *swig_obj[1] ;
29573
29574 if (!args) SWIG_fail;
29575 swig_obj[0] = args;
29576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29577 if (!SWIG_IsOK(res1)) {
29578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29579 }
29580 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29581 {
29582 PyThreadState* __tstate = wxPyBeginAllowThreads();
29583 (arg1)->CreateControlBar();
29584 wxPyEndAllowThreads(__tstate);
29585 if (PyErr_Occurred()) SWIG_fail;
29586 }
29587 resultobj = SWIG_Py_Void();
29588 return resultobj;
29589 fail:
29590 return NULL;
29591 }
29592
29593
29594 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29595 PyObject *resultobj = 0;
29596 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29597 void *argp1 = 0 ;
29598 int res1 = 0 ;
29599 PyObject *swig_obj[1] ;
29600
29601 if (!args) SWIG_fail;
29602 swig_obj[0] = args;
29603 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29604 if (!SWIG_IsOK(res1)) {
29605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29606 }
29607 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29608 {
29609 PyThreadState* __tstate = wxPyBeginAllowThreads();
29610 (arg1)->CreateCanvas();
29611 wxPyEndAllowThreads(__tstate);
29612 if (PyErr_Occurred()) SWIG_fail;
29613 }
29614 resultobj = SWIG_Py_Void();
29615 return resultobj;
29616 fail:
29617 return NULL;
29618 }
29619
29620
29621 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29622 PyObject *resultobj = 0;
29623 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29624 wxPreviewControlBar *result = 0 ;
29625 void *argp1 = 0 ;
29626 int res1 = 0 ;
29627 PyObject *swig_obj[1] ;
29628
29629 if (!args) SWIG_fail;
29630 swig_obj[0] = args;
29631 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29632 if (!SWIG_IsOK(res1)) {
29633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29634 }
29635 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29636 {
29637 PyThreadState* __tstate = wxPyBeginAllowThreads();
29638 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29639 wxPyEndAllowThreads(__tstate);
29640 if (PyErr_Occurred()) SWIG_fail;
29641 }
29642 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29643 return resultobj;
29644 fail:
29645 return NULL;
29646 }
29647
29648
29649 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29650 PyObject *obj;
29651 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29652 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29653 return SWIG_Py_Void();
29654 }
29655
29656 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29657 return SWIG_Python_InitShadowInstance(args);
29658 }
29659
29660 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29661 PyObject *resultobj = 0;
29662 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29663 long arg2 ;
29664 wxWindow *arg3 = (wxWindow *) 0 ;
29665 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29666 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29667 wxSize const &arg5_defvalue = wxDefaultSize ;
29668 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29669 long arg6 = (long) wxTAB_TRAVERSAL ;
29670 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29671 wxString *arg7 = (wxString *) &arg7_defvalue ;
29672 wxPreviewControlBar *result = 0 ;
29673 void *argp1 = 0 ;
29674 int res1 = 0 ;
29675 long val2 ;
29676 int ecode2 = 0 ;
29677 void *argp3 = 0 ;
29678 int res3 = 0 ;
29679 wxPoint temp4 ;
29680 wxSize temp5 ;
29681 long val6 ;
29682 int ecode6 = 0 ;
29683 bool temp7 = false ;
29684 PyObject * obj0 = 0 ;
29685 PyObject * obj1 = 0 ;
29686 PyObject * obj2 = 0 ;
29687 PyObject * obj3 = 0 ;
29688 PyObject * obj4 = 0 ;
29689 PyObject * obj5 = 0 ;
29690 PyObject * obj6 = 0 ;
29691 char * kwnames[] = {
29692 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29693 };
29694
29695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29697 if (!SWIG_IsOK(res1)) {
29698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29699 }
29700 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29701 ecode2 = SWIG_AsVal_long(obj1, &val2);
29702 if (!SWIG_IsOK(ecode2)) {
29703 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29704 }
29705 arg2 = static_cast< long >(val2);
29706 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29707 if (!SWIG_IsOK(res3)) {
29708 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29709 }
29710 arg3 = reinterpret_cast< wxWindow * >(argp3);
29711 if (obj3) {
29712 {
29713 arg4 = &temp4;
29714 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29715 }
29716 }
29717 if (obj4) {
29718 {
29719 arg5 = &temp5;
29720 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29721 }
29722 }
29723 if (obj5) {
29724 ecode6 = SWIG_AsVal_long(obj5, &val6);
29725 if (!SWIG_IsOK(ecode6)) {
29726 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29727 }
29728 arg6 = static_cast< long >(val6);
29729 }
29730 if (obj6) {
29731 {
29732 arg7 = wxString_in_helper(obj6);
29733 if (arg7 == NULL) SWIG_fail;
29734 temp7 = true;
29735 }
29736 }
29737 {
29738 if (!wxPyCheckForApp()) SWIG_fail;
29739 PyThreadState* __tstate = wxPyBeginAllowThreads();
29740 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29741 wxPyEndAllowThreads(__tstate);
29742 if (PyErr_Occurred()) SWIG_fail;
29743 }
29744 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29745 {
29746 if (temp7)
29747 delete arg7;
29748 }
29749 return resultobj;
29750 fail:
29751 {
29752 if (temp7)
29753 delete arg7;
29754 }
29755 return NULL;
29756 }
29757
29758
29759 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29760 PyObject *resultobj = 0;
29761 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29762 int result;
29763 void *argp1 = 0 ;
29764 int res1 = 0 ;
29765 PyObject *swig_obj[1] ;
29766
29767 if (!args) SWIG_fail;
29768 swig_obj[0] = args;
29769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29770 if (!SWIG_IsOK(res1)) {
29771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29772 }
29773 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29774 {
29775 PyThreadState* __tstate = wxPyBeginAllowThreads();
29776 result = (int)(arg1)->GetZoomControl();
29777 wxPyEndAllowThreads(__tstate);
29778 if (PyErr_Occurred()) SWIG_fail;
29779 }
29780 resultobj = SWIG_From_int(static_cast< int >(result));
29781 return resultobj;
29782 fail:
29783 return NULL;
29784 }
29785
29786
29787 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29788 PyObject *resultobj = 0;
29789 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29790 int arg2 ;
29791 void *argp1 = 0 ;
29792 int res1 = 0 ;
29793 int val2 ;
29794 int ecode2 = 0 ;
29795 PyObject * obj0 = 0 ;
29796 PyObject * obj1 = 0 ;
29797 char * kwnames[] = {
29798 (char *) "self",(char *) "zoom", NULL
29799 };
29800
29801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29803 if (!SWIG_IsOK(res1)) {
29804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29805 }
29806 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29807 ecode2 = SWIG_AsVal_int(obj1, &val2);
29808 if (!SWIG_IsOK(ecode2)) {
29809 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29810 }
29811 arg2 = static_cast< int >(val2);
29812 {
29813 PyThreadState* __tstate = wxPyBeginAllowThreads();
29814 (arg1)->SetZoomControl(arg2);
29815 wxPyEndAllowThreads(__tstate);
29816 if (PyErr_Occurred()) SWIG_fail;
29817 }
29818 resultobj = SWIG_Py_Void();
29819 return resultobj;
29820 fail:
29821 return NULL;
29822 }
29823
29824
29825 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29826 PyObject *resultobj = 0;
29827 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29828 wxPrintPreview *result = 0 ;
29829 void *argp1 = 0 ;
29830 int res1 = 0 ;
29831 PyObject *swig_obj[1] ;
29832
29833 if (!args) SWIG_fail;
29834 swig_obj[0] = args;
29835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29836 if (!SWIG_IsOK(res1)) {
29837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29838 }
29839 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29840 {
29841 PyThreadState* __tstate = wxPyBeginAllowThreads();
29842 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29843 wxPyEndAllowThreads(__tstate);
29844 if (PyErr_Occurred()) SWIG_fail;
29845 }
29846 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29847 return resultobj;
29848 fail:
29849 return NULL;
29850 }
29851
29852
29853 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29854 PyObject *resultobj = 0;
29855 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29856 void *argp1 = 0 ;
29857 int res1 = 0 ;
29858 PyObject *swig_obj[1] ;
29859
29860 if (!args) SWIG_fail;
29861 swig_obj[0] = args;
29862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29863 if (!SWIG_IsOK(res1)) {
29864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29865 }
29866 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29867 {
29868 PyThreadState* __tstate = wxPyBeginAllowThreads();
29869 (arg1)->OnNext();
29870 wxPyEndAllowThreads(__tstate);
29871 if (PyErr_Occurred()) SWIG_fail;
29872 }
29873 resultobj = SWIG_Py_Void();
29874 return resultobj;
29875 fail:
29876 return NULL;
29877 }
29878
29879
29880 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29881 PyObject *resultobj = 0;
29882 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29883 void *argp1 = 0 ;
29884 int res1 = 0 ;
29885 PyObject *swig_obj[1] ;
29886
29887 if (!args) SWIG_fail;
29888 swig_obj[0] = args;
29889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29890 if (!SWIG_IsOK(res1)) {
29891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29892 }
29893 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29894 {
29895 PyThreadState* __tstate = wxPyBeginAllowThreads();
29896 (arg1)->OnPrevious();
29897 wxPyEndAllowThreads(__tstate);
29898 if (PyErr_Occurred()) SWIG_fail;
29899 }
29900 resultobj = SWIG_Py_Void();
29901 return resultobj;
29902 fail:
29903 return NULL;
29904 }
29905
29906
29907 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29908 PyObject *resultobj = 0;
29909 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29910 void *argp1 = 0 ;
29911 int res1 = 0 ;
29912 PyObject *swig_obj[1] ;
29913
29914 if (!args) SWIG_fail;
29915 swig_obj[0] = args;
29916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29917 if (!SWIG_IsOK(res1)) {
29918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29919 }
29920 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29921 {
29922 PyThreadState* __tstate = wxPyBeginAllowThreads();
29923 (arg1)->OnFirst();
29924 wxPyEndAllowThreads(__tstate);
29925 if (PyErr_Occurred()) SWIG_fail;
29926 }
29927 resultobj = SWIG_Py_Void();
29928 return resultobj;
29929 fail:
29930 return NULL;
29931 }
29932
29933
29934 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29935 PyObject *resultobj = 0;
29936 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29937 void *argp1 = 0 ;
29938 int res1 = 0 ;
29939 PyObject *swig_obj[1] ;
29940
29941 if (!args) SWIG_fail;
29942 swig_obj[0] = args;
29943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29944 if (!SWIG_IsOK(res1)) {
29945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29946 }
29947 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29948 {
29949 PyThreadState* __tstate = wxPyBeginAllowThreads();
29950 (arg1)->OnLast();
29951 wxPyEndAllowThreads(__tstate);
29952 if (PyErr_Occurred()) SWIG_fail;
29953 }
29954 resultobj = SWIG_Py_Void();
29955 return resultobj;
29956 fail:
29957 return NULL;
29958 }
29959
29960
29961 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29962 PyObject *resultobj = 0;
29963 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29964 void *argp1 = 0 ;
29965 int res1 = 0 ;
29966 PyObject *swig_obj[1] ;
29967
29968 if (!args) SWIG_fail;
29969 swig_obj[0] = args;
29970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29971 if (!SWIG_IsOK(res1)) {
29972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29973 }
29974 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29975 {
29976 PyThreadState* __tstate = wxPyBeginAllowThreads();
29977 (arg1)->OnGoto();
29978 wxPyEndAllowThreads(__tstate);
29979 if (PyErr_Occurred()) SWIG_fail;
29980 }
29981 resultobj = SWIG_Py_Void();
29982 return resultobj;
29983 fail:
29984 return NULL;
29985 }
29986
29987
29988 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29989 PyObject *obj;
29990 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29991 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29992 return SWIG_Py_Void();
29993 }
29994
29995 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29996 return SWIG_Python_InitShadowInstance(args);
29997 }
29998
29999 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30000 PyObject *resultobj = 0;
30001 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30002 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30003 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30004 wxPrintPreview *result = 0 ;
30005 int res1 = 0 ;
30006 int res2 = 0 ;
30007 void *argp3 = 0 ;
30008 int res3 = 0 ;
30009
30010 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30011 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30012 if (!SWIG_IsOK(res1)) {
30013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30014 }
30015 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30016 if (!SWIG_IsOK(res2)) {
30017 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30018 }
30019 if (swig_obj[2]) {
30020 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30021 if (!SWIG_IsOK(res3)) {
30022 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30023 }
30024 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30025 }
30026 {
30027 if (!wxPyCheckForApp()) SWIG_fail;
30028 PyThreadState* __tstate = wxPyBeginAllowThreads();
30029 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30030 wxPyEndAllowThreads(__tstate);
30031 if (PyErr_Occurred()) SWIG_fail;
30032 }
30033 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30034 return resultobj;
30035 fail:
30036 return NULL;
30037 }
30038
30039
30040 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30041 PyObject *resultobj = 0;
30042 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30043 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30044 wxPrintData *arg3 = (wxPrintData *) 0 ;
30045 wxPrintPreview *result = 0 ;
30046 int res1 = 0 ;
30047 int res2 = 0 ;
30048 void *argp3 = 0 ;
30049 int res3 = 0 ;
30050
30051 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30052 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30053 if (!SWIG_IsOK(res1)) {
30054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30055 }
30056 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30057 if (!SWIG_IsOK(res2)) {
30058 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30059 }
30060 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30061 if (!SWIG_IsOK(res3)) {
30062 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30063 }
30064 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30065 {
30066 if (!wxPyCheckForApp()) SWIG_fail;
30067 PyThreadState* __tstate = wxPyBeginAllowThreads();
30068 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30069 wxPyEndAllowThreads(__tstate);
30070 if (PyErr_Occurred()) SWIG_fail;
30071 }
30072 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30073 return resultobj;
30074 fail:
30075 return NULL;
30076 }
30077
30078
30079 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
30080 int argc;
30081 PyObject *argv[4];
30082
30083 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
30084 --argc;
30085 if ((argc >= 2) && (argc <= 3)) {
30086 int _v = 0;
30087 if (argc > 2) {
30088 {
30089 void *vptr = 0;
30090 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30091 _v = SWIG_CheckState(res);
30092 }
30093 if (!_v) goto check_1;
30094 }
30095 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
30096 }
30097 check_1:
30098
30099 if (argc == 3) {
30100 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
30101 }
30102
30103 fail:
30104 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
30105 return NULL;
30106 }
30107
30108
30109 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30110 PyObject *resultobj = 0;
30111 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30112 void *argp1 = 0 ;
30113 int res1 = 0 ;
30114 PyObject *swig_obj[1] ;
30115
30116 if (!args) SWIG_fail;
30117 swig_obj[0] = args;
30118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
30119 if (!SWIG_IsOK(res1)) {
30120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30121 }
30122 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30123 {
30124 PyThreadState* __tstate = wxPyBeginAllowThreads();
30125 delete arg1;
30126
30127 wxPyEndAllowThreads(__tstate);
30128 if (PyErr_Occurred()) SWIG_fail;
30129 }
30130 resultobj = SWIG_Py_Void();
30131 return resultobj;
30132 fail:
30133 return NULL;
30134 }
30135
30136
30137 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30138 PyObject *resultobj = 0;
30139 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30140 int arg2 ;
30141 bool result;
30142 void *argp1 = 0 ;
30143 int res1 = 0 ;
30144 int val2 ;
30145 int ecode2 = 0 ;
30146 PyObject * obj0 = 0 ;
30147 PyObject * obj1 = 0 ;
30148 char * kwnames[] = {
30149 (char *) "self",(char *) "pageNum", NULL
30150 };
30151
30152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
30153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30154 if (!SWIG_IsOK(res1)) {
30155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30156 }
30157 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30158 ecode2 = SWIG_AsVal_int(obj1, &val2);
30159 if (!SWIG_IsOK(ecode2)) {
30160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30161 }
30162 arg2 = static_cast< int >(val2);
30163 {
30164 PyThreadState* __tstate = wxPyBeginAllowThreads();
30165 result = (bool)(arg1)->SetCurrentPage(arg2);
30166 wxPyEndAllowThreads(__tstate);
30167 if (PyErr_Occurred()) SWIG_fail;
30168 }
30169 {
30170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30171 }
30172 return resultobj;
30173 fail:
30174 return NULL;
30175 }
30176
30177
30178 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30179 PyObject *resultobj = 0;
30180 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30181 int result;
30182 void *argp1 = 0 ;
30183 int res1 = 0 ;
30184 PyObject *swig_obj[1] ;
30185
30186 if (!args) SWIG_fail;
30187 swig_obj[0] = args;
30188 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30189 if (!SWIG_IsOK(res1)) {
30190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30191 }
30192 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30193 {
30194 PyThreadState* __tstate = wxPyBeginAllowThreads();
30195 result = (int)(arg1)->GetCurrentPage();
30196 wxPyEndAllowThreads(__tstate);
30197 if (PyErr_Occurred()) SWIG_fail;
30198 }
30199 resultobj = SWIG_From_int(static_cast< int >(result));
30200 return resultobj;
30201 fail:
30202 return NULL;
30203 }
30204
30205
30206 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30207 PyObject *resultobj = 0;
30208 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30209 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30210 void *argp1 = 0 ;
30211 int res1 = 0 ;
30212 int res2 = 0 ;
30213 PyObject * obj0 = 0 ;
30214 PyObject * obj1 = 0 ;
30215 char * kwnames[] = {
30216 (char *) "self",(char *) "printout", NULL
30217 };
30218
30219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
30220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30221 if (!SWIG_IsOK(res1)) {
30222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30223 }
30224 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30225 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30226 if (!SWIG_IsOK(res2)) {
30227 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30228 }
30229 {
30230 PyThreadState* __tstate = wxPyBeginAllowThreads();
30231 (arg1)->SetPrintout(arg2);
30232 wxPyEndAllowThreads(__tstate);
30233 if (PyErr_Occurred()) SWIG_fail;
30234 }
30235 resultobj = SWIG_Py_Void();
30236 return resultobj;
30237 fail:
30238 return NULL;
30239 }
30240
30241
30242 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30243 PyObject *resultobj = 0;
30244 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30245 wxPyPrintout *result = 0 ;
30246 void *argp1 = 0 ;
30247 int res1 = 0 ;
30248 PyObject *swig_obj[1] ;
30249
30250 if (!args) SWIG_fail;
30251 swig_obj[0] = args;
30252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30253 if (!SWIG_IsOK(res1)) {
30254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30255 }
30256 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30257 {
30258 PyThreadState* __tstate = wxPyBeginAllowThreads();
30259 result = (wxPyPrintout *)(arg1)->GetPrintout();
30260 wxPyEndAllowThreads(__tstate);
30261 if (PyErr_Occurred()) SWIG_fail;
30262 }
30263 {
30264 resultobj = wxPyMake_wxObject(result, 0);
30265 }
30266 return resultobj;
30267 fail:
30268 return NULL;
30269 }
30270
30271
30272 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30273 PyObject *resultobj = 0;
30274 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30275 wxPyPrintout *result = 0 ;
30276 void *argp1 = 0 ;
30277 int res1 = 0 ;
30278 PyObject *swig_obj[1] ;
30279
30280 if (!args) SWIG_fail;
30281 swig_obj[0] = args;
30282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30283 if (!SWIG_IsOK(res1)) {
30284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30285 }
30286 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30287 {
30288 PyThreadState* __tstate = wxPyBeginAllowThreads();
30289 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
30290 wxPyEndAllowThreads(__tstate);
30291 if (PyErr_Occurred()) SWIG_fail;
30292 }
30293 {
30294 resultobj = wxPyMake_wxObject(result, 0);
30295 }
30296 return resultobj;
30297 fail:
30298 return NULL;
30299 }
30300
30301
30302 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30303 PyObject *resultobj = 0;
30304 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30305 wxFrame *arg2 = (wxFrame *) 0 ;
30306 void *argp1 = 0 ;
30307 int res1 = 0 ;
30308 void *argp2 = 0 ;
30309 int res2 = 0 ;
30310 PyObject * obj0 = 0 ;
30311 PyObject * obj1 = 0 ;
30312 char * kwnames[] = {
30313 (char *) "self",(char *) "frame", NULL
30314 };
30315
30316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
30317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30318 if (!SWIG_IsOK(res1)) {
30319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30320 }
30321 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30322 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30323 if (!SWIG_IsOK(res2)) {
30324 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30325 }
30326 arg2 = reinterpret_cast< wxFrame * >(argp2);
30327 {
30328 PyThreadState* __tstate = wxPyBeginAllowThreads();
30329 (arg1)->SetFrame(arg2);
30330 wxPyEndAllowThreads(__tstate);
30331 if (PyErr_Occurred()) SWIG_fail;
30332 }
30333 resultobj = SWIG_Py_Void();
30334 return resultobj;
30335 fail:
30336 return NULL;
30337 }
30338
30339
30340 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30341 PyObject *resultobj = 0;
30342 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30343 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30344 void *argp1 = 0 ;
30345 int res1 = 0 ;
30346 void *argp2 = 0 ;
30347 int res2 = 0 ;
30348 PyObject * obj0 = 0 ;
30349 PyObject * obj1 = 0 ;
30350 char * kwnames[] = {
30351 (char *) "self",(char *) "canvas", NULL
30352 };
30353
30354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30356 if (!SWIG_IsOK(res1)) {
30357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30358 }
30359 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30360 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30361 if (!SWIG_IsOK(res2)) {
30362 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30363 }
30364 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30365 {
30366 PyThreadState* __tstate = wxPyBeginAllowThreads();
30367 (arg1)->SetCanvas(arg2);
30368 wxPyEndAllowThreads(__tstate);
30369 if (PyErr_Occurred()) SWIG_fail;
30370 }
30371 resultobj = SWIG_Py_Void();
30372 return resultobj;
30373 fail:
30374 return NULL;
30375 }
30376
30377
30378 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30379 PyObject *resultobj = 0;
30380 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30381 wxFrame *result = 0 ;
30382 void *argp1 = 0 ;
30383 int res1 = 0 ;
30384 PyObject *swig_obj[1] ;
30385
30386 if (!args) SWIG_fail;
30387 swig_obj[0] = args;
30388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30389 if (!SWIG_IsOK(res1)) {
30390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30391 }
30392 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30393 {
30394 PyThreadState* __tstate = wxPyBeginAllowThreads();
30395 result = (wxFrame *)(arg1)->GetFrame();
30396 wxPyEndAllowThreads(__tstate);
30397 if (PyErr_Occurred()) SWIG_fail;
30398 }
30399 {
30400 resultobj = wxPyMake_wxObject(result, 0);
30401 }
30402 return resultobj;
30403 fail:
30404 return NULL;
30405 }
30406
30407
30408 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30409 PyObject *resultobj = 0;
30410 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30411 wxPreviewCanvas *result = 0 ;
30412 void *argp1 = 0 ;
30413 int res1 = 0 ;
30414 PyObject *swig_obj[1] ;
30415
30416 if (!args) SWIG_fail;
30417 swig_obj[0] = args;
30418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30419 if (!SWIG_IsOK(res1)) {
30420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30421 }
30422 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30423 {
30424 PyThreadState* __tstate = wxPyBeginAllowThreads();
30425 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
30426 wxPyEndAllowThreads(__tstate);
30427 if (PyErr_Occurred()) SWIG_fail;
30428 }
30429 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30430 return resultobj;
30431 fail:
30432 return NULL;
30433 }
30434
30435
30436 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30437 PyObject *resultobj = 0;
30438 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30439 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30440 wxDC *arg3 = 0 ;
30441 bool result;
30442 void *argp1 = 0 ;
30443 int res1 = 0 ;
30444 void *argp2 = 0 ;
30445 int res2 = 0 ;
30446 void *argp3 = 0 ;
30447 int res3 = 0 ;
30448 PyObject * obj0 = 0 ;
30449 PyObject * obj1 = 0 ;
30450 PyObject * obj2 = 0 ;
30451 char * kwnames[] = {
30452 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30453 };
30454
30455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30457 if (!SWIG_IsOK(res1)) {
30458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30459 }
30460 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30461 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30462 if (!SWIG_IsOK(res2)) {
30463 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30464 }
30465 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30466 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30467 if (!SWIG_IsOK(res3)) {
30468 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30469 }
30470 if (!argp3) {
30471 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30472 }
30473 arg3 = reinterpret_cast< wxDC * >(argp3);
30474 {
30475 PyThreadState* __tstate = wxPyBeginAllowThreads();
30476 result = (bool)(arg1)->PaintPage(arg2,*arg3);
30477 wxPyEndAllowThreads(__tstate);
30478 if (PyErr_Occurred()) SWIG_fail;
30479 }
30480 {
30481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30482 }
30483 return resultobj;
30484 fail:
30485 return NULL;
30486 }
30487
30488
30489 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30490 PyObject *resultobj = 0;
30491 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30492 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30493 wxDC *arg3 = 0 ;
30494 bool result;
30495 void *argp1 = 0 ;
30496 int res1 = 0 ;
30497 void *argp2 = 0 ;
30498 int res2 = 0 ;
30499 void *argp3 = 0 ;
30500 int res3 = 0 ;
30501 PyObject * obj0 = 0 ;
30502 PyObject * obj1 = 0 ;
30503 PyObject * obj2 = 0 ;
30504 char * kwnames[] = {
30505 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30506 };
30507
30508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30510 if (!SWIG_IsOK(res1)) {
30511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30512 }
30513 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30514 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30515 if (!SWIG_IsOK(res2)) {
30516 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30517 }
30518 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30519 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30520 if (!SWIG_IsOK(res3)) {
30521 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30522 }
30523 if (!argp3) {
30524 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30525 }
30526 arg3 = reinterpret_cast< wxDC * >(argp3);
30527 {
30528 PyThreadState* __tstate = wxPyBeginAllowThreads();
30529 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30530 wxPyEndAllowThreads(__tstate);
30531 if (PyErr_Occurred()) SWIG_fail;
30532 }
30533 {
30534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30535 }
30536 return resultobj;
30537 fail:
30538 return NULL;
30539 }
30540
30541
30542 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30543 PyObject *resultobj = 0;
30544 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30545 int arg2 ;
30546 bool result;
30547 void *argp1 = 0 ;
30548 int res1 = 0 ;
30549 int val2 ;
30550 int ecode2 = 0 ;
30551 PyObject * obj0 = 0 ;
30552 PyObject * obj1 = 0 ;
30553 char * kwnames[] = {
30554 (char *) "self",(char *) "pageNum", NULL
30555 };
30556
30557 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30558 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30559 if (!SWIG_IsOK(res1)) {
30560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30561 }
30562 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30563 ecode2 = SWIG_AsVal_int(obj1, &val2);
30564 if (!SWIG_IsOK(ecode2)) {
30565 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30566 }
30567 arg2 = static_cast< int >(val2);
30568 {
30569 PyThreadState* __tstate = wxPyBeginAllowThreads();
30570 result = (bool)(arg1)->RenderPage(arg2);
30571 wxPyEndAllowThreads(__tstate);
30572 if (PyErr_Occurred()) SWIG_fail;
30573 }
30574 {
30575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30576 }
30577 return resultobj;
30578 fail:
30579 return NULL;
30580 }
30581
30582
30583 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30584 PyObject *resultobj = 0;
30585 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30586 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30587 void *argp1 = 0 ;
30588 int res1 = 0 ;
30589 void *argp2 = 0 ;
30590 int res2 = 0 ;
30591 PyObject * obj0 = 0 ;
30592 PyObject * obj1 = 0 ;
30593 char * kwnames[] = {
30594 (char *) "self",(char *) "canvas", NULL
30595 };
30596
30597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30599 if (!SWIG_IsOK(res1)) {
30600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30601 }
30602 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30603 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30604 if (!SWIG_IsOK(res2)) {
30605 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30606 }
30607 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30608 {
30609 PyThreadState* __tstate = wxPyBeginAllowThreads();
30610 (arg1)->AdjustScrollbars(arg2);
30611 wxPyEndAllowThreads(__tstate);
30612 if (PyErr_Occurred()) SWIG_fail;
30613 }
30614 resultobj = SWIG_Py_Void();
30615 return resultobj;
30616 fail:
30617 return NULL;
30618 }
30619
30620
30621 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30622 PyObject *resultobj = 0;
30623 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30624 wxPrintDialogData *result = 0 ;
30625 void *argp1 = 0 ;
30626 int res1 = 0 ;
30627 PyObject *swig_obj[1] ;
30628
30629 if (!args) SWIG_fail;
30630 swig_obj[0] = args;
30631 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30632 if (!SWIG_IsOK(res1)) {
30633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30634 }
30635 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30636 {
30637 PyThreadState* __tstate = wxPyBeginAllowThreads();
30638 {
30639 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30640 result = (wxPrintDialogData *) &_result_ref;
30641 }
30642 wxPyEndAllowThreads(__tstate);
30643 if (PyErr_Occurred()) SWIG_fail;
30644 }
30645 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30646 return resultobj;
30647 fail:
30648 return NULL;
30649 }
30650
30651
30652 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30653 PyObject *resultobj = 0;
30654 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30655 int arg2 ;
30656 void *argp1 = 0 ;
30657 int res1 = 0 ;
30658 int val2 ;
30659 int ecode2 = 0 ;
30660 PyObject * obj0 = 0 ;
30661 PyObject * obj1 = 0 ;
30662 char * kwnames[] = {
30663 (char *) "self",(char *) "percent", NULL
30664 };
30665
30666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30668 if (!SWIG_IsOK(res1)) {
30669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30670 }
30671 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30672 ecode2 = SWIG_AsVal_int(obj1, &val2);
30673 if (!SWIG_IsOK(ecode2)) {
30674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30675 }
30676 arg2 = static_cast< int >(val2);
30677 {
30678 PyThreadState* __tstate = wxPyBeginAllowThreads();
30679 (arg1)->SetZoom(arg2);
30680 wxPyEndAllowThreads(__tstate);
30681 if (PyErr_Occurred()) SWIG_fail;
30682 }
30683 resultobj = SWIG_Py_Void();
30684 return resultobj;
30685 fail:
30686 return NULL;
30687 }
30688
30689
30690 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30691 PyObject *resultobj = 0;
30692 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30693 int result;
30694 void *argp1 = 0 ;
30695 int res1 = 0 ;
30696 PyObject *swig_obj[1] ;
30697
30698 if (!args) SWIG_fail;
30699 swig_obj[0] = args;
30700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30701 if (!SWIG_IsOK(res1)) {
30702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30703 }
30704 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30705 {
30706 PyThreadState* __tstate = wxPyBeginAllowThreads();
30707 result = (int)(arg1)->GetZoom();
30708 wxPyEndAllowThreads(__tstate);
30709 if (PyErr_Occurred()) SWIG_fail;
30710 }
30711 resultobj = SWIG_From_int(static_cast< int >(result));
30712 return resultobj;
30713 fail:
30714 return NULL;
30715 }
30716
30717
30718 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30719 PyObject *resultobj = 0;
30720 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30721 int result;
30722 void *argp1 = 0 ;
30723 int res1 = 0 ;
30724 PyObject *swig_obj[1] ;
30725
30726 if (!args) SWIG_fail;
30727 swig_obj[0] = args;
30728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30729 if (!SWIG_IsOK(res1)) {
30730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30731 }
30732 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30733 {
30734 PyThreadState* __tstate = wxPyBeginAllowThreads();
30735 result = (int)(arg1)->GetMaxPage();
30736 wxPyEndAllowThreads(__tstate);
30737 if (PyErr_Occurred()) SWIG_fail;
30738 }
30739 resultobj = SWIG_From_int(static_cast< int >(result));
30740 return resultobj;
30741 fail:
30742 return NULL;
30743 }
30744
30745
30746 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30747 PyObject *resultobj = 0;
30748 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30749 int result;
30750 void *argp1 = 0 ;
30751 int res1 = 0 ;
30752 PyObject *swig_obj[1] ;
30753
30754 if (!args) SWIG_fail;
30755 swig_obj[0] = args;
30756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30757 if (!SWIG_IsOK(res1)) {
30758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30759 }
30760 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30761 {
30762 PyThreadState* __tstate = wxPyBeginAllowThreads();
30763 result = (int)(arg1)->GetMinPage();
30764 wxPyEndAllowThreads(__tstate);
30765 if (PyErr_Occurred()) SWIG_fail;
30766 }
30767 resultobj = SWIG_From_int(static_cast< int >(result));
30768 return resultobj;
30769 fail:
30770 return NULL;
30771 }
30772
30773
30774 SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30775 PyObject *resultobj = 0;
30776 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30777 bool result;
30778 void *argp1 = 0 ;
30779 int res1 = 0 ;
30780 PyObject *swig_obj[1] ;
30781
30782 if (!args) SWIG_fail;
30783 swig_obj[0] = args;
30784 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30785 if (!SWIG_IsOK(res1)) {
30786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30787 }
30788 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30789 {
30790 PyThreadState* __tstate = wxPyBeginAllowThreads();
30791 result = (bool)(arg1)->IsOk();
30792 wxPyEndAllowThreads(__tstate);
30793 if (PyErr_Occurred()) SWIG_fail;
30794 }
30795 {
30796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30797 }
30798 return resultobj;
30799 fail:
30800 return NULL;
30801 }
30802
30803
30804 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30805 PyObject *resultobj = 0;
30806 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30807 bool arg2 ;
30808 void *argp1 = 0 ;
30809 int res1 = 0 ;
30810 bool val2 ;
30811 int ecode2 = 0 ;
30812 PyObject * obj0 = 0 ;
30813 PyObject * obj1 = 0 ;
30814 char * kwnames[] = {
30815 (char *) "self",(char *) "ok", NULL
30816 };
30817
30818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30820 if (!SWIG_IsOK(res1)) {
30821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30822 }
30823 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30824 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30825 if (!SWIG_IsOK(ecode2)) {
30826 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30827 }
30828 arg2 = static_cast< bool >(val2);
30829 {
30830 PyThreadState* __tstate = wxPyBeginAllowThreads();
30831 (arg1)->SetOk(arg2);
30832 wxPyEndAllowThreads(__tstate);
30833 if (PyErr_Occurred()) SWIG_fail;
30834 }
30835 resultobj = SWIG_Py_Void();
30836 return resultobj;
30837 fail:
30838 return NULL;
30839 }
30840
30841
30842 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30843 PyObject *resultobj = 0;
30844 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30845 bool arg2 ;
30846 bool result;
30847 void *argp1 = 0 ;
30848 int res1 = 0 ;
30849 bool val2 ;
30850 int ecode2 = 0 ;
30851 PyObject * obj0 = 0 ;
30852 PyObject * obj1 = 0 ;
30853 char * kwnames[] = {
30854 (char *) "self",(char *) "interactive", NULL
30855 };
30856
30857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30859 if (!SWIG_IsOK(res1)) {
30860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30861 }
30862 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30863 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30864 if (!SWIG_IsOK(ecode2)) {
30865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30866 }
30867 arg2 = static_cast< bool >(val2);
30868 {
30869 PyThreadState* __tstate = wxPyBeginAllowThreads();
30870 result = (bool)(arg1)->Print(arg2);
30871 wxPyEndAllowThreads(__tstate);
30872 if (PyErr_Occurred()) SWIG_fail;
30873 }
30874 {
30875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30876 }
30877 return resultobj;
30878 fail:
30879 return NULL;
30880 }
30881
30882
30883 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30884 PyObject *resultobj = 0;
30885 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30886 void *argp1 = 0 ;
30887 int res1 = 0 ;
30888 PyObject *swig_obj[1] ;
30889
30890 if (!args) SWIG_fail;
30891 swig_obj[0] = args;
30892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30893 if (!SWIG_IsOK(res1)) {
30894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30895 }
30896 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30897 {
30898 PyThreadState* __tstate = wxPyBeginAllowThreads();
30899 (arg1)->DetermineScaling();
30900 wxPyEndAllowThreads(__tstate);
30901 if (PyErr_Occurred()) SWIG_fail;
30902 }
30903 resultobj = SWIG_Py_Void();
30904 return resultobj;
30905 fail:
30906 return NULL;
30907 }
30908
30909
30910 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30911 PyObject *obj;
30912 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30913 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30914 return SWIG_Py_Void();
30915 }
30916
30917 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30918 return SWIG_Python_InitShadowInstance(args);
30919 }
30920
30921 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30922 PyObject *resultobj = 0;
30923 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30924 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30925 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30926 wxPyPrintPreview *result = 0 ;
30927 int res1 = 0 ;
30928 int res2 = 0 ;
30929 void *argp3 = 0 ;
30930 int res3 = 0 ;
30931
30932 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30933 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30934 if (!SWIG_IsOK(res1)) {
30935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30936 }
30937 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30938 if (!SWIG_IsOK(res2)) {
30939 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30940 }
30941 if (swig_obj[2]) {
30942 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30943 if (!SWIG_IsOK(res3)) {
30944 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30945 }
30946 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30947 }
30948 {
30949 if (!wxPyCheckForApp()) SWIG_fail;
30950 PyThreadState* __tstate = wxPyBeginAllowThreads();
30951 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30952 wxPyEndAllowThreads(__tstate);
30953 if (PyErr_Occurred()) SWIG_fail;
30954 }
30955 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30956 return resultobj;
30957 fail:
30958 return NULL;
30959 }
30960
30961
30962 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30963 PyObject *resultobj = 0;
30964 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30965 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30966 wxPrintData *arg3 = (wxPrintData *) 0 ;
30967 wxPyPrintPreview *result = 0 ;
30968 int res1 = 0 ;
30969 int res2 = 0 ;
30970 void *argp3 = 0 ;
30971 int res3 = 0 ;
30972
30973 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30974 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30975 if (!SWIG_IsOK(res1)) {
30976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30977 }
30978 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30979 if (!SWIG_IsOK(res2)) {
30980 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30981 }
30982 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30983 if (!SWIG_IsOK(res3)) {
30984 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30985 }
30986 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30987 {
30988 if (!wxPyCheckForApp()) SWIG_fail;
30989 PyThreadState* __tstate = wxPyBeginAllowThreads();
30990 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30991 wxPyEndAllowThreads(__tstate);
30992 if (PyErr_Occurred()) SWIG_fail;
30993 }
30994 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30995 return resultobj;
30996 fail:
30997 return NULL;
30998 }
30999
31000
31001 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
31002 int argc;
31003 PyObject *argv[4];
31004
31005 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
31006 --argc;
31007 if ((argc >= 2) && (argc <= 3)) {
31008 int _v = 0;
31009 if (argc > 2) {
31010 {
31011 void *vptr = 0;
31012 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
31013 _v = SWIG_CheckState(res);
31014 }
31015 if (!_v) goto check_1;
31016 }
31017 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
31018 }
31019 check_1:
31020
31021 if (argc == 3) {
31022 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
31023 }
31024
31025 fail:
31026 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
31027 return NULL;
31028 }
31029
31030
31031 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31032 PyObject *resultobj = 0;
31033 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
31034 PyObject *arg2 = (PyObject *) 0 ;
31035 PyObject *arg3 = (PyObject *) 0 ;
31036 void *argp1 = 0 ;
31037 int res1 = 0 ;
31038 PyObject * obj0 = 0 ;
31039 PyObject * obj1 = 0 ;
31040 PyObject * obj2 = 0 ;
31041 char * kwnames[] = {
31042 (char *) "self",(char *) "self",(char *) "_class", NULL
31043 };
31044
31045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
31047 if (!SWIG_IsOK(res1)) {
31048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31049 }
31050 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
31051 arg2 = obj1;
31052 arg3 = obj2;
31053 {
31054 PyThreadState* __tstate = wxPyBeginAllowThreads();
31055 (arg1)->_setCallbackInfo(arg2,arg3);
31056 wxPyEndAllowThreads(__tstate);
31057 if (PyErr_Occurred()) SWIG_fail;
31058 }
31059 resultobj = SWIG_Py_Void();
31060 return resultobj;
31061 fail:
31062 return NULL;
31063 }
31064
31065
31066 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31067 PyObject *obj;
31068 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31069 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
31070 return SWIG_Py_Void();
31071 }
31072
31073 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31074 return SWIG_Python_InitShadowInstance(args);
31075 }
31076
31077 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31078 PyObject *resultobj = 0;
31079 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31080 wxFrame *arg2 = (wxFrame *) 0 ;
31081 wxString *arg3 = 0 ;
31082 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31083 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31084 wxSize const &arg5_defvalue = wxDefaultSize ;
31085 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31086 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
31087 wxString const &arg7_defvalue = wxPyFrameNameStr ;
31088 wxString *arg7 = (wxString *) &arg7_defvalue ;
31089 wxPyPreviewFrame *result = 0 ;
31090 void *argp1 = 0 ;
31091 int res1 = 0 ;
31092 void *argp2 = 0 ;
31093 int res2 = 0 ;
31094 bool temp3 = false ;
31095 wxPoint temp4 ;
31096 wxSize temp5 ;
31097 long val6 ;
31098 int ecode6 = 0 ;
31099 bool temp7 = false ;
31100 PyObject * obj0 = 0 ;
31101 PyObject * obj1 = 0 ;
31102 PyObject * obj2 = 0 ;
31103 PyObject * obj3 = 0 ;
31104 PyObject * obj4 = 0 ;
31105 PyObject * obj5 = 0 ;
31106 PyObject * obj6 = 0 ;
31107 char * kwnames[] = {
31108 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31109 };
31110
31111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31113 if (!SWIG_IsOK(res1)) {
31114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31115 }
31116 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31117 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
31118 if (!SWIG_IsOK(res2)) {
31119 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31120 }
31121 arg2 = reinterpret_cast< wxFrame * >(argp2);
31122 {
31123 arg3 = wxString_in_helper(obj2);
31124 if (arg3 == NULL) SWIG_fail;
31125 temp3 = true;
31126 }
31127 if (obj3) {
31128 {
31129 arg4 = &temp4;
31130 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31131 }
31132 }
31133 if (obj4) {
31134 {
31135 arg5 = &temp5;
31136 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31137 }
31138 }
31139 if (obj5) {
31140 ecode6 = SWIG_AsVal_long(obj5, &val6);
31141 if (!SWIG_IsOK(ecode6)) {
31142 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31143 }
31144 arg6 = static_cast< long >(val6);
31145 }
31146 if (obj6) {
31147 {
31148 arg7 = wxString_in_helper(obj6);
31149 if (arg7 == NULL) SWIG_fail;
31150 temp7 = true;
31151 }
31152 }
31153 {
31154 if (!wxPyCheckForApp()) SWIG_fail;
31155 PyThreadState* __tstate = wxPyBeginAllowThreads();
31156 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31157 wxPyEndAllowThreads(__tstate);
31158 if (PyErr_Occurred()) SWIG_fail;
31159 }
31160 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
31161 {
31162 if (temp3)
31163 delete arg3;
31164 }
31165 {
31166 if (temp7)
31167 delete arg7;
31168 }
31169 return resultobj;
31170 fail:
31171 {
31172 if (temp3)
31173 delete arg3;
31174 }
31175 {
31176 if (temp7)
31177 delete arg7;
31178 }
31179 return NULL;
31180 }
31181
31182
31183 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31184 PyObject *resultobj = 0;
31185 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31186 PyObject *arg2 = (PyObject *) 0 ;
31187 PyObject *arg3 = (PyObject *) 0 ;
31188 void *argp1 = 0 ;
31189 int res1 = 0 ;
31190 PyObject * obj0 = 0 ;
31191 PyObject * obj1 = 0 ;
31192 PyObject * obj2 = 0 ;
31193 char * kwnames[] = {
31194 (char *) "self",(char *) "self",(char *) "_class", NULL
31195 };
31196
31197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31199 if (!SWIG_IsOK(res1)) {
31200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31201 }
31202 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31203 arg2 = obj1;
31204 arg3 = obj2;
31205 {
31206 PyThreadState* __tstate = wxPyBeginAllowThreads();
31207 (arg1)->_setCallbackInfo(arg2,arg3);
31208 wxPyEndAllowThreads(__tstate);
31209 if (PyErr_Occurred()) SWIG_fail;
31210 }
31211 resultobj = SWIG_Py_Void();
31212 return resultobj;
31213 fail:
31214 return NULL;
31215 }
31216
31217
31218 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31219 PyObject *resultobj = 0;
31220 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31221 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
31222 void *argp1 = 0 ;
31223 int res1 = 0 ;
31224 void *argp2 = 0 ;
31225 int res2 = 0 ;
31226 PyObject * obj0 = 0 ;
31227 PyObject * obj1 = 0 ;
31228 char * kwnames[] = {
31229 (char *) "self",(char *) "canvas", NULL
31230 };
31231
31232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
31233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31234 if (!SWIG_IsOK(res1)) {
31235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31236 }
31237 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31238 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
31239 if (!SWIG_IsOK(res2)) {
31240 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31241 }
31242 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
31243 {
31244 PyThreadState* __tstate = wxPyBeginAllowThreads();
31245 (arg1)->SetPreviewCanvas(arg2);
31246 wxPyEndAllowThreads(__tstate);
31247 if (PyErr_Occurred()) SWIG_fail;
31248 }
31249 resultobj = SWIG_Py_Void();
31250 return resultobj;
31251 fail:
31252 return NULL;
31253 }
31254
31255
31256 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31257 PyObject *resultobj = 0;
31258 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31259 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
31260 void *argp1 = 0 ;
31261 int res1 = 0 ;
31262 void *argp2 = 0 ;
31263 int res2 = 0 ;
31264 PyObject * obj0 = 0 ;
31265 PyObject * obj1 = 0 ;
31266 char * kwnames[] = {
31267 (char *) "self",(char *) "bar", NULL
31268 };
31269
31270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
31271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31272 if (!SWIG_IsOK(res1)) {
31273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31274 }
31275 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31276 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31277 if (!SWIG_IsOK(res2)) {
31278 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31279 }
31280 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
31281 {
31282 PyThreadState* __tstate = wxPyBeginAllowThreads();
31283 (arg1)->SetControlBar(arg2);
31284 wxPyEndAllowThreads(__tstate);
31285 if (PyErr_Occurred()) SWIG_fail;
31286 }
31287 resultobj = SWIG_Py_Void();
31288 return resultobj;
31289 fail:
31290 return NULL;
31291 }
31292
31293
31294 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31295 PyObject *resultobj = 0;
31296 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31297 void *argp1 = 0 ;
31298 int res1 = 0 ;
31299 PyObject *swig_obj[1] ;
31300
31301 if (!args) SWIG_fail;
31302 swig_obj[0] = args;
31303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31304 if (!SWIG_IsOK(res1)) {
31305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31306 }
31307 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31308 {
31309 PyThreadState* __tstate = wxPyBeginAllowThreads();
31310 (arg1)->Initialize();
31311 wxPyEndAllowThreads(__tstate);
31312 if (PyErr_Occurred()) SWIG_fail;
31313 }
31314 resultobj = SWIG_Py_Void();
31315 return resultobj;
31316 fail:
31317 return NULL;
31318 }
31319
31320
31321 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31322 PyObject *resultobj = 0;
31323 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31324 void *argp1 = 0 ;
31325 int res1 = 0 ;
31326 PyObject *swig_obj[1] ;
31327
31328 if (!args) SWIG_fail;
31329 swig_obj[0] = args;
31330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31331 if (!SWIG_IsOK(res1)) {
31332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31333 }
31334 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31335 {
31336 PyThreadState* __tstate = wxPyBeginAllowThreads();
31337 (arg1)->CreateCanvas();
31338 wxPyEndAllowThreads(__tstate);
31339 if (PyErr_Occurred()) SWIG_fail;
31340 }
31341 resultobj = SWIG_Py_Void();
31342 return resultobj;
31343 fail:
31344 return NULL;
31345 }
31346
31347
31348 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31349 PyObject *resultobj = 0;
31350 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31351 void *argp1 = 0 ;
31352 int res1 = 0 ;
31353 PyObject *swig_obj[1] ;
31354
31355 if (!args) SWIG_fail;
31356 swig_obj[0] = args;
31357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31358 if (!SWIG_IsOK(res1)) {
31359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31360 }
31361 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31362 {
31363 PyThreadState* __tstate = wxPyBeginAllowThreads();
31364 (arg1)->CreateControlBar();
31365 wxPyEndAllowThreads(__tstate);
31366 if (PyErr_Occurred()) SWIG_fail;
31367 }
31368 resultobj = SWIG_Py_Void();
31369 return resultobj;
31370 fail:
31371 return NULL;
31372 }
31373
31374
31375 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31376 PyObject *obj;
31377 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31378 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
31379 return SWIG_Py_Void();
31380 }
31381
31382 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31383 return SWIG_Python_InitShadowInstance(args);
31384 }
31385
31386 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31387 PyObject *resultobj = 0;
31388 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31389 long arg2 ;
31390 wxWindow *arg3 = (wxWindow *) 0 ;
31391 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31392 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31393 wxSize const &arg5_defvalue = wxDefaultSize ;
31394 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31395 long arg6 = (long) 0 ;
31396 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31397 wxString *arg7 = (wxString *) &arg7_defvalue ;
31398 wxPyPreviewControlBar *result = 0 ;
31399 void *argp1 = 0 ;
31400 int res1 = 0 ;
31401 long val2 ;
31402 int ecode2 = 0 ;
31403 void *argp3 = 0 ;
31404 int res3 = 0 ;
31405 wxPoint temp4 ;
31406 wxSize temp5 ;
31407 long val6 ;
31408 int ecode6 = 0 ;
31409 bool temp7 = false ;
31410 PyObject * obj0 = 0 ;
31411 PyObject * obj1 = 0 ;
31412 PyObject * obj2 = 0 ;
31413 PyObject * obj3 = 0 ;
31414 PyObject * obj4 = 0 ;
31415 PyObject * obj5 = 0 ;
31416 PyObject * obj6 = 0 ;
31417 char * kwnames[] = {
31418 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31419 };
31420
31421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31423 if (!SWIG_IsOK(res1)) {
31424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31425 }
31426 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31427 ecode2 = SWIG_AsVal_long(obj1, &val2);
31428 if (!SWIG_IsOK(ecode2)) {
31429 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31430 }
31431 arg2 = static_cast< long >(val2);
31432 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31433 if (!SWIG_IsOK(res3)) {
31434 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31435 }
31436 arg3 = reinterpret_cast< wxWindow * >(argp3);
31437 if (obj3) {
31438 {
31439 arg4 = &temp4;
31440 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31441 }
31442 }
31443 if (obj4) {
31444 {
31445 arg5 = &temp5;
31446 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31447 }
31448 }
31449 if (obj5) {
31450 ecode6 = SWIG_AsVal_long(obj5, &val6);
31451 if (!SWIG_IsOK(ecode6)) {
31452 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31453 }
31454 arg6 = static_cast< long >(val6);
31455 }
31456 if (obj6) {
31457 {
31458 arg7 = wxString_in_helper(obj6);
31459 if (arg7 == NULL) SWIG_fail;
31460 temp7 = true;
31461 }
31462 }
31463 {
31464 if (!wxPyCheckForApp()) SWIG_fail;
31465 PyThreadState* __tstate = wxPyBeginAllowThreads();
31466 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31467 wxPyEndAllowThreads(__tstate);
31468 if (PyErr_Occurred()) SWIG_fail;
31469 }
31470 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
31471 {
31472 if (temp7)
31473 delete arg7;
31474 }
31475 return resultobj;
31476 fail:
31477 {
31478 if (temp7)
31479 delete arg7;
31480 }
31481 return NULL;
31482 }
31483
31484
31485 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31486 PyObject *resultobj = 0;
31487 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31488 PyObject *arg2 = (PyObject *) 0 ;
31489 PyObject *arg3 = (PyObject *) 0 ;
31490 void *argp1 = 0 ;
31491 int res1 = 0 ;
31492 PyObject * obj0 = 0 ;
31493 PyObject * obj1 = 0 ;
31494 PyObject * obj2 = 0 ;
31495 char * kwnames[] = {
31496 (char *) "self",(char *) "self",(char *) "_class", NULL
31497 };
31498
31499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31501 if (!SWIG_IsOK(res1)) {
31502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31503 }
31504 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31505 arg2 = obj1;
31506 arg3 = obj2;
31507 {
31508 PyThreadState* __tstate = wxPyBeginAllowThreads();
31509 (arg1)->_setCallbackInfo(arg2,arg3);
31510 wxPyEndAllowThreads(__tstate);
31511 if (PyErr_Occurred()) SWIG_fail;
31512 }
31513 resultobj = SWIG_Py_Void();
31514 return resultobj;
31515 fail:
31516 return NULL;
31517 }
31518
31519
31520 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31521 PyObject *resultobj = 0;
31522 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31523 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
31524 void *argp1 = 0 ;
31525 int res1 = 0 ;
31526 void *argp2 = 0 ;
31527 int res2 = 0 ;
31528 PyObject * obj0 = 0 ;
31529 PyObject * obj1 = 0 ;
31530 char * kwnames[] = {
31531 (char *) "self",(char *) "preview", NULL
31532 };
31533
31534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31536 if (!SWIG_IsOK(res1)) {
31537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31538 }
31539 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31540 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31541 if (!SWIG_IsOK(res2)) {
31542 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31543 }
31544 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
31545 {
31546 PyThreadState* __tstate = wxPyBeginAllowThreads();
31547 (arg1)->SetPrintPreview(arg2);
31548 wxPyEndAllowThreads(__tstate);
31549 if (PyErr_Occurred()) SWIG_fail;
31550 }
31551 resultobj = SWIG_Py_Void();
31552 return resultobj;
31553 fail:
31554 return NULL;
31555 }
31556
31557
31558 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31559 PyObject *resultobj = 0;
31560 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31561 void *argp1 = 0 ;
31562 int res1 = 0 ;
31563 PyObject *swig_obj[1] ;
31564
31565 if (!args) SWIG_fail;
31566 swig_obj[0] = args;
31567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31568 if (!SWIG_IsOK(res1)) {
31569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31570 }
31571 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31572 {
31573 PyThreadState* __tstate = wxPyBeginAllowThreads();
31574 (arg1)->CreateButtons();
31575 wxPyEndAllowThreads(__tstate);
31576 if (PyErr_Occurred()) SWIG_fail;
31577 }
31578 resultobj = SWIG_Py_Void();
31579 return resultobj;
31580 fail:
31581 return NULL;
31582 }
31583
31584
31585 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31586 PyObject *resultobj = 0;
31587 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31588 int arg2 ;
31589 void *argp1 = 0 ;
31590 int res1 = 0 ;
31591 int val2 ;
31592 int ecode2 = 0 ;
31593 PyObject * obj0 = 0 ;
31594 PyObject * obj1 = 0 ;
31595 char * kwnames[] = {
31596 (char *) "self",(char *) "zoom", NULL
31597 };
31598
31599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31601 if (!SWIG_IsOK(res1)) {
31602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31603 }
31604 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31605 ecode2 = SWIG_AsVal_int(obj1, &val2);
31606 if (!SWIG_IsOK(ecode2)) {
31607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31608 }
31609 arg2 = static_cast< int >(val2);
31610 {
31611 PyThreadState* __tstate = wxPyBeginAllowThreads();
31612 (arg1)->SetZoomControl(arg2);
31613 wxPyEndAllowThreads(__tstate);
31614 if (PyErr_Occurred()) SWIG_fail;
31615 }
31616 resultobj = SWIG_Py_Void();
31617 return resultobj;
31618 fail:
31619 return NULL;
31620 }
31621
31622
31623 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31624 PyObject *obj;
31625 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31626 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31627 return SWIG_Py_Void();
31628 }
31629
31630 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31631 return SWIG_Python_InitShadowInstance(args);
31632 }
31633
31634 static PyMethodDef SwigMethods[] = {
31635 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
31636 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
31637 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31638 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
31639 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31640 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
31641 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
31642 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31643 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
31644 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31645 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31646 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31647 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31648 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31649 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
31650 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
31651 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
31652 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
31653 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
31654 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31655 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
31656 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31657 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
31658 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
31659 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31660 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31661 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
31662 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31663 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
31664 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31665 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31666 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
31667 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
31668 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
31669 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
31670 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
31671 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
31672 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
31673 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31674 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
31675 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31676 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31677 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31678 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
31679 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
31680 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
31681 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31682 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31683 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
31684 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
31685 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
31686 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
31687 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31688 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31689 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31690 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31691 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
31692 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31693 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
31694 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31695 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31696 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31697 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31698 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
31699 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31700 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31701 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
31702 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31703 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31704 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31705 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31706 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31707 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
31708 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
31709 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31710 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
31711 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31712 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31713 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31714 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31715 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
31716 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
31717 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
31718 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
31719 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31720 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
31721 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
31722 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
31723 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
31724 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
31725 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
31726 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31727 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31728 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31729 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31730 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31731 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
31732 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31733 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31734 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
31735 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
31736 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31737 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
31738 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31739 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
31740 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
31741 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31742 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31743 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
31744 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
31745 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
31746 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31747 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31748 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31749 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
31750 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
31751 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
31752 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31753 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
31754 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31755 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31756 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
31757 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31758 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31759 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31760 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31761 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31762 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31763 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31764 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31765 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31766 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
31767 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31768 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
31769 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
31770 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31771 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
31772 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31773 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31774 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
31775 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
31776 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
31777 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31778 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31779 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31780 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31781 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31782 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31783 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
31784 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31785 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31786 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31787 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
31788 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31789 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
31790 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
31791 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
31792 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
31793 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
31794 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31795 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
31796 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
31797 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
31798 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31799 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
31800 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
31801 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31802 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31803 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31804 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31805 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31806 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
31807 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
31808 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
31809 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31810 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
31811 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31812 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31813 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31814 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31815 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31816 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31817 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31818 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31819 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31820 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31821 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31822 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31823 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31824 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31825 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31826 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31827 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31828 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31829 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31830 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31831 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31832 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
31833 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31834 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
31835 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
31836 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
31837 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
31838 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31839 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
31840 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
31841 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
31842 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31843 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
31844 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
31845 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31846 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
31847 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31848 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
31849 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31850 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
31851 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31852 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
31853 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
31854 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
31855 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31856 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31857 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
31858 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31859 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
31860 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
31861 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
31862 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31863 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
31864 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31865 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31866 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
31867 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31868 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31869 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31870 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
31871 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31872 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31873 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
31874 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31875 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31876 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31877 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
31878 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
31879 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31880 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31881 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31882 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
31883 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31884 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31885 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31886 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31887 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31888 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
31889 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
31890 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31891 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31892 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31893 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31894 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31895 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
31896 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
31897 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31898 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
31899 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31900 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31901 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31902 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
31903 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31904 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31905 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31906 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31907 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31908 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31909 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31910 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
31911 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31912 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31913 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31914 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31915 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31916 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
31917 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
31918 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31919 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
31920 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31921 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31922 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31923 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31924 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
31925 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31926 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31927 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31928 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31929 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31930 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31931 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31932 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31933 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31934 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31935 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31936 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31937 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31938 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31939 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31940 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31941 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31942 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31943 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31944 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31945 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31946 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31947 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31948 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31949 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31950 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31951 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31952 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31953 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31954 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31955 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31956 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31957 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31958 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31959 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31960 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31961 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31962 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31963 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31964 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31965 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31966 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31967 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31968 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31969 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31970 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31971 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31972 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31973 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31974 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31975 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31976 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31977 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31978 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31979 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31980 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31981 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31982 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31983 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31984 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31985 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31986 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31987 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31988 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31989 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31990 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31991 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31992 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31993 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31994 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31995 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31996 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31997 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31998 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31999 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
32000 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
32001 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
32002 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
32003 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
32004 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
32005 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
32006 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
32007 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
32008 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
32009 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32010 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
32011 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
32012 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
32013 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
32014 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32015 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
32016 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
32017 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32018 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
32019 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
32020 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32021 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
32022 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
32023 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
32024 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
32025 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32026 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
32027 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
32028 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32029 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
32030 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
32031 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
32032 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
32033 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
32034 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
32035 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
32036 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
32037 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
32038 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
32039 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
32040 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
32041 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
32042 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
32043 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32044 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
32045 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
32046 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32047 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
32048 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
32049 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32050 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
32051 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
32052 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
32053 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
32054 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32055 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
32056 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
32057 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32058 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
32059 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
32060 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
32061 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
32062 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
32063 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32064 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
32065 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
32066 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
32067 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
32068 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32069 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32070 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32071 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
32072 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
32073 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
32074 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
32075 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
32076 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
32077 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
32078 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32079 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32080 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32081 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
32082 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
32083 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32084 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
32085 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32086 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
32087 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32088 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
32089 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
32090 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32091 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
32092 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32093 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
32094 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
32095 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
32096 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
32097 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
32098 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
32099 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_MDIParentFrame_GetWindowMenu, METH_O, NULL},
32100 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
32101 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
32102 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
32103 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
32104 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32105 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
32106 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32107 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
32108 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
32109 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
32110 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32111 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
32112 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32113 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
32114 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
32115 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32116 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
32117 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32118 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
32119 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32120 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32121 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32122 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32123 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32124 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
32125 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
32126 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
32127 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
32128 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
32129 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
32130 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
32131 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
32132 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
32133 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
32134 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
32135 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32136 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
32137 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32138 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32139 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32140 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32141 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32142 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
32143 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
32144 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
32145 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
32146 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
32147 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
32148 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
32149 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
32150 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
32151 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32152 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
32153 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32154 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
32155 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32156 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32157 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32158 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32159 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32160 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
32161 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
32162 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
32163 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
32164 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
32165 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
32166 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
32167 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
32168 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
32169 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
32170 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
32171 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
32172 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
32173 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
32174 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
32175 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
32176 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
32177 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
32178 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
32179 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
32180 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
32181 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
32182 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
32183 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
32184 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32185 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32186 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32187 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
32188 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32189 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
32190 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32191 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32192 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
32193 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
32194 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
32195 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
32196 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
32197 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
32198 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
32199 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
32200 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
32201 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
32202 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
32203 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
32204 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32205 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32206 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32207 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
32208 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32209 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
32210 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
32211 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
32212 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
32213 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
32214 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
32215 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
32216 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
32217 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
32218 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
32219 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
32220 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
32221 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
32222 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
32223 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
32224 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32225 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32226 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32227 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32228 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32229 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32230 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32231 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32232 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32233 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
32234 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
32235 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
32236 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
32237 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32238 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
32239 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
32240 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
32241 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
32242 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
32243 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
32244 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
32245 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
32246 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
32247 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
32248 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
32249 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
32250 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
32251 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
32252 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
32253 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
32254 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
32255 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
32256 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32257 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
32258 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
32259 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32260 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
32261 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32262 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32263 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32264 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32265 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32266 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
32267 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32268 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
32269 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
32270 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
32271 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
32272 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
32273 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
32274 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32275 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
32276 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
32277 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32278 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
32279 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
32280 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
32281 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
32282 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
32283 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
32284 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
32285 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
32286 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
32287 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32288 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
32289 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
32290 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32291 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32292 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
32293 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
32294 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
32295 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
32296 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
32297 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
32298 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
32299 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32300 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
32301 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
32302 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
32303 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
32304 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32305 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32306 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
32307 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
32308 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32309 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
32310 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
32311 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
32312 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
32313 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32314 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32315 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
32316 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
32317 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
32318 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
32319 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
32320 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
32321 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32322 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
32323 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
32324 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
32325 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
32326 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32327 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
32328 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
32329 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
32330 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
32331 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
32332 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
32333 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
32334 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
32335 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
32336 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32337 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
32338 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
32339 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32340 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
32341 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
32342 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
32343 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
32344 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
32345 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
32346 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32347 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
32348 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32349 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
32350 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
32351 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
32352 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
32353 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
32354 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
32355 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
32356 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
32357 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
32358 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
32359 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
32360 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
32361 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
32362 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
32363 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
32364 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32365 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32366 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
32367 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
32368 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
32369 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
32370 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
32371 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
32372 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
32373 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
32374 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
32375 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
32376 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
32377 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
32378 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
32379 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32380 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
32381 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
32382 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
32383 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
32384 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32385 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
32386 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
32387 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32388 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32389 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32390 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32391 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
32392 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
32393 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
32394 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
32395 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
32396 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32397 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32398 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32399 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
32400 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32401 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
32402 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
32403 { NULL, NULL, 0, NULL }
32404 };
32405
32406
32407 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32408
32409 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
32410 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32411 }
32412 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32413 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32414 }
32415 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32416 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32417 }
32418 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32419 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32420 }
32421 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32422 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32423 }
32424 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32425 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32426 }
32427 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32428 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32429 }
32430 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
32431 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32432 }
32433 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32434 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32435 }
32436 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32437 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32438 }
32439 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
32440 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
32441 }
32442 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32443 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32444 }
32445 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
32446 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
32447 }
32448 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32449 return (void *)((wxEvent *) ((wxPyEvent *) x));
32450 }
32451 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
32452 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
32453 }
32454 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32455 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32456 }
32457 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32458 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32459 }
32460 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32461 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32462 }
32463 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32464 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32465 }
32466 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32467 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32468 }
32469 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32470 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32471 }
32472 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32473 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32474 }
32475 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32476 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32477 }
32478 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32479 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32480 }
32481 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32482 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32483 }
32484 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32485 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32486 }
32487 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
32488 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
32489 }
32490 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32491 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32492 }
32493 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32494 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32495 }
32496 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32497 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32498 }
32499 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32500 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32501 }
32502 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32503 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32504 }
32505 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32506 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32507 }
32508 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32509 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32510 }
32511 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32512 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32513 }
32514 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
32515 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
32516 }
32517 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
32518 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32519 }
32520 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32521 return (void *)((wxEvent *) ((wxShowEvent *) x));
32522 }
32523 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32524 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32525 }
32526 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32527 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32528 }
32529 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32530 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32531 }
32532 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32533 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32534 }
32535 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32536 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32537 }
32538 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32539 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32540 }
32541 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32542 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32543 }
32544 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32545 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32546 }
32547 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32548 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32549 }
32550 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32551 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32552 }
32553 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32554 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32555 }
32556 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32557 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32558 }
32559 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32560 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32561 }
32562 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32563 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32564 }
32565 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32566 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32567 }
32568 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32569 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32570 }
32571 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32572 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32573 }
32574 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32575 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32576 }
32577 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32578 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32579 }
32580 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32581 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32582 }
32583 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32584 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32585 }
32586 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32587 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32588 }
32589 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32590 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32591 }
32592 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32593 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32594 }
32595 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32596 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32597 }
32598 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32599 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32600 }
32601 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32602 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32603 }
32604 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32605 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32606 }
32607 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32608 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32609 }
32610 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32611 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32612 }
32613 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32614 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32615 }
32616 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32617 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32618 }
32619 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32620 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32621 }
32622 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32623 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32624 }
32625 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32626 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32627 }
32628 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32629 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32630 }
32631 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32632 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32633 }
32634 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32635 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32636 }
32637 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32638 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32639 }
32640 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32641 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32642 }
32643 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32644 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32645 }
32646 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32647 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32648 }
32649 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32650 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32651 }
32652 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32653 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32654 }
32655 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32656 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32657 }
32658 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32659 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32660 }
32661 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32662 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32663 }
32664 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32665 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32666 }
32667 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32668 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32669 }
32670 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32671 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32672 }
32673 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32674 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32675 }
32676 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32677 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32678 }
32679 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32680 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32681 }
32682 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32683 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32684 }
32685 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32686 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32687 }
32688 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32689 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32690 }
32691 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32692 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32693 }
32694 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32695 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32696 }
32697 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32698 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32699 }
32700 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32701 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32702 }
32703 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32704 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32705 }
32706 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32707 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32708 }
32709 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32710 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32711 }
32712 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32713 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32714 }
32715 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32716 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32717 }
32718 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32719 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32720 }
32721 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32722 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32723 }
32724 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32725 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32726 }
32727 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32728 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32729 }
32730 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32731 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32732 }
32733 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32735 }
32736 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32737 return (void *)((wxObject *) ((wxSizerItem *) x));
32738 }
32739 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32740 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32741 }
32742 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32743 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32744 }
32745 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32746 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32747 }
32748 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32749 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32750 }
32751 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32752 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32753 }
32754 static void *_p_wxSizerTo_p_wxObject(void *x) {
32755 return (void *)((wxObject *) ((wxSizer *) x));
32756 }
32757 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32758 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32759 }
32760 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32761 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32762 }
32763 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32765 }
32766 static void *_p_wxEventTo_p_wxObject(void *x) {
32767 return (void *)((wxObject *) ((wxEvent *) x));
32768 }
32769 static void *_p_wxFontDataTo_p_wxObject(void *x) {
32770 return (void *)((wxObject *) ((wxFontData *) x));
32771 }
32772 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32773 return (void *)((wxObject *) ((wxPrintData *) x));
32774 }
32775 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32776 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32777 }
32778 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32779 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32780 }
32781 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32782 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32783 }
32784 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32785 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32786 }
32787 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32788 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32789 }
32790 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32791 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32792 }
32793 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32794 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32795 }
32796 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32797 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32798 }
32799 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32800 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32801 }
32802 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32803 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32804 }
32805 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32806 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32807 }
32808 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32809 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32810 }
32811 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32812 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32813 }
32814 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32815 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32816 }
32817 static void *_p_wxControlTo_p_wxObject(void *x) {
32818 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32819 }
32820 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32821 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32822 }
32823 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32824 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32825 }
32826 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32827 return (void *)((wxObject *) ((wxFSFile *) x));
32828 }
32829 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32830 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32831 }
32832 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32833 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32834 }
32835 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32836 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32837 }
32838 static void *_p_wxColourDataTo_p_wxObject(void *x) {
32839 return (void *)((wxObject *) ((wxColourData *) x));
32840 }
32841 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32842 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32843 }
32844 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32845 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32846 }
32847 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32848 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32849 }
32850 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32852 }
32853 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32854 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32855 }
32856 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32857 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32858 }
32859 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32860 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32861 }
32862 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32863 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32864 }
32865 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32866 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32867 }
32868 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32869 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32870 }
32871 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32872 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32873 }
32874 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32875 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32876 }
32877 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32878 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32879 }
32880 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32881 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32882 }
32883 static void *_p_wxPrinterTo_p_wxObject(void *x) {
32884 return (void *)((wxObject *) ((wxPrinter *) x));
32885 }
32886 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32887 return (void *)((wxObject *) ((wxMenuItem *) x));
32888 }
32889 static void *_p_wxDateEventTo_p_wxObject(void *x) {
32890 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32891 }
32892 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32893 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32894 }
32895 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32896 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32897 }
32898 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32899 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32900 }
32901 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32902 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32903 }
32904 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32905 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32906 }
32907 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32908 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32909 }
32910 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32911 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32912 }
32913 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32914 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32915 }
32916 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32917 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32918 }
32919 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32920 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32921 }
32922 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32923 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32924 }
32925 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32926 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32927 }
32928 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32929 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32930 }
32931 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32932 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32933 }
32934 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32935 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32936 }
32937 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32938 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32939 }
32940 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32941 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32942 }
32943 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32944 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32945 }
32946 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32947 return (void *)((wxObject *) ((wxImageHandler *) x));
32948 }
32949 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32950 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32951 }
32952 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32953 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32954 }
32955 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32956 return (void *)((wxObject *) ((wxEvtHandler *) x));
32957 }
32958 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
32959 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
32960 }
32961 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32962 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32963 }
32964 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32965 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32966 }
32967 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32968 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32969 }
32970 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32971 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32972 }
32973 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32974 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32975 }
32976 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32977 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32978 }
32979 static void *_p_wxImageTo_p_wxObject(void *x) {
32980 return (void *)((wxObject *) ((wxImage *) x));
32981 }
32982 static void *_p_wxFrameTo_p_wxObject(void *x) {
32983 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32984 }
32985 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32986 return (void *)((wxObject *) ((wxPyPrintout *) x));
32987 }
32988 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32989 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32990 }
32991 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32992 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32993 }
32994 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32995 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32996 }
32997 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32998 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32999 }
33000 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33001 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33002 }
33003 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33004 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33005 }
33006 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33007 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33008 }
33009 static void *_p_wxWindowTo_p_wxObject(void *x) {
33010 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33011 }
33012 static void *_p_wxMenuTo_p_wxObject(void *x) {
33013 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33014 }
33015 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33017 }
33018 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
33019 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
33020 }
33021 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
33022 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
33023 }
33024 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
33025 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
33026 }
33027 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
33028 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
33029 }
33030 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
33031 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
33032 }
33033 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
33034 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
33035 }
33036 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
33037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
33038 }
33039 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
33040 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33041 }
33042 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
33043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33044 }
33045 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
33046 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
33047 }
33048 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
33049 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
33050 }
33051 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
33052 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33053 }
33054 static void *_p_wxSashEventTo_p_wxObject(void *x) {
33055 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
33056 }
33057 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
33058 return (void *)((wxObject *) ((wxPrintPreview *) x));
33059 }
33060 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
33061 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
33062 }
33063 static void *_p_wxPanelTo_p_wxObject(void *x) {
33064 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
33065 }
33066 static void *_p_wxDialogTo_p_wxObject(void *x) {
33067 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
33068 }
33069 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
33070 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33071 }
33072 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
33073 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33074 }
33075 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
33076 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33077 }
33078 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
33079 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
33080 }
33081 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
33082 return (void *)((wxObject *) ((wxPrintDialog *) x));
33083 }
33084 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33085 return (void *)((wxObject *) ((wxFileSystem *) x));
33086 }
33087 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33088 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33089 }
33090 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33091 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33092 }
33093 static void *_p_wxPyAppTo_p_wxObject(void *x) {
33094 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33095 }
33096 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33097 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33098 }
33099 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33100 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33101 }
33102 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33103 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33104 }
33105 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33106 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33107 }
33108 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33109 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33110 }
33111 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
33112 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
33113 }
33114 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
33115 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33116 }
33117 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33118 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33119 }
33120 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33121 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33122 }
33123 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33124 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33125 }
33126 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33127 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33128 }
33129 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
33130 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
33131 }
33132 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
33133 return (void *)((wxObject *) ((wxPrintDialogData *) x));
33134 }
33135 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33136 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33137 }
33138 static void *_p_wxValidatorTo_p_wxObject(void *x) {
33139 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33140 }
33141 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
33142 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33143 }
33144 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33145 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
33146 }
33147 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
33148 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33149 }
33150 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
33151 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33152 }
33153 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
33154 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33155 }
33156 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
33157 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
33158 }
33159 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
33160 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
33161 }
33162 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
33163 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
33164 }
33165 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
33166 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
33167 }
33168 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
33169 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
33170 }
33171 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
33172 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
33173 }
33174 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
33175 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
33176 }
33177 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
33178 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
33179 }
33180 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
33181 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
33182 }
33183 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
33184 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
33185 }
33186 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
33187 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
33188 }
33189 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
33190 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
33191 }
33192 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
33193 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33194 }
33195 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
33196 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
33197 }
33198 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33199 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
33200 }
33201 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33202 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
33203 }
33204 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
33205 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
33206 }
33207 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
33208 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
33209 }
33210 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
33211 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
33212 }
33213 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33214 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
33215 }
33216 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33217 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33218 }
33219 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33220 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33221 }
33222 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33223 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33224 }
33225 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33226 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33227 }
33228 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33229 return (void *)((wxWindow *) ((wxMenuBar *) x));
33230 }
33231 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33232 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33233 }
33234 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33235 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33236 }
33237 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33238 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33239 }
33240 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
33241 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
33242 }
33243 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
33244 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33245 }
33246 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33247 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33248 }
33249 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33250 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33251 }
33252 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33253 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33254 }
33255 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33256 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33257 }
33258 static void *_p_wxPanelTo_p_wxWindow(void *x) {
33259 return (void *)((wxWindow *) ((wxPanel *) x));
33260 }
33261 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33262 return (void *)((wxWindow *) ((wxStatusBar *) x));
33263 }
33264 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33265 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33266 }
33267 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33268 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33269 }
33270 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33271 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33272 }
33273 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33274 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33275 }
33276 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33277 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33278 }
33279 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33280 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33281 }
33282 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33283 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33284 }
33285 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33286 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33287 }
33288 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33289 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33290 }
33291 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33292 return (void *)((wxWindow *) ((wxSashWindow *) x));
33293 }
33294 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33295 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33296 }
33297 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33298 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33299 }
33300 static void *_p_wxControlTo_p_wxWindow(void *x) {
33301 return (void *)((wxWindow *) ((wxControl *) x));
33302 }
33303 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33304 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33305 }
33306 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33307 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33308 }
33309 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33310 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33311 }
33312 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33313 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33314 }
33315 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33316 return (void *)((wxWindow *) ((wxPyWindow *) x));
33317 }
33318 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33319 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33320 }
33321 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33322 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33323 }
33324 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33325 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33326 }
33327 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33328 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33329 }
33330 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33331 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33332 }
33333 static void *_p_wxFrameTo_p_wxWindow(void *x) {
33334 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33335 }
33336 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33337 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33338 }
33339 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33340 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33341 }
33342 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33343 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33344 }
33345 static void *_p_wxDialogTo_p_wxWindow(void *x) {
33346 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33347 }
33348 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33349 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33350 }
33351 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33352 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33353 }
33354 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33355 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33356 }
33357 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
33358 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
33359 }
33360 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
33361 return (void *)((wxDialog *) ((wxColourDialog *) x));
33362 }
33363 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
33364 return (void *)((wxDialog *) ((wxDirDialog *) x));
33365 }
33366 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
33367 return (void *)((wxDialog *) ((wxFontDialog *) x));
33368 }
33369 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
33370 return (void *)((wxDialog *) ((wxFileDialog *) x));
33371 }
33372 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
33373 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
33374 }
33375 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
33376 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
33377 }
33378 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
33379 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
33380 }
33381 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
33382 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33383 }
33384 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
33385 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
33386 }
33387 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
33388 return (void *)((wxDialog *) ((wxMessageDialog *) x));
33389 }
33390 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
33391 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
33392 }
33393 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33394 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33395 }
33396 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33397 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33398 }
33399 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33400 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33401 }
33402 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33403 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33404 }
33405 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33406 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33407 }
33408 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33409 return (void *)((wxPanel *) ((wxPyPanel *) x));
33410 }
33411 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33412 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33413 }
33414 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33415 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33416 }
33417 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33418 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33419 }
33420 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33421 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33422 }
33423 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33424 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33425 }
33426 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33427 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33428 }
33429 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
33430 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
33431 }
33432 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33433 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33434 }
33435 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
33436 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
33437 }
33438 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
33439 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
33440 }
33441 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33442 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33443 }
33444 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33445 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33446 }
33447 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
33448 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
33449 }
33450 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33451 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33452 }
33453 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33454 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33455 }
33456 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
33457 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
33458 }
33459 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
33460 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33461 }
33462 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33463 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
33464 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};
33465 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
33466 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33467 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33468 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33469 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33470 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33471 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33472 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33473 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33474 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33475 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33476 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33477 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33478 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33479 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33480 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33481 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33482 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33483 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33484 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33485 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33486 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33487 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33488 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33489 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33490 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33491 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33492 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33493 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33494 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33495 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33496 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33497 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33498 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33499 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33500 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33501 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33502 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33503 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33504 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33505 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33506 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33507 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33508 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33509 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33510 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33511 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33512 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33513 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33514 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33515 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33516 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33517 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
33518 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33519 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
33520 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
33521 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33522 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33523 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33524 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33525 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33526 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33527 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33528 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33529 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33530 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33531 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33532 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33533 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33534 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33535 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33536 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33537 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33538 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33539 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33540 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33541 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33542 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33543 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33544 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33545 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33546 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33547 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33548 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33549 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33550 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33551 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33552 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33553 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33554 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33555 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33556 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33557 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33558 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33559 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33560 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33561 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33562 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33563 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33564 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33565 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33566 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33567 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33568 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33569 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33570 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33571 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33572 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33573 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33574 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33575 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33576 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33577 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33578 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33579 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33580 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33581 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33582 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33583 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33584 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33585 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33586 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33587 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33588 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33589 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33590 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33591 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33592 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33593 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33594 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33595 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33596 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33597 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33598 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33599 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33600 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33601 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33602 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33603 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33604 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33605 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33606 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33607 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33608 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33609 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33610 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33611 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33612 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33613 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33614 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33615 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33616 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33617 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33618 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33619 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33620 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33621 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33622 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33623 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33624 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33625 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33626 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33627
33628 static swig_type_info *swig_type_initial[] = {
33629 &_swigt__p_bool,
33630 &_swigt__p_char,
33631 &_swigt__p_form_ops_t,
33632 &_swigt__p_int,
33633 &_swigt__p_unsigned_char,
33634 &_swigt__p_unsigned_int,
33635 &_swigt__p_unsigned_long,
33636 &_swigt__p_wxANIHandler,
33637 &_swigt__p_wxAcceleratorTable,
33638 &_swigt__p_wxActivateEvent,
33639 &_swigt__p_wxArrayInt,
33640 &_swigt__p_wxBMPHandler,
33641 &_swigt__p_wxBitmap,
33642 &_swigt__p_wxBoxSizer,
33643 &_swigt__p_wxCURHandler,
33644 &_swigt__p_wxCalculateLayoutEvent,
33645 &_swigt__p_wxChildFocusEvent,
33646 &_swigt__p_wxClipboardTextEvent,
33647 &_swigt__p_wxCloseEvent,
33648 &_swigt__p_wxColour,
33649 &_swigt__p_wxColourData,
33650 &_swigt__p_wxColourDialog,
33651 &_swigt__p_wxCommandEvent,
33652 &_swigt__p_wxContextMenuEvent,
33653 &_swigt__p_wxControl,
33654 &_swigt__p_wxControlWithItems,
33655 &_swigt__p_wxDC,
33656 &_swigt__p_wxDateEvent,
33657 &_swigt__p_wxDialog,
33658 &_swigt__p_wxDirDialog,
33659 &_swigt__p_wxDisplayChangedEvent,
33660 &_swigt__p_wxDropFilesEvent,
33661 &_swigt__p_wxDuplexMode,
33662 &_swigt__p_wxEraseEvent,
33663 &_swigt__p_wxEvent,
33664 &_swigt__p_wxEvtHandler,
33665 &_swigt__p_wxFSFile,
33666 &_swigt__p_wxFileDialog,
33667 &_swigt__p_wxFileSystem,
33668 &_swigt__p_wxFindDialogEvent,
33669 &_swigt__p_wxFindReplaceData,
33670 &_swigt__p_wxFindReplaceDialog,
33671 &_swigt__p_wxFlexGridSizer,
33672 &_swigt__p_wxFocusEvent,
33673 &_swigt__p_wxFont,
33674 &_swigt__p_wxFontData,
33675 &_swigt__p_wxFontDialog,
33676 &_swigt__p_wxFrame,
33677 &_swigt__p_wxGBSizerItem,
33678 &_swigt__p_wxGIFHandler,
33679 &_swigt__p_wxGridBagSizer,
33680 &_swigt__p_wxGridSizer,
33681 &_swigt__p_wxHtmlLinkInfo,
33682 &_swigt__p_wxICOHandler,
33683 &_swigt__p_wxIcon,
33684 &_swigt__p_wxIconBundle,
33685 &_swigt__p_wxIconizeEvent,
33686 &_swigt__p_wxIdleEvent,
33687 &_swigt__p_wxImage,
33688 &_swigt__p_wxImageHandler,
33689 &_swigt__p_wxIndividualLayoutConstraint,
33690 &_swigt__p_wxInitDialogEvent,
33691 &_swigt__p_wxJPEGHandler,
33692 &_swigt__p_wxKeyEvent,
33693 &_swigt__p_wxLayoutAlgorithm,
33694 &_swigt__p_wxLayoutConstraints,
33695 &_swigt__p_wxMDIChildFrame,
33696 &_swigt__p_wxMDIClientWindow,
33697 &_swigt__p_wxMDIParentFrame,
33698 &_swigt__p_wxMaximizeEvent,
33699 &_swigt__p_wxMenu,
33700 &_swigt__p_wxMenuBar,
33701 &_swigt__p_wxMenuEvent,
33702 &_swigt__p_wxMenuItem,
33703 &_swigt__p_wxMessageDialog,
33704 &_swigt__p_wxMiniFrame,
33705 &_swigt__p_wxMouseCaptureChangedEvent,
33706 &_swigt__p_wxMouseCaptureLostEvent,
33707 &_swigt__p_wxMouseEvent,
33708 &_swigt__p_wxMoveEvent,
33709 &_swigt__p_wxMultiChoiceDialog,
33710 &_swigt__p_wxNavigationKeyEvent,
33711 &_swigt__p_wxNcPaintEvent,
33712 &_swigt__p_wxNotifyEvent,
33713 &_swigt__p_wxNumberEntryDialog,
33714 &_swigt__p_wxObject,
33715 &_swigt__p_wxPCXHandler,
33716 &_swigt__p_wxPNGHandler,
33717 &_swigt__p_wxPNMHandler,
33718 &_swigt__p_wxPageSetupDialog,
33719 &_swigt__p_wxPageSetupDialogData,
33720 &_swigt__p_wxPaintEvent,
33721 &_swigt__p_wxPaletteChangedEvent,
33722 &_swigt__p_wxPanel,
33723 &_swigt__p_wxPaperSize,
33724 &_swigt__p_wxPasswordEntryDialog,
33725 &_swigt__p_wxPoint,
33726 &_swigt__p_wxPopupWindow,
33727 &_swigt__p_wxPreviewCanvas,
33728 &_swigt__p_wxPreviewControlBar,
33729 &_swigt__p_wxPreviewFrame,
33730 &_swigt__p_wxPrintData,
33731 &_swigt__p_wxPrintDialog,
33732 &_swigt__p_wxPrintDialogData,
33733 &_swigt__p_wxPrintPreview,
33734 &_swigt__p_wxPrinter,
33735 &_swigt__p_wxProgressDialog,
33736 &_swigt__p_wxPyApp,
33737 &_swigt__p_wxPyCommandEvent,
33738 &_swigt__p_wxPyEvent,
33739 &_swigt__p_wxPyHtmlListBox,
33740 &_swigt__p_wxPyImageHandler,
33741 &_swigt__p_wxPyPanel,
33742 &_swigt__p_wxPyPopupTransientWindow,
33743 &_swigt__p_wxPyPreviewControlBar,
33744 &_swigt__p_wxPyPreviewFrame,
33745 &_swigt__p_wxPyPrintPreview,
33746 &_swigt__p_wxPyPrintout,
33747 &_swigt__p_wxPyScrolledWindow,
33748 &_swigt__p_wxPySizer,
33749 &_swigt__p_wxPyTaskBarIcon,
33750 &_swigt__p_wxPyVListBox,
33751 &_swigt__p_wxPyVScrolledWindow,
33752 &_swigt__p_wxPyValidator,
33753 &_swigt__p_wxPyWindow,
33754 &_swigt__p_wxQueryLayoutInfoEvent,
33755 &_swigt__p_wxQueryNewPaletteEvent,
33756 &_swigt__p_wxRect,
33757 &_swigt__p_wxRegion,
33758 &_swigt__p_wxSashEvent,
33759 &_swigt__p_wxSashLayoutWindow,
33760 &_swigt__p_wxSashWindow,
33761 &_swigt__p_wxScrollEvent,
33762 &_swigt__p_wxScrollWinEvent,
33763 &_swigt__p_wxScrolledWindow,
33764 &_swigt__p_wxSetCursorEvent,
33765 &_swigt__p_wxShowEvent,
33766 &_swigt__p_wxSingleChoiceDialog,
33767 &_swigt__p_wxSize,
33768 &_swigt__p_wxSizeEvent,
33769 &_swigt__p_wxSizer,
33770 &_swigt__p_wxSizerItem,
33771 &_swigt__p_wxSplashScreen,
33772 &_swigt__p_wxSplashScreenWindow,
33773 &_swigt__p_wxSplitterEvent,
33774 &_swigt__p_wxSplitterWindow,
33775 &_swigt__p_wxStaticBoxSizer,
33776 &_swigt__p_wxStatusBar,
33777 &_swigt__p_wxStdDialogButtonSizer,
33778 &_swigt__p_wxString,
33779 &_swigt__p_wxSysColourChangedEvent,
33780 &_swigt__p_wxTIFFHandler,
33781 &_swigt__p_wxTaskBarIcon,
33782 &_swigt__p_wxTaskBarIconEvent,
33783 &_swigt__p_wxTextEntryDialog,
33784 &_swigt__p_wxTipWindow,
33785 &_swigt__p_wxToolBar,
33786 &_swigt__p_wxTopLevelWindow,
33787 &_swigt__p_wxUpdateUIEvent,
33788 &_swigt__p_wxValidator,
33789 &_swigt__p_wxVisualAttributes,
33790 &_swigt__p_wxWindow,
33791 &_swigt__p_wxWindowCreateEvent,
33792 &_swigt__p_wxWindowDestroyEvent,
33793 &_swigt__p_wxXPMHandler,
33794 };
33795
33796 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
33797 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33798 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33799 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33800 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33801 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33802 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33803 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
33804 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33805 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33806 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33807 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33808 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
33809 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33810 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
33811 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
33812 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33813 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33814 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33815 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33816 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33817 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
33818 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
33819 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
33820 static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
33821 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33822 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33823 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33824 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33825 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33826 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33827 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33828 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33829 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
33830 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
33831 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33832 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33833 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33834 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33835 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33836 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33837 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33838 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33839 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33840 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33841 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33842 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33843 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33844 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33845 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33846 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33847 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33848 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33849 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
33850 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33851 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33852 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33853 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33854 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
33855 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
33856 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33857 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33858 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33859 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33860 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33861 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33862 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33863 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33864 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}};
33865 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
33866 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33867 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33868 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33869 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33870 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33871 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33872 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33873 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33874 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33875 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33876 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33877 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}};
33878 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33879 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
33880 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33881 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33882 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33883 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33884 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33885 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33886 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33887 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33888 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33889 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33890 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33891 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
33892 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33893 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33894 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33895 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33896 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33897 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33898 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33899 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33900 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
33901 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33902 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33903 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33904 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33905 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33906 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
33907 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
33908 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33909 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33910 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}};
33911 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33912 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33913 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33914 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}};
33915 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33916 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}};
33917 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}};
33918 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33919 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33920 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33921 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}};
33922 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33923 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33924 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33925 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33926 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}};
33927 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33928 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33929 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33930 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33931 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33932 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33933 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}};
33934 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}};
33935 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33936 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33937 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33938 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33939 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33940 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33941 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}};
33942 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33943 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}};
33944 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33945 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33946 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33947 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33948 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33949 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33950 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33951 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33952 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33953 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33954 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33955 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}};
33956 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33957 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
33958 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
33959 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
33960 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
33961
33962 static swig_cast_info *swig_cast_initial[] = {
33963 _swigc__p_bool,
33964 _swigc__p_char,
33965 _swigc__p_form_ops_t,
33966 _swigc__p_int,
33967 _swigc__p_unsigned_char,
33968 _swigc__p_unsigned_int,
33969 _swigc__p_unsigned_long,
33970 _swigc__p_wxANIHandler,
33971 _swigc__p_wxAcceleratorTable,
33972 _swigc__p_wxActivateEvent,
33973 _swigc__p_wxArrayInt,
33974 _swigc__p_wxBMPHandler,
33975 _swigc__p_wxBitmap,
33976 _swigc__p_wxBoxSizer,
33977 _swigc__p_wxCURHandler,
33978 _swigc__p_wxCalculateLayoutEvent,
33979 _swigc__p_wxChildFocusEvent,
33980 _swigc__p_wxClipboardTextEvent,
33981 _swigc__p_wxCloseEvent,
33982 _swigc__p_wxColour,
33983 _swigc__p_wxColourData,
33984 _swigc__p_wxColourDialog,
33985 _swigc__p_wxCommandEvent,
33986 _swigc__p_wxContextMenuEvent,
33987 _swigc__p_wxControl,
33988 _swigc__p_wxControlWithItems,
33989 _swigc__p_wxDC,
33990 _swigc__p_wxDateEvent,
33991 _swigc__p_wxDialog,
33992 _swigc__p_wxDirDialog,
33993 _swigc__p_wxDisplayChangedEvent,
33994 _swigc__p_wxDropFilesEvent,
33995 _swigc__p_wxDuplexMode,
33996 _swigc__p_wxEraseEvent,
33997 _swigc__p_wxEvent,
33998 _swigc__p_wxEvtHandler,
33999 _swigc__p_wxFSFile,
34000 _swigc__p_wxFileDialog,
34001 _swigc__p_wxFileSystem,
34002 _swigc__p_wxFindDialogEvent,
34003 _swigc__p_wxFindReplaceData,
34004 _swigc__p_wxFindReplaceDialog,
34005 _swigc__p_wxFlexGridSizer,
34006 _swigc__p_wxFocusEvent,
34007 _swigc__p_wxFont,
34008 _swigc__p_wxFontData,
34009 _swigc__p_wxFontDialog,
34010 _swigc__p_wxFrame,
34011 _swigc__p_wxGBSizerItem,
34012 _swigc__p_wxGIFHandler,
34013 _swigc__p_wxGridBagSizer,
34014 _swigc__p_wxGridSizer,
34015 _swigc__p_wxHtmlLinkInfo,
34016 _swigc__p_wxICOHandler,
34017 _swigc__p_wxIcon,
34018 _swigc__p_wxIconBundle,
34019 _swigc__p_wxIconizeEvent,
34020 _swigc__p_wxIdleEvent,
34021 _swigc__p_wxImage,
34022 _swigc__p_wxImageHandler,
34023 _swigc__p_wxIndividualLayoutConstraint,
34024 _swigc__p_wxInitDialogEvent,
34025 _swigc__p_wxJPEGHandler,
34026 _swigc__p_wxKeyEvent,
34027 _swigc__p_wxLayoutAlgorithm,
34028 _swigc__p_wxLayoutConstraints,
34029 _swigc__p_wxMDIChildFrame,
34030 _swigc__p_wxMDIClientWindow,
34031 _swigc__p_wxMDIParentFrame,
34032 _swigc__p_wxMaximizeEvent,
34033 _swigc__p_wxMenu,
34034 _swigc__p_wxMenuBar,
34035 _swigc__p_wxMenuEvent,
34036 _swigc__p_wxMenuItem,
34037 _swigc__p_wxMessageDialog,
34038 _swigc__p_wxMiniFrame,
34039 _swigc__p_wxMouseCaptureChangedEvent,
34040 _swigc__p_wxMouseCaptureLostEvent,
34041 _swigc__p_wxMouseEvent,
34042 _swigc__p_wxMoveEvent,
34043 _swigc__p_wxMultiChoiceDialog,
34044 _swigc__p_wxNavigationKeyEvent,
34045 _swigc__p_wxNcPaintEvent,
34046 _swigc__p_wxNotifyEvent,
34047 _swigc__p_wxNumberEntryDialog,
34048 _swigc__p_wxObject,
34049 _swigc__p_wxPCXHandler,
34050 _swigc__p_wxPNGHandler,
34051 _swigc__p_wxPNMHandler,
34052 _swigc__p_wxPageSetupDialog,
34053 _swigc__p_wxPageSetupDialogData,
34054 _swigc__p_wxPaintEvent,
34055 _swigc__p_wxPaletteChangedEvent,
34056 _swigc__p_wxPanel,
34057 _swigc__p_wxPaperSize,
34058 _swigc__p_wxPasswordEntryDialog,
34059 _swigc__p_wxPoint,
34060 _swigc__p_wxPopupWindow,
34061 _swigc__p_wxPreviewCanvas,
34062 _swigc__p_wxPreviewControlBar,
34063 _swigc__p_wxPreviewFrame,
34064 _swigc__p_wxPrintData,
34065 _swigc__p_wxPrintDialog,
34066 _swigc__p_wxPrintDialogData,
34067 _swigc__p_wxPrintPreview,
34068 _swigc__p_wxPrinter,
34069 _swigc__p_wxProgressDialog,
34070 _swigc__p_wxPyApp,
34071 _swigc__p_wxPyCommandEvent,
34072 _swigc__p_wxPyEvent,
34073 _swigc__p_wxPyHtmlListBox,
34074 _swigc__p_wxPyImageHandler,
34075 _swigc__p_wxPyPanel,
34076 _swigc__p_wxPyPopupTransientWindow,
34077 _swigc__p_wxPyPreviewControlBar,
34078 _swigc__p_wxPyPreviewFrame,
34079 _swigc__p_wxPyPrintPreview,
34080 _swigc__p_wxPyPrintout,
34081 _swigc__p_wxPyScrolledWindow,
34082 _swigc__p_wxPySizer,
34083 _swigc__p_wxPyTaskBarIcon,
34084 _swigc__p_wxPyVListBox,
34085 _swigc__p_wxPyVScrolledWindow,
34086 _swigc__p_wxPyValidator,
34087 _swigc__p_wxPyWindow,
34088 _swigc__p_wxQueryLayoutInfoEvent,
34089 _swigc__p_wxQueryNewPaletteEvent,
34090 _swigc__p_wxRect,
34091 _swigc__p_wxRegion,
34092 _swigc__p_wxSashEvent,
34093 _swigc__p_wxSashLayoutWindow,
34094 _swigc__p_wxSashWindow,
34095 _swigc__p_wxScrollEvent,
34096 _swigc__p_wxScrollWinEvent,
34097 _swigc__p_wxScrolledWindow,
34098 _swigc__p_wxSetCursorEvent,
34099 _swigc__p_wxShowEvent,
34100 _swigc__p_wxSingleChoiceDialog,
34101 _swigc__p_wxSize,
34102 _swigc__p_wxSizeEvent,
34103 _swigc__p_wxSizer,
34104 _swigc__p_wxSizerItem,
34105 _swigc__p_wxSplashScreen,
34106 _swigc__p_wxSplashScreenWindow,
34107 _swigc__p_wxSplitterEvent,
34108 _swigc__p_wxSplitterWindow,
34109 _swigc__p_wxStaticBoxSizer,
34110 _swigc__p_wxStatusBar,
34111 _swigc__p_wxStdDialogButtonSizer,
34112 _swigc__p_wxString,
34113 _swigc__p_wxSysColourChangedEvent,
34114 _swigc__p_wxTIFFHandler,
34115 _swigc__p_wxTaskBarIcon,
34116 _swigc__p_wxTaskBarIconEvent,
34117 _swigc__p_wxTextEntryDialog,
34118 _swigc__p_wxTipWindow,
34119 _swigc__p_wxToolBar,
34120 _swigc__p_wxTopLevelWindow,
34121 _swigc__p_wxUpdateUIEvent,
34122 _swigc__p_wxValidator,
34123 _swigc__p_wxVisualAttributes,
34124 _swigc__p_wxWindow,
34125 _swigc__p_wxWindowCreateEvent,
34126 _swigc__p_wxWindowDestroyEvent,
34127 _swigc__p_wxXPMHandler,
34128 };
34129
34130
34131 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34132
34133 static swig_const_info swig_const_table[] = {
34134 {0, 0, 0, 0.0, 0, 0}};
34135
34136 #ifdef __cplusplus
34137 }
34138 #endif
34139 /* -----------------------------------------------------------------------------
34140 * Type initialization:
34141 * This problem is tough by the requirement that no dynamic
34142 * memory is used. Also, since swig_type_info structures store pointers to
34143 * swig_cast_info structures and swig_cast_info structures store pointers back
34144 * to swig_type_info structures, we need some lookup code at initialization.
34145 * The idea is that swig generates all the structures that are needed.
34146 * The runtime then collects these partially filled structures.
34147 * The SWIG_InitializeModule function takes these initial arrays out of
34148 * swig_module, and does all the lookup, filling in the swig_module.types
34149 * array with the correct data and linking the correct swig_cast_info
34150 * structures together.
34151 *
34152 * The generated swig_type_info structures are assigned staticly to an initial
34153 * array. We just loop though that array, and handle each type individually.
34154 * First we lookup if this type has been already loaded, and if so, use the
34155 * loaded structure instead of the generated one. Then we have to fill in the
34156 * cast linked list. The cast data is initially stored in something like a
34157 * two-dimensional array. Each row corresponds to a type (there are the same
34158 * number of rows as there are in the swig_type_initial array). Each entry in
34159 * a column is one of the swig_cast_info structures for that type.
34160 * The cast_initial array is actually an array of arrays, because each row has
34161 * a variable number of columns. So to actually build the cast linked list,
34162 * we find the array of casts associated with the type, and loop through it
34163 * adding the casts to the list. The one last trick we need to do is making
34164 * sure the type pointer in the swig_cast_info struct is correct.
34165 *
34166 * First off, we lookup the cast->type name to see if it is already loaded.
34167 * There are three cases to handle:
34168 * 1) If the cast->type has already been loaded AND the type we are adding
34169 * casting info to has not been loaded (it is in this module), THEN we
34170 * replace the cast->type pointer with the type pointer that has already
34171 * been loaded.
34172 * 2) If BOTH types (the one we are adding casting info to, and the
34173 * cast->type) are loaded, THEN the cast info has already been loaded by
34174 * the previous module so we just ignore it.
34175 * 3) Finally, if cast->type has not already been loaded, then we add that
34176 * swig_cast_info to the linked list (because the cast->type) pointer will
34177 * be correct.
34178 * ----------------------------------------------------------------------------- */
34179
34180 #ifdef __cplusplus
34181 extern "C" {
34182 #if 0
34183 } /* c-mode */
34184 #endif
34185 #endif
34186
34187 #if 0
34188 #define SWIGRUNTIME_DEBUG
34189 #endif
34190
34191 SWIGRUNTIME void
34192 SWIG_InitializeModule(void *clientdata) {
34193 size_t i;
34194 swig_module_info *module_head;
34195 static int init_run = 0;
34196
34197 clientdata = clientdata;
34198
34199 if (init_run) return;
34200 init_run = 1;
34201
34202 /* Initialize the swig_module */
34203 swig_module.type_initial = swig_type_initial;
34204 swig_module.cast_initial = swig_cast_initial;
34205
34206 /* Try and load any already created modules */
34207 module_head = SWIG_GetModule(clientdata);
34208 if (module_head) {
34209 swig_module.next = module_head->next;
34210 module_head->next = &swig_module;
34211 } else {
34212 /* This is the first module loaded */
34213 swig_module.next = &swig_module;
34214 SWIG_SetModule(clientdata, &swig_module);
34215 }
34216
34217 /* Now work on filling in swig_module.types */
34218 #ifdef SWIGRUNTIME_DEBUG
34219 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
34220 #endif
34221 for (i = 0; i < swig_module.size; ++i) {
34222 swig_type_info *type = 0;
34223 swig_type_info *ret;
34224 swig_cast_info *cast;
34225
34226 #ifdef SWIGRUNTIME_DEBUG
34227 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34228 #endif
34229
34230 /* if there is another module already loaded */
34231 if (swig_module.next != &swig_module) {
34232 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
34233 }
34234 if (type) {
34235 /* Overwrite clientdata field */
34236 #ifdef SWIGRUNTIME_DEBUG
34237 printf("SWIG_InitializeModule: found type %s\n", type->name);
34238 #endif
34239 if (swig_module.type_initial[i]->clientdata) {
34240 type->clientdata = swig_module.type_initial[i]->clientdata;
34241 #ifdef SWIGRUNTIME_DEBUG
34242 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
34243 #endif
34244 }
34245 } else {
34246 type = swig_module.type_initial[i];
34247 }
34248
34249 /* Insert casting types */
34250 cast = swig_module.cast_initial[i];
34251 while (cast->type) {
34252 /* Don't need to add information already in the list */
34253 ret = 0;
34254 #ifdef SWIGRUNTIME_DEBUG
34255 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
34256 #endif
34257 if (swig_module.next != &swig_module) {
34258 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
34259 #ifdef SWIGRUNTIME_DEBUG
34260 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
34261 #endif
34262 }
34263 if (ret) {
34264 if (type == swig_module.type_initial[i]) {
34265 #ifdef SWIGRUNTIME_DEBUG
34266 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
34267 #endif
34268 cast->type = ret;
34269 ret = 0;
34270 } else {
34271 /* Check for casting already in the list */
34272 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
34273 #ifdef SWIGRUNTIME_DEBUG
34274 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
34275 #endif
34276 if (!ocast) ret = 0;
34277 }
34278 }
34279
34280 if (!ret) {
34281 #ifdef SWIGRUNTIME_DEBUG
34282 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
34283 #endif
34284 if (type->cast) {
34285 type->cast->prev = cast;
34286 cast->next = type->cast;
34287 }
34288 type->cast = cast;
34289 }
34290 cast++;
34291 }
34292 /* Set entry in modules->types array equal to the type */
34293 swig_module.types[i] = type;
34294 }
34295 swig_module.types[i] = 0;
34296
34297 #ifdef SWIGRUNTIME_DEBUG
34298 printf("**** SWIG_InitializeModule: Cast List ******\n");
34299 for (i = 0; i < swig_module.size; ++i) {
34300 int j = 0;
34301 swig_cast_info *cast = swig_module.cast_initial[i];
34302 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34303 while (cast->type) {
34304 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
34305 cast++;
34306 ++j;
34307 }
34308 printf("---- Total casts: %d\n",j);
34309 }
34310 printf("**** SWIG_InitializeModule: Cast List ******\n");
34311 #endif
34312 }
34313
34314 /* This function will propagate the clientdata field of type to
34315 * any new swig_type_info structures that have been added into the list
34316 * of equivalent types. It is like calling
34317 * SWIG_TypeClientData(type, clientdata) a second time.
34318 */
34319 SWIGRUNTIME void
34320 SWIG_PropagateClientData(void) {
34321 size_t i;
34322 swig_cast_info *equiv;
34323 static int init_run = 0;
34324
34325 if (init_run) return;
34326 init_run = 1;
34327
34328 for (i = 0; i < swig_module.size; i++) {
34329 if (swig_module.types[i]->clientdata) {
34330 equiv = swig_module.types[i]->cast;
34331 while (equiv) {
34332 if (!equiv->converter) {
34333 if (equiv->type && !equiv->type->clientdata)
34334 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
34335 }
34336 equiv = equiv->next;
34337 }
34338 }
34339 }
34340 }
34341
34342 #ifdef __cplusplus
34343 #if 0
34344 {
34345 /* c-mode */
34346 #endif
34347 }
34348 #endif
34349
34350
34351
34352 #ifdef __cplusplus
34353 extern "C" {
34354 #endif
34355
34356 /* Python-specific SWIG API */
34357 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34358 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34359 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34360
34361 /* -----------------------------------------------------------------------------
34362 * global variable support code.
34363 * ----------------------------------------------------------------------------- */
34364
34365 typedef struct swig_globalvar {
34366 char *name; /* Name of global variable */
34367 PyObject *(*get_attr)(void); /* Return the current value */
34368 int (*set_attr)(PyObject *); /* Set the value */
34369 struct swig_globalvar *next;
34370 } swig_globalvar;
34371
34372 typedef struct swig_varlinkobject {
34373 PyObject_HEAD
34374 swig_globalvar *vars;
34375 } swig_varlinkobject;
34376
34377 SWIGINTERN PyObject *
34378 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
34379 return PyString_FromString("<Swig global variables>");
34380 }
34381
34382 SWIGINTERN PyObject *
34383 swig_varlink_str(swig_varlinkobject *v) {
34384 PyObject *str = PyString_FromString("(");
34385 swig_globalvar *var;
34386 for (var = v->vars; var; var=var->next) {
34387 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
34388 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
34389 }
34390 PyString_ConcatAndDel(&str,PyString_FromString(")"));
34391 return str;
34392 }
34393
34394 SWIGINTERN int
34395 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
34396 PyObject *str = swig_varlink_str(v);
34397 fprintf(fp,"Swig global variables ");
34398 fprintf(fp,"%s\n", PyString_AsString(str));
34399 Py_DECREF(str);
34400 return 0;
34401 }
34402
34403 SWIGINTERN void
34404 swig_varlink_dealloc(swig_varlinkobject *v) {
34405 swig_globalvar *var = v->vars;
34406 while (var) {
34407 swig_globalvar *n = var->next;
34408 free(var->name);
34409 free(var);
34410 var = n;
34411 }
34412 }
34413
34414 SWIGINTERN PyObject *
34415 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
34416 PyObject *res = NULL;
34417 swig_globalvar *var = v->vars;
34418 while (var) {
34419 if (strcmp(var->name,n) == 0) {
34420 res = (*var->get_attr)();
34421 break;
34422 }
34423 var = var->next;
34424 }
34425 if (res == NULL && !PyErr_Occurred()) {
34426 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34427 }
34428 return res;
34429 }
34430
34431 SWIGINTERN int
34432 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
34433 int res = 1;
34434 swig_globalvar *var = v->vars;
34435 while (var) {
34436 if (strcmp(var->name,n) == 0) {
34437 res = (*var->set_attr)(p);
34438 break;
34439 }
34440 var = var->next;
34441 }
34442 if (res == 1 && !PyErr_Occurred()) {
34443 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34444 }
34445 return res;
34446 }
34447
34448 SWIGINTERN PyTypeObject*
34449 swig_varlink_type(void) {
34450 static char varlink__doc__[] = "Swig var link object";
34451 static PyTypeObject varlink_type;
34452 static int type_init = 0;
34453 if (!type_init) {
34454 const PyTypeObject tmp
34455 = {
34456 PyObject_HEAD_INIT(NULL)
34457 0, /* Number of items in variable part (ob_size) */
34458 (char *)"swigvarlink", /* Type name (tp_name) */
34459 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
34460 0, /* Itemsize (tp_itemsize) */
34461 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
34462 (printfunc) swig_varlink_print, /* Print (tp_print) */
34463 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
34464 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
34465 0, /* tp_compare */
34466 (reprfunc) swig_varlink_repr, /* tp_repr */
34467 0, /* tp_as_number */
34468 0, /* tp_as_sequence */
34469 0, /* tp_as_mapping */
34470 0, /* tp_hash */
34471 0, /* tp_call */
34472 (reprfunc)swig_varlink_str, /* tp_str */
34473 0, /* tp_getattro */
34474 0, /* tp_setattro */
34475 0, /* tp_as_buffer */
34476 0, /* tp_flags */
34477 varlink__doc__, /* tp_doc */
34478 0, /* tp_traverse */
34479 0, /* tp_clear */
34480 0, /* tp_richcompare */
34481 0, /* tp_weaklistoffset */
34482 #if PY_VERSION_HEX >= 0x02020000
34483 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34484 #endif
34485 #if PY_VERSION_HEX >= 0x02030000
34486 0, /* tp_del */
34487 #endif
34488 #ifdef COUNT_ALLOCS
34489 0,0,0,0 /* tp_alloc -> tp_next */
34490 #endif
34491 };
34492 varlink_type = tmp;
34493 varlink_type.ob_type = &PyType_Type;
34494 type_init = 1;
34495 }
34496 return &varlink_type;
34497 }
34498
34499 /* Create a variable linking object for use later */
34500 SWIGINTERN PyObject *
34501 SWIG_Python_newvarlink(void) {
34502 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
34503 if (result) {
34504 result->vars = 0;
34505 }
34506 return ((PyObject*) result);
34507 }
34508
34509 SWIGINTERN void
34510 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
34511 swig_varlinkobject *v = (swig_varlinkobject *) p;
34512 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
34513 if (gv) {
34514 size_t size = strlen(name)+1;
34515 gv->name = (char *)malloc(size);
34516 if (gv->name) {
34517 strncpy(gv->name,name,size);
34518 gv->get_attr = get_attr;
34519 gv->set_attr = set_attr;
34520 gv->next = v->vars;
34521 }
34522 }
34523 v->vars = gv;
34524 }
34525
34526 SWIGINTERN PyObject *
34527 SWIG_globals() {
34528 static PyObject *_SWIG_globals = 0;
34529 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
34530 return _SWIG_globals;
34531 }
34532
34533 /* -----------------------------------------------------------------------------
34534 * constants/methods manipulation
34535 * ----------------------------------------------------------------------------- */
34536
34537 /* Install Constants */
34538 SWIGINTERN void
34539 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34540 PyObject *obj = 0;
34541 size_t i;
34542 for (i = 0; constants[i].type; ++i) {
34543 switch(constants[i].type) {
34544 case SWIG_PY_POINTER:
34545 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34546 break;
34547 case SWIG_PY_BINARY:
34548 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34549 break;
34550 default:
34551 obj = 0;
34552 break;
34553 }
34554 if (obj) {
34555 PyDict_SetItemString(d, constants[i].name, obj);
34556 Py_DECREF(obj);
34557 }
34558 }
34559 }
34560
34561 /* -----------------------------------------------------------------------------*/
34562 /* Fix SwigMethods to carry the callback ptrs when needed */
34563 /* -----------------------------------------------------------------------------*/
34564
34565 SWIGINTERN void
34566 SWIG_Python_FixMethods(PyMethodDef *methods,
34567 swig_const_info *const_table,
34568 swig_type_info **types,
34569 swig_type_info **types_initial) {
34570 size_t i;
34571 for (i = 0; methods[i].ml_name; ++i) {
34572 const char *c = methods[i].ml_doc;
34573 if (c && (c = strstr(c, "swig_ptr: "))) {
34574 int j;
34575 swig_const_info *ci = 0;
34576 const char *name = c + 10;
34577 for (j = 0; const_table[j].type; ++j) {
34578 if (strncmp(const_table[j].name, name,
34579 strlen(const_table[j].name)) == 0) {
34580 ci = &(const_table[j]);
34581 break;
34582 }
34583 }
34584 if (ci) {
34585 size_t shift = (ci->ptype) - types;
34586 swig_type_info *ty = types_initial[shift];
34587 size_t ldoc = (c - methods[i].ml_doc);
34588 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34589 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34590 if (ndoc) {
34591 char *buff = ndoc;
34592 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34593 if (ptr) {
34594 strncpy(buff, methods[i].ml_doc, ldoc);
34595 buff += ldoc;
34596 strncpy(buff, "swig_ptr: ", 10);
34597 buff += 10;
34598 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34599 methods[i].ml_doc = ndoc;
34600 }
34601 }
34602 }
34603 }
34604 }
34605 }
34606
34607 #ifdef __cplusplus
34608 }
34609 #endif
34610
34611 /* -----------------------------------------------------------------------------*
34612 * Partial Init method
34613 * -----------------------------------------------------------------------------*/
34614
34615 #ifdef __cplusplus
34616 extern "C"
34617 #endif
34618 SWIGEXPORT void SWIG_init(void) {
34619 PyObject *m, *d;
34620
34621 /* Fix SwigMethods to carry the callback ptrs when needed */
34622 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34623
34624 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34625 d = PyModule_GetDict(m);
34626
34627 SWIG_InitializeModule(0);
34628 SWIG_InstallConstants(d,swig_const_table);
34629
34630
34631 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34632 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34633 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34634 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34635 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34636 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34637 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34638 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34639 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34640 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34641 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
34642 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34643 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34644 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34645 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34646 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
34647 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
34648 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
34649 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
34650 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
34651 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
34652 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
34653 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
34654 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
34655 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
34656 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
34657 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
34658 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
34659 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
34660 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
34661 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
34662 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
34663 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
34664 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
34665 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
34666 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
34667 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
34668 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
34669 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
34670 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
34671 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
34672 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
34673 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
34674 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
34675 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
34676 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
34677 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34678 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34679 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34680 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34681 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34682 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34683 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34684 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34685 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34686 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34687 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34688 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34689 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34690 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34691 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34692 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34693 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34694 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34695 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34696 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34697 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34698 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34699 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34700 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34701 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34702 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34703 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34704 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34705 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34706 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34707 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34708 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34709 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34710 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34711 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34712 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34713 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34714 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34715 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34716 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34717 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34718 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34719 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34720 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34721 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34722 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34723 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34724 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34725 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34726 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34727 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34728 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34729 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34730 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34731 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34732 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34733 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34734 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34735 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34736
34737 // Map renamed classes back to their common name for OOR
34738 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34739 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34740 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34741
34742 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34743 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34744 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34745 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34746 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34747 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34748 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34749 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34750 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34751 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34752 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34753 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34754 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
34755 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34756 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34757 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34758 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34759 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34760 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34761 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34762 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34763 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
34764 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
34765 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34766 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34767 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34768 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34769 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34770 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
34771 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
34772 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
34773 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34774 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34775 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
34776 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
34777 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
34778 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
34779 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
34780 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
34781 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
34782 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
34783 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
34784 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34785 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34786 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34787 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34788 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34789 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34790 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34791 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34792 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34793 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34794 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34795 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34796 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34797 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34798 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34799 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34800 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34801 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34802 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34803 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34804 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34805 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34806 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34807 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34808 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34809 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34810 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34811 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34812 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34813 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34814 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34815 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34816 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34817 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34818 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34819 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34820 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34821 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34822 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34823 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34824 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34825 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34826 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34827 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34828 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34829 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34830 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34831 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34832 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34833 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34834 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34835 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34836 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34837 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34838 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34839 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34840 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34841 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34842 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34843 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34844 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34845 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34846
34847 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34848
34849 }
34850