]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
mention wxLogInterposer(Temp)
[wxWidgets.git] / wxPython / src / mac / _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_wxArrayString swig_types[11]
2478 #define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479 #define SWIGTYPE_p_wxBitmap swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxCURHandler swig_types[15]
2482 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[16]
2483 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486 #define SWIGTYPE_p_wxColour swig_types[20]
2487 #define SWIGTYPE_p_wxColourData swig_types[21]
2488 #define SWIGTYPE_p_wxColourDialog swig_types[22]
2489 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxDC swig_types[27]
2494 #define SWIGTYPE_p_wxDateEvent swig_types[28]
2495 #define SWIGTYPE_p_wxDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDirDialog swig_types[30]
2497 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2500 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvent swig_types[35]
2502 #define SWIGTYPE_p_wxEventBlocker swig_types[36]
2503 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
2504 #define SWIGTYPE_p_wxFSFile swig_types[38]
2505 #define SWIGTYPE_p_wxFileDialog swig_types[39]
2506 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2507 #define SWIGTYPE_p_wxFindDialogEvent swig_types[41]
2508 #define SWIGTYPE_p_wxFindReplaceData swig_types[42]
2509 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[43]
2510 #define SWIGTYPE_p_wxFlexGridSizer swig_types[44]
2511 #define SWIGTYPE_p_wxFocusEvent swig_types[45]
2512 #define SWIGTYPE_p_wxFont swig_types[46]
2513 #define SWIGTYPE_p_wxFontData swig_types[47]
2514 #define SWIGTYPE_p_wxFontDialog swig_types[48]
2515 #define SWIGTYPE_p_wxFrame swig_types[49]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[50]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[51]
2518 #define SWIGTYPE_p_wxGridBagSizer swig_types[52]
2519 #define SWIGTYPE_p_wxGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[54]
2521 #define SWIGTYPE_p_wxICOHandler swig_types[55]
2522 #define SWIGTYPE_p_wxIcon swig_types[56]
2523 #define SWIGTYPE_p_wxIconBundle swig_types[57]
2524 #define SWIGTYPE_p_wxIconizeEvent swig_types[58]
2525 #define SWIGTYPE_p_wxIdleEvent swig_types[59]
2526 #define SWIGTYPE_p_wxImage swig_types[60]
2527 #define SWIGTYPE_p_wxImageHandler swig_types[61]
2528 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530 #define SWIGTYPE_p_wxItemContainer swig_types[64]
2531 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
2532 #define SWIGTYPE_p_wxKeyEvent swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[67]
2534 #define SWIGTYPE_p_wxLayoutConstraints swig_types[68]
2535 #define SWIGTYPE_p_wxMDIChildFrame swig_types[69]
2536 #define SWIGTYPE_p_wxMDIClientWindow swig_types[70]
2537 #define SWIGTYPE_p_wxMDIParentFrame swig_types[71]
2538 #define SWIGTYPE_p_wxMaximizeEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenu swig_types[73]
2540 #define SWIGTYPE_p_wxMenuBar swig_types[74]
2541 #define SWIGTYPE_p_wxMenuEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMenuItem swig_types[76]
2543 #define SWIGTYPE_p_wxMessageDialog swig_types[77]
2544 #define SWIGTYPE_p_wxMiniFrame swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMouseEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMoveEvent swig_types[82]
2549 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[83]
2550 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[87]
2554 #define SWIGTYPE_p_wxObject swig_types[88]
2555 #define SWIGTYPE_p_wxPCXHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNGHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPNMHandler swig_types[91]
2558 #define SWIGTYPE_p_wxPageSetupDialog swig_types[92]
2559 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[93]
2560 #define SWIGTYPE_p_wxPaintEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[95]
2562 #define SWIGTYPE_p_wxPanel swig_types[96]
2563 #define SWIGTYPE_p_wxPaperSize swig_types[97]
2564 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[98]
2565 #define SWIGTYPE_p_wxPoint swig_types[99]
2566 #define SWIGTYPE_p_wxPopupWindow swig_types[100]
2567 #define SWIGTYPE_p_wxPosition swig_types[101]
2568 #define SWIGTYPE_p_wxPreviewCanvas swig_types[102]
2569 #define SWIGTYPE_p_wxPreviewControlBar swig_types[103]
2570 #define SWIGTYPE_p_wxPreviewFrame swig_types[104]
2571 #define SWIGTYPE_p_wxPrintData swig_types[105]
2572 #define SWIGTYPE_p_wxPrintDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPrintDialogData swig_types[107]
2574 #define SWIGTYPE_p_wxPrintPreview swig_types[108]
2575 #define SWIGTYPE_p_wxPrinter swig_types[109]
2576 #define SWIGTYPE_p_wxProgressDialog swig_types[110]
2577 #define SWIGTYPE_p_wxPyApp swig_types[111]
2578 #define SWIGTYPE_p_wxPyCommandEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPyEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPyHScrolledWindow swig_types[114]
2581 #define SWIGTYPE_p_wxPyHVScrolledWindow swig_types[115]
2582 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[116]
2583 #define SWIGTYPE_p_wxPyImageHandler swig_types[117]
2584 #define SWIGTYPE_p_wxPyPanel swig_types[118]
2585 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[119]
2586 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[120]
2587 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[121]
2588 #define SWIGTYPE_p_wxPyPrintPreview swig_types[122]
2589 #define SWIGTYPE_p_wxPyPrintout swig_types[123]
2590 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[126]
2593 #define SWIGTYPE_p_wxPyVListBox swig_types[127]
2594 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[128]
2595 #define SWIGTYPE_p_wxPyValidator swig_types[129]
2596 #define SWIGTYPE_p_wxPyWindow swig_types[130]
2597 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[131]
2598 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132]
2599 #define SWIGTYPE_p_wxRect swig_types[133]
2600 #define SWIGTYPE_p_wxRegion swig_types[134]
2601 #define SWIGTYPE_p_wxSashEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[136]
2603 #define SWIGTYPE_p_wxSashWindow swig_types[137]
2604 #define SWIGTYPE_p_wxScrollEvent swig_types[138]
2605 #define SWIGTYPE_p_wxScrollWinEvent swig_types[139]
2606 #define SWIGTYPE_p_wxScrolledWindow swig_types[140]
2607 #define SWIGTYPE_p_wxSetCursorEvent swig_types[141]
2608 #define SWIGTYPE_p_wxShowEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[143]
2610 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[144]
2611 #define SWIGTYPE_p_wxSize swig_types[145]
2612 #define SWIGTYPE_p_wxSizeEvent swig_types[146]
2613 #define SWIGTYPE_p_wxSizer swig_types[147]
2614 #define SWIGTYPE_p_wxSizerItem swig_types[148]
2615 #define SWIGTYPE_p_wxSplashScreen swig_types[149]
2616 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[150]
2617 #define SWIGTYPE_p_wxSplitterEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSplitterWindow swig_types[152]
2619 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[153]
2620 #define SWIGTYPE_p_wxStatusBar swig_types[154]
2621 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[155]
2622 #define SWIGTYPE_p_wxString swig_types[156]
2623 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[157]
2624 #define SWIGTYPE_p_wxTGAHandler swig_types[158]
2625 #define SWIGTYPE_p_wxTIFFHandler swig_types[159]
2626 #define SWIGTYPE_p_wxTaskBarIcon swig_types[160]
2627 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTextEntryDialog swig_types[162]
2629 #define SWIGTYPE_p_wxTipWindow swig_types[163]
2630 #define SWIGTYPE_p_wxToolBar swig_types[164]
2631 #define SWIGTYPE_p_wxTopLevelWindow swig_types[165]
2632 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[166]
2633 #define SWIGTYPE_p_wxValidator swig_types[167]
2634 #define SWIGTYPE_p_wxVarHScrollHelper swig_types[168]
2635 #define SWIGTYPE_p_wxVarHVScrollHelper swig_types[169]
2636 #define SWIGTYPE_p_wxVarScrollHelperBase swig_types[170]
2637 #define SWIGTYPE_p_wxVarVScrollHelper swig_types[171]
2638 #define SWIGTYPE_p_wxVisualAttributes swig_types[172]
2639 #define SWIGTYPE_p_wxWindow swig_types[173]
2640 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[174]
2641 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[175]
2642 #define SWIGTYPE_p_wxXPMHandler swig_types[176]
2643 static swig_type_info *swig_types[178];
2644 static swig_module_info swig_module = {swig_types, 177, 0, 0, 0, 0};
2645 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2646 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2647
2648 /* -------- TYPES TABLE (END) -------- */
2649
2650 #if (PY_VERSION_HEX <= 0x02000000)
2651 # if !defined(SWIG_PYTHON_CLASSIC)
2652 # error "This python version requires to use swig with the '-classic' option"
2653 # endif
2654 #endif
2655 #if (PY_VERSION_HEX <= 0x02020000)
2656 # error "This python version requires to use swig with the '-nomodern' option"
2657 #endif
2658 #if (PY_VERSION_HEX <= 0x02020000)
2659 # error "This python version requires to use swig with the '-nomodernargs' option"
2660 #endif
2661 #ifndef METH_O
2662 # error "This python version requires to use swig with the '-nofastunpack' option"
2663 #endif
2664
2665 /*-----------------------------------------------
2666 @(target):= _windows_.so
2667 ------------------------------------------------*/
2668 #define SWIG_init init_windows_
2669
2670 #define SWIG_name "_windows_"
2671
2672 #define SWIGVERSION 0x010329
2673
2674
2675 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2676 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2677
2678
2679 #include <stdexcept>
2680
2681
2682 namespace swig {
2683 class PyObject_ptr {
2684 protected:
2685 PyObject *_obj;
2686
2687 public:
2688 PyObject_ptr() :_obj(0)
2689 {
2690 }
2691
2692 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2693 {
2694 Py_XINCREF(_obj);
2695 }
2696
2697 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2698 {
2699 if (initial_ref) Py_XINCREF(_obj);
2700 }
2701
2702 PyObject_ptr & operator=(const PyObject_ptr& item)
2703 {
2704 Py_XINCREF(item._obj);
2705 Py_XDECREF(_obj);
2706 _obj = item._obj;
2707 return *this;
2708 }
2709
2710 ~PyObject_ptr()
2711 {
2712 Py_XDECREF(_obj);
2713 }
2714
2715 operator PyObject *() const
2716 {
2717 return _obj;
2718 }
2719
2720 PyObject *operator->() const
2721 {
2722 return _obj;
2723 }
2724 };
2725 }
2726
2727
2728 namespace swig {
2729 struct PyObject_var : PyObject_ptr {
2730 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2731
2732 PyObject_var & operator = (PyObject* obj)
2733 {
2734 Py_XDECREF(_obj);
2735 _obj = obj;
2736 return *this;
2737 }
2738 };
2739 }
2740
2741
2742 #include "wx/wxPython/wxPython.h"
2743 #include "wx/wxPython/pyclasses.h"
2744
2745
2746 static const wxString wxPyEmptyString(wxEmptyString);
2747 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2748
2749
2750
2751 #include <limits.h>
2752 #ifndef LLONG_MIN
2753 # define LLONG_MIN LONG_LONG_MIN
2754 #endif
2755 #ifndef LLONG_MAX
2756 # define LLONG_MAX LONG_LONG_MAX
2757 #endif
2758 #ifndef ULLONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2760 #endif
2761
2762
2763 SWIGINTERN int
2764 SWIG_AsVal_long (PyObject* obj, long* val)
2765 {
2766 if (PyNumber_Check(obj)) {
2767 if (val) *val = PyInt_AsLong(obj);
2768 return SWIG_OK;
2769 }
2770 return SWIG_TypeError;
2771 }
2772
2773
2774 SWIGINTERN int
2775 SWIG_AsVal_int (PyObject * obj, int *val)
2776 {
2777 long v;
2778 int res = SWIG_AsVal_long (obj, &v);
2779 if (SWIG_IsOK(res)) {
2780 if ((v < INT_MIN || v > INT_MAX)) {
2781 return SWIG_OverflowError;
2782 } else {
2783 if (val) *val = static_cast< int >(v);
2784 }
2785 }
2786 return res;
2787 }
2788
2789
2790 SWIGINTERN int
2791 SWIG_AsVal_bool (PyObject *obj, bool *val)
2792 {
2793 if (obj == Py_True) {
2794 if (val) *val = true;
2795 return SWIG_OK;
2796 } else if (obj == Py_False) {
2797 if (val) *val = false;
2798 return SWIG_OK;
2799 } else {
2800 long v = 0;
2801 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2802 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2803 return res;
2804 }
2805 }
2806
2807
2808 #define SWIG_From_long PyInt_FromLong
2809
2810
2811 SWIGINTERNINLINE PyObject *
2812 SWIG_From_int (int value)
2813 {
2814 return SWIG_From_long (value);
2815 }
2816
2817
2818 SWIGINTERN int
2819 SWIG_AsVal_double (PyObject *obj, double* val)
2820 {
2821 if (PyNumber_Check(obj)) {
2822 if (val) *val = PyFloat_AsDouble(obj);
2823 return SWIG_OK;
2824 }
2825 return SWIG_TypeError;
2826 }
2827
2828
2829 #define SWIG_From_double PyFloat_FromDouble
2830
2831 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2832 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2833 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2834 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2835 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){
2836 int style = self->GetExtraStyle();
2837 if ( on )
2838 style |= wxFRAME_EX_METAL;
2839 else
2840 style &= ~wxFRAME_EX_METAL;
2841 self->SetExtraStyle(style);
2842 }
2843
2844 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2845
2846
2847
2848 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2849 wxRect r;
2850 self->GetFieldRect(i, r);
2851 return r;
2852 }
2853 static const wxString wxPySplitterNameStr(wxT("splitter"));
2854 static const wxString wxPySashNameStr(wxT("sashWindow"));
2855 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2856
2857 #include <wx/popupwin.h>
2858
2859
2860 class wxPopupWindow : public wxWindow {
2861 public:
2862 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2863 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2864 };
2865
2866 class wxPyPopupTransientWindow : public wxPopupWindow
2867 {
2868 public:
2869 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2870 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2871 };
2872
2873
2874 #include <wx/tipwin.h>
2875
2876 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2877 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2878 }
2879
2880 #include <wx/tipwin.h>
2881 #include <wx/vscroll.h>
2882
2883
2884 SWIGINTERNINLINE PyObject*
2885 SWIG_From_unsigned_SS_long (unsigned long value)
2886 {
2887 return (value > LONG_MAX) ?
2888 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2889 }
2890
2891
2892 SWIGINTERNINLINE PyObject *
2893 SWIG_From_size_t (size_t value)
2894 {
2895 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2896 }
2897
2898
2899 SWIGINTERN int
2900 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2901 {
2902 long v = 0;
2903 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2904 return SWIG_TypeError;
2905 }
2906 else if (val)
2907 *val = (unsigned long)v;
2908 return SWIG_OK;
2909 }
2910
2911
2912 SWIGINTERNINLINE int
2913 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2914 {
2915 unsigned long v;
2916 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2917 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2918 return res;
2919 }
2920
2921
2922 class wxPyVScrolledWindow : public wxVScrolledWindow
2923 {
2924 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2925 public:
2926 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2927
2928 wxPyVScrolledWindow(wxWindow *parent,
2929 wxWindowID id = wxID_ANY,
2930 const wxPoint& pos = wxDefaultPosition,
2931 const wxSize& size = wxDefaultSize,
2932 long style = 0,
2933 const wxString& name = wxPyPanelNameStr)
2934 : wxVScrolledWindow(parent, id, pos, size, style, name)
2935 {}
2936
2937 // Overridable virtuals
2938
2939 // this function must be overridden in the derived class and it should
2940 // return the height of the given line in pixels
2941 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight);
2942 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); // old name
2943
2944 // this function doesn't have to be overridden but it may be useful to do
2945 // it if calculating the lines heights is a relatively expensive operation
2946 // as it gives the user code a possibility to calculate several of them at
2947 // once
2948 //
2949 // OnGetLinesHint() is normally called just before OnGetRowHeight() but you
2950 // shouldn't rely on the latter being called for all lines in the interval
2951 // specified here. It is also possible that OnGetRowHeight() will be
2952 // called for the lines outside of this interval, so this is really just a
2953 // hint, not a promise.
2954 //
2955 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2956 // usual
2957 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint);
2958 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); // old name
2959
2960 // when the number of lines changes, we try to estimate the total height
2961 // of all lines which is a rather expensive operation in terms of lines
2962 // access, so if the user code may estimate the average height
2963 // better/faster than we do, it should override this function to implement
2964 // its own logic
2965 //
2966 // this function should return the best guess for the total height it may
2967 // make
2968 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2969
2970
2971 // Also expose some other interesting protected methods
2972
2973
2974 // get the total height of the lines between lineMin (inclusive) and
2975 // lineMax (exclusive)
2976 wxCoord GetRowsHeight(size_t lineMin, size_t lineMax) const
2977 { return wxVScrolledWindow::GetRowsHeight(lineMin, lineMax); }
2978
2979
2980 PYPRIVATE;
2981 };
2982
2983 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2984
2985 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetRowHeight);
2986 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2987 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetRowsHeightHint);
2988 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2989
2990 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2991
2992
2993 class wxPyHScrolledWindow : public wxHScrolledWindow
2994 {
2995 DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow)
2996 public:
2997 wxPyHScrolledWindow() : wxHScrolledWindow() {}
2998
2999 wxPyHScrolledWindow(wxWindow *parent,
3000 wxWindowID id = wxID_ANY,
3001 const wxPoint& pos = wxDefaultPosition,
3002 const wxSize& size = wxDefaultSize,
3003 long style = 0,
3004 const wxString& name = wxPyPanelNameStr)
3005 : wxHScrolledWindow(parent, id, pos, size, style, name)
3006 {}
3007
3008 // Overridable virtuals
3009 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth);
3010 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint);
3011 DEC_PYCALLBACK_COORD_const(EstimateTotalWidth);
3012
3013 wxCoord GetColumnsWidth(size_t columnMin, size_t columnMax) const
3014 { return wxHScrolledWindow::GetColumnsWidth(columnMin, columnMax); }
3015
3016 PYPRIVATE;
3017 };
3018
3019 IMPLEMENT_ABSTRACT_CLASS(wxPyHScrolledWindow, wxHScrolledWindow);
3020
3021 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHScrolledWindow, wxHScrolledWindow, OnGetColumnWidth);
3022 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHScrolledWindow, wxHScrolledWindow, OnGetColumnsWidthHint);
3023 IMP_PYCALLBACK_COORD_const (wxPyHScrolledWindow, wxHScrolledWindow, EstimateTotalWidth);
3024
3025
3026
3027 class wxPyHVScrolledWindow : public wxHVScrolledWindow
3028 {
3029 DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow)
3030 public:
3031 wxPyHVScrolledWindow() : wxHVScrolledWindow() {}
3032
3033 wxPyHVScrolledWindow(wxWindow *parent,
3034 wxWindowID id = wxID_ANY,
3035 const wxPoint& pos = wxDefaultPosition,
3036 const wxSize& size = wxDefaultSize,
3037 long style = 0,
3038 const wxString& name = wxPyPanelNameStr)
3039 : wxHVScrolledWindow(parent, id, pos, size, style, name)
3040 {}
3041
3042 // Overridable virtuals
3043 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight);
3044 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint);
3045 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
3046
3047 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth);
3048 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint);
3049 DEC_PYCALLBACK_COORD_const(EstimateTotalWidth);
3050
3051 wxCoord GetRowsHeight(size_t lineMin, size_t lineMax) const
3052 { return wxHVScrolledWindow::GetRowsHeight(lineMin, lineMax); }
3053
3054 wxCoord GetColumnsWidth(size_t columnMin, size_t columnMax) const
3055 { return wxHVScrolledWindow::GetColumnsWidth(columnMin, columnMax); }
3056
3057 PYPRIVATE;
3058 };
3059
3060 IMPLEMENT_ABSTRACT_CLASS(wxPyHVScrolledWindow, wxHVScrolledWindow);
3061
3062 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetRowHeight);
3063 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetRowsHeightHint);
3064 IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow, wxHVScrolledWindow, EstimateTotalHeight);
3065
3066 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetColumnWidth);
3067 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetColumnsWidthHint);
3068 IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow, wxHVScrolledWindow, EstimateTotalWidth);
3069
3070
3071
3072 #include <wx/vlbox.h>
3073
3074 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
3075
3076 class wxPyVListBox : public wxVListBox
3077 {
3078 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
3079 public:
3080 wxPyVListBox() : wxVListBox() {}
3081
3082 wxPyVListBox(wxWindow *parent,
3083 wxWindowID id = wxID_ANY,
3084 const wxPoint& pos = wxDefaultPosition,
3085 const wxSize& size = wxDefaultSize,
3086 long style = 0,
3087 const wxString& name = wxPyVListBoxNameStr)
3088 : wxVListBox(parent, id, pos, size, style, name)
3089 {}
3090
3091 // Overridable virtuals
3092
3093 // the derived class must implement this function to actually draw the item
3094 // with the given index on the provided DC
3095 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3096 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3097
3098
3099 // the derived class must implement this method to return the height of the
3100 // specified item
3101 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3102 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3103
3104
3105 // this method may be used to draw separators between the lines; note that
3106 // the rectangle may be modified, typically to deflate it a bit before
3107 // passing to OnDrawItem()
3108 //
3109 // the base class version doesn't do anything
3110 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3111 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3112
3113
3114 // this method is used to draw the items background and, maybe, a border
3115 // around it
3116 //
3117 // the base class version implements a reasonable default behaviour which
3118 // consists in drawing the selected item with the standard background
3119 // colour and drawing a border around the item if it is either selected or
3120 // current
3121 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3122 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3123
3124
3125 PYPRIVATE;
3126 };
3127
3128 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3129
3130 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3131 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3132 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3133 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3134
3135
3136 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3137 unsigned long cookie = 0;
3138 int selected = self->GetFirstSelected(cookie);
3139 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3140 PyObject* tup = PyTuple_New(2);
3141 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3142 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3143 wxPyEndBlockThreads(blocked);
3144 return tup;
3145 }
3146 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3147 int selected = self->GetNextSelected(cookie);
3148 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3149 PyObject* tup = PyTuple_New(2);
3150 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3151 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3152 wxPyEndBlockThreads(blocked);
3153 return tup;
3154 }
3155
3156 #include <wx/htmllbox.h>
3157
3158
3159 class wxPyHtmlListBox : public wxHtmlListBox
3160 {
3161 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3162 public:
3163 wxPyHtmlListBox() : wxHtmlListBox() {}
3164
3165 wxPyHtmlListBox(wxWindow *parent,
3166 wxWindowID id = wxID_ANY,
3167 const wxPoint& pos = wxDefaultPosition,
3168 const wxSize& size = wxDefaultSize,
3169 long style = 0,
3170 const wxString& name = wxPyVListBoxNameStr)
3171 : wxHtmlListBox(parent, id, pos, size, style, name)
3172 {}
3173
3174 // Overridable virtuals
3175
3176 // this method must be implemented in the derived class and should return
3177 // the body (i.e. without <html>) of the HTML for the given item
3178 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3179
3180 // this function may be overridden to decorate HTML returned by OnGetItem()
3181 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3182
3183 // These are from wxVListBox
3184 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3185 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3186
3187 // TODO:
3188 // // this method allows to customize the selection appearance: it may be used
3189 // // to specify the colour of the text which normally has the given colour
3190 // // colFg when it is inside the selection
3191 // //
3192 // // by default, the original colour is not used at all and all text has the
3193 // // same (default for this system) colour inside selection
3194 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3195
3196 // // this is the same as GetSelectedTextColour() but allows to customize the
3197 // // background colour -- this is even more rarely used as you can change it
3198 // // globally using SetSelectionBackground()
3199 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3200
3201
3202 // This method may be overriden to handle clicking on a link in
3203 // the listbox. By default, clicking links is ignored.
3204 virtual void OnLinkClicked(size_t n,
3205 const wxHtmlLinkInfo& link);
3206
3207 PYPRIVATE;
3208 };
3209
3210
3211 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3212
3213 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3214 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3215 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3216 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3217
3218
3219 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3220 const wxHtmlLinkInfo& link) {
3221 bool found;
3222 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3223 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3224 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3225 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3226 Py_DECREF(obj);
3227 }
3228 wxPyEndBlockThreads(blocked);
3229 if (! found)
3230 wxPyHtmlListBox::OnLinkClicked(n, link);
3231 }
3232
3233
3234
3235 const wxArrayString wxPyEmptyStringArray;
3236
3237 static const wxString wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr);
3238
3239
3240
3241 #ifndef wxHAS_TASK_BAR_ICON
3242 // implement dummy classes for platforms that don't have it
3243
3244 class wxTaskBarIcon : public wxEvtHandler
3245 {
3246 public:
3247 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3248 };
3249
3250
3251 class wxTaskBarIconEvent : public wxEvent
3252 {
3253 public:
3254 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3255 { wxPyRaiseNotImplemented(); }
3256 virtual wxEvent* Clone() const { return NULL; }
3257 bool IsOk() const { return false; }
3258 bool IsIconInstalled() const { return false; }
3259 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3260 bool RemoveIcon() { return false; }
3261 bool PopupMenu(wxMenu *menu) { return false; }
3262 };
3263
3264 enum {
3265 wxEVT_TASKBAR_MOVE = 0,
3266 wxEVT_TASKBAR_LEFT_DOWN = 0,
3267 wxEVT_TASKBAR_LEFT_UP = 0,
3268 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3269 wxEVT_TASKBAR_RIGHT_UP = 0,
3270 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3271 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3272 };
3273
3274
3275 #else
3276 // Otherwise make a class that can virtualize CreatePopupMenu
3277 class wxPyTaskBarIcon : public wxTaskBarIcon
3278 {
3279 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3280 public:
3281 wxPyTaskBarIcon() : wxTaskBarIcon()
3282 {}
3283
3284 wxMenu* CreatePopupMenu() {
3285 wxMenu *rval = NULL;
3286 bool found;
3287 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3288 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3289 PyObject* ro;
3290 wxMenu* ptr;
3291 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3292 if (ro) {
3293 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3294 rval = ptr;
3295 Py_DECREF(ro);
3296 }
3297 }
3298 wxPyEndBlockThreads(blocked);
3299 if (! found)
3300 rval = wxTaskBarIcon::CreatePopupMenu();
3301 return rval;
3302 }
3303
3304 PYPRIVATE;
3305 };
3306
3307 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3308
3309 #endif
3310
3311 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3312 self->RemoveIcon();
3313 delete self;
3314 }
3315 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3316 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3317 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3318 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3319 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3320 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3321
3322 // for compatibility only
3323 #define wxHIDE_READONLY 0
3324
3325 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3326 wxArrayString arr;
3327 self->GetFilenames(arr);
3328 return wxArrayString2PyList_helper(arr);
3329 }
3330 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3331 wxArrayString arr;
3332 self->GetPaths(arr);
3333 return wxArrayString2PyList_helper(arr);
3334 }
3335 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3336 return wxArrayInt2PyList_helper(self->GetSelections());
3337 }
3338 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){
3339 return new wxSingleChoiceDialog(parent, message, caption,
3340 choices, choices_array, NULL, style, pos);
3341 }
3342 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3343
3344 SWIGINTERNINLINE PyObject*
3345 SWIG_From_bool (bool value)
3346 {
3347 return PyBool_FromLong(value ? 1 : 0);
3348 }
3349
3350
3351 #include <wx/mdi.h>
3352
3353 // C++ version of Python aware wxWindow
3354 class wxPyWindow : public wxWindow
3355 {
3356 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3357 public:
3358 wxPyWindow() : wxWindow() {}
3359 wxPyWindow(wxWindow* parent, const wxWindowID id,
3360 const wxPoint& pos = wxDefaultPosition,
3361 const wxSize& size = wxDefaultSize,
3362 long style = 0,
3363 const wxString& name = wxPyPanelNameStr)
3364 : wxWindow(parent, id, pos, size, style, name) {}
3365
3366
3367 bool DoEraseBackground(wxDC* dc) {
3368 #ifdef __WXMSW__
3369 return wxWindow::DoEraseBackground(dc->GetHDC());
3370 #else
3371 dc->SetBackground(wxBrush(GetBackgroundColour()));
3372 dc->Clear();
3373 return true;
3374 #endif
3375 }
3376
3377 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3378 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3379 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3380 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3381
3382 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3383 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3384 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3385
3386 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3387 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3388
3389 DEC_PYCALLBACK__(InitDialog);
3390 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3391 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3392 DEC_PYCALLBACK_BOOL_(Validate);
3393
3394 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3395 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3396 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3397
3398 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3399 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3400
3401 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3402 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3403
3404 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3405
3406 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3407
3408 PYPRIVATE;
3409 };
3410
3411 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3412
3413 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3414 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3415 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3416 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3417
3418 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3419 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3420 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3421
3422 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3423 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3424
3425 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3426 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3427 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3428 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3429
3430 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3431 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3432 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3433
3434 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3435 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3436
3437 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3438 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3439
3440 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3441
3442 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3443
3444 // C++ version of Python aware wxPanel
3445 class wxPyPanel : public wxPanel
3446 {
3447 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3448 public:
3449 wxPyPanel() : wxPanel() {}
3450 wxPyPanel(wxWindow* parent, const wxWindowID id,
3451 const wxPoint& pos = wxDefaultPosition,
3452 const wxSize& size = wxDefaultSize,
3453 long style = 0,
3454 const wxString& name = wxPyPanelNameStr)
3455 : wxPanel(parent, id, pos, size, style, name) {}
3456
3457 bool DoEraseBackground(wxDC* dc) {
3458 #ifdef __WXMSW__
3459 return wxWindow::DoEraseBackground(dc->GetHDC());
3460 #else
3461 dc->SetBackground(wxBrush(GetBackgroundColour()));
3462 dc->Clear();
3463 return true;
3464 #endif
3465 }
3466
3467
3468 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3469 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3470 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3471 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3472
3473 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3474 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3475 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3476
3477 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3478 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3479
3480 DEC_PYCALLBACK__(InitDialog);
3481 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3482 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3483 DEC_PYCALLBACK_BOOL_(Validate);
3484
3485 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3486 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3487 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3488
3489 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3490 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3491
3492 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3493 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3494
3495 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3496
3497 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3498
3499 PYPRIVATE;
3500 };
3501
3502 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3503
3504 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3505 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3506 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3507 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3508
3509 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3510 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3511 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3512
3513 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3514 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3515
3516 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3517 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3518 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3519 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3520
3521 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3522 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3523 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3524
3525 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3526 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3527
3528 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3529 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3530
3531 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3532
3533 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3534
3535 // C++ version of Python aware wxScrolledWindow
3536 class wxPyScrolledWindow : public wxScrolledWindow
3537 {
3538 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3539 public:
3540 wxPyScrolledWindow() : wxScrolledWindow() {}
3541 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3542 const wxPoint& pos = wxDefaultPosition,
3543 const wxSize& size = wxDefaultSize,
3544 long style = 0,
3545 const wxString& name = wxPyPanelNameStr)
3546 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3547
3548 bool DoEraseBackground(wxDC* dc) {
3549 #ifdef __WXMSW__
3550 return wxWindow::DoEraseBackground(dc->GetHDC());
3551 #else
3552 dc->SetBackground(wxBrush(GetBackgroundColour()));
3553 dc->Clear();
3554 return true;
3555 #endif
3556 }
3557
3558 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3559 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3560 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3561 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3562
3563 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3564 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3565 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3566
3567 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3568 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3569
3570 DEC_PYCALLBACK__(InitDialog);
3571 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3572 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3573 DEC_PYCALLBACK_BOOL_(Validate);
3574
3575 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3576 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3577 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3578
3579 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3580 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3581
3582 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3583 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3584
3585 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3586
3587 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3588
3589 PYPRIVATE;
3590 };
3591
3592 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3593
3594 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3595 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3596 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3597 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3598
3599 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3600 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3601 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3602
3603 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3604 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3605
3606 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3607 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3608 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3609 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3610
3611 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3612 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3613 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3614
3615 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3616 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3617
3618 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3619 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3620
3621 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3622
3623 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3624
3625
3626 #include "wx/wxPython/printfw.h"
3627
3628
3629 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3630 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3631 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3632 PyObject* data;
3633 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3634 data = PyString_FromStringAndSize(self->GetPrivData(),
3635 self->GetPrivDataLen());
3636 wxPyEndBlockThreads(blocked);
3637 return data;
3638 }
3639 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3640 if (! PyString_Check(data)) {
3641 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3642 "Expected string object"));
3643 return /* NULL */ ;
3644 }
3645
3646 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3647 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3648 wxPyEndBlockThreads(blocked);
3649 }
3650
3651
3652 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3653
3654 // Since this one would be tough and ugly to do with the Macros...
3655 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3656 bool hadErr = false;
3657 bool found;
3658
3659 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3660 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3661 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3662 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3663 PyObject* val;
3664
3665 val = PyTuple_GetItem(result, 0);
3666 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3667 else hadErr = true;
3668
3669 val = PyTuple_GetItem(result, 1);
3670 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3671 else hadErr = true;
3672
3673 val = PyTuple_GetItem(result, 2);
3674 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3675 else hadErr = true;
3676
3677 val = PyTuple_GetItem(result, 3);
3678 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3679 else hadErr = true;
3680 }
3681 else
3682 hadErr = true;
3683
3684 if (hadErr) {
3685 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3686 PyErr_Print();
3687 }
3688 Py_DECREF(result);
3689 }
3690 wxPyEndBlockThreads(blocked);
3691 if (! found)
3692 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3693 }
3694
3695
3696
3697 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3698 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3699 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3700 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3701 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3702 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3703 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3704
3705
3706
3707
3708
3709 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3710 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3711
3712
3713 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3714 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3715 bool rval=false; \
3716 bool found; \
3717 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3718 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3719 PyObject* win = wxPyMake_wxObject(a,false); \
3720 PyObject* dc = wxPyMake_wxObject(&b,false); \
3721 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3722 Py_DECREF(win); \
3723 Py_DECREF(dc); \
3724 } \
3725 wxPyEndBlockThreads(blocked); \
3726 if (! found) \
3727 rval = PCLASS::CBNAME(a, b); \
3728 return rval; \
3729 }
3730
3731
3732
3733
3734 class wxPyPrintPreview : public wxPrintPreview
3735 {
3736 DECLARE_CLASS(wxPyPrintPreview)
3737 public:
3738 wxPyPrintPreview(wxPyPrintout* printout,
3739 wxPyPrintout* printoutForPrinting,
3740 wxPrintDialogData* data=NULL)
3741 : wxPrintPreview(printout, printoutForPrinting, data)
3742 {}
3743 wxPyPrintPreview(wxPyPrintout* printout,
3744 wxPyPrintout* printoutForPrinting,
3745 wxPrintData* data)
3746 : wxPrintPreview(printout, printoutForPrinting, data)
3747 {}
3748
3749 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3750 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3751 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3752 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3753 DEC_PYCALLBACK_VOID_INT(SetZoom);
3754 DEC_PYCALLBACK_BOOL_BOOL(Print);
3755 DEC_PYCALLBACK_VOID_(DetermineScaling);
3756
3757 PYPRIVATE;
3758 };
3759
3760 // Stupid renamed classes... Fix this in 2.5...
3761 #if defined(__WXMSW__)
3762 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3763 #elif defined(__WXMAC__)
3764 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3765 #else
3766 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3767 #endif
3768
3769 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3770 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3771 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3772 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3773 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3774 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3775 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3776
3777
3778 class wxPyPreviewFrame : public wxPreviewFrame
3779 {
3780 DECLARE_CLASS(wxPyPreviewFrame)
3781 public:
3782 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3783 const wxString& title,
3784 const wxPoint& pos = wxDefaultPosition,
3785 const wxSize& size = wxDefaultSize,
3786 long style = wxDEFAULT_FRAME_STYLE,
3787 const wxString& name = wxPyFrameNameStr)
3788 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3789 {}
3790
3791 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3792 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3793
3794 DEC_PYCALLBACK_VOID_(Initialize);
3795 DEC_PYCALLBACK_VOID_(CreateCanvas);
3796 DEC_PYCALLBACK_VOID_(CreateControlBar);
3797
3798 PYPRIVATE;
3799 };
3800
3801 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3802
3803 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3804 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3805 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3806
3807
3808 class wxPyPreviewControlBar : public wxPreviewControlBar
3809 {
3810 DECLARE_CLASS(wxPyPreviewControlBar)
3811 public:
3812 wxPyPreviewControlBar(wxPrintPreview *preview,
3813 long buttons,
3814 wxWindow *parent,
3815 const wxPoint& pos = wxDefaultPosition,
3816 const wxSize& size = wxDefaultSize,
3817 long style = 0,
3818 const wxString& name = wxPyPanelNameStr)
3819 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3820 {}
3821
3822 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3823
3824 DEC_PYCALLBACK_VOID_(CreateButtons);
3825 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3826
3827 PYPRIVATE;
3828 };
3829
3830 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3831 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3832 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3833
3834 #ifdef __cplusplus
3835 extern "C" {
3836 #endif
3837 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3838 PyObject *resultobj = 0;
3839 wxWindow *arg1 = (wxWindow *) 0 ;
3840 int arg2 = (int) (int)-1 ;
3841 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3842 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3843 wxSize const &arg4_defvalue = wxDefaultSize ;
3844 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3845 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3846 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3847 wxString *arg6 = (wxString *) &arg6_defvalue ;
3848 wxPanel *result = 0 ;
3849 void *argp1 = 0 ;
3850 int res1 = 0 ;
3851 int val2 ;
3852 int ecode2 = 0 ;
3853 wxPoint temp3 ;
3854 wxSize temp4 ;
3855 long val5 ;
3856 int ecode5 = 0 ;
3857 bool temp6 = false ;
3858 PyObject * obj0 = 0 ;
3859 PyObject * obj1 = 0 ;
3860 PyObject * obj2 = 0 ;
3861 PyObject * obj3 = 0 ;
3862 PyObject * obj4 = 0 ;
3863 PyObject * obj5 = 0 ;
3864 char * kwnames[] = {
3865 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3866 };
3867
3868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3870 if (!SWIG_IsOK(res1)) {
3871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3872 }
3873 arg1 = reinterpret_cast< wxWindow * >(argp1);
3874 if (obj1) {
3875 ecode2 = SWIG_AsVal_int(obj1, &val2);
3876 if (!SWIG_IsOK(ecode2)) {
3877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3878 }
3879 arg2 = static_cast< int >(val2);
3880 }
3881 if (obj2) {
3882 {
3883 arg3 = &temp3;
3884 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3885 }
3886 }
3887 if (obj3) {
3888 {
3889 arg4 = &temp4;
3890 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3891 }
3892 }
3893 if (obj4) {
3894 ecode5 = SWIG_AsVal_long(obj4, &val5);
3895 if (!SWIG_IsOK(ecode5)) {
3896 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3897 }
3898 arg5 = static_cast< long >(val5);
3899 }
3900 if (obj5) {
3901 {
3902 arg6 = wxString_in_helper(obj5);
3903 if (arg6 == NULL) SWIG_fail;
3904 temp6 = true;
3905 }
3906 }
3907 {
3908 if (!wxPyCheckForApp()) SWIG_fail;
3909 PyThreadState* __tstate = wxPyBeginAllowThreads();
3910 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3911 wxPyEndAllowThreads(__tstate);
3912 if (PyErr_Occurred()) SWIG_fail;
3913 }
3914 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3915 {
3916 if (temp6)
3917 delete arg6;
3918 }
3919 return resultobj;
3920 fail:
3921 {
3922 if (temp6)
3923 delete arg6;
3924 }
3925 return NULL;
3926 }
3927
3928
3929 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3930 PyObject *resultobj = 0;
3931 wxPanel *result = 0 ;
3932
3933 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3934 {
3935 if (!wxPyCheckForApp()) SWIG_fail;
3936 PyThreadState* __tstate = wxPyBeginAllowThreads();
3937 result = (wxPanel *)new wxPanel();
3938 wxPyEndAllowThreads(__tstate);
3939 if (PyErr_Occurred()) SWIG_fail;
3940 }
3941 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3942 return resultobj;
3943 fail:
3944 return NULL;
3945 }
3946
3947
3948 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3949 PyObject *resultobj = 0;
3950 wxPanel *arg1 = (wxPanel *) 0 ;
3951 wxWindow *arg2 = (wxWindow *) 0 ;
3952 int arg3 = (int) (int)-1 ;
3953 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3954 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3955 wxSize const &arg5_defvalue = wxDefaultSize ;
3956 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3957 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3958 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3959 wxString *arg7 = (wxString *) &arg7_defvalue ;
3960 bool result;
3961 void *argp1 = 0 ;
3962 int res1 = 0 ;
3963 void *argp2 = 0 ;
3964 int res2 = 0 ;
3965 int val3 ;
3966 int ecode3 = 0 ;
3967 wxPoint temp4 ;
3968 wxSize temp5 ;
3969 long val6 ;
3970 int ecode6 = 0 ;
3971 bool temp7 = false ;
3972 PyObject * obj0 = 0 ;
3973 PyObject * obj1 = 0 ;
3974 PyObject * obj2 = 0 ;
3975 PyObject * obj3 = 0 ;
3976 PyObject * obj4 = 0 ;
3977 PyObject * obj5 = 0 ;
3978 PyObject * obj6 = 0 ;
3979 char * kwnames[] = {
3980 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3981 };
3982
3983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3985 if (!SWIG_IsOK(res1)) {
3986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3987 }
3988 arg1 = reinterpret_cast< wxPanel * >(argp1);
3989 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3990 if (!SWIG_IsOK(res2)) {
3991 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3992 }
3993 arg2 = reinterpret_cast< wxWindow * >(argp2);
3994 if (obj2) {
3995 ecode3 = SWIG_AsVal_int(obj2, &val3);
3996 if (!SWIG_IsOK(ecode3)) {
3997 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3998 }
3999 arg3 = static_cast< int >(val3);
4000 }
4001 if (obj3) {
4002 {
4003 arg4 = &temp4;
4004 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4005 }
4006 }
4007 if (obj4) {
4008 {
4009 arg5 = &temp5;
4010 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4011 }
4012 }
4013 if (obj5) {
4014 ecode6 = SWIG_AsVal_long(obj5, &val6);
4015 if (!SWIG_IsOK(ecode6)) {
4016 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
4017 }
4018 arg6 = static_cast< long >(val6);
4019 }
4020 if (obj6) {
4021 {
4022 arg7 = wxString_in_helper(obj6);
4023 if (arg7 == NULL) SWIG_fail;
4024 temp7 = true;
4025 }
4026 }
4027 {
4028 PyThreadState* __tstate = wxPyBeginAllowThreads();
4029 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4030 wxPyEndAllowThreads(__tstate);
4031 if (PyErr_Occurred()) SWIG_fail;
4032 }
4033 {
4034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4035 }
4036 {
4037 if (temp7)
4038 delete arg7;
4039 }
4040 return resultobj;
4041 fail:
4042 {
4043 if (temp7)
4044 delete arg7;
4045 }
4046 return NULL;
4047 }
4048
4049
4050 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4051 PyObject *resultobj = 0;
4052 wxPanel *arg1 = (wxPanel *) 0 ;
4053 void *argp1 = 0 ;
4054 int res1 = 0 ;
4055 PyObject *swig_obj[1] ;
4056
4057 if (!args) SWIG_fail;
4058 swig_obj[0] = args;
4059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
4060 if (!SWIG_IsOK(res1)) {
4061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
4062 }
4063 arg1 = reinterpret_cast< wxPanel * >(argp1);
4064 {
4065 PyThreadState* __tstate = wxPyBeginAllowThreads();
4066 (arg1)->SetFocusIgnoringChildren();
4067 wxPyEndAllowThreads(__tstate);
4068 if (PyErr_Occurred()) SWIG_fail;
4069 }
4070 resultobj = SWIG_Py_Void();
4071 return resultobj;
4072 fail:
4073 return NULL;
4074 }
4075
4076
4077 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4078 PyObject *resultobj = 0;
4079 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4080 SwigValueWrapper<wxVisualAttributes > result;
4081 int val1 ;
4082 int ecode1 = 0 ;
4083 PyObject * obj0 = 0 ;
4084 char * kwnames[] = {
4085 (char *) "variant", NULL
4086 };
4087
4088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4089 if (obj0) {
4090 ecode1 = SWIG_AsVal_int(obj0, &val1);
4091 if (!SWIG_IsOK(ecode1)) {
4092 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4093 }
4094 arg1 = static_cast< wxWindowVariant >(val1);
4095 }
4096 {
4097 if (!wxPyCheckForApp()) SWIG_fail;
4098 PyThreadState* __tstate = wxPyBeginAllowThreads();
4099 result = wxPanel::GetClassDefaultAttributes(arg1);
4100 wxPyEndAllowThreads(__tstate);
4101 if (PyErr_Occurred()) SWIG_fail;
4102 }
4103 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4104 return resultobj;
4105 fail:
4106 return NULL;
4107 }
4108
4109
4110 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4111 PyObject *obj;
4112 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4113 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4114 return SWIG_Py_Void();
4115 }
4116
4117 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4118 return SWIG_Python_InitShadowInstance(args);
4119 }
4120
4121 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4122 PyObject *resultobj = 0;
4123 wxWindow *arg1 = (wxWindow *) 0 ;
4124 int arg2 = (int) (int)-1 ;
4125 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4126 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4127 wxSize const &arg4_defvalue = wxDefaultSize ;
4128 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4129 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4130 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4131 wxString *arg6 = (wxString *) &arg6_defvalue ;
4132 wxScrolledWindow *result = 0 ;
4133 void *argp1 = 0 ;
4134 int res1 = 0 ;
4135 int val2 ;
4136 int ecode2 = 0 ;
4137 wxPoint temp3 ;
4138 wxSize temp4 ;
4139 long val5 ;
4140 int ecode5 = 0 ;
4141 bool temp6 = false ;
4142 PyObject * obj0 = 0 ;
4143 PyObject * obj1 = 0 ;
4144 PyObject * obj2 = 0 ;
4145 PyObject * obj3 = 0 ;
4146 PyObject * obj4 = 0 ;
4147 PyObject * obj5 = 0 ;
4148 char * kwnames[] = {
4149 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4150 };
4151
4152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4154 if (!SWIG_IsOK(res1)) {
4155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4156 }
4157 arg1 = reinterpret_cast< wxWindow * >(argp1);
4158 if (obj1) {
4159 ecode2 = SWIG_AsVal_int(obj1, &val2);
4160 if (!SWIG_IsOK(ecode2)) {
4161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4162 }
4163 arg2 = static_cast< int >(val2);
4164 }
4165 if (obj2) {
4166 {
4167 arg3 = &temp3;
4168 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4169 }
4170 }
4171 if (obj3) {
4172 {
4173 arg4 = &temp4;
4174 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4175 }
4176 }
4177 if (obj4) {
4178 ecode5 = SWIG_AsVal_long(obj4, &val5);
4179 if (!SWIG_IsOK(ecode5)) {
4180 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4181 }
4182 arg5 = static_cast< long >(val5);
4183 }
4184 if (obj5) {
4185 {
4186 arg6 = wxString_in_helper(obj5);
4187 if (arg6 == NULL) SWIG_fail;
4188 temp6 = true;
4189 }
4190 }
4191 {
4192 if (!wxPyCheckForApp()) SWIG_fail;
4193 PyThreadState* __tstate = wxPyBeginAllowThreads();
4194 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4195 wxPyEndAllowThreads(__tstate);
4196 if (PyErr_Occurred()) SWIG_fail;
4197 }
4198 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4199 {
4200 if (temp6)
4201 delete arg6;
4202 }
4203 return resultobj;
4204 fail:
4205 {
4206 if (temp6)
4207 delete arg6;
4208 }
4209 return NULL;
4210 }
4211
4212
4213 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4214 PyObject *resultobj = 0;
4215 wxScrolledWindow *result = 0 ;
4216
4217 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4218 {
4219 if (!wxPyCheckForApp()) SWIG_fail;
4220 PyThreadState* __tstate = wxPyBeginAllowThreads();
4221 result = (wxScrolledWindow *)new wxScrolledWindow();
4222 wxPyEndAllowThreads(__tstate);
4223 if (PyErr_Occurred()) SWIG_fail;
4224 }
4225 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4226 return resultobj;
4227 fail:
4228 return NULL;
4229 }
4230
4231
4232 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4233 PyObject *resultobj = 0;
4234 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4235 wxWindow *arg2 = (wxWindow *) 0 ;
4236 int arg3 = (int) (int)-1 ;
4237 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4238 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4239 wxSize const &arg5_defvalue = wxDefaultSize ;
4240 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4241 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4242 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4243 wxString *arg7 = (wxString *) &arg7_defvalue ;
4244 bool result;
4245 void *argp1 = 0 ;
4246 int res1 = 0 ;
4247 void *argp2 = 0 ;
4248 int res2 = 0 ;
4249 int val3 ;
4250 int ecode3 = 0 ;
4251 wxPoint temp4 ;
4252 wxSize temp5 ;
4253 long val6 ;
4254 int ecode6 = 0 ;
4255 bool temp7 = false ;
4256 PyObject * obj0 = 0 ;
4257 PyObject * obj1 = 0 ;
4258 PyObject * obj2 = 0 ;
4259 PyObject * obj3 = 0 ;
4260 PyObject * obj4 = 0 ;
4261 PyObject * obj5 = 0 ;
4262 PyObject * obj6 = 0 ;
4263 char * kwnames[] = {
4264 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4265 };
4266
4267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4269 if (!SWIG_IsOK(res1)) {
4270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4271 }
4272 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4273 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4274 if (!SWIG_IsOK(res2)) {
4275 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4276 }
4277 arg2 = reinterpret_cast< wxWindow * >(argp2);
4278 if (obj2) {
4279 ecode3 = SWIG_AsVal_int(obj2, &val3);
4280 if (!SWIG_IsOK(ecode3)) {
4281 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4282 }
4283 arg3 = static_cast< int >(val3);
4284 }
4285 if (obj3) {
4286 {
4287 arg4 = &temp4;
4288 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4289 }
4290 }
4291 if (obj4) {
4292 {
4293 arg5 = &temp5;
4294 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4295 }
4296 }
4297 if (obj5) {
4298 ecode6 = SWIG_AsVal_long(obj5, &val6);
4299 if (!SWIG_IsOK(ecode6)) {
4300 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4301 }
4302 arg6 = static_cast< long >(val6);
4303 }
4304 if (obj6) {
4305 {
4306 arg7 = wxString_in_helper(obj6);
4307 if (arg7 == NULL) SWIG_fail;
4308 temp7 = true;
4309 }
4310 }
4311 {
4312 PyThreadState* __tstate = wxPyBeginAllowThreads();
4313 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4314 wxPyEndAllowThreads(__tstate);
4315 if (PyErr_Occurred()) SWIG_fail;
4316 }
4317 {
4318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4319 }
4320 {
4321 if (temp7)
4322 delete arg7;
4323 }
4324 return resultobj;
4325 fail:
4326 {
4327 if (temp7)
4328 delete arg7;
4329 }
4330 return NULL;
4331 }
4332
4333
4334 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4335 PyObject *resultobj = 0;
4336 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4337 int arg2 ;
4338 int arg3 ;
4339 int arg4 ;
4340 int arg5 ;
4341 int arg6 = (int) 0 ;
4342 int arg7 = (int) 0 ;
4343 bool arg8 = (bool) false ;
4344 void *argp1 = 0 ;
4345 int res1 = 0 ;
4346 int val2 ;
4347 int ecode2 = 0 ;
4348 int val3 ;
4349 int ecode3 = 0 ;
4350 int val4 ;
4351 int ecode4 = 0 ;
4352 int val5 ;
4353 int ecode5 = 0 ;
4354 int val6 ;
4355 int ecode6 = 0 ;
4356 int val7 ;
4357 int ecode7 = 0 ;
4358 bool val8 ;
4359 int ecode8 = 0 ;
4360 PyObject * obj0 = 0 ;
4361 PyObject * obj1 = 0 ;
4362 PyObject * obj2 = 0 ;
4363 PyObject * obj3 = 0 ;
4364 PyObject * obj4 = 0 ;
4365 PyObject * obj5 = 0 ;
4366 PyObject * obj6 = 0 ;
4367 PyObject * obj7 = 0 ;
4368 char * kwnames[] = {
4369 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4370 };
4371
4372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4374 if (!SWIG_IsOK(res1)) {
4375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4376 }
4377 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4378 ecode2 = SWIG_AsVal_int(obj1, &val2);
4379 if (!SWIG_IsOK(ecode2)) {
4380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4381 }
4382 arg2 = static_cast< int >(val2);
4383 ecode3 = SWIG_AsVal_int(obj2, &val3);
4384 if (!SWIG_IsOK(ecode3)) {
4385 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4386 }
4387 arg3 = static_cast< int >(val3);
4388 ecode4 = SWIG_AsVal_int(obj3, &val4);
4389 if (!SWIG_IsOK(ecode4)) {
4390 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4391 }
4392 arg4 = static_cast< int >(val4);
4393 ecode5 = SWIG_AsVal_int(obj4, &val5);
4394 if (!SWIG_IsOK(ecode5)) {
4395 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4396 }
4397 arg5 = static_cast< int >(val5);
4398 if (obj5) {
4399 ecode6 = SWIG_AsVal_int(obj5, &val6);
4400 if (!SWIG_IsOK(ecode6)) {
4401 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4402 }
4403 arg6 = static_cast< int >(val6);
4404 }
4405 if (obj6) {
4406 ecode7 = SWIG_AsVal_int(obj6, &val7);
4407 if (!SWIG_IsOK(ecode7)) {
4408 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4409 }
4410 arg7 = static_cast< int >(val7);
4411 }
4412 if (obj7) {
4413 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4414 if (!SWIG_IsOK(ecode8)) {
4415 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4416 }
4417 arg8 = static_cast< bool >(val8);
4418 }
4419 {
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4422 wxPyEndAllowThreads(__tstate);
4423 if (PyErr_Occurred()) SWIG_fail;
4424 }
4425 resultobj = SWIG_Py_Void();
4426 return resultobj;
4427 fail:
4428 return NULL;
4429 }
4430
4431
4432 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4433 PyObject *resultobj = 0;
4434 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4435 int arg2 ;
4436 int arg3 ;
4437 void *argp1 = 0 ;
4438 int res1 = 0 ;
4439 int val2 ;
4440 int ecode2 = 0 ;
4441 int val3 ;
4442 int ecode3 = 0 ;
4443 PyObject * obj0 = 0 ;
4444 PyObject * obj1 = 0 ;
4445 PyObject * obj2 = 0 ;
4446 char * kwnames[] = {
4447 (char *) "self",(char *) "x",(char *) "y", NULL
4448 };
4449
4450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4452 if (!SWIG_IsOK(res1)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4454 }
4455 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4456 ecode2 = SWIG_AsVal_int(obj1, &val2);
4457 if (!SWIG_IsOK(ecode2)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4459 }
4460 arg2 = static_cast< int >(val2);
4461 ecode3 = SWIG_AsVal_int(obj2, &val3);
4462 if (!SWIG_IsOK(ecode3)) {
4463 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4464 }
4465 arg3 = static_cast< int >(val3);
4466 {
4467 PyThreadState* __tstate = wxPyBeginAllowThreads();
4468 (arg1)->Scroll(arg2,arg3);
4469 wxPyEndAllowThreads(__tstate);
4470 if (PyErr_Occurred()) SWIG_fail;
4471 }
4472 resultobj = SWIG_Py_Void();
4473 return resultobj;
4474 fail:
4475 return NULL;
4476 }
4477
4478
4479 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4480 PyObject *resultobj = 0;
4481 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4482 int arg2 ;
4483 int result;
4484 void *argp1 = 0 ;
4485 int res1 = 0 ;
4486 int val2 ;
4487 int ecode2 = 0 ;
4488 PyObject * obj0 = 0 ;
4489 PyObject * obj1 = 0 ;
4490 char * kwnames[] = {
4491 (char *) "self",(char *) "orient", NULL
4492 };
4493
4494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4496 if (!SWIG_IsOK(res1)) {
4497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4498 }
4499 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4500 ecode2 = SWIG_AsVal_int(obj1, &val2);
4501 if (!SWIG_IsOK(ecode2)) {
4502 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4503 }
4504 arg2 = static_cast< int >(val2);
4505 {
4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4507 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4508 wxPyEndAllowThreads(__tstate);
4509 if (PyErr_Occurred()) SWIG_fail;
4510 }
4511 resultobj = SWIG_From_int(static_cast< int >(result));
4512 return resultobj;
4513 fail:
4514 return NULL;
4515 }
4516
4517
4518 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4519 PyObject *resultobj = 0;
4520 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4521 int arg2 ;
4522 int arg3 ;
4523 void *argp1 = 0 ;
4524 int res1 = 0 ;
4525 int val2 ;
4526 int ecode2 = 0 ;
4527 int val3 ;
4528 int ecode3 = 0 ;
4529 PyObject * obj0 = 0 ;
4530 PyObject * obj1 = 0 ;
4531 PyObject * obj2 = 0 ;
4532 char * kwnames[] = {
4533 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4534 };
4535
4536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4538 if (!SWIG_IsOK(res1)) {
4539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4540 }
4541 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4542 ecode2 = SWIG_AsVal_int(obj1, &val2);
4543 if (!SWIG_IsOK(ecode2)) {
4544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4545 }
4546 arg2 = static_cast< int >(val2);
4547 ecode3 = SWIG_AsVal_int(obj2, &val3);
4548 if (!SWIG_IsOK(ecode3)) {
4549 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4550 }
4551 arg3 = static_cast< int >(val3);
4552 {
4553 PyThreadState* __tstate = wxPyBeginAllowThreads();
4554 (arg1)->SetScrollPageSize(arg2,arg3);
4555 wxPyEndAllowThreads(__tstate);
4556 if (PyErr_Occurred()) SWIG_fail;
4557 }
4558 resultobj = SWIG_Py_Void();
4559 return resultobj;
4560 fail:
4561 return NULL;
4562 }
4563
4564
4565 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4566 PyObject *resultobj = 0;
4567 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4568 int arg2 ;
4569 int arg3 ;
4570 void *argp1 = 0 ;
4571 int res1 = 0 ;
4572 int val2 ;
4573 int ecode2 = 0 ;
4574 int val3 ;
4575 int ecode3 = 0 ;
4576 PyObject * obj0 = 0 ;
4577 PyObject * obj1 = 0 ;
4578 PyObject * obj2 = 0 ;
4579 char * kwnames[] = {
4580 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4581 };
4582
4583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4585 if (!SWIG_IsOK(res1)) {
4586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4587 }
4588 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4589 ecode2 = SWIG_AsVal_int(obj1, &val2);
4590 if (!SWIG_IsOK(ecode2)) {
4591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4592 }
4593 arg2 = static_cast< int >(val2);
4594 ecode3 = SWIG_AsVal_int(obj2, &val3);
4595 if (!SWIG_IsOK(ecode3)) {
4596 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4597 }
4598 arg3 = static_cast< int >(val3);
4599 {
4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
4601 (arg1)->SetScrollRate(arg2,arg3);
4602 wxPyEndAllowThreads(__tstate);
4603 if (PyErr_Occurred()) SWIG_fail;
4604 }
4605 resultobj = SWIG_Py_Void();
4606 return resultobj;
4607 fail:
4608 return NULL;
4609 }
4610
4611
4612 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4613 PyObject *resultobj = 0;
4614 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4615 int *arg2 = (int *) 0 ;
4616 int *arg3 = (int *) 0 ;
4617 void *argp1 = 0 ;
4618 int res1 = 0 ;
4619 int temp2 ;
4620 int res2 = SWIG_TMPOBJ ;
4621 int temp3 ;
4622 int res3 = SWIG_TMPOBJ ;
4623 PyObject *swig_obj[1] ;
4624
4625 arg2 = &temp2;
4626 arg3 = &temp3;
4627 if (!args) SWIG_fail;
4628 swig_obj[0] = args;
4629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4630 if (!SWIG_IsOK(res1)) {
4631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4632 }
4633 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4634 {
4635 PyThreadState* __tstate = wxPyBeginAllowThreads();
4636 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4637 wxPyEndAllowThreads(__tstate);
4638 if (PyErr_Occurred()) SWIG_fail;
4639 }
4640 resultobj = SWIG_Py_Void();
4641 if (SWIG_IsTmpObj(res2)) {
4642 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4643 } else {
4644 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4645 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4646 }
4647 if (SWIG_IsTmpObj(res3)) {
4648 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4649 } else {
4650 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4651 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4652 }
4653 return resultobj;
4654 fail:
4655 return NULL;
4656 }
4657
4658
4659 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4660 PyObject *resultobj = 0;
4661 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4662 bool arg2 ;
4663 bool arg3 ;
4664 void *argp1 = 0 ;
4665 int res1 = 0 ;
4666 bool val2 ;
4667 int ecode2 = 0 ;
4668 bool val3 ;
4669 int ecode3 = 0 ;
4670 PyObject * obj0 = 0 ;
4671 PyObject * obj1 = 0 ;
4672 PyObject * obj2 = 0 ;
4673 char * kwnames[] = {
4674 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4675 };
4676
4677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4679 if (!SWIG_IsOK(res1)) {
4680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4681 }
4682 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4683 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4684 if (!SWIG_IsOK(ecode2)) {
4685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4686 }
4687 arg2 = static_cast< bool >(val2);
4688 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4689 if (!SWIG_IsOK(ecode3)) {
4690 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4691 }
4692 arg3 = static_cast< bool >(val3);
4693 {
4694 PyThreadState* __tstate = wxPyBeginAllowThreads();
4695 (arg1)->EnableScrolling(arg2,arg3);
4696 wxPyEndAllowThreads(__tstate);
4697 if (PyErr_Occurred()) SWIG_fail;
4698 }
4699 resultobj = SWIG_Py_Void();
4700 return resultobj;
4701 fail:
4702 return NULL;
4703 }
4704
4705
4706 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4707 PyObject *resultobj = 0;
4708 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4709 int *arg2 = (int *) 0 ;
4710 int *arg3 = (int *) 0 ;
4711 void *argp1 = 0 ;
4712 int res1 = 0 ;
4713 int temp2 ;
4714 int res2 = SWIG_TMPOBJ ;
4715 int temp3 ;
4716 int res3 = SWIG_TMPOBJ ;
4717 PyObject *swig_obj[1] ;
4718
4719 arg2 = &temp2;
4720 arg3 = &temp3;
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_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4726 }
4727 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4728 {
4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
4730 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4734 resultobj = SWIG_Py_Void();
4735 if (SWIG_IsTmpObj(res2)) {
4736 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4737 } else {
4738 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4739 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4740 }
4741 if (SWIG_IsTmpObj(res3)) {
4742 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4743 } else {
4744 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4745 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4746 }
4747 return resultobj;
4748 fail:
4749 return NULL;
4750 }
4751
4752
4753 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4754 PyObject *resultobj = 0;
4755 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4756 double arg2 ;
4757 double arg3 ;
4758 void *argp1 = 0 ;
4759 int res1 = 0 ;
4760 double val2 ;
4761 int ecode2 = 0 ;
4762 double val3 ;
4763 int ecode3 = 0 ;
4764 PyObject * obj0 = 0 ;
4765 PyObject * obj1 = 0 ;
4766 PyObject * obj2 = 0 ;
4767 char * kwnames[] = {
4768 (char *) "self",(char *) "xs",(char *) "ys", NULL
4769 };
4770
4771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4773 if (!SWIG_IsOK(res1)) {
4774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4775 }
4776 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4777 ecode2 = SWIG_AsVal_double(obj1, &val2);
4778 if (!SWIG_IsOK(ecode2)) {
4779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4780 }
4781 arg2 = static_cast< double >(val2);
4782 ecode3 = SWIG_AsVal_double(obj2, &val3);
4783 if (!SWIG_IsOK(ecode3)) {
4784 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4785 }
4786 arg3 = static_cast< double >(val3);
4787 {
4788 PyThreadState* __tstate = wxPyBeginAllowThreads();
4789 (arg1)->SetScale(arg2,arg3);
4790 wxPyEndAllowThreads(__tstate);
4791 if (PyErr_Occurred()) SWIG_fail;
4792 }
4793 resultobj = SWIG_Py_Void();
4794 return resultobj;
4795 fail:
4796 return NULL;
4797 }
4798
4799
4800 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4801 PyObject *resultobj = 0;
4802 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4803 double result;
4804 void *argp1 = 0 ;
4805 int res1 = 0 ;
4806 PyObject *swig_obj[1] ;
4807
4808 if (!args) SWIG_fail;
4809 swig_obj[0] = args;
4810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4811 if (!SWIG_IsOK(res1)) {
4812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4813 }
4814 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4815 {
4816 PyThreadState* __tstate = wxPyBeginAllowThreads();
4817 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4818 wxPyEndAllowThreads(__tstate);
4819 if (PyErr_Occurred()) SWIG_fail;
4820 }
4821 resultobj = SWIG_From_double(static_cast< double >(result));
4822 return resultobj;
4823 fail:
4824 return NULL;
4825 }
4826
4827
4828 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4829 PyObject *resultobj = 0;
4830 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4831 double result;
4832 void *argp1 = 0 ;
4833 int res1 = 0 ;
4834 PyObject *swig_obj[1] ;
4835
4836 if (!args) SWIG_fail;
4837 swig_obj[0] = args;
4838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4839 if (!SWIG_IsOK(res1)) {
4840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4841 }
4842 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4843 {
4844 PyThreadState* __tstate = wxPyBeginAllowThreads();
4845 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4846 wxPyEndAllowThreads(__tstate);
4847 if (PyErr_Occurred()) SWIG_fail;
4848 }
4849 resultobj = SWIG_From_double(static_cast< double >(result));
4850 return resultobj;
4851 fail:
4852 return NULL;
4853 }
4854
4855
4856 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4857 PyObject *resultobj = 0;
4858 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4859 wxPoint *arg2 = 0 ;
4860 wxPoint result;
4861 void *argp1 = 0 ;
4862 int res1 = 0 ;
4863 wxPoint temp2 ;
4864
4865 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4866 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4867 if (!SWIG_IsOK(res1)) {
4868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4869 }
4870 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4871 {
4872 arg2 = &temp2;
4873 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4874 }
4875 {
4876 PyThreadState* __tstate = wxPyBeginAllowThreads();
4877 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4878 wxPyEndAllowThreads(__tstate);
4879 if (PyErr_Occurred()) SWIG_fail;
4880 }
4881 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4882 return resultobj;
4883 fail:
4884 return NULL;
4885 }
4886
4887
4888 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4889 PyObject *resultobj = 0;
4890 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4891 int arg2 ;
4892 int arg3 ;
4893 int *arg4 = (int *) 0 ;
4894 int *arg5 = (int *) 0 ;
4895 void *argp1 = 0 ;
4896 int res1 = 0 ;
4897 int val2 ;
4898 int ecode2 = 0 ;
4899 int val3 ;
4900 int ecode3 = 0 ;
4901 int temp4 ;
4902 int res4 = SWIG_TMPOBJ ;
4903 int temp5 ;
4904 int res5 = SWIG_TMPOBJ ;
4905
4906 arg4 = &temp4;
4907 arg5 = &temp5;
4908 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4910 if (!SWIG_IsOK(res1)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4912 }
4913 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4914 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4915 if (!SWIG_IsOK(ecode2)) {
4916 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4917 }
4918 arg2 = static_cast< int >(val2);
4919 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4920 if (!SWIG_IsOK(ecode3)) {
4921 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4922 }
4923 arg3 = static_cast< int >(val3);
4924 {
4925 PyThreadState* __tstate = wxPyBeginAllowThreads();
4926 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4927 wxPyEndAllowThreads(__tstate);
4928 if (PyErr_Occurred()) SWIG_fail;
4929 }
4930 resultobj = SWIG_Py_Void();
4931 if (SWIG_IsTmpObj(res4)) {
4932 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4933 } else {
4934 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4935 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4936 }
4937 if (SWIG_IsTmpObj(res5)) {
4938 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4939 } else {
4940 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4941 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4942 }
4943 return resultobj;
4944 fail:
4945 return NULL;
4946 }
4947
4948
4949 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4950 int argc;
4951 PyObject *argv[4];
4952
4953 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4954 --argc;
4955 if (argc == 2) {
4956 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4957 }
4958 if (argc == 3) {
4959 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4960 }
4961
4962 fail:
4963 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4964 return NULL;
4965 }
4966
4967
4968 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4969 PyObject *resultobj = 0;
4970 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4971 wxPoint *arg2 = 0 ;
4972 wxPoint result;
4973 void *argp1 = 0 ;
4974 int res1 = 0 ;
4975 wxPoint temp2 ;
4976
4977 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4979 if (!SWIG_IsOK(res1)) {
4980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4981 }
4982 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4983 {
4984 arg2 = &temp2;
4985 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4986 }
4987 {
4988 PyThreadState* __tstate = wxPyBeginAllowThreads();
4989 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4993 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4994 return resultobj;
4995 fail:
4996 return NULL;
4997 }
4998
4999
5000 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
5001 PyObject *resultobj = 0;
5002 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5003 int arg2 ;
5004 int arg3 ;
5005 int *arg4 = (int *) 0 ;
5006 int *arg5 = (int *) 0 ;
5007 void *argp1 = 0 ;
5008 int res1 = 0 ;
5009 int val2 ;
5010 int ecode2 = 0 ;
5011 int val3 ;
5012 int ecode3 = 0 ;
5013 int temp4 ;
5014 int res4 = SWIG_TMPOBJ ;
5015 int temp5 ;
5016 int res5 = SWIG_TMPOBJ ;
5017
5018 arg4 = &temp4;
5019 arg5 = &temp5;
5020 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
5021 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5022 if (!SWIG_IsOK(res1)) {
5023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5024 }
5025 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5026 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
5027 if (!SWIG_IsOK(ecode2)) {
5028 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
5029 }
5030 arg2 = static_cast< int >(val2);
5031 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
5032 if (!SWIG_IsOK(ecode3)) {
5033 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
5034 }
5035 arg3 = static_cast< int >(val3);
5036 {
5037 PyThreadState* __tstate = wxPyBeginAllowThreads();
5038 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
5039 wxPyEndAllowThreads(__tstate);
5040 if (PyErr_Occurred()) SWIG_fail;
5041 }
5042 resultobj = SWIG_Py_Void();
5043 if (SWIG_IsTmpObj(res4)) {
5044 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
5045 } else {
5046 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5047 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
5048 }
5049 if (SWIG_IsTmpObj(res5)) {
5050 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
5051 } else {
5052 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5053 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
5054 }
5055 return resultobj;
5056 fail:
5057 return NULL;
5058 }
5059
5060
5061 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
5062 int argc;
5063 PyObject *argv[4];
5064
5065 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
5066 --argc;
5067 if (argc == 2) {
5068 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
5069 }
5070 if (argc == 3) {
5071 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
5072 }
5073
5074 fail:
5075 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5076 return NULL;
5077 }
5078
5079
5080 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5081 PyObject *resultobj = 0;
5082 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5083 void *argp1 = 0 ;
5084 int res1 = 0 ;
5085 PyObject *swig_obj[1] ;
5086
5087 if (!args) SWIG_fail;
5088 swig_obj[0] = args;
5089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5090 if (!SWIG_IsOK(res1)) {
5091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5092 }
5093 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5094 {
5095 PyThreadState* __tstate = wxPyBeginAllowThreads();
5096 (arg1)->AdjustScrollbars();
5097 wxPyEndAllowThreads(__tstate);
5098 if (PyErr_Occurred()) SWIG_fail;
5099 }
5100 resultobj = SWIG_Py_Void();
5101 return resultobj;
5102 fail:
5103 return NULL;
5104 }
5105
5106
5107 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5108 PyObject *resultobj = 0;
5109 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5110 wxScrollWinEvent *arg2 = 0 ;
5111 int result;
5112 void *argp1 = 0 ;
5113 int res1 = 0 ;
5114 void *argp2 = 0 ;
5115 int res2 = 0 ;
5116 PyObject * obj0 = 0 ;
5117 PyObject * obj1 = 0 ;
5118 char * kwnames[] = {
5119 (char *) "self",(char *) "event", NULL
5120 };
5121
5122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5124 if (!SWIG_IsOK(res1)) {
5125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5126 }
5127 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5128 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5129 if (!SWIG_IsOK(res2)) {
5130 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5131 }
5132 if (!argp2) {
5133 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5134 }
5135 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5136 {
5137 PyThreadState* __tstate = wxPyBeginAllowThreads();
5138 result = (int)(arg1)->CalcScrollInc(*arg2);
5139 wxPyEndAllowThreads(__tstate);
5140 if (PyErr_Occurred()) SWIG_fail;
5141 }
5142 resultobj = SWIG_From_int(static_cast< int >(result));
5143 return resultobj;
5144 fail:
5145 return NULL;
5146 }
5147
5148
5149 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5150 PyObject *resultobj = 0;
5151 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5152 wxWindow *arg2 = (wxWindow *) 0 ;
5153 void *argp1 = 0 ;
5154 int res1 = 0 ;
5155 void *argp2 = 0 ;
5156 int res2 = 0 ;
5157 PyObject * obj0 = 0 ;
5158 PyObject * obj1 = 0 ;
5159 char * kwnames[] = {
5160 (char *) "self",(char *) "target", NULL
5161 };
5162
5163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5165 if (!SWIG_IsOK(res1)) {
5166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5167 }
5168 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5169 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5170 if (!SWIG_IsOK(res2)) {
5171 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5172 }
5173 arg2 = reinterpret_cast< wxWindow * >(argp2);
5174 {
5175 PyThreadState* __tstate = wxPyBeginAllowThreads();
5176 (arg1)->SetTargetWindow(arg2);
5177 wxPyEndAllowThreads(__tstate);
5178 if (PyErr_Occurred()) SWIG_fail;
5179 }
5180 resultobj = SWIG_Py_Void();
5181 return resultobj;
5182 fail:
5183 return NULL;
5184 }
5185
5186
5187 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5188 PyObject *resultobj = 0;
5189 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5190 wxWindow *result = 0 ;
5191 void *argp1 = 0 ;
5192 int res1 = 0 ;
5193 PyObject *swig_obj[1] ;
5194
5195 if (!args) SWIG_fail;
5196 swig_obj[0] = args;
5197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5198 if (!SWIG_IsOK(res1)) {
5199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5200 }
5201 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5202 {
5203 PyThreadState* __tstate = wxPyBeginAllowThreads();
5204 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5205 wxPyEndAllowThreads(__tstate);
5206 if (PyErr_Occurred()) SWIG_fail;
5207 }
5208 {
5209 resultobj = wxPyMake_wxObject(result, 0);
5210 }
5211 return resultobj;
5212 fail:
5213 return NULL;
5214 }
5215
5216
5217 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5218 PyObject *resultobj = 0;
5219 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5220 wxRect *arg2 = 0 ;
5221 void *argp1 = 0 ;
5222 int res1 = 0 ;
5223 wxRect temp2 ;
5224 PyObject * obj0 = 0 ;
5225 PyObject * obj1 = 0 ;
5226 char * kwnames[] = {
5227 (char *) "self",(char *) "rect", NULL
5228 };
5229
5230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5232 if (!SWIG_IsOK(res1)) {
5233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5234 }
5235 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5236 {
5237 arg2 = &temp2;
5238 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5239 }
5240 {
5241 PyThreadState* __tstate = wxPyBeginAllowThreads();
5242 (arg1)->SetTargetRect((wxRect const &)*arg2);
5243 wxPyEndAllowThreads(__tstate);
5244 if (PyErr_Occurred()) SWIG_fail;
5245 }
5246 resultobj = SWIG_Py_Void();
5247 return resultobj;
5248 fail:
5249 return NULL;
5250 }
5251
5252
5253 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5254 PyObject *resultobj = 0;
5255 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5256 wxRect result;
5257 void *argp1 = 0 ;
5258 int res1 = 0 ;
5259 PyObject *swig_obj[1] ;
5260
5261 if (!args) SWIG_fail;
5262 swig_obj[0] = args;
5263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5264 if (!SWIG_IsOK(res1)) {
5265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5266 }
5267 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5268 {
5269 PyThreadState* __tstate = wxPyBeginAllowThreads();
5270 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5271 wxPyEndAllowThreads(__tstate);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 }
5274 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5275 return resultobj;
5276 fail:
5277 return NULL;
5278 }
5279
5280
5281 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5282 PyObject *resultobj = 0;
5283 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5284 wxDC *arg2 = 0 ;
5285 void *argp1 = 0 ;
5286 int res1 = 0 ;
5287 void *argp2 = 0 ;
5288 int res2 = 0 ;
5289 PyObject * obj0 = 0 ;
5290 PyObject * obj1 = 0 ;
5291 char * kwnames[] = {
5292 (char *) "self",(char *) "dc", NULL
5293 };
5294
5295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5297 if (!SWIG_IsOK(res1)) {
5298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5299 }
5300 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5301 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5302 if (!SWIG_IsOK(res2)) {
5303 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5304 }
5305 if (!argp2) {
5306 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5307 }
5308 arg2 = reinterpret_cast< wxDC * >(argp2);
5309 {
5310 PyThreadState* __tstate = wxPyBeginAllowThreads();
5311 (arg1)->DoPrepareDC(*arg2);
5312 wxPyEndAllowThreads(__tstate);
5313 if (PyErr_Occurred()) SWIG_fail;
5314 }
5315 resultobj = SWIG_Py_Void();
5316 return resultobj;
5317 fail:
5318 return NULL;
5319 }
5320
5321
5322 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5323 PyObject *resultobj = 0;
5324 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5325 SwigValueWrapper<wxVisualAttributes > result;
5326 int val1 ;
5327 int ecode1 = 0 ;
5328 PyObject * obj0 = 0 ;
5329 char * kwnames[] = {
5330 (char *) "variant", NULL
5331 };
5332
5333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5334 if (obj0) {
5335 ecode1 = SWIG_AsVal_int(obj0, &val1);
5336 if (!SWIG_IsOK(ecode1)) {
5337 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5338 }
5339 arg1 = static_cast< wxWindowVariant >(val1);
5340 }
5341 {
5342 if (!wxPyCheckForApp()) SWIG_fail;
5343 PyThreadState* __tstate = wxPyBeginAllowThreads();
5344 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5345 wxPyEndAllowThreads(__tstate);
5346 if (PyErr_Occurred()) SWIG_fail;
5347 }
5348 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5349 return resultobj;
5350 fail:
5351 return NULL;
5352 }
5353
5354
5355 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5356 PyObject *obj;
5357 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5358 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5359 return SWIG_Py_Void();
5360 }
5361
5362 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5363 return SWIG_Python_InitShadowInstance(args);
5364 }
5365
5366 SWIGINTERN int FrameNameStr_set(PyObject *) {
5367 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5368 return 1;
5369 }
5370
5371
5372 SWIGINTERN PyObject *FrameNameStr_get(void) {
5373 PyObject *pyobj = 0;
5374
5375 {
5376 #if wxUSE_UNICODE
5377 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5378 #else
5379 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5380 #endif
5381 }
5382 return pyobj;
5383 }
5384
5385
5386 SWIGINTERN int DialogNameStr_set(PyObject *) {
5387 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5388 return 1;
5389 }
5390
5391
5392 SWIGINTERN PyObject *DialogNameStr_get(void) {
5393 PyObject *pyobj = 0;
5394
5395 {
5396 #if wxUSE_UNICODE
5397 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5398 #else
5399 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5400 #endif
5401 }
5402 return pyobj;
5403 }
5404
5405
5406 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5407 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5408 return 1;
5409 }
5410
5411
5412 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5413 PyObject *pyobj = 0;
5414
5415 {
5416 #if wxUSE_UNICODE
5417 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5418 #else
5419 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5420 #endif
5421 }
5422 return pyobj;
5423 }
5424
5425
5426 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5427 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5428 return 1;
5429 }
5430
5431
5432 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5433 PyObject *pyobj = 0;
5434
5435 {
5436 #if wxUSE_UNICODE
5437 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5438 #else
5439 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5440 #endif
5441 }
5442 return pyobj;
5443 }
5444
5445
5446 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5447 PyObject *resultobj = 0;
5448 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5449 bool arg2 = (bool) true ;
5450 void *argp1 = 0 ;
5451 int res1 = 0 ;
5452 bool val2 ;
5453 int ecode2 = 0 ;
5454 PyObject * obj0 = 0 ;
5455 PyObject * obj1 = 0 ;
5456 char * kwnames[] = {
5457 (char *) "self",(char *) "maximize", NULL
5458 };
5459
5460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5462 if (!SWIG_IsOK(res1)) {
5463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5464 }
5465 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5466 if (obj1) {
5467 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5468 if (!SWIG_IsOK(ecode2)) {
5469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5470 }
5471 arg2 = static_cast< bool >(val2);
5472 }
5473 {
5474 PyThreadState* __tstate = wxPyBeginAllowThreads();
5475 (arg1)->Maximize(arg2);
5476 wxPyEndAllowThreads(__tstate);
5477 if (PyErr_Occurred()) SWIG_fail;
5478 }
5479 resultobj = SWIG_Py_Void();
5480 return resultobj;
5481 fail:
5482 return NULL;
5483 }
5484
5485
5486 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5487 PyObject *resultobj = 0;
5488 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5489 void *argp1 = 0 ;
5490 int res1 = 0 ;
5491 PyObject *swig_obj[1] ;
5492
5493 if (!args) SWIG_fail;
5494 swig_obj[0] = args;
5495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5496 if (!SWIG_IsOK(res1)) {
5497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5498 }
5499 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5500 {
5501 PyThreadState* __tstate = wxPyBeginAllowThreads();
5502 (arg1)->Restore();
5503 wxPyEndAllowThreads(__tstate);
5504 if (PyErr_Occurred()) SWIG_fail;
5505 }
5506 resultobj = SWIG_Py_Void();
5507 return resultobj;
5508 fail:
5509 return NULL;
5510 }
5511
5512
5513 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5514 PyObject *resultobj = 0;
5515 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5516 bool arg2 = (bool) true ;
5517 void *argp1 = 0 ;
5518 int res1 = 0 ;
5519 bool val2 ;
5520 int ecode2 = 0 ;
5521 PyObject * obj0 = 0 ;
5522 PyObject * obj1 = 0 ;
5523 char * kwnames[] = {
5524 (char *) "self",(char *) "iconize", NULL
5525 };
5526
5527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5529 if (!SWIG_IsOK(res1)) {
5530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5531 }
5532 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5533 if (obj1) {
5534 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5535 if (!SWIG_IsOK(ecode2)) {
5536 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5537 }
5538 arg2 = static_cast< bool >(val2);
5539 }
5540 {
5541 PyThreadState* __tstate = wxPyBeginAllowThreads();
5542 (arg1)->Iconize(arg2);
5543 wxPyEndAllowThreads(__tstate);
5544 if (PyErr_Occurred()) SWIG_fail;
5545 }
5546 resultobj = SWIG_Py_Void();
5547 return resultobj;
5548 fail:
5549 return NULL;
5550 }
5551
5552
5553 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5554 PyObject *resultobj = 0;
5555 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5556 bool result;
5557 void *argp1 = 0 ;
5558 int res1 = 0 ;
5559 PyObject *swig_obj[1] ;
5560
5561 if (!args) SWIG_fail;
5562 swig_obj[0] = args;
5563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5564 if (!SWIG_IsOK(res1)) {
5565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5566 }
5567 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5568 {
5569 PyThreadState* __tstate = wxPyBeginAllowThreads();
5570 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5571 wxPyEndAllowThreads(__tstate);
5572 if (PyErr_Occurred()) SWIG_fail;
5573 }
5574 {
5575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5576 }
5577 return resultobj;
5578 fail:
5579 return NULL;
5580 }
5581
5582
5583 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5584 PyObject *resultobj = 0;
5585 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5586 bool result;
5587 void *argp1 = 0 ;
5588 int res1 = 0 ;
5589 PyObject *swig_obj[1] ;
5590
5591 if (!args) SWIG_fail;
5592 swig_obj[0] = args;
5593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5594 if (!SWIG_IsOK(res1)) {
5595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5596 }
5597 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5598 {
5599 PyThreadState* __tstate = wxPyBeginAllowThreads();
5600 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5601 wxPyEndAllowThreads(__tstate);
5602 if (PyErr_Occurred()) SWIG_fail;
5603 }
5604 {
5605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5606 }
5607 return resultobj;
5608 fail:
5609 return NULL;
5610 }
5611
5612
5613 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5614 PyObject *resultobj = 0;
5615 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5616 bool result;
5617 void *argp1 = 0 ;
5618 int res1 = 0 ;
5619 PyObject *swig_obj[1] ;
5620
5621 if (!args) SWIG_fail;
5622 swig_obj[0] = args;
5623 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5624 if (!SWIG_IsOK(res1)) {
5625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5626 }
5627 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5628 {
5629 PyThreadState* __tstate = wxPyBeginAllowThreads();
5630 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
5634 {
5635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5636 }
5637 return resultobj;
5638 fail:
5639 return NULL;
5640 }
5641
5642
5643 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5644 PyObject *resultobj = 0;
5645 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5646 wxIcon result;
5647 void *argp1 = 0 ;
5648 int res1 = 0 ;
5649 PyObject *swig_obj[1] ;
5650
5651 if (!args) SWIG_fail;
5652 swig_obj[0] = args;
5653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5654 if (!SWIG_IsOK(res1)) {
5655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5656 }
5657 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5658 {
5659 PyThreadState* __tstate = wxPyBeginAllowThreads();
5660 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5661 wxPyEndAllowThreads(__tstate);
5662 if (PyErr_Occurred()) SWIG_fail;
5663 }
5664 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5665 return resultobj;
5666 fail:
5667 return NULL;
5668 }
5669
5670
5671 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5672 PyObject *resultobj = 0;
5673 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5674 wxIcon *arg2 = 0 ;
5675 void *argp1 = 0 ;
5676 int res1 = 0 ;
5677 void *argp2 = 0 ;
5678 int res2 = 0 ;
5679 PyObject * obj0 = 0 ;
5680 PyObject * obj1 = 0 ;
5681 char * kwnames[] = {
5682 (char *) "self",(char *) "icon", NULL
5683 };
5684
5685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) 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_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5689 }
5690 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5691 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5692 if (!SWIG_IsOK(res2)) {
5693 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5694 }
5695 if (!argp2) {
5696 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5697 }
5698 arg2 = reinterpret_cast< wxIcon * >(argp2);
5699 {
5700 PyThreadState* __tstate = wxPyBeginAllowThreads();
5701 (arg1)->SetIcon((wxIcon const &)*arg2);
5702 wxPyEndAllowThreads(__tstate);
5703 if (PyErr_Occurred()) SWIG_fail;
5704 }
5705 resultobj = SWIG_Py_Void();
5706 return resultobj;
5707 fail:
5708 return NULL;
5709 }
5710
5711
5712 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5713 PyObject *resultobj = 0;
5714 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5715 wxIconBundle *arg2 = 0 ;
5716 void *argp1 = 0 ;
5717 int res1 = 0 ;
5718 void *argp2 = 0 ;
5719 int res2 = 0 ;
5720 PyObject * obj0 = 0 ;
5721 PyObject * obj1 = 0 ;
5722 char * kwnames[] = {
5723 (char *) "self",(char *) "icons", NULL
5724 };
5725
5726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5728 if (!SWIG_IsOK(res1)) {
5729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5730 }
5731 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5732 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5733 if (!SWIG_IsOK(res2)) {
5734 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5735 }
5736 if (!argp2) {
5737 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5738 }
5739 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5740 {
5741 PyThreadState* __tstate = wxPyBeginAllowThreads();
5742 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5743 wxPyEndAllowThreads(__tstate);
5744 if (PyErr_Occurred()) SWIG_fail;
5745 }
5746 resultobj = SWIG_Py_Void();
5747 return resultobj;
5748 fail:
5749 return NULL;
5750 }
5751
5752
5753 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5754 PyObject *resultobj = 0;
5755 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5756 bool arg2 ;
5757 long arg3 = (long) wxFULLSCREEN_ALL ;
5758 bool result;
5759 void *argp1 = 0 ;
5760 int res1 = 0 ;
5761 bool val2 ;
5762 int ecode2 = 0 ;
5763 long val3 ;
5764 int ecode3 = 0 ;
5765 PyObject * obj0 = 0 ;
5766 PyObject * obj1 = 0 ;
5767 PyObject * obj2 = 0 ;
5768 char * kwnames[] = {
5769 (char *) "self",(char *) "show",(char *) "style", NULL
5770 };
5771
5772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5774 if (!SWIG_IsOK(res1)) {
5775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5776 }
5777 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5778 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5779 if (!SWIG_IsOK(ecode2)) {
5780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5781 }
5782 arg2 = static_cast< bool >(val2);
5783 if (obj2) {
5784 ecode3 = SWIG_AsVal_long(obj2, &val3);
5785 if (!SWIG_IsOK(ecode3)) {
5786 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5787 }
5788 arg3 = static_cast< long >(val3);
5789 }
5790 {
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5793 wxPyEndAllowThreads(__tstate);
5794 if (PyErr_Occurred()) SWIG_fail;
5795 }
5796 {
5797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5798 }
5799 return resultobj;
5800 fail:
5801 return NULL;
5802 }
5803
5804
5805 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5806 PyObject *resultobj = 0;
5807 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5808 bool result;
5809 void *argp1 = 0 ;
5810 int res1 = 0 ;
5811 PyObject *swig_obj[1] ;
5812
5813 if (!args) SWIG_fail;
5814 swig_obj[0] = args;
5815 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5816 if (!SWIG_IsOK(res1)) {
5817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5818 }
5819 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5820 {
5821 PyThreadState* __tstate = wxPyBeginAllowThreads();
5822 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5823 wxPyEndAllowThreads(__tstate);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 }
5826 {
5827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5828 }
5829 return resultobj;
5830 fail:
5831 return NULL;
5832 }
5833
5834
5835 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5836 PyObject *resultobj = 0;
5837 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5838 wxString *arg2 = 0 ;
5839 void *argp1 = 0 ;
5840 int res1 = 0 ;
5841 bool temp2 = false ;
5842 PyObject * obj0 = 0 ;
5843 PyObject * obj1 = 0 ;
5844 char * kwnames[] = {
5845 (char *) "self",(char *) "title", NULL
5846 };
5847
5848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5850 if (!SWIG_IsOK(res1)) {
5851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5852 }
5853 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5854 {
5855 arg2 = wxString_in_helper(obj1);
5856 if (arg2 == NULL) SWIG_fail;
5857 temp2 = true;
5858 }
5859 {
5860 PyThreadState* __tstate = wxPyBeginAllowThreads();
5861 (arg1)->SetTitle((wxString const &)*arg2);
5862 wxPyEndAllowThreads(__tstate);
5863 if (PyErr_Occurred()) SWIG_fail;
5864 }
5865 resultobj = SWIG_Py_Void();
5866 {
5867 if (temp2)
5868 delete arg2;
5869 }
5870 return resultobj;
5871 fail:
5872 {
5873 if (temp2)
5874 delete arg2;
5875 }
5876 return NULL;
5877 }
5878
5879
5880 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5881 PyObject *resultobj = 0;
5882 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5883 wxString result;
5884 void *argp1 = 0 ;
5885 int res1 = 0 ;
5886 PyObject *swig_obj[1] ;
5887
5888 if (!args) SWIG_fail;
5889 swig_obj[0] = args;
5890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5891 if (!SWIG_IsOK(res1)) {
5892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5893 }
5894 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5895 {
5896 PyThreadState* __tstate = wxPyBeginAllowThreads();
5897 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5898 wxPyEndAllowThreads(__tstate);
5899 if (PyErr_Occurred()) SWIG_fail;
5900 }
5901 {
5902 #if wxUSE_UNICODE
5903 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5904 #else
5905 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5906 #endif
5907 }
5908 return resultobj;
5909 fail:
5910 return NULL;
5911 }
5912
5913
5914 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5915 PyObject *resultobj = 0;
5916 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5917 bool arg2 ;
5918 bool result;
5919 void *argp1 = 0 ;
5920 int res1 = 0 ;
5921 bool val2 ;
5922 int ecode2 = 0 ;
5923 PyObject * obj0 = 0 ;
5924 PyObject * obj1 = 0 ;
5925 char * kwnames[] = {
5926 (char *) "self",(char *) "enable", NULL
5927 };
5928
5929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5931 if (!SWIG_IsOK(res1)) {
5932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5933 }
5934 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5935 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5936 if (!SWIG_IsOK(ecode2)) {
5937 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5938 }
5939 arg2 = static_cast< bool >(val2);
5940 {
5941 PyThreadState* __tstate = wxPyBeginAllowThreads();
5942 result = (bool)(arg1)->EnableCloseButton(arg2);
5943 wxPyEndAllowThreads(__tstate);
5944 if (PyErr_Occurred()) SWIG_fail;
5945 }
5946 {
5947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5948 }
5949 return resultobj;
5950 fail:
5951 return NULL;
5952 }
5953
5954
5955 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5956 PyObject *resultobj = 0;
5957 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5958 wxRegion *arg2 = 0 ;
5959 bool result;
5960 void *argp1 = 0 ;
5961 int res1 = 0 ;
5962 void *argp2 = 0 ;
5963 int res2 = 0 ;
5964 PyObject * obj0 = 0 ;
5965 PyObject * obj1 = 0 ;
5966 char * kwnames[] = {
5967 (char *) "self",(char *) "region", NULL
5968 };
5969
5970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5972 if (!SWIG_IsOK(res1)) {
5973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5974 }
5975 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5976 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5977 if (!SWIG_IsOK(res2)) {
5978 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5979 }
5980 if (!argp2) {
5981 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5982 }
5983 arg2 = reinterpret_cast< wxRegion * >(argp2);
5984 {
5985 PyThreadState* __tstate = wxPyBeginAllowThreads();
5986 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5987 wxPyEndAllowThreads(__tstate);
5988 if (PyErr_Occurred()) SWIG_fail;
5989 }
5990 {
5991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5992 }
5993 return resultobj;
5994 fail:
5995 return NULL;
5996 }
5997
5998
5999 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6000 PyObject *resultobj = 0;
6001 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6002 int arg2 = (int) wxUSER_ATTENTION_INFO ;
6003 void *argp1 = 0 ;
6004 int res1 = 0 ;
6005 int val2 ;
6006 int ecode2 = 0 ;
6007 PyObject * obj0 = 0 ;
6008 PyObject * obj1 = 0 ;
6009 char * kwnames[] = {
6010 (char *) "self",(char *) "flags", NULL
6011 };
6012
6013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
6014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6015 if (!SWIG_IsOK(res1)) {
6016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6017 }
6018 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6019 if (obj1) {
6020 ecode2 = SWIG_AsVal_int(obj1, &val2);
6021 if (!SWIG_IsOK(ecode2)) {
6022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
6023 }
6024 arg2 = static_cast< int >(val2);
6025 }
6026 {
6027 PyThreadState* __tstate = wxPyBeginAllowThreads();
6028 (arg1)->RequestUserAttention(arg2);
6029 wxPyEndAllowThreads(__tstate);
6030 if (PyErr_Occurred()) SWIG_fail;
6031 }
6032 resultobj = SWIG_Py_Void();
6033 return resultobj;
6034 fail:
6035 return NULL;
6036 }
6037
6038
6039 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6040 PyObject *resultobj = 0;
6041 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6042 bool result;
6043 void *argp1 = 0 ;
6044 int res1 = 0 ;
6045 PyObject *swig_obj[1] ;
6046
6047 if (!args) SWIG_fail;
6048 swig_obj[0] = args;
6049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6050 if (!SWIG_IsOK(res1)) {
6051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6052 }
6053 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 result = (bool)(arg1)->IsActive();
6057 wxPyEndAllowThreads(__tstate);
6058 if (PyErr_Occurred()) SWIG_fail;
6059 }
6060 {
6061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6062 }
6063 return resultobj;
6064 fail:
6065 return NULL;
6066 }
6067
6068
6069 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6070 PyObject *resultobj = 0;
6071 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6072 bool arg2 ;
6073 void *argp1 = 0 ;
6074 int res1 = 0 ;
6075 bool val2 ;
6076 int ecode2 = 0 ;
6077 PyObject * obj0 = 0 ;
6078 PyObject * obj1 = 0 ;
6079 char * kwnames[] = {
6080 (char *) "self",(char *) "on", NULL
6081 };
6082
6083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
6084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6085 if (!SWIG_IsOK(res1)) {
6086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6087 }
6088 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6089 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6090 if (!SWIG_IsOK(ecode2)) {
6091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6092 }
6093 arg2 = static_cast< bool >(val2);
6094 {
6095 PyThreadState* __tstate = wxPyBeginAllowThreads();
6096 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
6097 wxPyEndAllowThreads(__tstate);
6098 if (PyErr_Occurred()) SWIG_fail;
6099 }
6100 resultobj = SWIG_Py_Void();
6101 return resultobj;
6102 fail:
6103 return NULL;
6104 }
6105
6106
6107 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6108 PyObject *resultobj = 0;
6109 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6110 bool result;
6111 void *argp1 = 0 ;
6112 int res1 = 0 ;
6113 PyObject *swig_obj[1] ;
6114
6115 if (!args) SWIG_fail;
6116 swig_obj[0] = args;
6117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6118 if (!SWIG_IsOK(res1)) {
6119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6120 }
6121 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6122 {
6123 PyThreadState* __tstate = wxPyBeginAllowThreads();
6124 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
6125 wxPyEndAllowThreads(__tstate);
6126 if (PyErr_Occurred()) SWIG_fail;
6127 }
6128 {
6129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6130 }
6131 return resultobj;
6132 fail:
6133 return NULL;
6134 }
6135
6136
6137 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6138 PyObject *resultobj = 0;
6139 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6140 int arg2 = (int) wxBOTH ;
6141 void *argp1 = 0 ;
6142 int res1 = 0 ;
6143 int val2 ;
6144 int ecode2 = 0 ;
6145 PyObject * obj0 = 0 ;
6146 PyObject * obj1 = 0 ;
6147 char * kwnames[] = {
6148 (char *) "self",(char *) "dir", NULL
6149 };
6150
6151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6153 if (!SWIG_IsOK(res1)) {
6154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6155 }
6156 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6157 if (obj1) {
6158 ecode2 = SWIG_AsVal_int(obj1, &val2);
6159 if (!SWIG_IsOK(ecode2)) {
6160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6161 }
6162 arg2 = static_cast< int >(val2);
6163 }
6164 {
6165 PyThreadState* __tstate = wxPyBeginAllowThreads();
6166 (arg1)->CenterOnScreen(arg2);
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 resultobj = SWIG_Py_Void();
6171 return resultobj;
6172 fail:
6173 return NULL;
6174 }
6175
6176
6177 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6178 PyObject *resultobj = 0;
6179 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6180 wxWindow *result = 0 ;
6181 void *argp1 = 0 ;
6182 int res1 = 0 ;
6183 PyObject *swig_obj[1] ;
6184
6185 if (!args) SWIG_fail;
6186 swig_obj[0] = args;
6187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6188 if (!SWIG_IsOK(res1)) {
6189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6190 }
6191 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6192 {
6193 PyThreadState* __tstate = wxPyBeginAllowThreads();
6194 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6195 wxPyEndAllowThreads(__tstate);
6196 if (PyErr_Occurred()) SWIG_fail;
6197 }
6198 {
6199 resultobj = wxPyMake_wxObject(result, 0);
6200 }
6201 return resultobj;
6202 fail:
6203 return NULL;
6204 }
6205
6206
6207 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6208 PyObject *resultobj = 0;
6209 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6210 wxWindow *arg2 = (wxWindow *) 0 ;
6211 wxWindow *result = 0 ;
6212 void *argp1 = 0 ;
6213 int res1 = 0 ;
6214 void *argp2 = 0 ;
6215 int res2 = 0 ;
6216 PyObject * obj0 = 0 ;
6217 PyObject * obj1 = 0 ;
6218 char * kwnames[] = {
6219 (char *) "self",(char *) "child", NULL
6220 };
6221
6222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6224 if (!SWIG_IsOK(res1)) {
6225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6226 }
6227 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6228 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6229 if (!SWIG_IsOK(res2)) {
6230 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6231 }
6232 arg2 = reinterpret_cast< wxWindow * >(argp2);
6233 {
6234 PyThreadState* __tstate = wxPyBeginAllowThreads();
6235 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6236 wxPyEndAllowThreads(__tstate);
6237 if (PyErr_Occurred()) SWIG_fail;
6238 }
6239 {
6240 resultobj = wxPyMake_wxObject(result, 0);
6241 }
6242 return resultobj;
6243 fail:
6244 return NULL;
6245 }
6246
6247
6248 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6249 PyObject *resultobj = 0;
6250 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6251 wxWindow *arg2 = (wxWindow *) 0 ;
6252 void *argp1 = 0 ;
6253 int res1 = 0 ;
6254 void *argp2 = 0 ;
6255 int res2 = 0 ;
6256 PyObject * obj0 = 0 ;
6257 PyObject * obj1 = 0 ;
6258 char * kwnames[] = {
6259 (char *) "self",(char *) "win", NULL
6260 };
6261
6262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6264 if (!SWIG_IsOK(res1)) {
6265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6266 }
6267 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6268 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6269 if (!SWIG_IsOK(res2)) {
6270 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6271 }
6272 arg2 = reinterpret_cast< wxWindow * >(argp2);
6273 {
6274 PyThreadState* __tstate = wxPyBeginAllowThreads();
6275 (arg1)->SetTmpDefaultItem(arg2);
6276 wxPyEndAllowThreads(__tstate);
6277 if (PyErr_Occurred()) SWIG_fail;
6278 }
6279 resultobj = SWIG_Py_Void();
6280 return resultobj;
6281 fail:
6282 return NULL;
6283 }
6284
6285
6286 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6287 PyObject *resultobj = 0;
6288 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6289 wxWindow *result = 0 ;
6290 void *argp1 = 0 ;
6291 int res1 = 0 ;
6292 PyObject *swig_obj[1] ;
6293
6294 if (!args) SWIG_fail;
6295 swig_obj[0] = args;
6296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6297 if (!SWIG_IsOK(res1)) {
6298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6299 }
6300 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6301 {
6302 PyThreadState* __tstate = wxPyBeginAllowThreads();
6303 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6304 wxPyEndAllowThreads(__tstate);
6305 if (PyErr_Occurred()) SWIG_fail;
6306 }
6307 {
6308 resultobj = wxPyMake_wxObject(result, 0);
6309 }
6310 return resultobj;
6311 fail:
6312 return NULL;
6313 }
6314
6315
6316 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6317 PyObject *obj;
6318 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6319 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6320 return SWIG_Py_Void();
6321 }
6322
6323 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6324 PyObject *resultobj = 0;
6325 wxWindow *arg1 = (wxWindow *) 0 ;
6326 int arg2 = (int) (int)-1 ;
6327 wxString const &arg3_defvalue = wxPyEmptyString ;
6328 wxString *arg3 = (wxString *) &arg3_defvalue ;
6329 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6330 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6331 wxSize const &arg5_defvalue = wxDefaultSize ;
6332 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6333 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6334 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6335 wxString *arg7 = (wxString *) &arg7_defvalue ;
6336 wxFrame *result = 0 ;
6337 void *argp1 = 0 ;
6338 int res1 = 0 ;
6339 int val2 ;
6340 int ecode2 = 0 ;
6341 bool temp3 = false ;
6342 wxPoint temp4 ;
6343 wxSize temp5 ;
6344 long val6 ;
6345 int ecode6 = 0 ;
6346 bool temp7 = false ;
6347 PyObject * obj0 = 0 ;
6348 PyObject * obj1 = 0 ;
6349 PyObject * obj2 = 0 ;
6350 PyObject * obj3 = 0 ;
6351 PyObject * obj4 = 0 ;
6352 PyObject * obj5 = 0 ;
6353 PyObject * obj6 = 0 ;
6354 char * kwnames[] = {
6355 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6356 };
6357
6358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6360 if (!SWIG_IsOK(res1)) {
6361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6362 }
6363 arg1 = reinterpret_cast< wxWindow * >(argp1);
6364 if (obj1) {
6365 ecode2 = SWIG_AsVal_int(obj1, &val2);
6366 if (!SWIG_IsOK(ecode2)) {
6367 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6368 }
6369 arg2 = static_cast< int >(val2);
6370 }
6371 if (obj2) {
6372 {
6373 arg3 = wxString_in_helper(obj2);
6374 if (arg3 == NULL) SWIG_fail;
6375 temp3 = true;
6376 }
6377 }
6378 if (obj3) {
6379 {
6380 arg4 = &temp4;
6381 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6382 }
6383 }
6384 if (obj4) {
6385 {
6386 arg5 = &temp5;
6387 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6388 }
6389 }
6390 if (obj5) {
6391 ecode6 = SWIG_AsVal_long(obj5, &val6);
6392 if (!SWIG_IsOK(ecode6)) {
6393 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6394 }
6395 arg6 = static_cast< long >(val6);
6396 }
6397 if (obj6) {
6398 {
6399 arg7 = wxString_in_helper(obj6);
6400 if (arg7 == NULL) SWIG_fail;
6401 temp7 = true;
6402 }
6403 }
6404 {
6405 if (!wxPyCheckForApp()) SWIG_fail;
6406 PyThreadState* __tstate = wxPyBeginAllowThreads();
6407 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6408 wxPyEndAllowThreads(__tstate);
6409 if (PyErr_Occurred()) SWIG_fail;
6410 }
6411 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6412 {
6413 if (temp3)
6414 delete arg3;
6415 }
6416 {
6417 if (temp7)
6418 delete arg7;
6419 }
6420 return resultobj;
6421 fail:
6422 {
6423 if (temp3)
6424 delete arg3;
6425 }
6426 {
6427 if (temp7)
6428 delete arg7;
6429 }
6430 return NULL;
6431 }
6432
6433
6434 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6435 PyObject *resultobj = 0;
6436 wxFrame *result = 0 ;
6437
6438 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6439 {
6440 if (!wxPyCheckForApp()) SWIG_fail;
6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
6442 result = (wxFrame *)new wxFrame();
6443 wxPyEndAllowThreads(__tstate);
6444 if (PyErr_Occurred()) SWIG_fail;
6445 }
6446 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6447 return resultobj;
6448 fail:
6449 return NULL;
6450 }
6451
6452
6453 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6454 PyObject *resultobj = 0;
6455 wxFrame *arg1 = (wxFrame *) 0 ;
6456 wxWindow *arg2 = (wxWindow *) 0 ;
6457 int arg3 = (int) (int)-1 ;
6458 wxString const &arg4_defvalue = wxPyEmptyString ;
6459 wxString *arg4 = (wxString *) &arg4_defvalue ;
6460 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6461 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6462 wxSize const &arg6_defvalue = wxDefaultSize ;
6463 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6464 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6465 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6466 wxString *arg8 = (wxString *) &arg8_defvalue ;
6467 bool result;
6468 void *argp1 = 0 ;
6469 int res1 = 0 ;
6470 void *argp2 = 0 ;
6471 int res2 = 0 ;
6472 int val3 ;
6473 int ecode3 = 0 ;
6474 bool temp4 = false ;
6475 wxPoint temp5 ;
6476 wxSize temp6 ;
6477 long val7 ;
6478 int ecode7 = 0 ;
6479 bool temp8 = false ;
6480 PyObject * obj0 = 0 ;
6481 PyObject * obj1 = 0 ;
6482 PyObject * obj2 = 0 ;
6483 PyObject * obj3 = 0 ;
6484 PyObject * obj4 = 0 ;
6485 PyObject * obj5 = 0 ;
6486 PyObject * obj6 = 0 ;
6487 PyObject * obj7 = 0 ;
6488 char * kwnames[] = {
6489 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6490 };
6491
6492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6494 if (!SWIG_IsOK(res1)) {
6495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6496 }
6497 arg1 = reinterpret_cast< wxFrame * >(argp1);
6498 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6499 if (!SWIG_IsOK(res2)) {
6500 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6501 }
6502 arg2 = reinterpret_cast< wxWindow * >(argp2);
6503 if (obj2) {
6504 ecode3 = SWIG_AsVal_int(obj2, &val3);
6505 if (!SWIG_IsOK(ecode3)) {
6506 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6507 }
6508 arg3 = static_cast< int >(val3);
6509 }
6510 if (obj3) {
6511 {
6512 arg4 = wxString_in_helper(obj3);
6513 if (arg4 == NULL) SWIG_fail;
6514 temp4 = true;
6515 }
6516 }
6517 if (obj4) {
6518 {
6519 arg5 = &temp5;
6520 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6521 }
6522 }
6523 if (obj5) {
6524 {
6525 arg6 = &temp6;
6526 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6527 }
6528 }
6529 if (obj6) {
6530 ecode7 = SWIG_AsVal_long(obj6, &val7);
6531 if (!SWIG_IsOK(ecode7)) {
6532 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6533 }
6534 arg7 = static_cast< long >(val7);
6535 }
6536 if (obj7) {
6537 {
6538 arg8 = wxString_in_helper(obj7);
6539 if (arg8 == NULL) SWIG_fail;
6540 temp8 = true;
6541 }
6542 }
6543 {
6544 PyThreadState* __tstate = wxPyBeginAllowThreads();
6545 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6546 wxPyEndAllowThreads(__tstate);
6547 if (PyErr_Occurred()) SWIG_fail;
6548 }
6549 {
6550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6551 }
6552 {
6553 if (temp4)
6554 delete arg4;
6555 }
6556 {
6557 if (temp8)
6558 delete arg8;
6559 }
6560 return resultobj;
6561 fail:
6562 {
6563 if (temp4)
6564 delete arg4;
6565 }
6566 {
6567 if (temp8)
6568 delete arg8;
6569 }
6570 return NULL;
6571 }
6572
6573
6574 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6575 PyObject *resultobj = 0;
6576 wxFrame *arg1 = (wxFrame *) 0 ;
6577 void *argp1 = 0 ;
6578 int res1 = 0 ;
6579 PyObject *swig_obj[1] ;
6580
6581 if (!args) SWIG_fail;
6582 swig_obj[0] = args;
6583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6584 if (!SWIG_IsOK(res1)) {
6585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6586 }
6587 arg1 = reinterpret_cast< wxFrame * >(argp1);
6588 {
6589 PyThreadState* __tstate = wxPyBeginAllowThreads();
6590 (arg1)->SendSizeEvent();
6591 wxPyEndAllowThreads(__tstate);
6592 if (PyErr_Occurred()) SWIG_fail;
6593 }
6594 resultobj = SWIG_Py_Void();
6595 return resultobj;
6596 fail:
6597 return NULL;
6598 }
6599
6600
6601 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6602 PyObject *resultobj = 0;
6603 wxFrame *arg1 = (wxFrame *) 0 ;
6604 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6605 void *argp1 = 0 ;
6606 int res1 = 0 ;
6607 void *argp2 = 0 ;
6608 int res2 = 0 ;
6609 PyObject * obj0 = 0 ;
6610 PyObject * obj1 = 0 ;
6611 char * kwnames[] = {
6612 (char *) "self",(char *) "menubar", NULL
6613 };
6614
6615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6617 if (!SWIG_IsOK(res1)) {
6618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6619 }
6620 arg1 = reinterpret_cast< wxFrame * >(argp1);
6621 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6622 if (!SWIG_IsOK(res2)) {
6623 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6624 }
6625 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6626 {
6627 PyThreadState* __tstate = wxPyBeginAllowThreads();
6628 (arg1)->SetMenuBar(arg2);
6629 wxPyEndAllowThreads(__tstate);
6630 if (PyErr_Occurred()) SWIG_fail;
6631 }
6632 resultobj = SWIG_Py_Void();
6633 return resultobj;
6634 fail:
6635 return NULL;
6636 }
6637
6638
6639 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6640 PyObject *resultobj = 0;
6641 wxFrame *arg1 = (wxFrame *) 0 ;
6642 wxMenuBar *result = 0 ;
6643 void *argp1 = 0 ;
6644 int res1 = 0 ;
6645 PyObject *swig_obj[1] ;
6646
6647 if (!args) SWIG_fail;
6648 swig_obj[0] = args;
6649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6650 if (!SWIG_IsOK(res1)) {
6651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6652 }
6653 arg1 = reinterpret_cast< wxFrame * >(argp1);
6654 {
6655 PyThreadState* __tstate = wxPyBeginAllowThreads();
6656 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
6660 {
6661 resultobj = wxPyMake_wxObject(result, 0);
6662 }
6663 return resultobj;
6664 fail:
6665 return NULL;
6666 }
6667
6668
6669 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6670 PyObject *resultobj = 0;
6671 wxFrame *arg1 = (wxFrame *) 0 ;
6672 int arg2 ;
6673 bool result;
6674 void *argp1 = 0 ;
6675 int res1 = 0 ;
6676 int val2 ;
6677 int ecode2 = 0 ;
6678 PyObject * obj0 = 0 ;
6679 PyObject * obj1 = 0 ;
6680 char * kwnames[] = {
6681 (char *) "self",(char *) "winid", NULL
6682 };
6683
6684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6686 if (!SWIG_IsOK(res1)) {
6687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6688 }
6689 arg1 = reinterpret_cast< wxFrame * >(argp1);
6690 ecode2 = SWIG_AsVal_int(obj1, &val2);
6691 if (!SWIG_IsOK(ecode2)) {
6692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6693 }
6694 arg2 = static_cast< int >(val2);
6695 {
6696 PyThreadState* __tstate = wxPyBeginAllowThreads();
6697 result = (bool)(arg1)->ProcessCommand(arg2);
6698 wxPyEndAllowThreads(__tstate);
6699 if (PyErr_Occurred()) SWIG_fail;
6700 }
6701 {
6702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6703 }
6704 return resultobj;
6705 fail:
6706 return NULL;
6707 }
6708
6709
6710 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6711 PyObject *resultobj = 0;
6712 wxFrame *arg1 = (wxFrame *) 0 ;
6713 int arg2 = (int) 1 ;
6714 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6715 int arg4 = (int) 0 ;
6716 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6717 wxString *arg5 = (wxString *) &arg5_defvalue ;
6718 wxStatusBar *result = 0 ;
6719 void *argp1 = 0 ;
6720 int res1 = 0 ;
6721 int val2 ;
6722 int ecode2 = 0 ;
6723 long val3 ;
6724 int ecode3 = 0 ;
6725 int val4 ;
6726 int ecode4 = 0 ;
6727 bool temp5 = false ;
6728 PyObject * obj0 = 0 ;
6729 PyObject * obj1 = 0 ;
6730 PyObject * obj2 = 0 ;
6731 PyObject * obj3 = 0 ;
6732 PyObject * obj4 = 0 ;
6733 char * kwnames[] = {
6734 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6735 };
6736
6737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6739 if (!SWIG_IsOK(res1)) {
6740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6741 }
6742 arg1 = reinterpret_cast< wxFrame * >(argp1);
6743 if (obj1) {
6744 ecode2 = SWIG_AsVal_int(obj1, &val2);
6745 if (!SWIG_IsOK(ecode2)) {
6746 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6747 }
6748 arg2 = static_cast< int >(val2);
6749 }
6750 if (obj2) {
6751 ecode3 = SWIG_AsVal_long(obj2, &val3);
6752 if (!SWIG_IsOK(ecode3)) {
6753 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6754 }
6755 arg3 = static_cast< long >(val3);
6756 }
6757 if (obj3) {
6758 ecode4 = SWIG_AsVal_int(obj3, &val4);
6759 if (!SWIG_IsOK(ecode4)) {
6760 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6761 }
6762 arg4 = static_cast< int >(val4);
6763 }
6764 if (obj4) {
6765 {
6766 arg5 = wxString_in_helper(obj4);
6767 if (arg5 == NULL) SWIG_fail;
6768 temp5 = true;
6769 }
6770 }
6771 {
6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
6773 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6774 wxPyEndAllowThreads(__tstate);
6775 if (PyErr_Occurred()) SWIG_fail;
6776 }
6777 {
6778 resultobj = wxPyMake_wxObject(result, (bool)0);
6779 }
6780 {
6781 if (temp5)
6782 delete arg5;
6783 }
6784 return resultobj;
6785 fail:
6786 {
6787 if (temp5)
6788 delete arg5;
6789 }
6790 return NULL;
6791 }
6792
6793
6794 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6795 PyObject *resultobj = 0;
6796 wxFrame *arg1 = (wxFrame *) 0 ;
6797 wxStatusBar *result = 0 ;
6798 void *argp1 = 0 ;
6799 int res1 = 0 ;
6800 PyObject *swig_obj[1] ;
6801
6802 if (!args) SWIG_fail;
6803 swig_obj[0] = args;
6804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6805 if (!SWIG_IsOK(res1)) {
6806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6807 }
6808 arg1 = reinterpret_cast< wxFrame * >(argp1);
6809 {
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6812 wxPyEndAllowThreads(__tstate);
6813 if (PyErr_Occurred()) SWIG_fail;
6814 }
6815 {
6816 resultobj = wxPyMake_wxObject(result, (bool)0);
6817 }
6818 return resultobj;
6819 fail:
6820 return NULL;
6821 }
6822
6823
6824 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6825 PyObject *resultobj = 0;
6826 wxFrame *arg1 = (wxFrame *) 0 ;
6827 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6828 void *argp1 = 0 ;
6829 int res1 = 0 ;
6830 void *argp2 = 0 ;
6831 int res2 = 0 ;
6832 PyObject * obj0 = 0 ;
6833 PyObject * obj1 = 0 ;
6834 char * kwnames[] = {
6835 (char *) "self",(char *) "statBar", NULL
6836 };
6837
6838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6840 if (!SWIG_IsOK(res1)) {
6841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6842 }
6843 arg1 = reinterpret_cast< wxFrame * >(argp1);
6844 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6845 if (!SWIG_IsOK(res2)) {
6846 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6847 }
6848 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6849 {
6850 PyThreadState* __tstate = wxPyBeginAllowThreads();
6851 (arg1)->SetStatusBar(arg2);
6852 wxPyEndAllowThreads(__tstate);
6853 if (PyErr_Occurred()) SWIG_fail;
6854 }
6855 resultobj = SWIG_Py_Void();
6856 return resultobj;
6857 fail:
6858 return NULL;
6859 }
6860
6861
6862 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6863 PyObject *resultobj = 0;
6864 wxFrame *arg1 = (wxFrame *) 0 ;
6865 wxString *arg2 = 0 ;
6866 int arg3 = (int) 0 ;
6867 void *argp1 = 0 ;
6868 int res1 = 0 ;
6869 bool temp2 = false ;
6870 int val3 ;
6871 int ecode3 = 0 ;
6872 PyObject * obj0 = 0 ;
6873 PyObject * obj1 = 0 ;
6874 PyObject * obj2 = 0 ;
6875 char * kwnames[] = {
6876 (char *) "self",(char *) "text",(char *) "number", NULL
6877 };
6878
6879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6881 if (!SWIG_IsOK(res1)) {
6882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6883 }
6884 arg1 = reinterpret_cast< wxFrame * >(argp1);
6885 {
6886 arg2 = wxString_in_helper(obj1);
6887 if (arg2 == NULL) SWIG_fail;
6888 temp2 = true;
6889 }
6890 if (obj2) {
6891 ecode3 = SWIG_AsVal_int(obj2, &val3);
6892 if (!SWIG_IsOK(ecode3)) {
6893 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6894 }
6895 arg3 = static_cast< int >(val3);
6896 }
6897 {
6898 PyThreadState* __tstate = wxPyBeginAllowThreads();
6899 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6900 wxPyEndAllowThreads(__tstate);
6901 if (PyErr_Occurred()) SWIG_fail;
6902 }
6903 resultobj = SWIG_Py_Void();
6904 {
6905 if (temp2)
6906 delete arg2;
6907 }
6908 return resultobj;
6909 fail:
6910 {
6911 if (temp2)
6912 delete arg2;
6913 }
6914 return NULL;
6915 }
6916
6917
6918 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6919 PyObject *resultobj = 0;
6920 wxFrame *arg1 = (wxFrame *) 0 ;
6921 int arg2 ;
6922 int *arg3 = (int *) 0 ;
6923 void *argp1 = 0 ;
6924 int res1 = 0 ;
6925 PyObject * obj0 = 0 ;
6926 PyObject * obj1 = 0 ;
6927 char * kwnames[] = {
6928 (char *) "self",(char *) "widths", NULL
6929 };
6930
6931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6933 if (!SWIG_IsOK(res1)) {
6934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6935 }
6936 arg1 = reinterpret_cast< wxFrame * >(argp1);
6937 {
6938 arg2 = PyList_Size(obj1);
6939 arg3 = int_LIST_helper(obj1);
6940 if (arg3 == NULL) SWIG_fail;
6941 }
6942 {
6943 PyThreadState* __tstate = wxPyBeginAllowThreads();
6944 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6945 wxPyEndAllowThreads(__tstate);
6946 if (PyErr_Occurred()) SWIG_fail;
6947 }
6948 resultobj = SWIG_Py_Void();
6949 {
6950 if (arg3) delete [] arg3;
6951 }
6952 return resultobj;
6953 fail:
6954 {
6955 if (arg3) delete [] arg3;
6956 }
6957 return NULL;
6958 }
6959
6960
6961 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6962 PyObject *resultobj = 0;
6963 wxFrame *arg1 = (wxFrame *) 0 ;
6964 wxString *arg2 = 0 ;
6965 int arg3 = (int) 0 ;
6966 void *argp1 = 0 ;
6967 int res1 = 0 ;
6968 bool temp2 = false ;
6969 int val3 ;
6970 int ecode3 = 0 ;
6971 PyObject * obj0 = 0 ;
6972 PyObject * obj1 = 0 ;
6973 PyObject * obj2 = 0 ;
6974 char * kwnames[] = {
6975 (char *) "self",(char *) "text",(char *) "number", NULL
6976 };
6977
6978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6980 if (!SWIG_IsOK(res1)) {
6981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6982 }
6983 arg1 = reinterpret_cast< wxFrame * >(argp1);
6984 {
6985 arg2 = wxString_in_helper(obj1);
6986 if (arg2 == NULL) SWIG_fail;
6987 temp2 = true;
6988 }
6989 if (obj2) {
6990 ecode3 = SWIG_AsVal_int(obj2, &val3);
6991 if (!SWIG_IsOK(ecode3)) {
6992 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6993 }
6994 arg3 = static_cast< int >(val3);
6995 }
6996 {
6997 PyThreadState* __tstate = wxPyBeginAllowThreads();
6998 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6999 wxPyEndAllowThreads(__tstate);
7000 if (PyErr_Occurred()) SWIG_fail;
7001 }
7002 resultobj = SWIG_Py_Void();
7003 {
7004 if (temp2)
7005 delete arg2;
7006 }
7007 return resultobj;
7008 fail:
7009 {
7010 if (temp2)
7011 delete arg2;
7012 }
7013 return NULL;
7014 }
7015
7016
7017 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7018 PyObject *resultobj = 0;
7019 wxFrame *arg1 = (wxFrame *) 0 ;
7020 int arg2 = (int) 0 ;
7021 void *argp1 = 0 ;
7022 int res1 = 0 ;
7023 int val2 ;
7024 int ecode2 = 0 ;
7025 PyObject * obj0 = 0 ;
7026 PyObject * obj1 = 0 ;
7027 char * kwnames[] = {
7028 (char *) "self",(char *) "number", NULL
7029 };
7030
7031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
7032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7033 if (!SWIG_IsOK(res1)) {
7034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
7035 }
7036 arg1 = reinterpret_cast< wxFrame * >(argp1);
7037 if (obj1) {
7038 ecode2 = SWIG_AsVal_int(obj1, &val2);
7039 if (!SWIG_IsOK(ecode2)) {
7040 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
7041 }
7042 arg2 = static_cast< int >(val2);
7043 }
7044 {
7045 PyThreadState* __tstate = wxPyBeginAllowThreads();
7046 (arg1)->PopStatusText(arg2);
7047 wxPyEndAllowThreads(__tstate);
7048 if (PyErr_Occurred()) SWIG_fail;
7049 }
7050 resultobj = SWIG_Py_Void();
7051 return resultobj;
7052 fail:
7053 return NULL;
7054 }
7055
7056
7057 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7058 PyObject *resultobj = 0;
7059 wxFrame *arg1 = (wxFrame *) 0 ;
7060 int arg2 ;
7061 void *argp1 = 0 ;
7062 int res1 = 0 ;
7063 int val2 ;
7064 int ecode2 = 0 ;
7065 PyObject * obj0 = 0 ;
7066 PyObject * obj1 = 0 ;
7067 char * kwnames[] = {
7068 (char *) "self",(char *) "n", NULL
7069 };
7070
7071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
7072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7073 if (!SWIG_IsOK(res1)) {
7074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
7075 }
7076 arg1 = reinterpret_cast< wxFrame * >(argp1);
7077 ecode2 = SWIG_AsVal_int(obj1, &val2);
7078 if (!SWIG_IsOK(ecode2)) {
7079 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7080 }
7081 arg2 = static_cast< int >(val2);
7082 {
7083 PyThreadState* __tstate = wxPyBeginAllowThreads();
7084 (arg1)->SetStatusBarPane(arg2);
7085 wxPyEndAllowThreads(__tstate);
7086 if (PyErr_Occurred()) SWIG_fail;
7087 }
7088 resultobj = SWIG_Py_Void();
7089 return resultobj;
7090 fail:
7091 return NULL;
7092 }
7093
7094
7095 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7096 PyObject *resultobj = 0;
7097 wxFrame *arg1 = (wxFrame *) 0 ;
7098 int result;
7099 void *argp1 = 0 ;
7100 int res1 = 0 ;
7101 PyObject *swig_obj[1] ;
7102
7103 if (!args) SWIG_fail;
7104 swig_obj[0] = args;
7105 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7106 if (!SWIG_IsOK(res1)) {
7107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7108 }
7109 arg1 = reinterpret_cast< wxFrame * >(argp1);
7110 {
7111 PyThreadState* __tstate = wxPyBeginAllowThreads();
7112 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7113 wxPyEndAllowThreads(__tstate);
7114 if (PyErr_Occurred()) SWIG_fail;
7115 }
7116 resultobj = SWIG_From_int(static_cast< int >(result));
7117 return resultobj;
7118 fail:
7119 return NULL;
7120 }
7121
7122
7123 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7124 PyObject *resultobj = 0;
7125 wxFrame *arg1 = (wxFrame *) 0 ;
7126 long arg2 = (long) -1 ;
7127 int arg3 = (int) -1 ;
7128 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7129 wxString *arg4 = (wxString *) &arg4_defvalue ;
7130 wxToolBar *result = 0 ;
7131 void *argp1 = 0 ;
7132 int res1 = 0 ;
7133 long val2 ;
7134 int ecode2 = 0 ;
7135 int val3 ;
7136 int ecode3 = 0 ;
7137 bool temp4 = false ;
7138 PyObject * obj0 = 0 ;
7139 PyObject * obj1 = 0 ;
7140 PyObject * obj2 = 0 ;
7141 PyObject * obj3 = 0 ;
7142 char * kwnames[] = {
7143 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7144 };
7145
7146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7148 if (!SWIG_IsOK(res1)) {
7149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7150 }
7151 arg1 = reinterpret_cast< wxFrame * >(argp1);
7152 if (obj1) {
7153 ecode2 = SWIG_AsVal_long(obj1, &val2);
7154 if (!SWIG_IsOK(ecode2)) {
7155 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7156 }
7157 arg2 = static_cast< long >(val2);
7158 }
7159 if (obj2) {
7160 ecode3 = SWIG_AsVal_int(obj2, &val3);
7161 if (!SWIG_IsOK(ecode3)) {
7162 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7163 }
7164 arg3 = static_cast< int >(val3);
7165 }
7166 if (obj3) {
7167 {
7168 arg4 = wxString_in_helper(obj3);
7169 if (arg4 == NULL) SWIG_fail;
7170 temp4 = true;
7171 }
7172 }
7173 {
7174 PyThreadState* __tstate = wxPyBeginAllowThreads();
7175 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7176 wxPyEndAllowThreads(__tstate);
7177 if (PyErr_Occurred()) SWIG_fail;
7178 }
7179 {
7180 resultobj = wxPyMake_wxObject(result, (bool)0);
7181 }
7182 {
7183 if (temp4)
7184 delete arg4;
7185 }
7186 return resultobj;
7187 fail:
7188 {
7189 if (temp4)
7190 delete arg4;
7191 }
7192 return NULL;
7193 }
7194
7195
7196 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7197 PyObject *resultobj = 0;
7198 wxFrame *arg1 = (wxFrame *) 0 ;
7199 wxToolBar *result = 0 ;
7200 void *argp1 = 0 ;
7201 int res1 = 0 ;
7202 PyObject *swig_obj[1] ;
7203
7204 if (!args) SWIG_fail;
7205 swig_obj[0] = args;
7206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7207 if (!SWIG_IsOK(res1)) {
7208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7209 }
7210 arg1 = reinterpret_cast< wxFrame * >(argp1);
7211 {
7212 PyThreadState* __tstate = wxPyBeginAllowThreads();
7213 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7214 wxPyEndAllowThreads(__tstate);
7215 if (PyErr_Occurred()) SWIG_fail;
7216 }
7217 {
7218 resultobj = wxPyMake_wxObject(result, (bool)0);
7219 }
7220 return resultobj;
7221 fail:
7222 return NULL;
7223 }
7224
7225
7226 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7227 PyObject *resultobj = 0;
7228 wxFrame *arg1 = (wxFrame *) 0 ;
7229 wxToolBar *arg2 = (wxToolBar *) 0 ;
7230 void *argp1 = 0 ;
7231 int res1 = 0 ;
7232 void *argp2 = 0 ;
7233 int res2 = 0 ;
7234 PyObject * obj0 = 0 ;
7235 PyObject * obj1 = 0 ;
7236 char * kwnames[] = {
7237 (char *) "self",(char *) "toolbar", NULL
7238 };
7239
7240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7242 if (!SWIG_IsOK(res1)) {
7243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7244 }
7245 arg1 = reinterpret_cast< wxFrame * >(argp1);
7246 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7247 if (!SWIG_IsOK(res2)) {
7248 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7249 }
7250 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7251 {
7252 PyThreadState* __tstate = wxPyBeginAllowThreads();
7253 (arg1)->SetToolBar(arg2);
7254 wxPyEndAllowThreads(__tstate);
7255 if (PyErr_Occurred()) SWIG_fail;
7256 }
7257 resultobj = SWIG_Py_Void();
7258 return resultobj;
7259 fail:
7260 return NULL;
7261 }
7262
7263
7264 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7265 PyObject *resultobj = 0;
7266 wxFrame *arg1 = (wxFrame *) 0 ;
7267 wxString *arg2 = 0 ;
7268 bool arg3 ;
7269 void *argp1 = 0 ;
7270 int res1 = 0 ;
7271 bool temp2 = false ;
7272 bool val3 ;
7273 int ecode3 = 0 ;
7274 PyObject * obj0 = 0 ;
7275 PyObject * obj1 = 0 ;
7276 PyObject * obj2 = 0 ;
7277 char * kwnames[] = {
7278 (char *) "self",(char *) "text",(char *) "show", NULL
7279 };
7280
7281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7283 if (!SWIG_IsOK(res1)) {
7284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7285 }
7286 arg1 = reinterpret_cast< wxFrame * >(argp1);
7287 {
7288 arg2 = wxString_in_helper(obj1);
7289 if (arg2 == NULL) SWIG_fail;
7290 temp2 = true;
7291 }
7292 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7293 if (!SWIG_IsOK(ecode3)) {
7294 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7295 }
7296 arg3 = static_cast< bool >(val3);
7297 {
7298 PyThreadState* __tstate = wxPyBeginAllowThreads();
7299 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7300 wxPyEndAllowThreads(__tstate);
7301 if (PyErr_Occurred()) SWIG_fail;
7302 }
7303 resultobj = SWIG_Py_Void();
7304 {
7305 if (temp2)
7306 delete arg2;
7307 }
7308 return resultobj;
7309 fail:
7310 {
7311 if (temp2)
7312 delete arg2;
7313 }
7314 return NULL;
7315 }
7316
7317
7318 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7319 PyObject *resultobj = 0;
7320 wxFrame *arg1 = (wxFrame *) 0 ;
7321 wxMenu *arg2 = (wxMenu *) NULL ;
7322 void *argp1 = 0 ;
7323 int res1 = 0 ;
7324 void *argp2 = 0 ;
7325 int res2 = 0 ;
7326 PyObject * obj0 = 0 ;
7327 PyObject * obj1 = 0 ;
7328 char * kwnames[] = {
7329 (char *) "self",(char *) "menu", NULL
7330 };
7331
7332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7334 if (!SWIG_IsOK(res1)) {
7335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7336 }
7337 arg1 = reinterpret_cast< wxFrame * >(argp1);
7338 if (obj1) {
7339 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7340 if (!SWIG_IsOK(res2)) {
7341 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7342 }
7343 arg2 = reinterpret_cast< wxMenu * >(argp2);
7344 }
7345 {
7346 PyThreadState* __tstate = wxPyBeginAllowThreads();
7347 (arg1)->DoMenuUpdates(arg2);
7348 wxPyEndAllowThreads(__tstate);
7349 if (PyErr_Occurred()) SWIG_fail;
7350 }
7351 resultobj = SWIG_Py_Void();
7352 return resultobj;
7353 fail:
7354 return NULL;
7355 }
7356
7357
7358 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7359 PyObject *resultobj = 0;
7360 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7361 SwigValueWrapper<wxVisualAttributes > result;
7362 int val1 ;
7363 int ecode1 = 0 ;
7364 PyObject * obj0 = 0 ;
7365 char * kwnames[] = {
7366 (char *) "variant", NULL
7367 };
7368
7369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7370 if (obj0) {
7371 ecode1 = SWIG_AsVal_int(obj0, &val1);
7372 if (!SWIG_IsOK(ecode1)) {
7373 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7374 }
7375 arg1 = static_cast< wxWindowVariant >(val1);
7376 }
7377 {
7378 if (!wxPyCheckForApp()) SWIG_fail;
7379 PyThreadState* __tstate = wxPyBeginAllowThreads();
7380 result = wxFrame::GetClassDefaultAttributes(arg1);
7381 wxPyEndAllowThreads(__tstate);
7382 if (PyErr_Occurred()) SWIG_fail;
7383 }
7384 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7385 return resultobj;
7386 fail:
7387 return NULL;
7388 }
7389
7390
7391 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7392 PyObject *obj;
7393 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7394 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7395 return SWIG_Py_Void();
7396 }
7397
7398 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7399 return SWIG_Python_InitShadowInstance(args);
7400 }
7401
7402 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7403 PyObject *resultobj = 0;
7404 wxWindow *arg1 = (wxWindow *) 0 ;
7405 int arg2 = (int) (int)-1 ;
7406 wxString const &arg3_defvalue = wxPyEmptyString ;
7407 wxString *arg3 = (wxString *) &arg3_defvalue ;
7408 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7409 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7410 wxSize const &arg5_defvalue = wxDefaultSize ;
7411 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7412 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7413 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7414 wxString *arg7 = (wxString *) &arg7_defvalue ;
7415 wxDialog *result = 0 ;
7416 void *argp1 = 0 ;
7417 int res1 = 0 ;
7418 int val2 ;
7419 int ecode2 = 0 ;
7420 bool temp3 = false ;
7421 wxPoint temp4 ;
7422 wxSize temp5 ;
7423 long val6 ;
7424 int ecode6 = 0 ;
7425 bool temp7 = false ;
7426 PyObject * obj0 = 0 ;
7427 PyObject * obj1 = 0 ;
7428 PyObject * obj2 = 0 ;
7429 PyObject * obj3 = 0 ;
7430 PyObject * obj4 = 0 ;
7431 PyObject * obj5 = 0 ;
7432 PyObject * obj6 = 0 ;
7433 char * kwnames[] = {
7434 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7435 };
7436
7437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7439 if (!SWIG_IsOK(res1)) {
7440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7441 }
7442 arg1 = reinterpret_cast< wxWindow * >(argp1);
7443 if (obj1) {
7444 ecode2 = SWIG_AsVal_int(obj1, &val2);
7445 if (!SWIG_IsOK(ecode2)) {
7446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7447 }
7448 arg2 = static_cast< int >(val2);
7449 }
7450 if (obj2) {
7451 {
7452 arg3 = wxString_in_helper(obj2);
7453 if (arg3 == NULL) SWIG_fail;
7454 temp3 = true;
7455 }
7456 }
7457 if (obj3) {
7458 {
7459 arg4 = &temp4;
7460 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7461 }
7462 }
7463 if (obj4) {
7464 {
7465 arg5 = &temp5;
7466 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7467 }
7468 }
7469 if (obj5) {
7470 ecode6 = SWIG_AsVal_long(obj5, &val6);
7471 if (!SWIG_IsOK(ecode6)) {
7472 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7473 }
7474 arg6 = static_cast< long >(val6);
7475 }
7476 if (obj6) {
7477 {
7478 arg7 = wxString_in_helper(obj6);
7479 if (arg7 == NULL) SWIG_fail;
7480 temp7 = true;
7481 }
7482 }
7483 {
7484 if (!wxPyCheckForApp()) SWIG_fail;
7485 PyThreadState* __tstate = wxPyBeginAllowThreads();
7486 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7487 wxPyEndAllowThreads(__tstate);
7488 if (PyErr_Occurred()) SWIG_fail;
7489 }
7490 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7491 {
7492 if (temp3)
7493 delete arg3;
7494 }
7495 {
7496 if (temp7)
7497 delete arg7;
7498 }
7499 return resultobj;
7500 fail:
7501 {
7502 if (temp3)
7503 delete arg3;
7504 }
7505 {
7506 if (temp7)
7507 delete arg7;
7508 }
7509 return NULL;
7510 }
7511
7512
7513 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7514 PyObject *resultobj = 0;
7515 wxDialog *result = 0 ;
7516
7517 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7518 {
7519 if (!wxPyCheckForApp()) SWIG_fail;
7520 PyThreadState* __tstate = wxPyBeginAllowThreads();
7521 result = (wxDialog *)new wxDialog();
7522 wxPyEndAllowThreads(__tstate);
7523 if (PyErr_Occurred()) SWIG_fail;
7524 }
7525 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7526 return resultobj;
7527 fail:
7528 return NULL;
7529 }
7530
7531
7532 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7533 PyObject *resultobj = 0;
7534 wxDialog *arg1 = (wxDialog *) 0 ;
7535 wxWindow *arg2 = (wxWindow *) 0 ;
7536 int arg3 = (int) (int)-1 ;
7537 wxString const &arg4_defvalue = wxPyEmptyString ;
7538 wxString *arg4 = (wxString *) &arg4_defvalue ;
7539 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7540 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7541 wxSize const &arg6_defvalue = wxDefaultSize ;
7542 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7543 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7544 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7545 wxString *arg8 = (wxString *) &arg8_defvalue ;
7546 bool result;
7547 void *argp1 = 0 ;
7548 int res1 = 0 ;
7549 void *argp2 = 0 ;
7550 int res2 = 0 ;
7551 int val3 ;
7552 int ecode3 = 0 ;
7553 bool temp4 = false ;
7554 wxPoint temp5 ;
7555 wxSize temp6 ;
7556 long val7 ;
7557 int ecode7 = 0 ;
7558 bool temp8 = false ;
7559 PyObject * obj0 = 0 ;
7560 PyObject * obj1 = 0 ;
7561 PyObject * obj2 = 0 ;
7562 PyObject * obj3 = 0 ;
7563 PyObject * obj4 = 0 ;
7564 PyObject * obj5 = 0 ;
7565 PyObject * obj6 = 0 ;
7566 PyObject * obj7 = 0 ;
7567 char * kwnames[] = {
7568 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7569 };
7570
7571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7573 if (!SWIG_IsOK(res1)) {
7574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7575 }
7576 arg1 = reinterpret_cast< wxDialog * >(argp1);
7577 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7578 if (!SWIG_IsOK(res2)) {
7579 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7580 }
7581 arg2 = reinterpret_cast< wxWindow * >(argp2);
7582 if (obj2) {
7583 ecode3 = SWIG_AsVal_int(obj2, &val3);
7584 if (!SWIG_IsOK(ecode3)) {
7585 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7586 }
7587 arg3 = static_cast< int >(val3);
7588 }
7589 if (obj3) {
7590 {
7591 arg4 = wxString_in_helper(obj3);
7592 if (arg4 == NULL) SWIG_fail;
7593 temp4 = true;
7594 }
7595 }
7596 if (obj4) {
7597 {
7598 arg5 = &temp5;
7599 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7600 }
7601 }
7602 if (obj5) {
7603 {
7604 arg6 = &temp6;
7605 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7606 }
7607 }
7608 if (obj6) {
7609 ecode7 = SWIG_AsVal_long(obj6, &val7);
7610 if (!SWIG_IsOK(ecode7)) {
7611 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7612 }
7613 arg7 = static_cast< long >(val7);
7614 }
7615 if (obj7) {
7616 {
7617 arg8 = wxString_in_helper(obj7);
7618 if (arg8 == NULL) SWIG_fail;
7619 temp8 = true;
7620 }
7621 }
7622 {
7623 PyThreadState* __tstate = wxPyBeginAllowThreads();
7624 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7625 wxPyEndAllowThreads(__tstate);
7626 if (PyErr_Occurred()) SWIG_fail;
7627 }
7628 {
7629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7630 }
7631 {
7632 if (temp4)
7633 delete arg4;
7634 }
7635 {
7636 if (temp8)
7637 delete arg8;
7638 }
7639 return resultobj;
7640 fail:
7641 {
7642 if (temp4)
7643 delete arg4;
7644 }
7645 {
7646 if (temp8)
7647 delete arg8;
7648 }
7649 return NULL;
7650 }
7651
7652
7653 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7654 PyObject *resultobj = 0;
7655 wxDialog *arg1 = (wxDialog *) 0 ;
7656 int arg2 ;
7657 void *argp1 = 0 ;
7658 int res1 = 0 ;
7659 int val2 ;
7660 int ecode2 = 0 ;
7661 PyObject * obj0 = 0 ;
7662 PyObject * obj1 = 0 ;
7663 char * kwnames[] = {
7664 (char *) "self",(char *) "returnCode", NULL
7665 };
7666
7667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7669 if (!SWIG_IsOK(res1)) {
7670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7671 }
7672 arg1 = reinterpret_cast< wxDialog * >(argp1);
7673 ecode2 = SWIG_AsVal_int(obj1, &val2);
7674 if (!SWIG_IsOK(ecode2)) {
7675 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7676 }
7677 arg2 = static_cast< int >(val2);
7678 {
7679 PyThreadState* __tstate = wxPyBeginAllowThreads();
7680 (arg1)->SetReturnCode(arg2);
7681 wxPyEndAllowThreads(__tstate);
7682 if (PyErr_Occurred()) SWIG_fail;
7683 }
7684 resultobj = SWIG_Py_Void();
7685 return resultobj;
7686 fail:
7687 return NULL;
7688 }
7689
7690
7691 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7692 PyObject *resultobj = 0;
7693 wxDialog *arg1 = (wxDialog *) 0 ;
7694 int result;
7695 void *argp1 = 0 ;
7696 int res1 = 0 ;
7697 PyObject *swig_obj[1] ;
7698
7699 if (!args) SWIG_fail;
7700 swig_obj[0] = args;
7701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7702 if (!SWIG_IsOK(res1)) {
7703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7704 }
7705 arg1 = reinterpret_cast< wxDialog * >(argp1);
7706 {
7707 PyThreadState* __tstate = wxPyBeginAllowThreads();
7708 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7709 wxPyEndAllowThreads(__tstate);
7710 if (PyErr_Occurred()) SWIG_fail;
7711 }
7712 resultobj = SWIG_From_int(static_cast< int >(result));
7713 return resultobj;
7714 fail:
7715 return NULL;
7716 }
7717
7718
7719 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7720 PyObject *resultobj = 0;
7721 wxDialog *arg1 = (wxDialog *) 0 ;
7722 int arg2 ;
7723 void *argp1 = 0 ;
7724 int res1 = 0 ;
7725 int val2 ;
7726 int ecode2 = 0 ;
7727 PyObject * obj0 = 0 ;
7728 PyObject * obj1 = 0 ;
7729 char * kwnames[] = {
7730 (char *) "self",(char *) "affirmativeId", NULL
7731 };
7732
7733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7735 if (!SWIG_IsOK(res1)) {
7736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7737 }
7738 arg1 = reinterpret_cast< wxDialog * >(argp1);
7739 ecode2 = SWIG_AsVal_int(obj1, &val2);
7740 if (!SWIG_IsOK(ecode2)) {
7741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7742 }
7743 arg2 = static_cast< int >(val2);
7744 {
7745 PyThreadState* __tstate = wxPyBeginAllowThreads();
7746 (arg1)->SetAffirmativeId(arg2);
7747 wxPyEndAllowThreads(__tstate);
7748 if (PyErr_Occurred()) SWIG_fail;
7749 }
7750 resultobj = SWIG_Py_Void();
7751 return resultobj;
7752 fail:
7753 return NULL;
7754 }
7755
7756
7757 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7758 PyObject *resultobj = 0;
7759 wxDialog *arg1 = (wxDialog *) 0 ;
7760 int result;
7761 void *argp1 = 0 ;
7762 int res1 = 0 ;
7763 PyObject *swig_obj[1] ;
7764
7765 if (!args) SWIG_fail;
7766 swig_obj[0] = args;
7767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7768 if (!SWIG_IsOK(res1)) {
7769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7770 }
7771 arg1 = reinterpret_cast< wxDialog * >(argp1);
7772 {
7773 PyThreadState* __tstate = wxPyBeginAllowThreads();
7774 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7775 wxPyEndAllowThreads(__tstate);
7776 if (PyErr_Occurred()) SWIG_fail;
7777 }
7778 resultobj = SWIG_From_int(static_cast< int >(result));
7779 return resultobj;
7780 fail:
7781 return NULL;
7782 }
7783
7784
7785 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7786 PyObject *resultobj = 0;
7787 wxDialog *arg1 = (wxDialog *) 0 ;
7788 int arg2 ;
7789 void *argp1 = 0 ;
7790 int res1 = 0 ;
7791 int val2 ;
7792 int ecode2 = 0 ;
7793 PyObject * obj0 = 0 ;
7794 PyObject * obj1 = 0 ;
7795 char * kwnames[] = {
7796 (char *) "self",(char *) "escapeId", NULL
7797 };
7798
7799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7801 if (!SWIG_IsOK(res1)) {
7802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7803 }
7804 arg1 = reinterpret_cast< wxDialog * >(argp1);
7805 ecode2 = SWIG_AsVal_int(obj1, &val2);
7806 if (!SWIG_IsOK(ecode2)) {
7807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7808 }
7809 arg2 = static_cast< int >(val2);
7810 {
7811 PyThreadState* __tstate = wxPyBeginAllowThreads();
7812 (arg1)->SetEscapeId(arg2);
7813 wxPyEndAllowThreads(__tstate);
7814 if (PyErr_Occurred()) SWIG_fail;
7815 }
7816 resultobj = SWIG_Py_Void();
7817 return resultobj;
7818 fail:
7819 return NULL;
7820 }
7821
7822
7823 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7824 PyObject *resultobj = 0;
7825 wxDialog *arg1 = (wxDialog *) 0 ;
7826 int result;
7827 void *argp1 = 0 ;
7828 int res1 = 0 ;
7829 PyObject *swig_obj[1] ;
7830
7831 if (!args) SWIG_fail;
7832 swig_obj[0] = args;
7833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7834 if (!SWIG_IsOK(res1)) {
7835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7836 }
7837 arg1 = reinterpret_cast< wxDialog * >(argp1);
7838 {
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7841 wxPyEndAllowThreads(__tstate);
7842 if (PyErr_Occurred()) SWIG_fail;
7843 }
7844 resultobj = SWIG_From_int(static_cast< int >(result));
7845 return resultobj;
7846 fail:
7847 return NULL;
7848 }
7849
7850
7851 SWIGINTERN PyObject *_wrap_Dialog_GetParentForModalDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7852 PyObject *resultobj = 0;
7853 wxDialog *arg1 = (wxDialog *) 0 ;
7854 wxWindow *arg2 = (wxWindow *) NULL ;
7855 wxWindow *result = 0 ;
7856 void *argp1 = 0 ;
7857 int res1 = 0 ;
7858 void *argp2 = 0 ;
7859 int res2 = 0 ;
7860 PyObject * obj0 = 0 ;
7861 PyObject * obj1 = 0 ;
7862 char * kwnames[] = {
7863 (char *) "self",(char *) "parent", NULL
7864 };
7865
7866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Dialog_GetParentForModalDialog",kwnames,&obj0,&obj1)) SWIG_fail;
7867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7868 if (!SWIG_IsOK(res1)) {
7869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetParentForModalDialog" "', expected argument " "1"" of type '" "wxDialog const *""'");
7870 }
7871 arg1 = reinterpret_cast< wxDialog * >(argp1);
7872 if (obj1) {
7873 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7874 if (!SWIG_IsOK(res2)) {
7875 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_GetParentForModalDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
7876 }
7877 arg2 = reinterpret_cast< wxWindow * >(argp2);
7878 }
7879 {
7880 PyThreadState* __tstate = wxPyBeginAllowThreads();
7881 result = (wxWindow *)((wxDialog const *)arg1)->GetParentForModalDialog(arg2);
7882 wxPyEndAllowThreads(__tstate);
7883 if (PyErr_Occurred()) SWIG_fail;
7884 }
7885 {
7886 resultobj = wxPyMake_wxObject(result, 0);
7887 }
7888 return resultobj;
7889 fail:
7890 return NULL;
7891 }
7892
7893
7894 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7895 PyObject *resultobj = 0;
7896 wxDialog *arg1 = (wxDialog *) 0 ;
7897 wxString *arg2 = 0 ;
7898 wxSizer *result = 0 ;
7899 void *argp1 = 0 ;
7900 int res1 = 0 ;
7901 bool temp2 = false ;
7902 PyObject * obj0 = 0 ;
7903 PyObject * obj1 = 0 ;
7904 char * kwnames[] = {
7905 (char *) "self",(char *) "message", NULL
7906 };
7907
7908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7910 if (!SWIG_IsOK(res1)) {
7911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7912 }
7913 arg1 = reinterpret_cast< wxDialog * >(argp1);
7914 {
7915 arg2 = wxString_in_helper(obj1);
7916 if (arg2 == NULL) SWIG_fail;
7917 temp2 = true;
7918 }
7919 {
7920 PyThreadState* __tstate = wxPyBeginAllowThreads();
7921 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7922 wxPyEndAllowThreads(__tstate);
7923 if (PyErr_Occurred()) SWIG_fail;
7924 }
7925 {
7926 resultobj = wxPyMake_wxObject(result, (bool)0);
7927 }
7928 {
7929 if (temp2)
7930 delete arg2;
7931 }
7932 return resultobj;
7933 fail:
7934 {
7935 if (temp2)
7936 delete arg2;
7937 }
7938 return NULL;
7939 }
7940
7941
7942 SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7943 PyObject *resultobj = 0;
7944 wxDialog *arg1 = (wxDialog *) 0 ;
7945 long arg2 ;
7946 wxSizer *result = 0 ;
7947 void *argp1 = 0 ;
7948 int res1 = 0 ;
7949 long val2 ;
7950 int ecode2 = 0 ;
7951 PyObject * obj0 = 0 ;
7952 PyObject * obj1 = 0 ;
7953 char * kwnames[] = {
7954 (char *) "self",(char *) "flags", NULL
7955 };
7956
7957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7959 if (!SWIG_IsOK(res1)) {
7960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7961 }
7962 arg1 = reinterpret_cast< wxDialog * >(argp1);
7963 ecode2 = SWIG_AsVal_long(obj1, &val2);
7964 if (!SWIG_IsOK(ecode2)) {
7965 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7966 }
7967 arg2 = static_cast< long >(val2);
7968 {
7969 PyThreadState* __tstate = wxPyBeginAllowThreads();
7970 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7971 wxPyEndAllowThreads(__tstate);
7972 if (PyErr_Occurred()) SWIG_fail;
7973 }
7974 {
7975 resultobj = wxPyMake_wxObject(result, (bool)0);
7976 }
7977 return resultobj;
7978 fail:
7979 return NULL;
7980 }
7981
7982
7983 SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7984 PyObject *resultobj = 0;
7985 wxDialog *arg1 = (wxDialog *) 0 ;
7986 long arg2 ;
7987 wxSizer *result = 0 ;
7988 void *argp1 = 0 ;
7989 int res1 = 0 ;
7990 long val2 ;
7991 int ecode2 = 0 ;
7992 PyObject * obj0 = 0 ;
7993 PyObject * obj1 = 0 ;
7994 char * kwnames[] = {
7995 (char *) "self",(char *) "flags", NULL
7996 };
7997
7998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8000 if (!SWIG_IsOK(res1)) {
8001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
8002 }
8003 arg1 = reinterpret_cast< wxDialog * >(argp1);
8004 ecode2 = SWIG_AsVal_long(obj1, &val2);
8005 if (!SWIG_IsOK(ecode2)) {
8006 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
8007 }
8008 arg2 = static_cast< long >(val2);
8009 {
8010 PyThreadState* __tstate = wxPyBeginAllowThreads();
8011 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
8012 wxPyEndAllowThreads(__tstate);
8013 if (PyErr_Occurred()) SWIG_fail;
8014 }
8015 {
8016 resultobj = wxPyMake_wxObject(result, (bool)0);
8017 }
8018 return resultobj;
8019 fail:
8020 return NULL;
8021 }
8022
8023
8024 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8025 PyObject *resultobj = 0;
8026 wxDialog *arg1 = (wxDialog *) 0 ;
8027 long arg2 ;
8028 wxStdDialogButtonSizer *result = 0 ;
8029 void *argp1 = 0 ;
8030 int res1 = 0 ;
8031 long val2 ;
8032 int ecode2 = 0 ;
8033 PyObject * obj0 = 0 ;
8034 PyObject * obj1 = 0 ;
8035 char * kwnames[] = {
8036 (char *) "self",(char *) "flags", NULL
8037 };
8038
8039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
8040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8041 if (!SWIG_IsOK(res1)) {
8042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
8043 }
8044 arg1 = reinterpret_cast< wxDialog * >(argp1);
8045 ecode2 = SWIG_AsVal_long(obj1, &val2);
8046 if (!SWIG_IsOK(ecode2)) {
8047 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
8048 }
8049 arg2 = static_cast< long >(val2);
8050 {
8051 PyThreadState* __tstate = wxPyBeginAllowThreads();
8052 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
8053 wxPyEndAllowThreads(__tstate);
8054 if (PyErr_Occurred()) SWIG_fail;
8055 }
8056 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
8057 return resultobj;
8058 fail:
8059 return NULL;
8060 }
8061
8062
8063 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8064 PyObject *resultobj = 0;
8065 wxDialog *arg1 = (wxDialog *) 0 ;
8066 bool result;
8067 void *argp1 = 0 ;
8068 int res1 = 0 ;
8069 PyObject *swig_obj[1] ;
8070
8071 if (!args) SWIG_fail;
8072 swig_obj[0] = args;
8073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8074 if (!SWIG_IsOK(res1)) {
8075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
8076 }
8077 arg1 = reinterpret_cast< wxDialog * >(argp1);
8078 {
8079 PyThreadState* __tstate = wxPyBeginAllowThreads();
8080 result = (bool)((wxDialog const *)arg1)->IsModal();
8081 wxPyEndAllowThreads(__tstate);
8082 if (PyErr_Occurred()) SWIG_fail;
8083 }
8084 {
8085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8086 }
8087 return resultobj;
8088 fail:
8089 return NULL;
8090 }
8091
8092
8093 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8094 PyObject *resultobj = 0;
8095 wxDialog *arg1 = (wxDialog *) 0 ;
8096 int result;
8097 void *argp1 = 0 ;
8098 int res1 = 0 ;
8099 PyObject *swig_obj[1] ;
8100
8101 if (!args) SWIG_fail;
8102 swig_obj[0] = args;
8103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8104 if (!SWIG_IsOK(res1)) {
8105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8106 }
8107 arg1 = reinterpret_cast< wxDialog * >(argp1);
8108 {
8109 PyThreadState* __tstate = wxPyBeginAllowThreads();
8110 result = (int)(arg1)->ShowModal();
8111 wxPyEndAllowThreads(__tstate);
8112 if (PyErr_Occurred()) SWIG_fail;
8113 }
8114 resultobj = SWIG_From_int(static_cast< int >(result));
8115 return resultobj;
8116 fail:
8117 return NULL;
8118 }
8119
8120
8121 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8122 PyObject *resultobj = 0;
8123 wxDialog *arg1 = (wxDialog *) 0 ;
8124 int arg2 ;
8125 void *argp1 = 0 ;
8126 int res1 = 0 ;
8127 int val2 ;
8128 int ecode2 = 0 ;
8129 PyObject * obj0 = 0 ;
8130 PyObject * obj1 = 0 ;
8131 char * kwnames[] = {
8132 (char *) "self",(char *) "retCode", NULL
8133 };
8134
8135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8137 if (!SWIG_IsOK(res1)) {
8138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8139 }
8140 arg1 = reinterpret_cast< wxDialog * >(argp1);
8141 ecode2 = SWIG_AsVal_int(obj1, &val2);
8142 if (!SWIG_IsOK(ecode2)) {
8143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8144 }
8145 arg2 = static_cast< int >(val2);
8146 {
8147 PyThreadState* __tstate = wxPyBeginAllowThreads();
8148 (arg1)->EndModal(arg2);
8149 wxPyEndAllowThreads(__tstate);
8150 if (PyErr_Occurred()) SWIG_fail;
8151 }
8152 resultobj = SWIG_Py_Void();
8153 return resultobj;
8154 fail:
8155 return NULL;
8156 }
8157
8158
8159 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8160 PyObject *resultobj = 0;
8161 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8162 SwigValueWrapper<wxVisualAttributes > result;
8163 int val1 ;
8164 int ecode1 = 0 ;
8165 PyObject * obj0 = 0 ;
8166 char * kwnames[] = {
8167 (char *) "variant", NULL
8168 };
8169
8170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8171 if (obj0) {
8172 ecode1 = SWIG_AsVal_int(obj0, &val1);
8173 if (!SWIG_IsOK(ecode1)) {
8174 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8175 }
8176 arg1 = static_cast< wxWindowVariant >(val1);
8177 }
8178 {
8179 if (!wxPyCheckForApp()) SWIG_fail;
8180 PyThreadState* __tstate = wxPyBeginAllowThreads();
8181 result = wxDialog::GetClassDefaultAttributes(arg1);
8182 wxPyEndAllowThreads(__tstate);
8183 if (PyErr_Occurred()) SWIG_fail;
8184 }
8185 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8186 return resultobj;
8187 fail:
8188 return NULL;
8189 }
8190
8191
8192 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8193 PyObject *obj;
8194 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8195 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8196 return SWIG_Py_Void();
8197 }
8198
8199 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8200 return SWIG_Python_InitShadowInstance(args);
8201 }
8202
8203 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8204 PyObject *resultobj = 0;
8205 wxWindow *arg1 = (wxWindow *) 0 ;
8206 int arg2 = (int) (int)-1 ;
8207 wxString const &arg3_defvalue = wxPyEmptyString ;
8208 wxString *arg3 = (wxString *) &arg3_defvalue ;
8209 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8210 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8211 wxSize const &arg5_defvalue = wxDefaultSize ;
8212 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8213 long arg6 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8214 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8215 wxString *arg7 = (wxString *) &arg7_defvalue ;
8216 wxMiniFrame *result = 0 ;
8217 void *argp1 = 0 ;
8218 int res1 = 0 ;
8219 int val2 ;
8220 int ecode2 = 0 ;
8221 bool temp3 = false ;
8222 wxPoint temp4 ;
8223 wxSize temp5 ;
8224 long val6 ;
8225 int ecode6 = 0 ;
8226 bool temp7 = false ;
8227 PyObject * obj0 = 0 ;
8228 PyObject * obj1 = 0 ;
8229 PyObject * obj2 = 0 ;
8230 PyObject * obj3 = 0 ;
8231 PyObject * obj4 = 0 ;
8232 PyObject * obj5 = 0 ;
8233 PyObject * obj6 = 0 ;
8234 char * kwnames[] = {
8235 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8236 };
8237
8238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8240 if (!SWIG_IsOK(res1)) {
8241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8242 }
8243 arg1 = reinterpret_cast< wxWindow * >(argp1);
8244 if (obj1) {
8245 ecode2 = SWIG_AsVal_int(obj1, &val2);
8246 if (!SWIG_IsOK(ecode2)) {
8247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8248 }
8249 arg2 = static_cast< int >(val2);
8250 }
8251 if (obj2) {
8252 {
8253 arg3 = wxString_in_helper(obj2);
8254 if (arg3 == NULL) SWIG_fail;
8255 temp3 = true;
8256 }
8257 }
8258 if (obj3) {
8259 {
8260 arg4 = &temp4;
8261 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8262 }
8263 }
8264 if (obj4) {
8265 {
8266 arg5 = &temp5;
8267 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8268 }
8269 }
8270 if (obj5) {
8271 ecode6 = SWIG_AsVal_long(obj5, &val6);
8272 if (!SWIG_IsOK(ecode6)) {
8273 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8274 }
8275 arg6 = static_cast< long >(val6);
8276 }
8277 if (obj6) {
8278 {
8279 arg7 = wxString_in_helper(obj6);
8280 if (arg7 == NULL) SWIG_fail;
8281 temp7 = true;
8282 }
8283 }
8284 {
8285 if (!wxPyCheckForApp()) SWIG_fail;
8286 PyThreadState* __tstate = wxPyBeginAllowThreads();
8287 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8288 wxPyEndAllowThreads(__tstate);
8289 if (PyErr_Occurred()) SWIG_fail;
8290 }
8291 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8292 {
8293 if (temp3)
8294 delete arg3;
8295 }
8296 {
8297 if (temp7)
8298 delete arg7;
8299 }
8300 return resultobj;
8301 fail:
8302 {
8303 if (temp3)
8304 delete arg3;
8305 }
8306 {
8307 if (temp7)
8308 delete arg7;
8309 }
8310 return NULL;
8311 }
8312
8313
8314 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8315 PyObject *resultobj = 0;
8316 wxMiniFrame *result = 0 ;
8317
8318 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8319 {
8320 if (!wxPyCheckForApp()) SWIG_fail;
8321 PyThreadState* __tstate = wxPyBeginAllowThreads();
8322 result = (wxMiniFrame *)new wxMiniFrame();
8323 wxPyEndAllowThreads(__tstate);
8324 if (PyErr_Occurred()) SWIG_fail;
8325 }
8326 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8327 return resultobj;
8328 fail:
8329 return NULL;
8330 }
8331
8332
8333 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8334 PyObject *resultobj = 0;
8335 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8336 wxWindow *arg2 = (wxWindow *) 0 ;
8337 int arg3 = (int) (int)-1 ;
8338 wxString const &arg4_defvalue = wxPyEmptyString ;
8339 wxString *arg4 = (wxString *) &arg4_defvalue ;
8340 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8341 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8342 wxSize const &arg6_defvalue = wxDefaultSize ;
8343 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8344 long arg7 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8345 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8346 wxString *arg8 = (wxString *) &arg8_defvalue ;
8347 bool result;
8348 void *argp1 = 0 ;
8349 int res1 = 0 ;
8350 void *argp2 = 0 ;
8351 int res2 = 0 ;
8352 int val3 ;
8353 int ecode3 = 0 ;
8354 bool temp4 = false ;
8355 wxPoint temp5 ;
8356 wxSize temp6 ;
8357 long val7 ;
8358 int ecode7 = 0 ;
8359 bool temp8 = false ;
8360 PyObject * obj0 = 0 ;
8361 PyObject * obj1 = 0 ;
8362 PyObject * obj2 = 0 ;
8363 PyObject * obj3 = 0 ;
8364 PyObject * obj4 = 0 ;
8365 PyObject * obj5 = 0 ;
8366 PyObject * obj6 = 0 ;
8367 PyObject * obj7 = 0 ;
8368 char * kwnames[] = {
8369 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8370 };
8371
8372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8374 if (!SWIG_IsOK(res1)) {
8375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8376 }
8377 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8378 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8379 if (!SWIG_IsOK(res2)) {
8380 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8381 }
8382 arg2 = reinterpret_cast< wxWindow * >(argp2);
8383 if (obj2) {
8384 ecode3 = SWIG_AsVal_int(obj2, &val3);
8385 if (!SWIG_IsOK(ecode3)) {
8386 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8387 }
8388 arg3 = static_cast< int >(val3);
8389 }
8390 if (obj3) {
8391 {
8392 arg4 = wxString_in_helper(obj3);
8393 if (arg4 == NULL) SWIG_fail;
8394 temp4 = true;
8395 }
8396 }
8397 if (obj4) {
8398 {
8399 arg5 = &temp5;
8400 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8401 }
8402 }
8403 if (obj5) {
8404 {
8405 arg6 = &temp6;
8406 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8407 }
8408 }
8409 if (obj6) {
8410 ecode7 = SWIG_AsVal_long(obj6, &val7);
8411 if (!SWIG_IsOK(ecode7)) {
8412 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8413 }
8414 arg7 = static_cast< long >(val7);
8415 }
8416 if (obj7) {
8417 {
8418 arg8 = wxString_in_helper(obj7);
8419 if (arg8 == NULL) SWIG_fail;
8420 temp8 = true;
8421 }
8422 }
8423 {
8424 PyThreadState* __tstate = wxPyBeginAllowThreads();
8425 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8426 wxPyEndAllowThreads(__tstate);
8427 if (PyErr_Occurred()) SWIG_fail;
8428 }
8429 {
8430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8431 }
8432 {
8433 if (temp4)
8434 delete arg4;
8435 }
8436 {
8437 if (temp8)
8438 delete arg8;
8439 }
8440 return resultobj;
8441 fail:
8442 {
8443 if (temp4)
8444 delete arg4;
8445 }
8446 {
8447 if (temp8)
8448 delete arg8;
8449 }
8450 return NULL;
8451 }
8452
8453
8454 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8455 PyObject *obj;
8456 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8457 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8458 return SWIG_Py_Void();
8459 }
8460
8461 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8462 return SWIG_Python_InitShadowInstance(args);
8463 }
8464
8465 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8466 PyObject *resultobj = 0;
8467 wxBitmap *arg1 = 0 ;
8468 wxWindow *arg2 = (wxWindow *) 0 ;
8469 int arg3 ;
8470 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8471 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8472 wxSize const &arg5_defvalue = wxDefaultSize ;
8473 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8474 long arg6 = (long) wxNO_BORDER ;
8475 wxSplashScreenWindow *result = 0 ;
8476 void *argp1 = 0 ;
8477 int res1 = 0 ;
8478 void *argp2 = 0 ;
8479 int res2 = 0 ;
8480 int val3 ;
8481 int ecode3 = 0 ;
8482 wxPoint temp4 ;
8483 wxSize temp5 ;
8484 long val6 ;
8485 int ecode6 = 0 ;
8486 PyObject * obj0 = 0 ;
8487 PyObject * obj1 = 0 ;
8488 PyObject * obj2 = 0 ;
8489 PyObject * obj3 = 0 ;
8490 PyObject * obj4 = 0 ;
8491 PyObject * obj5 = 0 ;
8492 char * kwnames[] = {
8493 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8494 };
8495
8496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8497 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8498 if (!SWIG_IsOK(res1)) {
8499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8500 }
8501 if (!argp1) {
8502 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8503 }
8504 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8505 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8506 if (!SWIG_IsOK(res2)) {
8507 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8508 }
8509 arg2 = reinterpret_cast< wxWindow * >(argp2);
8510 ecode3 = SWIG_AsVal_int(obj2, &val3);
8511 if (!SWIG_IsOK(ecode3)) {
8512 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8513 }
8514 arg3 = static_cast< int >(val3);
8515 if (obj3) {
8516 {
8517 arg4 = &temp4;
8518 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8519 }
8520 }
8521 if (obj4) {
8522 {
8523 arg5 = &temp5;
8524 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8525 }
8526 }
8527 if (obj5) {
8528 ecode6 = SWIG_AsVal_long(obj5, &val6);
8529 if (!SWIG_IsOK(ecode6)) {
8530 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8531 }
8532 arg6 = static_cast< long >(val6);
8533 }
8534 {
8535 if (!wxPyCheckForApp()) SWIG_fail;
8536 PyThreadState* __tstate = wxPyBeginAllowThreads();
8537 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8538 wxPyEndAllowThreads(__tstate);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 }
8541 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8542 return resultobj;
8543 fail:
8544 return NULL;
8545 }
8546
8547
8548 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8549 PyObject *resultobj = 0;
8550 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8551 wxBitmap *arg2 = 0 ;
8552 void *argp1 = 0 ;
8553 int res1 = 0 ;
8554 void *argp2 = 0 ;
8555 int res2 = 0 ;
8556 PyObject * obj0 = 0 ;
8557 PyObject * obj1 = 0 ;
8558 char * kwnames[] = {
8559 (char *) "self",(char *) "bitmap", NULL
8560 };
8561
8562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8564 if (!SWIG_IsOK(res1)) {
8565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8566 }
8567 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8568 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8569 if (!SWIG_IsOK(res2)) {
8570 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8571 }
8572 if (!argp2) {
8573 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8574 }
8575 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8576 {
8577 PyThreadState* __tstate = wxPyBeginAllowThreads();
8578 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8579 wxPyEndAllowThreads(__tstate);
8580 if (PyErr_Occurred()) SWIG_fail;
8581 }
8582 resultobj = SWIG_Py_Void();
8583 return resultobj;
8584 fail:
8585 return NULL;
8586 }
8587
8588
8589 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8590 PyObject *resultobj = 0;
8591 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8592 wxBitmap *result = 0 ;
8593 void *argp1 = 0 ;
8594 int res1 = 0 ;
8595 PyObject *swig_obj[1] ;
8596
8597 if (!args) SWIG_fail;
8598 swig_obj[0] = args;
8599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8600 if (!SWIG_IsOK(res1)) {
8601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8602 }
8603 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8604 {
8605 PyThreadState* __tstate = wxPyBeginAllowThreads();
8606 {
8607 wxBitmap &_result_ref = (arg1)->GetBitmap();
8608 result = (wxBitmap *) &_result_ref;
8609 }
8610 wxPyEndAllowThreads(__tstate);
8611 if (PyErr_Occurred()) SWIG_fail;
8612 }
8613 {
8614 wxBitmap* resultptr = new wxBitmap(*result);
8615 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8616 }
8617 return resultobj;
8618 fail:
8619 return NULL;
8620 }
8621
8622
8623 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8624 PyObject *obj;
8625 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8626 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8627 return SWIG_Py_Void();
8628 }
8629
8630 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8631 return SWIG_Python_InitShadowInstance(args);
8632 }
8633
8634 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8635 PyObject *resultobj = 0;
8636 wxBitmap *arg1 = 0 ;
8637 long arg2 ;
8638 int arg3 ;
8639 wxWindow *arg4 = (wxWindow *) 0 ;
8640 int arg5 = (int) -1 ;
8641 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8642 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8643 wxSize const &arg7_defvalue = wxDefaultSize ;
8644 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8645 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8646 wxSplashScreen *result = 0 ;
8647 void *argp1 = 0 ;
8648 int res1 = 0 ;
8649 long val2 ;
8650 int ecode2 = 0 ;
8651 int val3 ;
8652 int ecode3 = 0 ;
8653 void *argp4 = 0 ;
8654 int res4 = 0 ;
8655 int val5 ;
8656 int ecode5 = 0 ;
8657 wxPoint temp6 ;
8658 wxSize temp7 ;
8659 long val8 ;
8660 int ecode8 = 0 ;
8661 PyObject * obj0 = 0 ;
8662 PyObject * obj1 = 0 ;
8663 PyObject * obj2 = 0 ;
8664 PyObject * obj3 = 0 ;
8665 PyObject * obj4 = 0 ;
8666 PyObject * obj5 = 0 ;
8667 PyObject * obj6 = 0 ;
8668 PyObject * obj7 = 0 ;
8669 char * kwnames[] = {
8670 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8671 };
8672
8673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8674 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8675 if (!SWIG_IsOK(res1)) {
8676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8677 }
8678 if (!argp1) {
8679 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8680 }
8681 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8682 ecode2 = SWIG_AsVal_long(obj1, &val2);
8683 if (!SWIG_IsOK(ecode2)) {
8684 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8685 }
8686 arg2 = static_cast< long >(val2);
8687 ecode3 = SWIG_AsVal_int(obj2, &val3);
8688 if (!SWIG_IsOK(ecode3)) {
8689 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8690 }
8691 arg3 = static_cast< int >(val3);
8692 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8693 if (!SWIG_IsOK(res4)) {
8694 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8695 }
8696 arg4 = reinterpret_cast< wxWindow * >(argp4);
8697 if (obj4) {
8698 ecode5 = SWIG_AsVal_int(obj4, &val5);
8699 if (!SWIG_IsOK(ecode5)) {
8700 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8701 }
8702 arg5 = static_cast< int >(val5);
8703 }
8704 if (obj5) {
8705 {
8706 arg6 = &temp6;
8707 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8708 }
8709 }
8710 if (obj6) {
8711 {
8712 arg7 = &temp7;
8713 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8714 }
8715 }
8716 if (obj7) {
8717 ecode8 = SWIG_AsVal_long(obj7, &val8);
8718 if (!SWIG_IsOK(ecode8)) {
8719 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8720 }
8721 arg8 = static_cast< long >(val8);
8722 }
8723 {
8724 if (!wxPyCheckForApp()) SWIG_fail;
8725 PyThreadState* __tstate = wxPyBeginAllowThreads();
8726 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8727 wxPyEndAllowThreads(__tstate);
8728 if (PyErr_Occurred()) SWIG_fail;
8729 }
8730 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8731 return resultobj;
8732 fail:
8733 return NULL;
8734 }
8735
8736
8737 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8738 PyObject *resultobj = 0;
8739 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8740 long result;
8741 void *argp1 = 0 ;
8742 int res1 = 0 ;
8743 PyObject *swig_obj[1] ;
8744
8745 if (!args) SWIG_fail;
8746 swig_obj[0] = args;
8747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8748 if (!SWIG_IsOK(res1)) {
8749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8750 }
8751 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8752 {
8753 PyThreadState* __tstate = wxPyBeginAllowThreads();
8754 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8755 wxPyEndAllowThreads(__tstate);
8756 if (PyErr_Occurred()) SWIG_fail;
8757 }
8758 resultobj = SWIG_From_long(static_cast< long >(result));
8759 return resultobj;
8760 fail:
8761 return NULL;
8762 }
8763
8764
8765 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8766 PyObject *resultobj = 0;
8767 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8768 wxSplashScreenWindow *result = 0 ;
8769 void *argp1 = 0 ;
8770 int res1 = 0 ;
8771 PyObject *swig_obj[1] ;
8772
8773 if (!args) SWIG_fail;
8774 swig_obj[0] = args;
8775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8776 if (!SWIG_IsOK(res1)) {
8777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8778 }
8779 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8780 {
8781 PyThreadState* __tstate = wxPyBeginAllowThreads();
8782 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8783 wxPyEndAllowThreads(__tstate);
8784 if (PyErr_Occurred()) SWIG_fail;
8785 }
8786 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8787 return resultobj;
8788 fail:
8789 return NULL;
8790 }
8791
8792
8793 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8794 PyObject *resultobj = 0;
8795 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8796 int result;
8797 void *argp1 = 0 ;
8798 int res1 = 0 ;
8799 PyObject *swig_obj[1] ;
8800
8801 if (!args) SWIG_fail;
8802 swig_obj[0] = args;
8803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8804 if (!SWIG_IsOK(res1)) {
8805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8806 }
8807 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8808 {
8809 PyThreadState* __tstate = wxPyBeginAllowThreads();
8810 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8811 wxPyEndAllowThreads(__tstate);
8812 if (PyErr_Occurred()) SWIG_fail;
8813 }
8814 resultobj = SWIG_From_int(static_cast< int >(result));
8815 return resultobj;
8816 fail:
8817 return NULL;
8818 }
8819
8820
8821 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8822 PyObject *obj;
8823 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8824 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8825 return SWIG_Py_Void();
8826 }
8827
8828 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8829 return SWIG_Python_InitShadowInstance(args);
8830 }
8831
8832 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8833 PyObject *resultobj = 0;
8834 wxWindow *arg1 = (wxWindow *) 0 ;
8835 int arg2 = (int) -1 ;
8836 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8837 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8838 wxString *arg4 = (wxString *) &arg4_defvalue ;
8839 wxStatusBar *result = 0 ;
8840 void *argp1 = 0 ;
8841 int res1 = 0 ;
8842 int val2 ;
8843 int ecode2 = 0 ;
8844 long val3 ;
8845 int ecode3 = 0 ;
8846 bool temp4 = false ;
8847 PyObject * obj0 = 0 ;
8848 PyObject * obj1 = 0 ;
8849 PyObject * obj2 = 0 ;
8850 PyObject * obj3 = 0 ;
8851 char * kwnames[] = {
8852 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8853 };
8854
8855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8857 if (!SWIG_IsOK(res1)) {
8858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8859 }
8860 arg1 = reinterpret_cast< wxWindow * >(argp1);
8861 if (obj1) {
8862 ecode2 = SWIG_AsVal_int(obj1, &val2);
8863 if (!SWIG_IsOK(ecode2)) {
8864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8865 }
8866 arg2 = static_cast< int >(val2);
8867 }
8868 if (obj2) {
8869 ecode3 = SWIG_AsVal_long(obj2, &val3);
8870 if (!SWIG_IsOK(ecode3)) {
8871 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8872 }
8873 arg3 = static_cast< long >(val3);
8874 }
8875 if (obj3) {
8876 {
8877 arg4 = wxString_in_helper(obj3);
8878 if (arg4 == NULL) SWIG_fail;
8879 temp4 = true;
8880 }
8881 }
8882 {
8883 if (!wxPyCheckForApp()) SWIG_fail;
8884 PyThreadState* __tstate = wxPyBeginAllowThreads();
8885 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8886 wxPyEndAllowThreads(__tstate);
8887 if (PyErr_Occurred()) SWIG_fail;
8888 }
8889 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8890 {
8891 if (temp4)
8892 delete arg4;
8893 }
8894 return resultobj;
8895 fail:
8896 {
8897 if (temp4)
8898 delete arg4;
8899 }
8900 return NULL;
8901 }
8902
8903
8904 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8905 PyObject *resultobj = 0;
8906 wxStatusBar *result = 0 ;
8907
8908 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8909 {
8910 if (!wxPyCheckForApp()) SWIG_fail;
8911 PyThreadState* __tstate = wxPyBeginAllowThreads();
8912 result = (wxStatusBar *)new wxStatusBar();
8913 wxPyEndAllowThreads(__tstate);
8914 if (PyErr_Occurred()) SWIG_fail;
8915 }
8916 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8917 return resultobj;
8918 fail:
8919 return NULL;
8920 }
8921
8922
8923 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8924 PyObject *resultobj = 0;
8925 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8926 wxWindow *arg2 = (wxWindow *) 0 ;
8927 int arg3 = (int) -1 ;
8928 long arg4 = (long) wxST_SIZEGRIP ;
8929 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8930 wxString *arg5 = (wxString *) &arg5_defvalue ;
8931 bool result;
8932 void *argp1 = 0 ;
8933 int res1 = 0 ;
8934 void *argp2 = 0 ;
8935 int res2 = 0 ;
8936 int val3 ;
8937 int ecode3 = 0 ;
8938 long val4 ;
8939 int ecode4 = 0 ;
8940 bool temp5 = false ;
8941 PyObject * obj0 = 0 ;
8942 PyObject * obj1 = 0 ;
8943 PyObject * obj2 = 0 ;
8944 PyObject * obj3 = 0 ;
8945 PyObject * obj4 = 0 ;
8946 char * kwnames[] = {
8947 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8948 };
8949
8950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8952 if (!SWIG_IsOK(res1)) {
8953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8954 }
8955 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8956 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8957 if (!SWIG_IsOK(res2)) {
8958 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8959 }
8960 arg2 = reinterpret_cast< wxWindow * >(argp2);
8961 if (obj2) {
8962 ecode3 = SWIG_AsVal_int(obj2, &val3);
8963 if (!SWIG_IsOK(ecode3)) {
8964 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8965 }
8966 arg3 = static_cast< int >(val3);
8967 }
8968 if (obj3) {
8969 ecode4 = SWIG_AsVal_long(obj3, &val4);
8970 if (!SWIG_IsOK(ecode4)) {
8971 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8972 }
8973 arg4 = static_cast< long >(val4);
8974 }
8975 if (obj4) {
8976 {
8977 arg5 = wxString_in_helper(obj4);
8978 if (arg5 == NULL) SWIG_fail;
8979 temp5 = true;
8980 }
8981 }
8982 {
8983 PyThreadState* __tstate = wxPyBeginAllowThreads();
8984 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8985 wxPyEndAllowThreads(__tstate);
8986 if (PyErr_Occurred()) SWIG_fail;
8987 }
8988 {
8989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8990 }
8991 {
8992 if (temp5)
8993 delete arg5;
8994 }
8995 return resultobj;
8996 fail:
8997 {
8998 if (temp5)
8999 delete arg5;
9000 }
9001 return NULL;
9002 }
9003
9004
9005 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9006 PyObject *resultobj = 0;
9007 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9008 int arg2 = (int) 1 ;
9009 void *argp1 = 0 ;
9010 int res1 = 0 ;
9011 int val2 ;
9012 int ecode2 = 0 ;
9013 PyObject * obj0 = 0 ;
9014 PyObject * obj1 = 0 ;
9015 char * kwnames[] = {
9016 (char *) "self",(char *) "number", NULL
9017 };
9018
9019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
9020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9021 if (!SWIG_IsOK(res1)) {
9022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9023 }
9024 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9025 if (obj1) {
9026 ecode2 = SWIG_AsVal_int(obj1, &val2);
9027 if (!SWIG_IsOK(ecode2)) {
9028 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
9029 }
9030 arg2 = static_cast< int >(val2);
9031 }
9032 {
9033 PyThreadState* __tstate = wxPyBeginAllowThreads();
9034 (arg1)->SetFieldsCount(arg2);
9035 wxPyEndAllowThreads(__tstate);
9036 if (PyErr_Occurred()) SWIG_fail;
9037 }
9038 resultobj = SWIG_Py_Void();
9039 return resultobj;
9040 fail:
9041 return NULL;
9042 }
9043
9044
9045 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9046 PyObject *resultobj = 0;
9047 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9048 int result;
9049 void *argp1 = 0 ;
9050 int res1 = 0 ;
9051 PyObject *swig_obj[1] ;
9052
9053 if (!args) SWIG_fail;
9054 swig_obj[0] = args;
9055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9056 if (!SWIG_IsOK(res1)) {
9057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9058 }
9059 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9060 {
9061 PyThreadState* __tstate = wxPyBeginAllowThreads();
9062 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
9063 wxPyEndAllowThreads(__tstate);
9064 if (PyErr_Occurred()) SWIG_fail;
9065 }
9066 resultobj = SWIG_From_int(static_cast< int >(result));
9067 return resultobj;
9068 fail:
9069 return NULL;
9070 }
9071
9072
9073 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9074 PyObject *resultobj = 0;
9075 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9076 wxString *arg2 = 0 ;
9077 int arg3 = (int) 0 ;
9078 void *argp1 = 0 ;
9079 int res1 = 0 ;
9080 bool temp2 = false ;
9081 int val3 ;
9082 int ecode3 = 0 ;
9083 PyObject * obj0 = 0 ;
9084 PyObject * obj1 = 0 ;
9085 PyObject * obj2 = 0 ;
9086 char * kwnames[] = {
9087 (char *) "self",(char *) "text",(char *) "number", NULL
9088 };
9089
9090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9092 if (!SWIG_IsOK(res1)) {
9093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9094 }
9095 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9096 {
9097 arg2 = wxString_in_helper(obj1);
9098 if (arg2 == NULL) SWIG_fail;
9099 temp2 = true;
9100 }
9101 if (obj2) {
9102 ecode3 = SWIG_AsVal_int(obj2, &val3);
9103 if (!SWIG_IsOK(ecode3)) {
9104 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
9105 }
9106 arg3 = static_cast< int >(val3);
9107 }
9108 {
9109 PyThreadState* __tstate = wxPyBeginAllowThreads();
9110 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
9111 wxPyEndAllowThreads(__tstate);
9112 if (PyErr_Occurred()) SWIG_fail;
9113 }
9114 resultobj = SWIG_Py_Void();
9115 {
9116 if (temp2)
9117 delete arg2;
9118 }
9119 return resultobj;
9120 fail:
9121 {
9122 if (temp2)
9123 delete arg2;
9124 }
9125 return NULL;
9126 }
9127
9128
9129 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9130 PyObject *resultobj = 0;
9131 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9132 int arg2 = (int) 0 ;
9133 wxString result;
9134 void *argp1 = 0 ;
9135 int res1 = 0 ;
9136 int val2 ;
9137 int ecode2 = 0 ;
9138 PyObject * obj0 = 0 ;
9139 PyObject * obj1 = 0 ;
9140 char * kwnames[] = {
9141 (char *) "self",(char *) "number", NULL
9142 };
9143
9144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9146 if (!SWIG_IsOK(res1)) {
9147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9148 }
9149 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9150 if (obj1) {
9151 ecode2 = SWIG_AsVal_int(obj1, &val2);
9152 if (!SWIG_IsOK(ecode2)) {
9153 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9154 }
9155 arg2 = static_cast< int >(val2);
9156 }
9157 {
9158 PyThreadState* __tstate = wxPyBeginAllowThreads();
9159 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9160 wxPyEndAllowThreads(__tstate);
9161 if (PyErr_Occurred()) SWIG_fail;
9162 }
9163 {
9164 #if wxUSE_UNICODE
9165 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9166 #else
9167 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9168 #endif
9169 }
9170 return resultobj;
9171 fail:
9172 return NULL;
9173 }
9174
9175
9176 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9177 PyObject *resultobj = 0;
9178 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9179 wxString *arg2 = 0 ;
9180 int arg3 = (int) 0 ;
9181 void *argp1 = 0 ;
9182 int res1 = 0 ;
9183 bool temp2 = false ;
9184 int val3 ;
9185 int ecode3 = 0 ;
9186 PyObject * obj0 = 0 ;
9187 PyObject * obj1 = 0 ;
9188 PyObject * obj2 = 0 ;
9189 char * kwnames[] = {
9190 (char *) "self",(char *) "text",(char *) "number", NULL
9191 };
9192
9193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9195 if (!SWIG_IsOK(res1)) {
9196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9197 }
9198 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9199 {
9200 arg2 = wxString_in_helper(obj1);
9201 if (arg2 == NULL) SWIG_fail;
9202 temp2 = true;
9203 }
9204 if (obj2) {
9205 ecode3 = SWIG_AsVal_int(obj2, &val3);
9206 if (!SWIG_IsOK(ecode3)) {
9207 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9208 }
9209 arg3 = static_cast< int >(val3);
9210 }
9211 {
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9214 wxPyEndAllowThreads(__tstate);
9215 if (PyErr_Occurred()) SWIG_fail;
9216 }
9217 resultobj = SWIG_Py_Void();
9218 {
9219 if (temp2)
9220 delete arg2;
9221 }
9222 return resultobj;
9223 fail:
9224 {
9225 if (temp2)
9226 delete arg2;
9227 }
9228 return NULL;
9229 }
9230
9231
9232 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9233 PyObject *resultobj = 0;
9234 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9235 int arg2 = (int) 0 ;
9236 void *argp1 = 0 ;
9237 int res1 = 0 ;
9238 int val2 ;
9239 int ecode2 = 0 ;
9240 PyObject * obj0 = 0 ;
9241 PyObject * obj1 = 0 ;
9242 char * kwnames[] = {
9243 (char *) "self",(char *) "number", NULL
9244 };
9245
9246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9248 if (!SWIG_IsOK(res1)) {
9249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9250 }
9251 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9252 if (obj1) {
9253 ecode2 = SWIG_AsVal_int(obj1, &val2);
9254 if (!SWIG_IsOK(ecode2)) {
9255 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9256 }
9257 arg2 = static_cast< int >(val2);
9258 }
9259 {
9260 PyThreadState* __tstate = wxPyBeginAllowThreads();
9261 (arg1)->PopStatusText(arg2);
9262 wxPyEndAllowThreads(__tstate);
9263 if (PyErr_Occurred()) SWIG_fail;
9264 }
9265 resultobj = SWIG_Py_Void();
9266 return resultobj;
9267 fail:
9268 return NULL;
9269 }
9270
9271
9272 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9273 PyObject *resultobj = 0;
9274 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9275 int arg2 ;
9276 int *arg3 = (int *) 0 ;
9277 void *argp1 = 0 ;
9278 int res1 = 0 ;
9279 PyObject * obj0 = 0 ;
9280 PyObject * obj1 = 0 ;
9281 char * kwnames[] = {
9282 (char *) "self",(char *) "widths", NULL
9283 };
9284
9285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9287 if (!SWIG_IsOK(res1)) {
9288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9289 }
9290 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9291 {
9292 arg2 = PyList_Size(obj1);
9293 arg3 = int_LIST_helper(obj1);
9294 if (arg3 == NULL) SWIG_fail;
9295 }
9296 {
9297 PyThreadState* __tstate = wxPyBeginAllowThreads();
9298 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9299 wxPyEndAllowThreads(__tstate);
9300 if (PyErr_Occurred()) SWIG_fail;
9301 }
9302 resultobj = SWIG_Py_Void();
9303 {
9304 if (arg3) delete [] arg3;
9305 }
9306 return resultobj;
9307 fail:
9308 {
9309 if (arg3) delete [] arg3;
9310 }
9311 return NULL;
9312 }
9313
9314
9315 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9316 PyObject *resultobj = 0;
9317 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9318 int arg2 ;
9319 int *arg3 = (int *) 0 ;
9320 void *argp1 = 0 ;
9321 int res1 = 0 ;
9322 PyObject * obj0 = 0 ;
9323 PyObject * obj1 = 0 ;
9324 char * kwnames[] = {
9325 (char *) "self",(char *) "styles", NULL
9326 };
9327
9328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9330 if (!SWIG_IsOK(res1)) {
9331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9332 }
9333 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9334 {
9335 arg2 = PyList_Size(obj1);
9336 arg3 = int_LIST_helper(obj1);
9337 if (arg3 == NULL) SWIG_fail;
9338 }
9339 {
9340 PyThreadState* __tstate = wxPyBeginAllowThreads();
9341 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9342 wxPyEndAllowThreads(__tstate);
9343 if (PyErr_Occurred()) SWIG_fail;
9344 }
9345 resultobj = SWIG_Py_Void();
9346 {
9347 if (arg3) delete [] arg3;
9348 }
9349 return resultobj;
9350 fail:
9351 {
9352 if (arg3) delete [] arg3;
9353 }
9354 return NULL;
9355 }
9356
9357
9358 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9359 PyObject *resultobj = 0;
9360 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9361 int arg2 ;
9362 wxRect result;
9363 void *argp1 = 0 ;
9364 int res1 = 0 ;
9365 int val2 ;
9366 int ecode2 = 0 ;
9367 PyObject * obj0 = 0 ;
9368 PyObject * obj1 = 0 ;
9369 char * kwnames[] = {
9370 (char *) "self",(char *) "i", NULL
9371 };
9372
9373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9375 if (!SWIG_IsOK(res1)) {
9376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9377 }
9378 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9379 ecode2 = SWIG_AsVal_int(obj1, &val2);
9380 if (!SWIG_IsOK(ecode2)) {
9381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9382 }
9383 arg2 = static_cast< int >(val2);
9384 {
9385 PyThreadState* __tstate = wxPyBeginAllowThreads();
9386 result = wxStatusBar_GetFieldRect(arg1,arg2);
9387 wxPyEndAllowThreads(__tstate);
9388 if (PyErr_Occurred()) SWIG_fail;
9389 }
9390 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9391 return resultobj;
9392 fail:
9393 return NULL;
9394 }
9395
9396
9397 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9398 PyObject *resultobj = 0;
9399 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9400 int arg2 ;
9401 void *argp1 = 0 ;
9402 int res1 = 0 ;
9403 int val2 ;
9404 int ecode2 = 0 ;
9405 PyObject * obj0 = 0 ;
9406 PyObject * obj1 = 0 ;
9407 char * kwnames[] = {
9408 (char *) "self",(char *) "height", NULL
9409 };
9410
9411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9413 if (!SWIG_IsOK(res1)) {
9414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9415 }
9416 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9417 ecode2 = SWIG_AsVal_int(obj1, &val2);
9418 if (!SWIG_IsOK(ecode2)) {
9419 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9420 }
9421 arg2 = static_cast< int >(val2);
9422 {
9423 PyThreadState* __tstate = wxPyBeginAllowThreads();
9424 (arg1)->SetMinHeight(arg2);
9425 wxPyEndAllowThreads(__tstate);
9426 if (PyErr_Occurred()) SWIG_fail;
9427 }
9428 resultobj = SWIG_Py_Void();
9429 return resultobj;
9430 fail:
9431 return NULL;
9432 }
9433
9434
9435 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9436 PyObject *resultobj = 0;
9437 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9438 int result;
9439 void *argp1 = 0 ;
9440 int res1 = 0 ;
9441 PyObject *swig_obj[1] ;
9442
9443 if (!args) SWIG_fail;
9444 swig_obj[0] = args;
9445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9446 if (!SWIG_IsOK(res1)) {
9447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9448 }
9449 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9450 {
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9453 wxPyEndAllowThreads(__tstate);
9454 if (PyErr_Occurred()) SWIG_fail;
9455 }
9456 resultobj = SWIG_From_int(static_cast< int >(result));
9457 return resultobj;
9458 fail:
9459 return NULL;
9460 }
9461
9462
9463 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9464 PyObject *resultobj = 0;
9465 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9466 int result;
9467 void *argp1 = 0 ;
9468 int res1 = 0 ;
9469 PyObject *swig_obj[1] ;
9470
9471 if (!args) SWIG_fail;
9472 swig_obj[0] = args;
9473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9474 if (!SWIG_IsOK(res1)) {
9475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9476 }
9477 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9478 {
9479 PyThreadState* __tstate = wxPyBeginAllowThreads();
9480 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9481 wxPyEndAllowThreads(__tstate);
9482 if (PyErr_Occurred()) SWIG_fail;
9483 }
9484 resultobj = SWIG_From_int(static_cast< int >(result));
9485 return resultobj;
9486 fail:
9487 return NULL;
9488 }
9489
9490
9491 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9492 PyObject *resultobj = 0;
9493 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9494 SwigValueWrapper<wxVisualAttributes > result;
9495 int val1 ;
9496 int ecode1 = 0 ;
9497 PyObject * obj0 = 0 ;
9498 char * kwnames[] = {
9499 (char *) "variant", NULL
9500 };
9501
9502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9503 if (obj0) {
9504 ecode1 = SWIG_AsVal_int(obj0, &val1);
9505 if (!SWIG_IsOK(ecode1)) {
9506 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9507 }
9508 arg1 = static_cast< wxWindowVariant >(val1);
9509 }
9510 {
9511 if (!wxPyCheckForApp()) SWIG_fail;
9512 PyThreadState* __tstate = wxPyBeginAllowThreads();
9513 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9514 wxPyEndAllowThreads(__tstate);
9515 if (PyErr_Occurred()) SWIG_fail;
9516 }
9517 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9518 return resultobj;
9519 fail:
9520 return NULL;
9521 }
9522
9523
9524 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9525 PyObject *obj;
9526 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9527 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9528 return SWIG_Py_Void();
9529 }
9530
9531 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9532 return SWIG_Python_InitShadowInstance(args);
9533 }
9534
9535 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9536 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9537 return 1;
9538 }
9539
9540
9541 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9542 PyObject *pyobj = 0;
9543
9544 {
9545 #if wxUSE_UNICODE
9546 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9547 #else
9548 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9549 #endif
9550 }
9551 return pyobj;
9552 }
9553
9554
9555 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9556 PyObject *resultobj = 0;
9557 wxWindow *arg1 = (wxWindow *) 0 ;
9558 int arg2 = (int) -1 ;
9559 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9560 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9561 wxSize const &arg4_defvalue = wxDefaultSize ;
9562 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9563 long arg5 = (long) wxSP_3D ;
9564 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9565 wxString *arg6 = (wxString *) &arg6_defvalue ;
9566 wxSplitterWindow *result = 0 ;
9567 void *argp1 = 0 ;
9568 int res1 = 0 ;
9569 int val2 ;
9570 int ecode2 = 0 ;
9571 wxPoint temp3 ;
9572 wxSize temp4 ;
9573 long val5 ;
9574 int ecode5 = 0 ;
9575 bool temp6 = false ;
9576 PyObject * obj0 = 0 ;
9577 PyObject * obj1 = 0 ;
9578 PyObject * obj2 = 0 ;
9579 PyObject * obj3 = 0 ;
9580 PyObject * obj4 = 0 ;
9581 PyObject * obj5 = 0 ;
9582 char * kwnames[] = {
9583 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9584 };
9585
9586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9588 if (!SWIG_IsOK(res1)) {
9589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9590 }
9591 arg1 = reinterpret_cast< wxWindow * >(argp1);
9592 if (obj1) {
9593 ecode2 = SWIG_AsVal_int(obj1, &val2);
9594 if (!SWIG_IsOK(ecode2)) {
9595 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9596 }
9597 arg2 = static_cast< int >(val2);
9598 }
9599 if (obj2) {
9600 {
9601 arg3 = &temp3;
9602 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9603 }
9604 }
9605 if (obj3) {
9606 {
9607 arg4 = &temp4;
9608 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9609 }
9610 }
9611 if (obj4) {
9612 ecode5 = SWIG_AsVal_long(obj4, &val5);
9613 if (!SWIG_IsOK(ecode5)) {
9614 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9615 }
9616 arg5 = static_cast< long >(val5);
9617 }
9618 if (obj5) {
9619 {
9620 arg6 = wxString_in_helper(obj5);
9621 if (arg6 == NULL) SWIG_fail;
9622 temp6 = true;
9623 }
9624 }
9625 {
9626 if (!wxPyCheckForApp()) SWIG_fail;
9627 PyThreadState* __tstate = wxPyBeginAllowThreads();
9628 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9629 wxPyEndAllowThreads(__tstate);
9630 if (PyErr_Occurred()) SWIG_fail;
9631 }
9632 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9633 {
9634 if (temp6)
9635 delete arg6;
9636 }
9637 return resultobj;
9638 fail:
9639 {
9640 if (temp6)
9641 delete arg6;
9642 }
9643 return NULL;
9644 }
9645
9646
9647 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9648 PyObject *resultobj = 0;
9649 wxSplitterWindow *result = 0 ;
9650
9651 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9652 {
9653 if (!wxPyCheckForApp()) SWIG_fail;
9654 PyThreadState* __tstate = wxPyBeginAllowThreads();
9655 result = (wxSplitterWindow *)new wxSplitterWindow();
9656 wxPyEndAllowThreads(__tstate);
9657 if (PyErr_Occurred()) SWIG_fail;
9658 }
9659 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9660 return resultobj;
9661 fail:
9662 return NULL;
9663 }
9664
9665
9666 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9667 PyObject *resultobj = 0;
9668 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9669 wxWindow *arg2 = (wxWindow *) 0 ;
9670 int arg3 = (int) -1 ;
9671 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9672 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9673 wxSize const &arg5_defvalue = wxDefaultSize ;
9674 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9675 long arg6 = (long) wxSP_3D ;
9676 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9677 wxString *arg7 = (wxString *) &arg7_defvalue ;
9678 bool result;
9679 void *argp1 = 0 ;
9680 int res1 = 0 ;
9681 void *argp2 = 0 ;
9682 int res2 = 0 ;
9683 int val3 ;
9684 int ecode3 = 0 ;
9685 wxPoint temp4 ;
9686 wxSize temp5 ;
9687 long val6 ;
9688 int ecode6 = 0 ;
9689 bool temp7 = false ;
9690 PyObject * obj0 = 0 ;
9691 PyObject * obj1 = 0 ;
9692 PyObject * obj2 = 0 ;
9693 PyObject * obj3 = 0 ;
9694 PyObject * obj4 = 0 ;
9695 PyObject * obj5 = 0 ;
9696 PyObject * obj6 = 0 ;
9697 char * kwnames[] = {
9698 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9699 };
9700
9701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9703 if (!SWIG_IsOK(res1)) {
9704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9705 }
9706 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9707 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9708 if (!SWIG_IsOK(res2)) {
9709 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9710 }
9711 arg2 = reinterpret_cast< wxWindow * >(argp2);
9712 if (obj2) {
9713 ecode3 = SWIG_AsVal_int(obj2, &val3);
9714 if (!SWIG_IsOK(ecode3)) {
9715 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9716 }
9717 arg3 = static_cast< int >(val3);
9718 }
9719 if (obj3) {
9720 {
9721 arg4 = &temp4;
9722 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9723 }
9724 }
9725 if (obj4) {
9726 {
9727 arg5 = &temp5;
9728 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9729 }
9730 }
9731 if (obj5) {
9732 ecode6 = SWIG_AsVal_long(obj5, &val6);
9733 if (!SWIG_IsOK(ecode6)) {
9734 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9735 }
9736 arg6 = static_cast< long >(val6);
9737 }
9738 if (obj6) {
9739 {
9740 arg7 = wxString_in_helper(obj6);
9741 if (arg7 == NULL) SWIG_fail;
9742 temp7 = true;
9743 }
9744 }
9745 {
9746 PyThreadState* __tstate = wxPyBeginAllowThreads();
9747 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9748 wxPyEndAllowThreads(__tstate);
9749 if (PyErr_Occurred()) SWIG_fail;
9750 }
9751 {
9752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9753 }
9754 {
9755 if (temp7)
9756 delete arg7;
9757 }
9758 return resultobj;
9759 fail:
9760 {
9761 if (temp7)
9762 delete arg7;
9763 }
9764 return NULL;
9765 }
9766
9767
9768 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9769 PyObject *resultobj = 0;
9770 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9771 wxWindow *result = 0 ;
9772 void *argp1 = 0 ;
9773 int res1 = 0 ;
9774 PyObject *swig_obj[1] ;
9775
9776 if (!args) SWIG_fail;
9777 swig_obj[0] = args;
9778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9779 if (!SWIG_IsOK(res1)) {
9780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9781 }
9782 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9783 {
9784 PyThreadState* __tstate = wxPyBeginAllowThreads();
9785 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9786 wxPyEndAllowThreads(__tstate);
9787 if (PyErr_Occurred()) SWIG_fail;
9788 }
9789 {
9790 resultobj = wxPyMake_wxObject(result, 0);
9791 }
9792 return resultobj;
9793 fail:
9794 return NULL;
9795 }
9796
9797
9798 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9799 PyObject *resultobj = 0;
9800 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9801 wxWindow *result = 0 ;
9802 void *argp1 = 0 ;
9803 int res1 = 0 ;
9804 PyObject *swig_obj[1] ;
9805
9806 if (!args) SWIG_fail;
9807 swig_obj[0] = args;
9808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9809 if (!SWIG_IsOK(res1)) {
9810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9811 }
9812 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9813 {
9814 PyThreadState* __tstate = wxPyBeginAllowThreads();
9815 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9816 wxPyEndAllowThreads(__tstate);
9817 if (PyErr_Occurred()) SWIG_fail;
9818 }
9819 {
9820 resultobj = wxPyMake_wxObject(result, 0);
9821 }
9822 return resultobj;
9823 fail:
9824 return NULL;
9825 }
9826
9827
9828 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9829 PyObject *resultobj = 0;
9830 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9831 int arg2 ;
9832 void *argp1 = 0 ;
9833 int res1 = 0 ;
9834 int val2 ;
9835 int ecode2 = 0 ;
9836 PyObject * obj0 = 0 ;
9837 PyObject * obj1 = 0 ;
9838 char * kwnames[] = {
9839 (char *) "self",(char *) "mode", NULL
9840 };
9841
9842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9844 if (!SWIG_IsOK(res1)) {
9845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9846 }
9847 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9848 ecode2 = SWIG_AsVal_int(obj1, &val2);
9849 if (!SWIG_IsOK(ecode2)) {
9850 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9851 }
9852 arg2 = static_cast< int >(val2);
9853 {
9854 PyThreadState* __tstate = wxPyBeginAllowThreads();
9855 (arg1)->SetSplitMode(arg2);
9856 wxPyEndAllowThreads(__tstate);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
9859 resultobj = SWIG_Py_Void();
9860 return resultobj;
9861 fail:
9862 return NULL;
9863 }
9864
9865
9866 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9867 PyObject *resultobj = 0;
9868 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9869 wxSplitMode result;
9870 void *argp1 = 0 ;
9871 int res1 = 0 ;
9872 PyObject *swig_obj[1] ;
9873
9874 if (!args) SWIG_fail;
9875 swig_obj[0] = args;
9876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9877 if (!SWIG_IsOK(res1)) {
9878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9879 }
9880 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9881 {
9882 PyThreadState* __tstate = wxPyBeginAllowThreads();
9883 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9884 wxPyEndAllowThreads(__tstate);
9885 if (PyErr_Occurred()) SWIG_fail;
9886 }
9887 resultobj = SWIG_From_int(static_cast< int >(result));
9888 return resultobj;
9889 fail:
9890 return NULL;
9891 }
9892
9893
9894 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9895 PyObject *resultobj = 0;
9896 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9897 wxWindow *arg2 = (wxWindow *) 0 ;
9898 void *argp1 = 0 ;
9899 int res1 = 0 ;
9900 void *argp2 = 0 ;
9901 int res2 = 0 ;
9902 PyObject * obj0 = 0 ;
9903 PyObject * obj1 = 0 ;
9904 char * kwnames[] = {
9905 (char *) "self",(char *) "window", NULL
9906 };
9907
9908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9910 if (!SWIG_IsOK(res1)) {
9911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9912 }
9913 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9914 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9915 if (!SWIG_IsOK(res2)) {
9916 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9917 }
9918 arg2 = reinterpret_cast< wxWindow * >(argp2);
9919 {
9920 PyThreadState* __tstate = wxPyBeginAllowThreads();
9921 (arg1)->Initialize(arg2);
9922 wxPyEndAllowThreads(__tstate);
9923 if (PyErr_Occurred()) SWIG_fail;
9924 }
9925 resultobj = SWIG_Py_Void();
9926 return resultobj;
9927 fail:
9928 return NULL;
9929 }
9930
9931
9932 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9933 PyObject *resultobj = 0;
9934 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9935 wxWindow *arg2 = (wxWindow *) 0 ;
9936 wxWindow *arg3 = (wxWindow *) 0 ;
9937 int arg4 = (int) 0 ;
9938 bool result;
9939 void *argp1 = 0 ;
9940 int res1 = 0 ;
9941 void *argp2 = 0 ;
9942 int res2 = 0 ;
9943 void *argp3 = 0 ;
9944 int res3 = 0 ;
9945 int val4 ;
9946 int ecode4 = 0 ;
9947 PyObject * obj0 = 0 ;
9948 PyObject * obj1 = 0 ;
9949 PyObject * obj2 = 0 ;
9950 PyObject * obj3 = 0 ;
9951 char * kwnames[] = {
9952 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9953 };
9954
9955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9957 if (!SWIG_IsOK(res1)) {
9958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9959 }
9960 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9961 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9962 if (!SWIG_IsOK(res2)) {
9963 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9964 }
9965 arg2 = reinterpret_cast< wxWindow * >(argp2);
9966 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9967 if (!SWIG_IsOK(res3)) {
9968 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9969 }
9970 arg3 = reinterpret_cast< wxWindow * >(argp3);
9971 if (obj3) {
9972 ecode4 = SWIG_AsVal_int(obj3, &val4);
9973 if (!SWIG_IsOK(ecode4)) {
9974 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9975 }
9976 arg4 = static_cast< int >(val4);
9977 }
9978 {
9979 PyThreadState* __tstate = wxPyBeginAllowThreads();
9980 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9981 wxPyEndAllowThreads(__tstate);
9982 if (PyErr_Occurred()) SWIG_fail;
9983 }
9984 {
9985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9986 }
9987 return resultobj;
9988 fail:
9989 return NULL;
9990 }
9991
9992
9993 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9994 PyObject *resultobj = 0;
9995 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9996 wxWindow *arg2 = (wxWindow *) 0 ;
9997 wxWindow *arg3 = (wxWindow *) 0 ;
9998 int arg4 = (int) 0 ;
9999 bool result;
10000 void *argp1 = 0 ;
10001 int res1 = 0 ;
10002 void *argp2 = 0 ;
10003 int res2 = 0 ;
10004 void *argp3 = 0 ;
10005 int res3 = 0 ;
10006 int val4 ;
10007 int ecode4 = 0 ;
10008 PyObject * obj0 = 0 ;
10009 PyObject * obj1 = 0 ;
10010 PyObject * obj2 = 0 ;
10011 PyObject * obj3 = 0 ;
10012 char * kwnames[] = {
10013 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
10014 };
10015
10016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10018 if (!SWIG_IsOK(res1)) {
10019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10020 }
10021 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10022 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10023 if (!SWIG_IsOK(res2)) {
10024 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
10025 }
10026 arg2 = reinterpret_cast< wxWindow * >(argp2);
10027 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10028 if (!SWIG_IsOK(res3)) {
10029 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
10030 }
10031 arg3 = reinterpret_cast< wxWindow * >(argp3);
10032 if (obj3) {
10033 ecode4 = SWIG_AsVal_int(obj3, &val4);
10034 if (!SWIG_IsOK(ecode4)) {
10035 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
10036 }
10037 arg4 = static_cast< int >(val4);
10038 }
10039 {
10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
10041 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
10042 wxPyEndAllowThreads(__tstate);
10043 if (PyErr_Occurred()) SWIG_fail;
10044 }
10045 {
10046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10047 }
10048 return resultobj;
10049 fail:
10050 return NULL;
10051 }
10052
10053
10054 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10055 PyObject *resultobj = 0;
10056 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10057 wxWindow *arg2 = (wxWindow *) NULL ;
10058 bool result;
10059 void *argp1 = 0 ;
10060 int res1 = 0 ;
10061 void *argp2 = 0 ;
10062 int res2 = 0 ;
10063 PyObject * obj0 = 0 ;
10064 PyObject * obj1 = 0 ;
10065 char * kwnames[] = {
10066 (char *) "self",(char *) "toRemove", NULL
10067 };
10068
10069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
10070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10071 if (!SWIG_IsOK(res1)) {
10072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10073 }
10074 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10075 if (obj1) {
10076 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10077 if (!SWIG_IsOK(res2)) {
10078 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
10079 }
10080 arg2 = reinterpret_cast< wxWindow * >(argp2);
10081 }
10082 {
10083 PyThreadState* __tstate = wxPyBeginAllowThreads();
10084 result = (bool)(arg1)->Unsplit(arg2);
10085 wxPyEndAllowThreads(__tstate);
10086 if (PyErr_Occurred()) SWIG_fail;
10087 }
10088 {
10089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10090 }
10091 return resultobj;
10092 fail:
10093 return NULL;
10094 }
10095
10096
10097 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10098 PyObject *resultobj = 0;
10099 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10100 wxWindow *arg2 = (wxWindow *) 0 ;
10101 wxWindow *arg3 = (wxWindow *) 0 ;
10102 bool result;
10103 void *argp1 = 0 ;
10104 int res1 = 0 ;
10105 void *argp2 = 0 ;
10106 int res2 = 0 ;
10107 void *argp3 = 0 ;
10108 int res3 = 0 ;
10109 PyObject * obj0 = 0 ;
10110 PyObject * obj1 = 0 ;
10111 PyObject * obj2 = 0 ;
10112 char * kwnames[] = {
10113 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
10114 };
10115
10116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10118 if (!SWIG_IsOK(res1)) {
10119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10120 }
10121 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10122 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10123 if (!SWIG_IsOK(res2)) {
10124 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10125 }
10126 arg2 = reinterpret_cast< wxWindow * >(argp2);
10127 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10128 if (!SWIG_IsOK(res3)) {
10129 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10130 }
10131 arg3 = reinterpret_cast< wxWindow * >(argp3);
10132 {
10133 PyThreadState* __tstate = wxPyBeginAllowThreads();
10134 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10135 wxPyEndAllowThreads(__tstate);
10136 if (PyErr_Occurred()) SWIG_fail;
10137 }
10138 {
10139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10140 }
10141 return resultobj;
10142 fail:
10143 return NULL;
10144 }
10145
10146
10147 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10148 PyObject *resultobj = 0;
10149 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10150 void *argp1 = 0 ;
10151 int res1 = 0 ;
10152 PyObject *swig_obj[1] ;
10153
10154 if (!args) SWIG_fail;
10155 swig_obj[0] = args;
10156 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10157 if (!SWIG_IsOK(res1)) {
10158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10159 }
10160 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10161 {
10162 PyThreadState* __tstate = wxPyBeginAllowThreads();
10163 (arg1)->UpdateSize();
10164 wxPyEndAllowThreads(__tstate);
10165 if (PyErr_Occurred()) SWIG_fail;
10166 }
10167 resultobj = SWIG_Py_Void();
10168 return resultobj;
10169 fail:
10170 return NULL;
10171 }
10172
10173
10174 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10175 PyObject *resultobj = 0;
10176 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10177 bool result;
10178 void *argp1 = 0 ;
10179 int res1 = 0 ;
10180 PyObject *swig_obj[1] ;
10181
10182 if (!args) SWIG_fail;
10183 swig_obj[0] = args;
10184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10185 if (!SWIG_IsOK(res1)) {
10186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10187 }
10188 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10189 {
10190 PyThreadState* __tstate = wxPyBeginAllowThreads();
10191 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10192 wxPyEndAllowThreads(__tstate);
10193 if (PyErr_Occurred()) SWIG_fail;
10194 }
10195 {
10196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10197 }
10198 return resultobj;
10199 fail:
10200 return NULL;
10201 }
10202
10203
10204 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10205 PyObject *resultobj = 0;
10206 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10207 int arg2 ;
10208 void *argp1 = 0 ;
10209 int res1 = 0 ;
10210 int val2 ;
10211 int ecode2 = 0 ;
10212 PyObject * obj0 = 0 ;
10213 PyObject * obj1 = 0 ;
10214 char * kwnames[] = {
10215 (char *) "self",(char *) "width", NULL
10216 };
10217
10218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10220 if (!SWIG_IsOK(res1)) {
10221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10222 }
10223 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10224 ecode2 = SWIG_AsVal_int(obj1, &val2);
10225 if (!SWIG_IsOK(ecode2)) {
10226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10227 }
10228 arg2 = static_cast< int >(val2);
10229 {
10230 PyThreadState* __tstate = wxPyBeginAllowThreads();
10231 (arg1)->SetSashSize(arg2);
10232 wxPyEndAllowThreads(__tstate);
10233 if (PyErr_Occurred()) SWIG_fail;
10234 }
10235 resultobj = SWIG_Py_Void();
10236 return resultobj;
10237 fail:
10238 return NULL;
10239 }
10240
10241
10242 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10243 PyObject *resultobj = 0;
10244 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10245 int arg2 ;
10246 void *argp1 = 0 ;
10247 int res1 = 0 ;
10248 int val2 ;
10249 int ecode2 = 0 ;
10250 PyObject * obj0 = 0 ;
10251 PyObject * obj1 = 0 ;
10252 char * kwnames[] = {
10253 (char *) "self",(char *) "width", NULL
10254 };
10255
10256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10258 if (!SWIG_IsOK(res1)) {
10259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10260 }
10261 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10262 ecode2 = SWIG_AsVal_int(obj1, &val2);
10263 if (!SWIG_IsOK(ecode2)) {
10264 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10265 }
10266 arg2 = static_cast< int >(val2);
10267 {
10268 PyThreadState* __tstate = wxPyBeginAllowThreads();
10269 (arg1)->SetBorderSize(arg2);
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 resultobj = SWIG_Py_Void();
10274 return resultobj;
10275 fail:
10276 return NULL;
10277 }
10278
10279
10280 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10281 PyObject *resultobj = 0;
10282 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10283 int result;
10284 void *argp1 = 0 ;
10285 int res1 = 0 ;
10286 PyObject *swig_obj[1] ;
10287
10288 if (!args) SWIG_fail;
10289 swig_obj[0] = args;
10290 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10291 if (!SWIG_IsOK(res1)) {
10292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10293 }
10294 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10295 {
10296 PyThreadState* __tstate = wxPyBeginAllowThreads();
10297 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10298 wxPyEndAllowThreads(__tstate);
10299 if (PyErr_Occurred()) SWIG_fail;
10300 }
10301 resultobj = SWIG_From_int(static_cast< int >(result));
10302 return resultobj;
10303 fail:
10304 return NULL;
10305 }
10306
10307
10308 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10309 PyObject *resultobj = 0;
10310 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10311 int result;
10312 void *argp1 = 0 ;
10313 int res1 = 0 ;
10314 PyObject *swig_obj[1] ;
10315
10316 if (!args) SWIG_fail;
10317 swig_obj[0] = args;
10318 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10319 if (!SWIG_IsOK(res1)) {
10320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10321 }
10322 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10323 {
10324 PyThreadState* __tstate = wxPyBeginAllowThreads();
10325 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10326 wxPyEndAllowThreads(__tstate);
10327 if (PyErr_Occurred()) SWIG_fail;
10328 }
10329 resultobj = SWIG_From_int(static_cast< int >(result));
10330 return resultobj;
10331 fail:
10332 return NULL;
10333 }
10334
10335
10336 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10337 PyObject *resultobj = 0;
10338 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10339 int arg2 ;
10340 bool arg3 = (bool) true ;
10341 void *argp1 = 0 ;
10342 int res1 = 0 ;
10343 int val2 ;
10344 int ecode2 = 0 ;
10345 bool val3 ;
10346 int ecode3 = 0 ;
10347 PyObject * obj0 = 0 ;
10348 PyObject * obj1 = 0 ;
10349 PyObject * obj2 = 0 ;
10350 char * kwnames[] = {
10351 (char *) "self",(char *) "position",(char *) "redraw", NULL
10352 };
10353
10354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10356 if (!SWIG_IsOK(res1)) {
10357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10358 }
10359 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10360 ecode2 = SWIG_AsVal_int(obj1, &val2);
10361 if (!SWIG_IsOK(ecode2)) {
10362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10363 }
10364 arg2 = static_cast< int >(val2);
10365 if (obj2) {
10366 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10367 if (!SWIG_IsOK(ecode3)) {
10368 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10369 }
10370 arg3 = static_cast< bool >(val3);
10371 }
10372 {
10373 PyThreadState* __tstate = wxPyBeginAllowThreads();
10374 (arg1)->SetSashPosition(arg2,arg3);
10375 wxPyEndAllowThreads(__tstate);
10376 if (PyErr_Occurred()) SWIG_fail;
10377 }
10378 resultobj = SWIG_Py_Void();
10379 return resultobj;
10380 fail:
10381 return NULL;
10382 }
10383
10384
10385 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10386 PyObject *resultobj = 0;
10387 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10388 int result;
10389 void *argp1 = 0 ;
10390 int res1 = 0 ;
10391 PyObject *swig_obj[1] ;
10392
10393 if (!args) SWIG_fail;
10394 swig_obj[0] = args;
10395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10396 if (!SWIG_IsOK(res1)) {
10397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10398 }
10399 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10400 {
10401 PyThreadState* __tstate = wxPyBeginAllowThreads();
10402 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10403 wxPyEndAllowThreads(__tstate);
10404 if (PyErr_Occurred()) SWIG_fail;
10405 }
10406 resultobj = SWIG_From_int(static_cast< int >(result));
10407 return resultobj;
10408 fail:
10409 return NULL;
10410 }
10411
10412
10413 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10414 PyObject *resultobj = 0;
10415 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10416 double arg2 ;
10417 void *argp1 = 0 ;
10418 int res1 = 0 ;
10419 double val2 ;
10420 int ecode2 = 0 ;
10421 PyObject * obj0 = 0 ;
10422 PyObject * obj1 = 0 ;
10423 char * kwnames[] = {
10424 (char *) "self",(char *) "gravity", NULL
10425 };
10426
10427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10429 if (!SWIG_IsOK(res1)) {
10430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10431 }
10432 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10433 ecode2 = SWIG_AsVal_double(obj1, &val2);
10434 if (!SWIG_IsOK(ecode2)) {
10435 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10436 }
10437 arg2 = static_cast< double >(val2);
10438 {
10439 PyThreadState* __tstate = wxPyBeginAllowThreads();
10440 (arg1)->SetSashGravity(arg2);
10441 wxPyEndAllowThreads(__tstate);
10442 if (PyErr_Occurred()) SWIG_fail;
10443 }
10444 resultobj = SWIG_Py_Void();
10445 return resultobj;
10446 fail:
10447 return NULL;
10448 }
10449
10450
10451 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10452 PyObject *resultobj = 0;
10453 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10454 double result;
10455 void *argp1 = 0 ;
10456 int res1 = 0 ;
10457 PyObject *swig_obj[1] ;
10458
10459 if (!args) SWIG_fail;
10460 swig_obj[0] = args;
10461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10462 if (!SWIG_IsOK(res1)) {
10463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10464 }
10465 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10466 {
10467 PyThreadState* __tstate = wxPyBeginAllowThreads();
10468 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10469 wxPyEndAllowThreads(__tstate);
10470 if (PyErr_Occurred()) SWIG_fail;
10471 }
10472 resultobj = SWIG_From_double(static_cast< double >(result));
10473 return resultobj;
10474 fail:
10475 return NULL;
10476 }
10477
10478
10479 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10480 PyObject *resultobj = 0;
10481 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10482 int arg2 ;
10483 void *argp1 = 0 ;
10484 int res1 = 0 ;
10485 int val2 ;
10486 int ecode2 = 0 ;
10487 PyObject * obj0 = 0 ;
10488 PyObject * obj1 = 0 ;
10489 char * kwnames[] = {
10490 (char *) "self",(char *) "min", NULL
10491 };
10492
10493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10495 if (!SWIG_IsOK(res1)) {
10496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10497 }
10498 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10499 ecode2 = SWIG_AsVal_int(obj1, &val2);
10500 if (!SWIG_IsOK(ecode2)) {
10501 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10502 }
10503 arg2 = static_cast< int >(val2);
10504 {
10505 PyThreadState* __tstate = wxPyBeginAllowThreads();
10506 (arg1)->SetMinimumPaneSize(arg2);
10507 wxPyEndAllowThreads(__tstate);
10508 if (PyErr_Occurred()) SWIG_fail;
10509 }
10510 resultobj = SWIG_Py_Void();
10511 return resultobj;
10512 fail:
10513 return NULL;
10514 }
10515
10516
10517 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10518 PyObject *resultobj = 0;
10519 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10520 int result;
10521 void *argp1 = 0 ;
10522 int res1 = 0 ;
10523 PyObject *swig_obj[1] ;
10524
10525 if (!args) SWIG_fail;
10526 swig_obj[0] = args;
10527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10528 if (!SWIG_IsOK(res1)) {
10529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10530 }
10531 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10532 {
10533 PyThreadState* __tstate = wxPyBeginAllowThreads();
10534 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10535 wxPyEndAllowThreads(__tstate);
10536 if (PyErr_Occurred()) SWIG_fail;
10537 }
10538 resultobj = SWIG_From_int(static_cast< int >(result));
10539 return resultobj;
10540 fail:
10541 return NULL;
10542 }
10543
10544
10545 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10546 PyObject *resultobj = 0;
10547 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10548 int arg2 ;
10549 int arg3 ;
10550 int arg4 = (int) 5 ;
10551 bool result;
10552 void *argp1 = 0 ;
10553 int res1 = 0 ;
10554 int val2 ;
10555 int ecode2 = 0 ;
10556 int val3 ;
10557 int ecode3 = 0 ;
10558 int val4 ;
10559 int ecode4 = 0 ;
10560 PyObject * obj0 = 0 ;
10561 PyObject * obj1 = 0 ;
10562 PyObject * obj2 = 0 ;
10563 PyObject * obj3 = 0 ;
10564 char * kwnames[] = {
10565 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10566 };
10567
10568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10570 if (!SWIG_IsOK(res1)) {
10571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10572 }
10573 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10574 ecode2 = SWIG_AsVal_int(obj1, &val2);
10575 if (!SWIG_IsOK(ecode2)) {
10576 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10577 }
10578 arg2 = static_cast< int >(val2);
10579 ecode3 = SWIG_AsVal_int(obj2, &val3);
10580 if (!SWIG_IsOK(ecode3)) {
10581 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10582 }
10583 arg3 = static_cast< int >(val3);
10584 if (obj3) {
10585 ecode4 = SWIG_AsVal_int(obj3, &val4);
10586 if (!SWIG_IsOK(ecode4)) {
10587 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10588 }
10589 arg4 = static_cast< int >(val4);
10590 }
10591 {
10592 PyThreadState* __tstate = wxPyBeginAllowThreads();
10593 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10594 wxPyEndAllowThreads(__tstate);
10595 if (PyErr_Occurred()) SWIG_fail;
10596 }
10597 {
10598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10599 }
10600 return resultobj;
10601 fail:
10602 return NULL;
10603 }
10604
10605
10606 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10607 PyObject *resultobj = 0;
10608 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10609 void *argp1 = 0 ;
10610 int res1 = 0 ;
10611 PyObject *swig_obj[1] ;
10612
10613 if (!args) SWIG_fail;
10614 swig_obj[0] = args;
10615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10616 if (!SWIG_IsOK(res1)) {
10617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10618 }
10619 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10620 {
10621 PyThreadState* __tstate = wxPyBeginAllowThreads();
10622 (arg1)->SizeWindows();
10623 wxPyEndAllowThreads(__tstate);
10624 if (PyErr_Occurred()) SWIG_fail;
10625 }
10626 resultobj = SWIG_Py_Void();
10627 return resultobj;
10628 fail:
10629 return NULL;
10630 }
10631
10632
10633 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10634 PyObject *resultobj = 0;
10635 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10636 bool arg2 ;
10637 void *argp1 = 0 ;
10638 int res1 = 0 ;
10639 bool val2 ;
10640 int ecode2 = 0 ;
10641 PyObject * obj0 = 0 ;
10642 PyObject * obj1 = 0 ;
10643 char * kwnames[] = {
10644 (char *) "self",(char *) "needUpdating", NULL
10645 };
10646
10647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10649 if (!SWIG_IsOK(res1)) {
10650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10651 }
10652 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10653 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10654 if (!SWIG_IsOK(ecode2)) {
10655 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10656 }
10657 arg2 = static_cast< bool >(val2);
10658 {
10659 PyThreadState* __tstate = wxPyBeginAllowThreads();
10660 (arg1)->SetNeedUpdating(arg2);
10661 wxPyEndAllowThreads(__tstate);
10662 if (PyErr_Occurred()) SWIG_fail;
10663 }
10664 resultobj = SWIG_Py_Void();
10665 return resultobj;
10666 fail:
10667 return NULL;
10668 }
10669
10670
10671 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10672 PyObject *resultobj = 0;
10673 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10674 bool result;
10675 void *argp1 = 0 ;
10676 int res1 = 0 ;
10677 PyObject *swig_obj[1] ;
10678
10679 if (!args) SWIG_fail;
10680 swig_obj[0] = args;
10681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10682 if (!SWIG_IsOK(res1)) {
10683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10684 }
10685 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10686 {
10687 PyThreadState* __tstate = wxPyBeginAllowThreads();
10688 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10689 wxPyEndAllowThreads(__tstate);
10690 if (PyErr_Occurred()) SWIG_fail;
10691 }
10692 {
10693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10694 }
10695 return resultobj;
10696 fail:
10697 return NULL;
10698 }
10699
10700
10701 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10702 PyObject *resultobj = 0;
10703 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10704 SwigValueWrapper<wxVisualAttributes > result;
10705 int val1 ;
10706 int ecode1 = 0 ;
10707 PyObject * obj0 = 0 ;
10708 char * kwnames[] = {
10709 (char *) "variant", NULL
10710 };
10711
10712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10713 if (obj0) {
10714 ecode1 = SWIG_AsVal_int(obj0, &val1);
10715 if (!SWIG_IsOK(ecode1)) {
10716 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10717 }
10718 arg1 = static_cast< wxWindowVariant >(val1);
10719 }
10720 {
10721 if (!wxPyCheckForApp()) SWIG_fail;
10722 PyThreadState* __tstate = wxPyBeginAllowThreads();
10723 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10724 wxPyEndAllowThreads(__tstate);
10725 if (PyErr_Occurred()) SWIG_fail;
10726 }
10727 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10728 return resultobj;
10729 fail:
10730 return NULL;
10731 }
10732
10733
10734 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10735 PyObject *obj;
10736 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10737 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10738 return SWIG_Py_Void();
10739 }
10740
10741 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10742 return SWIG_Python_InitShadowInstance(args);
10743 }
10744
10745 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10746 PyObject *resultobj = 0;
10747 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10748 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10749 wxSplitterEvent *result = 0 ;
10750 int val1 ;
10751 int ecode1 = 0 ;
10752 void *argp2 = 0 ;
10753 int res2 = 0 ;
10754 PyObject * obj0 = 0 ;
10755 PyObject * obj1 = 0 ;
10756 char * kwnames[] = {
10757 (char *) "type",(char *) "splitter", NULL
10758 };
10759
10760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10761 if (obj0) {
10762 ecode1 = SWIG_AsVal_int(obj0, &val1);
10763 if (!SWIG_IsOK(ecode1)) {
10764 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10765 }
10766 arg1 = static_cast< wxEventType >(val1);
10767 }
10768 if (obj1) {
10769 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10770 if (!SWIG_IsOK(res2)) {
10771 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10772 }
10773 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10774 }
10775 {
10776 PyThreadState* __tstate = wxPyBeginAllowThreads();
10777 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10778 wxPyEndAllowThreads(__tstate);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 }
10781 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10782 return resultobj;
10783 fail:
10784 return NULL;
10785 }
10786
10787
10788 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10789 PyObject *resultobj = 0;
10790 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10791 int arg2 ;
10792 void *argp1 = 0 ;
10793 int res1 = 0 ;
10794 int val2 ;
10795 int ecode2 = 0 ;
10796 PyObject * obj0 = 0 ;
10797 PyObject * obj1 = 0 ;
10798 char * kwnames[] = {
10799 (char *) "self",(char *) "pos", NULL
10800 };
10801
10802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10804 if (!SWIG_IsOK(res1)) {
10805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10806 }
10807 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10808 ecode2 = SWIG_AsVal_int(obj1, &val2);
10809 if (!SWIG_IsOK(ecode2)) {
10810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10811 }
10812 arg2 = static_cast< int >(val2);
10813 {
10814 PyThreadState* __tstate = wxPyBeginAllowThreads();
10815 (arg1)->SetSashPosition(arg2);
10816 wxPyEndAllowThreads(__tstate);
10817 if (PyErr_Occurred()) SWIG_fail;
10818 }
10819 resultobj = SWIG_Py_Void();
10820 return resultobj;
10821 fail:
10822 return NULL;
10823 }
10824
10825
10826 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10827 PyObject *resultobj = 0;
10828 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10829 int result;
10830 void *argp1 = 0 ;
10831 int res1 = 0 ;
10832 PyObject *swig_obj[1] ;
10833
10834 if (!args) SWIG_fail;
10835 swig_obj[0] = args;
10836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10837 if (!SWIG_IsOK(res1)) {
10838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10839 }
10840 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10841 {
10842 PyThreadState* __tstate = wxPyBeginAllowThreads();
10843 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10844 wxPyEndAllowThreads(__tstate);
10845 if (PyErr_Occurred()) SWIG_fail;
10846 }
10847 resultobj = SWIG_From_int(static_cast< int >(result));
10848 return resultobj;
10849 fail:
10850 return NULL;
10851 }
10852
10853
10854 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10855 PyObject *resultobj = 0;
10856 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10857 wxWindow *result = 0 ;
10858 void *argp1 = 0 ;
10859 int res1 = 0 ;
10860 PyObject *swig_obj[1] ;
10861
10862 if (!args) SWIG_fail;
10863 swig_obj[0] = args;
10864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10865 if (!SWIG_IsOK(res1)) {
10866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10867 }
10868 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10869 {
10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
10871 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10872 wxPyEndAllowThreads(__tstate);
10873 if (PyErr_Occurred()) SWIG_fail;
10874 }
10875 {
10876 resultobj = wxPyMake_wxObject(result, 0);
10877 }
10878 return resultobj;
10879 fail:
10880 return NULL;
10881 }
10882
10883
10884 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10885 PyObject *resultobj = 0;
10886 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10887 int result;
10888 void *argp1 = 0 ;
10889 int res1 = 0 ;
10890 PyObject *swig_obj[1] ;
10891
10892 if (!args) SWIG_fail;
10893 swig_obj[0] = args;
10894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10895 if (!SWIG_IsOK(res1)) {
10896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10897 }
10898 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10899 {
10900 PyThreadState* __tstate = wxPyBeginAllowThreads();
10901 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10902 wxPyEndAllowThreads(__tstate);
10903 if (PyErr_Occurred()) SWIG_fail;
10904 }
10905 resultobj = SWIG_From_int(static_cast< int >(result));
10906 return resultobj;
10907 fail:
10908 return NULL;
10909 }
10910
10911
10912 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10913 PyObject *resultobj = 0;
10914 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10915 int result;
10916 void *argp1 = 0 ;
10917 int res1 = 0 ;
10918 PyObject *swig_obj[1] ;
10919
10920 if (!args) SWIG_fail;
10921 swig_obj[0] = args;
10922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10923 if (!SWIG_IsOK(res1)) {
10924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10925 }
10926 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10927 {
10928 PyThreadState* __tstate = wxPyBeginAllowThreads();
10929 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10930 wxPyEndAllowThreads(__tstate);
10931 if (PyErr_Occurred()) SWIG_fail;
10932 }
10933 resultobj = SWIG_From_int(static_cast< int >(result));
10934 return resultobj;
10935 fail:
10936 return NULL;
10937 }
10938
10939
10940 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10941 PyObject *obj;
10942 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10943 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10944 return SWIG_Py_Void();
10945 }
10946
10947 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10948 return SWIG_Python_InitShadowInstance(args);
10949 }
10950
10951 SWIGINTERN int SashNameStr_set(PyObject *) {
10952 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10953 return 1;
10954 }
10955
10956
10957 SWIGINTERN PyObject *SashNameStr_get(void) {
10958 PyObject *pyobj = 0;
10959
10960 {
10961 #if wxUSE_UNICODE
10962 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10963 #else
10964 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10965 #endif
10966 }
10967 return pyobj;
10968 }
10969
10970
10971 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10972 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10973 return 1;
10974 }
10975
10976
10977 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10978 PyObject *pyobj = 0;
10979
10980 {
10981 #if wxUSE_UNICODE
10982 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10983 #else
10984 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10985 #endif
10986 }
10987 return pyobj;
10988 }
10989
10990
10991 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10992 PyObject *resultobj = 0;
10993 wxWindow *arg1 = (wxWindow *) 0 ;
10994 int arg2 = (int) -1 ;
10995 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10996 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10997 wxSize const &arg4_defvalue = wxDefaultSize ;
10998 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10999 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
11000 wxString const &arg6_defvalue = wxPySashNameStr ;
11001 wxString *arg6 = (wxString *) &arg6_defvalue ;
11002 wxSashWindow *result = 0 ;
11003 void *argp1 = 0 ;
11004 int res1 = 0 ;
11005 int val2 ;
11006 int ecode2 = 0 ;
11007 wxPoint temp3 ;
11008 wxSize temp4 ;
11009 long val5 ;
11010 int ecode5 = 0 ;
11011 bool temp6 = false ;
11012 PyObject * obj0 = 0 ;
11013 PyObject * obj1 = 0 ;
11014 PyObject * obj2 = 0 ;
11015 PyObject * obj3 = 0 ;
11016 PyObject * obj4 = 0 ;
11017 PyObject * obj5 = 0 ;
11018 char * kwnames[] = {
11019 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11020 };
11021
11022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
11023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
11024 if (!SWIG_IsOK(res1)) {
11025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
11026 }
11027 arg1 = reinterpret_cast< wxWindow * >(argp1);
11028 if (obj1) {
11029 ecode2 = SWIG_AsVal_int(obj1, &val2);
11030 if (!SWIG_IsOK(ecode2)) {
11031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
11032 }
11033 arg2 = static_cast< int >(val2);
11034 }
11035 if (obj2) {
11036 {
11037 arg3 = &temp3;
11038 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11039 }
11040 }
11041 if (obj3) {
11042 {
11043 arg4 = &temp4;
11044 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11045 }
11046 }
11047 if (obj4) {
11048 ecode5 = SWIG_AsVal_long(obj4, &val5);
11049 if (!SWIG_IsOK(ecode5)) {
11050 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
11051 }
11052 arg5 = static_cast< long >(val5);
11053 }
11054 if (obj5) {
11055 {
11056 arg6 = wxString_in_helper(obj5);
11057 if (arg6 == NULL) SWIG_fail;
11058 temp6 = true;
11059 }
11060 }
11061 {
11062 if (!wxPyCheckForApp()) SWIG_fail;
11063 PyThreadState* __tstate = wxPyBeginAllowThreads();
11064 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11065 wxPyEndAllowThreads(__tstate);
11066 if (PyErr_Occurred()) SWIG_fail;
11067 }
11068 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
11069 {
11070 if (temp6)
11071 delete arg6;
11072 }
11073 return resultobj;
11074 fail:
11075 {
11076 if (temp6)
11077 delete arg6;
11078 }
11079 return NULL;
11080 }
11081
11082
11083 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11084 PyObject *resultobj = 0;
11085 wxSashWindow *result = 0 ;
11086
11087 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
11088 {
11089 if (!wxPyCheckForApp()) SWIG_fail;
11090 PyThreadState* __tstate = wxPyBeginAllowThreads();
11091 result = (wxSashWindow *)new wxSashWindow();
11092 wxPyEndAllowThreads(__tstate);
11093 if (PyErr_Occurred()) SWIG_fail;
11094 }
11095 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
11096 return resultobj;
11097 fail:
11098 return NULL;
11099 }
11100
11101
11102 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11103 PyObject *resultobj = 0;
11104 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11105 wxWindow *arg2 = (wxWindow *) 0 ;
11106 int arg3 = (int) -1 ;
11107 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11108 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11109 wxSize const &arg5_defvalue = wxDefaultSize ;
11110 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11111 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
11112 wxString const &arg7_defvalue = wxPySashNameStr ;
11113 wxString *arg7 = (wxString *) &arg7_defvalue ;
11114 bool result;
11115 void *argp1 = 0 ;
11116 int res1 = 0 ;
11117 void *argp2 = 0 ;
11118 int res2 = 0 ;
11119 int val3 ;
11120 int ecode3 = 0 ;
11121 wxPoint temp4 ;
11122 wxSize temp5 ;
11123 long val6 ;
11124 int ecode6 = 0 ;
11125 bool temp7 = false ;
11126 PyObject * obj0 = 0 ;
11127 PyObject * obj1 = 0 ;
11128 PyObject * obj2 = 0 ;
11129 PyObject * obj3 = 0 ;
11130 PyObject * obj4 = 0 ;
11131 PyObject * obj5 = 0 ;
11132 PyObject * obj6 = 0 ;
11133 char * kwnames[] = {
11134 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11135 };
11136
11137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11139 if (!SWIG_IsOK(res1)) {
11140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11141 }
11142 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11143 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11144 if (!SWIG_IsOK(res2)) {
11145 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11146 }
11147 arg2 = reinterpret_cast< wxWindow * >(argp2);
11148 if (obj2) {
11149 ecode3 = SWIG_AsVal_int(obj2, &val3);
11150 if (!SWIG_IsOK(ecode3)) {
11151 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11152 }
11153 arg3 = static_cast< int >(val3);
11154 }
11155 if (obj3) {
11156 {
11157 arg4 = &temp4;
11158 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11159 }
11160 }
11161 if (obj4) {
11162 {
11163 arg5 = &temp5;
11164 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11165 }
11166 }
11167 if (obj5) {
11168 ecode6 = SWIG_AsVal_long(obj5, &val6);
11169 if (!SWIG_IsOK(ecode6)) {
11170 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11171 }
11172 arg6 = static_cast< long >(val6);
11173 }
11174 if (obj6) {
11175 {
11176 arg7 = wxString_in_helper(obj6);
11177 if (arg7 == NULL) SWIG_fail;
11178 temp7 = true;
11179 }
11180 }
11181 {
11182 PyThreadState* __tstate = wxPyBeginAllowThreads();
11183 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11184 wxPyEndAllowThreads(__tstate);
11185 if (PyErr_Occurred()) SWIG_fail;
11186 }
11187 {
11188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11189 }
11190 {
11191 if (temp7)
11192 delete arg7;
11193 }
11194 return resultobj;
11195 fail:
11196 {
11197 if (temp7)
11198 delete arg7;
11199 }
11200 return NULL;
11201 }
11202
11203
11204 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11205 PyObject *resultobj = 0;
11206 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11207 wxSashEdgePosition arg2 ;
11208 bool arg3 ;
11209 void *argp1 = 0 ;
11210 int res1 = 0 ;
11211 int val2 ;
11212 int ecode2 = 0 ;
11213 bool val3 ;
11214 int ecode3 = 0 ;
11215 PyObject * obj0 = 0 ;
11216 PyObject * obj1 = 0 ;
11217 PyObject * obj2 = 0 ;
11218 char * kwnames[] = {
11219 (char *) "self",(char *) "edge",(char *) "sash", NULL
11220 };
11221
11222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11224 if (!SWIG_IsOK(res1)) {
11225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11226 }
11227 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11228 ecode2 = SWIG_AsVal_int(obj1, &val2);
11229 if (!SWIG_IsOK(ecode2)) {
11230 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11231 }
11232 arg2 = static_cast< wxSashEdgePosition >(val2);
11233 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11234 if (!SWIG_IsOK(ecode3)) {
11235 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11236 }
11237 arg3 = static_cast< bool >(val3);
11238 {
11239 PyThreadState* __tstate = wxPyBeginAllowThreads();
11240 (arg1)->SetSashVisible(arg2,arg3);
11241 wxPyEndAllowThreads(__tstate);
11242 if (PyErr_Occurred()) SWIG_fail;
11243 }
11244 resultobj = SWIG_Py_Void();
11245 return resultobj;
11246 fail:
11247 return NULL;
11248 }
11249
11250
11251 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11252 PyObject *resultobj = 0;
11253 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11254 wxSashEdgePosition arg2 ;
11255 bool result;
11256 void *argp1 = 0 ;
11257 int res1 = 0 ;
11258 int val2 ;
11259 int ecode2 = 0 ;
11260 PyObject * obj0 = 0 ;
11261 PyObject * obj1 = 0 ;
11262 char * kwnames[] = {
11263 (char *) "self",(char *) "edge", NULL
11264 };
11265
11266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11268 if (!SWIG_IsOK(res1)) {
11269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11270 }
11271 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11272 ecode2 = SWIG_AsVal_int(obj1, &val2);
11273 if (!SWIG_IsOK(ecode2)) {
11274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11275 }
11276 arg2 = static_cast< wxSashEdgePosition >(val2);
11277 {
11278 PyThreadState* __tstate = wxPyBeginAllowThreads();
11279 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 {
11284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11285 }
11286 return resultobj;
11287 fail:
11288 return NULL;
11289 }
11290
11291
11292 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11293 PyObject *resultobj = 0;
11294 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11295 wxSashEdgePosition arg2 ;
11296 int result;
11297 void *argp1 = 0 ;
11298 int res1 = 0 ;
11299 int val2 ;
11300 int ecode2 = 0 ;
11301 PyObject * obj0 = 0 ;
11302 PyObject * obj1 = 0 ;
11303 char * kwnames[] = {
11304 (char *) "self",(char *) "edge", NULL
11305 };
11306
11307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11309 if (!SWIG_IsOK(res1)) {
11310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11311 }
11312 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11313 ecode2 = SWIG_AsVal_int(obj1, &val2);
11314 if (!SWIG_IsOK(ecode2)) {
11315 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11316 }
11317 arg2 = static_cast< wxSashEdgePosition >(val2);
11318 {
11319 PyThreadState* __tstate = wxPyBeginAllowThreads();
11320 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11321 wxPyEndAllowThreads(__tstate);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 }
11324 resultobj = SWIG_From_int(static_cast< int >(result));
11325 return resultobj;
11326 fail:
11327 return NULL;
11328 }
11329
11330
11331 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11332 PyObject *resultobj = 0;
11333 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11334 int arg2 ;
11335 void *argp1 = 0 ;
11336 int res1 = 0 ;
11337 int val2 ;
11338 int ecode2 = 0 ;
11339 PyObject * obj0 = 0 ;
11340 PyObject * obj1 = 0 ;
11341 char * kwnames[] = {
11342 (char *) "self",(char *) "width", NULL
11343 };
11344
11345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11347 if (!SWIG_IsOK(res1)) {
11348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11349 }
11350 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11351 ecode2 = SWIG_AsVal_int(obj1, &val2);
11352 if (!SWIG_IsOK(ecode2)) {
11353 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11354 }
11355 arg2 = static_cast< int >(val2);
11356 {
11357 PyThreadState* __tstate = wxPyBeginAllowThreads();
11358 (arg1)->SetDefaultBorderSize(arg2);
11359 wxPyEndAllowThreads(__tstate);
11360 if (PyErr_Occurred()) SWIG_fail;
11361 }
11362 resultobj = SWIG_Py_Void();
11363 return resultobj;
11364 fail:
11365 return NULL;
11366 }
11367
11368
11369 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11370 PyObject *resultobj = 0;
11371 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11372 int result;
11373 void *argp1 = 0 ;
11374 int res1 = 0 ;
11375 PyObject *swig_obj[1] ;
11376
11377 if (!args) SWIG_fail;
11378 swig_obj[0] = args;
11379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11380 if (!SWIG_IsOK(res1)) {
11381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11382 }
11383 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11384 {
11385 PyThreadState* __tstate = wxPyBeginAllowThreads();
11386 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11387 wxPyEndAllowThreads(__tstate);
11388 if (PyErr_Occurred()) SWIG_fail;
11389 }
11390 resultobj = SWIG_From_int(static_cast< int >(result));
11391 return resultobj;
11392 fail:
11393 return NULL;
11394 }
11395
11396
11397 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11398 PyObject *resultobj = 0;
11399 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11400 int arg2 ;
11401 void *argp1 = 0 ;
11402 int res1 = 0 ;
11403 int val2 ;
11404 int ecode2 = 0 ;
11405 PyObject * obj0 = 0 ;
11406 PyObject * obj1 = 0 ;
11407 char * kwnames[] = {
11408 (char *) "self",(char *) "width", NULL
11409 };
11410
11411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11413 if (!SWIG_IsOK(res1)) {
11414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11415 }
11416 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11417 ecode2 = SWIG_AsVal_int(obj1, &val2);
11418 if (!SWIG_IsOK(ecode2)) {
11419 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11420 }
11421 arg2 = static_cast< int >(val2);
11422 {
11423 PyThreadState* __tstate = wxPyBeginAllowThreads();
11424 (arg1)->SetExtraBorderSize(arg2);
11425 wxPyEndAllowThreads(__tstate);
11426 if (PyErr_Occurred()) SWIG_fail;
11427 }
11428 resultobj = SWIG_Py_Void();
11429 return resultobj;
11430 fail:
11431 return NULL;
11432 }
11433
11434
11435 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11436 PyObject *resultobj = 0;
11437 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11438 int result;
11439 void *argp1 = 0 ;
11440 int res1 = 0 ;
11441 PyObject *swig_obj[1] ;
11442
11443 if (!args) SWIG_fail;
11444 swig_obj[0] = args;
11445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11446 if (!SWIG_IsOK(res1)) {
11447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11448 }
11449 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11450 {
11451 PyThreadState* __tstate = wxPyBeginAllowThreads();
11452 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11453 wxPyEndAllowThreads(__tstate);
11454 if (PyErr_Occurred()) SWIG_fail;
11455 }
11456 resultobj = SWIG_From_int(static_cast< int >(result));
11457 return resultobj;
11458 fail:
11459 return NULL;
11460 }
11461
11462
11463 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11464 PyObject *resultobj = 0;
11465 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11466 int arg2 ;
11467 void *argp1 = 0 ;
11468 int res1 = 0 ;
11469 int val2 ;
11470 int ecode2 = 0 ;
11471 PyObject * obj0 = 0 ;
11472 PyObject * obj1 = 0 ;
11473 char * kwnames[] = {
11474 (char *) "self",(char *) "min", NULL
11475 };
11476
11477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11479 if (!SWIG_IsOK(res1)) {
11480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11481 }
11482 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11483 ecode2 = SWIG_AsVal_int(obj1, &val2);
11484 if (!SWIG_IsOK(ecode2)) {
11485 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11486 }
11487 arg2 = static_cast< int >(val2);
11488 {
11489 PyThreadState* __tstate = wxPyBeginAllowThreads();
11490 (arg1)->SetMinimumSizeX(arg2);
11491 wxPyEndAllowThreads(__tstate);
11492 if (PyErr_Occurred()) SWIG_fail;
11493 }
11494 resultobj = SWIG_Py_Void();
11495 return resultobj;
11496 fail:
11497 return NULL;
11498 }
11499
11500
11501 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11502 PyObject *resultobj = 0;
11503 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11504 int arg2 ;
11505 void *argp1 = 0 ;
11506 int res1 = 0 ;
11507 int val2 ;
11508 int ecode2 = 0 ;
11509 PyObject * obj0 = 0 ;
11510 PyObject * obj1 = 0 ;
11511 char * kwnames[] = {
11512 (char *) "self",(char *) "min", NULL
11513 };
11514
11515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11517 if (!SWIG_IsOK(res1)) {
11518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11519 }
11520 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11521 ecode2 = SWIG_AsVal_int(obj1, &val2);
11522 if (!SWIG_IsOK(ecode2)) {
11523 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11524 }
11525 arg2 = static_cast< int >(val2);
11526 {
11527 PyThreadState* __tstate = wxPyBeginAllowThreads();
11528 (arg1)->SetMinimumSizeY(arg2);
11529 wxPyEndAllowThreads(__tstate);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
11532 resultobj = SWIG_Py_Void();
11533 return resultobj;
11534 fail:
11535 return NULL;
11536 }
11537
11538
11539 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11540 PyObject *resultobj = 0;
11541 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11542 int result;
11543 void *argp1 = 0 ;
11544 int res1 = 0 ;
11545 PyObject *swig_obj[1] ;
11546
11547 if (!args) SWIG_fail;
11548 swig_obj[0] = args;
11549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11550 if (!SWIG_IsOK(res1)) {
11551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11552 }
11553 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11554 {
11555 PyThreadState* __tstate = wxPyBeginAllowThreads();
11556 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11557 wxPyEndAllowThreads(__tstate);
11558 if (PyErr_Occurred()) SWIG_fail;
11559 }
11560 resultobj = SWIG_From_int(static_cast< int >(result));
11561 return resultobj;
11562 fail:
11563 return NULL;
11564 }
11565
11566
11567 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11568 PyObject *resultobj = 0;
11569 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11570 int result;
11571 void *argp1 = 0 ;
11572 int res1 = 0 ;
11573 PyObject *swig_obj[1] ;
11574
11575 if (!args) SWIG_fail;
11576 swig_obj[0] = args;
11577 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11578 if (!SWIG_IsOK(res1)) {
11579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11580 }
11581 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11582 {
11583 PyThreadState* __tstate = wxPyBeginAllowThreads();
11584 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11585 wxPyEndAllowThreads(__tstate);
11586 if (PyErr_Occurred()) SWIG_fail;
11587 }
11588 resultobj = SWIG_From_int(static_cast< int >(result));
11589 return resultobj;
11590 fail:
11591 return NULL;
11592 }
11593
11594
11595 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11596 PyObject *resultobj = 0;
11597 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11598 int arg2 ;
11599 void *argp1 = 0 ;
11600 int res1 = 0 ;
11601 int val2 ;
11602 int ecode2 = 0 ;
11603 PyObject * obj0 = 0 ;
11604 PyObject * obj1 = 0 ;
11605 char * kwnames[] = {
11606 (char *) "self",(char *) "max", NULL
11607 };
11608
11609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11611 if (!SWIG_IsOK(res1)) {
11612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11613 }
11614 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11615 ecode2 = SWIG_AsVal_int(obj1, &val2);
11616 if (!SWIG_IsOK(ecode2)) {
11617 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11618 }
11619 arg2 = static_cast< int >(val2);
11620 {
11621 PyThreadState* __tstate = wxPyBeginAllowThreads();
11622 (arg1)->SetMaximumSizeX(arg2);
11623 wxPyEndAllowThreads(__tstate);
11624 if (PyErr_Occurred()) SWIG_fail;
11625 }
11626 resultobj = SWIG_Py_Void();
11627 return resultobj;
11628 fail:
11629 return NULL;
11630 }
11631
11632
11633 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11634 PyObject *resultobj = 0;
11635 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11636 int arg2 ;
11637 void *argp1 = 0 ;
11638 int res1 = 0 ;
11639 int val2 ;
11640 int ecode2 = 0 ;
11641 PyObject * obj0 = 0 ;
11642 PyObject * obj1 = 0 ;
11643 char * kwnames[] = {
11644 (char *) "self",(char *) "max", NULL
11645 };
11646
11647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11649 if (!SWIG_IsOK(res1)) {
11650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11651 }
11652 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11653 ecode2 = SWIG_AsVal_int(obj1, &val2);
11654 if (!SWIG_IsOK(ecode2)) {
11655 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11656 }
11657 arg2 = static_cast< int >(val2);
11658 {
11659 PyThreadState* __tstate = wxPyBeginAllowThreads();
11660 (arg1)->SetMaximumSizeY(arg2);
11661 wxPyEndAllowThreads(__tstate);
11662 if (PyErr_Occurred()) SWIG_fail;
11663 }
11664 resultobj = SWIG_Py_Void();
11665 return resultobj;
11666 fail:
11667 return NULL;
11668 }
11669
11670
11671 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11672 PyObject *resultobj = 0;
11673 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11674 int result;
11675 void *argp1 = 0 ;
11676 int res1 = 0 ;
11677 PyObject *swig_obj[1] ;
11678
11679 if (!args) SWIG_fail;
11680 swig_obj[0] = args;
11681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11682 if (!SWIG_IsOK(res1)) {
11683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11684 }
11685 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11686 {
11687 PyThreadState* __tstate = wxPyBeginAllowThreads();
11688 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11689 wxPyEndAllowThreads(__tstate);
11690 if (PyErr_Occurred()) SWIG_fail;
11691 }
11692 resultobj = SWIG_From_int(static_cast< int >(result));
11693 return resultobj;
11694 fail:
11695 return NULL;
11696 }
11697
11698
11699 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11700 PyObject *resultobj = 0;
11701 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11702 int result;
11703 void *argp1 = 0 ;
11704 int res1 = 0 ;
11705 PyObject *swig_obj[1] ;
11706
11707 if (!args) SWIG_fail;
11708 swig_obj[0] = args;
11709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11710 if (!SWIG_IsOK(res1)) {
11711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11712 }
11713 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11714 {
11715 PyThreadState* __tstate = wxPyBeginAllowThreads();
11716 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11717 wxPyEndAllowThreads(__tstate);
11718 if (PyErr_Occurred()) SWIG_fail;
11719 }
11720 resultobj = SWIG_From_int(static_cast< int >(result));
11721 return resultobj;
11722 fail:
11723 return NULL;
11724 }
11725
11726
11727 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11728 PyObject *resultobj = 0;
11729 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11730 int arg2 ;
11731 int arg3 ;
11732 int arg4 = (int) 2 ;
11733 wxSashEdgePosition result;
11734 void *argp1 = 0 ;
11735 int res1 = 0 ;
11736 int val2 ;
11737 int ecode2 = 0 ;
11738 int val3 ;
11739 int ecode3 = 0 ;
11740 int val4 ;
11741 int ecode4 = 0 ;
11742 PyObject * obj0 = 0 ;
11743 PyObject * obj1 = 0 ;
11744 PyObject * obj2 = 0 ;
11745 PyObject * obj3 = 0 ;
11746 char * kwnames[] = {
11747 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11748 };
11749
11750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11752 if (!SWIG_IsOK(res1)) {
11753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11754 }
11755 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11756 ecode2 = SWIG_AsVal_int(obj1, &val2);
11757 if (!SWIG_IsOK(ecode2)) {
11758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11759 }
11760 arg2 = static_cast< int >(val2);
11761 ecode3 = SWIG_AsVal_int(obj2, &val3);
11762 if (!SWIG_IsOK(ecode3)) {
11763 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11764 }
11765 arg3 = static_cast< int >(val3);
11766 if (obj3) {
11767 ecode4 = SWIG_AsVal_int(obj3, &val4);
11768 if (!SWIG_IsOK(ecode4)) {
11769 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11770 }
11771 arg4 = static_cast< int >(val4);
11772 }
11773 {
11774 PyThreadState* __tstate = wxPyBeginAllowThreads();
11775 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11776 wxPyEndAllowThreads(__tstate);
11777 if (PyErr_Occurred()) SWIG_fail;
11778 }
11779 resultobj = SWIG_From_int(static_cast< int >(result));
11780 return resultobj;
11781 fail:
11782 return NULL;
11783 }
11784
11785
11786 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11787 PyObject *resultobj = 0;
11788 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11789 void *argp1 = 0 ;
11790 int res1 = 0 ;
11791 PyObject *swig_obj[1] ;
11792
11793 if (!args) SWIG_fail;
11794 swig_obj[0] = args;
11795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11796 if (!SWIG_IsOK(res1)) {
11797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11798 }
11799 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11800 {
11801 PyThreadState* __tstate = wxPyBeginAllowThreads();
11802 (arg1)->SizeWindows();
11803 wxPyEndAllowThreads(__tstate);
11804 if (PyErr_Occurred()) SWIG_fail;
11805 }
11806 resultobj = SWIG_Py_Void();
11807 return resultobj;
11808 fail:
11809 return NULL;
11810 }
11811
11812
11813 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11814 PyObject *obj;
11815 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11816 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11817 return SWIG_Py_Void();
11818 }
11819
11820 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11821 return SWIG_Python_InitShadowInstance(args);
11822 }
11823
11824 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11825 PyObject *resultobj = 0;
11826 int arg1 = (int) 0 ;
11827 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11828 wxSashEvent *result = 0 ;
11829 int val1 ;
11830 int ecode1 = 0 ;
11831 int val2 ;
11832 int ecode2 = 0 ;
11833 PyObject * obj0 = 0 ;
11834 PyObject * obj1 = 0 ;
11835 char * kwnames[] = {
11836 (char *) "id",(char *) "edge", NULL
11837 };
11838
11839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11840 if (obj0) {
11841 ecode1 = SWIG_AsVal_int(obj0, &val1);
11842 if (!SWIG_IsOK(ecode1)) {
11843 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11844 }
11845 arg1 = static_cast< int >(val1);
11846 }
11847 if (obj1) {
11848 ecode2 = SWIG_AsVal_int(obj1, &val2);
11849 if (!SWIG_IsOK(ecode2)) {
11850 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11851 }
11852 arg2 = static_cast< wxSashEdgePosition >(val2);
11853 }
11854 {
11855 PyThreadState* __tstate = wxPyBeginAllowThreads();
11856 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11857 wxPyEndAllowThreads(__tstate);
11858 if (PyErr_Occurred()) SWIG_fail;
11859 }
11860 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11861 return resultobj;
11862 fail:
11863 return NULL;
11864 }
11865
11866
11867 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11868 PyObject *resultobj = 0;
11869 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11870 wxSashEdgePosition arg2 ;
11871 void *argp1 = 0 ;
11872 int res1 = 0 ;
11873 int val2 ;
11874 int ecode2 = 0 ;
11875 PyObject * obj0 = 0 ;
11876 PyObject * obj1 = 0 ;
11877 char * kwnames[] = {
11878 (char *) "self",(char *) "edge", NULL
11879 };
11880
11881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11883 if (!SWIG_IsOK(res1)) {
11884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11885 }
11886 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11887 ecode2 = SWIG_AsVal_int(obj1, &val2);
11888 if (!SWIG_IsOK(ecode2)) {
11889 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11890 }
11891 arg2 = static_cast< wxSashEdgePosition >(val2);
11892 {
11893 PyThreadState* __tstate = wxPyBeginAllowThreads();
11894 (arg1)->SetEdge(arg2);
11895 wxPyEndAllowThreads(__tstate);
11896 if (PyErr_Occurred()) SWIG_fail;
11897 }
11898 resultobj = SWIG_Py_Void();
11899 return resultobj;
11900 fail:
11901 return NULL;
11902 }
11903
11904
11905 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11906 PyObject *resultobj = 0;
11907 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11908 wxSashEdgePosition result;
11909 void *argp1 = 0 ;
11910 int res1 = 0 ;
11911 PyObject *swig_obj[1] ;
11912
11913 if (!args) SWIG_fail;
11914 swig_obj[0] = args;
11915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11916 if (!SWIG_IsOK(res1)) {
11917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11918 }
11919 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11920 {
11921 PyThreadState* __tstate = wxPyBeginAllowThreads();
11922 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11923 wxPyEndAllowThreads(__tstate);
11924 if (PyErr_Occurred()) SWIG_fail;
11925 }
11926 resultobj = SWIG_From_int(static_cast< int >(result));
11927 return resultobj;
11928 fail:
11929 return NULL;
11930 }
11931
11932
11933 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11934 PyObject *resultobj = 0;
11935 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11936 wxRect *arg2 = 0 ;
11937 void *argp1 = 0 ;
11938 int res1 = 0 ;
11939 wxRect temp2 ;
11940 PyObject * obj0 = 0 ;
11941 PyObject * obj1 = 0 ;
11942 char * kwnames[] = {
11943 (char *) "self",(char *) "rect", NULL
11944 };
11945
11946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11948 if (!SWIG_IsOK(res1)) {
11949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11950 }
11951 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11952 {
11953 arg2 = &temp2;
11954 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11955 }
11956 {
11957 PyThreadState* __tstate = wxPyBeginAllowThreads();
11958 (arg1)->SetDragRect((wxRect const &)*arg2);
11959 wxPyEndAllowThreads(__tstate);
11960 if (PyErr_Occurred()) SWIG_fail;
11961 }
11962 resultobj = SWIG_Py_Void();
11963 return resultobj;
11964 fail:
11965 return NULL;
11966 }
11967
11968
11969 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11970 PyObject *resultobj = 0;
11971 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11972 wxRect result;
11973 void *argp1 = 0 ;
11974 int res1 = 0 ;
11975 PyObject *swig_obj[1] ;
11976
11977 if (!args) SWIG_fail;
11978 swig_obj[0] = args;
11979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11980 if (!SWIG_IsOK(res1)) {
11981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11982 }
11983 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11984 {
11985 PyThreadState* __tstate = wxPyBeginAllowThreads();
11986 result = ((wxSashEvent const *)arg1)->GetDragRect();
11987 wxPyEndAllowThreads(__tstate);
11988 if (PyErr_Occurred()) SWIG_fail;
11989 }
11990 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11991 return resultobj;
11992 fail:
11993 return NULL;
11994 }
11995
11996
11997 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11998 PyObject *resultobj = 0;
11999 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12000 wxSashDragStatus arg2 ;
12001 void *argp1 = 0 ;
12002 int res1 = 0 ;
12003 int val2 ;
12004 int ecode2 = 0 ;
12005 PyObject * obj0 = 0 ;
12006 PyObject * obj1 = 0 ;
12007 char * kwnames[] = {
12008 (char *) "self",(char *) "status", NULL
12009 };
12010
12011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
12012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12013 if (!SWIG_IsOK(res1)) {
12014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
12015 }
12016 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12017 ecode2 = SWIG_AsVal_int(obj1, &val2);
12018 if (!SWIG_IsOK(ecode2)) {
12019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
12020 }
12021 arg2 = static_cast< wxSashDragStatus >(val2);
12022 {
12023 PyThreadState* __tstate = wxPyBeginAllowThreads();
12024 (arg1)->SetDragStatus(arg2);
12025 wxPyEndAllowThreads(__tstate);
12026 if (PyErr_Occurred()) SWIG_fail;
12027 }
12028 resultobj = SWIG_Py_Void();
12029 return resultobj;
12030 fail:
12031 return NULL;
12032 }
12033
12034
12035 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12036 PyObject *resultobj = 0;
12037 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12038 wxSashDragStatus result;
12039 void *argp1 = 0 ;
12040 int res1 = 0 ;
12041 PyObject *swig_obj[1] ;
12042
12043 if (!args) SWIG_fail;
12044 swig_obj[0] = args;
12045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12046 if (!SWIG_IsOK(res1)) {
12047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12048 }
12049 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12050 {
12051 PyThreadState* __tstate = wxPyBeginAllowThreads();
12052 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
12056 resultobj = SWIG_From_int(static_cast< int >(result));
12057 return resultobj;
12058 fail:
12059 return NULL;
12060 }
12061
12062
12063 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12064 PyObject *obj;
12065 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12066 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12067 return SWIG_Py_Void();
12068 }
12069
12070 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12071 return SWIG_Python_InitShadowInstance(args);
12072 }
12073
12074 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12075 PyObject *resultobj = 0;
12076 int arg1 = (int) 0 ;
12077 wxQueryLayoutInfoEvent *result = 0 ;
12078 int val1 ;
12079 int ecode1 = 0 ;
12080 PyObject * obj0 = 0 ;
12081 char * kwnames[] = {
12082 (char *) "id", NULL
12083 };
12084
12085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12086 if (obj0) {
12087 ecode1 = SWIG_AsVal_int(obj0, &val1);
12088 if (!SWIG_IsOK(ecode1)) {
12089 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12090 }
12091 arg1 = static_cast< int >(val1);
12092 }
12093 {
12094 PyThreadState* __tstate = wxPyBeginAllowThreads();
12095 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12096 wxPyEndAllowThreads(__tstate);
12097 if (PyErr_Occurred()) SWIG_fail;
12098 }
12099 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12100 return resultobj;
12101 fail:
12102 return NULL;
12103 }
12104
12105
12106 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12107 PyObject *resultobj = 0;
12108 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12109 int arg2 ;
12110 void *argp1 = 0 ;
12111 int res1 = 0 ;
12112 int val2 ;
12113 int ecode2 = 0 ;
12114 PyObject * obj0 = 0 ;
12115 PyObject * obj1 = 0 ;
12116 char * kwnames[] = {
12117 (char *) "self",(char *) "length", NULL
12118 };
12119
12120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12122 if (!SWIG_IsOK(res1)) {
12123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12124 }
12125 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12126 ecode2 = SWIG_AsVal_int(obj1, &val2);
12127 if (!SWIG_IsOK(ecode2)) {
12128 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12129 }
12130 arg2 = static_cast< int >(val2);
12131 {
12132 PyThreadState* __tstate = wxPyBeginAllowThreads();
12133 (arg1)->SetRequestedLength(arg2);
12134 wxPyEndAllowThreads(__tstate);
12135 if (PyErr_Occurred()) SWIG_fail;
12136 }
12137 resultobj = SWIG_Py_Void();
12138 return resultobj;
12139 fail:
12140 return NULL;
12141 }
12142
12143
12144 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12145 PyObject *resultobj = 0;
12146 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12147 int result;
12148 void *argp1 = 0 ;
12149 int res1 = 0 ;
12150 PyObject *swig_obj[1] ;
12151
12152 if (!args) SWIG_fail;
12153 swig_obj[0] = args;
12154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12155 if (!SWIG_IsOK(res1)) {
12156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12157 }
12158 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12159 {
12160 PyThreadState* __tstate = wxPyBeginAllowThreads();
12161 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12162 wxPyEndAllowThreads(__tstate);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 }
12165 resultobj = SWIG_From_int(static_cast< int >(result));
12166 return resultobj;
12167 fail:
12168 return NULL;
12169 }
12170
12171
12172 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12173 PyObject *resultobj = 0;
12174 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12175 int arg2 ;
12176 void *argp1 = 0 ;
12177 int res1 = 0 ;
12178 int val2 ;
12179 int ecode2 = 0 ;
12180 PyObject * obj0 = 0 ;
12181 PyObject * obj1 = 0 ;
12182 char * kwnames[] = {
12183 (char *) "self",(char *) "flags", NULL
12184 };
12185
12186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12188 if (!SWIG_IsOK(res1)) {
12189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12190 }
12191 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12192 ecode2 = SWIG_AsVal_int(obj1, &val2);
12193 if (!SWIG_IsOK(ecode2)) {
12194 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12195 }
12196 arg2 = static_cast< int >(val2);
12197 {
12198 PyThreadState* __tstate = wxPyBeginAllowThreads();
12199 (arg1)->SetFlags(arg2);
12200 wxPyEndAllowThreads(__tstate);
12201 if (PyErr_Occurred()) SWIG_fail;
12202 }
12203 resultobj = SWIG_Py_Void();
12204 return resultobj;
12205 fail:
12206 return NULL;
12207 }
12208
12209
12210 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12211 PyObject *resultobj = 0;
12212 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12213 int result;
12214 void *argp1 = 0 ;
12215 int res1 = 0 ;
12216 PyObject *swig_obj[1] ;
12217
12218 if (!args) SWIG_fail;
12219 swig_obj[0] = args;
12220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12221 if (!SWIG_IsOK(res1)) {
12222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12223 }
12224 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12225 {
12226 PyThreadState* __tstate = wxPyBeginAllowThreads();
12227 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12228 wxPyEndAllowThreads(__tstate);
12229 if (PyErr_Occurred()) SWIG_fail;
12230 }
12231 resultobj = SWIG_From_int(static_cast< int >(result));
12232 return resultobj;
12233 fail:
12234 return NULL;
12235 }
12236
12237
12238 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12239 PyObject *resultobj = 0;
12240 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12241 wxSize *arg2 = 0 ;
12242 void *argp1 = 0 ;
12243 int res1 = 0 ;
12244 wxSize temp2 ;
12245 PyObject * obj0 = 0 ;
12246 PyObject * obj1 = 0 ;
12247 char * kwnames[] = {
12248 (char *) "self",(char *) "size", NULL
12249 };
12250
12251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12253 if (!SWIG_IsOK(res1)) {
12254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12255 }
12256 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12257 {
12258 arg2 = &temp2;
12259 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12260 }
12261 {
12262 PyThreadState* __tstate = wxPyBeginAllowThreads();
12263 (arg1)->SetSize((wxSize const &)*arg2);
12264 wxPyEndAllowThreads(__tstate);
12265 if (PyErr_Occurred()) SWIG_fail;
12266 }
12267 resultobj = SWIG_Py_Void();
12268 return resultobj;
12269 fail:
12270 return NULL;
12271 }
12272
12273
12274 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12275 PyObject *resultobj = 0;
12276 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12277 wxSize result;
12278 void *argp1 = 0 ;
12279 int res1 = 0 ;
12280 PyObject *swig_obj[1] ;
12281
12282 if (!args) SWIG_fail;
12283 swig_obj[0] = args;
12284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12285 if (!SWIG_IsOK(res1)) {
12286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12287 }
12288 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12289 {
12290 PyThreadState* __tstate = wxPyBeginAllowThreads();
12291 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12292 wxPyEndAllowThreads(__tstate);
12293 if (PyErr_Occurred()) SWIG_fail;
12294 }
12295 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12296 return resultobj;
12297 fail:
12298 return NULL;
12299 }
12300
12301
12302 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12303 PyObject *resultobj = 0;
12304 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12305 wxLayoutOrientation arg2 ;
12306 void *argp1 = 0 ;
12307 int res1 = 0 ;
12308 int val2 ;
12309 int ecode2 = 0 ;
12310 PyObject * obj0 = 0 ;
12311 PyObject * obj1 = 0 ;
12312 char * kwnames[] = {
12313 (char *) "self",(char *) "orient", NULL
12314 };
12315
12316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12318 if (!SWIG_IsOK(res1)) {
12319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12320 }
12321 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12322 ecode2 = SWIG_AsVal_int(obj1, &val2);
12323 if (!SWIG_IsOK(ecode2)) {
12324 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12325 }
12326 arg2 = static_cast< wxLayoutOrientation >(val2);
12327 {
12328 PyThreadState* __tstate = wxPyBeginAllowThreads();
12329 (arg1)->SetOrientation(arg2);
12330 wxPyEndAllowThreads(__tstate);
12331 if (PyErr_Occurred()) SWIG_fail;
12332 }
12333 resultobj = SWIG_Py_Void();
12334 return resultobj;
12335 fail:
12336 return NULL;
12337 }
12338
12339
12340 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12341 PyObject *resultobj = 0;
12342 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12343 wxLayoutOrientation result;
12344 void *argp1 = 0 ;
12345 int res1 = 0 ;
12346 PyObject *swig_obj[1] ;
12347
12348 if (!args) SWIG_fail;
12349 swig_obj[0] = args;
12350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12351 if (!SWIG_IsOK(res1)) {
12352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12353 }
12354 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12355 {
12356 PyThreadState* __tstate = wxPyBeginAllowThreads();
12357 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12358 wxPyEndAllowThreads(__tstate);
12359 if (PyErr_Occurred()) SWIG_fail;
12360 }
12361 resultobj = SWIG_From_int(static_cast< int >(result));
12362 return resultobj;
12363 fail:
12364 return NULL;
12365 }
12366
12367
12368 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12369 PyObject *resultobj = 0;
12370 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12371 wxLayoutAlignment arg2 ;
12372 void *argp1 = 0 ;
12373 int res1 = 0 ;
12374 int val2 ;
12375 int ecode2 = 0 ;
12376 PyObject * obj0 = 0 ;
12377 PyObject * obj1 = 0 ;
12378 char * kwnames[] = {
12379 (char *) "self",(char *) "align", NULL
12380 };
12381
12382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12384 if (!SWIG_IsOK(res1)) {
12385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12386 }
12387 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12388 ecode2 = SWIG_AsVal_int(obj1, &val2);
12389 if (!SWIG_IsOK(ecode2)) {
12390 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12391 }
12392 arg2 = static_cast< wxLayoutAlignment >(val2);
12393 {
12394 PyThreadState* __tstate = wxPyBeginAllowThreads();
12395 (arg1)->SetAlignment(arg2);
12396 wxPyEndAllowThreads(__tstate);
12397 if (PyErr_Occurred()) SWIG_fail;
12398 }
12399 resultobj = SWIG_Py_Void();
12400 return resultobj;
12401 fail:
12402 return NULL;
12403 }
12404
12405
12406 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12407 PyObject *resultobj = 0;
12408 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12409 wxLayoutAlignment result;
12410 void *argp1 = 0 ;
12411 int res1 = 0 ;
12412 PyObject *swig_obj[1] ;
12413
12414 if (!args) SWIG_fail;
12415 swig_obj[0] = args;
12416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12417 if (!SWIG_IsOK(res1)) {
12418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12419 }
12420 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12421 {
12422 PyThreadState* __tstate = wxPyBeginAllowThreads();
12423 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12424 wxPyEndAllowThreads(__tstate);
12425 if (PyErr_Occurred()) SWIG_fail;
12426 }
12427 resultobj = SWIG_From_int(static_cast< int >(result));
12428 return resultobj;
12429 fail:
12430 return NULL;
12431 }
12432
12433
12434 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12435 PyObject *obj;
12436 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12437 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12438 return SWIG_Py_Void();
12439 }
12440
12441 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12442 return SWIG_Python_InitShadowInstance(args);
12443 }
12444
12445 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12446 PyObject *resultobj = 0;
12447 int arg1 = (int) 0 ;
12448 wxCalculateLayoutEvent *result = 0 ;
12449 int val1 ;
12450 int ecode1 = 0 ;
12451 PyObject * obj0 = 0 ;
12452 char * kwnames[] = {
12453 (char *) "id", NULL
12454 };
12455
12456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12457 if (obj0) {
12458 ecode1 = SWIG_AsVal_int(obj0, &val1);
12459 if (!SWIG_IsOK(ecode1)) {
12460 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12461 }
12462 arg1 = static_cast< int >(val1);
12463 }
12464 {
12465 PyThreadState* __tstate = wxPyBeginAllowThreads();
12466 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12467 wxPyEndAllowThreads(__tstate);
12468 if (PyErr_Occurred()) SWIG_fail;
12469 }
12470 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12471 return resultobj;
12472 fail:
12473 return NULL;
12474 }
12475
12476
12477 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12478 PyObject *resultobj = 0;
12479 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12480 int arg2 ;
12481 void *argp1 = 0 ;
12482 int res1 = 0 ;
12483 int val2 ;
12484 int ecode2 = 0 ;
12485 PyObject * obj0 = 0 ;
12486 PyObject * obj1 = 0 ;
12487 char * kwnames[] = {
12488 (char *) "self",(char *) "flags", NULL
12489 };
12490
12491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12493 if (!SWIG_IsOK(res1)) {
12494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12495 }
12496 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12497 ecode2 = SWIG_AsVal_int(obj1, &val2);
12498 if (!SWIG_IsOK(ecode2)) {
12499 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12500 }
12501 arg2 = static_cast< int >(val2);
12502 {
12503 PyThreadState* __tstate = wxPyBeginAllowThreads();
12504 (arg1)->SetFlags(arg2);
12505 wxPyEndAllowThreads(__tstate);
12506 if (PyErr_Occurred()) SWIG_fail;
12507 }
12508 resultobj = SWIG_Py_Void();
12509 return resultobj;
12510 fail:
12511 return NULL;
12512 }
12513
12514
12515 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12516 PyObject *resultobj = 0;
12517 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12518 int result;
12519 void *argp1 = 0 ;
12520 int res1 = 0 ;
12521 PyObject *swig_obj[1] ;
12522
12523 if (!args) SWIG_fail;
12524 swig_obj[0] = args;
12525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12526 if (!SWIG_IsOK(res1)) {
12527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12528 }
12529 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12530 {
12531 PyThreadState* __tstate = wxPyBeginAllowThreads();
12532 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12533 wxPyEndAllowThreads(__tstate);
12534 if (PyErr_Occurred()) SWIG_fail;
12535 }
12536 resultobj = SWIG_From_int(static_cast< int >(result));
12537 return resultobj;
12538 fail:
12539 return NULL;
12540 }
12541
12542
12543 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12544 PyObject *resultobj = 0;
12545 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12546 wxRect *arg2 = 0 ;
12547 void *argp1 = 0 ;
12548 int res1 = 0 ;
12549 wxRect temp2 ;
12550 PyObject * obj0 = 0 ;
12551 PyObject * obj1 = 0 ;
12552 char * kwnames[] = {
12553 (char *) "self",(char *) "rect", NULL
12554 };
12555
12556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12558 if (!SWIG_IsOK(res1)) {
12559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12560 }
12561 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12562 {
12563 arg2 = &temp2;
12564 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12565 }
12566 {
12567 PyThreadState* __tstate = wxPyBeginAllowThreads();
12568 (arg1)->SetRect((wxRect const &)*arg2);
12569 wxPyEndAllowThreads(__tstate);
12570 if (PyErr_Occurred()) SWIG_fail;
12571 }
12572 resultobj = SWIG_Py_Void();
12573 return resultobj;
12574 fail:
12575 return NULL;
12576 }
12577
12578
12579 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12580 PyObject *resultobj = 0;
12581 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12582 wxRect result;
12583 void *argp1 = 0 ;
12584 int res1 = 0 ;
12585 PyObject *swig_obj[1] ;
12586
12587 if (!args) SWIG_fail;
12588 swig_obj[0] = args;
12589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12590 if (!SWIG_IsOK(res1)) {
12591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12592 }
12593 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12594 {
12595 PyThreadState* __tstate = wxPyBeginAllowThreads();
12596 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12597 wxPyEndAllowThreads(__tstate);
12598 if (PyErr_Occurred()) SWIG_fail;
12599 }
12600 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12601 return resultobj;
12602 fail:
12603 return NULL;
12604 }
12605
12606
12607 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12608 PyObject *obj;
12609 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12610 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12611 return SWIG_Py_Void();
12612 }
12613
12614 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12615 return SWIG_Python_InitShadowInstance(args);
12616 }
12617
12618 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12619 PyObject *resultobj = 0;
12620 wxWindow *arg1 = (wxWindow *) 0 ;
12621 int arg2 = (int) -1 ;
12622 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12623 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12624 wxSize const &arg4_defvalue = wxDefaultSize ;
12625 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12626 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12627 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12628 wxString *arg6 = (wxString *) &arg6_defvalue ;
12629 wxSashLayoutWindow *result = 0 ;
12630 void *argp1 = 0 ;
12631 int res1 = 0 ;
12632 int val2 ;
12633 int ecode2 = 0 ;
12634 wxPoint temp3 ;
12635 wxSize temp4 ;
12636 long val5 ;
12637 int ecode5 = 0 ;
12638 bool temp6 = false ;
12639 PyObject * obj0 = 0 ;
12640 PyObject * obj1 = 0 ;
12641 PyObject * obj2 = 0 ;
12642 PyObject * obj3 = 0 ;
12643 PyObject * obj4 = 0 ;
12644 PyObject * obj5 = 0 ;
12645 char * kwnames[] = {
12646 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12647 };
12648
12649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12651 if (!SWIG_IsOK(res1)) {
12652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12653 }
12654 arg1 = reinterpret_cast< wxWindow * >(argp1);
12655 if (obj1) {
12656 ecode2 = SWIG_AsVal_int(obj1, &val2);
12657 if (!SWIG_IsOK(ecode2)) {
12658 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12659 }
12660 arg2 = static_cast< int >(val2);
12661 }
12662 if (obj2) {
12663 {
12664 arg3 = &temp3;
12665 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12666 }
12667 }
12668 if (obj3) {
12669 {
12670 arg4 = &temp4;
12671 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12672 }
12673 }
12674 if (obj4) {
12675 ecode5 = SWIG_AsVal_long(obj4, &val5);
12676 if (!SWIG_IsOK(ecode5)) {
12677 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12678 }
12679 arg5 = static_cast< long >(val5);
12680 }
12681 if (obj5) {
12682 {
12683 arg6 = wxString_in_helper(obj5);
12684 if (arg6 == NULL) SWIG_fail;
12685 temp6 = true;
12686 }
12687 }
12688 {
12689 if (!wxPyCheckForApp()) SWIG_fail;
12690 PyThreadState* __tstate = wxPyBeginAllowThreads();
12691 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12692 wxPyEndAllowThreads(__tstate);
12693 if (PyErr_Occurred()) SWIG_fail;
12694 }
12695 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12696 {
12697 if (temp6)
12698 delete arg6;
12699 }
12700 return resultobj;
12701 fail:
12702 {
12703 if (temp6)
12704 delete arg6;
12705 }
12706 return NULL;
12707 }
12708
12709
12710 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12711 PyObject *resultobj = 0;
12712 wxSashLayoutWindow *result = 0 ;
12713
12714 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12715 {
12716 if (!wxPyCheckForApp()) SWIG_fail;
12717 PyThreadState* __tstate = wxPyBeginAllowThreads();
12718 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12719 wxPyEndAllowThreads(__tstate);
12720 if (PyErr_Occurred()) SWIG_fail;
12721 }
12722 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12723 return resultobj;
12724 fail:
12725 return NULL;
12726 }
12727
12728
12729 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12730 PyObject *resultobj = 0;
12731 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12732 wxWindow *arg2 = (wxWindow *) 0 ;
12733 int arg3 = (int) -1 ;
12734 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12735 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12736 wxSize const &arg5_defvalue = wxDefaultSize ;
12737 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12738 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12739 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12740 wxString *arg7 = (wxString *) &arg7_defvalue ;
12741 bool result;
12742 void *argp1 = 0 ;
12743 int res1 = 0 ;
12744 void *argp2 = 0 ;
12745 int res2 = 0 ;
12746 int val3 ;
12747 int ecode3 = 0 ;
12748 wxPoint temp4 ;
12749 wxSize temp5 ;
12750 long val6 ;
12751 int ecode6 = 0 ;
12752 bool temp7 = false ;
12753 PyObject * obj0 = 0 ;
12754 PyObject * obj1 = 0 ;
12755 PyObject * obj2 = 0 ;
12756 PyObject * obj3 = 0 ;
12757 PyObject * obj4 = 0 ;
12758 PyObject * obj5 = 0 ;
12759 PyObject * obj6 = 0 ;
12760 char * kwnames[] = {
12761 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12762 };
12763
12764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12766 if (!SWIG_IsOK(res1)) {
12767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12768 }
12769 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12770 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12771 if (!SWIG_IsOK(res2)) {
12772 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12773 }
12774 arg2 = reinterpret_cast< wxWindow * >(argp2);
12775 if (obj2) {
12776 ecode3 = SWIG_AsVal_int(obj2, &val3);
12777 if (!SWIG_IsOK(ecode3)) {
12778 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12779 }
12780 arg3 = static_cast< int >(val3);
12781 }
12782 if (obj3) {
12783 {
12784 arg4 = &temp4;
12785 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12786 }
12787 }
12788 if (obj4) {
12789 {
12790 arg5 = &temp5;
12791 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12792 }
12793 }
12794 if (obj5) {
12795 ecode6 = SWIG_AsVal_long(obj5, &val6);
12796 if (!SWIG_IsOK(ecode6)) {
12797 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12798 }
12799 arg6 = static_cast< long >(val6);
12800 }
12801 if (obj6) {
12802 {
12803 arg7 = wxString_in_helper(obj6);
12804 if (arg7 == NULL) SWIG_fail;
12805 temp7 = true;
12806 }
12807 }
12808 {
12809 PyThreadState* __tstate = wxPyBeginAllowThreads();
12810 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12811 wxPyEndAllowThreads(__tstate);
12812 if (PyErr_Occurred()) SWIG_fail;
12813 }
12814 {
12815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12816 }
12817 {
12818 if (temp7)
12819 delete arg7;
12820 }
12821 return resultobj;
12822 fail:
12823 {
12824 if (temp7)
12825 delete arg7;
12826 }
12827 return NULL;
12828 }
12829
12830
12831 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12832 PyObject *resultobj = 0;
12833 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12834 wxLayoutAlignment result;
12835 void *argp1 = 0 ;
12836 int res1 = 0 ;
12837 PyObject *swig_obj[1] ;
12838
12839 if (!args) SWIG_fail;
12840 swig_obj[0] = args;
12841 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12842 if (!SWIG_IsOK(res1)) {
12843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12844 }
12845 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12846 {
12847 PyThreadState* __tstate = wxPyBeginAllowThreads();
12848 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12849 wxPyEndAllowThreads(__tstate);
12850 if (PyErr_Occurred()) SWIG_fail;
12851 }
12852 resultobj = SWIG_From_int(static_cast< int >(result));
12853 return resultobj;
12854 fail:
12855 return NULL;
12856 }
12857
12858
12859 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12860 PyObject *resultobj = 0;
12861 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12862 wxLayoutOrientation result;
12863 void *argp1 = 0 ;
12864 int res1 = 0 ;
12865 PyObject *swig_obj[1] ;
12866
12867 if (!args) SWIG_fail;
12868 swig_obj[0] = args;
12869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12870 if (!SWIG_IsOK(res1)) {
12871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12872 }
12873 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12874 {
12875 PyThreadState* __tstate = wxPyBeginAllowThreads();
12876 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12877 wxPyEndAllowThreads(__tstate);
12878 if (PyErr_Occurred()) SWIG_fail;
12879 }
12880 resultobj = SWIG_From_int(static_cast< int >(result));
12881 return resultobj;
12882 fail:
12883 return NULL;
12884 }
12885
12886
12887 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12888 PyObject *resultobj = 0;
12889 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12890 wxLayoutAlignment arg2 ;
12891 void *argp1 = 0 ;
12892 int res1 = 0 ;
12893 int val2 ;
12894 int ecode2 = 0 ;
12895 PyObject * obj0 = 0 ;
12896 PyObject * obj1 = 0 ;
12897 char * kwnames[] = {
12898 (char *) "self",(char *) "alignment", NULL
12899 };
12900
12901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12903 if (!SWIG_IsOK(res1)) {
12904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12905 }
12906 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12907 ecode2 = SWIG_AsVal_int(obj1, &val2);
12908 if (!SWIG_IsOK(ecode2)) {
12909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12910 }
12911 arg2 = static_cast< wxLayoutAlignment >(val2);
12912 {
12913 PyThreadState* __tstate = wxPyBeginAllowThreads();
12914 (arg1)->SetAlignment(arg2);
12915 wxPyEndAllowThreads(__tstate);
12916 if (PyErr_Occurred()) SWIG_fail;
12917 }
12918 resultobj = SWIG_Py_Void();
12919 return resultobj;
12920 fail:
12921 return NULL;
12922 }
12923
12924
12925 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12926 PyObject *resultobj = 0;
12927 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12928 wxSize *arg2 = 0 ;
12929 void *argp1 = 0 ;
12930 int res1 = 0 ;
12931 wxSize temp2 ;
12932 PyObject * obj0 = 0 ;
12933 PyObject * obj1 = 0 ;
12934 char * kwnames[] = {
12935 (char *) "self",(char *) "size", NULL
12936 };
12937
12938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12940 if (!SWIG_IsOK(res1)) {
12941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12942 }
12943 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12944 {
12945 arg2 = &temp2;
12946 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12947 }
12948 {
12949 PyThreadState* __tstate = wxPyBeginAllowThreads();
12950 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12951 wxPyEndAllowThreads(__tstate);
12952 if (PyErr_Occurred()) SWIG_fail;
12953 }
12954 resultobj = SWIG_Py_Void();
12955 return resultobj;
12956 fail:
12957 return NULL;
12958 }
12959
12960
12961 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12962 PyObject *resultobj = 0;
12963 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12964 wxLayoutOrientation arg2 ;
12965 void *argp1 = 0 ;
12966 int res1 = 0 ;
12967 int val2 ;
12968 int ecode2 = 0 ;
12969 PyObject * obj0 = 0 ;
12970 PyObject * obj1 = 0 ;
12971 char * kwnames[] = {
12972 (char *) "self",(char *) "orientation", NULL
12973 };
12974
12975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12977 if (!SWIG_IsOK(res1)) {
12978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12979 }
12980 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12981 ecode2 = SWIG_AsVal_int(obj1, &val2);
12982 if (!SWIG_IsOK(ecode2)) {
12983 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12984 }
12985 arg2 = static_cast< wxLayoutOrientation >(val2);
12986 {
12987 PyThreadState* __tstate = wxPyBeginAllowThreads();
12988 (arg1)->SetOrientation(arg2);
12989 wxPyEndAllowThreads(__tstate);
12990 if (PyErr_Occurred()) SWIG_fail;
12991 }
12992 resultobj = SWIG_Py_Void();
12993 return resultobj;
12994 fail:
12995 return NULL;
12996 }
12997
12998
12999 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13000 PyObject *obj;
13001 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13002 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
13003 return SWIG_Py_Void();
13004 }
13005
13006 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13007 return SWIG_Python_InitShadowInstance(args);
13008 }
13009
13010 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13011 PyObject *resultobj = 0;
13012 wxLayoutAlgorithm *result = 0 ;
13013
13014 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
13015 {
13016 PyThreadState* __tstate = wxPyBeginAllowThreads();
13017 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
13018 wxPyEndAllowThreads(__tstate);
13019 if (PyErr_Occurred()) SWIG_fail;
13020 }
13021 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
13022 return resultobj;
13023 fail:
13024 return NULL;
13025 }
13026
13027
13028 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13029 PyObject *resultobj = 0;
13030 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13031 void *argp1 = 0 ;
13032 int res1 = 0 ;
13033 PyObject *swig_obj[1] ;
13034
13035 if (!args) SWIG_fail;
13036 swig_obj[0] = args;
13037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
13038 if (!SWIG_IsOK(res1)) {
13039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13040 }
13041 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13042 {
13043 PyThreadState* __tstate = wxPyBeginAllowThreads();
13044 delete arg1;
13045
13046 wxPyEndAllowThreads(__tstate);
13047 if (PyErr_Occurred()) SWIG_fail;
13048 }
13049 resultobj = SWIG_Py_Void();
13050 return resultobj;
13051 fail:
13052 return NULL;
13053 }
13054
13055
13056 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13057 PyObject *resultobj = 0;
13058 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13059 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13060 wxRect *arg3 = (wxRect *) NULL ;
13061 bool result;
13062 void *argp1 = 0 ;
13063 int res1 = 0 ;
13064 void *argp2 = 0 ;
13065 int res2 = 0 ;
13066 void *argp3 = 0 ;
13067 int res3 = 0 ;
13068 PyObject * obj0 = 0 ;
13069 PyObject * obj1 = 0 ;
13070 PyObject * obj2 = 0 ;
13071 char * kwnames[] = {
13072 (char *) "self",(char *) "frame",(char *) "rect", NULL
13073 };
13074
13075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13077 if (!SWIG_IsOK(res1)) {
13078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13079 }
13080 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13081 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13082 if (!SWIG_IsOK(res2)) {
13083 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13084 }
13085 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13086 if (obj2) {
13087 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13088 if (!SWIG_IsOK(res3)) {
13089 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13090 }
13091 arg3 = reinterpret_cast< wxRect * >(argp3);
13092 }
13093 {
13094 PyThreadState* __tstate = wxPyBeginAllowThreads();
13095 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13096 wxPyEndAllowThreads(__tstate);
13097 if (PyErr_Occurred()) SWIG_fail;
13098 }
13099 {
13100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13101 }
13102 return resultobj;
13103 fail:
13104 return NULL;
13105 }
13106
13107
13108 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13109 PyObject *resultobj = 0;
13110 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13111 wxFrame *arg2 = (wxFrame *) 0 ;
13112 wxWindow *arg3 = (wxWindow *) NULL ;
13113 bool result;
13114 void *argp1 = 0 ;
13115 int res1 = 0 ;
13116 void *argp2 = 0 ;
13117 int res2 = 0 ;
13118 void *argp3 = 0 ;
13119 int res3 = 0 ;
13120 PyObject * obj0 = 0 ;
13121 PyObject * obj1 = 0 ;
13122 PyObject * obj2 = 0 ;
13123 char * kwnames[] = {
13124 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13125 };
13126
13127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13129 if (!SWIG_IsOK(res1)) {
13130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13131 }
13132 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13133 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13134 if (!SWIG_IsOK(res2)) {
13135 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13136 }
13137 arg2 = reinterpret_cast< wxFrame * >(argp2);
13138 if (obj2) {
13139 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13140 if (!SWIG_IsOK(res3)) {
13141 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13142 }
13143 arg3 = reinterpret_cast< wxWindow * >(argp3);
13144 }
13145 {
13146 PyThreadState* __tstate = wxPyBeginAllowThreads();
13147 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13148 wxPyEndAllowThreads(__tstate);
13149 if (PyErr_Occurred()) SWIG_fail;
13150 }
13151 {
13152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13153 }
13154 return resultobj;
13155 fail:
13156 return NULL;
13157 }
13158
13159
13160 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13161 PyObject *resultobj = 0;
13162 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13163 wxWindow *arg2 = (wxWindow *) 0 ;
13164 wxWindow *arg3 = (wxWindow *) NULL ;
13165 bool result;
13166 void *argp1 = 0 ;
13167 int res1 = 0 ;
13168 void *argp2 = 0 ;
13169 int res2 = 0 ;
13170 void *argp3 = 0 ;
13171 int res3 = 0 ;
13172 PyObject * obj0 = 0 ;
13173 PyObject * obj1 = 0 ;
13174 PyObject * obj2 = 0 ;
13175 char * kwnames[] = {
13176 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13177 };
13178
13179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13181 if (!SWIG_IsOK(res1)) {
13182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13183 }
13184 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13185 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13186 if (!SWIG_IsOK(res2)) {
13187 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13188 }
13189 arg2 = reinterpret_cast< wxWindow * >(argp2);
13190 if (obj2) {
13191 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13192 if (!SWIG_IsOK(res3)) {
13193 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13194 }
13195 arg3 = reinterpret_cast< wxWindow * >(argp3);
13196 }
13197 {
13198 PyThreadState* __tstate = wxPyBeginAllowThreads();
13199 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13200 wxPyEndAllowThreads(__tstate);
13201 if (PyErr_Occurred()) SWIG_fail;
13202 }
13203 {
13204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13205 }
13206 return resultobj;
13207 fail:
13208 return NULL;
13209 }
13210
13211
13212 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13213 PyObject *obj;
13214 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13215 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13216 return SWIG_Py_Void();
13217 }
13218
13219 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13220 return SWIG_Python_InitShadowInstance(args);
13221 }
13222
13223 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13224 PyObject *resultobj = 0;
13225 wxWindow *arg1 = (wxWindow *) 0 ;
13226 int arg2 = (int) wxBORDER_NONE ;
13227 wxPopupWindow *result = 0 ;
13228 void *argp1 = 0 ;
13229 int res1 = 0 ;
13230 int val2 ;
13231 int ecode2 = 0 ;
13232 PyObject * obj0 = 0 ;
13233 PyObject * obj1 = 0 ;
13234 char * kwnames[] = {
13235 (char *) "parent",(char *) "flags", NULL
13236 };
13237
13238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13240 if (!SWIG_IsOK(res1)) {
13241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13242 }
13243 arg1 = reinterpret_cast< wxWindow * >(argp1);
13244 if (obj1) {
13245 ecode2 = SWIG_AsVal_int(obj1, &val2);
13246 if (!SWIG_IsOK(ecode2)) {
13247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13248 }
13249 arg2 = static_cast< int >(val2);
13250 }
13251 {
13252 PyThreadState* __tstate = wxPyBeginAllowThreads();
13253 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13254 wxPyEndAllowThreads(__tstate);
13255 if (PyErr_Occurred()) SWIG_fail;
13256 }
13257 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13258 return resultobj;
13259 fail:
13260 return NULL;
13261 }
13262
13263
13264 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13265 PyObject *resultobj = 0;
13266 wxPopupWindow *result = 0 ;
13267
13268 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13269 {
13270 PyThreadState* __tstate = wxPyBeginAllowThreads();
13271 result = (wxPopupWindow *)new wxPopupWindow();
13272 wxPyEndAllowThreads(__tstate);
13273 if (PyErr_Occurred()) SWIG_fail;
13274 }
13275 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13276 return resultobj;
13277 fail:
13278 return NULL;
13279 }
13280
13281
13282 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13283 PyObject *obj;
13284 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13285 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13286 return SWIG_Py_Void();
13287 }
13288
13289 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13290 return SWIG_Python_InitShadowInstance(args);
13291 }
13292
13293 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13294 PyObject *resultobj = 0;
13295 wxWindow *arg1 = (wxWindow *) 0 ;
13296 int arg2 = (int) wxBORDER_NONE ;
13297 wxPyPopupTransientWindow *result = 0 ;
13298 void *argp1 = 0 ;
13299 int res1 = 0 ;
13300 int val2 ;
13301 int ecode2 = 0 ;
13302 PyObject * obj0 = 0 ;
13303 PyObject * obj1 = 0 ;
13304 char * kwnames[] = {
13305 (char *) "parent",(char *) "style", NULL
13306 };
13307
13308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13310 if (!SWIG_IsOK(res1)) {
13311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13312 }
13313 arg1 = reinterpret_cast< wxWindow * >(argp1);
13314 if (obj1) {
13315 ecode2 = SWIG_AsVal_int(obj1, &val2);
13316 if (!SWIG_IsOK(ecode2)) {
13317 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13318 }
13319 arg2 = static_cast< int >(val2);
13320 }
13321 {
13322 PyThreadState* __tstate = wxPyBeginAllowThreads();
13323 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13324 wxPyEndAllowThreads(__tstate);
13325 if (PyErr_Occurred()) SWIG_fail;
13326 }
13327 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13328 return resultobj;
13329 fail:
13330 return NULL;
13331 }
13332
13333
13334 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13335 PyObject *resultobj = 0;
13336 wxPyPopupTransientWindow *result = 0 ;
13337
13338 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13339 {
13340 PyThreadState* __tstate = wxPyBeginAllowThreads();
13341 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13342 wxPyEndAllowThreads(__tstate);
13343 if (PyErr_Occurred()) SWIG_fail;
13344 }
13345 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13346 return resultobj;
13347 fail:
13348 return NULL;
13349 }
13350
13351
13352 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13353 PyObject *obj;
13354 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13355 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13356 return SWIG_Py_Void();
13357 }
13358
13359 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13360 return SWIG_Python_InitShadowInstance(args);
13361 }
13362
13363 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13364 PyObject *resultobj = 0;
13365 wxWindow *arg1 = (wxWindow *) 0 ;
13366 wxString *arg2 = 0 ;
13367 int arg3 = (int) 100 ;
13368 wxRect *arg4 = (wxRect *) NULL ;
13369 wxTipWindow *result = 0 ;
13370 void *argp1 = 0 ;
13371 int res1 = 0 ;
13372 bool temp2 = false ;
13373 int val3 ;
13374 int ecode3 = 0 ;
13375 void *argp4 = 0 ;
13376 int res4 = 0 ;
13377 PyObject * obj0 = 0 ;
13378 PyObject * obj1 = 0 ;
13379 PyObject * obj2 = 0 ;
13380 PyObject * obj3 = 0 ;
13381 char * kwnames[] = {
13382 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13383 };
13384
13385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13387 if (!SWIG_IsOK(res1)) {
13388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13389 }
13390 arg1 = reinterpret_cast< wxWindow * >(argp1);
13391 {
13392 arg2 = wxString_in_helper(obj1);
13393 if (arg2 == NULL) SWIG_fail;
13394 temp2 = true;
13395 }
13396 if (obj2) {
13397 ecode3 = SWIG_AsVal_int(obj2, &val3);
13398 if (!SWIG_IsOK(ecode3)) {
13399 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13400 }
13401 arg3 = static_cast< int >(val3);
13402 }
13403 if (obj3) {
13404 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13405 if (!SWIG_IsOK(res4)) {
13406 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13407 }
13408 arg4 = reinterpret_cast< wxRect * >(argp4);
13409 }
13410 {
13411 if (!wxPyCheckForApp()) SWIG_fail;
13412 PyThreadState* __tstate = wxPyBeginAllowThreads();
13413 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13414 wxPyEndAllowThreads(__tstate);
13415 if (PyErr_Occurred()) SWIG_fail;
13416 }
13417 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13418 {
13419 if (temp2)
13420 delete arg2;
13421 }
13422 return resultobj;
13423 fail:
13424 {
13425 if (temp2)
13426 delete arg2;
13427 }
13428 return NULL;
13429 }
13430
13431
13432 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13433 PyObject *resultobj = 0;
13434 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13435 wxRect *arg2 = 0 ;
13436 void *argp1 = 0 ;
13437 int res1 = 0 ;
13438 wxRect temp2 ;
13439 PyObject * obj0 = 0 ;
13440 PyObject * obj1 = 0 ;
13441 char * kwnames[] = {
13442 (char *) "self",(char *) "rectBound", NULL
13443 };
13444
13445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13447 if (!SWIG_IsOK(res1)) {
13448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13449 }
13450 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13451 {
13452 arg2 = &temp2;
13453 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13454 }
13455 {
13456 PyThreadState* __tstate = wxPyBeginAllowThreads();
13457 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13458 wxPyEndAllowThreads(__tstate);
13459 if (PyErr_Occurred()) SWIG_fail;
13460 }
13461 resultobj = SWIG_Py_Void();
13462 return resultobj;
13463 fail:
13464 return NULL;
13465 }
13466
13467
13468 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13469 PyObject *resultobj = 0;
13470 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13471 void *argp1 = 0 ;
13472 int res1 = 0 ;
13473 PyObject *swig_obj[1] ;
13474
13475 if (!args) SWIG_fail;
13476 swig_obj[0] = args;
13477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13478 if (!SWIG_IsOK(res1)) {
13479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13480 }
13481 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13482 {
13483 PyThreadState* __tstate = wxPyBeginAllowThreads();
13484 (arg1)->Close();
13485 wxPyEndAllowThreads(__tstate);
13486 if (PyErr_Occurred()) SWIG_fail;
13487 }
13488 resultobj = SWIG_Py_Void();
13489 return resultobj;
13490 fail:
13491 return NULL;
13492 }
13493
13494
13495 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13496 PyObject *obj;
13497 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13498 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13499 return SWIG_Py_Void();
13500 }
13501
13502 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13503 return SWIG_Python_InitShadowInstance(args);
13504 }
13505
13506 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_EnablePhysicalScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13507 PyObject *resultobj = 0;
13508 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13509 bool arg2 = (bool) true ;
13510 void *argp1 = 0 ;
13511 int res1 = 0 ;
13512 bool val2 ;
13513 int ecode2 = 0 ;
13514 PyObject * obj0 = 0 ;
13515 PyObject * obj1 = 0 ;
13516 char * kwnames[] = {
13517 (char *) "self",(char *) "scrolling", NULL
13518 };
13519
13520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:VarScrollHelperBase_EnablePhysicalScrolling",kwnames,&obj0,&obj1)) SWIG_fail;
13521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13522 if (!SWIG_IsOK(res1)) {
13523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13524 }
13525 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13526 if (obj1) {
13527 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13528 if (!SWIG_IsOK(ecode2)) {
13529 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'");
13530 }
13531 arg2 = static_cast< bool >(val2);
13532 }
13533 {
13534 PyThreadState* __tstate = wxPyBeginAllowThreads();
13535 (arg1)->EnablePhysicalScrolling(arg2);
13536 wxPyEndAllowThreads(__tstate);
13537 if (PyErr_Occurred()) SWIG_fail;
13538 }
13539 resultobj = SWIG_Py_Void();
13540 return resultobj;
13541 fail:
13542 return NULL;
13543 }
13544
13545
13546 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13547 PyObject *resultobj = 0;
13548 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13549 int arg2 ;
13550 int result;
13551 void *argp1 = 0 ;
13552 int res1 = 0 ;
13553 int val2 ;
13554 int ecode2 = 0 ;
13555 PyObject * obj0 = 0 ;
13556 PyObject * obj1 = 0 ;
13557 char * kwnames[] = {
13558 (char *) "self",(char *) "coord", NULL
13559 };
13560
13561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13563 if (!SWIG_IsOK(res1)) {
13564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13565 }
13566 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13567 ecode2 = SWIG_AsVal_int(obj1, &val2);
13568 if (!SWIG_IsOK(ecode2)) {
13569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "2"" of type '" "int""'");
13570 }
13571 arg2 = static_cast< int >(val2);
13572 {
13573 PyThreadState* __tstate = wxPyBeginAllowThreads();
13574 result = (int)((wxVarScrollHelperBase const *)arg1)->HitTest(arg2);
13575 wxPyEndAllowThreads(__tstate);
13576 if (PyErr_Occurred()) SWIG_fail;
13577 }
13578 resultobj = SWIG_From_int(static_cast< int >(result));
13579 return resultobj;
13580 fail:
13581 return NULL;
13582 }
13583
13584
13585 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13586 PyObject *resultobj = 0;
13587 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13588 void *argp1 = 0 ;
13589 int res1 = 0 ;
13590 PyObject *swig_obj[1] ;
13591
13592 if (!args) SWIG_fail;
13593 swig_obj[0] = args;
13594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13595 if (!SWIG_IsOK(res1)) {
13596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_RefreshAll" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13597 }
13598 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13599 {
13600 PyThreadState* __tstate = wxPyBeginAllowThreads();
13601 (arg1)->RefreshAll();
13602 wxPyEndAllowThreads(__tstate);
13603 if (PyErr_Occurred()) SWIG_fail;
13604 }
13605 resultobj = SWIG_Py_Void();
13606 return resultobj;
13607 fail:
13608 return NULL;
13609 }
13610
13611
13612 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13613 PyObject *resultobj = 0;
13614 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13615 size_t result;
13616 void *argp1 = 0 ;
13617 int res1 = 0 ;
13618 PyObject *swig_obj[1] ;
13619
13620 if (!args) SWIG_fail;
13621 swig_obj[0] = args;
13622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13623 if (!SWIG_IsOK(res1)) {
13624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13625 }
13626 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13627 {
13628 PyThreadState* __tstate = wxPyBeginAllowThreads();
13629 result = (size_t)((wxVarScrollHelperBase const *)arg1)->GetVisibleBegin();
13630 wxPyEndAllowThreads(__tstate);
13631 if (PyErr_Occurred()) SWIG_fail;
13632 }
13633 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13634 return resultobj;
13635 fail:
13636 return NULL;
13637 }
13638
13639
13640 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13641 PyObject *resultobj = 0;
13642 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13643 size_t result;
13644 void *argp1 = 0 ;
13645 int res1 = 0 ;
13646 PyObject *swig_obj[1] ;
13647
13648 if (!args) SWIG_fail;
13649 swig_obj[0] = args;
13650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13651 if (!SWIG_IsOK(res1)) {
13652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13653 }
13654 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13655 {
13656 PyThreadState* __tstate = wxPyBeginAllowThreads();
13657 result = (size_t)((wxVarScrollHelperBase const *)arg1)->GetVisibleEnd();
13658 wxPyEndAllowThreads(__tstate);
13659 if (PyErr_Occurred()) SWIG_fail;
13660 }
13661 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13662 return resultobj;
13663 fail:
13664 return NULL;
13665 }
13666
13667
13668 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13669 PyObject *resultobj = 0;
13670 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13671 size_t arg2 ;
13672 bool result;
13673 void *argp1 = 0 ;
13674 int res1 = 0 ;
13675 size_t val2 ;
13676 int ecode2 = 0 ;
13677 PyObject * obj0 = 0 ;
13678 PyObject * obj1 = 0 ;
13679 char * kwnames[] = {
13680 (char *) "self",(char *) "unit", NULL
13681 };
13682
13683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
13684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13685 if (!SWIG_IsOK(res1)) {
13686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13687 }
13688 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13689 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13690 if (!SWIG_IsOK(ecode2)) {
13691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13692 }
13693 arg2 = static_cast< size_t >(val2);
13694 {
13695 PyThreadState* __tstate = wxPyBeginAllowThreads();
13696 result = (bool)((wxVarScrollHelperBase const *)arg1)->IsVisible(arg2);
13697 wxPyEndAllowThreads(__tstate);
13698 if (PyErr_Occurred()) SWIG_fail;
13699 }
13700 {
13701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13702 }
13703 return resultobj;
13704 fail:
13705 return NULL;
13706 }
13707
13708
13709 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_CalcScrolledPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13710 PyObject *resultobj = 0;
13711 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13712 int arg2 ;
13713 int result;
13714 void *argp1 = 0 ;
13715 int res1 = 0 ;
13716 int val2 ;
13717 int ecode2 = 0 ;
13718 PyObject * obj0 = 0 ;
13719 PyObject * obj1 = 0 ;
13720 char * kwnames[] = {
13721 (char *) "self",(char *) "coord", NULL
13722 };
13723
13724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_CalcScrolledPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13726 if (!SWIG_IsOK(res1)) {
13727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13728 }
13729 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13730 ecode2 = SWIG_AsVal_int(obj1, &val2);
13731 if (!SWIG_IsOK(ecode2)) {
13732 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
13733 }
13734 arg2 = static_cast< int >(val2);
13735 {
13736 PyThreadState* __tstate = wxPyBeginAllowThreads();
13737 result = (int)((wxVarScrollHelperBase const *)arg1)->CalcScrolledPosition(arg2);
13738 wxPyEndAllowThreads(__tstate);
13739 if (PyErr_Occurred()) SWIG_fail;
13740 }
13741 resultobj = SWIG_From_int(static_cast< int >(result));
13742 return resultobj;
13743 fail:
13744 return NULL;
13745 }
13746
13747
13748 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_CalcUnscrolledPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13749 PyObject *resultobj = 0;
13750 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13751 int arg2 ;
13752 int result;
13753 void *argp1 = 0 ;
13754 int res1 = 0 ;
13755 int val2 ;
13756 int ecode2 = 0 ;
13757 PyObject * obj0 = 0 ;
13758 PyObject * obj1 = 0 ;
13759 char * kwnames[] = {
13760 (char *) "self",(char *) "coord", NULL
13761 };
13762
13763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_CalcUnscrolledPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13765 if (!SWIG_IsOK(res1)) {
13766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13767 }
13768 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13769 ecode2 = SWIG_AsVal_int(obj1, &val2);
13770 if (!SWIG_IsOK(ecode2)) {
13771 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
13772 }
13773 arg2 = static_cast< int >(val2);
13774 {
13775 PyThreadState* __tstate = wxPyBeginAllowThreads();
13776 result = (int)((wxVarScrollHelperBase const *)arg1)->CalcUnscrolledPosition(arg2);
13777 wxPyEndAllowThreads(__tstate);
13778 if (PyErr_Occurred()) SWIG_fail;
13779 }
13780 resultobj = SWIG_From_int(static_cast< int >(result));
13781 return resultobj;
13782 fail:
13783 return NULL;
13784 }
13785
13786
13787 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_UpdateScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13788 PyObject *resultobj = 0;
13789 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13790 void *argp1 = 0 ;
13791 int res1 = 0 ;
13792 PyObject *swig_obj[1] ;
13793
13794 if (!args) SWIG_fail;
13795 swig_obj[0] = args;
13796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13797 if (!SWIG_IsOK(res1)) {
13798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_UpdateScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13799 }
13800 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13801 {
13802 PyThreadState* __tstate = wxPyBeginAllowThreads();
13803 (arg1)->UpdateScrollbar();
13804 wxPyEndAllowThreads(__tstate);
13805 if (PyErr_Occurred()) SWIG_fail;
13806 }
13807 resultobj = SWIG_Py_Void();
13808 return resultobj;
13809 fail:
13810 return NULL;
13811 }
13812
13813
13814 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_RemoveScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13815 PyObject *resultobj = 0;
13816 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13817 void *argp1 = 0 ;
13818 int res1 = 0 ;
13819 PyObject *swig_obj[1] ;
13820
13821 if (!args) SWIG_fail;
13822 swig_obj[0] = args;
13823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13824 if (!SWIG_IsOK(res1)) {
13825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_RemoveScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13826 }
13827 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13828 {
13829 PyThreadState* __tstate = wxPyBeginAllowThreads();
13830 (arg1)->RemoveScrollbar();
13831 wxPyEndAllowThreads(__tstate);
13832 if (PyErr_Occurred()) SWIG_fail;
13833 }
13834 resultobj = SWIG_Py_Void();
13835 return resultobj;
13836 fail:
13837 return NULL;
13838 }
13839
13840
13841 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13842 PyObject *resultobj = 0;
13843 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13844 wxWindow *arg2 = (wxWindow *) 0 ;
13845 void *argp1 = 0 ;
13846 int res1 = 0 ;
13847 void *argp2 = 0 ;
13848 int res2 = 0 ;
13849 PyObject * obj0 = 0 ;
13850 PyObject * obj1 = 0 ;
13851 char * kwnames[] = {
13852 (char *) "self",(char *) "target", NULL
13853 };
13854
13855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13857 if (!SWIG_IsOK(res1)) {
13858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13859 }
13860 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13861 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13862 if (!SWIG_IsOK(res2)) {
13863 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13864 }
13865 arg2 = reinterpret_cast< wxWindow * >(argp2);
13866 {
13867 PyThreadState* __tstate = wxPyBeginAllowThreads();
13868 (arg1)->SetTargetWindow(arg2);
13869 wxPyEndAllowThreads(__tstate);
13870 if (PyErr_Occurred()) SWIG_fail;
13871 }
13872 resultobj = SWIG_Py_Void();
13873 return resultobj;
13874 fail:
13875 return NULL;
13876 }
13877
13878
13879 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13880 PyObject *resultobj = 0;
13881 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13882 wxWindow *result = 0 ;
13883 void *argp1 = 0 ;
13884 int res1 = 0 ;
13885 PyObject *swig_obj[1] ;
13886
13887 if (!args) SWIG_fail;
13888 swig_obj[0] = args;
13889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13890 if (!SWIG_IsOK(res1)) {
13891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13892 }
13893 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13894 {
13895 PyThreadState* __tstate = wxPyBeginAllowThreads();
13896 result = (wxWindow *)((wxVarScrollHelperBase const *)arg1)->GetTargetWindow();
13897 wxPyEndAllowThreads(__tstate);
13898 if (PyErr_Occurred()) SWIG_fail;
13899 }
13900 {
13901 resultobj = wxPyMake_wxObject(result, 0);
13902 }
13903 return resultobj;
13904 fail:
13905 return NULL;
13906 }
13907
13908
13909 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetOrientationTargetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13910 PyObject *resultobj = 0;
13911 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13912 int result;
13913 void *argp1 = 0 ;
13914 int res1 = 0 ;
13915 PyObject *swig_obj[1] ;
13916
13917 if (!args) SWIG_fail;
13918 swig_obj[0] = args;
13919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13920 if (!SWIG_IsOK(res1)) {
13921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13922 }
13923 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13924 {
13925 PyThreadState* __tstate = wxPyBeginAllowThreads();
13926 result = (int)((wxVarScrollHelperBase const *)arg1)->GetOrientationTargetSize();
13927 wxPyEndAllowThreads(__tstate);
13928 if (PyErr_Occurred()) SWIG_fail;
13929 }
13930 resultobj = SWIG_From_int(static_cast< int >(result));
13931 return resultobj;
13932 fail:
13933 return NULL;
13934 }
13935
13936
13937 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetNonOrientationTargetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13938 PyObject *resultobj = 0;
13939 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13940 int result;
13941 void *argp1 = 0 ;
13942 int res1 = 0 ;
13943 PyObject *swig_obj[1] ;
13944
13945 if (!args) SWIG_fail;
13946 swig_obj[0] = args;
13947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13948 if (!SWIG_IsOK(res1)) {
13949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetNonOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13950 }
13951 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13952 {
13953 PyThreadState* __tstate = wxPyBeginAllowThreads();
13954 result = (int)((wxVarScrollHelperBase const *)arg1)->GetNonOrientationTargetSize();
13955 wxPyEndAllowThreads(__tstate);
13956 if (PyErr_Occurred()) SWIG_fail;
13957 }
13958 resultobj = SWIG_From_int(static_cast< int >(result));
13959 return resultobj;
13960 fail:
13961 return NULL;
13962 }
13963
13964
13965 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13966 PyObject *resultobj = 0;
13967 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13968 wxOrientation result;
13969 void *argp1 = 0 ;
13970 int res1 = 0 ;
13971 PyObject *swig_obj[1] ;
13972
13973 if (!args) SWIG_fail;
13974 swig_obj[0] = args;
13975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13976 if (!SWIG_IsOK(res1)) {
13977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetOrientation" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13978 }
13979 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13980 {
13981 PyThreadState* __tstate = wxPyBeginAllowThreads();
13982 result = (wxOrientation)((wxVarScrollHelperBase const *)arg1)->GetOrientation();
13983 wxPyEndAllowThreads(__tstate);
13984 if (PyErr_Occurred()) SWIG_fail;
13985 }
13986 resultobj = SWIG_From_int(static_cast< int >(result));
13987 return resultobj;
13988 fail:
13989 return NULL;
13990 }
13991
13992
13993 SWIGINTERN PyObject *VarScrollHelperBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13994 PyObject *obj;
13995 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13996 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarScrollHelperBase, SWIG_NewClientData(obj));
13997 return SWIG_Py_Void();
13998 }
13999
14000 SWIGINTERN PyObject *_wrap_VarVScrollHelper_SetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14001 PyObject *resultobj = 0;
14002 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14003 size_t arg2 ;
14004 void *argp1 = 0 ;
14005 int res1 = 0 ;
14006 size_t val2 ;
14007 int ecode2 = 0 ;
14008 PyObject * obj0 = 0 ;
14009 PyObject * obj1 = 0 ;
14010 char * kwnames[] = {
14011 (char *) "self",(char *) "rowCount", NULL
14012 };
14013
14014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_SetRowCount",kwnames,&obj0,&obj1)) SWIG_fail;
14015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14016 if (!SWIG_IsOK(res1)) {
14017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14018 }
14019 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14020 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14021 if (!SWIG_IsOK(ecode2)) {
14022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "2"" of type '" "size_t""'");
14023 }
14024 arg2 = static_cast< size_t >(val2);
14025 {
14026 PyThreadState* __tstate = wxPyBeginAllowThreads();
14027 (arg1)->SetRowCount(arg2);
14028 wxPyEndAllowThreads(__tstate);
14029 if (PyErr_Occurred()) SWIG_fail;
14030 }
14031 resultobj = SWIG_Py_Void();
14032 return resultobj;
14033 fail:
14034 return NULL;
14035 }
14036
14037
14038 SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollToRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14039 PyObject *resultobj = 0;
14040 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14041 size_t arg2 ;
14042 bool result;
14043 void *argp1 = 0 ;
14044 int res1 = 0 ;
14045 size_t val2 ;
14046 int ecode2 = 0 ;
14047 PyObject * obj0 = 0 ;
14048 PyObject * obj1 = 0 ;
14049 char * kwnames[] = {
14050 (char *) "self",(char *) "row", NULL
14051 };
14052
14053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollToRow",kwnames,&obj0,&obj1)) SWIG_fail;
14054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14055 if (!SWIG_IsOK(res1)) {
14056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14057 }
14058 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14059 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14060 if (!SWIG_IsOK(ecode2)) {
14061 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "2"" of type '" "size_t""'");
14062 }
14063 arg2 = static_cast< size_t >(val2);
14064 {
14065 PyThreadState* __tstate = wxPyBeginAllowThreads();
14066 result = (bool)(arg1)->ScrollToRow(arg2);
14067 wxPyEndAllowThreads(__tstate);
14068 if (PyErr_Occurred()) SWIG_fail;
14069 }
14070 {
14071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14072 }
14073 return resultobj;
14074 fail:
14075 return NULL;
14076 }
14077
14078
14079 SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14080 PyObject *resultobj = 0;
14081 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14082 int arg2 ;
14083 bool result;
14084 void *argp1 = 0 ;
14085 int res1 = 0 ;
14086 int val2 ;
14087 int ecode2 = 0 ;
14088 PyObject * obj0 = 0 ;
14089 PyObject * obj1 = 0 ;
14090 char * kwnames[] = {
14091 (char *) "self",(char *) "rows", NULL
14092 };
14093
14094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollRows",kwnames,&obj0,&obj1)) SWIG_fail;
14095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14096 if (!SWIG_IsOK(res1)) {
14097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14098 }
14099 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14100 ecode2 = SWIG_AsVal_int(obj1, &val2);
14101 if (!SWIG_IsOK(ecode2)) {
14102 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "2"" of type '" "int""'");
14103 }
14104 arg2 = static_cast< int >(val2);
14105 {
14106 PyThreadState* __tstate = wxPyBeginAllowThreads();
14107 result = (bool)(arg1)->ScrollRows(arg2);
14108 wxPyEndAllowThreads(__tstate);
14109 if (PyErr_Occurred()) SWIG_fail;
14110 }
14111 {
14112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14113 }
14114 return resultobj;
14115 fail:
14116 return NULL;
14117 }
14118
14119
14120 SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollRowPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14121 PyObject *resultobj = 0;
14122 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14123 int arg2 ;
14124 bool result;
14125 void *argp1 = 0 ;
14126 int res1 = 0 ;
14127 int val2 ;
14128 int ecode2 = 0 ;
14129 PyObject * obj0 = 0 ;
14130 PyObject * obj1 = 0 ;
14131 char * kwnames[] = {
14132 (char *) "self",(char *) "pages", NULL
14133 };
14134
14135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollRowPages",kwnames,&obj0,&obj1)) SWIG_fail;
14136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14137 if (!SWIG_IsOK(res1)) {
14138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14139 }
14140 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14141 ecode2 = SWIG_AsVal_int(obj1, &val2);
14142 if (!SWIG_IsOK(ecode2)) {
14143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "2"" of type '" "int""'");
14144 }
14145 arg2 = static_cast< int >(val2);
14146 {
14147 PyThreadState* __tstate = wxPyBeginAllowThreads();
14148 result = (bool)(arg1)->ScrollRowPages(arg2);
14149 wxPyEndAllowThreads(__tstate);
14150 if (PyErr_Occurred()) SWIG_fail;
14151 }
14152 {
14153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14154 }
14155 return resultobj;
14156 fail:
14157 return NULL;
14158 }
14159
14160
14161 SWIGINTERN PyObject *_wrap_VarVScrollHelper_RefreshRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14162 PyObject *resultobj = 0;
14163 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14164 size_t arg2 ;
14165 void *argp1 = 0 ;
14166 int res1 = 0 ;
14167 size_t val2 ;
14168 int ecode2 = 0 ;
14169 PyObject * obj0 = 0 ;
14170 PyObject * obj1 = 0 ;
14171 char * kwnames[] = {
14172 (char *) "self",(char *) "row", NULL
14173 };
14174
14175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_RefreshRow",kwnames,&obj0,&obj1)) SWIG_fail;
14176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14177 if (!SWIG_IsOK(res1)) {
14178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14179 }
14180 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14181 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14182 if (!SWIG_IsOK(ecode2)) {
14183 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "2"" of type '" "size_t""'");
14184 }
14185 arg2 = static_cast< size_t >(val2);
14186 {
14187 PyThreadState* __tstate = wxPyBeginAllowThreads();
14188 (arg1)->RefreshRow(arg2);
14189 wxPyEndAllowThreads(__tstate);
14190 if (PyErr_Occurred()) SWIG_fail;
14191 }
14192 resultobj = SWIG_Py_Void();
14193 return resultobj;
14194 fail:
14195 return NULL;
14196 }
14197
14198
14199 SWIGINTERN PyObject *_wrap_VarVScrollHelper_RefreshRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14200 PyObject *resultobj = 0;
14201 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14202 size_t arg2 ;
14203 size_t arg3 ;
14204 void *argp1 = 0 ;
14205 int res1 = 0 ;
14206 size_t val2 ;
14207 int ecode2 = 0 ;
14208 size_t val3 ;
14209 int ecode3 = 0 ;
14210 PyObject * obj0 = 0 ;
14211 PyObject * obj1 = 0 ;
14212 PyObject * obj2 = 0 ;
14213 char * kwnames[] = {
14214 (char *) "self",(char *) "from",(char *) "to", NULL
14215 };
14216
14217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarVScrollHelper_RefreshRows",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14219 if (!SWIG_IsOK(res1)) {
14220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14221 }
14222 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14223 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14224 if (!SWIG_IsOK(ecode2)) {
14225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "2"" of type '" "size_t""'");
14226 }
14227 arg2 = static_cast< size_t >(val2);
14228 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14229 if (!SWIG_IsOK(ecode3)) {
14230 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "3"" of type '" "size_t""'");
14231 }
14232 arg3 = static_cast< size_t >(val3);
14233 {
14234 PyThreadState* __tstate = wxPyBeginAllowThreads();
14235 (arg1)->RefreshRows(arg2,arg3);
14236 wxPyEndAllowThreads(__tstate);
14237 if (PyErr_Occurred()) SWIG_fail;
14238 }
14239 resultobj = SWIG_Py_Void();
14240 return resultobj;
14241 fail:
14242 return NULL;
14243 }
14244
14245
14246 SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14247 PyObject *resultobj = 0;
14248 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14249 size_t result;
14250 void *argp1 = 0 ;
14251 int res1 = 0 ;
14252 PyObject *swig_obj[1] ;
14253
14254 if (!args) SWIG_fail;
14255 swig_obj[0] = args;
14256 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14257 if (!SWIG_IsOK(res1)) {
14258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14259 }
14260 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14261 {
14262 PyThreadState* __tstate = wxPyBeginAllowThreads();
14263 result = (size_t)((wxVarVScrollHelper const *)arg1)->GetRowCount();
14264 wxPyEndAllowThreads(__tstate);
14265 if (PyErr_Occurred()) SWIG_fail;
14266 }
14267 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14268 return resultobj;
14269 fail:
14270 return NULL;
14271 }
14272
14273
14274 SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetVisibleRowsBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14275 PyObject *resultobj = 0;
14276 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14277 size_t result;
14278 void *argp1 = 0 ;
14279 int res1 = 0 ;
14280 PyObject *swig_obj[1] ;
14281
14282 if (!args) SWIG_fail;
14283 swig_obj[0] = args;
14284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14285 if (!SWIG_IsOK(res1)) {
14286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetVisibleRowsBegin" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14287 }
14288 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14289 {
14290 PyThreadState* __tstate = wxPyBeginAllowThreads();
14291 result = (size_t)((wxVarVScrollHelper const *)arg1)->GetVisibleRowsBegin();
14292 wxPyEndAllowThreads(__tstate);
14293 if (PyErr_Occurred()) SWIG_fail;
14294 }
14295 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14296 return resultobj;
14297 fail:
14298 return NULL;
14299 }
14300
14301
14302 SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetVisibleRowsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14303 PyObject *resultobj = 0;
14304 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14305 size_t result;
14306 void *argp1 = 0 ;
14307 int res1 = 0 ;
14308 PyObject *swig_obj[1] ;
14309
14310 if (!args) SWIG_fail;
14311 swig_obj[0] = args;
14312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14313 if (!SWIG_IsOK(res1)) {
14314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetVisibleRowsEnd" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14315 }
14316 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14317 {
14318 PyThreadState* __tstate = wxPyBeginAllowThreads();
14319 result = (size_t)((wxVarVScrollHelper const *)arg1)->GetVisibleRowsEnd();
14320 wxPyEndAllowThreads(__tstate);
14321 if (PyErr_Occurred()) SWIG_fail;
14322 }
14323 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14324 return resultobj;
14325 fail:
14326 return NULL;
14327 }
14328
14329
14330 SWIGINTERN PyObject *_wrap_VarVScrollHelper_IsRowVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14331 PyObject *resultobj = 0;
14332 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14333 size_t arg2 ;
14334 bool result;
14335 void *argp1 = 0 ;
14336 int res1 = 0 ;
14337 size_t val2 ;
14338 int ecode2 = 0 ;
14339 PyObject * obj0 = 0 ;
14340 PyObject * obj1 = 0 ;
14341 char * kwnames[] = {
14342 (char *) "self",(char *) "row", NULL
14343 };
14344
14345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_IsRowVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14347 if (!SWIG_IsOK(res1)) {
14348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14349 }
14350 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14351 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14352 if (!SWIG_IsOK(ecode2)) {
14353 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "2"" of type '" "size_t""'");
14354 }
14355 arg2 = static_cast< size_t >(val2);
14356 {
14357 PyThreadState* __tstate = wxPyBeginAllowThreads();
14358 result = (bool)((wxVarVScrollHelper const *)arg1)->IsRowVisible(arg2);
14359 wxPyEndAllowThreads(__tstate);
14360 if (PyErr_Occurred()) SWIG_fail;
14361 }
14362 {
14363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14364 }
14365 return resultobj;
14366 fail:
14367 return NULL;
14368 }
14369
14370
14371 SWIGINTERN PyObject *VarVScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14372 PyObject *obj;
14373 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14374 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarVScrollHelper, SWIG_NewClientData(obj));
14375 return SWIG_Py_Void();
14376 }
14377
14378 SWIGINTERN PyObject *_wrap_VarHScrollHelper_SetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14379 PyObject *resultobj = 0;
14380 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14381 size_t arg2 ;
14382 void *argp1 = 0 ;
14383 int res1 = 0 ;
14384 size_t val2 ;
14385 int ecode2 = 0 ;
14386 PyObject * obj0 = 0 ;
14387 PyObject * obj1 = 0 ;
14388 char * kwnames[] = {
14389 (char *) "self",(char *) "columnCount", NULL
14390 };
14391
14392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_SetColumnCount",kwnames,&obj0,&obj1)) SWIG_fail;
14393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14394 if (!SWIG_IsOK(res1)) {
14395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14396 }
14397 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14398 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14399 if (!SWIG_IsOK(ecode2)) {
14400 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "2"" of type '" "size_t""'");
14401 }
14402 arg2 = static_cast< size_t >(val2);
14403 {
14404 PyThreadState* __tstate = wxPyBeginAllowThreads();
14405 (arg1)->SetColumnCount(arg2);
14406 wxPyEndAllowThreads(__tstate);
14407 if (PyErr_Occurred()) SWIG_fail;
14408 }
14409 resultobj = SWIG_Py_Void();
14410 return resultobj;
14411 fail:
14412 return NULL;
14413 }
14414
14415
14416 SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollToColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14417 PyObject *resultobj = 0;
14418 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14419 size_t arg2 ;
14420 bool result;
14421 void *argp1 = 0 ;
14422 int res1 = 0 ;
14423 size_t val2 ;
14424 int ecode2 = 0 ;
14425 PyObject * obj0 = 0 ;
14426 PyObject * obj1 = 0 ;
14427 char * kwnames[] = {
14428 (char *) "self",(char *) "column", NULL
14429 };
14430
14431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollToColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14433 if (!SWIG_IsOK(res1)) {
14434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14435 }
14436 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14437 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14438 if (!SWIG_IsOK(ecode2)) {
14439 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "2"" of type '" "size_t""'");
14440 }
14441 arg2 = static_cast< size_t >(val2);
14442 {
14443 PyThreadState* __tstate = wxPyBeginAllowThreads();
14444 result = (bool)(arg1)->ScrollToColumn(arg2);
14445 wxPyEndAllowThreads(__tstate);
14446 if (PyErr_Occurred()) SWIG_fail;
14447 }
14448 {
14449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14450 }
14451 return resultobj;
14452 fail:
14453 return NULL;
14454 }
14455
14456
14457 SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14458 PyObject *resultobj = 0;
14459 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14460 int arg2 ;
14461 bool result;
14462 void *argp1 = 0 ;
14463 int res1 = 0 ;
14464 int val2 ;
14465 int ecode2 = 0 ;
14466 PyObject * obj0 = 0 ;
14467 PyObject * obj1 = 0 ;
14468 char * kwnames[] = {
14469 (char *) "self",(char *) "columns", NULL
14470 };
14471
14472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollColumns",kwnames,&obj0,&obj1)) SWIG_fail;
14473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14474 if (!SWIG_IsOK(res1)) {
14475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14476 }
14477 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14478 ecode2 = SWIG_AsVal_int(obj1, &val2);
14479 if (!SWIG_IsOK(ecode2)) {
14480 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "2"" of type '" "int""'");
14481 }
14482 arg2 = static_cast< int >(val2);
14483 {
14484 PyThreadState* __tstate = wxPyBeginAllowThreads();
14485 result = (bool)(arg1)->ScrollColumns(arg2);
14486 wxPyEndAllowThreads(__tstate);
14487 if (PyErr_Occurred()) SWIG_fail;
14488 }
14489 {
14490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14491 }
14492 return resultobj;
14493 fail:
14494 return NULL;
14495 }
14496
14497
14498 SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollColumnPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14499 PyObject *resultobj = 0;
14500 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14501 int arg2 ;
14502 bool result;
14503 void *argp1 = 0 ;
14504 int res1 = 0 ;
14505 int val2 ;
14506 int ecode2 = 0 ;
14507 PyObject * obj0 = 0 ;
14508 PyObject * obj1 = 0 ;
14509 char * kwnames[] = {
14510 (char *) "self",(char *) "pages", NULL
14511 };
14512
14513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollColumnPages",kwnames,&obj0,&obj1)) SWIG_fail;
14514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14515 if (!SWIG_IsOK(res1)) {
14516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14517 }
14518 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14519 ecode2 = SWIG_AsVal_int(obj1, &val2);
14520 if (!SWIG_IsOK(ecode2)) {
14521 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "2"" of type '" "int""'");
14522 }
14523 arg2 = static_cast< int >(val2);
14524 {
14525 PyThreadState* __tstate = wxPyBeginAllowThreads();
14526 result = (bool)(arg1)->ScrollColumnPages(arg2);
14527 wxPyEndAllowThreads(__tstate);
14528 if (PyErr_Occurred()) SWIG_fail;
14529 }
14530 {
14531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14532 }
14533 return resultobj;
14534 fail:
14535 return NULL;
14536 }
14537
14538
14539 SWIGINTERN PyObject *_wrap_VarHScrollHelper_RefreshColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14540 PyObject *resultobj = 0;
14541 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14542 size_t arg2 ;
14543 void *argp1 = 0 ;
14544 int res1 = 0 ;
14545 size_t val2 ;
14546 int ecode2 = 0 ;
14547 PyObject * obj0 = 0 ;
14548 PyObject * obj1 = 0 ;
14549 char * kwnames[] = {
14550 (char *) "self",(char *) "column", NULL
14551 };
14552
14553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_RefreshColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14554 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14555 if (!SWIG_IsOK(res1)) {
14556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14557 }
14558 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14559 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14560 if (!SWIG_IsOK(ecode2)) {
14561 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "2"" of type '" "size_t""'");
14562 }
14563 arg2 = static_cast< size_t >(val2);
14564 {
14565 PyThreadState* __tstate = wxPyBeginAllowThreads();
14566 (arg1)->RefreshColumn(arg2);
14567 wxPyEndAllowThreads(__tstate);
14568 if (PyErr_Occurred()) SWIG_fail;
14569 }
14570 resultobj = SWIG_Py_Void();
14571 return resultobj;
14572 fail:
14573 return NULL;
14574 }
14575
14576
14577 SWIGINTERN PyObject *_wrap_VarHScrollHelper_RefreshColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14578 PyObject *resultobj = 0;
14579 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14580 size_t arg2 ;
14581 size_t arg3 ;
14582 void *argp1 = 0 ;
14583 int res1 = 0 ;
14584 size_t val2 ;
14585 int ecode2 = 0 ;
14586 size_t val3 ;
14587 int ecode3 = 0 ;
14588 PyObject * obj0 = 0 ;
14589 PyObject * obj1 = 0 ;
14590 PyObject * obj2 = 0 ;
14591 char * kwnames[] = {
14592 (char *) "self",(char *) "from",(char *) "to", NULL
14593 };
14594
14595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHScrollHelper_RefreshColumns",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14597 if (!SWIG_IsOK(res1)) {
14598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14599 }
14600 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14601 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14602 if (!SWIG_IsOK(ecode2)) {
14603 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "2"" of type '" "size_t""'");
14604 }
14605 arg2 = static_cast< size_t >(val2);
14606 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14607 if (!SWIG_IsOK(ecode3)) {
14608 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "3"" of type '" "size_t""'");
14609 }
14610 arg3 = static_cast< size_t >(val3);
14611 {
14612 PyThreadState* __tstate = wxPyBeginAllowThreads();
14613 (arg1)->RefreshColumns(arg2,arg3);
14614 wxPyEndAllowThreads(__tstate);
14615 if (PyErr_Occurred()) SWIG_fail;
14616 }
14617 resultobj = SWIG_Py_Void();
14618 return resultobj;
14619 fail:
14620 return NULL;
14621 }
14622
14623
14624 SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14625 PyObject *resultobj = 0;
14626 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14627 size_t result;
14628 void *argp1 = 0 ;
14629 int res1 = 0 ;
14630 PyObject *swig_obj[1] ;
14631
14632 if (!args) SWIG_fail;
14633 swig_obj[0] = args;
14634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14635 if (!SWIG_IsOK(res1)) {
14636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14637 }
14638 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14639 {
14640 PyThreadState* __tstate = wxPyBeginAllowThreads();
14641 result = (size_t)((wxVarHScrollHelper const *)arg1)->GetColumnCount();
14642 wxPyEndAllowThreads(__tstate);
14643 if (PyErr_Occurred()) SWIG_fail;
14644 }
14645 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14646 return resultobj;
14647 fail:
14648 return NULL;
14649 }
14650
14651
14652 SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetVisibleColumnsBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14653 PyObject *resultobj = 0;
14654 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14655 size_t result;
14656 void *argp1 = 0 ;
14657 int res1 = 0 ;
14658 PyObject *swig_obj[1] ;
14659
14660 if (!args) SWIG_fail;
14661 swig_obj[0] = args;
14662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14663 if (!SWIG_IsOK(res1)) {
14664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetVisibleColumnsBegin" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14665 }
14666 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14667 {
14668 PyThreadState* __tstate = wxPyBeginAllowThreads();
14669 result = (size_t)((wxVarHScrollHelper const *)arg1)->GetVisibleColumnsBegin();
14670 wxPyEndAllowThreads(__tstate);
14671 if (PyErr_Occurred()) SWIG_fail;
14672 }
14673 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14674 return resultobj;
14675 fail:
14676 return NULL;
14677 }
14678
14679
14680 SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetVisibleColumnsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14681 PyObject *resultobj = 0;
14682 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14683 size_t result;
14684 void *argp1 = 0 ;
14685 int res1 = 0 ;
14686 PyObject *swig_obj[1] ;
14687
14688 if (!args) SWIG_fail;
14689 swig_obj[0] = args;
14690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14691 if (!SWIG_IsOK(res1)) {
14692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetVisibleColumnsEnd" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14693 }
14694 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14695 {
14696 PyThreadState* __tstate = wxPyBeginAllowThreads();
14697 result = (size_t)((wxVarHScrollHelper const *)arg1)->GetVisibleColumnsEnd();
14698 wxPyEndAllowThreads(__tstate);
14699 if (PyErr_Occurred()) SWIG_fail;
14700 }
14701 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14702 return resultobj;
14703 fail:
14704 return NULL;
14705 }
14706
14707
14708 SWIGINTERN PyObject *_wrap_VarHScrollHelper_IsColumnVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14709 PyObject *resultobj = 0;
14710 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14711 size_t arg2 ;
14712 bool result;
14713 void *argp1 = 0 ;
14714 int res1 = 0 ;
14715 size_t val2 ;
14716 int ecode2 = 0 ;
14717 PyObject * obj0 = 0 ;
14718 PyObject * obj1 = 0 ;
14719 char * kwnames[] = {
14720 (char *) "self",(char *) "column", NULL
14721 };
14722
14723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_IsColumnVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14725 if (!SWIG_IsOK(res1)) {
14726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14727 }
14728 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14729 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14730 if (!SWIG_IsOK(ecode2)) {
14731 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "2"" of type '" "size_t""'");
14732 }
14733 arg2 = static_cast< size_t >(val2);
14734 {
14735 PyThreadState* __tstate = wxPyBeginAllowThreads();
14736 result = (bool)((wxVarHScrollHelper const *)arg1)->IsColumnVisible(arg2);
14737 wxPyEndAllowThreads(__tstate);
14738 if (PyErr_Occurred()) SWIG_fail;
14739 }
14740 {
14741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14742 }
14743 return resultobj;
14744 fail:
14745 return NULL;
14746 }
14747
14748
14749 SWIGINTERN PyObject *VarHScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14750 PyObject *obj;
14751 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14752 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHScrollHelper, SWIG_NewClientData(obj));
14753 return SWIG_Py_Void();
14754 }
14755
14756 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_SetRowColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14757 PyObject *resultobj = 0;
14758 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14759 size_t arg2 ;
14760 size_t arg3 ;
14761 void *argp1 = 0 ;
14762 int res1 = 0 ;
14763 size_t val2 ;
14764 int ecode2 = 0 ;
14765 size_t val3 ;
14766 int ecode3 = 0 ;
14767 PyObject * obj0 = 0 ;
14768 PyObject * obj1 = 0 ;
14769 PyObject * obj2 = 0 ;
14770 char * kwnames[] = {
14771 (char *) "self",(char *) "rowCount",(char *) "columnCount", NULL
14772 };
14773
14774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHVScrollHelper_SetRowColumnCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
14776 if (!SWIG_IsOK(res1)) {
14777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14778 }
14779 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
14780 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14781 if (!SWIG_IsOK(ecode2)) {
14782 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "2"" of type '" "size_t""'");
14783 }
14784 arg2 = static_cast< size_t >(val2);
14785 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14786 if (!SWIG_IsOK(ecode3)) {
14787 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "3"" of type '" "size_t""'");
14788 }
14789 arg3 = static_cast< size_t >(val3);
14790 {
14791 PyThreadState* __tstate = wxPyBeginAllowThreads();
14792 (arg1)->SetRowColumnCount(arg2,arg3);
14793 wxPyEndAllowThreads(__tstate);
14794 if (PyErr_Occurred()) SWIG_fail;
14795 }
14796 resultobj = SWIG_Py_Void();
14797 return resultobj;
14798 fail:
14799 return NULL;
14800 }
14801
14802
14803 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_EnablePhysicalScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14804 PyObject *resultobj = 0;
14805 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14806 bool arg2 = (bool) true ;
14807 bool arg3 = (bool) true ;
14808 void *argp1 = 0 ;
14809 int res1 = 0 ;
14810 bool val2 ;
14811 int ecode2 = 0 ;
14812 bool val3 ;
14813 int ecode3 = 0 ;
14814 PyObject * obj0 = 0 ;
14815 PyObject * obj1 = 0 ;
14816 PyObject * obj2 = 0 ;
14817 char * kwnames[] = {
14818 (char *) "self",(char *) "vscrolling",(char *) "hscrolling", NULL
14819 };
14820
14821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:VarHVScrollHelper_EnablePhysicalScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
14823 if (!SWIG_IsOK(res1)) {
14824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14825 }
14826 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
14827 if (obj1) {
14828 ecode2 = SWIG_AsVal_bool(obj1, &val2);
14829 if (!SWIG_IsOK(ecode2)) {
14830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'");
14831 }
14832 arg2 = static_cast< bool >(val2);
14833 }
14834 if (obj2) {
14835 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14836 if (!SWIG_IsOK(ecode3)) {
14837 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "3"" of type '" "bool""'");
14838 }
14839 arg3 = static_cast< bool >(val3);
14840 }
14841 {
14842 PyThreadState* __tstate = wxPyBeginAllowThreads();
14843 (arg1)->EnablePhysicalScrolling(arg2,arg3);
14844 wxPyEndAllowThreads(__tstate);
14845 if (PyErr_Occurred()) SWIG_fail;
14846 }
14847 resultobj = SWIG_Py_Void();
14848 return resultobj;
14849 fail:
14850 return NULL;
14851 }
14852
14853
14854 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_ScrollToRowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14855 PyObject *resultobj = 0;
14856 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14857 wxPosition *arg2 = 0 ;
14858 bool result;
14859 void *argp1 = 0 ;
14860 int res1 = 0 ;
14861 void *argp2 = 0 ;
14862 int res2 = 0 ;
14863 PyObject * obj0 = 0 ;
14864 PyObject * obj1 = 0 ;
14865 char * kwnames[] = {
14866 (char *) "self",(char *) "pos", NULL
14867 };
14868
14869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_ScrollToRowColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
14871 if (!SWIG_IsOK(res1)) {
14872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14873 }
14874 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
14875 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
14876 if (!SWIG_IsOK(res2)) {
14877 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
14878 }
14879 if (!argp2) {
14880 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
14881 }
14882 arg2 = reinterpret_cast< wxPosition * >(argp2);
14883 {
14884 PyThreadState* __tstate = wxPyBeginAllowThreads();
14885 result = (bool)(arg1)->ScrollToRowColumn((wxPosition const &)*arg2);
14886 wxPyEndAllowThreads(__tstate);
14887 if (PyErr_Occurred()) SWIG_fail;
14888 }
14889 {
14890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14891 }
14892 return resultobj;
14893 fail:
14894 return NULL;
14895 }
14896
14897
14898 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_RefreshRowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14899 PyObject *resultobj = 0;
14900 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14901 wxPosition *arg2 = 0 ;
14902 void *argp1 = 0 ;
14903 int res1 = 0 ;
14904 void *argp2 = 0 ;
14905 int res2 = 0 ;
14906 PyObject * obj0 = 0 ;
14907 PyObject * obj1 = 0 ;
14908 char * kwnames[] = {
14909 (char *) "self",(char *) "pos", NULL
14910 };
14911
14912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_RefreshRowColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
14914 if (!SWIG_IsOK(res1)) {
14915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14916 }
14917 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
14918 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
14919 if (!SWIG_IsOK(res2)) {
14920 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
14921 }
14922 if (!argp2) {
14923 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
14924 }
14925 arg2 = reinterpret_cast< wxPosition * >(argp2);
14926 {
14927 PyThreadState* __tstate = wxPyBeginAllowThreads();
14928 (arg1)->RefreshRowColumn((wxPosition const &)*arg2);
14929 wxPyEndAllowThreads(__tstate);
14930 if (PyErr_Occurred()) SWIG_fail;
14931 }
14932 resultobj = SWIG_Py_Void();
14933 return resultobj;
14934 fail:
14935 return NULL;
14936 }
14937
14938
14939 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_RefreshRowsColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14940 PyObject *resultobj = 0;
14941 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14942 wxPosition *arg2 = 0 ;
14943 wxPosition *arg3 = 0 ;
14944 void *argp1 = 0 ;
14945 int res1 = 0 ;
14946 void *argp2 = 0 ;
14947 int res2 = 0 ;
14948 void *argp3 = 0 ;
14949 int res3 = 0 ;
14950 PyObject * obj0 = 0 ;
14951 PyObject * obj1 = 0 ;
14952 PyObject * obj2 = 0 ;
14953 char * kwnames[] = {
14954 (char *) "self",(char *) "from",(char *) "to", NULL
14955 };
14956
14957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHVScrollHelper_RefreshRowsColumns",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
14959 if (!SWIG_IsOK(res1)) {
14960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14961 }
14962 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
14963 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
14964 if (!SWIG_IsOK(res2)) {
14965 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'");
14966 }
14967 if (!argp2) {
14968 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'");
14969 }
14970 arg2 = reinterpret_cast< wxPosition * >(argp2);
14971 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPosition, 0 | 0);
14972 if (!SWIG_IsOK(res3)) {
14973 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'");
14974 }
14975 if (!argp3) {
14976 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'");
14977 }
14978 arg3 = reinterpret_cast< wxPosition * >(argp3);
14979 {
14980 PyThreadState* __tstate = wxPyBeginAllowThreads();
14981 (arg1)->RefreshRowsColumns((wxPosition const &)*arg2,(wxPosition const &)*arg3);
14982 wxPyEndAllowThreads(__tstate);
14983 if (PyErr_Occurred()) SWIG_fail;
14984 }
14985 resultobj = SWIG_Py_Void();
14986 return resultobj;
14987 fail:
14988 return NULL;
14989 }
14990
14991
14992 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14993 PyObject *resultobj = 0;
14994 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14995 wxPoint *arg2 = 0 ;
14996 wxPosition result;
14997 void *argp1 = 0 ;
14998 int res1 = 0 ;
14999 wxPoint temp2 ;
15000 PyObject * obj0 = 0 ;
15001 PyObject * obj1 = 0 ;
15002 char * kwnames[] = {
15003 (char *) "self",(char *) "pos", NULL
15004 };
15005
15006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
15007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15008 if (!SWIG_IsOK(res1)) {
15009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_HitTest" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15010 }
15011 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15012 {
15013 arg2 = &temp2;
15014 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15015 }
15016 {
15017 PyThreadState* __tstate = wxPyBeginAllowThreads();
15018 result = ((wxVarHVScrollHelper const *)arg1)->HitTest((wxPoint const &)*arg2);
15019 wxPyEndAllowThreads(__tstate);
15020 if (PyErr_Occurred()) SWIG_fail;
15021 }
15022 resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 );
15023 return resultobj;
15024 fail:
15025 return NULL;
15026 }
15027
15028
15029 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_ScrollLayout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15030 PyObject *resultobj = 0;
15031 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15032 bool result;
15033 void *argp1 = 0 ;
15034 int res1 = 0 ;
15035 PyObject *swig_obj[1] ;
15036
15037 if (!args) SWIG_fail;
15038 swig_obj[0] = args;
15039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15040 if (!SWIG_IsOK(res1)) {
15041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_ScrollLayout" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15042 }
15043 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15044 {
15045 PyThreadState* __tstate = wxPyBeginAllowThreads();
15046 result = (bool)(arg1)->ScrollLayout();
15047 wxPyEndAllowThreads(__tstate);
15048 if (PyErr_Occurred()) SWIG_fail;
15049 }
15050 {
15051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15052 }
15053 return resultobj;
15054 fail:
15055 return NULL;
15056 }
15057
15058
15059 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetRowColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15060 PyObject *resultobj = 0;
15061 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15062 wxSize result;
15063 void *argp1 = 0 ;
15064 int res1 = 0 ;
15065 PyObject *swig_obj[1] ;
15066
15067 if (!args) SWIG_fail;
15068 swig_obj[0] = args;
15069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15070 if (!SWIG_IsOK(res1)) {
15071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15072 }
15073 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15074 {
15075 PyThreadState* __tstate = wxPyBeginAllowThreads();
15076 result = ((wxVarHVScrollHelper const *)arg1)->GetRowColumnCount();
15077 wxPyEndAllowThreads(__tstate);
15078 if (PyErr_Occurred()) SWIG_fail;
15079 }
15080 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
15081 return resultobj;
15082 fail:
15083 return NULL;
15084 }
15085
15086
15087 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15088 PyObject *resultobj = 0;
15089 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15090 wxPosition result;
15091 void *argp1 = 0 ;
15092 int res1 = 0 ;
15093 PyObject *swig_obj[1] ;
15094
15095 if (!args) SWIG_fail;
15096 swig_obj[0] = args;
15097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15098 if (!SWIG_IsOK(res1)) {
15099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15100 }
15101 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15102 {
15103 PyThreadState* __tstate = wxPyBeginAllowThreads();
15104 result = ((wxVarHVScrollHelper const *)arg1)->GetVisibleBegin();
15105 wxPyEndAllowThreads(__tstate);
15106 if (PyErr_Occurred()) SWIG_fail;
15107 }
15108 resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 );
15109 return resultobj;
15110 fail:
15111 return NULL;
15112 }
15113
15114
15115 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15116 PyObject *resultobj = 0;
15117 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15118 wxPosition result;
15119 void *argp1 = 0 ;
15120 int res1 = 0 ;
15121 PyObject *swig_obj[1] ;
15122
15123 if (!args) SWIG_fail;
15124 swig_obj[0] = args;
15125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15126 if (!SWIG_IsOK(res1)) {
15127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15128 }
15129 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15130 {
15131 PyThreadState* __tstate = wxPyBeginAllowThreads();
15132 result = ((wxVarHVScrollHelper const *)arg1)->GetVisibleEnd();
15133 wxPyEndAllowThreads(__tstate);
15134 if (PyErr_Occurred()) SWIG_fail;
15135 }
15136 resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 );
15137 return resultobj;
15138 fail:
15139 return NULL;
15140 }
15141
15142
15143 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15144 PyObject *resultobj = 0;
15145 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15146 wxPosition *arg2 = 0 ;
15147 bool result;
15148 void *argp1 = 0 ;
15149 int res1 = 0 ;
15150 void *argp2 = 0 ;
15151 int res2 = 0 ;
15152 PyObject * obj0 = 0 ;
15153 PyObject * obj1 = 0 ;
15154 char * kwnames[] = {
15155 (char *) "self",(char *) "pos", NULL
15156 };
15157
15158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
15159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15160 if (!SWIG_IsOK(res1)) {
15161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15162 }
15163 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15164 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
15165 if (!SWIG_IsOK(res2)) {
15166 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'");
15167 }
15168 if (!argp2) {
15169 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'");
15170 }
15171 arg2 = reinterpret_cast< wxPosition * >(argp2);
15172 {
15173 PyThreadState* __tstate = wxPyBeginAllowThreads();
15174 result = (bool)((wxVarHVScrollHelper const *)arg1)->IsVisible((wxPosition const &)*arg2);
15175 wxPyEndAllowThreads(__tstate);
15176 if (PyErr_Occurred()) SWIG_fail;
15177 }
15178 {
15179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15180 }
15181 return resultobj;
15182 fail:
15183 return NULL;
15184 }
15185
15186
15187 SWIGINTERN PyObject *VarHVScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15188 PyObject *obj;
15189 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15190 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHVScrollHelper, SWIG_NewClientData(obj));
15191 return SWIG_Py_Void();
15192 }
15193
15194 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15195 PyObject *resultobj = 0;
15196 wxWindow *arg1 = (wxWindow *) 0 ;
15197 int arg2 = (int) wxID_ANY ;
15198 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15199 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15200 wxSize const &arg4_defvalue = wxDefaultSize ;
15201 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15202 long arg5 = (long) 0 ;
15203 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15204 wxString *arg6 = (wxString *) &arg6_defvalue ;
15205 wxPyVScrolledWindow *result = 0 ;
15206 void *argp1 = 0 ;
15207 int res1 = 0 ;
15208 int val2 ;
15209 int ecode2 = 0 ;
15210 wxPoint temp3 ;
15211 wxSize temp4 ;
15212 long val5 ;
15213 int ecode5 = 0 ;
15214 bool temp6 = false ;
15215 PyObject * obj0 = 0 ;
15216 PyObject * obj1 = 0 ;
15217 PyObject * obj2 = 0 ;
15218 PyObject * obj3 = 0 ;
15219 PyObject * obj4 = 0 ;
15220 PyObject * obj5 = 0 ;
15221 char * kwnames[] = {
15222 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15223 };
15224
15225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15227 if (!SWIG_IsOK(res1)) {
15228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15229 }
15230 arg1 = reinterpret_cast< wxWindow * >(argp1);
15231 if (obj1) {
15232 ecode2 = SWIG_AsVal_int(obj1, &val2);
15233 if (!SWIG_IsOK(ecode2)) {
15234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15235 }
15236 arg2 = static_cast< int >(val2);
15237 }
15238 if (obj2) {
15239 {
15240 arg3 = &temp3;
15241 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15242 }
15243 }
15244 if (obj3) {
15245 {
15246 arg4 = &temp4;
15247 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15248 }
15249 }
15250 if (obj4) {
15251 ecode5 = SWIG_AsVal_long(obj4, &val5);
15252 if (!SWIG_IsOK(ecode5)) {
15253 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15254 }
15255 arg5 = static_cast< long >(val5);
15256 }
15257 if (obj5) {
15258 {
15259 arg6 = wxString_in_helper(obj5);
15260 if (arg6 == NULL) SWIG_fail;
15261 temp6 = true;
15262 }
15263 }
15264 {
15265 if (!wxPyCheckForApp()) SWIG_fail;
15266 PyThreadState* __tstate = wxPyBeginAllowThreads();
15267 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15268 wxPyEndAllowThreads(__tstate);
15269 if (PyErr_Occurred()) SWIG_fail;
15270 }
15271 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
15272 {
15273 if (temp6)
15274 delete arg6;
15275 }
15276 return resultobj;
15277 fail:
15278 {
15279 if (temp6)
15280 delete arg6;
15281 }
15282 return NULL;
15283 }
15284
15285
15286 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15287 PyObject *resultobj = 0;
15288 wxPyVScrolledWindow *result = 0 ;
15289
15290 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
15291 {
15292 if (!wxPyCheckForApp()) SWIG_fail;
15293 PyThreadState* __tstate = wxPyBeginAllowThreads();
15294 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
15295 wxPyEndAllowThreads(__tstate);
15296 if (PyErr_Occurred()) SWIG_fail;
15297 }
15298 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
15299 return resultobj;
15300 fail:
15301 return NULL;
15302 }
15303
15304
15305 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15306 PyObject *resultobj = 0;
15307 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15308 PyObject *arg2 = (PyObject *) 0 ;
15309 PyObject *arg3 = (PyObject *) 0 ;
15310 void *argp1 = 0 ;
15311 int res1 = 0 ;
15312 PyObject * obj0 = 0 ;
15313 PyObject * obj1 = 0 ;
15314 PyObject * obj2 = 0 ;
15315 char * kwnames[] = {
15316 (char *) "self",(char *) "self",(char *) "_class", NULL
15317 };
15318
15319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15321 if (!SWIG_IsOK(res1)) {
15322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
15323 }
15324 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15325 arg2 = obj1;
15326 arg3 = obj2;
15327 {
15328 PyThreadState* __tstate = wxPyBeginAllowThreads();
15329 (arg1)->_setCallbackInfo(arg2,arg3);
15330 wxPyEndAllowThreads(__tstate);
15331 if (PyErr_Occurred()) SWIG_fail;
15332 }
15333 resultobj = SWIG_Py_Void();
15334 return resultobj;
15335 fail:
15336 return NULL;
15337 }
15338
15339
15340 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15341 PyObject *resultobj = 0;
15342 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15343 wxWindow *arg2 = (wxWindow *) 0 ;
15344 int arg3 = (int) wxID_ANY ;
15345 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15346 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15347 wxSize const &arg5_defvalue = wxDefaultSize ;
15348 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15349 long arg6 = (long) 0 ;
15350 wxString const &arg7_defvalue = wxPyPanelNameStr ;
15351 wxString *arg7 = (wxString *) &arg7_defvalue ;
15352 bool result;
15353 void *argp1 = 0 ;
15354 int res1 = 0 ;
15355 void *argp2 = 0 ;
15356 int res2 = 0 ;
15357 int val3 ;
15358 int ecode3 = 0 ;
15359 wxPoint temp4 ;
15360 wxSize temp5 ;
15361 long val6 ;
15362 int ecode6 = 0 ;
15363 bool temp7 = false ;
15364 PyObject * obj0 = 0 ;
15365 PyObject * obj1 = 0 ;
15366 PyObject * obj2 = 0 ;
15367 PyObject * obj3 = 0 ;
15368 PyObject * obj4 = 0 ;
15369 PyObject * obj5 = 0 ;
15370 PyObject * obj6 = 0 ;
15371 char * kwnames[] = {
15372 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15373 };
15374
15375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15377 if (!SWIG_IsOK(res1)) {
15378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
15379 }
15380 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15381 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15382 if (!SWIG_IsOK(res2)) {
15383 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15384 }
15385 arg2 = reinterpret_cast< wxWindow * >(argp2);
15386 if (obj2) {
15387 ecode3 = SWIG_AsVal_int(obj2, &val3);
15388 if (!SWIG_IsOK(ecode3)) {
15389 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
15390 }
15391 arg3 = static_cast< int >(val3);
15392 }
15393 if (obj3) {
15394 {
15395 arg4 = &temp4;
15396 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15397 }
15398 }
15399 if (obj4) {
15400 {
15401 arg5 = &temp5;
15402 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15403 }
15404 }
15405 if (obj5) {
15406 ecode6 = SWIG_AsVal_long(obj5, &val6);
15407 if (!SWIG_IsOK(ecode6)) {
15408 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
15409 }
15410 arg6 = static_cast< long >(val6);
15411 }
15412 if (obj6) {
15413 {
15414 arg7 = wxString_in_helper(obj6);
15415 if (arg7 == NULL) SWIG_fail;
15416 temp7 = true;
15417 }
15418 }
15419 {
15420 PyThreadState* __tstate = wxPyBeginAllowThreads();
15421 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15422 wxPyEndAllowThreads(__tstate);
15423 if (PyErr_Occurred()) SWIG_fail;
15424 }
15425 {
15426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15427 }
15428 {
15429 if (temp7)
15430 delete arg7;
15431 }
15432 return resultobj;
15433 fail:
15434 {
15435 if (temp7)
15436 delete arg7;
15437 }
15438 return NULL;
15439 }
15440
15441
15442 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetRowsHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15443 PyObject *resultobj = 0;
15444 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15445 size_t arg2 ;
15446 size_t arg3 ;
15447 int result;
15448 void *argp1 = 0 ;
15449 int res1 = 0 ;
15450 size_t val2 ;
15451 int ecode2 = 0 ;
15452 size_t val3 ;
15453 int ecode3 = 0 ;
15454 PyObject * obj0 = 0 ;
15455 PyObject * obj1 = 0 ;
15456 PyObject * obj2 = 0 ;
15457 char * kwnames[] = {
15458 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
15459 };
15460
15461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetRowsHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15463 if (!SWIG_IsOK(res1)) {
15464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15465 }
15466 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15467 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15468 if (!SWIG_IsOK(ecode2)) {
15469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'");
15470 }
15471 arg2 = static_cast< size_t >(val2);
15472 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15473 if (!SWIG_IsOK(ecode3)) {
15474 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'");
15475 }
15476 arg3 = static_cast< size_t >(val3);
15477 {
15478 PyThreadState* __tstate = wxPyBeginAllowThreads();
15479 result = (int)((wxPyVScrolledWindow const *)arg1)->GetRowsHeight(arg2,arg3);
15480 wxPyEndAllowThreads(__tstate);
15481 if (PyErr_Occurred()) SWIG_fail;
15482 }
15483 resultobj = SWIG_From_int(static_cast< int >(result));
15484 return resultobj;
15485 fail:
15486 return NULL;
15487 }
15488
15489
15490 SWIGINTERN PyObject *_wrap_VScrolledWindow_EstimateTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15491 PyObject *resultobj = 0;
15492 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15493 int result;
15494 void *argp1 = 0 ;
15495 int res1 = 0 ;
15496 PyObject *swig_obj[1] ;
15497
15498 if (!args) SWIG_fail;
15499 swig_obj[0] = args;
15500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15501 if (!SWIG_IsOK(res1)) {
15502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15503 }
15504 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15505 {
15506 PyThreadState* __tstate = wxPyBeginAllowThreads();
15507 result = (int)((wxPyVScrolledWindow const *)arg1)->EstimateTotalHeight();
15508 wxPyEndAllowThreads(__tstate);
15509 if (PyErr_Occurred()) SWIG_fail;
15510 }
15511 resultobj = SWIG_From_int(static_cast< int >(result));
15512 return resultobj;
15513 fail:
15514 return NULL;
15515 }
15516
15517
15518 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15519 PyObject *resultobj = 0;
15520 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15521 wxPoint *arg2 = 0 ;
15522 int result;
15523 void *argp1 = 0 ;
15524 int res1 = 0 ;
15525 wxPoint temp2 ;
15526 PyObject * obj0 = 0 ;
15527 PyObject * obj1 = 0 ;
15528 char * kwnames[] = {
15529 (char *) "self",(char *) "pt", NULL
15530 };
15531
15532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
15533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15534 if (!SWIG_IsOK(res1)) {
15535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15536 }
15537 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15538 {
15539 arg2 = &temp2;
15540 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15541 }
15542 {
15543 PyThreadState* __tstate = wxPyBeginAllowThreads();
15544 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
15545 wxPyEndAllowThreads(__tstate);
15546 if (PyErr_Occurred()) SWIG_fail;
15547 }
15548 resultobj = SWIG_From_int(static_cast< int >(result));
15549 return resultobj;
15550 fail:
15551 return NULL;
15552 }
15553
15554
15555 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15556 PyObject *obj;
15557 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15558 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
15559 return SWIG_Py_Void();
15560 }
15561
15562 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15563 return SWIG_Python_InitShadowInstance(args);
15564 }
15565
15566 SWIGINTERN PyObject *_wrap_new_HScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15567 PyObject *resultobj = 0;
15568 wxWindow *arg1 = (wxWindow *) 0 ;
15569 int arg2 = (int) wxID_ANY ;
15570 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15571 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15572 wxSize const &arg4_defvalue = wxDefaultSize ;
15573 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15574 long arg5 = (long) 0 ;
15575 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15576 wxString *arg6 = (wxString *) &arg6_defvalue ;
15577 wxPyHScrolledWindow *result = 0 ;
15578 void *argp1 = 0 ;
15579 int res1 = 0 ;
15580 int val2 ;
15581 int ecode2 = 0 ;
15582 wxPoint temp3 ;
15583 wxSize temp4 ;
15584 long val5 ;
15585 int ecode5 = 0 ;
15586 bool temp6 = false ;
15587 PyObject * obj0 = 0 ;
15588 PyObject * obj1 = 0 ;
15589 PyObject * obj2 = 0 ;
15590 PyObject * obj3 = 0 ;
15591 PyObject * obj4 = 0 ;
15592 PyObject * obj5 = 0 ;
15593 char * kwnames[] = {
15594 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15595 };
15596
15597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15599 if (!SWIG_IsOK(res1)) {
15600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15601 }
15602 arg1 = reinterpret_cast< wxWindow * >(argp1);
15603 if (obj1) {
15604 ecode2 = SWIG_AsVal_int(obj1, &val2);
15605 if (!SWIG_IsOK(ecode2)) {
15606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15607 }
15608 arg2 = static_cast< int >(val2);
15609 }
15610 if (obj2) {
15611 {
15612 arg3 = &temp3;
15613 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15614 }
15615 }
15616 if (obj3) {
15617 {
15618 arg4 = &temp4;
15619 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15620 }
15621 }
15622 if (obj4) {
15623 ecode5 = SWIG_AsVal_long(obj4, &val5);
15624 if (!SWIG_IsOK(ecode5)) {
15625 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15626 }
15627 arg5 = static_cast< long >(val5);
15628 }
15629 if (obj5) {
15630 {
15631 arg6 = wxString_in_helper(obj5);
15632 if (arg6 == NULL) SWIG_fail;
15633 temp6 = true;
15634 }
15635 }
15636 {
15637 if (!wxPyCheckForApp()) SWIG_fail;
15638 PyThreadState* __tstate = wxPyBeginAllowThreads();
15639 result = (wxPyHScrolledWindow *)new wxPyHScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15640 wxPyEndAllowThreads(__tstate);
15641 if (PyErr_Occurred()) SWIG_fail;
15642 }
15643 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHScrolledWindow, SWIG_POINTER_NEW | 0 );
15644 {
15645 if (temp6)
15646 delete arg6;
15647 }
15648 return resultobj;
15649 fail:
15650 {
15651 if (temp6)
15652 delete arg6;
15653 }
15654 return NULL;
15655 }
15656
15657
15658 SWIGINTERN PyObject *_wrap_new_PreHScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15659 PyObject *resultobj = 0;
15660 wxPyHScrolledWindow *result = 0 ;
15661
15662 if (!SWIG_Python_UnpackTuple(args,"new_PreHScrolledWindow",0,0,0)) SWIG_fail;
15663 {
15664 if (!wxPyCheckForApp()) SWIG_fail;
15665 PyThreadState* __tstate = wxPyBeginAllowThreads();
15666 result = (wxPyHScrolledWindow *)new wxPyHScrolledWindow();
15667 wxPyEndAllowThreads(__tstate);
15668 if (PyErr_Occurred()) SWIG_fail;
15669 }
15670 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHScrolledWindow, SWIG_POINTER_OWN | 0 );
15671 return resultobj;
15672 fail:
15673 return NULL;
15674 }
15675
15676
15677 SWIGINTERN PyObject *_wrap_HScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15678 PyObject *resultobj = 0;
15679 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15680 PyObject *arg2 = (PyObject *) 0 ;
15681 PyObject *arg3 = (PyObject *) 0 ;
15682 void *argp1 = 0 ;
15683 int res1 = 0 ;
15684 PyObject * obj0 = 0 ;
15685 PyObject * obj1 = 0 ;
15686 PyObject * obj2 = 0 ;
15687 char * kwnames[] = {
15688 (char *) "self",(char *) "self",(char *) "_class", NULL
15689 };
15690
15691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
15693 if (!SWIG_IsOK(res1)) {
15694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'");
15695 }
15696 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
15697 arg2 = obj1;
15698 arg3 = obj2;
15699 {
15700 PyThreadState* __tstate = wxPyBeginAllowThreads();
15701 (arg1)->_setCallbackInfo(arg2,arg3);
15702 wxPyEndAllowThreads(__tstate);
15703 if (PyErr_Occurred()) SWIG_fail;
15704 }
15705 resultobj = SWIG_Py_Void();
15706 return resultobj;
15707 fail:
15708 return NULL;
15709 }
15710
15711
15712 SWIGINTERN PyObject *_wrap_HScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15713 PyObject *resultobj = 0;
15714 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15715 wxWindow *arg2 = (wxWindow *) 0 ;
15716 int arg3 = (int) wxID_ANY ;
15717 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15718 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15719 wxSize const &arg5_defvalue = wxDefaultSize ;
15720 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15721 long arg6 = (long) 0 ;
15722 wxString const &arg7_defvalue = wxPyPanelNameStr ;
15723 wxString *arg7 = (wxString *) &arg7_defvalue ;
15724 bool result;
15725 void *argp1 = 0 ;
15726 int res1 = 0 ;
15727 void *argp2 = 0 ;
15728 int res2 = 0 ;
15729 int val3 ;
15730 int ecode3 = 0 ;
15731 wxPoint temp4 ;
15732 wxSize temp5 ;
15733 long val6 ;
15734 int ecode6 = 0 ;
15735 bool temp7 = false ;
15736 PyObject * obj0 = 0 ;
15737 PyObject * obj1 = 0 ;
15738 PyObject * obj2 = 0 ;
15739 PyObject * obj3 = 0 ;
15740 PyObject * obj4 = 0 ;
15741 PyObject * obj5 = 0 ;
15742 PyObject * obj6 = 0 ;
15743 char * kwnames[] = {
15744 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15745 };
15746
15747 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15748 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
15749 if (!SWIG_IsOK(res1)) {
15750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'");
15751 }
15752 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
15753 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15754 if (!SWIG_IsOK(res2)) {
15755 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15756 }
15757 arg2 = reinterpret_cast< wxWindow * >(argp2);
15758 if (obj2) {
15759 ecode3 = SWIG_AsVal_int(obj2, &val3);
15760 if (!SWIG_IsOK(ecode3)) {
15761 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
15762 }
15763 arg3 = static_cast< int >(val3);
15764 }
15765 if (obj3) {
15766 {
15767 arg4 = &temp4;
15768 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15769 }
15770 }
15771 if (obj4) {
15772 {
15773 arg5 = &temp5;
15774 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15775 }
15776 }
15777 if (obj5) {
15778 ecode6 = SWIG_AsVal_long(obj5, &val6);
15779 if (!SWIG_IsOK(ecode6)) {
15780 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
15781 }
15782 arg6 = static_cast< long >(val6);
15783 }
15784 if (obj6) {
15785 {
15786 arg7 = wxString_in_helper(obj6);
15787 if (arg7 == NULL) SWIG_fail;
15788 temp7 = true;
15789 }
15790 }
15791 {
15792 PyThreadState* __tstate = wxPyBeginAllowThreads();
15793 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15794 wxPyEndAllowThreads(__tstate);
15795 if (PyErr_Occurred()) SWIG_fail;
15796 }
15797 {
15798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15799 }
15800 {
15801 if (temp7)
15802 delete arg7;
15803 }
15804 return resultobj;
15805 fail:
15806 {
15807 if (temp7)
15808 delete arg7;
15809 }
15810 return NULL;
15811 }
15812
15813
15814 SWIGINTERN PyObject *_wrap_HScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15815 PyObject *resultobj = 0;
15816 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15817 wxPoint *arg2 = 0 ;
15818 int result;
15819 void *argp1 = 0 ;
15820 int res1 = 0 ;
15821 wxPoint temp2 ;
15822 PyObject * obj0 = 0 ;
15823 PyObject * obj1 = 0 ;
15824 char * kwnames[] = {
15825 (char *) "self",(char *) "pt", NULL
15826 };
15827
15828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
15829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
15830 if (!SWIG_IsOK(res1)) {
15831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
15832 }
15833 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
15834 {
15835 arg2 = &temp2;
15836 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15837 }
15838 {
15839 PyThreadState* __tstate = wxPyBeginAllowThreads();
15840 result = (int)((wxPyHScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
15841 wxPyEndAllowThreads(__tstate);
15842 if (PyErr_Occurred()) SWIG_fail;
15843 }
15844 resultobj = SWIG_From_int(static_cast< int >(result));
15845 return resultobj;
15846 fail:
15847 return NULL;
15848 }
15849
15850
15851 SWIGINTERN PyObject *_wrap_HScrolledWindow_GetColumnsWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15852 PyObject *resultobj = 0;
15853 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15854 size_t arg2 ;
15855 size_t arg3 ;
15856 int result;
15857 void *argp1 = 0 ;
15858 int res1 = 0 ;
15859 size_t val2 ;
15860 int ecode2 = 0 ;
15861 size_t val3 ;
15862 int ecode3 = 0 ;
15863 PyObject * obj0 = 0 ;
15864 PyObject * obj1 = 0 ;
15865 PyObject * obj2 = 0 ;
15866 char * kwnames[] = {
15867 (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL
15868 };
15869
15870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HScrolledWindow_GetColumnsWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
15872 if (!SWIG_IsOK(res1)) {
15873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
15874 }
15875 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
15876 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15877 if (!SWIG_IsOK(ecode2)) {
15878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'");
15879 }
15880 arg2 = static_cast< size_t >(val2);
15881 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15882 if (!SWIG_IsOK(ecode3)) {
15883 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'");
15884 }
15885 arg3 = static_cast< size_t >(val3);
15886 {
15887 PyThreadState* __tstate = wxPyBeginAllowThreads();
15888 result = (int)((wxPyHScrolledWindow const *)arg1)->GetColumnsWidth(arg2,arg3);
15889 wxPyEndAllowThreads(__tstate);
15890 if (PyErr_Occurred()) SWIG_fail;
15891 }
15892 resultobj = SWIG_From_int(static_cast< int >(result));
15893 return resultobj;
15894 fail:
15895 return NULL;
15896 }
15897
15898
15899 SWIGINTERN PyObject *_wrap_HScrolledWindow_EstimateTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15900 PyObject *resultobj = 0;
15901 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15902 int result;
15903 void *argp1 = 0 ;
15904 int res1 = 0 ;
15905 PyObject *swig_obj[1] ;
15906
15907 if (!args) SWIG_fail;
15908 swig_obj[0] = args;
15909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
15910 if (!SWIG_IsOK(res1)) {
15911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
15912 }
15913 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
15914 {
15915 PyThreadState* __tstate = wxPyBeginAllowThreads();
15916 result = (int)((wxPyHScrolledWindow const *)arg1)->EstimateTotalWidth();
15917 wxPyEndAllowThreads(__tstate);
15918 if (PyErr_Occurred()) SWIG_fail;
15919 }
15920 resultobj = SWIG_From_int(static_cast< int >(result));
15921 return resultobj;
15922 fail:
15923 return NULL;
15924 }
15925
15926
15927 SWIGINTERN PyObject *HScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15928 PyObject *obj;
15929 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15930 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHScrolledWindow, SWIG_NewClientData(obj));
15931 return SWIG_Py_Void();
15932 }
15933
15934 SWIGINTERN PyObject *HScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15935 return SWIG_Python_InitShadowInstance(args);
15936 }
15937
15938 SWIGINTERN PyObject *_wrap_new_HVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15939 PyObject *resultobj = 0;
15940 wxWindow *arg1 = (wxWindow *) 0 ;
15941 int arg2 = (int) wxID_ANY ;
15942 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15943 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15944 wxSize const &arg4_defvalue = wxDefaultSize ;
15945 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15946 long arg5 = (long) 0 ;
15947 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15948 wxString *arg6 = (wxString *) &arg6_defvalue ;
15949 wxPyHVScrolledWindow *result = 0 ;
15950 void *argp1 = 0 ;
15951 int res1 = 0 ;
15952 int val2 ;
15953 int ecode2 = 0 ;
15954 wxPoint temp3 ;
15955 wxSize temp4 ;
15956 long val5 ;
15957 int ecode5 = 0 ;
15958 bool temp6 = false ;
15959 PyObject * obj0 = 0 ;
15960 PyObject * obj1 = 0 ;
15961 PyObject * obj2 = 0 ;
15962 PyObject * obj3 = 0 ;
15963 PyObject * obj4 = 0 ;
15964 PyObject * obj5 = 0 ;
15965 char * kwnames[] = {
15966 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15967 };
15968
15969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HVScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15971 if (!SWIG_IsOK(res1)) {
15972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HVScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15973 }
15974 arg1 = reinterpret_cast< wxWindow * >(argp1);
15975 if (obj1) {
15976 ecode2 = SWIG_AsVal_int(obj1, &val2);
15977 if (!SWIG_IsOK(ecode2)) {
15978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HVScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15979 }
15980 arg2 = static_cast< int >(val2);
15981 }
15982 if (obj2) {
15983 {
15984 arg3 = &temp3;
15985 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15986 }
15987 }
15988 if (obj3) {
15989 {
15990 arg4 = &temp4;
15991 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15992 }
15993 }
15994 if (obj4) {
15995 ecode5 = SWIG_AsVal_long(obj4, &val5);
15996 if (!SWIG_IsOK(ecode5)) {
15997 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HVScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15998 }
15999 arg5 = static_cast< long >(val5);
16000 }
16001 if (obj5) {
16002 {
16003 arg6 = wxString_in_helper(obj5);
16004 if (arg6 == NULL) SWIG_fail;
16005 temp6 = true;
16006 }
16007 }
16008 {
16009 if (!wxPyCheckForApp()) SWIG_fail;
16010 PyThreadState* __tstate = wxPyBeginAllowThreads();
16011 result = (wxPyHVScrolledWindow *)new wxPyHVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16012 wxPyEndAllowThreads(__tstate);
16013 if (PyErr_Occurred()) SWIG_fail;
16014 }
16015 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_POINTER_NEW | 0 );
16016 {
16017 if (temp6)
16018 delete arg6;
16019 }
16020 return resultobj;
16021 fail:
16022 {
16023 if (temp6)
16024 delete arg6;
16025 }
16026 return NULL;
16027 }
16028
16029
16030 SWIGINTERN PyObject *_wrap_new_PreHVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16031 PyObject *resultobj = 0;
16032 wxPyHVScrolledWindow *result = 0 ;
16033
16034 if (!SWIG_Python_UnpackTuple(args,"new_PreHVScrolledWindow",0,0,0)) SWIG_fail;
16035 {
16036 if (!wxPyCheckForApp()) SWIG_fail;
16037 PyThreadState* __tstate = wxPyBeginAllowThreads();
16038 result = (wxPyHVScrolledWindow *)new wxPyHVScrolledWindow();
16039 wxPyEndAllowThreads(__tstate);
16040 if (PyErr_Occurred()) SWIG_fail;
16041 }
16042 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_POINTER_OWN | 0 );
16043 return resultobj;
16044 fail:
16045 return NULL;
16046 }
16047
16048
16049 SWIGINTERN PyObject *_wrap_HVScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16050 PyObject *resultobj = 0;
16051 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16052 PyObject *arg2 = (PyObject *) 0 ;
16053 PyObject *arg3 = (PyObject *) 0 ;
16054 void *argp1 = 0 ;
16055 int res1 = 0 ;
16056 PyObject * obj0 = 0 ;
16057 PyObject * obj1 = 0 ;
16058 PyObject * obj2 = 0 ;
16059 char * kwnames[] = {
16060 (char *) "self",(char *) "self",(char *) "_class", NULL
16061 };
16062
16063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16065 if (!SWIG_IsOK(res1)) {
16066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'");
16067 }
16068 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16069 arg2 = obj1;
16070 arg3 = obj2;
16071 {
16072 PyThreadState* __tstate = wxPyBeginAllowThreads();
16073 (arg1)->_setCallbackInfo(arg2,arg3);
16074 wxPyEndAllowThreads(__tstate);
16075 if (PyErr_Occurred()) SWIG_fail;
16076 }
16077 resultobj = SWIG_Py_Void();
16078 return resultobj;
16079 fail:
16080 return NULL;
16081 }
16082
16083
16084 SWIGINTERN PyObject *_wrap_HVScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16085 PyObject *resultobj = 0;
16086 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16087 wxWindow *arg2 = (wxWindow *) 0 ;
16088 int arg3 = (int) wxID_ANY ;
16089 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16090 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16091 wxSize const &arg5_defvalue = wxDefaultSize ;
16092 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16093 long arg6 = (long) 0 ;
16094 wxString const &arg7_defvalue = wxPyPanelNameStr ;
16095 wxString *arg7 = (wxString *) &arg7_defvalue ;
16096 bool result;
16097 void *argp1 = 0 ;
16098 int res1 = 0 ;
16099 void *argp2 = 0 ;
16100 int res2 = 0 ;
16101 int val3 ;
16102 int ecode3 = 0 ;
16103 wxPoint temp4 ;
16104 wxSize temp5 ;
16105 long val6 ;
16106 int ecode6 = 0 ;
16107 bool temp7 = false ;
16108 PyObject * obj0 = 0 ;
16109 PyObject * obj1 = 0 ;
16110 PyObject * obj2 = 0 ;
16111 PyObject * obj3 = 0 ;
16112 PyObject * obj4 = 0 ;
16113 PyObject * obj5 = 0 ;
16114 PyObject * obj6 = 0 ;
16115 char * kwnames[] = {
16116 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16117 };
16118
16119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HVScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16121 if (!SWIG_IsOK(res1)) {
16122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'");
16123 }
16124 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16125 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16126 if (!SWIG_IsOK(res2)) {
16127 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HVScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16128 }
16129 arg2 = reinterpret_cast< wxWindow * >(argp2);
16130 if (obj2) {
16131 ecode3 = SWIG_AsVal_int(obj2, &val3);
16132 if (!SWIG_IsOK(ecode3)) {
16133 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
16134 }
16135 arg3 = static_cast< int >(val3);
16136 }
16137 if (obj3) {
16138 {
16139 arg4 = &temp4;
16140 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16141 }
16142 }
16143 if (obj4) {
16144 {
16145 arg5 = &temp5;
16146 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16147 }
16148 }
16149 if (obj5) {
16150 ecode6 = SWIG_AsVal_long(obj5, &val6);
16151 if (!SWIG_IsOK(ecode6)) {
16152 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HVScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
16153 }
16154 arg6 = static_cast< long >(val6);
16155 }
16156 if (obj6) {
16157 {
16158 arg7 = wxString_in_helper(obj6);
16159 if (arg7 == NULL) SWIG_fail;
16160 temp7 = true;
16161 }
16162 }
16163 {
16164 PyThreadState* __tstate = wxPyBeginAllowThreads();
16165 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16166 wxPyEndAllowThreads(__tstate);
16167 if (PyErr_Occurred()) SWIG_fail;
16168 }
16169 {
16170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16171 }
16172 {
16173 if (temp7)
16174 delete arg7;
16175 }
16176 return resultobj;
16177 fail:
16178 {
16179 if (temp7)
16180 delete arg7;
16181 }
16182 return NULL;
16183 }
16184
16185
16186 SWIGINTERN PyObject *_wrap_HVScrolledWindow_GetRowsHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16187 PyObject *resultobj = 0;
16188 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16189 size_t arg2 ;
16190 size_t arg3 ;
16191 int result;
16192 void *argp1 = 0 ;
16193 int res1 = 0 ;
16194 size_t val2 ;
16195 int ecode2 = 0 ;
16196 size_t val3 ;
16197 int ecode3 = 0 ;
16198 PyObject * obj0 = 0 ;
16199 PyObject * obj1 = 0 ;
16200 PyObject * obj2 = 0 ;
16201 char * kwnames[] = {
16202 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
16203 };
16204
16205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow_GetRowsHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16207 if (!SWIG_IsOK(res1)) {
16208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16209 }
16210 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16211 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16212 if (!SWIG_IsOK(ecode2)) {
16213 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'");
16214 }
16215 arg2 = static_cast< size_t >(val2);
16216 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
16217 if (!SWIG_IsOK(ecode3)) {
16218 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'");
16219 }
16220 arg3 = static_cast< size_t >(val3);
16221 {
16222 PyThreadState* __tstate = wxPyBeginAllowThreads();
16223 result = (int)((wxPyHVScrolledWindow const *)arg1)->GetRowsHeight(arg2,arg3);
16224 wxPyEndAllowThreads(__tstate);
16225 if (PyErr_Occurred()) SWIG_fail;
16226 }
16227 resultobj = SWIG_From_int(static_cast< int >(result));
16228 return resultobj;
16229 fail:
16230 return NULL;
16231 }
16232
16233
16234 SWIGINTERN PyObject *_wrap_HVScrolledWindow_EstimateTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16235 PyObject *resultobj = 0;
16236 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16237 int result;
16238 void *argp1 = 0 ;
16239 int res1 = 0 ;
16240 PyObject *swig_obj[1] ;
16241
16242 if (!args) SWIG_fail;
16243 swig_obj[0] = args;
16244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16245 if (!SWIG_IsOK(res1)) {
16246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16247 }
16248 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16249 {
16250 PyThreadState* __tstate = wxPyBeginAllowThreads();
16251 result = (int)((wxPyHVScrolledWindow const *)arg1)->EstimateTotalHeight();
16252 wxPyEndAllowThreads(__tstate);
16253 if (PyErr_Occurred()) SWIG_fail;
16254 }
16255 resultobj = SWIG_From_int(static_cast< int >(result));
16256 return resultobj;
16257 fail:
16258 return NULL;
16259 }
16260
16261
16262 SWIGINTERN PyObject *_wrap_HVScrolledWindow_GetColumnsWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16263 PyObject *resultobj = 0;
16264 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16265 size_t arg2 ;
16266 size_t arg3 ;
16267 int result;
16268 void *argp1 = 0 ;
16269 int res1 = 0 ;
16270 size_t val2 ;
16271 int ecode2 = 0 ;
16272 size_t val3 ;
16273 int ecode3 = 0 ;
16274 PyObject * obj0 = 0 ;
16275 PyObject * obj1 = 0 ;
16276 PyObject * obj2 = 0 ;
16277 char * kwnames[] = {
16278 (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL
16279 };
16280
16281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow_GetColumnsWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16283 if (!SWIG_IsOK(res1)) {
16284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16285 }
16286 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16287 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16288 if (!SWIG_IsOK(ecode2)) {
16289 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'");
16290 }
16291 arg2 = static_cast< size_t >(val2);
16292 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
16293 if (!SWIG_IsOK(ecode3)) {
16294 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'");
16295 }
16296 arg3 = static_cast< size_t >(val3);
16297 {
16298 PyThreadState* __tstate = wxPyBeginAllowThreads();
16299 result = (int)((wxPyHVScrolledWindow const *)arg1)->GetColumnsWidth(arg2,arg3);
16300 wxPyEndAllowThreads(__tstate);
16301 if (PyErr_Occurred()) SWIG_fail;
16302 }
16303 resultobj = SWIG_From_int(static_cast< int >(result));
16304 return resultobj;
16305 fail:
16306 return NULL;
16307 }
16308
16309
16310 SWIGINTERN PyObject *_wrap_HVScrolledWindow_EstimateTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16311 PyObject *resultobj = 0;
16312 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16313 int result;
16314 void *argp1 = 0 ;
16315 int res1 = 0 ;
16316 PyObject *swig_obj[1] ;
16317
16318 if (!args) SWIG_fail;
16319 swig_obj[0] = args;
16320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16321 if (!SWIG_IsOK(res1)) {
16322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16323 }
16324 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16325 {
16326 PyThreadState* __tstate = wxPyBeginAllowThreads();
16327 result = (int)((wxPyHVScrolledWindow const *)arg1)->EstimateTotalWidth();
16328 wxPyEndAllowThreads(__tstate);
16329 if (PyErr_Occurred()) SWIG_fail;
16330 }
16331 resultobj = SWIG_From_int(static_cast< int >(result));
16332 return resultobj;
16333 fail:
16334 return NULL;
16335 }
16336
16337
16338 SWIGINTERN PyObject *HVScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16339 PyObject *obj;
16340 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16341 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_NewClientData(obj));
16342 return SWIG_Py_Void();
16343 }
16344
16345 SWIGINTERN PyObject *HVScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16346 return SWIG_Python_InitShadowInstance(args);
16347 }
16348
16349 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
16350 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
16351 return 1;
16352 }
16353
16354
16355 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
16356 PyObject *pyobj = 0;
16357
16358 {
16359 #if wxUSE_UNICODE
16360 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
16361 #else
16362 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
16363 #endif
16364 }
16365 return pyobj;
16366 }
16367
16368
16369 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16370 PyObject *resultobj = 0;
16371 wxWindow *arg1 = (wxWindow *) 0 ;
16372 int arg2 = (int) wxID_ANY ;
16373 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16374 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16375 wxSize const &arg4_defvalue = wxDefaultSize ;
16376 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16377 long arg5 = (long) 0 ;
16378 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
16379 wxString *arg6 = (wxString *) &arg6_defvalue ;
16380 wxPyVListBox *result = 0 ;
16381 void *argp1 = 0 ;
16382 int res1 = 0 ;
16383 int val2 ;
16384 int ecode2 = 0 ;
16385 wxPoint temp3 ;
16386 wxSize temp4 ;
16387 long val5 ;
16388 int ecode5 = 0 ;
16389 bool temp6 = false ;
16390 PyObject * obj0 = 0 ;
16391 PyObject * obj1 = 0 ;
16392 PyObject * obj2 = 0 ;
16393 PyObject * obj3 = 0 ;
16394 PyObject * obj4 = 0 ;
16395 PyObject * obj5 = 0 ;
16396 char * kwnames[] = {
16397 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16398 };
16399
16400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
16401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16402 if (!SWIG_IsOK(res1)) {
16403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16404 }
16405 arg1 = reinterpret_cast< wxWindow * >(argp1);
16406 if (obj1) {
16407 ecode2 = SWIG_AsVal_int(obj1, &val2);
16408 if (!SWIG_IsOK(ecode2)) {
16409 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
16410 }
16411 arg2 = static_cast< int >(val2);
16412 }
16413 if (obj2) {
16414 {
16415 arg3 = &temp3;
16416 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16417 }
16418 }
16419 if (obj3) {
16420 {
16421 arg4 = &temp4;
16422 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16423 }
16424 }
16425 if (obj4) {
16426 ecode5 = SWIG_AsVal_long(obj4, &val5);
16427 if (!SWIG_IsOK(ecode5)) {
16428 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
16429 }
16430 arg5 = static_cast< long >(val5);
16431 }
16432 if (obj5) {
16433 {
16434 arg6 = wxString_in_helper(obj5);
16435 if (arg6 == NULL) SWIG_fail;
16436 temp6 = true;
16437 }
16438 }
16439 {
16440 if (!wxPyCheckForApp()) SWIG_fail;
16441 PyThreadState* __tstate = wxPyBeginAllowThreads();
16442 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16443 wxPyEndAllowThreads(__tstate);
16444 if (PyErr_Occurred()) SWIG_fail;
16445 }
16446 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
16447 {
16448 if (temp6)
16449 delete arg6;
16450 }
16451 return resultobj;
16452 fail:
16453 {
16454 if (temp6)
16455 delete arg6;
16456 }
16457 return NULL;
16458 }
16459
16460
16461 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16462 PyObject *resultobj = 0;
16463 wxPyVListBox *result = 0 ;
16464
16465 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
16466 {
16467 if (!wxPyCheckForApp()) SWIG_fail;
16468 PyThreadState* __tstate = wxPyBeginAllowThreads();
16469 result = (wxPyVListBox *)new wxPyVListBox();
16470 wxPyEndAllowThreads(__tstate);
16471 if (PyErr_Occurred()) SWIG_fail;
16472 }
16473 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
16474 return resultobj;
16475 fail:
16476 return NULL;
16477 }
16478
16479
16480 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16481 PyObject *resultobj = 0;
16482 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16483 PyObject *arg2 = (PyObject *) 0 ;
16484 PyObject *arg3 = (PyObject *) 0 ;
16485 void *argp1 = 0 ;
16486 int res1 = 0 ;
16487 PyObject * obj0 = 0 ;
16488 PyObject * obj1 = 0 ;
16489 PyObject * obj2 = 0 ;
16490 char * kwnames[] = {
16491 (char *) "self",(char *) "self",(char *) "_class", NULL
16492 };
16493
16494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16496 if (!SWIG_IsOK(res1)) {
16497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16498 }
16499 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16500 arg2 = obj1;
16501 arg3 = obj2;
16502 {
16503 PyThreadState* __tstate = wxPyBeginAllowThreads();
16504 (arg1)->_setCallbackInfo(arg2,arg3);
16505 wxPyEndAllowThreads(__tstate);
16506 if (PyErr_Occurred()) SWIG_fail;
16507 }
16508 resultobj = SWIG_Py_Void();
16509 return resultobj;
16510 fail:
16511 return NULL;
16512 }
16513
16514
16515 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16516 PyObject *resultobj = 0;
16517 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16518 wxWindow *arg2 = (wxWindow *) 0 ;
16519 int arg3 = (int) wxID_ANY ;
16520 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16521 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16522 wxSize const &arg5_defvalue = wxDefaultSize ;
16523 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16524 long arg6 = (long) 0 ;
16525 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
16526 wxString *arg7 = (wxString *) &arg7_defvalue ;
16527 bool result;
16528 void *argp1 = 0 ;
16529 int res1 = 0 ;
16530 void *argp2 = 0 ;
16531 int res2 = 0 ;
16532 int val3 ;
16533 int ecode3 = 0 ;
16534 wxPoint temp4 ;
16535 wxSize temp5 ;
16536 long val6 ;
16537 int ecode6 = 0 ;
16538 bool temp7 = false ;
16539 PyObject * obj0 = 0 ;
16540 PyObject * obj1 = 0 ;
16541 PyObject * obj2 = 0 ;
16542 PyObject * obj3 = 0 ;
16543 PyObject * obj4 = 0 ;
16544 PyObject * obj5 = 0 ;
16545 PyObject * obj6 = 0 ;
16546 char * kwnames[] = {
16547 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16548 };
16549
16550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16552 if (!SWIG_IsOK(res1)) {
16553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16554 }
16555 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16556 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16557 if (!SWIG_IsOK(res2)) {
16558 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16559 }
16560 arg2 = reinterpret_cast< wxWindow * >(argp2);
16561 if (obj2) {
16562 ecode3 = SWIG_AsVal_int(obj2, &val3);
16563 if (!SWIG_IsOK(ecode3)) {
16564 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
16565 }
16566 arg3 = static_cast< int >(val3);
16567 }
16568 if (obj3) {
16569 {
16570 arg4 = &temp4;
16571 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16572 }
16573 }
16574 if (obj4) {
16575 {
16576 arg5 = &temp5;
16577 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16578 }
16579 }
16580 if (obj5) {
16581 ecode6 = SWIG_AsVal_long(obj5, &val6);
16582 if (!SWIG_IsOK(ecode6)) {
16583 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
16584 }
16585 arg6 = static_cast< long >(val6);
16586 }
16587 if (obj6) {
16588 {
16589 arg7 = wxString_in_helper(obj6);
16590 if (arg7 == NULL) SWIG_fail;
16591 temp7 = true;
16592 }
16593 }
16594 {
16595 PyThreadState* __tstate = wxPyBeginAllowThreads();
16596 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16597 wxPyEndAllowThreads(__tstate);
16598 if (PyErr_Occurred()) SWIG_fail;
16599 }
16600 {
16601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16602 }
16603 {
16604 if (temp7)
16605 delete arg7;
16606 }
16607 return resultobj;
16608 fail:
16609 {
16610 if (temp7)
16611 delete arg7;
16612 }
16613 return NULL;
16614 }
16615
16616
16617 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16618 PyObject *resultobj = 0;
16619 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16620 size_t result;
16621 void *argp1 = 0 ;
16622 int res1 = 0 ;
16623 PyObject *swig_obj[1] ;
16624
16625 if (!args) SWIG_fail;
16626 swig_obj[0] = args;
16627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16628 if (!SWIG_IsOK(res1)) {
16629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16630 }
16631 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16632 {
16633 PyThreadState* __tstate = wxPyBeginAllowThreads();
16634 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
16635 wxPyEndAllowThreads(__tstate);
16636 if (PyErr_Occurred()) SWIG_fail;
16637 }
16638 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
16639 return resultobj;
16640 fail:
16641 return NULL;
16642 }
16643
16644
16645 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16646 PyObject *resultobj = 0;
16647 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16648 bool result;
16649 void *argp1 = 0 ;
16650 int res1 = 0 ;
16651 PyObject *swig_obj[1] ;
16652
16653 if (!args) SWIG_fail;
16654 swig_obj[0] = args;
16655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16656 if (!SWIG_IsOK(res1)) {
16657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16658 }
16659 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16660 {
16661 PyThreadState* __tstate = wxPyBeginAllowThreads();
16662 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
16663 wxPyEndAllowThreads(__tstate);
16664 if (PyErr_Occurred()) SWIG_fail;
16665 }
16666 {
16667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16668 }
16669 return resultobj;
16670 fail:
16671 return NULL;
16672 }
16673
16674
16675 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16676 PyObject *resultobj = 0;
16677 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16678 int result;
16679 void *argp1 = 0 ;
16680 int res1 = 0 ;
16681 PyObject *swig_obj[1] ;
16682
16683 if (!args) SWIG_fail;
16684 swig_obj[0] = args;
16685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16686 if (!SWIG_IsOK(res1)) {
16687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16688 }
16689 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16690 {
16691 PyThreadState* __tstate = wxPyBeginAllowThreads();
16692 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
16693 wxPyEndAllowThreads(__tstate);
16694 if (PyErr_Occurred()) SWIG_fail;
16695 }
16696 resultobj = SWIG_From_int(static_cast< int >(result));
16697 return resultobj;
16698 fail:
16699 return NULL;
16700 }
16701
16702
16703 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16704 PyObject *resultobj = 0;
16705 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16706 size_t arg2 ;
16707 bool result;
16708 void *argp1 = 0 ;
16709 int res1 = 0 ;
16710 size_t val2 ;
16711 int ecode2 = 0 ;
16712 PyObject * obj0 = 0 ;
16713 PyObject * obj1 = 0 ;
16714 char * kwnames[] = {
16715 (char *) "self",(char *) "item", NULL
16716 };
16717
16718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
16719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16720 if (!SWIG_IsOK(res1)) {
16721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16722 }
16723 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16724 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16725 if (!SWIG_IsOK(ecode2)) {
16726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
16727 }
16728 arg2 = static_cast< size_t >(val2);
16729 {
16730 PyThreadState* __tstate = wxPyBeginAllowThreads();
16731 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
16732 wxPyEndAllowThreads(__tstate);
16733 if (PyErr_Occurred()) SWIG_fail;
16734 }
16735 {
16736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16737 }
16738 return resultobj;
16739 fail:
16740 return NULL;
16741 }
16742
16743
16744 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16745 PyObject *resultobj = 0;
16746 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16747 size_t arg2 ;
16748 bool result;
16749 void *argp1 = 0 ;
16750 int res1 = 0 ;
16751 size_t val2 ;
16752 int ecode2 = 0 ;
16753 PyObject * obj0 = 0 ;
16754 PyObject * obj1 = 0 ;
16755 char * kwnames[] = {
16756 (char *) "self",(char *) "item", NULL
16757 };
16758
16759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
16760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16761 if (!SWIG_IsOK(res1)) {
16762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16763 }
16764 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16765 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16766 if (!SWIG_IsOK(ecode2)) {
16767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
16768 }
16769 arg2 = static_cast< size_t >(val2);
16770 {
16771 PyThreadState* __tstate = wxPyBeginAllowThreads();
16772 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
16773 wxPyEndAllowThreads(__tstate);
16774 if (PyErr_Occurred()) SWIG_fail;
16775 }
16776 {
16777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16778 }
16779 return resultobj;
16780 fail:
16781 return NULL;
16782 }
16783
16784
16785 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16786 PyObject *resultobj = 0;
16787 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16788 size_t result;
16789 void *argp1 = 0 ;
16790 int res1 = 0 ;
16791 PyObject *swig_obj[1] ;
16792
16793 if (!args) SWIG_fail;
16794 swig_obj[0] = args;
16795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16796 if (!SWIG_IsOK(res1)) {
16797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16798 }
16799 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16800 {
16801 PyThreadState* __tstate = wxPyBeginAllowThreads();
16802 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
16803 wxPyEndAllowThreads(__tstate);
16804 if (PyErr_Occurred()) SWIG_fail;
16805 }
16806 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
16807 return resultobj;
16808 fail:
16809 return NULL;
16810 }
16811
16812
16813 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16814 PyObject *resultobj = 0;
16815 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16816 PyObject *result = 0 ;
16817 void *argp1 = 0 ;
16818 int res1 = 0 ;
16819 PyObject *swig_obj[1] ;
16820
16821 if (!args) SWIG_fail;
16822 swig_obj[0] = args;
16823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16824 if (!SWIG_IsOK(res1)) {
16825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16826 }
16827 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16828 {
16829 PyThreadState* __tstate = wxPyBeginAllowThreads();
16830 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
16831 wxPyEndAllowThreads(__tstate);
16832 if (PyErr_Occurred()) SWIG_fail;
16833 }
16834 resultobj = result;
16835 return resultobj;
16836 fail:
16837 return NULL;
16838 }
16839
16840
16841 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16842 PyObject *resultobj = 0;
16843 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16844 unsigned long arg2 ;
16845 PyObject *result = 0 ;
16846 void *argp1 = 0 ;
16847 int res1 = 0 ;
16848 unsigned long val2 ;
16849 int ecode2 = 0 ;
16850 PyObject * obj0 = 0 ;
16851 PyObject * obj1 = 0 ;
16852 char * kwnames[] = {
16853 (char *) "self",(char *) "cookie", NULL
16854 };
16855
16856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
16857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16858 if (!SWIG_IsOK(res1)) {
16859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16860 }
16861 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16862 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
16863 if (!SWIG_IsOK(ecode2)) {
16864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
16865 }
16866 arg2 = static_cast< unsigned long >(val2);
16867 {
16868 PyThreadState* __tstate = wxPyBeginAllowThreads();
16869 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
16870 wxPyEndAllowThreads(__tstate);
16871 if (PyErr_Occurred()) SWIG_fail;
16872 }
16873 resultobj = result;
16874 return resultobj;
16875 fail:
16876 return NULL;
16877 }
16878
16879
16880 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16881 PyObject *resultobj = 0;
16882 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16883 wxPoint result;
16884 void *argp1 = 0 ;
16885 int res1 = 0 ;
16886 PyObject *swig_obj[1] ;
16887
16888 if (!args) SWIG_fail;
16889 swig_obj[0] = args;
16890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16891 if (!SWIG_IsOK(res1)) {
16892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16893 }
16894 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16895 {
16896 PyThreadState* __tstate = wxPyBeginAllowThreads();
16897 result = ((wxPyVListBox const *)arg1)->GetMargins();
16898 wxPyEndAllowThreads(__tstate);
16899 if (PyErr_Occurred()) SWIG_fail;
16900 }
16901 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
16902 return resultobj;
16903 fail:
16904 return NULL;
16905 }
16906
16907
16908 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16909 PyObject *resultobj = 0;
16910 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16911 wxColour *result = 0 ;
16912 void *argp1 = 0 ;
16913 int res1 = 0 ;
16914 PyObject *swig_obj[1] ;
16915
16916 if (!args) SWIG_fail;
16917 swig_obj[0] = args;
16918 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16919 if (!SWIG_IsOK(res1)) {
16920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16921 }
16922 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16923 {
16924 PyThreadState* __tstate = wxPyBeginAllowThreads();
16925 {
16926 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
16927 result = (wxColour *) &_result_ref;
16928 }
16929 wxPyEndAllowThreads(__tstate);
16930 if (PyErr_Occurred()) SWIG_fail;
16931 }
16932 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
16933 return resultobj;
16934 fail:
16935 return NULL;
16936 }
16937
16938
16939 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16940 PyObject *resultobj = 0;
16941 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16942 size_t arg2 ;
16943 void *argp1 = 0 ;
16944 int res1 = 0 ;
16945 size_t val2 ;
16946 int ecode2 = 0 ;
16947 PyObject * obj0 = 0 ;
16948 PyObject * obj1 = 0 ;
16949 char * kwnames[] = {
16950 (char *) "self",(char *) "count", NULL
16951 };
16952
16953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
16954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16955 if (!SWIG_IsOK(res1)) {
16956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16957 }
16958 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16959 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16960 if (!SWIG_IsOK(ecode2)) {
16961 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
16962 }
16963 arg2 = static_cast< size_t >(val2);
16964 {
16965 PyThreadState* __tstate = wxPyBeginAllowThreads();
16966 (arg1)->SetItemCount(arg2);
16967 wxPyEndAllowThreads(__tstate);
16968 if (PyErr_Occurred()) SWIG_fail;
16969 }
16970 resultobj = SWIG_Py_Void();
16971 return resultobj;
16972 fail:
16973 return NULL;
16974 }
16975
16976
16977 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16978 PyObject *resultobj = 0;
16979 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16980 void *argp1 = 0 ;
16981 int res1 = 0 ;
16982 PyObject *swig_obj[1] ;
16983
16984 if (!args) SWIG_fail;
16985 swig_obj[0] = args;
16986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16987 if (!SWIG_IsOK(res1)) {
16988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16989 }
16990 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16991 {
16992 PyThreadState* __tstate = wxPyBeginAllowThreads();
16993 (arg1)->Clear();
16994 wxPyEndAllowThreads(__tstate);
16995 if (PyErr_Occurred()) SWIG_fail;
16996 }
16997 resultobj = SWIG_Py_Void();
16998 return resultobj;
16999 fail:
17000 return NULL;
17001 }
17002
17003
17004 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17005 PyObject *resultobj = 0;
17006 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17007 int arg2 ;
17008 void *argp1 = 0 ;
17009 int res1 = 0 ;
17010 int val2 ;
17011 int ecode2 = 0 ;
17012 PyObject * obj0 = 0 ;
17013 PyObject * obj1 = 0 ;
17014 char * kwnames[] = {
17015 (char *) "self",(char *) "selection", NULL
17016 };
17017
17018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
17019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17020 if (!SWIG_IsOK(res1)) {
17021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17022 }
17023 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17024 ecode2 = SWIG_AsVal_int(obj1, &val2);
17025 if (!SWIG_IsOK(ecode2)) {
17026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
17027 }
17028 arg2 = static_cast< int >(val2);
17029 {
17030 PyThreadState* __tstate = wxPyBeginAllowThreads();
17031 (arg1)->SetSelection(arg2);
17032 wxPyEndAllowThreads(__tstate);
17033 if (PyErr_Occurred()) SWIG_fail;
17034 }
17035 resultobj = SWIG_Py_Void();
17036 return resultobj;
17037 fail:
17038 return NULL;
17039 }
17040
17041
17042 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17043 PyObject *resultobj = 0;
17044 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17045 size_t arg2 ;
17046 bool arg3 = (bool) true ;
17047 bool result;
17048 void *argp1 = 0 ;
17049 int res1 = 0 ;
17050 size_t val2 ;
17051 int ecode2 = 0 ;
17052 bool val3 ;
17053 int ecode3 = 0 ;
17054 PyObject * obj0 = 0 ;
17055 PyObject * obj1 = 0 ;
17056 PyObject * obj2 = 0 ;
17057 char * kwnames[] = {
17058 (char *) "self",(char *) "item",(char *) "select", NULL
17059 };
17060
17061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17063 if (!SWIG_IsOK(res1)) {
17064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17065 }
17066 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17067 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17068 if (!SWIG_IsOK(ecode2)) {
17069 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
17070 }
17071 arg2 = static_cast< size_t >(val2);
17072 if (obj2) {
17073 ecode3 = SWIG_AsVal_bool(obj2, &val3);
17074 if (!SWIG_IsOK(ecode3)) {
17075 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
17076 }
17077 arg3 = static_cast< bool >(val3);
17078 }
17079 {
17080 PyThreadState* __tstate = wxPyBeginAllowThreads();
17081 result = (bool)(arg1)->Select(arg2,arg3);
17082 wxPyEndAllowThreads(__tstate);
17083 if (PyErr_Occurred()) SWIG_fail;
17084 }
17085 {
17086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17087 }
17088 return resultobj;
17089 fail:
17090 return NULL;
17091 }
17092
17093
17094 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17095 PyObject *resultobj = 0;
17096 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17097 size_t arg2 ;
17098 size_t arg3 ;
17099 bool result;
17100 void *argp1 = 0 ;
17101 int res1 = 0 ;
17102 size_t val2 ;
17103 int ecode2 = 0 ;
17104 size_t val3 ;
17105 int ecode3 = 0 ;
17106 PyObject * obj0 = 0 ;
17107 PyObject * obj1 = 0 ;
17108 PyObject * obj2 = 0 ;
17109 char * kwnames[] = {
17110 (char *) "self",(char *) "from",(char *) "to", NULL
17111 };
17112
17113 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17114 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17115 if (!SWIG_IsOK(res1)) {
17116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17117 }
17118 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17119 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17120 if (!SWIG_IsOK(ecode2)) {
17121 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
17122 }
17123 arg2 = static_cast< size_t >(val2);
17124 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
17125 if (!SWIG_IsOK(ecode3)) {
17126 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
17127 }
17128 arg3 = static_cast< size_t >(val3);
17129 {
17130 PyThreadState* __tstate = wxPyBeginAllowThreads();
17131 result = (bool)(arg1)->SelectRange(arg2,arg3);
17132 wxPyEndAllowThreads(__tstate);
17133 if (PyErr_Occurred()) SWIG_fail;
17134 }
17135 {
17136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17137 }
17138 return resultobj;
17139 fail:
17140 return NULL;
17141 }
17142
17143
17144 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17145 PyObject *resultobj = 0;
17146 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17147 size_t arg2 ;
17148 void *argp1 = 0 ;
17149 int res1 = 0 ;
17150 size_t val2 ;
17151 int ecode2 = 0 ;
17152 PyObject * obj0 = 0 ;
17153 PyObject * obj1 = 0 ;
17154 char * kwnames[] = {
17155 (char *) "self",(char *) "item", NULL
17156 };
17157
17158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
17159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17160 if (!SWIG_IsOK(res1)) {
17161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17162 }
17163 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17164 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17165 if (!SWIG_IsOK(ecode2)) {
17166 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
17167 }
17168 arg2 = static_cast< size_t >(val2);
17169 {
17170 PyThreadState* __tstate = wxPyBeginAllowThreads();
17171 (arg1)->Toggle(arg2);
17172 wxPyEndAllowThreads(__tstate);
17173 if (PyErr_Occurred()) SWIG_fail;
17174 }
17175 resultobj = SWIG_Py_Void();
17176 return resultobj;
17177 fail:
17178 return NULL;
17179 }
17180
17181
17182 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17183 PyObject *resultobj = 0;
17184 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17185 bool result;
17186 void *argp1 = 0 ;
17187 int res1 = 0 ;
17188 PyObject *swig_obj[1] ;
17189
17190 if (!args) SWIG_fail;
17191 swig_obj[0] = args;
17192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17193 if (!SWIG_IsOK(res1)) {
17194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17195 }
17196 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17197 {
17198 PyThreadState* __tstate = wxPyBeginAllowThreads();
17199 result = (bool)(arg1)->SelectAll();
17200 wxPyEndAllowThreads(__tstate);
17201 if (PyErr_Occurred()) SWIG_fail;
17202 }
17203 {
17204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17205 }
17206 return resultobj;
17207 fail:
17208 return NULL;
17209 }
17210
17211
17212 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17213 PyObject *resultobj = 0;
17214 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17215 bool result;
17216 void *argp1 = 0 ;
17217 int res1 = 0 ;
17218 PyObject *swig_obj[1] ;
17219
17220 if (!args) SWIG_fail;
17221 swig_obj[0] = args;
17222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17223 if (!SWIG_IsOK(res1)) {
17224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17225 }
17226 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17227 {
17228 PyThreadState* __tstate = wxPyBeginAllowThreads();
17229 result = (bool)(arg1)->DeselectAll();
17230 wxPyEndAllowThreads(__tstate);
17231 if (PyErr_Occurred()) SWIG_fail;
17232 }
17233 {
17234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17235 }
17236 return resultobj;
17237 fail:
17238 return NULL;
17239 }
17240
17241
17242 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17243 PyObject *resultobj = 0;
17244 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17245 wxPoint *arg2 = 0 ;
17246 void *argp1 = 0 ;
17247 int res1 = 0 ;
17248 wxPoint temp2 ;
17249 PyObject * obj0 = 0 ;
17250 PyObject * obj1 = 0 ;
17251 char * kwnames[] = {
17252 (char *) "self",(char *) "pt", NULL
17253 };
17254
17255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
17256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17257 if (!SWIG_IsOK(res1)) {
17258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17259 }
17260 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17261 {
17262 arg2 = &temp2;
17263 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17264 }
17265 {
17266 PyThreadState* __tstate = wxPyBeginAllowThreads();
17267 (arg1)->SetMargins((wxPoint const &)*arg2);
17268 wxPyEndAllowThreads(__tstate);
17269 if (PyErr_Occurred()) SWIG_fail;
17270 }
17271 resultobj = SWIG_Py_Void();
17272 return resultobj;
17273 fail:
17274 return NULL;
17275 }
17276
17277
17278 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17279 PyObject *resultobj = 0;
17280 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17281 int arg2 ;
17282 int arg3 ;
17283 void *argp1 = 0 ;
17284 int res1 = 0 ;
17285 int val2 ;
17286 int ecode2 = 0 ;
17287 int val3 ;
17288 int ecode3 = 0 ;
17289 PyObject * obj0 = 0 ;
17290 PyObject * obj1 = 0 ;
17291 PyObject * obj2 = 0 ;
17292 char * kwnames[] = {
17293 (char *) "self",(char *) "x",(char *) "y", NULL
17294 };
17295
17296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17298 if (!SWIG_IsOK(res1)) {
17299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17300 }
17301 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17302 ecode2 = SWIG_AsVal_int(obj1, &val2);
17303 if (!SWIG_IsOK(ecode2)) {
17304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
17305 }
17306 arg2 = static_cast< int >(val2);
17307 ecode3 = SWIG_AsVal_int(obj2, &val3);
17308 if (!SWIG_IsOK(ecode3)) {
17309 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
17310 }
17311 arg3 = static_cast< int >(val3);
17312 {
17313 PyThreadState* __tstate = wxPyBeginAllowThreads();
17314 (arg1)->SetMargins(arg2,arg3);
17315 wxPyEndAllowThreads(__tstate);
17316 if (PyErr_Occurred()) SWIG_fail;
17317 }
17318 resultobj = SWIG_Py_Void();
17319 return resultobj;
17320 fail:
17321 return NULL;
17322 }
17323
17324
17325 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17326 PyObject *resultobj = 0;
17327 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17328 wxColour *arg2 = 0 ;
17329 void *argp1 = 0 ;
17330 int res1 = 0 ;
17331 wxColour temp2 ;
17332 PyObject * obj0 = 0 ;
17333 PyObject * obj1 = 0 ;
17334 char * kwnames[] = {
17335 (char *) "self",(char *) "col", NULL
17336 };
17337
17338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
17339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17340 if (!SWIG_IsOK(res1)) {
17341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17342 }
17343 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17344 {
17345 arg2 = &temp2;
17346 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17347 }
17348 {
17349 PyThreadState* __tstate = wxPyBeginAllowThreads();
17350 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
17351 wxPyEndAllowThreads(__tstate);
17352 if (PyErr_Occurred()) SWIG_fail;
17353 }
17354 resultobj = SWIG_Py_Void();
17355 return resultobj;
17356 fail:
17357 return NULL;
17358 }
17359
17360
17361 SWIGINTERN PyObject *_wrap_VListBox_RefreshSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17362 PyObject *resultobj = 0;
17363 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17364 void *argp1 = 0 ;
17365 int res1 = 0 ;
17366 PyObject *swig_obj[1] ;
17367
17368 if (!args) SWIG_fail;
17369 swig_obj[0] = args;
17370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17371 if (!SWIG_IsOK(res1)) {
17372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_RefreshSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17373 }
17374 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17375 {
17376 PyThreadState* __tstate = wxPyBeginAllowThreads();
17377 (arg1)->RefreshSelected();
17378 wxPyEndAllowThreads(__tstate);
17379 if (PyErr_Occurred()) SWIG_fail;
17380 }
17381 resultobj = SWIG_Py_Void();
17382 return resultobj;
17383 fail:
17384 return NULL;
17385 }
17386
17387
17388 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17389 PyObject *resultobj = 0;
17390 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17391 wxDC *arg2 = 0 ;
17392 wxRect *arg3 = 0 ;
17393 size_t arg4 ;
17394 void *argp1 = 0 ;
17395 int res1 = 0 ;
17396 void *argp2 = 0 ;
17397 int res2 = 0 ;
17398 wxRect temp3 ;
17399 size_t val4 ;
17400 int ecode4 = 0 ;
17401 PyObject * obj0 = 0 ;
17402 PyObject * obj1 = 0 ;
17403 PyObject * obj2 = 0 ;
17404 PyObject * obj3 = 0 ;
17405 char * kwnames[] = {
17406 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
17407 };
17408
17409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17411 if (!SWIG_IsOK(res1)) {
17412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17413 }
17414 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17415 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
17416 if (!SWIG_IsOK(res2)) {
17417 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
17418 }
17419 if (!argp2) {
17420 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
17421 }
17422 arg2 = reinterpret_cast< wxDC * >(argp2);
17423 {
17424 arg3 = &temp3;
17425 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
17426 }
17427 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
17428 if (!SWIG_IsOK(ecode4)) {
17429 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
17430 }
17431 arg4 = static_cast< size_t >(val4);
17432 {
17433 PyThreadState* __tstate = wxPyBeginAllowThreads();
17434 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
17435 wxPyEndAllowThreads(__tstate);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
17438 resultobj = SWIG_Py_Void();
17439 return resultobj;
17440 fail:
17441 return NULL;
17442 }
17443
17444
17445 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17446 PyObject *resultobj = 0;
17447 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17448 wxDC *arg2 = 0 ;
17449 wxRect *arg3 = 0 ;
17450 size_t arg4 ;
17451 void *argp1 = 0 ;
17452 int res1 = 0 ;
17453 void *argp2 = 0 ;
17454 int res2 = 0 ;
17455 wxRect temp3 ;
17456 size_t val4 ;
17457 int ecode4 = 0 ;
17458 PyObject * obj0 = 0 ;
17459 PyObject * obj1 = 0 ;
17460 PyObject * obj2 = 0 ;
17461 PyObject * obj3 = 0 ;
17462 char * kwnames[] = {
17463 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
17464 };
17465
17466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17468 if (!SWIG_IsOK(res1)) {
17469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17470 }
17471 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17472 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
17473 if (!SWIG_IsOK(res2)) {
17474 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
17475 }
17476 if (!argp2) {
17477 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
17478 }
17479 arg2 = reinterpret_cast< wxDC * >(argp2);
17480 {
17481 arg3 = &temp3;
17482 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
17483 }
17484 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
17485 if (!SWIG_IsOK(ecode4)) {
17486 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
17487 }
17488 arg4 = static_cast< size_t >(val4);
17489 {
17490 PyThreadState* __tstate = wxPyBeginAllowThreads();
17491 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
17492 wxPyEndAllowThreads(__tstate);
17493 if (PyErr_Occurred()) SWIG_fail;
17494 }
17495 resultobj = SWIG_Py_Void();
17496 return resultobj;
17497 fail:
17498 return NULL;
17499 }
17500
17501
17502 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17503 PyObject *obj;
17504 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17505 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
17506 return SWIG_Py_Void();
17507 }
17508
17509 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17510 return SWIG_Python_InitShadowInstance(args);
17511 }
17512
17513 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17514 PyObject *resultobj = 0;
17515 wxWindow *arg1 = (wxWindow *) 0 ;
17516 int arg2 = (int) wxID_ANY ;
17517 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17518 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17519 wxSize const &arg4_defvalue = wxDefaultSize ;
17520 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17521 long arg5 = (long) 0 ;
17522 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
17523 wxString *arg6 = (wxString *) &arg6_defvalue ;
17524 wxPyHtmlListBox *result = 0 ;
17525 void *argp1 = 0 ;
17526 int res1 = 0 ;
17527 int val2 ;
17528 int ecode2 = 0 ;
17529 wxPoint temp3 ;
17530 wxSize temp4 ;
17531 long val5 ;
17532 int ecode5 = 0 ;
17533 bool temp6 = false ;
17534 PyObject * obj0 = 0 ;
17535 PyObject * obj1 = 0 ;
17536 PyObject * obj2 = 0 ;
17537 PyObject * obj3 = 0 ;
17538 PyObject * obj4 = 0 ;
17539 PyObject * obj5 = 0 ;
17540 char * kwnames[] = {
17541 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17542 };
17543
17544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17546 if (!SWIG_IsOK(res1)) {
17547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
17548 }
17549 arg1 = reinterpret_cast< wxWindow * >(argp1);
17550 if (obj1) {
17551 ecode2 = SWIG_AsVal_int(obj1, &val2);
17552 if (!SWIG_IsOK(ecode2)) {
17553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
17554 }
17555 arg2 = static_cast< int >(val2);
17556 }
17557 if (obj2) {
17558 {
17559 arg3 = &temp3;
17560 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17561 }
17562 }
17563 if (obj3) {
17564 {
17565 arg4 = &temp4;
17566 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17567 }
17568 }
17569 if (obj4) {
17570 ecode5 = SWIG_AsVal_long(obj4, &val5);
17571 if (!SWIG_IsOK(ecode5)) {
17572 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
17573 }
17574 arg5 = static_cast< long >(val5);
17575 }
17576 if (obj5) {
17577 {
17578 arg6 = wxString_in_helper(obj5);
17579 if (arg6 == NULL) SWIG_fail;
17580 temp6 = true;
17581 }
17582 }
17583 {
17584 if (!wxPyCheckForApp()) SWIG_fail;
17585 PyThreadState* __tstate = wxPyBeginAllowThreads();
17586 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17587 wxPyEndAllowThreads(__tstate);
17588 if (PyErr_Occurred()) SWIG_fail;
17589 }
17590 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
17591 {
17592 if (temp6)
17593 delete arg6;
17594 }
17595 return resultobj;
17596 fail:
17597 {
17598 if (temp6)
17599 delete arg6;
17600 }
17601 return NULL;
17602 }
17603
17604
17605 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17606 PyObject *resultobj = 0;
17607 wxPyHtmlListBox *result = 0 ;
17608
17609 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
17610 {
17611 if (!wxPyCheckForApp()) SWIG_fail;
17612 PyThreadState* __tstate = wxPyBeginAllowThreads();
17613 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
17614 wxPyEndAllowThreads(__tstate);
17615 if (PyErr_Occurred()) SWIG_fail;
17616 }
17617 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
17618 return resultobj;
17619 fail:
17620 return NULL;
17621 }
17622
17623
17624 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17625 PyObject *resultobj = 0;
17626 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17627 PyObject *arg2 = (PyObject *) 0 ;
17628 PyObject *arg3 = (PyObject *) 0 ;
17629 void *argp1 = 0 ;
17630 int res1 = 0 ;
17631 PyObject * obj0 = 0 ;
17632 PyObject * obj1 = 0 ;
17633 PyObject * obj2 = 0 ;
17634 char * kwnames[] = {
17635 (char *) "self",(char *) "self",(char *) "_class", NULL
17636 };
17637
17638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17640 if (!SWIG_IsOK(res1)) {
17641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17642 }
17643 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17644 arg2 = obj1;
17645 arg3 = obj2;
17646 {
17647 PyThreadState* __tstate = wxPyBeginAllowThreads();
17648 (arg1)->_setCallbackInfo(arg2,arg3);
17649 wxPyEndAllowThreads(__tstate);
17650 if (PyErr_Occurred()) SWIG_fail;
17651 }
17652 resultobj = SWIG_Py_Void();
17653 return resultobj;
17654 fail:
17655 return NULL;
17656 }
17657
17658
17659 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17660 PyObject *resultobj = 0;
17661 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17662 wxWindow *arg2 = (wxWindow *) 0 ;
17663 int arg3 = (int) wxID_ANY ;
17664 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17665 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17666 wxSize const &arg5_defvalue = wxDefaultSize ;
17667 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17668 long arg6 = (long) 0 ;
17669 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
17670 wxString *arg7 = (wxString *) &arg7_defvalue ;
17671 bool result;
17672 void *argp1 = 0 ;
17673 int res1 = 0 ;
17674 void *argp2 = 0 ;
17675 int res2 = 0 ;
17676 int val3 ;
17677 int ecode3 = 0 ;
17678 wxPoint temp4 ;
17679 wxSize temp5 ;
17680 long val6 ;
17681 int ecode6 = 0 ;
17682 bool temp7 = false ;
17683 PyObject * obj0 = 0 ;
17684 PyObject * obj1 = 0 ;
17685 PyObject * obj2 = 0 ;
17686 PyObject * obj3 = 0 ;
17687 PyObject * obj4 = 0 ;
17688 PyObject * obj5 = 0 ;
17689 PyObject * obj6 = 0 ;
17690 char * kwnames[] = {
17691 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17692 };
17693
17694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17696 if (!SWIG_IsOK(res1)) {
17697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17698 }
17699 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17700 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17701 if (!SWIG_IsOK(res2)) {
17702 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17703 }
17704 arg2 = reinterpret_cast< wxWindow * >(argp2);
17705 if (obj2) {
17706 ecode3 = SWIG_AsVal_int(obj2, &val3);
17707 if (!SWIG_IsOK(ecode3)) {
17708 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
17709 }
17710 arg3 = static_cast< int >(val3);
17711 }
17712 if (obj3) {
17713 {
17714 arg4 = &temp4;
17715 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17716 }
17717 }
17718 if (obj4) {
17719 {
17720 arg5 = &temp5;
17721 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17722 }
17723 }
17724 if (obj5) {
17725 ecode6 = SWIG_AsVal_long(obj5, &val6);
17726 if (!SWIG_IsOK(ecode6)) {
17727 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
17728 }
17729 arg6 = static_cast< long >(val6);
17730 }
17731 if (obj6) {
17732 {
17733 arg7 = wxString_in_helper(obj6);
17734 if (arg7 == NULL) SWIG_fail;
17735 temp7 = true;
17736 }
17737 }
17738 {
17739 PyThreadState* __tstate = wxPyBeginAllowThreads();
17740 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17741 wxPyEndAllowThreads(__tstate);
17742 if (PyErr_Occurred()) SWIG_fail;
17743 }
17744 {
17745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17746 }
17747 {
17748 if (temp7)
17749 delete arg7;
17750 }
17751 return resultobj;
17752 fail:
17753 {
17754 if (temp7)
17755 delete arg7;
17756 }
17757 return NULL;
17758 }
17759
17760
17761 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17762 PyObject *resultobj = 0;
17763 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17764 size_t arg2 ;
17765 void *argp1 = 0 ;
17766 int res1 = 0 ;
17767 size_t val2 ;
17768 int ecode2 = 0 ;
17769 PyObject * obj0 = 0 ;
17770 PyObject * obj1 = 0 ;
17771 char * kwnames[] = {
17772 (char *) "self",(char *) "count", NULL
17773 };
17774
17775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
17776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17777 if (!SWIG_IsOK(res1)) {
17778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17779 }
17780 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17781 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17782 if (!SWIG_IsOK(ecode2)) {
17783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
17784 }
17785 arg2 = static_cast< size_t >(val2);
17786 {
17787 PyThreadState* __tstate = wxPyBeginAllowThreads();
17788 (arg1)->SetItemCount(arg2);
17789 wxPyEndAllowThreads(__tstate);
17790 if (PyErr_Occurred()) SWIG_fail;
17791 }
17792 resultobj = SWIG_Py_Void();
17793 return resultobj;
17794 fail:
17795 return NULL;
17796 }
17797
17798
17799 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17800 PyObject *resultobj = 0;
17801 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17802 wxFileSystem *result = 0 ;
17803 void *argp1 = 0 ;
17804 int res1 = 0 ;
17805 PyObject *swig_obj[1] ;
17806
17807 if (!args) SWIG_fail;
17808 swig_obj[0] = args;
17809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17810 if (!SWIG_IsOK(res1)) {
17811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17812 }
17813 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17814 {
17815 PyThreadState* __tstate = wxPyBeginAllowThreads();
17816 {
17817 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
17818 result = (wxFileSystem *) &_result_ref;
17819 }
17820 wxPyEndAllowThreads(__tstate);
17821 if (PyErr_Occurred()) SWIG_fail;
17822 }
17823 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
17824 return resultobj;
17825 fail:
17826 return NULL;
17827 }
17828
17829
17830 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17831 PyObject *resultobj = 0;
17832 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17833 size_t arg2 ;
17834 wxHtmlLinkInfo *arg3 = 0 ;
17835 void *argp1 = 0 ;
17836 int res1 = 0 ;
17837 size_t val2 ;
17838 int ecode2 = 0 ;
17839 void *argp3 = 0 ;
17840 int res3 = 0 ;
17841 PyObject * obj0 = 0 ;
17842 PyObject * obj1 = 0 ;
17843 PyObject * obj2 = 0 ;
17844 char * kwnames[] = {
17845 (char *) "self",(char *) "n",(char *) "link", NULL
17846 };
17847
17848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17850 if (!SWIG_IsOK(res1)) {
17851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17852 }
17853 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17854 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17855 if (!SWIG_IsOK(ecode2)) {
17856 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
17857 }
17858 arg2 = static_cast< size_t >(val2);
17859 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
17860 if (!SWIG_IsOK(res3)) {
17861 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
17862 }
17863 if (!argp3) {
17864 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
17865 }
17866 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
17867 {
17868 PyThreadState* __tstate = wxPyBeginAllowThreads();
17869 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
17870 wxPyEndAllowThreads(__tstate);
17871 if (PyErr_Occurred()) SWIG_fail;
17872 }
17873 resultobj = SWIG_Py_Void();
17874 return resultobj;
17875 fail:
17876 return NULL;
17877 }
17878
17879
17880 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17881 PyObject *obj;
17882 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17883 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
17884 return SWIG_Py_Void();
17885 }
17886
17887 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17888 return SWIG_Python_InitShadowInstance(args);
17889 }
17890
17891 SWIGINTERN int SimpleHtmlListBoxNameStr_set(PyObject *) {
17892 SWIG_Error(SWIG_AttributeError,"Variable SimpleHtmlListBoxNameStr is read-only.");
17893 return 1;
17894 }
17895
17896
17897 SWIGINTERN PyObject *SimpleHtmlListBoxNameStr_get(void) {
17898 PyObject *pyobj = 0;
17899
17900 {
17901 #if wxUSE_UNICODE
17902 pyobj = PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
17903 #else
17904 pyobj = PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
17905 #endif
17906 }
17907 return pyobj;
17908 }
17909
17910
17911 SWIGINTERN PyObject *_wrap_new_SimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17912 PyObject *resultobj = 0;
17913 wxWindow *arg1 = (wxWindow *) 0 ;
17914 int arg2 = (int) -1 ;
17915 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17916 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17917 wxSize const &arg4_defvalue = wxDefaultSize ;
17918 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17919 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
17920 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
17921 long arg6 = (long) wxHLB_DEFAULT_STYLE ;
17922 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17923 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17924 wxString const &arg8_defvalue = wxPySimpleHtmlListBoxNameStr ;
17925 wxString *arg8 = (wxString *) &arg8_defvalue ;
17926 wxSimpleHtmlListBox *result = 0 ;
17927 void *argp1 = 0 ;
17928 int res1 = 0 ;
17929 int val2 ;
17930 int ecode2 = 0 ;
17931 wxPoint temp3 ;
17932 wxSize temp4 ;
17933 bool temp5 = false ;
17934 long val6 ;
17935 int ecode6 = 0 ;
17936 void *argp7 = 0 ;
17937 int res7 = 0 ;
17938 bool temp8 = false ;
17939 PyObject * obj0 = 0 ;
17940 PyObject * obj1 = 0 ;
17941 PyObject * obj2 = 0 ;
17942 PyObject * obj3 = 0 ;
17943 PyObject * obj4 = 0 ;
17944 PyObject * obj5 = 0 ;
17945 PyObject * obj6 = 0 ;
17946 PyObject * obj7 = 0 ;
17947 char * kwnames[] = {
17948 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
17949 };
17950
17951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
17952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17953 if (!SWIG_IsOK(res1)) {
17954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
17955 }
17956 arg1 = reinterpret_cast< wxWindow * >(argp1);
17957 if (obj1) {
17958 ecode2 = SWIG_AsVal_int(obj1, &val2);
17959 if (!SWIG_IsOK(ecode2)) {
17960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
17961 }
17962 arg2 = static_cast< int >(val2);
17963 }
17964 if (obj2) {
17965 {
17966 arg3 = &temp3;
17967 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17968 }
17969 }
17970 if (obj3) {
17971 {
17972 arg4 = &temp4;
17973 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17974 }
17975 }
17976 if (obj4) {
17977 {
17978 if (! PySequence_Check(obj4)) {
17979 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
17980 SWIG_fail;
17981 }
17982 arg5 = new wxArrayString;
17983 temp5 = true;
17984 int i, len=PySequence_Length(obj4);
17985 for (i=0; i<len; i++) {
17986 PyObject* item = PySequence_GetItem(obj4, i);
17987 wxString* s = wxString_in_helper(item);
17988 if (PyErr_Occurred()) SWIG_fail;
17989 arg5->Add(*s);
17990 delete s;
17991 Py_DECREF(item);
17992 }
17993 }
17994 }
17995 if (obj5) {
17996 ecode6 = SWIG_AsVal_long(obj5, &val6);
17997 if (!SWIG_IsOK(ecode6)) {
17998 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
17999 }
18000 arg6 = static_cast< long >(val6);
18001 }
18002 if (obj6) {
18003 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
18004 if (!SWIG_IsOK(res7)) {
18005 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
18006 }
18007 if (!argp7) {
18008 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
18009 }
18010 arg7 = reinterpret_cast< wxValidator * >(argp7);
18011 }
18012 if (obj7) {
18013 {
18014 arg8 = wxString_in_helper(obj7);
18015 if (arg8 == NULL) SWIG_fail;
18016 temp8 = true;
18017 }
18018 }
18019 {
18020 if (!wxPyCheckForApp()) SWIG_fail;
18021 PyThreadState* __tstate = wxPyBeginAllowThreads();
18022 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18023 wxPyEndAllowThreads(__tstate);
18024 if (PyErr_Occurred()) SWIG_fail;
18025 }
18026 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_NEW | 0 );
18027 {
18028 if (temp5) delete arg5;
18029 }
18030 {
18031 if (temp8)
18032 delete arg8;
18033 }
18034 return resultobj;
18035 fail:
18036 {
18037 if (temp5) delete arg5;
18038 }
18039 {
18040 if (temp8)
18041 delete arg8;
18042 }
18043 return NULL;
18044 }
18045
18046
18047 SWIGINTERN PyObject *_wrap_new_PreSimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18048 PyObject *resultobj = 0;
18049 wxSimpleHtmlListBox *result = 0 ;
18050
18051 if (!SWIG_Python_UnpackTuple(args,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail;
18052 {
18053 if (!wxPyCheckForApp()) SWIG_fail;
18054 PyThreadState* __tstate = wxPyBeginAllowThreads();
18055 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox();
18056 wxPyEndAllowThreads(__tstate);
18057 if (PyErr_Occurred()) SWIG_fail;
18058 }
18059 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_OWN | 0 );
18060 return resultobj;
18061 fail:
18062 return NULL;
18063 }
18064
18065
18066 SWIGINTERN PyObject *_wrap_SimpleHtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18067 PyObject *resultobj = 0;
18068 wxSimpleHtmlListBox *arg1 = (wxSimpleHtmlListBox *) 0 ;
18069 wxWindow *arg2 = (wxWindow *) 0 ;
18070 int arg3 = (int) -1 ;
18071 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18072 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18073 wxSize const &arg5_defvalue = wxDefaultSize ;
18074 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18075 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
18076 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
18077 long arg7 = (long) wxHLB_DEFAULT_STYLE ;
18078 wxValidator const &arg8_defvalue = wxDefaultValidator ;
18079 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
18080 wxString const &arg9_defvalue = wxPySimpleHtmlListBoxNameStr ;
18081 wxString *arg9 = (wxString *) &arg9_defvalue ;
18082 bool result;
18083 void *argp1 = 0 ;
18084 int res1 = 0 ;
18085 void *argp2 = 0 ;
18086 int res2 = 0 ;
18087 int val3 ;
18088 int ecode3 = 0 ;
18089 wxPoint temp4 ;
18090 wxSize temp5 ;
18091 bool temp6 = false ;
18092 long val7 ;
18093 int ecode7 = 0 ;
18094 void *argp8 = 0 ;
18095 int res8 = 0 ;
18096 bool temp9 = false ;
18097 PyObject * obj0 = 0 ;
18098 PyObject * obj1 = 0 ;
18099 PyObject * obj2 = 0 ;
18100 PyObject * obj3 = 0 ;
18101 PyObject * obj4 = 0 ;
18102 PyObject * obj5 = 0 ;
18103 PyObject * obj6 = 0 ;
18104 PyObject * obj7 = 0 ;
18105 PyObject * obj8 = 0 ;
18106 char * kwnames[] = {
18107 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
18108 };
18109
18110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
18111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSimpleHtmlListBox, 0 | 0 );
18112 if (!SWIG_IsOK(res1)) {
18113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
18114 }
18115 arg1 = reinterpret_cast< wxSimpleHtmlListBox * >(argp1);
18116 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
18117 if (!SWIG_IsOK(res2)) {
18118 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18119 }
18120 arg2 = reinterpret_cast< wxWindow * >(argp2);
18121 if (obj2) {
18122 ecode3 = SWIG_AsVal_int(obj2, &val3);
18123 if (!SWIG_IsOK(ecode3)) {
18124 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
18125 }
18126 arg3 = static_cast< int >(val3);
18127 }
18128 if (obj3) {
18129 {
18130 arg4 = &temp4;
18131 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18132 }
18133 }
18134 if (obj4) {
18135 {
18136 arg5 = &temp5;
18137 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18138 }
18139 }
18140 if (obj5) {
18141 {
18142 if (! PySequence_Check(obj5)) {
18143 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
18144 SWIG_fail;
18145 }
18146 arg6 = new wxArrayString;
18147 temp6 = true;
18148 int i, len=PySequence_Length(obj5);
18149 for (i=0; i<len; i++) {
18150 PyObject* item = PySequence_GetItem(obj5, i);
18151 wxString* s = wxString_in_helper(item);
18152 if (PyErr_Occurred()) SWIG_fail;
18153 arg6->Add(*s);
18154 delete s;
18155 Py_DECREF(item);
18156 }
18157 }
18158 }
18159 if (obj6) {
18160 ecode7 = SWIG_AsVal_long(obj6, &val7);
18161 if (!SWIG_IsOK(ecode7)) {
18162 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
18163 }
18164 arg7 = static_cast< long >(val7);
18165 }
18166 if (obj7) {
18167 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
18168 if (!SWIG_IsOK(res8)) {
18169 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18170 }
18171 if (!argp8) {
18172 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18173 }
18174 arg8 = reinterpret_cast< wxValidator * >(argp8);
18175 }
18176 if (obj8) {
18177 {
18178 arg9 = wxString_in_helper(obj8);
18179 if (arg9 == NULL) SWIG_fail;
18180 temp9 = true;
18181 }
18182 }
18183 {
18184 PyThreadState* __tstate = wxPyBeginAllowThreads();
18185 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
18186 wxPyEndAllowThreads(__tstate);
18187 if (PyErr_Occurred()) SWIG_fail;
18188 }
18189 {
18190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18191 }
18192 {
18193 if (temp6) delete arg6;
18194 }
18195 {
18196 if (temp9)
18197 delete arg9;
18198 }
18199 return resultobj;
18200 fail:
18201 {
18202 if (temp6) delete arg6;
18203 }
18204 {
18205 if (temp9)
18206 delete arg9;
18207 }
18208 return NULL;
18209 }
18210
18211
18212 SWIGINTERN PyObject *SimpleHtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18213 PyObject *obj;
18214 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18215 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_NewClientData(obj));
18216 return SWIG_Py_Void();
18217 }
18218
18219 SWIGINTERN PyObject *SimpleHtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18220 return SWIG_Python_InitShadowInstance(args);
18221 }
18222
18223 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18224 PyObject *resultobj = 0;
18225 wxPyTaskBarIcon *result = 0 ;
18226
18227 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
18228 {
18229 if (!wxPyCheckForApp()) SWIG_fail;
18230 PyThreadState* __tstate = wxPyBeginAllowThreads();
18231 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
18232 wxPyEndAllowThreads(__tstate);
18233 if (PyErr_Occurred()) SWIG_fail;
18234 }
18235 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
18236 return resultobj;
18237 fail:
18238 return NULL;
18239 }
18240
18241
18242 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18243 PyObject *resultobj = 0;
18244 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18245 void *argp1 = 0 ;
18246 int res1 = 0 ;
18247 PyObject *swig_obj[1] ;
18248
18249 if (!args) SWIG_fail;
18250 swig_obj[0] = args;
18251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
18252 if (!SWIG_IsOK(res1)) {
18253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18254 }
18255 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18256 {
18257 PyThreadState* __tstate = wxPyBeginAllowThreads();
18258 delete arg1;
18259
18260 wxPyEndAllowThreads(__tstate);
18261 if (PyErr_Occurred()) SWIG_fail;
18262 }
18263 resultobj = SWIG_Py_Void();
18264 return resultobj;
18265 fail:
18266 return NULL;
18267 }
18268
18269
18270 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18271 PyObject *resultobj = 0;
18272 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18273 PyObject *arg2 = (PyObject *) 0 ;
18274 PyObject *arg3 = (PyObject *) 0 ;
18275 int arg4 = (int) 0 ;
18276 void *argp1 = 0 ;
18277 int res1 = 0 ;
18278 int val4 ;
18279 int ecode4 = 0 ;
18280 PyObject * obj0 = 0 ;
18281 PyObject * obj1 = 0 ;
18282 PyObject * obj2 = 0 ;
18283 PyObject * obj3 = 0 ;
18284 char * kwnames[] = {
18285 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
18286 };
18287
18288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
18289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18290 if (!SWIG_IsOK(res1)) {
18291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18292 }
18293 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18294 arg2 = obj1;
18295 arg3 = obj2;
18296 if (obj3) {
18297 ecode4 = SWIG_AsVal_int(obj3, &val4);
18298 if (!SWIG_IsOK(ecode4)) {
18299 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
18300 }
18301 arg4 = static_cast< int >(val4);
18302 }
18303 {
18304 PyThreadState* __tstate = wxPyBeginAllowThreads();
18305 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
18306 wxPyEndAllowThreads(__tstate);
18307 if (PyErr_Occurred()) SWIG_fail;
18308 }
18309 resultobj = SWIG_Py_Void();
18310 return resultobj;
18311 fail:
18312 return NULL;
18313 }
18314
18315
18316 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18317 PyObject *resultobj = 0;
18318 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18319 void *argp1 = 0 ;
18320 int res1 = 0 ;
18321 PyObject *swig_obj[1] ;
18322
18323 if (!args) SWIG_fail;
18324 swig_obj[0] = args;
18325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18326 if (!SWIG_IsOK(res1)) {
18327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18328 }
18329 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18330 {
18331 PyThreadState* __tstate = wxPyBeginAllowThreads();
18332 wxPyTaskBarIcon_Destroy(arg1);
18333 wxPyEndAllowThreads(__tstate);
18334 if (PyErr_Occurred()) SWIG_fail;
18335 }
18336 resultobj = SWIG_Py_Void();
18337 return resultobj;
18338 fail:
18339 return NULL;
18340 }
18341
18342
18343 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18344 PyObject *resultobj = 0;
18345 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18346 bool result;
18347 void *argp1 = 0 ;
18348 int res1 = 0 ;
18349 PyObject *swig_obj[1] ;
18350
18351 if (!args) SWIG_fail;
18352 swig_obj[0] = args;
18353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18354 if (!SWIG_IsOK(res1)) {
18355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
18356 }
18357 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18358 {
18359 PyThreadState* __tstate = wxPyBeginAllowThreads();
18360 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
18361 wxPyEndAllowThreads(__tstate);
18362 if (PyErr_Occurred()) SWIG_fail;
18363 }
18364 {
18365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18366 }
18367 return resultobj;
18368 fail:
18369 return NULL;
18370 }
18371
18372
18373 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18374 PyObject *resultobj = 0;
18375 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18376 bool result;
18377 void *argp1 = 0 ;
18378 int res1 = 0 ;
18379 PyObject *swig_obj[1] ;
18380
18381 if (!args) SWIG_fail;
18382 swig_obj[0] = args;
18383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18384 if (!SWIG_IsOK(res1)) {
18385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
18386 }
18387 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18388 {
18389 PyThreadState* __tstate = wxPyBeginAllowThreads();
18390 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
18391 wxPyEndAllowThreads(__tstate);
18392 if (PyErr_Occurred()) SWIG_fail;
18393 }
18394 {
18395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18396 }
18397 return resultobj;
18398 fail:
18399 return NULL;
18400 }
18401
18402
18403 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18404 PyObject *resultobj = 0;
18405 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18406 wxIcon *arg2 = 0 ;
18407 wxString const &arg3_defvalue = wxPyEmptyString ;
18408 wxString *arg3 = (wxString *) &arg3_defvalue ;
18409 bool result;
18410 void *argp1 = 0 ;
18411 int res1 = 0 ;
18412 void *argp2 = 0 ;
18413 int res2 = 0 ;
18414 bool temp3 = false ;
18415 PyObject * obj0 = 0 ;
18416 PyObject * obj1 = 0 ;
18417 PyObject * obj2 = 0 ;
18418 char * kwnames[] = {
18419 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
18420 };
18421
18422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18424 if (!SWIG_IsOK(res1)) {
18425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18426 }
18427 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18428 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
18429 if (!SWIG_IsOK(res2)) {
18430 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18431 }
18432 if (!argp2) {
18433 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18434 }
18435 arg2 = reinterpret_cast< wxIcon * >(argp2);
18436 if (obj2) {
18437 {
18438 arg3 = wxString_in_helper(obj2);
18439 if (arg3 == NULL) SWIG_fail;
18440 temp3 = true;
18441 }
18442 }
18443 {
18444 PyThreadState* __tstate = wxPyBeginAllowThreads();
18445 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
18446 wxPyEndAllowThreads(__tstate);
18447 if (PyErr_Occurred()) SWIG_fail;
18448 }
18449 {
18450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18451 }
18452 {
18453 if (temp3)
18454 delete arg3;
18455 }
18456 return resultobj;
18457 fail:
18458 {
18459 if (temp3)
18460 delete arg3;
18461 }
18462 return NULL;
18463 }
18464
18465
18466 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18467 PyObject *resultobj = 0;
18468 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18469 bool result;
18470 void *argp1 = 0 ;
18471 int res1 = 0 ;
18472 PyObject *swig_obj[1] ;
18473
18474 if (!args) SWIG_fail;
18475 swig_obj[0] = args;
18476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18477 if (!SWIG_IsOK(res1)) {
18478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18479 }
18480 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18481 {
18482 PyThreadState* __tstate = wxPyBeginAllowThreads();
18483 result = (bool)(arg1)->RemoveIcon();
18484 wxPyEndAllowThreads(__tstate);
18485 if (PyErr_Occurred()) SWIG_fail;
18486 }
18487 {
18488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18489 }
18490 return resultobj;
18491 fail:
18492 return NULL;
18493 }
18494
18495
18496 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18497 PyObject *resultobj = 0;
18498 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18499 wxMenu *arg2 = (wxMenu *) 0 ;
18500 bool result;
18501 void *argp1 = 0 ;
18502 int res1 = 0 ;
18503 void *argp2 = 0 ;
18504 int res2 = 0 ;
18505 PyObject * obj0 = 0 ;
18506 PyObject * obj1 = 0 ;
18507 char * kwnames[] = {
18508 (char *) "self",(char *) "menu", NULL
18509 };
18510
18511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
18512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18513 if (!SWIG_IsOK(res1)) {
18514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18515 }
18516 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18517 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
18518 if (!SWIG_IsOK(res2)) {
18519 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
18520 }
18521 arg2 = reinterpret_cast< wxMenu * >(argp2);
18522 {
18523 PyThreadState* __tstate = wxPyBeginAllowThreads();
18524 result = (bool)(arg1)->PopupMenu(arg2);
18525 wxPyEndAllowThreads(__tstate);
18526 if (PyErr_Occurred()) SWIG_fail;
18527 }
18528 {
18529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18530 }
18531 return resultobj;
18532 fail:
18533 return NULL;
18534 }
18535
18536
18537 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18538 PyObject *obj;
18539 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18540 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
18541 return SWIG_Py_Void();
18542 }
18543
18544 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18545 return SWIG_Python_InitShadowInstance(args);
18546 }
18547
18548 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18549 PyObject *resultobj = 0;
18550 wxEventType arg1 ;
18551 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
18552 wxTaskBarIconEvent *result = 0 ;
18553 int val1 ;
18554 int ecode1 = 0 ;
18555 void *argp2 = 0 ;
18556 int res2 = 0 ;
18557 PyObject * obj0 = 0 ;
18558 PyObject * obj1 = 0 ;
18559 char * kwnames[] = {
18560 (char *) "evtType",(char *) "tbIcon", NULL
18561 };
18562
18563 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
18564 ecode1 = SWIG_AsVal_int(obj0, &val1);
18565 if (!SWIG_IsOK(ecode1)) {
18566 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
18567 }
18568 arg1 = static_cast< wxEventType >(val1);
18569 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
18570 if (!SWIG_IsOK(res2)) {
18571 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
18572 }
18573 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
18574 {
18575 PyThreadState* __tstate = wxPyBeginAllowThreads();
18576 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
18577 wxPyEndAllowThreads(__tstate);
18578 if (PyErr_Occurred()) SWIG_fail;
18579 }
18580 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
18581 return resultobj;
18582 fail:
18583 return NULL;
18584 }
18585
18586
18587 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18588 PyObject *obj;
18589 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18590 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
18591 return SWIG_Py_Void();
18592 }
18593
18594 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18595 return SWIG_Python_InitShadowInstance(args);
18596 }
18597
18598 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
18599 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
18600 return 1;
18601 }
18602
18603
18604 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
18605 PyObject *pyobj = 0;
18606
18607 {
18608 #if wxUSE_UNICODE
18609 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
18610 #else
18611 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
18612 #endif
18613 }
18614 return pyobj;
18615 }
18616
18617
18618 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
18619 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
18620 return 1;
18621 }
18622
18623
18624 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
18625 PyObject *pyobj = 0;
18626
18627 {
18628 #if wxUSE_UNICODE
18629 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
18630 #else
18631 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
18632 #endif
18633 }
18634 return pyobj;
18635 }
18636
18637
18638 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
18639 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
18640 return 1;
18641 }
18642
18643
18644 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
18645 PyObject *pyobj = 0;
18646
18647 {
18648 #if wxUSE_UNICODE
18649 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
18650 #else
18651 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
18652 #endif
18653 }
18654 return pyobj;
18655 }
18656
18657
18658 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
18659 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
18660 return 1;
18661 }
18662
18663
18664 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
18665 PyObject *pyobj = 0;
18666
18667 {
18668 #if wxUSE_UNICODE
18669 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
18670 #else
18671 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
18672 #endif
18673 }
18674 return pyobj;
18675 }
18676
18677
18678 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
18679 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
18680 return 1;
18681 }
18682
18683
18684 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
18685 PyObject *pyobj = 0;
18686
18687 {
18688 #if wxUSE_UNICODE
18689 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
18690 #else
18691 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
18692 #endif
18693 }
18694 return pyobj;
18695 }
18696
18697
18698 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
18699 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
18700 return 1;
18701 }
18702
18703
18704 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
18705 PyObject *pyobj = 0;
18706
18707 {
18708 #if wxUSE_UNICODE
18709 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
18710 #else
18711 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
18712 #endif
18713 }
18714 return pyobj;
18715 }
18716
18717
18718 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18719 PyObject *resultobj = 0;
18720 wxColourData *result = 0 ;
18721
18722 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
18723 {
18724 PyThreadState* __tstate = wxPyBeginAllowThreads();
18725 result = (wxColourData *)new wxColourData();
18726 wxPyEndAllowThreads(__tstate);
18727 if (PyErr_Occurred()) SWIG_fail;
18728 }
18729 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
18730 return resultobj;
18731 fail:
18732 return NULL;
18733 }
18734
18735
18736 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18737 PyObject *resultobj = 0;
18738 wxColourData *arg1 = (wxColourData *) 0 ;
18739 void *argp1 = 0 ;
18740 int res1 = 0 ;
18741 PyObject *swig_obj[1] ;
18742
18743 if (!args) SWIG_fail;
18744 swig_obj[0] = args;
18745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
18746 if (!SWIG_IsOK(res1)) {
18747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
18748 }
18749 arg1 = reinterpret_cast< wxColourData * >(argp1);
18750 {
18751 PyThreadState* __tstate = wxPyBeginAllowThreads();
18752 delete arg1;
18753
18754 wxPyEndAllowThreads(__tstate);
18755 if (PyErr_Occurred()) SWIG_fail;
18756 }
18757 resultobj = SWIG_Py_Void();
18758 return resultobj;
18759 fail:
18760 return NULL;
18761 }
18762
18763
18764 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18765 PyObject *resultobj = 0;
18766 wxColourData *arg1 = (wxColourData *) 0 ;
18767 bool result;
18768 void *argp1 = 0 ;
18769 int res1 = 0 ;
18770 PyObject *swig_obj[1] ;
18771
18772 if (!args) SWIG_fail;
18773 swig_obj[0] = args;
18774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18775 if (!SWIG_IsOK(res1)) {
18776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
18777 }
18778 arg1 = reinterpret_cast< wxColourData * >(argp1);
18779 {
18780 PyThreadState* __tstate = wxPyBeginAllowThreads();
18781 result = (bool)(arg1)->GetChooseFull();
18782 wxPyEndAllowThreads(__tstate);
18783 if (PyErr_Occurred()) SWIG_fail;
18784 }
18785 {
18786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18787 }
18788 return resultobj;
18789 fail:
18790 return NULL;
18791 }
18792
18793
18794 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18795 PyObject *resultobj = 0;
18796 wxColourData *arg1 = (wxColourData *) 0 ;
18797 wxColour result;
18798 void *argp1 = 0 ;
18799 int res1 = 0 ;
18800 PyObject *swig_obj[1] ;
18801
18802 if (!args) SWIG_fail;
18803 swig_obj[0] = args;
18804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18805 if (!SWIG_IsOK(res1)) {
18806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18807 }
18808 arg1 = reinterpret_cast< wxColourData * >(argp1);
18809 {
18810 PyThreadState* __tstate = wxPyBeginAllowThreads();
18811 result = (arg1)->GetColour();
18812 wxPyEndAllowThreads(__tstate);
18813 if (PyErr_Occurred()) SWIG_fail;
18814 }
18815 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18816 return resultobj;
18817 fail:
18818 return NULL;
18819 }
18820
18821
18822 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18823 PyObject *resultobj = 0;
18824 wxColourData *arg1 = (wxColourData *) 0 ;
18825 int arg2 ;
18826 wxColour result;
18827 void *argp1 = 0 ;
18828 int res1 = 0 ;
18829 int val2 ;
18830 int ecode2 = 0 ;
18831 PyObject * obj0 = 0 ;
18832 PyObject * obj1 = 0 ;
18833 char * kwnames[] = {
18834 (char *) "self",(char *) "i", NULL
18835 };
18836
18837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
18838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18839 if (!SWIG_IsOK(res1)) {
18840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18841 }
18842 arg1 = reinterpret_cast< wxColourData * >(argp1);
18843 ecode2 = SWIG_AsVal_int(obj1, &val2);
18844 if (!SWIG_IsOK(ecode2)) {
18845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
18846 }
18847 arg2 = static_cast< int >(val2);
18848 {
18849 PyThreadState* __tstate = wxPyBeginAllowThreads();
18850 result = (arg1)->GetCustomColour(arg2);
18851 wxPyEndAllowThreads(__tstate);
18852 if (PyErr_Occurred()) SWIG_fail;
18853 }
18854 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18855 return resultobj;
18856 fail:
18857 return NULL;
18858 }
18859
18860
18861 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18862 PyObject *resultobj = 0;
18863 wxColourData *arg1 = (wxColourData *) 0 ;
18864 int arg2 ;
18865 void *argp1 = 0 ;
18866 int res1 = 0 ;
18867 int val2 ;
18868 int ecode2 = 0 ;
18869 PyObject * obj0 = 0 ;
18870 PyObject * obj1 = 0 ;
18871 char * kwnames[] = {
18872 (char *) "self",(char *) "flag", NULL
18873 };
18874
18875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
18876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18877 if (!SWIG_IsOK(res1)) {
18878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
18879 }
18880 arg1 = reinterpret_cast< wxColourData * >(argp1);
18881 ecode2 = SWIG_AsVal_int(obj1, &val2);
18882 if (!SWIG_IsOK(ecode2)) {
18883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
18884 }
18885 arg2 = static_cast< int >(val2);
18886 {
18887 PyThreadState* __tstate = wxPyBeginAllowThreads();
18888 (arg1)->SetChooseFull(arg2);
18889 wxPyEndAllowThreads(__tstate);
18890 if (PyErr_Occurred()) SWIG_fail;
18891 }
18892 resultobj = SWIG_Py_Void();
18893 return resultobj;
18894 fail:
18895 return NULL;
18896 }
18897
18898
18899 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18900 PyObject *resultobj = 0;
18901 wxColourData *arg1 = (wxColourData *) 0 ;
18902 wxColour *arg2 = 0 ;
18903 void *argp1 = 0 ;
18904 int res1 = 0 ;
18905 wxColour temp2 ;
18906 PyObject * obj0 = 0 ;
18907 PyObject * obj1 = 0 ;
18908 char * kwnames[] = {
18909 (char *) "self",(char *) "colour", NULL
18910 };
18911
18912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18914 if (!SWIG_IsOK(res1)) {
18915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18916 }
18917 arg1 = reinterpret_cast< wxColourData * >(argp1);
18918 {
18919 arg2 = &temp2;
18920 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18921 }
18922 {
18923 PyThreadState* __tstate = wxPyBeginAllowThreads();
18924 (arg1)->SetColour((wxColour const &)*arg2);
18925 wxPyEndAllowThreads(__tstate);
18926 if (PyErr_Occurred()) SWIG_fail;
18927 }
18928 resultobj = SWIG_Py_Void();
18929 return resultobj;
18930 fail:
18931 return NULL;
18932 }
18933
18934
18935 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18936 PyObject *resultobj = 0;
18937 wxColourData *arg1 = (wxColourData *) 0 ;
18938 int arg2 ;
18939 wxColour *arg3 = 0 ;
18940 void *argp1 = 0 ;
18941 int res1 = 0 ;
18942 int val2 ;
18943 int ecode2 = 0 ;
18944 wxColour temp3 ;
18945 PyObject * obj0 = 0 ;
18946 PyObject * obj1 = 0 ;
18947 PyObject * obj2 = 0 ;
18948 char * kwnames[] = {
18949 (char *) "self",(char *) "i",(char *) "colour", NULL
18950 };
18951
18952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18954 if (!SWIG_IsOK(res1)) {
18955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18956 }
18957 arg1 = reinterpret_cast< wxColourData * >(argp1);
18958 ecode2 = SWIG_AsVal_int(obj1, &val2);
18959 if (!SWIG_IsOK(ecode2)) {
18960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
18961 }
18962 arg2 = static_cast< int >(val2);
18963 {
18964 arg3 = &temp3;
18965 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
18966 }
18967 {
18968 PyThreadState* __tstate = wxPyBeginAllowThreads();
18969 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
18970 wxPyEndAllowThreads(__tstate);
18971 if (PyErr_Occurred()) SWIG_fail;
18972 }
18973 resultobj = SWIG_Py_Void();
18974 return resultobj;
18975 fail:
18976 return NULL;
18977 }
18978
18979
18980 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18981 PyObject *obj;
18982 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18983 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
18984 return SWIG_Py_Void();
18985 }
18986
18987 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18988 return SWIG_Python_InitShadowInstance(args);
18989 }
18990
18991 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18992 PyObject *resultobj = 0;
18993 wxWindow *arg1 = (wxWindow *) 0 ;
18994 wxColourData *arg2 = (wxColourData *) NULL ;
18995 wxColourDialog *result = 0 ;
18996 void *argp1 = 0 ;
18997 int res1 = 0 ;
18998 void *argp2 = 0 ;
18999 int res2 = 0 ;
19000 PyObject * obj0 = 0 ;
19001 PyObject * obj1 = 0 ;
19002 char * kwnames[] = {
19003 (char *) "parent",(char *) "data", NULL
19004 };
19005
19006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19008 if (!SWIG_IsOK(res1)) {
19009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19010 }
19011 arg1 = reinterpret_cast< wxWindow * >(argp1);
19012 if (obj1) {
19013 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
19014 if (!SWIG_IsOK(res2)) {
19015 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
19016 }
19017 arg2 = reinterpret_cast< wxColourData * >(argp2);
19018 }
19019 {
19020 if (!wxPyCheckForApp()) SWIG_fail;
19021 PyThreadState* __tstate = wxPyBeginAllowThreads();
19022 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
19023 wxPyEndAllowThreads(__tstate);
19024 if (PyErr_Occurred()) SWIG_fail;
19025 }
19026 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
19027 return resultobj;
19028 fail:
19029 return NULL;
19030 }
19031
19032
19033 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19034 PyObject *resultobj = 0;
19035 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
19036 wxColourData *result = 0 ;
19037 void *argp1 = 0 ;
19038 int res1 = 0 ;
19039 PyObject *swig_obj[1] ;
19040
19041 if (!args) SWIG_fail;
19042 swig_obj[0] = args;
19043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
19044 if (!SWIG_IsOK(res1)) {
19045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
19046 }
19047 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
19048 {
19049 PyThreadState* __tstate = wxPyBeginAllowThreads();
19050 {
19051 wxColourData &_result_ref = (arg1)->GetColourData();
19052 result = (wxColourData *) &_result_ref;
19053 }
19054 wxPyEndAllowThreads(__tstate);
19055 if (PyErr_Occurred()) SWIG_fail;
19056 }
19057 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
19058 return resultobj;
19059 fail:
19060 return NULL;
19061 }
19062
19063
19064 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19065 PyObject *obj;
19066 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19067 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
19068 return SWIG_Py_Void();
19069 }
19070
19071 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19072 return SWIG_Python_InitShadowInstance(args);
19073 }
19074
19075 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19076 PyObject *resultobj = 0;
19077 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
19078 wxColour const &arg2_defvalue = wxNullColour ;
19079 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
19080 wxString const &arg3_defvalue = wxPyEmptyString ;
19081 wxString *arg3 = (wxString *) &arg3_defvalue ;
19082 wxColour result;
19083 void *argp1 = 0 ;
19084 int res1 = 0 ;
19085 wxColour temp2 ;
19086 bool temp3 = false ;
19087 PyObject * obj0 = 0 ;
19088 PyObject * obj1 = 0 ;
19089 PyObject * obj2 = 0 ;
19090 char * kwnames[] = {
19091 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
19092 };
19093
19094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19095 if (obj0) {
19096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19097 if (!SWIG_IsOK(res1)) {
19098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19099 }
19100 arg1 = reinterpret_cast< wxWindow * >(argp1);
19101 }
19102 if (obj1) {
19103 {
19104 arg2 = &temp2;
19105 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19106 }
19107 }
19108 if (obj2) {
19109 {
19110 arg3 = wxString_in_helper(obj2);
19111 if (arg3 == NULL) SWIG_fail;
19112 temp3 = true;
19113 }
19114 }
19115 {
19116 PyThreadState* __tstate = wxPyBeginAllowThreads();
19117 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
19118 wxPyEndAllowThreads(__tstate);
19119 if (PyErr_Occurred()) SWIG_fail;
19120 }
19121 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
19122 {
19123 if (temp3)
19124 delete arg3;
19125 }
19126 return resultobj;
19127 fail:
19128 {
19129 if (temp3)
19130 delete arg3;
19131 }
19132 return NULL;
19133 }
19134
19135
19136 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19137 PyObject *resultobj = 0;
19138 wxWindow *arg1 = (wxWindow *) 0 ;
19139 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
19140 wxString *arg2 = (wxString *) &arg2_defvalue ;
19141 wxString const &arg3_defvalue = wxPyEmptyString ;
19142 wxString *arg3 = (wxString *) &arg3_defvalue ;
19143 long arg4 = (long) wxDD_DEFAULT_STYLE ;
19144 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19145 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19146 wxSize const &arg6_defvalue = wxDefaultSize ;
19147 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
19148 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
19149 wxString *arg7 = (wxString *) &arg7_defvalue ;
19150 wxDirDialog *result = 0 ;
19151 void *argp1 = 0 ;
19152 int res1 = 0 ;
19153 bool temp2 = false ;
19154 bool temp3 = false ;
19155 long val4 ;
19156 int ecode4 = 0 ;
19157 wxPoint temp5 ;
19158 wxSize temp6 ;
19159 bool temp7 = false ;
19160 PyObject * obj0 = 0 ;
19161 PyObject * obj1 = 0 ;
19162 PyObject * obj2 = 0 ;
19163 PyObject * obj3 = 0 ;
19164 PyObject * obj4 = 0 ;
19165 PyObject * obj5 = 0 ;
19166 PyObject * obj6 = 0 ;
19167 char * kwnames[] = {
19168 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
19169 };
19170
19171 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
19172 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19173 if (!SWIG_IsOK(res1)) {
19174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19175 }
19176 arg1 = reinterpret_cast< wxWindow * >(argp1);
19177 if (obj1) {
19178 {
19179 arg2 = wxString_in_helper(obj1);
19180 if (arg2 == NULL) SWIG_fail;
19181 temp2 = true;
19182 }
19183 }
19184 if (obj2) {
19185 {
19186 arg3 = wxString_in_helper(obj2);
19187 if (arg3 == NULL) SWIG_fail;
19188 temp3 = true;
19189 }
19190 }
19191 if (obj3) {
19192 ecode4 = SWIG_AsVal_long(obj3, &val4);
19193 if (!SWIG_IsOK(ecode4)) {
19194 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
19195 }
19196 arg4 = static_cast< long >(val4);
19197 }
19198 if (obj4) {
19199 {
19200 arg5 = &temp5;
19201 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19202 }
19203 }
19204 if (obj5) {
19205 {
19206 arg6 = &temp6;
19207 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
19208 }
19209 }
19210 if (obj6) {
19211 {
19212 arg7 = wxString_in_helper(obj6);
19213 if (arg7 == NULL) SWIG_fail;
19214 temp7 = true;
19215 }
19216 }
19217 {
19218 if (!wxPyCheckForApp()) SWIG_fail;
19219 PyThreadState* __tstate = wxPyBeginAllowThreads();
19220 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
19221 wxPyEndAllowThreads(__tstate);
19222 if (PyErr_Occurred()) SWIG_fail;
19223 }
19224 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
19225 {
19226 if (temp2)
19227 delete arg2;
19228 }
19229 {
19230 if (temp3)
19231 delete arg3;
19232 }
19233 {
19234 if (temp7)
19235 delete arg7;
19236 }
19237 return resultobj;
19238 fail:
19239 {
19240 if (temp2)
19241 delete arg2;
19242 }
19243 {
19244 if (temp3)
19245 delete arg3;
19246 }
19247 {
19248 if (temp7)
19249 delete arg7;
19250 }
19251 return NULL;
19252 }
19253
19254
19255 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19256 PyObject *resultobj = 0;
19257 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19258 wxString result;
19259 void *argp1 = 0 ;
19260 int res1 = 0 ;
19261 PyObject *swig_obj[1] ;
19262
19263 if (!args) SWIG_fail;
19264 swig_obj[0] = args;
19265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19266 if (!SWIG_IsOK(res1)) {
19267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19268 }
19269 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19270 {
19271 PyThreadState* __tstate = wxPyBeginAllowThreads();
19272 result = (arg1)->GetPath();
19273 wxPyEndAllowThreads(__tstate);
19274 if (PyErr_Occurred()) SWIG_fail;
19275 }
19276 {
19277 #if wxUSE_UNICODE
19278 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19279 #else
19280 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19281 #endif
19282 }
19283 return resultobj;
19284 fail:
19285 return NULL;
19286 }
19287
19288
19289 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19290 PyObject *resultobj = 0;
19291 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19292 wxString result;
19293 void *argp1 = 0 ;
19294 int res1 = 0 ;
19295 PyObject *swig_obj[1] ;
19296
19297 if (!args) SWIG_fail;
19298 swig_obj[0] = args;
19299 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19300 if (!SWIG_IsOK(res1)) {
19301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19302 }
19303 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19304 {
19305 PyThreadState* __tstate = wxPyBeginAllowThreads();
19306 result = (arg1)->GetMessage();
19307 wxPyEndAllowThreads(__tstate);
19308 if (PyErr_Occurred()) SWIG_fail;
19309 }
19310 {
19311 #if wxUSE_UNICODE
19312 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19313 #else
19314 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19315 #endif
19316 }
19317 return resultobj;
19318 fail:
19319 return NULL;
19320 }
19321
19322
19323 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19324 PyObject *resultobj = 0;
19325 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19326 wxString *arg2 = 0 ;
19327 void *argp1 = 0 ;
19328 int res1 = 0 ;
19329 bool temp2 = false ;
19330 PyObject * obj0 = 0 ;
19331 PyObject * obj1 = 0 ;
19332 char * kwnames[] = {
19333 (char *) "self",(char *) "message", NULL
19334 };
19335
19336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
19337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19338 if (!SWIG_IsOK(res1)) {
19339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19340 }
19341 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19342 {
19343 arg2 = wxString_in_helper(obj1);
19344 if (arg2 == NULL) SWIG_fail;
19345 temp2 = true;
19346 }
19347 {
19348 PyThreadState* __tstate = wxPyBeginAllowThreads();
19349 (arg1)->SetMessage((wxString const &)*arg2);
19350 wxPyEndAllowThreads(__tstate);
19351 if (PyErr_Occurred()) SWIG_fail;
19352 }
19353 resultobj = SWIG_Py_Void();
19354 {
19355 if (temp2)
19356 delete arg2;
19357 }
19358 return resultobj;
19359 fail:
19360 {
19361 if (temp2)
19362 delete arg2;
19363 }
19364 return NULL;
19365 }
19366
19367
19368 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19369 PyObject *resultobj = 0;
19370 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19371 wxString *arg2 = 0 ;
19372 void *argp1 = 0 ;
19373 int res1 = 0 ;
19374 bool temp2 = false ;
19375 PyObject * obj0 = 0 ;
19376 PyObject * obj1 = 0 ;
19377 char * kwnames[] = {
19378 (char *) "self",(char *) "path", NULL
19379 };
19380
19381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
19382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19383 if (!SWIG_IsOK(res1)) {
19384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19385 }
19386 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19387 {
19388 arg2 = wxString_in_helper(obj1);
19389 if (arg2 == NULL) SWIG_fail;
19390 temp2 = true;
19391 }
19392 {
19393 PyThreadState* __tstate = wxPyBeginAllowThreads();
19394 (arg1)->SetPath((wxString const &)*arg2);
19395 wxPyEndAllowThreads(__tstate);
19396 if (PyErr_Occurred()) SWIG_fail;
19397 }
19398 resultobj = SWIG_Py_Void();
19399 {
19400 if (temp2)
19401 delete arg2;
19402 }
19403 return resultobj;
19404 fail:
19405 {
19406 if (temp2)
19407 delete arg2;
19408 }
19409 return NULL;
19410 }
19411
19412
19413 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19414 PyObject *obj;
19415 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19416 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
19417 return SWIG_Py_Void();
19418 }
19419
19420 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19421 return SWIG_Python_InitShadowInstance(args);
19422 }
19423
19424 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19425 PyObject *resultobj = 0;
19426 wxWindow *arg1 = (wxWindow *) 0 ;
19427 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
19428 wxString *arg2 = (wxString *) &arg2_defvalue ;
19429 wxString const &arg3_defvalue = wxPyEmptyString ;
19430 wxString *arg3 = (wxString *) &arg3_defvalue ;
19431 wxString const &arg4_defvalue = wxPyEmptyString ;
19432 wxString *arg4 = (wxString *) &arg4_defvalue ;
19433 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
19434 wxString *arg5 = (wxString *) &arg5_defvalue ;
19435 long arg6 = (long) wxFD_DEFAULT_STYLE ;
19436 wxPoint const &arg7_defvalue = wxDefaultPosition ;
19437 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
19438 wxFileDialog *result = 0 ;
19439 void *argp1 = 0 ;
19440 int res1 = 0 ;
19441 bool temp2 = false ;
19442 bool temp3 = false ;
19443 bool temp4 = false ;
19444 bool temp5 = false ;
19445 long val6 ;
19446 int ecode6 = 0 ;
19447 wxPoint temp7 ;
19448 PyObject * obj0 = 0 ;
19449 PyObject * obj1 = 0 ;
19450 PyObject * obj2 = 0 ;
19451 PyObject * obj3 = 0 ;
19452 PyObject * obj4 = 0 ;
19453 PyObject * obj5 = 0 ;
19454 PyObject * obj6 = 0 ;
19455 char * kwnames[] = {
19456 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
19457 };
19458
19459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
19460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19461 if (!SWIG_IsOK(res1)) {
19462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19463 }
19464 arg1 = reinterpret_cast< wxWindow * >(argp1);
19465 if (obj1) {
19466 {
19467 arg2 = wxString_in_helper(obj1);
19468 if (arg2 == NULL) SWIG_fail;
19469 temp2 = true;
19470 }
19471 }
19472 if (obj2) {
19473 {
19474 arg3 = wxString_in_helper(obj2);
19475 if (arg3 == NULL) SWIG_fail;
19476 temp3 = true;
19477 }
19478 }
19479 if (obj3) {
19480 {
19481 arg4 = wxString_in_helper(obj3);
19482 if (arg4 == NULL) SWIG_fail;
19483 temp4 = true;
19484 }
19485 }
19486 if (obj4) {
19487 {
19488 arg5 = wxString_in_helper(obj4);
19489 if (arg5 == NULL) SWIG_fail;
19490 temp5 = true;
19491 }
19492 }
19493 if (obj5) {
19494 ecode6 = SWIG_AsVal_long(obj5, &val6);
19495 if (!SWIG_IsOK(ecode6)) {
19496 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
19497 }
19498 arg6 = static_cast< long >(val6);
19499 }
19500 if (obj6) {
19501 {
19502 arg7 = &temp7;
19503 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
19504 }
19505 }
19506 {
19507 if (!wxPyCheckForApp()) SWIG_fail;
19508 PyThreadState* __tstate = wxPyBeginAllowThreads();
19509 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
19510 wxPyEndAllowThreads(__tstate);
19511 if (PyErr_Occurred()) SWIG_fail;
19512 }
19513 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
19514 {
19515 if (temp2)
19516 delete arg2;
19517 }
19518 {
19519 if (temp3)
19520 delete arg3;
19521 }
19522 {
19523 if (temp4)
19524 delete arg4;
19525 }
19526 {
19527 if (temp5)
19528 delete arg5;
19529 }
19530 return resultobj;
19531 fail:
19532 {
19533 if (temp2)
19534 delete arg2;
19535 }
19536 {
19537 if (temp3)
19538 delete arg3;
19539 }
19540 {
19541 if (temp4)
19542 delete arg4;
19543 }
19544 {
19545 if (temp5)
19546 delete arg5;
19547 }
19548 return NULL;
19549 }
19550
19551
19552 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19553 PyObject *resultobj = 0;
19554 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19555 wxString *arg2 = 0 ;
19556 void *argp1 = 0 ;
19557 int res1 = 0 ;
19558 bool temp2 = false ;
19559 PyObject * obj0 = 0 ;
19560 PyObject * obj1 = 0 ;
19561 char * kwnames[] = {
19562 (char *) "self",(char *) "message", NULL
19563 };
19564
19565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
19566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19567 if (!SWIG_IsOK(res1)) {
19568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19569 }
19570 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19571 {
19572 arg2 = wxString_in_helper(obj1);
19573 if (arg2 == NULL) SWIG_fail;
19574 temp2 = true;
19575 }
19576 {
19577 PyThreadState* __tstate = wxPyBeginAllowThreads();
19578 (arg1)->SetMessage((wxString const &)*arg2);
19579 wxPyEndAllowThreads(__tstate);
19580 if (PyErr_Occurred()) SWIG_fail;
19581 }
19582 resultobj = SWIG_Py_Void();
19583 {
19584 if (temp2)
19585 delete arg2;
19586 }
19587 return resultobj;
19588 fail:
19589 {
19590 if (temp2)
19591 delete arg2;
19592 }
19593 return NULL;
19594 }
19595
19596
19597 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19598 PyObject *resultobj = 0;
19599 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19600 wxString *arg2 = 0 ;
19601 void *argp1 = 0 ;
19602 int res1 = 0 ;
19603 bool temp2 = false ;
19604 PyObject * obj0 = 0 ;
19605 PyObject * obj1 = 0 ;
19606 char * kwnames[] = {
19607 (char *) "self",(char *) "path", NULL
19608 };
19609
19610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
19611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19612 if (!SWIG_IsOK(res1)) {
19613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19614 }
19615 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19616 {
19617 arg2 = wxString_in_helper(obj1);
19618 if (arg2 == NULL) SWIG_fail;
19619 temp2 = true;
19620 }
19621 {
19622 PyThreadState* __tstate = wxPyBeginAllowThreads();
19623 (arg1)->SetPath((wxString const &)*arg2);
19624 wxPyEndAllowThreads(__tstate);
19625 if (PyErr_Occurred()) SWIG_fail;
19626 }
19627 resultobj = SWIG_Py_Void();
19628 {
19629 if (temp2)
19630 delete arg2;
19631 }
19632 return resultobj;
19633 fail:
19634 {
19635 if (temp2)
19636 delete arg2;
19637 }
19638 return NULL;
19639 }
19640
19641
19642 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19643 PyObject *resultobj = 0;
19644 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19645 wxString *arg2 = 0 ;
19646 void *argp1 = 0 ;
19647 int res1 = 0 ;
19648 bool temp2 = false ;
19649 PyObject * obj0 = 0 ;
19650 PyObject * obj1 = 0 ;
19651 char * kwnames[] = {
19652 (char *) "self",(char *) "dir", NULL
19653 };
19654
19655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
19656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19657 if (!SWIG_IsOK(res1)) {
19658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19659 }
19660 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19661 {
19662 arg2 = wxString_in_helper(obj1);
19663 if (arg2 == NULL) SWIG_fail;
19664 temp2 = true;
19665 }
19666 {
19667 PyThreadState* __tstate = wxPyBeginAllowThreads();
19668 (arg1)->SetDirectory((wxString const &)*arg2);
19669 wxPyEndAllowThreads(__tstate);
19670 if (PyErr_Occurred()) SWIG_fail;
19671 }
19672 resultobj = SWIG_Py_Void();
19673 {
19674 if (temp2)
19675 delete arg2;
19676 }
19677 return resultobj;
19678 fail:
19679 {
19680 if (temp2)
19681 delete arg2;
19682 }
19683 return NULL;
19684 }
19685
19686
19687 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19688 PyObject *resultobj = 0;
19689 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19690 wxString *arg2 = 0 ;
19691 void *argp1 = 0 ;
19692 int res1 = 0 ;
19693 bool temp2 = false ;
19694 PyObject * obj0 = 0 ;
19695 PyObject * obj1 = 0 ;
19696 char * kwnames[] = {
19697 (char *) "self",(char *) "name", NULL
19698 };
19699
19700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
19701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19702 if (!SWIG_IsOK(res1)) {
19703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19704 }
19705 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19706 {
19707 arg2 = wxString_in_helper(obj1);
19708 if (arg2 == NULL) SWIG_fail;
19709 temp2 = true;
19710 }
19711 {
19712 PyThreadState* __tstate = wxPyBeginAllowThreads();
19713 (arg1)->SetFilename((wxString const &)*arg2);
19714 wxPyEndAllowThreads(__tstate);
19715 if (PyErr_Occurred()) SWIG_fail;
19716 }
19717 resultobj = SWIG_Py_Void();
19718 {
19719 if (temp2)
19720 delete arg2;
19721 }
19722 return resultobj;
19723 fail:
19724 {
19725 if (temp2)
19726 delete arg2;
19727 }
19728 return NULL;
19729 }
19730
19731
19732 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19733 PyObject *resultobj = 0;
19734 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19735 wxString *arg2 = 0 ;
19736 void *argp1 = 0 ;
19737 int res1 = 0 ;
19738 bool temp2 = false ;
19739 PyObject * obj0 = 0 ;
19740 PyObject * obj1 = 0 ;
19741 char * kwnames[] = {
19742 (char *) "self",(char *) "wildCard", NULL
19743 };
19744
19745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
19746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19747 if (!SWIG_IsOK(res1)) {
19748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19749 }
19750 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19751 {
19752 arg2 = wxString_in_helper(obj1);
19753 if (arg2 == NULL) SWIG_fail;
19754 temp2 = true;
19755 }
19756 {
19757 PyThreadState* __tstate = wxPyBeginAllowThreads();
19758 (arg1)->SetWildcard((wxString const &)*arg2);
19759 wxPyEndAllowThreads(__tstate);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 resultobj = SWIG_Py_Void();
19763 {
19764 if (temp2)
19765 delete arg2;
19766 }
19767 return resultobj;
19768 fail:
19769 {
19770 if (temp2)
19771 delete arg2;
19772 }
19773 return NULL;
19774 }
19775
19776
19777 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19778 PyObject *resultobj = 0;
19779 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19780 int arg2 ;
19781 void *argp1 = 0 ;
19782 int res1 = 0 ;
19783 int val2 ;
19784 int ecode2 = 0 ;
19785 PyObject * obj0 = 0 ;
19786 PyObject * obj1 = 0 ;
19787 char * kwnames[] = {
19788 (char *) "self",(char *) "filterIndex", NULL
19789 };
19790
19791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
19792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19793 if (!SWIG_IsOK(res1)) {
19794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19795 }
19796 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19797 ecode2 = SWIG_AsVal_int(obj1, &val2);
19798 if (!SWIG_IsOK(ecode2)) {
19799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
19800 }
19801 arg2 = static_cast< int >(val2);
19802 {
19803 PyThreadState* __tstate = wxPyBeginAllowThreads();
19804 (arg1)->SetFilterIndex(arg2);
19805 wxPyEndAllowThreads(__tstate);
19806 if (PyErr_Occurred()) SWIG_fail;
19807 }
19808 resultobj = SWIG_Py_Void();
19809 return resultobj;
19810 fail:
19811 return NULL;
19812 }
19813
19814
19815 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19816 PyObject *resultobj = 0;
19817 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19818 wxString result;
19819 void *argp1 = 0 ;
19820 int res1 = 0 ;
19821 PyObject *swig_obj[1] ;
19822
19823 if (!args) SWIG_fail;
19824 swig_obj[0] = args;
19825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19826 if (!SWIG_IsOK(res1)) {
19827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19828 }
19829 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19830 {
19831 PyThreadState* __tstate = wxPyBeginAllowThreads();
19832 result = ((wxFileDialog const *)arg1)->GetMessage();
19833 wxPyEndAllowThreads(__tstate);
19834 if (PyErr_Occurred()) SWIG_fail;
19835 }
19836 {
19837 #if wxUSE_UNICODE
19838 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19839 #else
19840 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19841 #endif
19842 }
19843 return resultobj;
19844 fail:
19845 return NULL;
19846 }
19847
19848
19849 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19850 PyObject *resultobj = 0;
19851 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19852 wxString result;
19853 void *argp1 = 0 ;
19854 int res1 = 0 ;
19855 PyObject *swig_obj[1] ;
19856
19857 if (!args) SWIG_fail;
19858 swig_obj[0] = args;
19859 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19860 if (!SWIG_IsOK(res1)) {
19861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19862 }
19863 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19864 {
19865 PyThreadState* __tstate = wxPyBeginAllowThreads();
19866 result = ((wxFileDialog const *)arg1)->GetPath();
19867 wxPyEndAllowThreads(__tstate);
19868 if (PyErr_Occurred()) SWIG_fail;
19869 }
19870 {
19871 #if wxUSE_UNICODE
19872 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19873 #else
19874 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19875 #endif
19876 }
19877 return resultobj;
19878 fail:
19879 return NULL;
19880 }
19881
19882
19883 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19884 PyObject *resultobj = 0;
19885 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19886 wxString result;
19887 void *argp1 = 0 ;
19888 int res1 = 0 ;
19889 PyObject *swig_obj[1] ;
19890
19891 if (!args) SWIG_fail;
19892 swig_obj[0] = args;
19893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19894 if (!SWIG_IsOK(res1)) {
19895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19896 }
19897 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19898 {
19899 PyThreadState* __tstate = wxPyBeginAllowThreads();
19900 result = ((wxFileDialog const *)arg1)->GetDirectory();
19901 wxPyEndAllowThreads(__tstate);
19902 if (PyErr_Occurred()) SWIG_fail;
19903 }
19904 {
19905 #if wxUSE_UNICODE
19906 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19907 #else
19908 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19909 #endif
19910 }
19911 return resultobj;
19912 fail:
19913 return NULL;
19914 }
19915
19916
19917 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19918 PyObject *resultobj = 0;
19919 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19920 wxString result;
19921 void *argp1 = 0 ;
19922 int res1 = 0 ;
19923 PyObject *swig_obj[1] ;
19924
19925 if (!args) SWIG_fail;
19926 swig_obj[0] = args;
19927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19928 if (!SWIG_IsOK(res1)) {
19929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19930 }
19931 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19932 {
19933 PyThreadState* __tstate = wxPyBeginAllowThreads();
19934 result = ((wxFileDialog const *)arg1)->GetFilename();
19935 wxPyEndAllowThreads(__tstate);
19936 if (PyErr_Occurred()) SWIG_fail;
19937 }
19938 {
19939 #if wxUSE_UNICODE
19940 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19941 #else
19942 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19943 #endif
19944 }
19945 return resultobj;
19946 fail:
19947 return NULL;
19948 }
19949
19950
19951 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19952 PyObject *resultobj = 0;
19953 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19954 wxString result;
19955 void *argp1 = 0 ;
19956 int res1 = 0 ;
19957 PyObject *swig_obj[1] ;
19958
19959 if (!args) SWIG_fail;
19960 swig_obj[0] = args;
19961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19962 if (!SWIG_IsOK(res1)) {
19963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19964 }
19965 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19966 {
19967 PyThreadState* __tstate = wxPyBeginAllowThreads();
19968 result = ((wxFileDialog const *)arg1)->GetWildcard();
19969 wxPyEndAllowThreads(__tstate);
19970 if (PyErr_Occurred()) SWIG_fail;
19971 }
19972 {
19973 #if wxUSE_UNICODE
19974 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19975 #else
19976 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19977 #endif
19978 }
19979 return resultobj;
19980 fail:
19981 return NULL;
19982 }
19983
19984
19985 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19986 PyObject *resultobj = 0;
19987 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19988 int result;
19989 void *argp1 = 0 ;
19990 int res1 = 0 ;
19991 PyObject *swig_obj[1] ;
19992
19993 if (!args) SWIG_fail;
19994 swig_obj[0] = args;
19995 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19996 if (!SWIG_IsOK(res1)) {
19997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19998 }
19999 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20000 {
20001 PyThreadState* __tstate = wxPyBeginAllowThreads();
20002 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
20003 wxPyEndAllowThreads(__tstate);
20004 if (PyErr_Occurred()) SWIG_fail;
20005 }
20006 resultobj = SWIG_From_int(static_cast< int >(result));
20007 return resultobj;
20008 fail:
20009 return NULL;
20010 }
20011
20012
20013 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20014 PyObject *resultobj = 0;
20015 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20016 PyObject *result = 0 ;
20017 void *argp1 = 0 ;
20018 int res1 = 0 ;
20019 PyObject *swig_obj[1] ;
20020
20021 if (!args) SWIG_fail;
20022 swig_obj[0] = args;
20023 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20024 if (!SWIG_IsOK(res1)) {
20025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
20026 }
20027 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20028 {
20029 PyThreadState* __tstate = wxPyBeginAllowThreads();
20030 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
20031 wxPyEndAllowThreads(__tstate);
20032 if (PyErr_Occurred()) SWIG_fail;
20033 }
20034 resultobj = result;
20035 return resultobj;
20036 fail:
20037 return NULL;
20038 }
20039
20040
20041 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20042 PyObject *resultobj = 0;
20043 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20044 PyObject *result = 0 ;
20045 void *argp1 = 0 ;
20046 int res1 = 0 ;
20047 PyObject *swig_obj[1] ;
20048
20049 if (!args) SWIG_fail;
20050 swig_obj[0] = args;
20051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20052 if (!SWIG_IsOK(res1)) {
20053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
20054 }
20055 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20056 {
20057 PyThreadState* __tstate = wxPyBeginAllowThreads();
20058 result = (PyObject *)wxFileDialog_GetPaths(arg1);
20059 wxPyEndAllowThreads(__tstate);
20060 if (PyErr_Occurred()) SWIG_fail;
20061 }
20062 resultobj = result;
20063 return resultobj;
20064 fail:
20065 return NULL;
20066 }
20067
20068
20069 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20070 PyObject *obj;
20071 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20072 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
20073 return SWIG_Py_Void();
20074 }
20075
20076 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20077 return SWIG_Python_InitShadowInstance(args);
20078 }
20079
20080 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20081 PyObject *resultobj = 0;
20082 wxWindow *arg1 = (wxWindow *) 0 ;
20083 wxString *arg2 = 0 ;
20084 wxString *arg3 = 0 ;
20085 int arg4 = (int) 0 ;
20086 wxString *arg5 = (wxString *) NULL ;
20087 long arg6 = (long) wxCHOICEDLG_STYLE ;
20088 wxPoint const &arg7_defvalue = wxDefaultPosition ;
20089 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
20090 wxMultiChoiceDialog *result = 0 ;
20091 void *argp1 = 0 ;
20092 int res1 = 0 ;
20093 bool temp2 = false ;
20094 bool temp3 = false ;
20095 long val6 ;
20096 int ecode6 = 0 ;
20097 wxPoint temp7 ;
20098 PyObject * obj0 = 0 ;
20099 PyObject * obj1 = 0 ;
20100 PyObject * obj2 = 0 ;
20101 PyObject * obj3 = 0 ;
20102 PyObject * obj4 = 0 ;
20103 PyObject * obj5 = 0 ;
20104 char * kwnames[] = {
20105 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
20106 };
20107
20108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20110 if (!SWIG_IsOK(res1)) {
20111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20112 }
20113 arg1 = reinterpret_cast< wxWindow * >(argp1);
20114 {
20115 arg2 = wxString_in_helper(obj1);
20116 if (arg2 == NULL) SWIG_fail;
20117 temp2 = true;
20118 }
20119 {
20120 arg3 = wxString_in_helper(obj2);
20121 if (arg3 == NULL) SWIG_fail;
20122 temp3 = true;
20123 }
20124 if (obj3) {
20125 {
20126 arg4 = PyList_Size(obj3);
20127 arg5 = wxString_LIST_helper(obj3);
20128 if (arg5 == NULL) SWIG_fail;
20129 }
20130 }
20131 if (obj4) {
20132 ecode6 = SWIG_AsVal_long(obj4, &val6);
20133 if (!SWIG_IsOK(ecode6)) {
20134 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
20135 }
20136 arg6 = static_cast< long >(val6);
20137 }
20138 if (obj5) {
20139 {
20140 arg7 = &temp7;
20141 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
20142 }
20143 }
20144 {
20145 if (!wxPyCheckForApp()) SWIG_fail;
20146 PyThreadState* __tstate = wxPyBeginAllowThreads();
20147 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
20148 wxPyEndAllowThreads(__tstate);
20149 if (PyErr_Occurred()) SWIG_fail;
20150 }
20151 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
20152 {
20153 if (temp2)
20154 delete arg2;
20155 }
20156 {
20157 if (temp3)
20158 delete arg3;
20159 }
20160 {
20161 if (arg5) delete [] arg5;
20162 }
20163 return resultobj;
20164 fail:
20165 {
20166 if (temp2)
20167 delete arg2;
20168 }
20169 {
20170 if (temp3)
20171 delete arg3;
20172 }
20173 {
20174 if (arg5) delete [] arg5;
20175 }
20176 return NULL;
20177 }
20178
20179
20180 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20181 PyObject *resultobj = 0;
20182 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
20183 wxArrayInt *arg2 = 0 ;
20184 void *argp1 = 0 ;
20185 int res1 = 0 ;
20186 bool temp2 = false ;
20187 PyObject * obj0 = 0 ;
20188 PyObject * obj1 = 0 ;
20189 char * kwnames[] = {
20190 (char *) "self",(char *) "selections", NULL
20191 };
20192
20193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
20194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
20195 if (!SWIG_IsOK(res1)) {
20196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
20197 }
20198 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
20199 {
20200 if (! PySequence_Check(obj1)) {
20201 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
20202 SWIG_fail;
20203 }
20204 arg2 = new wxArrayInt;
20205 temp2 = true;
20206 int i, len=PySequence_Length(obj1);
20207 for (i=0; i<len; i++) {
20208 PyObject* item = PySequence_GetItem(obj1, i);
20209 PyObject* number = PyNumber_Int(item);
20210 if (!number) {
20211 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
20212 SWIG_fail;
20213 }
20214 arg2->Add(PyInt_AS_LONG(number));
20215 Py_DECREF(item);
20216 Py_DECREF(number);
20217 }
20218 }
20219 {
20220 PyThreadState* __tstate = wxPyBeginAllowThreads();
20221 (arg1)->SetSelections((wxArrayInt const &)*arg2);
20222 wxPyEndAllowThreads(__tstate);
20223 if (PyErr_Occurred()) SWIG_fail;
20224 }
20225 resultobj = SWIG_Py_Void();
20226 {
20227 if (temp2) delete arg2;
20228 }
20229 return resultobj;
20230 fail:
20231 {
20232 if (temp2) delete arg2;
20233 }
20234 return NULL;
20235 }
20236
20237
20238 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20239 PyObject *resultobj = 0;
20240 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
20241 PyObject *result = 0 ;
20242 void *argp1 = 0 ;
20243 int res1 = 0 ;
20244 PyObject *swig_obj[1] ;
20245
20246 if (!args) SWIG_fail;
20247 swig_obj[0] = args;
20248 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
20249 if (!SWIG_IsOK(res1)) {
20250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
20251 }
20252 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
20253 {
20254 PyThreadState* __tstate = wxPyBeginAllowThreads();
20255 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
20256 wxPyEndAllowThreads(__tstate);
20257 if (PyErr_Occurred()) SWIG_fail;
20258 }
20259 resultobj = result;
20260 return resultobj;
20261 fail:
20262 return NULL;
20263 }
20264
20265
20266 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20267 PyObject *obj;
20268 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20269 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
20270 return SWIG_Py_Void();
20271 }
20272
20273 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20274 return SWIG_Python_InitShadowInstance(args);
20275 }
20276
20277 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20278 PyObject *resultobj = 0;
20279 wxWindow *arg1 = (wxWindow *) 0 ;
20280 wxString *arg2 = 0 ;
20281 wxString *arg3 = 0 ;
20282 int arg4 ;
20283 wxString *arg5 = (wxString *) 0 ;
20284 long arg6 = (long) wxCHOICEDLG_STYLE ;
20285 wxPoint const &arg7_defvalue = wxDefaultPosition ;
20286 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
20287 wxSingleChoiceDialog *result = 0 ;
20288 void *argp1 = 0 ;
20289 int res1 = 0 ;
20290 bool temp2 = false ;
20291 bool temp3 = false ;
20292 long val6 ;
20293 int ecode6 = 0 ;
20294 wxPoint temp7 ;
20295 PyObject * obj0 = 0 ;
20296 PyObject * obj1 = 0 ;
20297 PyObject * obj2 = 0 ;
20298 PyObject * obj3 = 0 ;
20299 PyObject * obj4 = 0 ;
20300 PyObject * obj5 = 0 ;
20301 char * kwnames[] = {
20302 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
20303 };
20304
20305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20307 if (!SWIG_IsOK(res1)) {
20308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20309 }
20310 arg1 = reinterpret_cast< wxWindow * >(argp1);
20311 {
20312 arg2 = wxString_in_helper(obj1);
20313 if (arg2 == NULL) SWIG_fail;
20314 temp2 = true;
20315 }
20316 {
20317 arg3 = wxString_in_helper(obj2);
20318 if (arg3 == NULL) SWIG_fail;
20319 temp3 = true;
20320 }
20321 {
20322 arg4 = PyList_Size(obj3);
20323 arg5 = wxString_LIST_helper(obj3);
20324 if (arg5 == NULL) SWIG_fail;
20325 }
20326 if (obj4) {
20327 ecode6 = SWIG_AsVal_long(obj4, &val6);
20328 if (!SWIG_IsOK(ecode6)) {
20329 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
20330 }
20331 arg6 = static_cast< long >(val6);
20332 }
20333 if (obj5) {
20334 {
20335 arg7 = &temp7;
20336 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
20337 }
20338 }
20339 {
20340 if (!wxPyCheckForApp()) SWIG_fail;
20341 PyThreadState* __tstate = wxPyBeginAllowThreads();
20342 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
20343 wxPyEndAllowThreads(__tstate);
20344 if (PyErr_Occurred()) SWIG_fail;
20345 }
20346 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
20347 {
20348 if (temp2)
20349 delete arg2;
20350 }
20351 {
20352 if (temp3)
20353 delete arg3;
20354 }
20355 {
20356 if (arg5) delete [] arg5;
20357 }
20358 return resultobj;
20359 fail:
20360 {
20361 if (temp2)
20362 delete arg2;
20363 }
20364 {
20365 if (temp3)
20366 delete arg3;
20367 }
20368 {
20369 if (arg5) delete [] arg5;
20370 }
20371 return NULL;
20372 }
20373
20374
20375 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20376 PyObject *resultobj = 0;
20377 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
20378 int result;
20379 void *argp1 = 0 ;
20380 int res1 = 0 ;
20381 PyObject *swig_obj[1] ;
20382
20383 if (!args) SWIG_fail;
20384 swig_obj[0] = args;
20385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
20386 if (!SWIG_IsOK(res1)) {
20387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20388 }
20389 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
20390 {
20391 PyThreadState* __tstate = wxPyBeginAllowThreads();
20392 result = (int)(arg1)->GetSelection();
20393 wxPyEndAllowThreads(__tstate);
20394 if (PyErr_Occurred()) SWIG_fail;
20395 }
20396 resultobj = SWIG_From_int(static_cast< int >(result));
20397 return resultobj;
20398 fail:
20399 return NULL;
20400 }
20401
20402
20403 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20404 PyObject *resultobj = 0;
20405 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
20406 wxString result;
20407 void *argp1 = 0 ;
20408 int res1 = 0 ;
20409 PyObject *swig_obj[1] ;
20410
20411 if (!args) SWIG_fail;
20412 swig_obj[0] = args;
20413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
20414 if (!SWIG_IsOK(res1)) {
20415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20416 }
20417 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
20418 {
20419 PyThreadState* __tstate = wxPyBeginAllowThreads();
20420 result = (arg1)->GetStringSelection();
20421 wxPyEndAllowThreads(__tstate);
20422 if (PyErr_Occurred()) SWIG_fail;
20423 }
20424 {
20425 #if wxUSE_UNICODE
20426 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20427 #else
20428 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20429 #endif
20430 }
20431 return resultobj;
20432 fail:
20433 return NULL;
20434 }
20435
20436
20437 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20438 PyObject *resultobj = 0;
20439 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
20440 int arg2 ;
20441 void *argp1 = 0 ;
20442 int res1 = 0 ;
20443 int val2 ;
20444 int ecode2 = 0 ;
20445 PyObject * obj0 = 0 ;
20446 PyObject * obj1 = 0 ;
20447 char * kwnames[] = {
20448 (char *) "self",(char *) "sel", NULL
20449 };
20450
20451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
20453 if (!SWIG_IsOK(res1)) {
20454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20455 }
20456 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
20457 ecode2 = SWIG_AsVal_int(obj1, &val2);
20458 if (!SWIG_IsOK(ecode2)) {
20459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
20460 }
20461 arg2 = static_cast< int >(val2);
20462 {
20463 PyThreadState* __tstate = wxPyBeginAllowThreads();
20464 (arg1)->SetSelection(arg2);
20465 wxPyEndAllowThreads(__tstate);
20466 if (PyErr_Occurred()) SWIG_fail;
20467 }
20468 resultobj = SWIG_Py_Void();
20469 return resultobj;
20470 fail:
20471 return NULL;
20472 }
20473
20474
20475 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20476 PyObject *obj;
20477 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20478 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
20479 return SWIG_Py_Void();
20480 }
20481
20482 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20483 return SWIG_Python_InitShadowInstance(args);
20484 }
20485
20486 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20487 PyObject *resultobj = 0;
20488 wxWindow *arg1 = (wxWindow *) 0 ;
20489 wxString *arg2 = 0 ;
20490 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
20491 wxString *arg3 = (wxString *) &arg3_defvalue ;
20492 wxString const &arg4_defvalue = wxPyEmptyString ;
20493 wxString *arg4 = (wxString *) &arg4_defvalue ;
20494 long arg5 = (long) wxTextEntryDialogStyle ;
20495 wxPoint const &arg6_defvalue = wxDefaultPosition ;
20496 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
20497 wxTextEntryDialog *result = 0 ;
20498 void *argp1 = 0 ;
20499 int res1 = 0 ;
20500 bool temp2 = false ;
20501 bool temp3 = false ;
20502 bool temp4 = false ;
20503 long val5 ;
20504 int ecode5 = 0 ;
20505 wxPoint temp6 ;
20506 PyObject * obj0 = 0 ;
20507 PyObject * obj1 = 0 ;
20508 PyObject * obj2 = 0 ;
20509 PyObject * obj3 = 0 ;
20510 PyObject * obj4 = 0 ;
20511 PyObject * obj5 = 0 ;
20512 char * kwnames[] = {
20513 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
20514 };
20515
20516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20518 if (!SWIG_IsOK(res1)) {
20519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20520 }
20521 arg1 = reinterpret_cast< wxWindow * >(argp1);
20522 {
20523 arg2 = wxString_in_helper(obj1);
20524 if (arg2 == NULL) SWIG_fail;
20525 temp2 = true;
20526 }
20527 if (obj2) {
20528 {
20529 arg3 = wxString_in_helper(obj2);
20530 if (arg3 == NULL) SWIG_fail;
20531 temp3 = true;
20532 }
20533 }
20534 if (obj3) {
20535 {
20536 arg4 = wxString_in_helper(obj3);
20537 if (arg4 == NULL) SWIG_fail;
20538 temp4 = true;
20539 }
20540 }
20541 if (obj4) {
20542 ecode5 = SWIG_AsVal_long(obj4, &val5);
20543 if (!SWIG_IsOK(ecode5)) {
20544 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
20545 }
20546 arg5 = static_cast< long >(val5);
20547 }
20548 if (obj5) {
20549 {
20550 arg6 = &temp6;
20551 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
20552 }
20553 }
20554 {
20555 if (!wxPyCheckForApp()) SWIG_fail;
20556 PyThreadState* __tstate = wxPyBeginAllowThreads();
20557 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
20558 wxPyEndAllowThreads(__tstate);
20559 if (PyErr_Occurred()) SWIG_fail;
20560 }
20561 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
20562 {
20563 if (temp2)
20564 delete arg2;
20565 }
20566 {
20567 if (temp3)
20568 delete arg3;
20569 }
20570 {
20571 if (temp4)
20572 delete arg4;
20573 }
20574 return resultobj;
20575 fail:
20576 {
20577 if (temp2)
20578 delete arg2;
20579 }
20580 {
20581 if (temp3)
20582 delete arg3;
20583 }
20584 {
20585 if (temp4)
20586 delete arg4;
20587 }
20588 return NULL;
20589 }
20590
20591
20592 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20593 PyObject *resultobj = 0;
20594 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
20595 wxString result;
20596 void *argp1 = 0 ;
20597 int res1 = 0 ;
20598 PyObject *swig_obj[1] ;
20599
20600 if (!args) SWIG_fail;
20601 swig_obj[0] = args;
20602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
20603 if (!SWIG_IsOK(res1)) {
20604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
20605 }
20606 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
20607 {
20608 PyThreadState* __tstate = wxPyBeginAllowThreads();
20609 result = (arg1)->GetValue();
20610 wxPyEndAllowThreads(__tstate);
20611 if (PyErr_Occurred()) SWIG_fail;
20612 }
20613 {
20614 #if wxUSE_UNICODE
20615 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20616 #else
20617 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20618 #endif
20619 }
20620 return resultobj;
20621 fail:
20622 return NULL;
20623 }
20624
20625
20626 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20627 PyObject *resultobj = 0;
20628 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
20629 wxString *arg2 = 0 ;
20630 void *argp1 = 0 ;
20631 int res1 = 0 ;
20632 bool temp2 = false ;
20633 PyObject * obj0 = 0 ;
20634 PyObject * obj1 = 0 ;
20635 char * kwnames[] = {
20636 (char *) "self",(char *) "value", NULL
20637 };
20638
20639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
20640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
20641 if (!SWIG_IsOK(res1)) {
20642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
20643 }
20644 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
20645 {
20646 arg2 = wxString_in_helper(obj1);
20647 if (arg2 == NULL) SWIG_fail;
20648 temp2 = true;
20649 }
20650 {
20651 PyThreadState* __tstate = wxPyBeginAllowThreads();
20652 (arg1)->SetValue((wxString const &)*arg2);
20653 wxPyEndAllowThreads(__tstate);
20654 if (PyErr_Occurred()) SWIG_fail;
20655 }
20656 resultobj = SWIG_Py_Void();
20657 {
20658 if (temp2)
20659 delete arg2;
20660 }
20661 return resultobj;
20662 fail:
20663 {
20664 if (temp2)
20665 delete arg2;
20666 }
20667 return NULL;
20668 }
20669
20670
20671 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20672 PyObject *obj;
20673 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20674 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
20675 return SWIG_Py_Void();
20676 }
20677
20678 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20679 return SWIG_Python_InitShadowInstance(args);
20680 }
20681
20682 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
20683 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
20684 return 1;
20685 }
20686
20687
20688 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
20689 PyObject *pyobj = 0;
20690
20691 {
20692 #if wxUSE_UNICODE
20693 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
20694 #else
20695 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
20696 #endif
20697 }
20698 return pyobj;
20699 }
20700
20701
20702 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20703 PyObject *resultobj = 0;
20704 wxWindow *arg1 = (wxWindow *) 0 ;
20705 wxString *arg2 = 0 ;
20706 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
20707 wxString *arg3 = (wxString *) &arg3_defvalue ;
20708 wxString const &arg4_defvalue = wxPyEmptyString ;
20709 wxString *arg4 = (wxString *) &arg4_defvalue ;
20710 long arg5 = (long) wxTextEntryDialogStyle ;
20711 wxPoint const &arg6_defvalue = wxDefaultPosition ;
20712 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
20713 wxPasswordEntryDialog *result = 0 ;
20714 void *argp1 = 0 ;
20715 int res1 = 0 ;
20716 bool temp2 = false ;
20717 bool temp3 = false ;
20718 bool temp4 = false ;
20719 long val5 ;
20720 int ecode5 = 0 ;
20721 wxPoint temp6 ;
20722 PyObject * obj0 = 0 ;
20723 PyObject * obj1 = 0 ;
20724 PyObject * obj2 = 0 ;
20725 PyObject * obj3 = 0 ;
20726 PyObject * obj4 = 0 ;
20727 PyObject * obj5 = 0 ;
20728 char * kwnames[] = {
20729 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
20730 };
20731
20732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20734 if (!SWIG_IsOK(res1)) {
20735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20736 }
20737 arg1 = reinterpret_cast< wxWindow * >(argp1);
20738 {
20739 arg2 = wxString_in_helper(obj1);
20740 if (arg2 == NULL) SWIG_fail;
20741 temp2 = true;
20742 }
20743 if (obj2) {
20744 {
20745 arg3 = wxString_in_helper(obj2);
20746 if (arg3 == NULL) SWIG_fail;
20747 temp3 = true;
20748 }
20749 }
20750 if (obj3) {
20751 {
20752 arg4 = wxString_in_helper(obj3);
20753 if (arg4 == NULL) SWIG_fail;
20754 temp4 = true;
20755 }
20756 }
20757 if (obj4) {
20758 ecode5 = SWIG_AsVal_long(obj4, &val5);
20759 if (!SWIG_IsOK(ecode5)) {
20760 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
20761 }
20762 arg5 = static_cast< long >(val5);
20763 }
20764 if (obj5) {
20765 {
20766 arg6 = &temp6;
20767 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
20768 }
20769 }
20770 {
20771 PyThreadState* __tstate = wxPyBeginAllowThreads();
20772 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
20773 wxPyEndAllowThreads(__tstate);
20774 if (PyErr_Occurred()) SWIG_fail;
20775 }
20776 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
20777 {
20778 if (temp2)
20779 delete arg2;
20780 }
20781 {
20782 if (temp3)
20783 delete arg3;
20784 }
20785 {
20786 if (temp4)
20787 delete arg4;
20788 }
20789 return resultobj;
20790 fail:
20791 {
20792 if (temp2)
20793 delete arg2;
20794 }
20795 {
20796 if (temp3)
20797 delete arg3;
20798 }
20799 {
20800 if (temp4)
20801 delete arg4;
20802 }
20803 return NULL;
20804 }
20805
20806
20807 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20808 PyObject *obj;
20809 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20810 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
20811 return SWIG_Py_Void();
20812 }
20813
20814 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20815 return SWIG_Python_InitShadowInstance(args);
20816 }
20817
20818 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20819 PyObject *resultobj = 0;
20820 wxWindow *arg1 = (wxWindow *) 0 ;
20821 wxString *arg2 = 0 ;
20822 wxString *arg3 = 0 ;
20823 wxString *arg4 = 0 ;
20824 long arg5 ;
20825 long arg6 ;
20826 long arg7 ;
20827 wxPoint const &arg8_defvalue = wxDefaultPosition ;
20828 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
20829 wxNumberEntryDialog *result = 0 ;
20830 void *argp1 = 0 ;
20831 int res1 = 0 ;
20832 bool temp2 = false ;
20833 bool temp3 = false ;
20834 bool temp4 = false ;
20835 long val5 ;
20836 int ecode5 = 0 ;
20837 long val6 ;
20838 int ecode6 = 0 ;
20839 long val7 ;
20840 int ecode7 = 0 ;
20841 wxPoint temp8 ;
20842 PyObject * obj0 = 0 ;
20843 PyObject * obj1 = 0 ;
20844 PyObject * obj2 = 0 ;
20845 PyObject * obj3 = 0 ;
20846 PyObject * obj4 = 0 ;
20847 PyObject * obj5 = 0 ;
20848 PyObject * obj6 = 0 ;
20849 PyObject * obj7 = 0 ;
20850 char * kwnames[] = {
20851 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
20852 };
20853
20854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20856 if (!SWIG_IsOK(res1)) {
20857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20858 }
20859 arg1 = reinterpret_cast< wxWindow * >(argp1);
20860 {
20861 arg2 = wxString_in_helper(obj1);
20862 if (arg2 == NULL) SWIG_fail;
20863 temp2 = true;
20864 }
20865 {
20866 arg3 = wxString_in_helper(obj2);
20867 if (arg3 == NULL) SWIG_fail;
20868 temp3 = true;
20869 }
20870 {
20871 arg4 = wxString_in_helper(obj3);
20872 if (arg4 == NULL) SWIG_fail;
20873 temp4 = true;
20874 }
20875 ecode5 = SWIG_AsVal_long(obj4, &val5);
20876 if (!SWIG_IsOK(ecode5)) {
20877 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
20878 }
20879 arg5 = static_cast< long >(val5);
20880 ecode6 = SWIG_AsVal_long(obj5, &val6);
20881 if (!SWIG_IsOK(ecode6)) {
20882 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
20883 }
20884 arg6 = static_cast< long >(val6);
20885 ecode7 = SWIG_AsVal_long(obj6, &val7);
20886 if (!SWIG_IsOK(ecode7)) {
20887 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
20888 }
20889 arg7 = static_cast< long >(val7);
20890 if (obj7) {
20891 {
20892 arg8 = &temp8;
20893 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
20894 }
20895 }
20896 {
20897 if (!wxPyCheckForApp()) SWIG_fail;
20898 PyThreadState* __tstate = wxPyBeginAllowThreads();
20899 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
20900 wxPyEndAllowThreads(__tstate);
20901 if (PyErr_Occurred()) SWIG_fail;
20902 }
20903 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
20904 {
20905 if (temp2)
20906 delete arg2;
20907 }
20908 {
20909 if (temp3)
20910 delete arg3;
20911 }
20912 {
20913 if (temp4)
20914 delete arg4;
20915 }
20916 return resultobj;
20917 fail:
20918 {
20919 if (temp2)
20920 delete arg2;
20921 }
20922 {
20923 if (temp3)
20924 delete arg3;
20925 }
20926 {
20927 if (temp4)
20928 delete arg4;
20929 }
20930 return NULL;
20931 }
20932
20933
20934 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20935 PyObject *resultobj = 0;
20936 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
20937 long result;
20938 void *argp1 = 0 ;
20939 int res1 = 0 ;
20940 PyObject *swig_obj[1] ;
20941
20942 if (!args) SWIG_fail;
20943 swig_obj[0] = args;
20944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
20945 if (!SWIG_IsOK(res1)) {
20946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
20947 }
20948 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
20949 {
20950 PyThreadState* __tstate = wxPyBeginAllowThreads();
20951 result = (long)(arg1)->GetValue();
20952 wxPyEndAllowThreads(__tstate);
20953 if (PyErr_Occurred()) SWIG_fail;
20954 }
20955 resultobj = SWIG_From_long(static_cast< long >(result));
20956 return resultobj;
20957 fail:
20958 return NULL;
20959 }
20960
20961
20962 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20963 PyObject *obj;
20964 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20965 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
20966 return SWIG_Py_Void();
20967 }
20968
20969 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20970 return SWIG_Python_InitShadowInstance(args);
20971 }
20972
20973 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20974 PyObject *resultobj = 0;
20975 wxFontData *result = 0 ;
20976
20977 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
20978 {
20979 PyThreadState* __tstate = wxPyBeginAllowThreads();
20980 result = (wxFontData *)new wxFontData();
20981 wxPyEndAllowThreads(__tstate);
20982 if (PyErr_Occurred()) SWIG_fail;
20983 }
20984 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
20985 return resultobj;
20986 fail:
20987 return NULL;
20988 }
20989
20990
20991 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20992 PyObject *resultobj = 0;
20993 wxFontData *arg1 = (wxFontData *) 0 ;
20994 void *argp1 = 0 ;
20995 int res1 = 0 ;
20996 PyObject *swig_obj[1] ;
20997
20998 if (!args) SWIG_fail;
20999 swig_obj[0] = args;
21000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
21001 if (!SWIG_IsOK(res1)) {
21002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
21003 }
21004 arg1 = reinterpret_cast< wxFontData * >(argp1);
21005 {
21006 PyThreadState* __tstate = wxPyBeginAllowThreads();
21007 delete arg1;
21008
21009 wxPyEndAllowThreads(__tstate);
21010 if (PyErr_Occurred()) SWIG_fail;
21011 }
21012 resultobj = SWIG_Py_Void();
21013 return resultobj;
21014 fail:
21015 return NULL;
21016 }
21017
21018
21019 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21020 PyObject *resultobj = 0;
21021 wxFontData *arg1 = (wxFontData *) 0 ;
21022 bool arg2 ;
21023 void *argp1 = 0 ;
21024 int res1 = 0 ;
21025 bool val2 ;
21026 int ecode2 = 0 ;
21027 PyObject * obj0 = 0 ;
21028 PyObject * obj1 = 0 ;
21029 char * kwnames[] = {
21030 (char *) "self",(char *) "enable", NULL
21031 };
21032
21033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
21034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21035 if (!SWIG_IsOK(res1)) {
21036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
21037 }
21038 arg1 = reinterpret_cast< wxFontData * >(argp1);
21039 ecode2 = SWIG_AsVal_bool(obj1, &val2);
21040 if (!SWIG_IsOK(ecode2)) {
21041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
21042 }
21043 arg2 = static_cast< bool >(val2);
21044 {
21045 PyThreadState* __tstate = wxPyBeginAllowThreads();
21046 (arg1)->EnableEffects(arg2);
21047 wxPyEndAllowThreads(__tstate);
21048 if (PyErr_Occurred()) SWIG_fail;
21049 }
21050 resultobj = SWIG_Py_Void();
21051 return resultobj;
21052 fail:
21053 return NULL;
21054 }
21055
21056
21057 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21058 PyObject *resultobj = 0;
21059 wxFontData *arg1 = (wxFontData *) 0 ;
21060 bool result;
21061 void *argp1 = 0 ;
21062 int res1 = 0 ;
21063 PyObject *swig_obj[1] ;
21064
21065 if (!args) SWIG_fail;
21066 swig_obj[0] = args;
21067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21068 if (!SWIG_IsOK(res1)) {
21069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
21070 }
21071 arg1 = reinterpret_cast< wxFontData * >(argp1);
21072 {
21073 PyThreadState* __tstate = wxPyBeginAllowThreads();
21074 result = (bool)(arg1)->GetAllowSymbols();
21075 wxPyEndAllowThreads(__tstate);
21076 if (PyErr_Occurred()) SWIG_fail;
21077 }
21078 {
21079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21080 }
21081 return resultobj;
21082 fail:
21083 return NULL;
21084 }
21085
21086
21087 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21088 PyObject *resultobj = 0;
21089 wxFontData *arg1 = (wxFontData *) 0 ;
21090 wxColour result;
21091 void *argp1 = 0 ;
21092 int res1 = 0 ;
21093 PyObject *swig_obj[1] ;
21094
21095 if (!args) SWIG_fail;
21096 swig_obj[0] = args;
21097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21098 if (!SWIG_IsOK(res1)) {
21099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
21100 }
21101 arg1 = reinterpret_cast< wxFontData * >(argp1);
21102 {
21103 PyThreadState* __tstate = wxPyBeginAllowThreads();
21104 result = (arg1)->GetColour();
21105 wxPyEndAllowThreads(__tstate);
21106 if (PyErr_Occurred()) SWIG_fail;
21107 }
21108 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
21109 return resultobj;
21110 fail:
21111 return NULL;
21112 }
21113
21114
21115 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21116 PyObject *resultobj = 0;
21117 wxFontData *arg1 = (wxFontData *) 0 ;
21118 wxFont result;
21119 void *argp1 = 0 ;
21120 int res1 = 0 ;
21121 PyObject *swig_obj[1] ;
21122
21123 if (!args) SWIG_fail;
21124 swig_obj[0] = args;
21125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21126 if (!SWIG_IsOK(res1)) {
21127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21128 }
21129 arg1 = reinterpret_cast< wxFontData * >(argp1);
21130 {
21131 PyThreadState* __tstate = wxPyBeginAllowThreads();
21132 result = (arg1)->GetChosenFont();
21133 wxPyEndAllowThreads(__tstate);
21134 if (PyErr_Occurred()) SWIG_fail;
21135 }
21136 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
21137 return resultobj;
21138 fail:
21139 return NULL;
21140 }
21141
21142
21143 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21144 PyObject *resultobj = 0;
21145 wxFontData *arg1 = (wxFontData *) 0 ;
21146 bool result;
21147 void *argp1 = 0 ;
21148 int res1 = 0 ;
21149 PyObject *swig_obj[1] ;
21150
21151 if (!args) SWIG_fail;
21152 swig_obj[0] = args;
21153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21154 if (!SWIG_IsOK(res1)) {
21155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
21156 }
21157 arg1 = reinterpret_cast< wxFontData * >(argp1);
21158 {
21159 PyThreadState* __tstate = wxPyBeginAllowThreads();
21160 result = (bool)(arg1)->GetEnableEffects();
21161 wxPyEndAllowThreads(__tstate);
21162 if (PyErr_Occurred()) SWIG_fail;
21163 }
21164 {
21165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21166 }
21167 return resultobj;
21168 fail:
21169 return NULL;
21170 }
21171
21172
21173 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21174 PyObject *resultobj = 0;
21175 wxFontData *arg1 = (wxFontData *) 0 ;
21176 wxFont result;
21177 void *argp1 = 0 ;
21178 int res1 = 0 ;
21179 PyObject *swig_obj[1] ;
21180
21181 if (!args) SWIG_fail;
21182 swig_obj[0] = args;
21183 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21184 if (!SWIG_IsOK(res1)) {
21185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21186 }
21187 arg1 = reinterpret_cast< wxFontData * >(argp1);
21188 {
21189 PyThreadState* __tstate = wxPyBeginAllowThreads();
21190 result = (arg1)->GetInitialFont();
21191 wxPyEndAllowThreads(__tstate);
21192 if (PyErr_Occurred()) SWIG_fail;
21193 }
21194 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
21195 return resultobj;
21196 fail:
21197 return NULL;
21198 }
21199
21200
21201 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21202 PyObject *resultobj = 0;
21203 wxFontData *arg1 = (wxFontData *) 0 ;
21204 bool result;
21205 void *argp1 = 0 ;
21206 int res1 = 0 ;
21207 PyObject *swig_obj[1] ;
21208
21209 if (!args) SWIG_fail;
21210 swig_obj[0] = args;
21211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21212 if (!SWIG_IsOK(res1)) {
21213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
21214 }
21215 arg1 = reinterpret_cast< wxFontData * >(argp1);
21216 {
21217 PyThreadState* __tstate = wxPyBeginAllowThreads();
21218 result = (bool)(arg1)->GetShowHelp();
21219 wxPyEndAllowThreads(__tstate);
21220 if (PyErr_Occurred()) SWIG_fail;
21221 }
21222 {
21223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21224 }
21225 return resultobj;
21226 fail:
21227 return NULL;
21228 }
21229
21230
21231 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21232 PyObject *resultobj = 0;
21233 wxFontData *arg1 = (wxFontData *) 0 ;
21234 bool arg2 ;
21235 void *argp1 = 0 ;
21236 int res1 = 0 ;
21237 bool val2 ;
21238 int ecode2 = 0 ;
21239 PyObject * obj0 = 0 ;
21240 PyObject * obj1 = 0 ;
21241 char * kwnames[] = {
21242 (char *) "self",(char *) "allowSymbols", NULL
21243 };
21244
21245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
21246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21247 if (!SWIG_IsOK(res1)) {
21248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
21249 }
21250 arg1 = reinterpret_cast< wxFontData * >(argp1);
21251 ecode2 = SWIG_AsVal_bool(obj1, &val2);
21252 if (!SWIG_IsOK(ecode2)) {
21253 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
21254 }
21255 arg2 = static_cast< bool >(val2);
21256 {
21257 PyThreadState* __tstate = wxPyBeginAllowThreads();
21258 (arg1)->SetAllowSymbols(arg2);
21259 wxPyEndAllowThreads(__tstate);
21260 if (PyErr_Occurred()) SWIG_fail;
21261 }
21262 resultobj = SWIG_Py_Void();
21263 return resultobj;
21264 fail:
21265 return NULL;
21266 }
21267
21268
21269 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21270 PyObject *resultobj = 0;
21271 wxFontData *arg1 = (wxFontData *) 0 ;
21272 wxFont *arg2 = 0 ;
21273 void *argp1 = 0 ;
21274 int res1 = 0 ;
21275 void *argp2 = 0 ;
21276 int res2 = 0 ;
21277 PyObject * obj0 = 0 ;
21278 PyObject * obj1 = 0 ;
21279 char * kwnames[] = {
21280 (char *) "self",(char *) "font", NULL
21281 };
21282
21283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
21284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21285 if (!SWIG_IsOK(res1)) {
21286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21287 }
21288 arg1 = reinterpret_cast< wxFontData * >(argp1);
21289 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
21290 if (!SWIG_IsOK(res2)) {
21291 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21292 }
21293 if (!argp2) {
21294 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21295 }
21296 arg2 = reinterpret_cast< wxFont * >(argp2);
21297 {
21298 PyThreadState* __tstate = wxPyBeginAllowThreads();
21299 (arg1)->SetChosenFont((wxFont const &)*arg2);
21300 wxPyEndAllowThreads(__tstate);
21301 if (PyErr_Occurred()) SWIG_fail;
21302 }
21303 resultobj = SWIG_Py_Void();
21304 return resultobj;
21305 fail:
21306 return NULL;
21307 }
21308
21309
21310 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21311 PyObject *resultobj = 0;
21312 wxFontData *arg1 = (wxFontData *) 0 ;
21313 wxColour *arg2 = 0 ;
21314 void *argp1 = 0 ;
21315 int res1 = 0 ;
21316 wxColour temp2 ;
21317 PyObject * obj0 = 0 ;
21318 PyObject * obj1 = 0 ;
21319 char * kwnames[] = {
21320 (char *) "self",(char *) "colour", NULL
21321 };
21322
21323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
21324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21325 if (!SWIG_IsOK(res1)) {
21326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
21327 }
21328 arg1 = reinterpret_cast< wxFontData * >(argp1);
21329 {
21330 arg2 = &temp2;
21331 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21332 }
21333 {
21334 PyThreadState* __tstate = wxPyBeginAllowThreads();
21335 (arg1)->SetColour((wxColour const &)*arg2);
21336 wxPyEndAllowThreads(__tstate);
21337 if (PyErr_Occurred()) SWIG_fail;
21338 }
21339 resultobj = SWIG_Py_Void();
21340 return resultobj;
21341 fail:
21342 return NULL;
21343 }
21344
21345
21346 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21347 PyObject *resultobj = 0;
21348 wxFontData *arg1 = (wxFontData *) 0 ;
21349 wxFont *arg2 = 0 ;
21350 void *argp1 = 0 ;
21351 int res1 = 0 ;
21352 void *argp2 = 0 ;
21353 int res2 = 0 ;
21354 PyObject * obj0 = 0 ;
21355 PyObject * obj1 = 0 ;
21356 char * kwnames[] = {
21357 (char *) "self",(char *) "font", NULL
21358 };
21359
21360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
21361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21362 if (!SWIG_IsOK(res1)) {
21363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21364 }
21365 arg1 = reinterpret_cast< wxFontData * >(argp1);
21366 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
21367 if (!SWIG_IsOK(res2)) {
21368 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21369 }
21370 if (!argp2) {
21371 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21372 }
21373 arg2 = reinterpret_cast< wxFont * >(argp2);
21374 {
21375 PyThreadState* __tstate = wxPyBeginAllowThreads();
21376 (arg1)->SetInitialFont((wxFont const &)*arg2);
21377 wxPyEndAllowThreads(__tstate);
21378 if (PyErr_Occurred()) SWIG_fail;
21379 }
21380 resultobj = SWIG_Py_Void();
21381 return resultobj;
21382 fail:
21383 return NULL;
21384 }
21385
21386
21387 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21388 PyObject *resultobj = 0;
21389 wxFontData *arg1 = (wxFontData *) 0 ;
21390 int arg2 ;
21391 int arg3 ;
21392 void *argp1 = 0 ;
21393 int res1 = 0 ;
21394 int val2 ;
21395 int ecode2 = 0 ;
21396 int val3 ;
21397 int ecode3 = 0 ;
21398 PyObject * obj0 = 0 ;
21399 PyObject * obj1 = 0 ;
21400 PyObject * obj2 = 0 ;
21401 char * kwnames[] = {
21402 (char *) "self",(char *) "min",(char *) "max", NULL
21403 };
21404
21405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21407 if (!SWIG_IsOK(res1)) {
21408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
21409 }
21410 arg1 = reinterpret_cast< wxFontData * >(argp1);
21411 ecode2 = SWIG_AsVal_int(obj1, &val2);
21412 if (!SWIG_IsOK(ecode2)) {
21413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
21414 }
21415 arg2 = static_cast< int >(val2);
21416 ecode3 = SWIG_AsVal_int(obj2, &val3);
21417 if (!SWIG_IsOK(ecode3)) {
21418 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
21419 }
21420 arg3 = static_cast< int >(val3);
21421 {
21422 PyThreadState* __tstate = wxPyBeginAllowThreads();
21423 (arg1)->SetRange(arg2,arg3);
21424 wxPyEndAllowThreads(__tstate);
21425 if (PyErr_Occurred()) SWIG_fail;
21426 }
21427 resultobj = SWIG_Py_Void();
21428 return resultobj;
21429 fail:
21430 return NULL;
21431 }
21432
21433
21434 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21435 PyObject *resultobj = 0;
21436 wxFontData *arg1 = (wxFontData *) 0 ;
21437 bool arg2 ;
21438 void *argp1 = 0 ;
21439 int res1 = 0 ;
21440 bool val2 ;
21441 int ecode2 = 0 ;
21442 PyObject * obj0 = 0 ;
21443 PyObject * obj1 = 0 ;
21444 char * kwnames[] = {
21445 (char *) "self",(char *) "showHelp", NULL
21446 };
21447
21448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
21449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21450 if (!SWIG_IsOK(res1)) {
21451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
21452 }
21453 arg1 = reinterpret_cast< wxFontData * >(argp1);
21454 ecode2 = SWIG_AsVal_bool(obj1, &val2);
21455 if (!SWIG_IsOK(ecode2)) {
21456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
21457 }
21458 arg2 = static_cast< bool >(val2);
21459 {
21460 PyThreadState* __tstate = wxPyBeginAllowThreads();
21461 (arg1)->SetShowHelp(arg2);
21462 wxPyEndAllowThreads(__tstate);
21463 if (PyErr_Occurred()) SWIG_fail;
21464 }
21465 resultobj = SWIG_Py_Void();
21466 return resultobj;
21467 fail:
21468 return NULL;
21469 }
21470
21471
21472 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21473 PyObject *obj;
21474 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21475 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
21476 return SWIG_Py_Void();
21477 }
21478
21479 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21480 return SWIG_Python_InitShadowInstance(args);
21481 }
21482
21483 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21484 PyObject *resultobj = 0;
21485 wxWindow *arg1 = (wxWindow *) 0 ;
21486 wxFontData *arg2 = 0 ;
21487 wxFontDialog *result = 0 ;
21488 void *argp1 = 0 ;
21489 int res1 = 0 ;
21490 void *argp2 = 0 ;
21491 int res2 = 0 ;
21492 PyObject * obj0 = 0 ;
21493 PyObject * obj1 = 0 ;
21494 char * kwnames[] = {
21495 (char *) "parent",(char *) "data", NULL
21496 };
21497
21498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
21499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21500 if (!SWIG_IsOK(res1)) {
21501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21502 }
21503 arg1 = reinterpret_cast< wxWindow * >(argp1);
21504 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
21505 if (!SWIG_IsOK(res2)) {
21506 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
21507 }
21508 if (!argp2) {
21509 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
21510 }
21511 arg2 = reinterpret_cast< wxFontData * >(argp2);
21512 {
21513 if (!wxPyCheckForApp()) SWIG_fail;
21514 PyThreadState* __tstate = wxPyBeginAllowThreads();
21515 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
21516 wxPyEndAllowThreads(__tstate);
21517 if (PyErr_Occurred()) SWIG_fail;
21518 }
21519 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
21520 return resultobj;
21521 fail:
21522 return NULL;
21523 }
21524
21525
21526 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21527 PyObject *resultobj = 0;
21528 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
21529 wxFontData *result = 0 ;
21530 void *argp1 = 0 ;
21531 int res1 = 0 ;
21532 PyObject *swig_obj[1] ;
21533
21534 if (!args) SWIG_fail;
21535 swig_obj[0] = args;
21536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
21537 if (!SWIG_IsOK(res1)) {
21538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
21539 }
21540 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
21541 {
21542 PyThreadState* __tstate = wxPyBeginAllowThreads();
21543 {
21544 wxFontData &_result_ref = (arg1)->GetFontData();
21545 result = (wxFontData *) &_result_ref;
21546 }
21547 wxPyEndAllowThreads(__tstate);
21548 if (PyErr_Occurred()) SWIG_fail;
21549 }
21550 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
21551 return resultobj;
21552 fail:
21553 return NULL;
21554 }
21555
21556
21557 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21558 PyObject *obj;
21559 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21560 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
21561 return SWIG_Py_Void();
21562 }
21563
21564 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21565 return SWIG_Python_InitShadowInstance(args);
21566 }
21567
21568 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21569 PyObject *resultobj = 0;
21570 wxWindow *arg1 = (wxWindow *) NULL ;
21571 wxFont const &arg2_defvalue = wxNullFont ;
21572 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
21573 wxString const &arg3_defvalue = wxPyEmptyString ;
21574 wxString *arg3 = (wxString *) &arg3_defvalue ;
21575 wxFont result;
21576 void *argp1 = 0 ;
21577 int res1 = 0 ;
21578 void *argp2 = 0 ;
21579 int res2 = 0 ;
21580 bool temp3 = false ;
21581 PyObject * obj0 = 0 ;
21582 PyObject * obj1 = 0 ;
21583 PyObject * obj2 = 0 ;
21584 char * kwnames[] = {
21585 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
21586 };
21587
21588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21589 if (obj0) {
21590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21591 if (!SWIG_IsOK(res1)) {
21592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
21593 }
21594 arg1 = reinterpret_cast< wxWindow * >(argp1);
21595 }
21596 if (obj1) {
21597 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
21598 if (!SWIG_IsOK(res2)) {
21599 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
21600 }
21601 if (!argp2) {
21602 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
21603 }
21604 arg2 = reinterpret_cast< wxFont * >(argp2);
21605 }
21606 if (obj2) {
21607 {
21608 arg3 = wxString_in_helper(obj2);
21609 if (arg3 == NULL) SWIG_fail;
21610 temp3 = true;
21611 }
21612 }
21613 {
21614 PyThreadState* __tstate = wxPyBeginAllowThreads();
21615 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
21616 wxPyEndAllowThreads(__tstate);
21617 if (PyErr_Occurred()) SWIG_fail;
21618 }
21619 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
21620 {
21621 if (temp3)
21622 delete arg3;
21623 }
21624 return resultobj;
21625 fail:
21626 {
21627 if (temp3)
21628 delete arg3;
21629 }
21630 return NULL;
21631 }
21632
21633
21634 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21635 PyObject *resultobj = 0;
21636 wxWindow *arg1 = (wxWindow *) 0 ;
21637 wxString *arg2 = 0 ;
21638 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
21639 wxString *arg3 = (wxString *) &arg3_defvalue ;
21640 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
21641 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21642 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21643 wxMessageDialog *result = 0 ;
21644 void *argp1 = 0 ;
21645 int res1 = 0 ;
21646 bool temp2 = false ;
21647 bool temp3 = false ;
21648 long val4 ;
21649 int ecode4 = 0 ;
21650 wxPoint temp5 ;
21651 PyObject * obj0 = 0 ;
21652 PyObject * obj1 = 0 ;
21653 PyObject * obj2 = 0 ;
21654 PyObject * obj3 = 0 ;
21655 PyObject * obj4 = 0 ;
21656 char * kwnames[] = {
21657 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
21658 };
21659
21660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21662 if (!SWIG_IsOK(res1)) {
21663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21664 }
21665 arg1 = reinterpret_cast< wxWindow * >(argp1);
21666 {
21667 arg2 = wxString_in_helper(obj1);
21668 if (arg2 == NULL) SWIG_fail;
21669 temp2 = true;
21670 }
21671 if (obj2) {
21672 {
21673 arg3 = wxString_in_helper(obj2);
21674 if (arg3 == NULL) SWIG_fail;
21675 temp3 = true;
21676 }
21677 }
21678 if (obj3) {
21679 ecode4 = SWIG_AsVal_long(obj3, &val4);
21680 if (!SWIG_IsOK(ecode4)) {
21681 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
21682 }
21683 arg4 = static_cast< long >(val4);
21684 }
21685 if (obj4) {
21686 {
21687 arg5 = &temp5;
21688 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21689 }
21690 }
21691 {
21692 if (!wxPyCheckForApp()) SWIG_fail;
21693 PyThreadState* __tstate = wxPyBeginAllowThreads();
21694 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
21695 wxPyEndAllowThreads(__tstate);
21696 if (PyErr_Occurred()) SWIG_fail;
21697 }
21698 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
21699 {
21700 if (temp2)
21701 delete arg2;
21702 }
21703 {
21704 if (temp3)
21705 delete arg3;
21706 }
21707 return resultobj;
21708 fail:
21709 {
21710 if (temp2)
21711 delete arg2;
21712 }
21713 {
21714 if (temp3)
21715 delete arg3;
21716 }
21717 return NULL;
21718 }
21719
21720
21721 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21722 PyObject *obj;
21723 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21724 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
21725 return SWIG_Py_Void();
21726 }
21727
21728 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21729 return SWIG_Python_InitShadowInstance(args);
21730 }
21731
21732 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21733 PyObject *resultobj = 0;
21734 wxString *arg1 = 0 ;
21735 wxString *arg2 = 0 ;
21736 int arg3 = (int) 100 ;
21737 wxWindow *arg4 = (wxWindow *) NULL ;
21738 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
21739 wxProgressDialog *result = 0 ;
21740 bool temp1 = false ;
21741 bool temp2 = false ;
21742 int val3 ;
21743 int ecode3 = 0 ;
21744 void *argp4 = 0 ;
21745 int res4 = 0 ;
21746 int val5 ;
21747 int ecode5 = 0 ;
21748 PyObject * obj0 = 0 ;
21749 PyObject * obj1 = 0 ;
21750 PyObject * obj2 = 0 ;
21751 PyObject * obj3 = 0 ;
21752 PyObject * obj4 = 0 ;
21753 char * kwnames[] = {
21754 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
21755 };
21756
21757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21758 {
21759 arg1 = wxString_in_helper(obj0);
21760 if (arg1 == NULL) SWIG_fail;
21761 temp1 = true;
21762 }
21763 {
21764 arg2 = wxString_in_helper(obj1);
21765 if (arg2 == NULL) SWIG_fail;
21766 temp2 = true;
21767 }
21768 if (obj2) {
21769 ecode3 = SWIG_AsVal_int(obj2, &val3);
21770 if (!SWIG_IsOK(ecode3)) {
21771 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
21772 }
21773 arg3 = static_cast< int >(val3);
21774 }
21775 if (obj3) {
21776 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
21777 if (!SWIG_IsOK(res4)) {
21778 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
21779 }
21780 arg4 = reinterpret_cast< wxWindow * >(argp4);
21781 }
21782 if (obj4) {
21783 ecode5 = SWIG_AsVal_int(obj4, &val5);
21784 if (!SWIG_IsOK(ecode5)) {
21785 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
21786 }
21787 arg5 = static_cast< int >(val5);
21788 }
21789 {
21790 if (!wxPyCheckForApp()) SWIG_fail;
21791 PyThreadState* __tstate = wxPyBeginAllowThreads();
21792 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
21793 wxPyEndAllowThreads(__tstate);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 }
21796 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
21797 {
21798 if (temp1)
21799 delete arg1;
21800 }
21801 {
21802 if (temp2)
21803 delete arg2;
21804 }
21805 return resultobj;
21806 fail:
21807 {
21808 if (temp1)
21809 delete arg1;
21810 }
21811 {
21812 if (temp2)
21813 delete arg2;
21814 }
21815 return NULL;
21816 }
21817
21818
21819 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21820 PyObject *resultobj = 0;
21821 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
21822 int arg2 ;
21823 wxString const &arg3_defvalue = wxPyEmptyString ;
21824 wxString *arg3 = (wxString *) &arg3_defvalue ;
21825 bool *arg4 = (bool *) 0 ;
21826 bool result;
21827 void *argp1 = 0 ;
21828 int res1 = 0 ;
21829 int val2 ;
21830 int ecode2 = 0 ;
21831 bool temp3 = false ;
21832 bool temp4 ;
21833 int res4 = SWIG_TMPOBJ ;
21834 PyObject * obj0 = 0 ;
21835 PyObject * obj1 = 0 ;
21836 PyObject * obj2 = 0 ;
21837 char * kwnames[] = {
21838 (char *) "self",(char *) "value",(char *) "newmsg", NULL
21839 };
21840
21841 arg4 = &temp4;
21842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
21844 if (!SWIG_IsOK(res1)) {
21845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
21846 }
21847 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
21848 ecode2 = SWIG_AsVal_int(obj1, &val2);
21849 if (!SWIG_IsOK(ecode2)) {
21850 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
21851 }
21852 arg2 = static_cast< int >(val2);
21853 if (obj2) {
21854 {
21855 arg3 = wxString_in_helper(obj2);
21856 if (arg3 == NULL) SWIG_fail;
21857 temp3 = true;
21858 }
21859 }
21860 {
21861 PyThreadState* __tstate = wxPyBeginAllowThreads();
21862 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
21863 wxPyEndAllowThreads(__tstate);
21864 if (PyErr_Occurred()) SWIG_fail;
21865 }
21866 {
21867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21868 }
21869 if (SWIG_IsTmpObj(res4)) {
21870 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
21871 } else {
21872 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21873 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
21874 }
21875 {
21876 if (temp3)
21877 delete arg3;
21878 }
21879 return resultobj;
21880 fail:
21881 {
21882 if (temp3)
21883 delete arg3;
21884 }
21885 return NULL;
21886 }
21887
21888
21889 SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21890 PyObject *resultobj = 0;
21891 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
21892 wxString const &arg2_defvalue = wxPyEmptyString ;
21893 wxString *arg2 = (wxString *) &arg2_defvalue ;
21894 bool *arg3 = (bool *) 0 ;
21895 bool result;
21896 void *argp1 = 0 ;
21897 int res1 = 0 ;
21898 bool temp2 = false ;
21899 bool temp3 ;
21900 int res3 = SWIG_TMPOBJ ;
21901 PyObject * obj0 = 0 ;
21902 PyObject * obj1 = 0 ;
21903 char * kwnames[] = {
21904 (char *) "self",(char *) "newmsg", NULL
21905 };
21906
21907 arg3 = &temp3;
21908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
21909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
21910 if (!SWIG_IsOK(res1)) {
21911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
21912 }
21913 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
21914 if (obj1) {
21915 {
21916 arg2 = wxString_in_helper(obj1);
21917 if (arg2 == NULL) SWIG_fail;
21918 temp2 = true;
21919 }
21920 }
21921 {
21922 PyThreadState* __tstate = wxPyBeginAllowThreads();
21923 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
21924 wxPyEndAllowThreads(__tstate);
21925 if (PyErr_Occurred()) SWIG_fail;
21926 }
21927 {
21928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21929 }
21930 if (SWIG_IsTmpObj(res3)) {
21931 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
21932 } else {
21933 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21934 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
21935 }
21936 {
21937 if (temp2)
21938 delete arg2;
21939 }
21940 return resultobj;
21941 fail:
21942 {
21943 if (temp2)
21944 delete arg2;
21945 }
21946 return NULL;
21947 }
21948
21949
21950 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21951 PyObject *resultobj = 0;
21952 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
21953 void *argp1 = 0 ;
21954 int res1 = 0 ;
21955 PyObject *swig_obj[1] ;
21956
21957 if (!args) SWIG_fail;
21958 swig_obj[0] = args;
21959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
21960 if (!SWIG_IsOK(res1)) {
21961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
21962 }
21963 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
21964 {
21965 PyThreadState* __tstate = wxPyBeginAllowThreads();
21966 (arg1)->Resume();
21967 wxPyEndAllowThreads(__tstate);
21968 if (PyErr_Occurred()) SWIG_fail;
21969 }
21970 resultobj = SWIG_Py_Void();
21971 return resultobj;
21972 fail:
21973 return NULL;
21974 }
21975
21976
21977 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21978 PyObject *obj;
21979 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21980 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
21981 return SWIG_Py_Void();
21982 }
21983
21984 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21985 return SWIG_Python_InitShadowInstance(args);
21986 }
21987
21988 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21989 PyObject *resultobj = 0;
21990 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21991 int arg2 = (int) 0 ;
21992 wxFindDialogEvent *result = 0 ;
21993 int val1 ;
21994 int ecode1 = 0 ;
21995 int val2 ;
21996 int ecode2 = 0 ;
21997 PyObject * obj0 = 0 ;
21998 PyObject * obj1 = 0 ;
21999 char * kwnames[] = {
22000 (char *) "commandType",(char *) "id", NULL
22001 };
22002
22003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
22004 if (obj0) {
22005 ecode1 = SWIG_AsVal_int(obj0, &val1);
22006 if (!SWIG_IsOK(ecode1)) {
22007 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22008 }
22009 arg1 = static_cast< wxEventType >(val1);
22010 }
22011 if (obj1) {
22012 ecode2 = SWIG_AsVal_int(obj1, &val2);
22013 if (!SWIG_IsOK(ecode2)) {
22014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
22015 }
22016 arg2 = static_cast< int >(val2);
22017 }
22018 {
22019 PyThreadState* __tstate = wxPyBeginAllowThreads();
22020 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
22021 wxPyEndAllowThreads(__tstate);
22022 if (PyErr_Occurred()) SWIG_fail;
22023 }
22024 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
22025 return resultobj;
22026 fail:
22027 return NULL;
22028 }
22029
22030
22031 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22032 PyObject *resultobj = 0;
22033 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22034 int result;
22035 void *argp1 = 0 ;
22036 int res1 = 0 ;
22037 PyObject *swig_obj[1] ;
22038
22039 if (!args) SWIG_fail;
22040 swig_obj[0] = args;
22041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22042 if (!SWIG_IsOK(res1)) {
22043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22044 }
22045 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22046 {
22047 PyThreadState* __tstate = wxPyBeginAllowThreads();
22048 result = (int)(arg1)->GetFlags();
22049 wxPyEndAllowThreads(__tstate);
22050 if (PyErr_Occurred()) SWIG_fail;
22051 }
22052 resultobj = SWIG_From_int(static_cast< int >(result));
22053 return resultobj;
22054 fail:
22055 return NULL;
22056 }
22057
22058
22059 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22060 PyObject *resultobj = 0;
22061 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22062 wxString *result = 0 ;
22063 void *argp1 = 0 ;
22064 int res1 = 0 ;
22065 PyObject *swig_obj[1] ;
22066
22067 if (!args) SWIG_fail;
22068 swig_obj[0] = args;
22069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22070 if (!SWIG_IsOK(res1)) {
22071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22072 }
22073 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22074 {
22075 PyThreadState* __tstate = wxPyBeginAllowThreads();
22076 {
22077 wxString const &_result_ref = (arg1)->GetFindString();
22078 result = (wxString *) &_result_ref;
22079 }
22080 wxPyEndAllowThreads(__tstate);
22081 if (PyErr_Occurred()) SWIG_fail;
22082 }
22083 {
22084 #if wxUSE_UNICODE
22085 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22086 #else
22087 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22088 #endif
22089 }
22090 return resultobj;
22091 fail:
22092 return NULL;
22093 }
22094
22095
22096 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22097 PyObject *resultobj = 0;
22098 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22099 wxString *result = 0 ;
22100 void *argp1 = 0 ;
22101 int res1 = 0 ;
22102 PyObject *swig_obj[1] ;
22103
22104 if (!args) SWIG_fail;
22105 swig_obj[0] = args;
22106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22107 if (!SWIG_IsOK(res1)) {
22108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22109 }
22110 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22111 {
22112 PyThreadState* __tstate = wxPyBeginAllowThreads();
22113 {
22114 wxString const &_result_ref = (arg1)->GetReplaceString();
22115 result = (wxString *) &_result_ref;
22116 }
22117 wxPyEndAllowThreads(__tstate);
22118 if (PyErr_Occurred()) SWIG_fail;
22119 }
22120 {
22121 #if wxUSE_UNICODE
22122 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22123 #else
22124 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22125 #endif
22126 }
22127 return resultobj;
22128 fail:
22129 return NULL;
22130 }
22131
22132
22133 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22134 PyObject *resultobj = 0;
22135 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22136 wxFindReplaceDialog *result = 0 ;
22137 void *argp1 = 0 ;
22138 int res1 = 0 ;
22139 PyObject *swig_obj[1] ;
22140
22141 if (!args) SWIG_fail;
22142 swig_obj[0] = args;
22143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22144 if (!SWIG_IsOK(res1)) {
22145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22146 }
22147 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22148 {
22149 PyThreadState* __tstate = wxPyBeginAllowThreads();
22150 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
22151 wxPyEndAllowThreads(__tstate);
22152 if (PyErr_Occurred()) SWIG_fail;
22153 }
22154 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22155 return resultobj;
22156 fail:
22157 return NULL;
22158 }
22159
22160
22161 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22162 PyObject *resultobj = 0;
22163 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22164 int arg2 ;
22165 void *argp1 = 0 ;
22166 int res1 = 0 ;
22167 int val2 ;
22168 int ecode2 = 0 ;
22169 PyObject * obj0 = 0 ;
22170 PyObject * obj1 = 0 ;
22171 char * kwnames[] = {
22172 (char *) "self",(char *) "flags", NULL
22173 };
22174
22175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
22176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22177 if (!SWIG_IsOK(res1)) {
22178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22179 }
22180 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22181 ecode2 = SWIG_AsVal_int(obj1, &val2);
22182 if (!SWIG_IsOK(ecode2)) {
22183 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
22184 }
22185 arg2 = static_cast< int >(val2);
22186 {
22187 PyThreadState* __tstate = wxPyBeginAllowThreads();
22188 (arg1)->SetFlags(arg2);
22189 wxPyEndAllowThreads(__tstate);
22190 if (PyErr_Occurred()) SWIG_fail;
22191 }
22192 resultobj = SWIG_Py_Void();
22193 return resultobj;
22194 fail:
22195 return NULL;
22196 }
22197
22198
22199 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22200 PyObject *resultobj = 0;
22201 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22202 wxString *arg2 = 0 ;
22203 void *argp1 = 0 ;
22204 int res1 = 0 ;
22205 bool temp2 = false ;
22206 PyObject * obj0 = 0 ;
22207 PyObject * obj1 = 0 ;
22208 char * kwnames[] = {
22209 (char *) "self",(char *) "str", NULL
22210 };
22211
22212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
22213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22214 if (!SWIG_IsOK(res1)) {
22215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22216 }
22217 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22218 {
22219 arg2 = wxString_in_helper(obj1);
22220 if (arg2 == NULL) SWIG_fail;
22221 temp2 = true;
22222 }
22223 {
22224 PyThreadState* __tstate = wxPyBeginAllowThreads();
22225 (arg1)->SetFindString((wxString const &)*arg2);
22226 wxPyEndAllowThreads(__tstate);
22227 if (PyErr_Occurred()) SWIG_fail;
22228 }
22229 resultobj = SWIG_Py_Void();
22230 {
22231 if (temp2)
22232 delete arg2;
22233 }
22234 return resultobj;
22235 fail:
22236 {
22237 if (temp2)
22238 delete arg2;
22239 }
22240 return NULL;
22241 }
22242
22243
22244 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22245 PyObject *resultobj = 0;
22246 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22247 wxString *arg2 = 0 ;
22248 void *argp1 = 0 ;
22249 int res1 = 0 ;
22250 bool temp2 = false ;
22251 PyObject * obj0 = 0 ;
22252 PyObject * obj1 = 0 ;
22253 char * kwnames[] = {
22254 (char *) "self",(char *) "str", NULL
22255 };
22256
22257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
22258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22259 if (!SWIG_IsOK(res1)) {
22260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22261 }
22262 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22263 {
22264 arg2 = wxString_in_helper(obj1);
22265 if (arg2 == NULL) SWIG_fail;
22266 temp2 = true;
22267 }
22268 {
22269 PyThreadState* __tstate = wxPyBeginAllowThreads();
22270 (arg1)->SetReplaceString((wxString const &)*arg2);
22271 wxPyEndAllowThreads(__tstate);
22272 if (PyErr_Occurred()) SWIG_fail;
22273 }
22274 resultobj = SWIG_Py_Void();
22275 {
22276 if (temp2)
22277 delete arg2;
22278 }
22279 return resultobj;
22280 fail:
22281 {
22282 if (temp2)
22283 delete arg2;
22284 }
22285 return NULL;
22286 }
22287
22288
22289 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22290 PyObject *obj;
22291 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22292 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
22293 return SWIG_Py_Void();
22294 }
22295
22296 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22297 return SWIG_Python_InitShadowInstance(args);
22298 }
22299
22300 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22301 PyObject *resultobj = 0;
22302 int arg1 = (int) 0 ;
22303 wxFindReplaceData *result = 0 ;
22304 int val1 ;
22305 int ecode1 = 0 ;
22306 PyObject * obj0 = 0 ;
22307 char * kwnames[] = {
22308 (char *) "flags", NULL
22309 };
22310
22311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
22312 if (obj0) {
22313 ecode1 = SWIG_AsVal_int(obj0, &val1);
22314 if (!SWIG_IsOK(ecode1)) {
22315 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
22316 }
22317 arg1 = static_cast< int >(val1);
22318 }
22319 {
22320 PyThreadState* __tstate = wxPyBeginAllowThreads();
22321 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
22322 wxPyEndAllowThreads(__tstate);
22323 if (PyErr_Occurred()) SWIG_fail;
22324 }
22325 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
22326 return resultobj;
22327 fail:
22328 return NULL;
22329 }
22330
22331
22332 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22333 PyObject *resultobj = 0;
22334 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22335 void *argp1 = 0 ;
22336 int res1 = 0 ;
22337 PyObject *swig_obj[1] ;
22338
22339 if (!args) SWIG_fail;
22340 swig_obj[0] = args;
22341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
22342 if (!SWIG_IsOK(res1)) {
22343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22344 }
22345 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22346 {
22347 PyThreadState* __tstate = wxPyBeginAllowThreads();
22348 delete arg1;
22349
22350 wxPyEndAllowThreads(__tstate);
22351 if (PyErr_Occurred()) SWIG_fail;
22352 }
22353 resultobj = SWIG_Py_Void();
22354 return resultobj;
22355 fail:
22356 return NULL;
22357 }
22358
22359
22360 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22361 PyObject *resultobj = 0;
22362 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22363 wxString *result = 0 ;
22364 void *argp1 = 0 ;
22365 int res1 = 0 ;
22366 PyObject *swig_obj[1] ;
22367
22368 if (!args) SWIG_fail;
22369 swig_obj[0] = args;
22370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22371 if (!SWIG_IsOK(res1)) {
22372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22373 }
22374 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22375 {
22376 PyThreadState* __tstate = wxPyBeginAllowThreads();
22377 {
22378 wxString const &_result_ref = (arg1)->GetFindString();
22379 result = (wxString *) &_result_ref;
22380 }
22381 wxPyEndAllowThreads(__tstate);
22382 if (PyErr_Occurred()) SWIG_fail;
22383 }
22384 {
22385 #if wxUSE_UNICODE
22386 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22387 #else
22388 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22389 #endif
22390 }
22391 return resultobj;
22392 fail:
22393 return NULL;
22394 }
22395
22396
22397 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22398 PyObject *resultobj = 0;
22399 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22400 wxString *result = 0 ;
22401 void *argp1 = 0 ;
22402 int res1 = 0 ;
22403 PyObject *swig_obj[1] ;
22404
22405 if (!args) SWIG_fail;
22406 swig_obj[0] = args;
22407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22408 if (!SWIG_IsOK(res1)) {
22409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22410 }
22411 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22412 {
22413 PyThreadState* __tstate = wxPyBeginAllowThreads();
22414 {
22415 wxString const &_result_ref = (arg1)->GetReplaceString();
22416 result = (wxString *) &_result_ref;
22417 }
22418 wxPyEndAllowThreads(__tstate);
22419 if (PyErr_Occurred()) SWIG_fail;
22420 }
22421 {
22422 #if wxUSE_UNICODE
22423 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22424 #else
22425 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22426 #endif
22427 }
22428 return resultobj;
22429 fail:
22430 return NULL;
22431 }
22432
22433
22434 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22435 PyObject *resultobj = 0;
22436 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22437 int result;
22438 void *argp1 = 0 ;
22439 int res1 = 0 ;
22440 PyObject *swig_obj[1] ;
22441
22442 if (!args) SWIG_fail;
22443 swig_obj[0] = args;
22444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22445 if (!SWIG_IsOK(res1)) {
22446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22447 }
22448 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22449 {
22450 PyThreadState* __tstate = wxPyBeginAllowThreads();
22451 result = (int)(arg1)->GetFlags();
22452 wxPyEndAllowThreads(__tstate);
22453 if (PyErr_Occurred()) SWIG_fail;
22454 }
22455 resultobj = SWIG_From_int(static_cast< int >(result));
22456 return resultobj;
22457 fail:
22458 return NULL;
22459 }
22460
22461
22462 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22463 PyObject *resultobj = 0;
22464 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22465 int arg2 ;
22466 void *argp1 = 0 ;
22467 int res1 = 0 ;
22468 int val2 ;
22469 int ecode2 = 0 ;
22470 PyObject * obj0 = 0 ;
22471 PyObject * obj1 = 0 ;
22472 char * kwnames[] = {
22473 (char *) "self",(char *) "flags", NULL
22474 };
22475
22476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
22477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22478 if (!SWIG_IsOK(res1)) {
22479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22480 }
22481 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22482 ecode2 = SWIG_AsVal_int(obj1, &val2);
22483 if (!SWIG_IsOK(ecode2)) {
22484 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
22485 }
22486 arg2 = static_cast< int >(val2);
22487 {
22488 PyThreadState* __tstate = wxPyBeginAllowThreads();
22489 (arg1)->SetFlags(arg2);
22490 wxPyEndAllowThreads(__tstate);
22491 if (PyErr_Occurred()) SWIG_fail;
22492 }
22493 resultobj = SWIG_Py_Void();
22494 return resultobj;
22495 fail:
22496 return NULL;
22497 }
22498
22499
22500 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22501 PyObject *resultobj = 0;
22502 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22503 wxString *arg2 = 0 ;
22504 void *argp1 = 0 ;
22505 int res1 = 0 ;
22506 bool temp2 = false ;
22507 PyObject * obj0 = 0 ;
22508 PyObject * obj1 = 0 ;
22509 char * kwnames[] = {
22510 (char *) "self",(char *) "str", NULL
22511 };
22512
22513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
22514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22515 if (!SWIG_IsOK(res1)) {
22516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22517 }
22518 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22519 {
22520 arg2 = wxString_in_helper(obj1);
22521 if (arg2 == NULL) SWIG_fail;
22522 temp2 = true;
22523 }
22524 {
22525 PyThreadState* __tstate = wxPyBeginAllowThreads();
22526 (arg1)->SetFindString((wxString const &)*arg2);
22527 wxPyEndAllowThreads(__tstate);
22528 if (PyErr_Occurred()) SWIG_fail;
22529 }
22530 resultobj = SWIG_Py_Void();
22531 {
22532 if (temp2)
22533 delete arg2;
22534 }
22535 return resultobj;
22536 fail:
22537 {
22538 if (temp2)
22539 delete arg2;
22540 }
22541 return NULL;
22542 }
22543
22544
22545 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22546 PyObject *resultobj = 0;
22547 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22548 wxString *arg2 = 0 ;
22549 void *argp1 = 0 ;
22550 int res1 = 0 ;
22551 bool temp2 = false ;
22552 PyObject * obj0 = 0 ;
22553 PyObject * obj1 = 0 ;
22554 char * kwnames[] = {
22555 (char *) "self",(char *) "str", NULL
22556 };
22557
22558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
22559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22560 if (!SWIG_IsOK(res1)) {
22561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22562 }
22563 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22564 {
22565 arg2 = wxString_in_helper(obj1);
22566 if (arg2 == NULL) SWIG_fail;
22567 temp2 = true;
22568 }
22569 {
22570 PyThreadState* __tstate = wxPyBeginAllowThreads();
22571 (arg1)->SetReplaceString((wxString const &)*arg2);
22572 wxPyEndAllowThreads(__tstate);
22573 if (PyErr_Occurred()) SWIG_fail;
22574 }
22575 resultobj = SWIG_Py_Void();
22576 {
22577 if (temp2)
22578 delete arg2;
22579 }
22580 return resultobj;
22581 fail:
22582 {
22583 if (temp2)
22584 delete arg2;
22585 }
22586 return NULL;
22587 }
22588
22589
22590 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22591 PyObject *obj;
22592 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22593 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
22594 return SWIG_Py_Void();
22595 }
22596
22597 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22598 return SWIG_Python_InitShadowInstance(args);
22599 }
22600
22601 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22602 PyObject *resultobj = 0;
22603 wxWindow *arg1 = (wxWindow *) 0 ;
22604 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
22605 wxString *arg3 = 0 ;
22606 int arg4 = (int) 0 ;
22607 wxFindReplaceDialog *result = 0 ;
22608 void *argp1 = 0 ;
22609 int res1 = 0 ;
22610 void *argp2 = 0 ;
22611 int res2 = 0 ;
22612 bool temp3 = false ;
22613 int val4 ;
22614 int ecode4 = 0 ;
22615 PyObject * obj0 = 0 ;
22616 PyObject * obj1 = 0 ;
22617 PyObject * obj2 = 0 ;
22618 PyObject * obj3 = 0 ;
22619 char * kwnames[] = {
22620 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
22621 };
22622
22623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22625 if (!SWIG_IsOK(res1)) {
22626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
22627 }
22628 arg1 = reinterpret_cast< wxWindow * >(argp1);
22629 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22630 if (!SWIG_IsOK(res2)) {
22631 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
22632 }
22633 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
22634 {
22635 arg3 = wxString_in_helper(obj2);
22636 if (arg3 == NULL) SWIG_fail;
22637 temp3 = true;
22638 }
22639 if (obj3) {
22640 ecode4 = SWIG_AsVal_int(obj3, &val4);
22641 if (!SWIG_IsOK(ecode4)) {
22642 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
22643 }
22644 arg4 = static_cast< int >(val4);
22645 }
22646 {
22647 if (!wxPyCheckForApp()) SWIG_fail;
22648 PyThreadState* __tstate = wxPyBeginAllowThreads();
22649 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
22650 wxPyEndAllowThreads(__tstate);
22651 if (PyErr_Occurred()) SWIG_fail;
22652 }
22653 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
22654 {
22655 if (temp3)
22656 delete arg3;
22657 }
22658 return resultobj;
22659 fail:
22660 {
22661 if (temp3)
22662 delete arg3;
22663 }
22664 return NULL;
22665 }
22666
22667
22668 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22669 PyObject *resultobj = 0;
22670 wxFindReplaceDialog *result = 0 ;
22671
22672 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
22673 {
22674 if (!wxPyCheckForApp()) SWIG_fail;
22675 PyThreadState* __tstate = wxPyBeginAllowThreads();
22676 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
22677 wxPyEndAllowThreads(__tstate);
22678 if (PyErr_Occurred()) SWIG_fail;
22679 }
22680 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
22681 return resultobj;
22682 fail:
22683 return NULL;
22684 }
22685
22686
22687 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22688 PyObject *resultobj = 0;
22689 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
22690 wxWindow *arg2 = (wxWindow *) 0 ;
22691 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
22692 wxString *arg4 = 0 ;
22693 int arg5 = (int) 0 ;
22694 bool result;
22695 void *argp1 = 0 ;
22696 int res1 = 0 ;
22697 void *argp2 = 0 ;
22698 int res2 = 0 ;
22699 void *argp3 = 0 ;
22700 int res3 = 0 ;
22701 bool temp4 = false ;
22702 int val5 ;
22703 int ecode5 = 0 ;
22704 PyObject * obj0 = 0 ;
22705 PyObject * obj1 = 0 ;
22706 PyObject * obj2 = 0 ;
22707 PyObject * obj3 = 0 ;
22708 PyObject * obj4 = 0 ;
22709 char * kwnames[] = {
22710 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
22711 };
22712
22713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22715 if (!SWIG_IsOK(res1)) {
22716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22717 }
22718 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
22719 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22720 if (!SWIG_IsOK(res2)) {
22721 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22722 }
22723 arg2 = reinterpret_cast< wxWindow * >(argp2);
22724 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22725 if (!SWIG_IsOK(res3)) {
22726 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
22727 }
22728 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
22729 {
22730 arg4 = wxString_in_helper(obj3);
22731 if (arg4 == NULL) SWIG_fail;
22732 temp4 = true;
22733 }
22734 if (obj4) {
22735 ecode5 = SWIG_AsVal_int(obj4, &val5);
22736 if (!SWIG_IsOK(ecode5)) {
22737 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
22738 }
22739 arg5 = static_cast< int >(val5);
22740 }
22741 {
22742 PyThreadState* __tstate = wxPyBeginAllowThreads();
22743 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
22744 wxPyEndAllowThreads(__tstate);
22745 if (PyErr_Occurred()) SWIG_fail;
22746 }
22747 {
22748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22749 }
22750 {
22751 if (temp4)
22752 delete arg4;
22753 }
22754 return resultobj;
22755 fail:
22756 {
22757 if (temp4)
22758 delete arg4;
22759 }
22760 return NULL;
22761 }
22762
22763
22764 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22765 PyObject *resultobj = 0;
22766 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
22767 wxFindReplaceData *result = 0 ;
22768 void *argp1 = 0 ;
22769 int res1 = 0 ;
22770 PyObject *swig_obj[1] ;
22771
22772 if (!args) SWIG_fail;
22773 swig_obj[0] = args;
22774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22775 if (!SWIG_IsOK(res1)) {
22776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22777 }
22778 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
22779 {
22780 PyThreadState* __tstate = wxPyBeginAllowThreads();
22781 result = (wxFindReplaceData *)(arg1)->GetData();
22782 wxPyEndAllowThreads(__tstate);
22783 if (PyErr_Occurred()) SWIG_fail;
22784 }
22785 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22786 return resultobj;
22787 fail:
22788 return NULL;
22789 }
22790
22791
22792 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22793 PyObject *resultobj = 0;
22794 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
22795 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
22796 void *argp1 = 0 ;
22797 int res1 = 0 ;
22798 void *argp2 = 0 ;
22799 int res2 = 0 ;
22800 PyObject * obj0 = 0 ;
22801 PyObject * obj1 = 0 ;
22802 char * kwnames[] = {
22803 (char *) "self",(char *) "data", NULL
22804 };
22805
22806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
22807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22808 if (!SWIG_IsOK(res1)) {
22809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22810 }
22811 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
22812 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22813 if (!SWIG_IsOK(res2)) {
22814 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
22815 }
22816 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
22817 {
22818 PyThreadState* __tstate = wxPyBeginAllowThreads();
22819 (arg1)->SetData(arg2);
22820 wxPyEndAllowThreads(__tstate);
22821 if (PyErr_Occurred()) SWIG_fail;
22822 }
22823 resultobj = SWIG_Py_Void();
22824 return resultobj;
22825 fail:
22826 return NULL;
22827 }
22828
22829
22830 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22831 PyObject *obj;
22832 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22833 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
22834 return SWIG_Py_Void();
22835 }
22836
22837 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22838 return SWIG_Python_InitShadowInstance(args);
22839 }
22840
22841 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22842 PyObject *resultobj = 0;
22843 wxWindow *arg1 = (wxWindow *) 0 ;
22844 int arg2 = (int) (int)-1 ;
22845 wxString const &arg3_defvalue = wxPyEmptyString ;
22846 wxString *arg3 = (wxString *) &arg3_defvalue ;
22847 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22848 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22849 wxSize const &arg5_defvalue = wxDefaultSize ;
22850 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22851 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
22852 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22853 wxString *arg7 = (wxString *) &arg7_defvalue ;
22854 wxMDIParentFrame *result = 0 ;
22855 void *argp1 = 0 ;
22856 int res1 = 0 ;
22857 int val2 ;
22858 int ecode2 = 0 ;
22859 bool temp3 = false ;
22860 wxPoint temp4 ;
22861 wxSize temp5 ;
22862 long val6 ;
22863 int ecode6 = 0 ;
22864 bool temp7 = false ;
22865 PyObject * obj0 = 0 ;
22866 PyObject * obj1 = 0 ;
22867 PyObject * obj2 = 0 ;
22868 PyObject * obj3 = 0 ;
22869 PyObject * obj4 = 0 ;
22870 PyObject * obj5 = 0 ;
22871 PyObject * obj6 = 0 ;
22872 char * kwnames[] = {
22873 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22874 };
22875
22876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22878 if (!SWIG_IsOK(res1)) {
22879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
22880 }
22881 arg1 = reinterpret_cast< wxWindow * >(argp1);
22882 if (obj1) {
22883 ecode2 = SWIG_AsVal_int(obj1, &val2);
22884 if (!SWIG_IsOK(ecode2)) {
22885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
22886 }
22887 arg2 = static_cast< int >(val2);
22888 }
22889 if (obj2) {
22890 {
22891 arg3 = wxString_in_helper(obj2);
22892 if (arg3 == NULL) SWIG_fail;
22893 temp3 = true;
22894 }
22895 }
22896 if (obj3) {
22897 {
22898 arg4 = &temp4;
22899 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22900 }
22901 }
22902 if (obj4) {
22903 {
22904 arg5 = &temp5;
22905 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22906 }
22907 }
22908 if (obj5) {
22909 ecode6 = SWIG_AsVal_long(obj5, &val6);
22910 if (!SWIG_IsOK(ecode6)) {
22911 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
22912 }
22913 arg6 = static_cast< long >(val6);
22914 }
22915 if (obj6) {
22916 {
22917 arg7 = wxString_in_helper(obj6);
22918 if (arg7 == NULL) SWIG_fail;
22919 temp7 = true;
22920 }
22921 }
22922 {
22923 if (!wxPyCheckForApp()) SWIG_fail;
22924 PyThreadState* __tstate = wxPyBeginAllowThreads();
22925 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22926 wxPyEndAllowThreads(__tstate);
22927 if (PyErr_Occurred()) SWIG_fail;
22928 }
22929 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
22930 {
22931 if (temp3)
22932 delete arg3;
22933 }
22934 {
22935 if (temp7)
22936 delete arg7;
22937 }
22938 return resultobj;
22939 fail:
22940 {
22941 if (temp3)
22942 delete arg3;
22943 }
22944 {
22945 if (temp7)
22946 delete arg7;
22947 }
22948 return NULL;
22949 }
22950
22951
22952 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22953 PyObject *resultobj = 0;
22954 wxMDIParentFrame *result = 0 ;
22955
22956 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
22957 {
22958 if (!wxPyCheckForApp()) SWIG_fail;
22959 PyThreadState* __tstate = wxPyBeginAllowThreads();
22960 result = (wxMDIParentFrame *)new wxMDIParentFrame();
22961 wxPyEndAllowThreads(__tstate);
22962 if (PyErr_Occurred()) SWIG_fail;
22963 }
22964 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
22965 return resultobj;
22966 fail:
22967 return NULL;
22968 }
22969
22970
22971 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22972 PyObject *resultobj = 0;
22973 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
22974 wxWindow *arg2 = (wxWindow *) 0 ;
22975 int arg3 = (int) (int)-1 ;
22976 wxString const &arg4_defvalue = wxPyEmptyString ;
22977 wxString *arg4 = (wxString *) &arg4_defvalue ;
22978 wxPoint const &arg5_defvalue = wxDefaultPosition ;
22979 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
22980 wxSize const &arg6_defvalue = wxDefaultSize ;
22981 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
22982 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
22983 wxString const &arg8_defvalue = wxPyFrameNameStr ;
22984 wxString *arg8 = (wxString *) &arg8_defvalue ;
22985 bool result;
22986 void *argp1 = 0 ;
22987 int res1 = 0 ;
22988 void *argp2 = 0 ;
22989 int res2 = 0 ;
22990 int val3 ;
22991 int ecode3 = 0 ;
22992 bool temp4 = false ;
22993 wxPoint temp5 ;
22994 wxSize temp6 ;
22995 long val7 ;
22996 int ecode7 = 0 ;
22997 bool temp8 = false ;
22998 PyObject * obj0 = 0 ;
22999 PyObject * obj1 = 0 ;
23000 PyObject * obj2 = 0 ;
23001 PyObject * obj3 = 0 ;
23002 PyObject * obj4 = 0 ;
23003 PyObject * obj5 = 0 ;
23004 PyObject * obj6 = 0 ;
23005 PyObject * obj7 = 0 ;
23006 char * kwnames[] = {
23007 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23008 };
23009
23010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
23011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23012 if (!SWIG_IsOK(res1)) {
23013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23014 }
23015 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23016 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
23017 if (!SWIG_IsOK(res2)) {
23018 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
23019 }
23020 arg2 = reinterpret_cast< wxWindow * >(argp2);
23021 if (obj2) {
23022 ecode3 = SWIG_AsVal_int(obj2, &val3);
23023 if (!SWIG_IsOK(ecode3)) {
23024 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
23025 }
23026 arg3 = static_cast< int >(val3);
23027 }
23028 if (obj3) {
23029 {
23030 arg4 = wxString_in_helper(obj3);
23031 if (arg4 == NULL) SWIG_fail;
23032 temp4 = true;
23033 }
23034 }
23035 if (obj4) {
23036 {
23037 arg5 = &temp5;
23038 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23039 }
23040 }
23041 if (obj5) {
23042 {
23043 arg6 = &temp6;
23044 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23045 }
23046 }
23047 if (obj6) {
23048 ecode7 = SWIG_AsVal_long(obj6, &val7);
23049 if (!SWIG_IsOK(ecode7)) {
23050 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
23051 }
23052 arg7 = static_cast< long >(val7);
23053 }
23054 if (obj7) {
23055 {
23056 arg8 = wxString_in_helper(obj7);
23057 if (arg8 == NULL) SWIG_fail;
23058 temp8 = true;
23059 }
23060 }
23061 {
23062 PyThreadState* __tstate = wxPyBeginAllowThreads();
23063 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
23064 wxPyEndAllowThreads(__tstate);
23065 if (PyErr_Occurred()) SWIG_fail;
23066 }
23067 {
23068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23069 }
23070 {
23071 if (temp4)
23072 delete arg4;
23073 }
23074 {
23075 if (temp8)
23076 delete arg8;
23077 }
23078 return resultobj;
23079 fail:
23080 {
23081 if (temp4)
23082 delete arg4;
23083 }
23084 {
23085 if (temp8)
23086 delete arg8;
23087 }
23088 return NULL;
23089 }
23090
23091
23092 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23093 PyObject *resultobj = 0;
23094 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23095 void *argp1 = 0 ;
23096 int res1 = 0 ;
23097 PyObject *swig_obj[1] ;
23098
23099 if (!args) SWIG_fail;
23100 swig_obj[0] = args;
23101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23102 if (!SWIG_IsOK(res1)) {
23103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23104 }
23105 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23106 {
23107 PyThreadState* __tstate = wxPyBeginAllowThreads();
23108 (arg1)->ActivateNext();
23109 wxPyEndAllowThreads(__tstate);
23110 if (PyErr_Occurred()) SWIG_fail;
23111 }
23112 resultobj = SWIG_Py_Void();
23113 return resultobj;
23114 fail:
23115 return NULL;
23116 }
23117
23118
23119 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23120 PyObject *resultobj = 0;
23121 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23122 void *argp1 = 0 ;
23123 int res1 = 0 ;
23124 PyObject *swig_obj[1] ;
23125
23126 if (!args) SWIG_fail;
23127 swig_obj[0] = args;
23128 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23129 if (!SWIG_IsOK(res1)) {
23130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23131 }
23132 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23133 {
23134 PyThreadState* __tstate = wxPyBeginAllowThreads();
23135 (arg1)->ActivatePrevious();
23136 wxPyEndAllowThreads(__tstate);
23137 if (PyErr_Occurred()) SWIG_fail;
23138 }
23139 resultobj = SWIG_Py_Void();
23140 return resultobj;
23141 fail:
23142 return NULL;
23143 }
23144
23145
23146 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23147 PyObject *resultobj = 0;
23148 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23149 void *argp1 = 0 ;
23150 int res1 = 0 ;
23151 PyObject *swig_obj[1] ;
23152
23153 if (!args) SWIG_fail;
23154 swig_obj[0] = args;
23155 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23156 if (!SWIG_IsOK(res1)) {
23157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23158 }
23159 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23160 {
23161 PyThreadState* __tstate = wxPyBeginAllowThreads();
23162 (arg1)->ArrangeIcons();
23163 wxPyEndAllowThreads(__tstate);
23164 if (PyErr_Occurred()) SWIG_fail;
23165 }
23166 resultobj = SWIG_Py_Void();
23167 return resultobj;
23168 fail:
23169 return NULL;
23170 }
23171
23172
23173 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23174 PyObject *resultobj = 0;
23175 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23176 void *argp1 = 0 ;
23177 int res1 = 0 ;
23178 PyObject *swig_obj[1] ;
23179
23180 if (!args) SWIG_fail;
23181 swig_obj[0] = args;
23182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23183 if (!SWIG_IsOK(res1)) {
23184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23185 }
23186 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23187 {
23188 PyThreadState* __tstate = wxPyBeginAllowThreads();
23189 (arg1)->Cascade();
23190 wxPyEndAllowThreads(__tstate);
23191 if (PyErr_Occurred()) SWIG_fail;
23192 }
23193 resultobj = SWIG_Py_Void();
23194 return resultobj;
23195 fail:
23196 return NULL;
23197 }
23198
23199
23200 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23201 PyObject *resultobj = 0;
23202 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23203 wxMDIChildFrame *result = 0 ;
23204 void *argp1 = 0 ;
23205 int res1 = 0 ;
23206 PyObject *swig_obj[1] ;
23207
23208 if (!args) SWIG_fail;
23209 swig_obj[0] = args;
23210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23211 if (!SWIG_IsOK(res1)) {
23212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23213 }
23214 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23215 {
23216 PyThreadState* __tstate = wxPyBeginAllowThreads();
23217 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
23218 wxPyEndAllowThreads(__tstate);
23219 if (PyErr_Occurred()) SWIG_fail;
23220 }
23221 {
23222 resultobj = wxPyMake_wxObject(result, (bool)0);
23223 }
23224 return resultobj;
23225 fail:
23226 return NULL;
23227 }
23228
23229
23230 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23231 PyObject *resultobj = 0;
23232 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23233 wxMDIClientWindow *result = 0 ;
23234 void *argp1 = 0 ;
23235 int res1 = 0 ;
23236 PyObject *swig_obj[1] ;
23237
23238 if (!args) SWIG_fail;
23239 swig_obj[0] = args;
23240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23241 if (!SWIG_IsOK(res1)) {
23242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23243 }
23244 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23245 {
23246 PyThreadState* __tstate = wxPyBeginAllowThreads();
23247 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
23248 wxPyEndAllowThreads(__tstate);
23249 if (PyErr_Occurred()) SWIG_fail;
23250 }
23251 {
23252 resultobj = wxPyMake_wxObject(result, (bool)0);
23253 }
23254 return resultobj;
23255 fail:
23256 return NULL;
23257 }
23258
23259
23260 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23261 PyObject *resultobj = 0;
23262 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23263 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
23264 void *argp1 = 0 ;
23265 int res1 = 0 ;
23266 int val2 ;
23267 int ecode2 = 0 ;
23268 PyObject * obj0 = 0 ;
23269 PyObject * obj1 = 0 ;
23270 char * kwnames[] = {
23271 (char *) "self",(char *) "orient", NULL
23272 };
23273
23274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
23275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23276 if (!SWIG_IsOK(res1)) {
23277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23278 }
23279 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23280 if (obj1) {
23281 ecode2 = SWIG_AsVal_int(obj1, &val2);
23282 if (!SWIG_IsOK(ecode2)) {
23283 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
23284 }
23285 arg2 = static_cast< wxOrientation >(val2);
23286 }
23287 {
23288 PyThreadState* __tstate = wxPyBeginAllowThreads();
23289 (arg1)->Tile(arg2);
23290 wxPyEndAllowThreads(__tstate);
23291 if (PyErr_Occurred()) SWIG_fail;
23292 }
23293 resultobj = SWIG_Py_Void();
23294 return resultobj;
23295 fail:
23296 return NULL;
23297 }
23298
23299
23300 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23301 PyObject *obj;
23302 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23303 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
23304 return SWIG_Py_Void();
23305 }
23306
23307 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23308 return SWIG_Python_InitShadowInstance(args);
23309 }
23310
23311 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23312 PyObject *resultobj = 0;
23313 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23314 int arg2 = (int) (int)-1 ;
23315 wxString const &arg3_defvalue = wxPyEmptyString ;
23316 wxString *arg3 = (wxString *) &arg3_defvalue ;
23317 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23318 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23319 wxSize const &arg5_defvalue = wxDefaultSize ;
23320 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23321 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23322 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23323 wxString *arg7 = (wxString *) &arg7_defvalue ;
23324 wxMDIChildFrame *result = 0 ;
23325 void *argp1 = 0 ;
23326 int res1 = 0 ;
23327 int val2 ;
23328 int ecode2 = 0 ;
23329 bool temp3 = false ;
23330 wxPoint temp4 ;
23331 wxSize temp5 ;
23332 long val6 ;
23333 int ecode6 = 0 ;
23334 bool temp7 = false ;
23335 PyObject * obj0 = 0 ;
23336 PyObject * obj1 = 0 ;
23337 PyObject * obj2 = 0 ;
23338 PyObject * obj3 = 0 ;
23339 PyObject * obj4 = 0 ;
23340 PyObject * obj5 = 0 ;
23341 PyObject * obj6 = 0 ;
23342 char * kwnames[] = {
23343 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23344 };
23345
23346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
23347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23348 if (!SWIG_IsOK(res1)) {
23349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23350 }
23351 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23352 if (obj1) {
23353 ecode2 = SWIG_AsVal_int(obj1, &val2);
23354 if (!SWIG_IsOK(ecode2)) {
23355 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
23356 }
23357 arg2 = static_cast< int >(val2);
23358 }
23359 if (obj2) {
23360 {
23361 arg3 = wxString_in_helper(obj2);
23362 if (arg3 == NULL) SWIG_fail;
23363 temp3 = true;
23364 }
23365 }
23366 if (obj3) {
23367 {
23368 arg4 = &temp4;
23369 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23370 }
23371 }
23372 if (obj4) {
23373 {
23374 arg5 = &temp5;
23375 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23376 }
23377 }
23378 if (obj5) {
23379 ecode6 = SWIG_AsVal_long(obj5, &val6);
23380 if (!SWIG_IsOK(ecode6)) {
23381 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
23382 }
23383 arg6 = static_cast< long >(val6);
23384 }
23385 if (obj6) {
23386 {
23387 arg7 = wxString_in_helper(obj6);
23388 if (arg7 == NULL) SWIG_fail;
23389 temp7 = true;
23390 }
23391 }
23392 {
23393 if (!wxPyCheckForApp()) SWIG_fail;
23394 PyThreadState* __tstate = wxPyBeginAllowThreads();
23395 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23396 wxPyEndAllowThreads(__tstate);
23397 if (PyErr_Occurred()) SWIG_fail;
23398 }
23399 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
23400 {
23401 if (temp3)
23402 delete arg3;
23403 }
23404 {
23405 if (temp7)
23406 delete arg7;
23407 }
23408 return resultobj;
23409 fail:
23410 {
23411 if (temp3)
23412 delete arg3;
23413 }
23414 {
23415 if (temp7)
23416 delete arg7;
23417 }
23418 return NULL;
23419 }
23420
23421
23422 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23423 PyObject *resultobj = 0;
23424 wxMDIChildFrame *result = 0 ;
23425
23426 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
23427 {
23428 if (!wxPyCheckForApp()) SWIG_fail;
23429 PyThreadState* __tstate = wxPyBeginAllowThreads();
23430 result = (wxMDIChildFrame *)new wxMDIChildFrame();
23431 wxPyEndAllowThreads(__tstate);
23432 if (PyErr_Occurred()) SWIG_fail;
23433 }
23434 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
23435 return resultobj;
23436 fail:
23437 return NULL;
23438 }
23439
23440
23441 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23442 PyObject *resultobj = 0;
23443 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
23444 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
23445 int arg3 = (int) (int)-1 ;
23446 wxString const &arg4_defvalue = wxPyEmptyString ;
23447 wxString *arg4 = (wxString *) &arg4_defvalue ;
23448 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23449 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23450 wxSize const &arg6_defvalue = wxDefaultSize ;
23451 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23452 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
23453 wxString const &arg8_defvalue = wxPyFrameNameStr ;
23454 wxString *arg8 = (wxString *) &arg8_defvalue ;
23455 bool result;
23456 void *argp1 = 0 ;
23457 int res1 = 0 ;
23458 void *argp2 = 0 ;
23459 int res2 = 0 ;
23460 int val3 ;
23461 int ecode3 = 0 ;
23462 bool temp4 = false ;
23463 wxPoint temp5 ;
23464 wxSize temp6 ;
23465 long val7 ;
23466 int ecode7 = 0 ;
23467 bool temp8 = false ;
23468 PyObject * obj0 = 0 ;
23469 PyObject * obj1 = 0 ;
23470 PyObject * obj2 = 0 ;
23471 PyObject * obj3 = 0 ;
23472 PyObject * obj4 = 0 ;
23473 PyObject * obj5 = 0 ;
23474 PyObject * obj6 = 0 ;
23475 PyObject * obj7 = 0 ;
23476 char * kwnames[] = {
23477 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23478 };
23479
23480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
23481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
23482 if (!SWIG_IsOK(res1)) {
23483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
23484 }
23485 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
23486 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23487 if (!SWIG_IsOK(res2)) {
23488 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
23489 }
23490 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
23491 if (obj2) {
23492 ecode3 = SWIG_AsVal_int(obj2, &val3);
23493 if (!SWIG_IsOK(ecode3)) {
23494 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
23495 }
23496 arg3 = static_cast< int >(val3);
23497 }
23498 if (obj3) {
23499 {
23500 arg4 = wxString_in_helper(obj3);
23501 if (arg4 == NULL) SWIG_fail;
23502 temp4 = true;
23503 }
23504 }
23505 if (obj4) {
23506 {
23507 arg5 = &temp5;
23508 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23509 }
23510 }
23511 if (obj5) {
23512 {
23513 arg6 = &temp6;
23514 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23515 }
23516 }
23517 if (obj6) {
23518 ecode7 = SWIG_AsVal_long(obj6, &val7);
23519 if (!SWIG_IsOK(ecode7)) {
23520 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
23521 }
23522 arg7 = static_cast< long >(val7);
23523 }
23524 if (obj7) {
23525 {
23526 arg8 = wxString_in_helper(obj7);
23527 if (arg8 == NULL) SWIG_fail;
23528 temp8 = true;
23529 }
23530 }
23531 {
23532 PyThreadState* __tstate = wxPyBeginAllowThreads();
23533 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
23534 wxPyEndAllowThreads(__tstate);
23535 if (PyErr_Occurred()) SWIG_fail;
23536 }
23537 {
23538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23539 }
23540 {
23541 if (temp4)
23542 delete arg4;
23543 }
23544 {
23545 if (temp8)
23546 delete arg8;
23547 }
23548 return resultobj;
23549 fail:
23550 {
23551 if (temp4)
23552 delete arg4;
23553 }
23554 {
23555 if (temp8)
23556 delete arg8;
23557 }
23558 return NULL;
23559 }
23560
23561
23562 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23563 PyObject *resultobj = 0;
23564 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
23565 void *argp1 = 0 ;
23566 int res1 = 0 ;
23567 PyObject *swig_obj[1] ;
23568
23569 if (!args) SWIG_fail;
23570 swig_obj[0] = args;
23571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
23572 if (!SWIG_IsOK(res1)) {
23573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
23574 }
23575 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
23576 {
23577 PyThreadState* __tstate = wxPyBeginAllowThreads();
23578 (arg1)->Activate();
23579 wxPyEndAllowThreads(__tstate);
23580 if (PyErr_Occurred()) SWIG_fail;
23581 }
23582 resultobj = SWIG_Py_Void();
23583 return resultobj;
23584 fail:
23585 return NULL;
23586 }
23587
23588
23589 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23590 PyObject *obj;
23591 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23592 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
23593 return SWIG_Py_Void();
23594 }
23595
23596 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23597 return SWIG_Python_InitShadowInstance(args);
23598 }
23599
23600 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23601 PyObject *resultobj = 0;
23602 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23603 long arg2 = (long) 0 ;
23604 wxMDIClientWindow *result = 0 ;
23605 void *argp1 = 0 ;
23606 int res1 = 0 ;
23607 long val2 ;
23608 int ecode2 = 0 ;
23609 PyObject * obj0 = 0 ;
23610 PyObject * obj1 = 0 ;
23611 char * kwnames[] = {
23612 (char *) "parent",(char *) "style", NULL
23613 };
23614
23615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
23616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23617 if (!SWIG_IsOK(res1)) {
23618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23619 }
23620 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23621 if (obj1) {
23622 ecode2 = SWIG_AsVal_long(obj1, &val2);
23623 if (!SWIG_IsOK(ecode2)) {
23624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
23625 }
23626 arg2 = static_cast< long >(val2);
23627 }
23628 {
23629 if (!wxPyCheckForApp()) SWIG_fail;
23630 PyThreadState* __tstate = wxPyBeginAllowThreads();
23631 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
23632 wxPyEndAllowThreads(__tstate);
23633 if (PyErr_Occurred()) SWIG_fail;
23634 }
23635 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
23636 return resultobj;
23637 fail:
23638 return NULL;
23639 }
23640
23641
23642 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23643 PyObject *resultobj = 0;
23644 wxMDIClientWindow *result = 0 ;
23645
23646 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
23647 {
23648 if (!wxPyCheckForApp()) SWIG_fail;
23649 PyThreadState* __tstate = wxPyBeginAllowThreads();
23650 result = (wxMDIClientWindow *)new wxMDIClientWindow();
23651 wxPyEndAllowThreads(__tstate);
23652 if (PyErr_Occurred()) SWIG_fail;
23653 }
23654 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
23655 return resultobj;
23656 fail:
23657 return NULL;
23658 }
23659
23660
23661 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23662 PyObject *resultobj = 0;
23663 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
23664 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
23665 long arg3 = (long) 0 ;
23666 bool result;
23667 void *argp1 = 0 ;
23668 int res1 = 0 ;
23669 void *argp2 = 0 ;
23670 int res2 = 0 ;
23671 long val3 ;
23672 int ecode3 = 0 ;
23673 PyObject * obj0 = 0 ;
23674 PyObject * obj1 = 0 ;
23675 PyObject * obj2 = 0 ;
23676 char * kwnames[] = {
23677 (char *) "self",(char *) "parent",(char *) "style", NULL
23678 };
23679
23680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
23682 if (!SWIG_IsOK(res1)) {
23683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
23684 }
23685 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
23686 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23687 if (!SWIG_IsOK(res2)) {
23688 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
23689 }
23690 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
23691 if (obj2) {
23692 ecode3 = SWIG_AsVal_long(obj2, &val3);
23693 if (!SWIG_IsOK(ecode3)) {
23694 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
23695 }
23696 arg3 = static_cast< long >(val3);
23697 }
23698 {
23699 PyThreadState* __tstate = wxPyBeginAllowThreads();
23700 result = (bool)(arg1)->Create(arg2,arg3);
23701 wxPyEndAllowThreads(__tstate);
23702 if (PyErr_Occurred()) SWIG_fail;
23703 }
23704 {
23705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23706 }
23707 return resultobj;
23708 fail:
23709 return NULL;
23710 }
23711
23712
23713 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23714 PyObject *obj;
23715 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23716 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
23717 return SWIG_Py_Void();
23718 }
23719
23720 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23721 return SWIG_Python_InitShadowInstance(args);
23722 }
23723
23724 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23725 PyObject *resultobj = 0;
23726 wxWindow *arg1 = (wxWindow *) 0 ;
23727 int arg2 = (int) (int)-1 ;
23728 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23729 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23730 wxSize const &arg4_defvalue = wxDefaultSize ;
23731 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23732 long arg5 = (long) 0 ;
23733 wxString const &arg6_defvalue = wxPyPanelNameStr ;
23734 wxString *arg6 = (wxString *) &arg6_defvalue ;
23735 wxPyWindow *result = 0 ;
23736 void *argp1 = 0 ;
23737 int res1 = 0 ;
23738 int val2 ;
23739 int ecode2 = 0 ;
23740 wxPoint temp3 ;
23741 wxSize temp4 ;
23742 long val5 ;
23743 int ecode5 = 0 ;
23744 bool temp6 = false ;
23745 PyObject * obj0 = 0 ;
23746 PyObject * obj1 = 0 ;
23747 PyObject * obj2 = 0 ;
23748 PyObject * obj3 = 0 ;
23749 PyObject * obj4 = 0 ;
23750 PyObject * obj5 = 0 ;
23751 char * kwnames[] = {
23752 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23753 };
23754
23755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23757 if (!SWIG_IsOK(res1)) {
23758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23759 }
23760 arg1 = reinterpret_cast< wxWindow * >(argp1);
23761 if (obj1) {
23762 ecode2 = SWIG_AsVal_int(obj1, &val2);
23763 if (!SWIG_IsOK(ecode2)) {
23764 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
23765 }
23766 arg2 = static_cast< int >(val2);
23767 }
23768 if (obj2) {
23769 {
23770 arg3 = &temp3;
23771 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23772 }
23773 }
23774 if (obj3) {
23775 {
23776 arg4 = &temp4;
23777 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23778 }
23779 }
23780 if (obj4) {
23781 ecode5 = SWIG_AsVal_long(obj4, &val5);
23782 if (!SWIG_IsOK(ecode5)) {
23783 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
23784 }
23785 arg5 = static_cast< long >(val5);
23786 }
23787 if (obj5) {
23788 {
23789 arg6 = wxString_in_helper(obj5);
23790 if (arg6 == NULL) SWIG_fail;
23791 temp6 = true;
23792 }
23793 }
23794 {
23795 if (!wxPyCheckForApp()) SWIG_fail;
23796 PyThreadState* __tstate = wxPyBeginAllowThreads();
23797 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23798 wxPyEndAllowThreads(__tstate);
23799 if (PyErr_Occurred()) SWIG_fail;
23800 }
23801 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
23802 {
23803 if (temp6)
23804 delete arg6;
23805 }
23806 return resultobj;
23807 fail:
23808 {
23809 if (temp6)
23810 delete arg6;
23811 }
23812 return NULL;
23813 }
23814
23815
23816 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23817 PyObject *resultobj = 0;
23818 wxPyWindow *result = 0 ;
23819
23820 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
23821 {
23822 if (!wxPyCheckForApp()) SWIG_fail;
23823 PyThreadState* __tstate = wxPyBeginAllowThreads();
23824 result = (wxPyWindow *)new wxPyWindow();
23825 wxPyEndAllowThreads(__tstate);
23826 if (PyErr_Occurred()) SWIG_fail;
23827 }
23828 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
23829 return resultobj;
23830 fail:
23831 return NULL;
23832 }
23833
23834
23835 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23836 PyObject *resultobj = 0;
23837 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
23838 PyObject *arg2 = (PyObject *) 0 ;
23839 PyObject *arg3 = (PyObject *) 0 ;
23840 void *argp1 = 0 ;
23841 int res1 = 0 ;
23842 PyObject * obj0 = 0 ;
23843 PyObject * obj1 = 0 ;
23844 PyObject * obj2 = 0 ;
23845 char * kwnames[] = {
23846 (char *) "self",(char *) "self",(char *) "_class", NULL
23847 };
23848
23849 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
23851 if (!SWIG_IsOK(res1)) {
23852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
23853 }
23854 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
23855 arg2 = obj1;
23856 arg3 = obj2;
23857 {
23858 PyThreadState* __tstate = wxPyBeginAllowThreads();
23859 (arg1)->_setCallbackInfo(arg2,arg3);
23860 wxPyEndAllowThreads(__tstate);
23861 if (PyErr_Occurred()) SWIG_fail;
23862 }
23863 resultobj = SWIG_Py_Void();
23864 return resultobj;
23865 fail:
23866 return NULL;
23867 }
23868
23869
23870 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23871 PyObject *resultobj = 0;
23872 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
23873 wxDC *arg2 = (wxDC *) 0 ;
23874 bool result;
23875 void *argp1 = 0 ;
23876 int res1 = 0 ;
23877 void *argp2 = 0 ;
23878 int res2 = 0 ;
23879 PyObject * obj0 = 0 ;
23880 PyObject * obj1 = 0 ;
23881 char * kwnames[] = {
23882 (char *) "self",(char *) "dc", NULL
23883 };
23884
23885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
23887 if (!SWIG_IsOK(res1)) {
23888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
23889 }
23890 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
23891 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23892 if (!SWIG_IsOK(res2)) {
23893 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23894 }
23895 arg2 = reinterpret_cast< wxDC * >(argp2);
23896 {
23897 PyThreadState* __tstate = wxPyBeginAllowThreads();
23898 result = (bool)(arg1)->DoEraseBackground(arg2);
23899 wxPyEndAllowThreads(__tstate);
23900 if (PyErr_Occurred()) SWIG_fail;
23901 }
23902 {
23903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23904 }
23905 return resultobj;
23906 fail:
23907 return NULL;
23908 }
23909
23910
23911 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23912 PyObject *resultobj = 0;
23913 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
23914 int arg2 ;
23915 int arg3 ;
23916 int arg4 ;
23917 int arg5 ;
23918 void *argp1 = 0 ;
23919 int res1 = 0 ;
23920 int val2 ;
23921 int ecode2 = 0 ;
23922 int val3 ;
23923 int ecode3 = 0 ;
23924 int val4 ;
23925 int ecode4 = 0 ;
23926 int val5 ;
23927 int ecode5 = 0 ;
23928 PyObject * obj0 = 0 ;
23929 PyObject * obj1 = 0 ;
23930 PyObject * obj2 = 0 ;
23931 PyObject * obj3 = 0 ;
23932 PyObject * obj4 = 0 ;
23933 char * kwnames[] = {
23934 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23935 };
23936
23937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
23939 if (!SWIG_IsOK(res1)) {
23940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
23941 }
23942 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
23943 ecode2 = SWIG_AsVal_int(obj1, &val2);
23944 if (!SWIG_IsOK(ecode2)) {
23945 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23946 }
23947 arg2 = static_cast< int >(val2);
23948 ecode3 = SWIG_AsVal_int(obj2, &val3);
23949 if (!SWIG_IsOK(ecode3)) {
23950 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23951 }
23952 arg3 = static_cast< int >(val3);
23953 ecode4 = SWIG_AsVal_int(obj3, &val4);
23954 if (!SWIG_IsOK(ecode4)) {
23955 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23956 }
23957 arg4 = static_cast< int >(val4);
23958 ecode5 = SWIG_AsVal_int(obj4, &val5);
23959 if (!SWIG_IsOK(ecode5)) {
23960 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23961 }
23962 arg5 = static_cast< int >(val5);
23963 {
23964 PyThreadState* __tstate = wxPyBeginAllowThreads();
23965 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23966 wxPyEndAllowThreads(__tstate);
23967 if (PyErr_Occurred()) SWIG_fail;
23968 }
23969 resultobj = SWIG_Py_Void();
23970 return resultobj;
23971 fail:
23972 return NULL;
23973 }
23974
23975
23976 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23977 PyObject *resultobj = 0;
23978 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
23979 int arg2 ;
23980 int arg3 ;
23981 int arg4 ;
23982 int arg5 ;
23983 int arg6 = (int) wxSIZE_AUTO ;
23984 void *argp1 = 0 ;
23985 int res1 = 0 ;
23986 int val2 ;
23987 int ecode2 = 0 ;
23988 int val3 ;
23989 int ecode3 = 0 ;
23990 int val4 ;
23991 int ecode4 = 0 ;
23992 int val5 ;
23993 int ecode5 = 0 ;
23994 int val6 ;
23995 int ecode6 = 0 ;
23996 PyObject * obj0 = 0 ;
23997 PyObject * obj1 = 0 ;
23998 PyObject * obj2 = 0 ;
23999 PyObject * obj3 = 0 ;
24000 PyObject * obj4 = 0 ;
24001 PyObject * obj5 = 0 ;
24002 char * kwnames[] = {
24003 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24004 };
24005
24006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
24007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24008 if (!SWIG_IsOK(res1)) {
24009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24010 }
24011 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24012 ecode2 = SWIG_AsVal_int(obj1, &val2);
24013 if (!SWIG_IsOK(ecode2)) {
24014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
24015 }
24016 arg2 = static_cast< int >(val2);
24017 ecode3 = SWIG_AsVal_int(obj2, &val3);
24018 if (!SWIG_IsOK(ecode3)) {
24019 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
24020 }
24021 arg3 = static_cast< int >(val3);
24022 ecode4 = SWIG_AsVal_int(obj3, &val4);
24023 if (!SWIG_IsOK(ecode4)) {
24024 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
24025 }
24026 arg4 = static_cast< int >(val4);
24027 ecode5 = SWIG_AsVal_int(obj4, &val5);
24028 if (!SWIG_IsOK(ecode5)) {
24029 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
24030 }
24031 arg5 = static_cast< int >(val5);
24032 if (obj5) {
24033 ecode6 = SWIG_AsVal_int(obj5, &val6);
24034 if (!SWIG_IsOK(ecode6)) {
24035 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
24036 }
24037 arg6 = static_cast< int >(val6);
24038 }
24039 {
24040 PyThreadState* __tstate = wxPyBeginAllowThreads();
24041 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
24042 wxPyEndAllowThreads(__tstate);
24043 if (PyErr_Occurred()) SWIG_fail;
24044 }
24045 resultobj = SWIG_Py_Void();
24046 return resultobj;
24047 fail:
24048 return NULL;
24049 }
24050
24051
24052 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24053 PyObject *resultobj = 0;
24054 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24055 int arg2 ;
24056 int arg3 ;
24057 void *argp1 = 0 ;
24058 int res1 = 0 ;
24059 int val2 ;
24060 int ecode2 = 0 ;
24061 int val3 ;
24062 int ecode3 = 0 ;
24063 PyObject * obj0 = 0 ;
24064 PyObject * obj1 = 0 ;
24065 PyObject * obj2 = 0 ;
24066 char * kwnames[] = {
24067 (char *) "self",(char *) "width",(char *) "height", NULL
24068 };
24069
24070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24072 if (!SWIG_IsOK(res1)) {
24073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24074 }
24075 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24076 ecode2 = SWIG_AsVal_int(obj1, &val2);
24077 if (!SWIG_IsOK(ecode2)) {
24078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
24079 }
24080 arg2 = static_cast< int >(val2);
24081 ecode3 = SWIG_AsVal_int(obj2, &val3);
24082 if (!SWIG_IsOK(ecode3)) {
24083 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
24084 }
24085 arg3 = static_cast< int >(val3);
24086 {
24087 PyThreadState* __tstate = wxPyBeginAllowThreads();
24088 (arg1)->DoSetClientSize(arg2,arg3);
24089 wxPyEndAllowThreads(__tstate);
24090 if (PyErr_Occurred()) SWIG_fail;
24091 }
24092 resultobj = SWIG_Py_Void();
24093 return resultobj;
24094 fail:
24095 return NULL;
24096 }
24097
24098
24099 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24100 PyObject *resultobj = 0;
24101 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24102 int arg2 ;
24103 int arg3 ;
24104 void *argp1 = 0 ;
24105 int res1 = 0 ;
24106 int val2 ;
24107 int ecode2 = 0 ;
24108 int val3 ;
24109 int ecode3 = 0 ;
24110 PyObject * obj0 = 0 ;
24111 PyObject * obj1 = 0 ;
24112 PyObject * obj2 = 0 ;
24113 char * kwnames[] = {
24114 (char *) "self",(char *) "x",(char *) "y", NULL
24115 };
24116
24117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24119 if (!SWIG_IsOK(res1)) {
24120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24121 }
24122 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24123 ecode2 = SWIG_AsVal_int(obj1, &val2);
24124 if (!SWIG_IsOK(ecode2)) {
24125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
24126 }
24127 arg2 = static_cast< int >(val2);
24128 ecode3 = SWIG_AsVal_int(obj2, &val3);
24129 if (!SWIG_IsOK(ecode3)) {
24130 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
24131 }
24132 arg3 = static_cast< int >(val3);
24133 {
24134 PyThreadState* __tstate = wxPyBeginAllowThreads();
24135 (arg1)->DoSetVirtualSize(arg2,arg3);
24136 wxPyEndAllowThreads(__tstate);
24137 if (PyErr_Occurred()) SWIG_fail;
24138 }
24139 resultobj = SWIG_Py_Void();
24140 return resultobj;
24141 fail:
24142 return NULL;
24143 }
24144
24145
24146 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24147 PyObject *resultobj = 0;
24148 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24149 int *arg2 = (int *) 0 ;
24150 int *arg3 = (int *) 0 ;
24151 void *argp1 = 0 ;
24152 int res1 = 0 ;
24153 int temp2 ;
24154 int res2 = SWIG_TMPOBJ ;
24155 int temp3 ;
24156 int res3 = SWIG_TMPOBJ ;
24157 PyObject *swig_obj[1] ;
24158
24159 arg2 = &temp2;
24160 arg3 = &temp3;
24161 if (!args) SWIG_fail;
24162 swig_obj[0] = args;
24163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24164 if (!SWIG_IsOK(res1)) {
24165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24166 }
24167 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24168 {
24169 PyThreadState* __tstate = wxPyBeginAllowThreads();
24170 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
24171 wxPyEndAllowThreads(__tstate);
24172 if (PyErr_Occurred()) SWIG_fail;
24173 }
24174 resultobj = SWIG_Py_Void();
24175 if (SWIG_IsTmpObj(res2)) {
24176 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24177 } else {
24178 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24179 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24180 }
24181 if (SWIG_IsTmpObj(res3)) {
24182 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24183 } else {
24184 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24185 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24186 }
24187 return resultobj;
24188 fail:
24189 return NULL;
24190 }
24191
24192
24193 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24194 PyObject *resultobj = 0;
24195 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24196 int *arg2 = (int *) 0 ;
24197 int *arg3 = (int *) 0 ;
24198 void *argp1 = 0 ;
24199 int res1 = 0 ;
24200 int temp2 ;
24201 int res2 = SWIG_TMPOBJ ;
24202 int temp3 ;
24203 int res3 = SWIG_TMPOBJ ;
24204 PyObject *swig_obj[1] ;
24205
24206 arg2 = &temp2;
24207 arg3 = &temp3;
24208 if (!args) SWIG_fail;
24209 swig_obj[0] = args;
24210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24211 if (!SWIG_IsOK(res1)) {
24212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24213 }
24214 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24215 {
24216 PyThreadState* __tstate = wxPyBeginAllowThreads();
24217 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
24218 wxPyEndAllowThreads(__tstate);
24219 if (PyErr_Occurred()) SWIG_fail;
24220 }
24221 resultobj = SWIG_Py_Void();
24222 if (SWIG_IsTmpObj(res2)) {
24223 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24224 } else {
24225 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24226 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24227 }
24228 if (SWIG_IsTmpObj(res3)) {
24229 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24230 } else {
24231 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24232 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24233 }
24234 return resultobj;
24235 fail:
24236 return NULL;
24237 }
24238
24239
24240 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24241 PyObject *resultobj = 0;
24242 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24243 int *arg2 = (int *) 0 ;
24244 int *arg3 = (int *) 0 ;
24245 void *argp1 = 0 ;
24246 int res1 = 0 ;
24247 int temp2 ;
24248 int res2 = SWIG_TMPOBJ ;
24249 int temp3 ;
24250 int res3 = SWIG_TMPOBJ ;
24251 PyObject *swig_obj[1] ;
24252
24253 arg2 = &temp2;
24254 arg3 = &temp3;
24255 if (!args) SWIG_fail;
24256 swig_obj[0] = args;
24257 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24258 if (!SWIG_IsOK(res1)) {
24259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24260 }
24261 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24262 {
24263 PyThreadState* __tstate = wxPyBeginAllowThreads();
24264 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
24265 wxPyEndAllowThreads(__tstate);
24266 if (PyErr_Occurred()) SWIG_fail;
24267 }
24268 resultobj = SWIG_Py_Void();
24269 if (SWIG_IsTmpObj(res2)) {
24270 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24271 } else {
24272 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24273 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24274 }
24275 if (SWIG_IsTmpObj(res3)) {
24276 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24277 } else {
24278 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24279 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24280 }
24281 return resultobj;
24282 fail:
24283 return NULL;
24284 }
24285
24286
24287 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24288 PyObject *resultobj = 0;
24289 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24290 wxSize result;
24291 void *argp1 = 0 ;
24292 int res1 = 0 ;
24293 PyObject *swig_obj[1] ;
24294
24295 if (!args) SWIG_fail;
24296 swig_obj[0] = args;
24297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24298 if (!SWIG_IsOK(res1)) {
24299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24300 }
24301 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24302 {
24303 PyThreadState* __tstate = wxPyBeginAllowThreads();
24304 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
24305 wxPyEndAllowThreads(__tstate);
24306 if (PyErr_Occurred()) SWIG_fail;
24307 }
24308 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24309 return resultobj;
24310 fail:
24311 return NULL;
24312 }
24313
24314
24315 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24316 PyObject *resultobj = 0;
24317 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24318 wxSize result;
24319 void *argp1 = 0 ;
24320 int res1 = 0 ;
24321 PyObject *swig_obj[1] ;
24322
24323 if (!args) SWIG_fail;
24324 swig_obj[0] = args;
24325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24326 if (!SWIG_IsOK(res1)) {
24327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24328 }
24329 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24330 {
24331 PyThreadState* __tstate = wxPyBeginAllowThreads();
24332 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
24333 wxPyEndAllowThreads(__tstate);
24334 if (PyErr_Occurred()) SWIG_fail;
24335 }
24336 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24337 return resultobj;
24338 fail:
24339 return NULL;
24340 }
24341
24342
24343 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24344 PyObject *resultobj = 0;
24345 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24346 SwigValueWrapper<wxVisualAttributes > result;
24347 void *argp1 = 0 ;
24348 int res1 = 0 ;
24349 PyObject *swig_obj[1] ;
24350
24351 if (!args) SWIG_fail;
24352 swig_obj[0] = args;
24353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24354 if (!SWIG_IsOK(res1)) {
24355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24356 }
24357 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24358 {
24359 PyThreadState* __tstate = wxPyBeginAllowThreads();
24360 result = (arg1)->GetDefaultAttributes();
24361 wxPyEndAllowThreads(__tstate);
24362 if (PyErr_Occurred()) SWIG_fail;
24363 }
24364 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
24365 return resultobj;
24366 fail:
24367 return NULL;
24368 }
24369
24370
24371 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24372 PyObject *resultobj = 0;
24373 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24374 void *argp1 = 0 ;
24375 int res1 = 0 ;
24376 PyObject *swig_obj[1] ;
24377
24378 if (!args) SWIG_fail;
24379 swig_obj[0] = args;
24380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24381 if (!SWIG_IsOK(res1)) {
24382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24383 }
24384 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24385 {
24386 PyThreadState* __tstate = wxPyBeginAllowThreads();
24387 (arg1)->OnInternalIdle();
24388 wxPyEndAllowThreads(__tstate);
24389 if (PyErr_Occurred()) SWIG_fail;
24390 }
24391 resultobj = SWIG_Py_Void();
24392 return resultobj;
24393 fail:
24394 return NULL;
24395 }
24396
24397
24398 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24399 PyObject *obj;
24400 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24401 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
24402 return SWIG_Py_Void();
24403 }
24404
24405 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24406 return SWIG_Python_InitShadowInstance(args);
24407 }
24408
24409 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24410 PyObject *resultobj = 0;
24411 wxWindow *arg1 = (wxWindow *) 0 ;
24412 int arg2 = (int) (int)-1 ;
24413 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24414 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24415 wxSize const &arg4_defvalue = wxDefaultSize ;
24416 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24417 long arg5 = (long) 0 ;
24418 wxString const &arg6_defvalue = wxPyPanelNameStr ;
24419 wxString *arg6 = (wxString *) &arg6_defvalue ;
24420 wxPyPanel *result = 0 ;
24421 void *argp1 = 0 ;
24422 int res1 = 0 ;
24423 int val2 ;
24424 int ecode2 = 0 ;
24425 wxPoint temp3 ;
24426 wxSize temp4 ;
24427 long val5 ;
24428 int ecode5 = 0 ;
24429 bool temp6 = false ;
24430 PyObject * obj0 = 0 ;
24431 PyObject * obj1 = 0 ;
24432 PyObject * obj2 = 0 ;
24433 PyObject * obj3 = 0 ;
24434 PyObject * obj4 = 0 ;
24435 PyObject * obj5 = 0 ;
24436 char * kwnames[] = {
24437 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24438 };
24439
24440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
24441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
24442 if (!SWIG_IsOK(res1)) {
24443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
24444 }
24445 arg1 = reinterpret_cast< wxWindow * >(argp1);
24446 if (obj1) {
24447 ecode2 = SWIG_AsVal_int(obj1, &val2);
24448 if (!SWIG_IsOK(ecode2)) {
24449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
24450 }
24451 arg2 = static_cast< int >(val2);
24452 }
24453 if (obj2) {
24454 {
24455 arg3 = &temp3;
24456 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24457 }
24458 }
24459 if (obj3) {
24460 {
24461 arg4 = &temp4;
24462 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24463 }
24464 }
24465 if (obj4) {
24466 ecode5 = SWIG_AsVal_long(obj4, &val5);
24467 if (!SWIG_IsOK(ecode5)) {
24468 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
24469 }
24470 arg5 = static_cast< long >(val5);
24471 }
24472 if (obj5) {
24473 {
24474 arg6 = wxString_in_helper(obj5);
24475 if (arg6 == NULL) SWIG_fail;
24476 temp6 = true;
24477 }
24478 }
24479 {
24480 if (!wxPyCheckForApp()) SWIG_fail;
24481 PyThreadState* __tstate = wxPyBeginAllowThreads();
24482 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
24483 wxPyEndAllowThreads(__tstate);
24484 if (PyErr_Occurred()) SWIG_fail;
24485 }
24486 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
24487 {
24488 if (temp6)
24489 delete arg6;
24490 }
24491 return resultobj;
24492 fail:
24493 {
24494 if (temp6)
24495 delete arg6;
24496 }
24497 return NULL;
24498 }
24499
24500
24501 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24502 PyObject *resultobj = 0;
24503 wxPyPanel *result = 0 ;
24504
24505 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
24506 {
24507 if (!wxPyCheckForApp()) SWIG_fail;
24508 PyThreadState* __tstate = wxPyBeginAllowThreads();
24509 result = (wxPyPanel *)new wxPyPanel();
24510 wxPyEndAllowThreads(__tstate);
24511 if (PyErr_Occurred()) SWIG_fail;
24512 }
24513 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
24514 return resultobj;
24515 fail:
24516 return NULL;
24517 }
24518
24519
24520 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24521 PyObject *resultobj = 0;
24522 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24523 PyObject *arg2 = (PyObject *) 0 ;
24524 PyObject *arg3 = (PyObject *) 0 ;
24525 void *argp1 = 0 ;
24526 int res1 = 0 ;
24527 PyObject * obj0 = 0 ;
24528 PyObject * obj1 = 0 ;
24529 PyObject * obj2 = 0 ;
24530 char * kwnames[] = {
24531 (char *) "self",(char *) "self",(char *) "_class", NULL
24532 };
24533
24534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24536 if (!SWIG_IsOK(res1)) {
24537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24538 }
24539 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24540 arg2 = obj1;
24541 arg3 = obj2;
24542 {
24543 PyThreadState* __tstate = wxPyBeginAllowThreads();
24544 (arg1)->_setCallbackInfo(arg2,arg3);
24545 wxPyEndAllowThreads(__tstate);
24546 if (PyErr_Occurred()) SWIG_fail;
24547 }
24548 resultobj = SWIG_Py_Void();
24549 return resultobj;
24550 fail:
24551 return NULL;
24552 }
24553
24554
24555 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24556 PyObject *resultobj = 0;
24557 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24558 wxDC *arg2 = (wxDC *) 0 ;
24559 bool result;
24560 void *argp1 = 0 ;
24561 int res1 = 0 ;
24562 void *argp2 = 0 ;
24563 int res2 = 0 ;
24564 PyObject * obj0 = 0 ;
24565 PyObject * obj1 = 0 ;
24566 char * kwnames[] = {
24567 (char *) "self",(char *) "dc", NULL
24568 };
24569
24570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
24571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24572 if (!SWIG_IsOK(res1)) {
24573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24574 }
24575 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24576 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
24577 if (!SWIG_IsOK(res2)) {
24578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
24579 }
24580 arg2 = reinterpret_cast< wxDC * >(argp2);
24581 {
24582 PyThreadState* __tstate = wxPyBeginAllowThreads();
24583 result = (bool)(arg1)->DoEraseBackground(arg2);
24584 wxPyEndAllowThreads(__tstate);
24585 if (PyErr_Occurred()) SWIG_fail;
24586 }
24587 {
24588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24589 }
24590 return resultobj;
24591 fail:
24592 return NULL;
24593 }
24594
24595
24596 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24597 PyObject *resultobj = 0;
24598 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24599 int arg2 ;
24600 int arg3 ;
24601 int arg4 ;
24602 int arg5 ;
24603 void *argp1 = 0 ;
24604 int res1 = 0 ;
24605 int val2 ;
24606 int ecode2 = 0 ;
24607 int val3 ;
24608 int ecode3 = 0 ;
24609 int val4 ;
24610 int ecode4 = 0 ;
24611 int val5 ;
24612 int ecode5 = 0 ;
24613 PyObject * obj0 = 0 ;
24614 PyObject * obj1 = 0 ;
24615 PyObject * obj2 = 0 ;
24616 PyObject * obj3 = 0 ;
24617 PyObject * obj4 = 0 ;
24618 char * kwnames[] = {
24619 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24620 };
24621
24622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
24623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24624 if (!SWIG_IsOK(res1)) {
24625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24626 }
24627 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24628 ecode2 = SWIG_AsVal_int(obj1, &val2);
24629 if (!SWIG_IsOK(ecode2)) {
24630 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
24631 }
24632 arg2 = static_cast< int >(val2);
24633 ecode3 = SWIG_AsVal_int(obj2, &val3);
24634 if (!SWIG_IsOK(ecode3)) {
24635 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
24636 }
24637 arg3 = static_cast< int >(val3);
24638 ecode4 = SWIG_AsVal_int(obj3, &val4);
24639 if (!SWIG_IsOK(ecode4)) {
24640 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
24641 }
24642 arg4 = static_cast< int >(val4);
24643 ecode5 = SWIG_AsVal_int(obj4, &val5);
24644 if (!SWIG_IsOK(ecode5)) {
24645 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
24646 }
24647 arg5 = static_cast< int >(val5);
24648 {
24649 PyThreadState* __tstate = wxPyBeginAllowThreads();
24650 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
24651 wxPyEndAllowThreads(__tstate);
24652 if (PyErr_Occurred()) SWIG_fail;
24653 }
24654 resultobj = SWIG_Py_Void();
24655 return resultobj;
24656 fail:
24657 return NULL;
24658 }
24659
24660
24661 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24662 PyObject *resultobj = 0;
24663 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24664 int arg2 ;
24665 int arg3 ;
24666 int arg4 ;
24667 int arg5 ;
24668 int arg6 = (int) wxSIZE_AUTO ;
24669 void *argp1 = 0 ;
24670 int res1 = 0 ;
24671 int val2 ;
24672 int ecode2 = 0 ;
24673 int val3 ;
24674 int ecode3 = 0 ;
24675 int val4 ;
24676 int ecode4 = 0 ;
24677 int val5 ;
24678 int ecode5 = 0 ;
24679 int val6 ;
24680 int ecode6 = 0 ;
24681 PyObject * obj0 = 0 ;
24682 PyObject * obj1 = 0 ;
24683 PyObject * obj2 = 0 ;
24684 PyObject * obj3 = 0 ;
24685 PyObject * obj4 = 0 ;
24686 PyObject * obj5 = 0 ;
24687 char * kwnames[] = {
24688 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24689 };
24690
24691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
24692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24693 if (!SWIG_IsOK(res1)) {
24694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24695 }
24696 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24697 ecode2 = SWIG_AsVal_int(obj1, &val2);
24698 if (!SWIG_IsOK(ecode2)) {
24699 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
24700 }
24701 arg2 = static_cast< int >(val2);
24702 ecode3 = SWIG_AsVal_int(obj2, &val3);
24703 if (!SWIG_IsOK(ecode3)) {
24704 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
24705 }
24706 arg3 = static_cast< int >(val3);
24707 ecode4 = SWIG_AsVal_int(obj3, &val4);
24708 if (!SWIG_IsOK(ecode4)) {
24709 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
24710 }
24711 arg4 = static_cast< int >(val4);
24712 ecode5 = SWIG_AsVal_int(obj4, &val5);
24713 if (!SWIG_IsOK(ecode5)) {
24714 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
24715 }
24716 arg5 = static_cast< int >(val5);
24717 if (obj5) {
24718 ecode6 = SWIG_AsVal_int(obj5, &val6);
24719 if (!SWIG_IsOK(ecode6)) {
24720 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
24721 }
24722 arg6 = static_cast< int >(val6);
24723 }
24724 {
24725 PyThreadState* __tstate = wxPyBeginAllowThreads();
24726 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
24727 wxPyEndAllowThreads(__tstate);
24728 if (PyErr_Occurred()) SWIG_fail;
24729 }
24730 resultobj = SWIG_Py_Void();
24731 return resultobj;
24732 fail:
24733 return NULL;
24734 }
24735
24736
24737 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24738 PyObject *resultobj = 0;
24739 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24740 int arg2 ;
24741 int arg3 ;
24742 void *argp1 = 0 ;
24743 int res1 = 0 ;
24744 int val2 ;
24745 int ecode2 = 0 ;
24746 int val3 ;
24747 int ecode3 = 0 ;
24748 PyObject * obj0 = 0 ;
24749 PyObject * obj1 = 0 ;
24750 PyObject * obj2 = 0 ;
24751 char * kwnames[] = {
24752 (char *) "self",(char *) "width",(char *) "height", NULL
24753 };
24754
24755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24757 if (!SWIG_IsOK(res1)) {
24758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24759 }
24760 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24761 ecode2 = SWIG_AsVal_int(obj1, &val2);
24762 if (!SWIG_IsOK(ecode2)) {
24763 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
24764 }
24765 arg2 = static_cast< int >(val2);
24766 ecode3 = SWIG_AsVal_int(obj2, &val3);
24767 if (!SWIG_IsOK(ecode3)) {
24768 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
24769 }
24770 arg3 = static_cast< int >(val3);
24771 {
24772 PyThreadState* __tstate = wxPyBeginAllowThreads();
24773 (arg1)->DoSetClientSize(arg2,arg3);
24774 wxPyEndAllowThreads(__tstate);
24775 if (PyErr_Occurred()) SWIG_fail;
24776 }
24777 resultobj = SWIG_Py_Void();
24778 return resultobj;
24779 fail:
24780 return NULL;
24781 }
24782
24783
24784 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24785 PyObject *resultobj = 0;
24786 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24787 int arg2 ;
24788 int arg3 ;
24789 void *argp1 = 0 ;
24790 int res1 = 0 ;
24791 int val2 ;
24792 int ecode2 = 0 ;
24793 int val3 ;
24794 int ecode3 = 0 ;
24795 PyObject * obj0 = 0 ;
24796 PyObject * obj1 = 0 ;
24797 PyObject * obj2 = 0 ;
24798 char * kwnames[] = {
24799 (char *) "self",(char *) "x",(char *) "y", NULL
24800 };
24801
24802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24804 if (!SWIG_IsOK(res1)) {
24805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24806 }
24807 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24808 ecode2 = SWIG_AsVal_int(obj1, &val2);
24809 if (!SWIG_IsOK(ecode2)) {
24810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
24811 }
24812 arg2 = static_cast< int >(val2);
24813 ecode3 = SWIG_AsVal_int(obj2, &val3);
24814 if (!SWIG_IsOK(ecode3)) {
24815 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
24816 }
24817 arg3 = static_cast< int >(val3);
24818 {
24819 PyThreadState* __tstate = wxPyBeginAllowThreads();
24820 (arg1)->DoSetVirtualSize(arg2,arg3);
24821 wxPyEndAllowThreads(__tstate);
24822 if (PyErr_Occurred()) SWIG_fail;
24823 }
24824 resultobj = SWIG_Py_Void();
24825 return resultobj;
24826 fail:
24827 return NULL;
24828 }
24829
24830
24831 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24832 PyObject *resultobj = 0;
24833 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24834 int *arg2 = (int *) 0 ;
24835 int *arg3 = (int *) 0 ;
24836 void *argp1 = 0 ;
24837 int res1 = 0 ;
24838 int temp2 ;
24839 int res2 = SWIG_TMPOBJ ;
24840 int temp3 ;
24841 int res3 = SWIG_TMPOBJ ;
24842 PyObject *swig_obj[1] ;
24843
24844 arg2 = &temp2;
24845 arg3 = &temp3;
24846 if (!args) SWIG_fail;
24847 swig_obj[0] = args;
24848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24849 if (!SWIG_IsOK(res1)) {
24850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
24851 }
24852 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24853 {
24854 PyThreadState* __tstate = wxPyBeginAllowThreads();
24855 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
24856 wxPyEndAllowThreads(__tstate);
24857 if (PyErr_Occurred()) SWIG_fail;
24858 }
24859 resultobj = SWIG_Py_Void();
24860 if (SWIG_IsTmpObj(res2)) {
24861 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24862 } else {
24863 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24864 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24865 }
24866 if (SWIG_IsTmpObj(res3)) {
24867 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24868 } else {
24869 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24870 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24871 }
24872 return resultobj;
24873 fail:
24874 return NULL;
24875 }
24876
24877
24878 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24879 PyObject *resultobj = 0;
24880 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24881 int *arg2 = (int *) 0 ;
24882 int *arg3 = (int *) 0 ;
24883 void *argp1 = 0 ;
24884 int res1 = 0 ;
24885 int temp2 ;
24886 int res2 = SWIG_TMPOBJ ;
24887 int temp3 ;
24888 int res3 = SWIG_TMPOBJ ;
24889 PyObject *swig_obj[1] ;
24890
24891 arg2 = &temp2;
24892 arg3 = &temp3;
24893 if (!args) SWIG_fail;
24894 swig_obj[0] = args;
24895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24896 if (!SWIG_IsOK(res1)) {
24897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
24898 }
24899 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24900 {
24901 PyThreadState* __tstate = wxPyBeginAllowThreads();
24902 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
24903 wxPyEndAllowThreads(__tstate);
24904 if (PyErr_Occurred()) SWIG_fail;
24905 }
24906 resultobj = SWIG_Py_Void();
24907 if (SWIG_IsTmpObj(res2)) {
24908 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24909 } else {
24910 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24911 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24912 }
24913 if (SWIG_IsTmpObj(res3)) {
24914 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24915 } else {
24916 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24917 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24918 }
24919 return resultobj;
24920 fail:
24921 return NULL;
24922 }
24923
24924
24925 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24926 PyObject *resultobj = 0;
24927 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24928 int *arg2 = (int *) 0 ;
24929 int *arg3 = (int *) 0 ;
24930 void *argp1 = 0 ;
24931 int res1 = 0 ;
24932 int temp2 ;
24933 int res2 = SWIG_TMPOBJ ;
24934 int temp3 ;
24935 int res3 = SWIG_TMPOBJ ;
24936 PyObject *swig_obj[1] ;
24937
24938 arg2 = &temp2;
24939 arg3 = &temp3;
24940 if (!args) SWIG_fail;
24941 swig_obj[0] = args;
24942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24943 if (!SWIG_IsOK(res1)) {
24944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
24945 }
24946 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24947 {
24948 PyThreadState* __tstate = wxPyBeginAllowThreads();
24949 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
24950 wxPyEndAllowThreads(__tstate);
24951 if (PyErr_Occurred()) SWIG_fail;
24952 }
24953 resultobj = SWIG_Py_Void();
24954 if (SWIG_IsTmpObj(res2)) {
24955 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24956 } else {
24957 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24958 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24959 }
24960 if (SWIG_IsTmpObj(res3)) {
24961 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24962 } else {
24963 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24964 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24965 }
24966 return resultobj;
24967 fail:
24968 return NULL;
24969 }
24970
24971
24972 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24973 PyObject *resultobj = 0;
24974 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24975 wxSize result;
24976 void *argp1 = 0 ;
24977 int res1 = 0 ;
24978 PyObject *swig_obj[1] ;
24979
24980 if (!args) SWIG_fail;
24981 swig_obj[0] = args;
24982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24983 if (!SWIG_IsOK(res1)) {
24984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
24985 }
24986 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24987 {
24988 PyThreadState* __tstate = wxPyBeginAllowThreads();
24989 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
24990 wxPyEndAllowThreads(__tstate);
24991 if (PyErr_Occurred()) SWIG_fail;
24992 }
24993 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24994 return resultobj;
24995 fail:
24996 return NULL;
24997 }
24998
24999
25000 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25001 PyObject *resultobj = 0;
25002 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25003 wxSize result;
25004 void *argp1 = 0 ;
25005 int res1 = 0 ;
25006 PyObject *swig_obj[1] ;
25007
25008 if (!args) SWIG_fail;
25009 swig_obj[0] = args;
25010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25011 if (!SWIG_IsOK(res1)) {
25012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25013 }
25014 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25015 {
25016 PyThreadState* __tstate = wxPyBeginAllowThreads();
25017 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
25018 wxPyEndAllowThreads(__tstate);
25019 if (PyErr_Occurred()) SWIG_fail;
25020 }
25021 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25022 return resultobj;
25023 fail:
25024 return NULL;
25025 }
25026
25027
25028 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25029 PyObject *resultobj = 0;
25030 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25031 SwigValueWrapper<wxVisualAttributes > result;
25032 void *argp1 = 0 ;
25033 int res1 = 0 ;
25034 PyObject *swig_obj[1] ;
25035
25036 if (!args) SWIG_fail;
25037 swig_obj[0] = args;
25038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25039 if (!SWIG_IsOK(res1)) {
25040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25041 }
25042 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25043 {
25044 PyThreadState* __tstate = wxPyBeginAllowThreads();
25045 result = (arg1)->GetDefaultAttributes();
25046 wxPyEndAllowThreads(__tstate);
25047 if (PyErr_Occurred()) SWIG_fail;
25048 }
25049 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
25050 return resultobj;
25051 fail:
25052 return NULL;
25053 }
25054
25055
25056 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25057 PyObject *resultobj = 0;
25058 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25059 void *argp1 = 0 ;
25060 int res1 = 0 ;
25061 PyObject *swig_obj[1] ;
25062
25063 if (!args) SWIG_fail;
25064 swig_obj[0] = args;
25065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25066 if (!SWIG_IsOK(res1)) {
25067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25068 }
25069 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25070 {
25071 PyThreadState* __tstate = wxPyBeginAllowThreads();
25072 (arg1)->OnInternalIdle();
25073 wxPyEndAllowThreads(__tstate);
25074 if (PyErr_Occurred()) SWIG_fail;
25075 }
25076 resultobj = SWIG_Py_Void();
25077 return resultobj;
25078 fail:
25079 return NULL;
25080 }
25081
25082
25083 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25084 PyObject *obj;
25085 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25086 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
25087 return SWIG_Py_Void();
25088 }
25089
25090 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25091 return SWIG_Python_InitShadowInstance(args);
25092 }
25093
25094 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25095 PyObject *resultobj = 0;
25096 wxWindow *arg1 = (wxWindow *) 0 ;
25097 int arg2 = (int) (int)-1 ;
25098 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25099 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25100 wxSize const &arg4_defvalue = wxDefaultSize ;
25101 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25102 long arg5 = (long) 0 ;
25103 wxString const &arg6_defvalue = wxPyPanelNameStr ;
25104 wxString *arg6 = (wxString *) &arg6_defvalue ;
25105 wxPyScrolledWindow *result = 0 ;
25106 void *argp1 = 0 ;
25107 int res1 = 0 ;
25108 int val2 ;
25109 int ecode2 = 0 ;
25110 wxPoint temp3 ;
25111 wxSize temp4 ;
25112 long val5 ;
25113 int ecode5 = 0 ;
25114 bool temp6 = false ;
25115 PyObject * obj0 = 0 ;
25116 PyObject * obj1 = 0 ;
25117 PyObject * obj2 = 0 ;
25118 PyObject * obj3 = 0 ;
25119 PyObject * obj4 = 0 ;
25120 PyObject * obj5 = 0 ;
25121 char * kwnames[] = {
25122 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25123 };
25124
25125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25127 if (!SWIG_IsOK(res1)) {
25128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
25129 }
25130 arg1 = reinterpret_cast< wxWindow * >(argp1);
25131 if (obj1) {
25132 ecode2 = SWIG_AsVal_int(obj1, &val2);
25133 if (!SWIG_IsOK(ecode2)) {
25134 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
25135 }
25136 arg2 = static_cast< int >(val2);
25137 }
25138 if (obj2) {
25139 {
25140 arg3 = &temp3;
25141 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25142 }
25143 }
25144 if (obj3) {
25145 {
25146 arg4 = &temp4;
25147 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25148 }
25149 }
25150 if (obj4) {
25151 ecode5 = SWIG_AsVal_long(obj4, &val5);
25152 if (!SWIG_IsOK(ecode5)) {
25153 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
25154 }
25155 arg5 = static_cast< long >(val5);
25156 }
25157 if (obj5) {
25158 {
25159 arg6 = wxString_in_helper(obj5);
25160 if (arg6 == NULL) SWIG_fail;
25161 temp6 = true;
25162 }
25163 }
25164 {
25165 if (!wxPyCheckForApp()) SWIG_fail;
25166 PyThreadState* __tstate = wxPyBeginAllowThreads();
25167 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25168 wxPyEndAllowThreads(__tstate);
25169 if (PyErr_Occurred()) SWIG_fail;
25170 }
25171 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
25172 {
25173 if (temp6)
25174 delete arg6;
25175 }
25176 return resultobj;
25177 fail:
25178 {
25179 if (temp6)
25180 delete arg6;
25181 }
25182 return NULL;
25183 }
25184
25185
25186 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25187 PyObject *resultobj = 0;
25188 wxPyScrolledWindow *result = 0 ;
25189
25190 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
25191 {
25192 if (!wxPyCheckForApp()) SWIG_fail;
25193 PyThreadState* __tstate = wxPyBeginAllowThreads();
25194 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
25195 wxPyEndAllowThreads(__tstate);
25196 if (PyErr_Occurred()) SWIG_fail;
25197 }
25198 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
25199 return resultobj;
25200 fail:
25201 return NULL;
25202 }
25203
25204
25205 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25206 PyObject *resultobj = 0;
25207 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25208 PyObject *arg2 = (PyObject *) 0 ;
25209 PyObject *arg3 = (PyObject *) 0 ;
25210 void *argp1 = 0 ;
25211 int res1 = 0 ;
25212 PyObject * obj0 = 0 ;
25213 PyObject * obj1 = 0 ;
25214 PyObject * obj2 = 0 ;
25215 char * kwnames[] = {
25216 (char *) "self",(char *) "self",(char *) "_class", NULL
25217 };
25218
25219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25221 if (!SWIG_IsOK(res1)) {
25222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25223 }
25224 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25225 arg2 = obj1;
25226 arg3 = obj2;
25227 {
25228 PyThreadState* __tstate = wxPyBeginAllowThreads();
25229 (arg1)->_setCallbackInfo(arg2,arg3);
25230 wxPyEndAllowThreads(__tstate);
25231 if (PyErr_Occurred()) SWIG_fail;
25232 }
25233 resultobj = SWIG_Py_Void();
25234 return resultobj;
25235 fail:
25236 return NULL;
25237 }
25238
25239
25240 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25241 PyObject *resultobj = 0;
25242 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25243 wxDC *arg2 = (wxDC *) 0 ;
25244 bool result;
25245 void *argp1 = 0 ;
25246 int res1 = 0 ;
25247 void *argp2 = 0 ;
25248 int res2 = 0 ;
25249 PyObject * obj0 = 0 ;
25250 PyObject * obj1 = 0 ;
25251 char * kwnames[] = {
25252 (char *) "self",(char *) "dc", NULL
25253 };
25254
25255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
25256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25257 if (!SWIG_IsOK(res1)) {
25258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25259 }
25260 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25261 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
25262 if (!SWIG_IsOK(res2)) {
25263 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
25264 }
25265 arg2 = reinterpret_cast< wxDC * >(argp2);
25266 {
25267 PyThreadState* __tstate = wxPyBeginAllowThreads();
25268 result = (bool)(arg1)->DoEraseBackground(arg2);
25269 wxPyEndAllowThreads(__tstate);
25270 if (PyErr_Occurred()) SWIG_fail;
25271 }
25272 {
25273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25274 }
25275 return resultobj;
25276 fail:
25277 return NULL;
25278 }
25279
25280
25281 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25282 PyObject *resultobj = 0;
25283 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25284 int arg2 ;
25285 int arg3 ;
25286 int arg4 ;
25287 int arg5 ;
25288 void *argp1 = 0 ;
25289 int res1 = 0 ;
25290 int val2 ;
25291 int ecode2 = 0 ;
25292 int val3 ;
25293 int ecode3 = 0 ;
25294 int val4 ;
25295 int ecode4 = 0 ;
25296 int val5 ;
25297 int ecode5 = 0 ;
25298 PyObject * obj0 = 0 ;
25299 PyObject * obj1 = 0 ;
25300 PyObject * obj2 = 0 ;
25301 PyObject * obj3 = 0 ;
25302 PyObject * obj4 = 0 ;
25303 char * kwnames[] = {
25304 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
25305 };
25306
25307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
25308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25309 if (!SWIG_IsOK(res1)) {
25310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25311 }
25312 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25313 ecode2 = SWIG_AsVal_int(obj1, &val2);
25314 if (!SWIG_IsOK(ecode2)) {
25315 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
25316 }
25317 arg2 = static_cast< int >(val2);
25318 ecode3 = SWIG_AsVal_int(obj2, &val3);
25319 if (!SWIG_IsOK(ecode3)) {
25320 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
25321 }
25322 arg3 = static_cast< int >(val3);
25323 ecode4 = SWIG_AsVal_int(obj3, &val4);
25324 if (!SWIG_IsOK(ecode4)) {
25325 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
25326 }
25327 arg4 = static_cast< int >(val4);
25328 ecode5 = SWIG_AsVal_int(obj4, &val5);
25329 if (!SWIG_IsOK(ecode5)) {
25330 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
25331 }
25332 arg5 = static_cast< int >(val5);
25333 {
25334 PyThreadState* __tstate = wxPyBeginAllowThreads();
25335 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
25336 wxPyEndAllowThreads(__tstate);
25337 if (PyErr_Occurred()) SWIG_fail;
25338 }
25339 resultobj = SWIG_Py_Void();
25340 return resultobj;
25341 fail:
25342 return NULL;
25343 }
25344
25345
25346 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25347 PyObject *resultobj = 0;
25348 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25349 int arg2 ;
25350 int arg3 ;
25351 int arg4 ;
25352 int arg5 ;
25353 int arg6 = (int) wxSIZE_AUTO ;
25354 void *argp1 = 0 ;
25355 int res1 = 0 ;
25356 int val2 ;
25357 int ecode2 = 0 ;
25358 int val3 ;
25359 int ecode3 = 0 ;
25360 int val4 ;
25361 int ecode4 = 0 ;
25362 int val5 ;
25363 int ecode5 = 0 ;
25364 int val6 ;
25365 int ecode6 = 0 ;
25366 PyObject * obj0 = 0 ;
25367 PyObject * obj1 = 0 ;
25368 PyObject * obj2 = 0 ;
25369 PyObject * obj3 = 0 ;
25370 PyObject * obj4 = 0 ;
25371 PyObject * obj5 = 0 ;
25372 char * kwnames[] = {
25373 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25374 };
25375
25376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25378 if (!SWIG_IsOK(res1)) {
25379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25380 }
25381 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25382 ecode2 = SWIG_AsVal_int(obj1, &val2);
25383 if (!SWIG_IsOK(ecode2)) {
25384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
25385 }
25386 arg2 = static_cast< int >(val2);
25387 ecode3 = SWIG_AsVal_int(obj2, &val3);
25388 if (!SWIG_IsOK(ecode3)) {
25389 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
25390 }
25391 arg3 = static_cast< int >(val3);
25392 ecode4 = SWIG_AsVal_int(obj3, &val4);
25393 if (!SWIG_IsOK(ecode4)) {
25394 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
25395 }
25396 arg4 = static_cast< int >(val4);
25397 ecode5 = SWIG_AsVal_int(obj4, &val5);
25398 if (!SWIG_IsOK(ecode5)) {
25399 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
25400 }
25401 arg5 = static_cast< int >(val5);
25402 if (obj5) {
25403 ecode6 = SWIG_AsVal_int(obj5, &val6);
25404 if (!SWIG_IsOK(ecode6)) {
25405 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
25406 }
25407 arg6 = static_cast< int >(val6);
25408 }
25409 {
25410 PyThreadState* __tstate = wxPyBeginAllowThreads();
25411 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
25412 wxPyEndAllowThreads(__tstate);
25413 if (PyErr_Occurred()) SWIG_fail;
25414 }
25415 resultobj = SWIG_Py_Void();
25416 return resultobj;
25417 fail:
25418 return NULL;
25419 }
25420
25421
25422 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25423 PyObject *resultobj = 0;
25424 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25425 int arg2 ;
25426 int arg3 ;
25427 void *argp1 = 0 ;
25428 int res1 = 0 ;
25429 int val2 ;
25430 int ecode2 = 0 ;
25431 int val3 ;
25432 int ecode3 = 0 ;
25433 PyObject * obj0 = 0 ;
25434 PyObject * obj1 = 0 ;
25435 PyObject * obj2 = 0 ;
25436 char * kwnames[] = {
25437 (char *) "self",(char *) "width",(char *) "height", NULL
25438 };
25439
25440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25442 if (!SWIG_IsOK(res1)) {
25443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25444 }
25445 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25446 ecode2 = SWIG_AsVal_int(obj1, &val2);
25447 if (!SWIG_IsOK(ecode2)) {
25448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
25449 }
25450 arg2 = static_cast< int >(val2);
25451 ecode3 = SWIG_AsVal_int(obj2, &val3);
25452 if (!SWIG_IsOK(ecode3)) {
25453 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
25454 }
25455 arg3 = static_cast< int >(val3);
25456 {
25457 PyThreadState* __tstate = wxPyBeginAllowThreads();
25458 (arg1)->DoSetClientSize(arg2,arg3);
25459 wxPyEndAllowThreads(__tstate);
25460 if (PyErr_Occurred()) SWIG_fail;
25461 }
25462 resultobj = SWIG_Py_Void();
25463 return resultobj;
25464 fail:
25465 return NULL;
25466 }
25467
25468
25469 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25470 PyObject *resultobj = 0;
25471 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25472 int arg2 ;
25473 int arg3 ;
25474 void *argp1 = 0 ;
25475 int res1 = 0 ;
25476 int val2 ;
25477 int ecode2 = 0 ;
25478 int val3 ;
25479 int ecode3 = 0 ;
25480 PyObject * obj0 = 0 ;
25481 PyObject * obj1 = 0 ;
25482 PyObject * obj2 = 0 ;
25483 char * kwnames[] = {
25484 (char *) "self",(char *) "x",(char *) "y", NULL
25485 };
25486
25487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25489 if (!SWIG_IsOK(res1)) {
25490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25491 }
25492 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25493 ecode2 = SWIG_AsVal_int(obj1, &val2);
25494 if (!SWIG_IsOK(ecode2)) {
25495 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
25496 }
25497 arg2 = static_cast< int >(val2);
25498 ecode3 = SWIG_AsVal_int(obj2, &val3);
25499 if (!SWIG_IsOK(ecode3)) {
25500 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
25501 }
25502 arg3 = static_cast< int >(val3);
25503 {
25504 PyThreadState* __tstate = wxPyBeginAllowThreads();
25505 (arg1)->DoSetVirtualSize(arg2,arg3);
25506 wxPyEndAllowThreads(__tstate);
25507 if (PyErr_Occurred()) SWIG_fail;
25508 }
25509 resultobj = SWIG_Py_Void();
25510 return resultobj;
25511 fail:
25512 return NULL;
25513 }
25514
25515
25516 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25517 PyObject *resultobj = 0;
25518 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25519 int *arg2 = (int *) 0 ;
25520 int *arg3 = (int *) 0 ;
25521 void *argp1 = 0 ;
25522 int res1 = 0 ;
25523 int temp2 ;
25524 int res2 = SWIG_TMPOBJ ;
25525 int temp3 ;
25526 int res3 = SWIG_TMPOBJ ;
25527 PyObject *swig_obj[1] ;
25528
25529 arg2 = &temp2;
25530 arg3 = &temp3;
25531 if (!args) SWIG_fail;
25532 swig_obj[0] = args;
25533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25534 if (!SWIG_IsOK(res1)) {
25535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25536 }
25537 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25538 {
25539 PyThreadState* __tstate = wxPyBeginAllowThreads();
25540 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
25541 wxPyEndAllowThreads(__tstate);
25542 if (PyErr_Occurred()) SWIG_fail;
25543 }
25544 resultobj = SWIG_Py_Void();
25545 if (SWIG_IsTmpObj(res2)) {
25546 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25547 } else {
25548 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25549 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25550 }
25551 if (SWIG_IsTmpObj(res3)) {
25552 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25553 } else {
25554 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25555 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25556 }
25557 return resultobj;
25558 fail:
25559 return NULL;
25560 }
25561
25562
25563 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25564 PyObject *resultobj = 0;
25565 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25566 int *arg2 = (int *) 0 ;
25567 int *arg3 = (int *) 0 ;
25568 void *argp1 = 0 ;
25569 int res1 = 0 ;
25570 int temp2 ;
25571 int res2 = SWIG_TMPOBJ ;
25572 int temp3 ;
25573 int res3 = SWIG_TMPOBJ ;
25574 PyObject *swig_obj[1] ;
25575
25576 arg2 = &temp2;
25577 arg3 = &temp3;
25578 if (!args) SWIG_fail;
25579 swig_obj[0] = args;
25580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25581 if (!SWIG_IsOK(res1)) {
25582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25583 }
25584 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25585 {
25586 PyThreadState* __tstate = wxPyBeginAllowThreads();
25587 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
25588 wxPyEndAllowThreads(__tstate);
25589 if (PyErr_Occurred()) SWIG_fail;
25590 }
25591 resultobj = SWIG_Py_Void();
25592 if (SWIG_IsTmpObj(res2)) {
25593 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25594 } else {
25595 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25596 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25597 }
25598 if (SWIG_IsTmpObj(res3)) {
25599 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25600 } else {
25601 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25602 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25603 }
25604 return resultobj;
25605 fail:
25606 return NULL;
25607 }
25608
25609
25610 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25611 PyObject *resultobj = 0;
25612 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25613 int *arg2 = (int *) 0 ;
25614 int *arg3 = (int *) 0 ;
25615 void *argp1 = 0 ;
25616 int res1 = 0 ;
25617 int temp2 ;
25618 int res2 = SWIG_TMPOBJ ;
25619 int temp3 ;
25620 int res3 = SWIG_TMPOBJ ;
25621 PyObject *swig_obj[1] ;
25622
25623 arg2 = &temp2;
25624 arg3 = &temp3;
25625 if (!args) SWIG_fail;
25626 swig_obj[0] = args;
25627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25628 if (!SWIG_IsOK(res1)) {
25629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25630 }
25631 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25632 {
25633 PyThreadState* __tstate = wxPyBeginAllowThreads();
25634 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
25635 wxPyEndAllowThreads(__tstate);
25636 if (PyErr_Occurred()) SWIG_fail;
25637 }
25638 resultobj = SWIG_Py_Void();
25639 if (SWIG_IsTmpObj(res2)) {
25640 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25641 } else {
25642 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25643 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25644 }
25645 if (SWIG_IsTmpObj(res3)) {
25646 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25647 } else {
25648 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25649 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25650 }
25651 return resultobj;
25652 fail:
25653 return NULL;
25654 }
25655
25656
25657 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25658 PyObject *resultobj = 0;
25659 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25660 wxSize result;
25661 void *argp1 = 0 ;
25662 int res1 = 0 ;
25663 PyObject *swig_obj[1] ;
25664
25665 if (!args) SWIG_fail;
25666 swig_obj[0] = args;
25667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25668 if (!SWIG_IsOK(res1)) {
25669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25670 }
25671 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25672 {
25673 PyThreadState* __tstate = wxPyBeginAllowThreads();
25674 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
25675 wxPyEndAllowThreads(__tstate);
25676 if (PyErr_Occurred()) SWIG_fail;
25677 }
25678 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25679 return resultobj;
25680 fail:
25681 return NULL;
25682 }
25683
25684
25685 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25686 PyObject *resultobj = 0;
25687 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25688 wxSize result;
25689 void *argp1 = 0 ;
25690 int res1 = 0 ;
25691 PyObject *swig_obj[1] ;
25692
25693 if (!args) SWIG_fail;
25694 swig_obj[0] = args;
25695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25696 if (!SWIG_IsOK(res1)) {
25697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25698 }
25699 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25700 {
25701 PyThreadState* __tstate = wxPyBeginAllowThreads();
25702 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
25703 wxPyEndAllowThreads(__tstate);
25704 if (PyErr_Occurred()) SWIG_fail;
25705 }
25706 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25707 return resultobj;
25708 fail:
25709 return NULL;
25710 }
25711
25712
25713 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25714 PyObject *resultobj = 0;
25715 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25716 SwigValueWrapper<wxVisualAttributes > result;
25717 void *argp1 = 0 ;
25718 int res1 = 0 ;
25719 PyObject *swig_obj[1] ;
25720
25721 if (!args) SWIG_fail;
25722 swig_obj[0] = args;
25723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25724 if (!SWIG_IsOK(res1)) {
25725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25726 }
25727 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25728 {
25729 PyThreadState* __tstate = wxPyBeginAllowThreads();
25730 result = (arg1)->GetDefaultAttributes();
25731 wxPyEndAllowThreads(__tstate);
25732 if (PyErr_Occurred()) SWIG_fail;
25733 }
25734 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
25735 return resultobj;
25736 fail:
25737 return NULL;
25738 }
25739
25740
25741 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25742 PyObject *resultobj = 0;
25743 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25744 void *argp1 = 0 ;
25745 int res1 = 0 ;
25746 PyObject *swig_obj[1] ;
25747
25748 if (!args) SWIG_fail;
25749 swig_obj[0] = args;
25750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25751 if (!SWIG_IsOK(res1)) {
25752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25753 }
25754 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25755 {
25756 PyThreadState* __tstate = wxPyBeginAllowThreads();
25757 (arg1)->OnInternalIdle();
25758 wxPyEndAllowThreads(__tstate);
25759 if (PyErr_Occurred()) SWIG_fail;
25760 }
25761 resultobj = SWIG_Py_Void();
25762 return resultobj;
25763 fail:
25764 return NULL;
25765 }
25766
25767
25768 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25769 PyObject *obj;
25770 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25771 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
25772 return SWIG_Py_Void();
25773 }
25774
25775 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25776 return SWIG_Python_InitShadowInstance(args);
25777 }
25778
25779 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
25780 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
25781 return 1;
25782 }
25783
25784
25785 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
25786 PyObject *pyobj = 0;
25787
25788 {
25789 #if wxUSE_UNICODE
25790 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
25791 #else
25792 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
25793 #endif
25794 }
25795 return pyobj;
25796 }
25797
25798
25799 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
25800 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
25801 return 1;
25802 }
25803
25804
25805 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
25806 PyObject *pyobj = 0;
25807
25808 {
25809 #if wxUSE_UNICODE
25810 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
25811 #else
25812 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
25813 #endif
25814 }
25815 return pyobj;
25816 }
25817
25818
25819 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25820 PyObject *resultobj = 0;
25821 wxPrintData *result = 0 ;
25822
25823 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25824 {
25825 PyThreadState* __tstate = wxPyBeginAllowThreads();
25826 result = (wxPrintData *)new wxPrintData();
25827 wxPyEndAllowThreads(__tstate);
25828 if (PyErr_Occurred()) SWIG_fail;
25829 }
25830 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
25831 return resultobj;
25832 fail:
25833 return NULL;
25834 }
25835
25836
25837 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25838 PyObject *resultobj = 0;
25839 wxPrintData *arg1 = 0 ;
25840 wxPrintData *result = 0 ;
25841 void *argp1 = 0 ;
25842 int res1 = 0 ;
25843
25844 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25845 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25846 if (!SWIG_IsOK(res1)) {
25847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25848 }
25849 if (!argp1) {
25850 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25851 }
25852 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25853 {
25854 PyThreadState* __tstate = wxPyBeginAllowThreads();
25855 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
25856 wxPyEndAllowThreads(__tstate);
25857 if (PyErr_Occurred()) SWIG_fail;
25858 }
25859 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
25860 return resultobj;
25861 fail:
25862 return NULL;
25863 }
25864
25865
25866 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
25867 int argc;
25868 PyObject *argv[2];
25869
25870 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
25871 --argc;
25872 if (argc == 0) {
25873 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
25874 }
25875 if (argc == 1) {
25876 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
25877 }
25878
25879 fail:
25880 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
25881 return NULL;
25882 }
25883
25884
25885 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25886 PyObject *resultobj = 0;
25887 wxPrintData *arg1 = (wxPrintData *) 0 ;
25888 void *argp1 = 0 ;
25889 int res1 = 0 ;
25890 PyObject *swig_obj[1] ;
25891
25892 if (!args) SWIG_fail;
25893 swig_obj[0] = args;
25894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
25895 if (!SWIG_IsOK(res1)) {
25896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
25897 }
25898 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25899 {
25900 PyThreadState* __tstate = wxPyBeginAllowThreads();
25901 delete arg1;
25902
25903 wxPyEndAllowThreads(__tstate);
25904 if (PyErr_Occurred()) SWIG_fail;
25905 }
25906 resultobj = SWIG_Py_Void();
25907 return resultobj;
25908 fail:
25909 return NULL;
25910 }
25911
25912
25913 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25914 PyObject *resultobj = 0;
25915 wxPrintData *arg1 = (wxPrintData *) 0 ;
25916 int result;
25917 void *argp1 = 0 ;
25918 int res1 = 0 ;
25919 PyObject *swig_obj[1] ;
25920
25921 if (!args) SWIG_fail;
25922 swig_obj[0] = args;
25923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
25924 if (!SWIG_IsOK(res1)) {
25925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
25926 }
25927 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25928 {
25929 PyThreadState* __tstate = wxPyBeginAllowThreads();
25930 result = (int)(arg1)->GetNoCopies();
25931 wxPyEndAllowThreads(__tstate);
25932 if (PyErr_Occurred()) SWIG_fail;
25933 }
25934 resultobj = SWIG_From_int(static_cast< int >(result));
25935 return resultobj;
25936 fail:
25937 return NULL;
25938 }
25939
25940
25941 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25942 PyObject *resultobj = 0;
25943 wxPrintData *arg1 = (wxPrintData *) 0 ;
25944 bool result;
25945 void *argp1 = 0 ;
25946 int res1 = 0 ;
25947 PyObject *swig_obj[1] ;
25948
25949 if (!args) SWIG_fail;
25950 swig_obj[0] = args;
25951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
25952 if (!SWIG_IsOK(res1)) {
25953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
25954 }
25955 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25956 {
25957 PyThreadState* __tstate = wxPyBeginAllowThreads();
25958 result = (bool)(arg1)->GetCollate();
25959 wxPyEndAllowThreads(__tstate);
25960 if (PyErr_Occurred()) SWIG_fail;
25961 }
25962 {
25963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25964 }
25965 return resultobj;
25966 fail:
25967 return NULL;
25968 }
25969
25970
25971 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25972 PyObject *resultobj = 0;
25973 wxPrintData *arg1 = (wxPrintData *) 0 ;
25974 int result;
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_wxPrintData, 0 | 0 );
25982 if (!SWIG_IsOK(res1)) {
25983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
25984 }
25985 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25986 {
25987 PyThreadState* __tstate = wxPyBeginAllowThreads();
25988 result = (int)(arg1)->GetOrientation();
25989 wxPyEndAllowThreads(__tstate);
25990 if (PyErr_Occurred()) SWIG_fail;
25991 }
25992 resultobj = SWIG_From_int(static_cast< int >(result));
25993 return resultobj;
25994 fail:
25995 return NULL;
25996 }
25997
25998
25999 SWIGINTERN PyObject *_wrap_PrintData_IsOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26000 PyObject *resultobj = 0;
26001 wxPrintData *arg1 = (wxPrintData *) 0 ;
26002 bool result;
26003 void *argp1 = 0 ;
26004 int res1 = 0 ;
26005 PyObject *swig_obj[1] ;
26006
26007 if (!args) SWIG_fail;
26008 swig_obj[0] = args;
26009 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26010 if (!SWIG_IsOK(res1)) {
26011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26012 }
26013 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26014 {
26015 PyThreadState* __tstate = wxPyBeginAllowThreads();
26016 result = (bool)((wxPrintData const *)arg1)->IsOrientationReversed();
26017 wxPyEndAllowThreads(__tstate);
26018 if (PyErr_Occurred()) SWIG_fail;
26019 }
26020 {
26021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26022 }
26023 return resultobj;
26024 fail:
26025 return NULL;
26026 }
26027
26028
26029 SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26030 PyObject *resultobj = 0;
26031 wxPrintData *arg1 = (wxPrintData *) 0 ;
26032 bool result;
26033 void *argp1 = 0 ;
26034 int res1 = 0 ;
26035 PyObject *swig_obj[1] ;
26036
26037 if (!args) SWIG_fail;
26038 swig_obj[0] = args;
26039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26040 if (!SWIG_IsOK(res1)) {
26041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
26042 }
26043 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26044 {
26045 PyThreadState* __tstate = wxPyBeginAllowThreads();
26046 result = (bool)(arg1)->IsOk();
26047 wxPyEndAllowThreads(__tstate);
26048 if (PyErr_Occurred()) SWIG_fail;
26049 }
26050 {
26051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26052 }
26053 return resultobj;
26054 fail:
26055 return NULL;
26056 }
26057
26058
26059 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26060 PyObject *resultobj = 0;
26061 wxPrintData *arg1 = (wxPrintData *) 0 ;
26062 wxString *result = 0 ;
26063 void *argp1 = 0 ;
26064 int res1 = 0 ;
26065 PyObject *swig_obj[1] ;
26066
26067 if (!args) SWIG_fail;
26068 swig_obj[0] = args;
26069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26070 if (!SWIG_IsOK(res1)) {
26071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
26072 }
26073 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26074 {
26075 PyThreadState* __tstate = wxPyBeginAllowThreads();
26076 {
26077 wxString const &_result_ref = (arg1)->GetPrinterName();
26078 result = (wxString *) &_result_ref;
26079 }
26080 wxPyEndAllowThreads(__tstate);
26081 if (PyErr_Occurred()) SWIG_fail;
26082 }
26083 {
26084 #if wxUSE_UNICODE
26085 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
26086 #else
26087 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
26088 #endif
26089 }
26090 return resultobj;
26091 fail:
26092 return NULL;
26093 }
26094
26095
26096 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26097 PyObject *resultobj = 0;
26098 wxPrintData *arg1 = (wxPrintData *) 0 ;
26099 bool result;
26100 void *argp1 = 0 ;
26101 int res1 = 0 ;
26102 PyObject *swig_obj[1] ;
26103
26104 if (!args) SWIG_fail;
26105 swig_obj[0] = args;
26106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26107 if (!SWIG_IsOK(res1)) {
26108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
26109 }
26110 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26111 {
26112 PyThreadState* __tstate = wxPyBeginAllowThreads();
26113 result = (bool)(arg1)->GetColour();
26114 wxPyEndAllowThreads(__tstate);
26115 if (PyErr_Occurred()) SWIG_fail;
26116 }
26117 {
26118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26119 }
26120 return resultobj;
26121 fail:
26122 return NULL;
26123 }
26124
26125
26126 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26127 PyObject *resultobj = 0;
26128 wxPrintData *arg1 = (wxPrintData *) 0 ;
26129 wxDuplexMode result;
26130 void *argp1 = 0 ;
26131 int res1 = 0 ;
26132 PyObject *swig_obj[1] ;
26133
26134 if (!args) SWIG_fail;
26135 swig_obj[0] = args;
26136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26137 if (!SWIG_IsOK(res1)) {
26138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
26139 }
26140 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26141 {
26142 PyThreadState* __tstate = wxPyBeginAllowThreads();
26143 result = (wxDuplexMode)(arg1)->GetDuplex();
26144 wxPyEndAllowThreads(__tstate);
26145 if (PyErr_Occurred()) SWIG_fail;
26146 }
26147 resultobj = SWIG_From_int(static_cast< int >(result));
26148 return resultobj;
26149 fail:
26150 return NULL;
26151 }
26152
26153
26154 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26155 PyObject *resultobj = 0;
26156 wxPrintData *arg1 = (wxPrintData *) 0 ;
26157 wxPaperSize result;
26158 void *argp1 = 0 ;
26159 int res1 = 0 ;
26160 PyObject *swig_obj[1] ;
26161
26162 if (!args) SWIG_fail;
26163 swig_obj[0] = args;
26164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26165 if (!SWIG_IsOK(res1)) {
26166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
26167 }
26168 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26169 {
26170 PyThreadState* __tstate = wxPyBeginAllowThreads();
26171 result = (wxPaperSize)(arg1)->GetPaperId();
26172 wxPyEndAllowThreads(__tstate);
26173 if (PyErr_Occurred()) SWIG_fail;
26174 }
26175 resultobj = SWIG_From_int(static_cast< int >(result));
26176 return resultobj;
26177 fail:
26178 return NULL;
26179 }
26180
26181
26182 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26183 PyObject *resultobj = 0;
26184 wxPrintData *arg1 = (wxPrintData *) 0 ;
26185 wxSize *result = 0 ;
26186 void *argp1 = 0 ;
26187 int res1 = 0 ;
26188 PyObject *swig_obj[1] ;
26189
26190 if (!args) SWIG_fail;
26191 swig_obj[0] = args;
26192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26193 if (!SWIG_IsOK(res1)) {
26194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
26195 }
26196 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26197 {
26198 PyThreadState* __tstate = wxPyBeginAllowThreads();
26199 {
26200 wxSize const &_result_ref = (arg1)->GetPaperSize();
26201 result = (wxSize *) &_result_ref;
26202 }
26203 wxPyEndAllowThreads(__tstate);
26204 if (PyErr_Occurred()) SWIG_fail;
26205 }
26206 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
26207 return resultobj;
26208 fail:
26209 return NULL;
26210 }
26211
26212
26213 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26214 PyObject *resultobj = 0;
26215 wxPrintData *arg1 = (wxPrintData *) 0 ;
26216 int result;
26217 void *argp1 = 0 ;
26218 int res1 = 0 ;
26219 PyObject *swig_obj[1] ;
26220
26221 if (!args) SWIG_fail;
26222 swig_obj[0] = args;
26223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26224 if (!SWIG_IsOK(res1)) {
26225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
26226 }
26227 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26228 {
26229 PyThreadState* __tstate = wxPyBeginAllowThreads();
26230 result = (int)(arg1)->GetQuality();
26231 wxPyEndAllowThreads(__tstate);
26232 if (PyErr_Occurred()) SWIG_fail;
26233 }
26234 resultobj = SWIG_From_int(static_cast< int >(result));
26235 return resultobj;
26236 fail:
26237 return NULL;
26238 }
26239
26240
26241 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26242 PyObject *resultobj = 0;
26243 wxPrintData *arg1 = (wxPrintData *) 0 ;
26244 wxPrintBin result;
26245 void *argp1 = 0 ;
26246 int res1 = 0 ;
26247 PyObject *swig_obj[1] ;
26248
26249 if (!args) SWIG_fail;
26250 swig_obj[0] = args;
26251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26252 if (!SWIG_IsOK(res1)) {
26253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
26254 }
26255 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26256 {
26257 PyThreadState* __tstate = wxPyBeginAllowThreads();
26258 result = (wxPrintBin)(arg1)->GetBin();
26259 wxPyEndAllowThreads(__tstate);
26260 if (PyErr_Occurred()) SWIG_fail;
26261 }
26262 resultobj = SWIG_From_int(static_cast< int >(result));
26263 return resultobj;
26264 fail:
26265 return NULL;
26266 }
26267
26268
26269 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26270 PyObject *resultobj = 0;
26271 wxPrintData *arg1 = (wxPrintData *) 0 ;
26272 wxPrintMode result;
26273 void *argp1 = 0 ;
26274 int res1 = 0 ;
26275 PyObject *swig_obj[1] ;
26276
26277 if (!args) SWIG_fail;
26278 swig_obj[0] = args;
26279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26280 if (!SWIG_IsOK(res1)) {
26281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26282 }
26283 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26284 {
26285 PyThreadState* __tstate = wxPyBeginAllowThreads();
26286 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
26287 wxPyEndAllowThreads(__tstate);
26288 if (PyErr_Occurred()) SWIG_fail;
26289 }
26290 resultobj = SWIG_From_int(static_cast< int >(result));
26291 return resultobj;
26292 fail:
26293 return NULL;
26294 }
26295
26296
26297 SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26298 PyObject *resultobj = 0;
26299 wxPrintData *arg1 = (wxPrintData *) 0 ;
26300 int result;
26301 void *argp1 = 0 ;
26302 int res1 = 0 ;
26303 PyObject *swig_obj[1] ;
26304
26305 if (!args) SWIG_fail;
26306 swig_obj[0] = args;
26307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26308 if (!SWIG_IsOK(res1)) {
26309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26310 }
26311 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26312 {
26313 PyThreadState* __tstate = wxPyBeginAllowThreads();
26314 result = (int)((wxPrintData const *)arg1)->GetMedia();
26315 wxPyEndAllowThreads(__tstate);
26316 if (PyErr_Occurred()) SWIG_fail;
26317 }
26318 resultobj = SWIG_From_int(static_cast< int >(result));
26319 return resultobj;
26320 fail:
26321 return NULL;
26322 }
26323
26324
26325 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26326 PyObject *resultobj = 0;
26327 wxPrintData *arg1 = (wxPrintData *) 0 ;
26328 int arg2 ;
26329 void *argp1 = 0 ;
26330 int res1 = 0 ;
26331 int val2 ;
26332 int ecode2 = 0 ;
26333 PyObject * obj0 = 0 ;
26334 PyObject * obj1 = 0 ;
26335 char * kwnames[] = {
26336 (char *) "self",(char *) "v", NULL
26337 };
26338
26339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26341 if (!SWIG_IsOK(res1)) {
26342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
26343 }
26344 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26345 ecode2 = SWIG_AsVal_int(obj1, &val2);
26346 if (!SWIG_IsOK(ecode2)) {
26347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26348 }
26349 arg2 = static_cast< int >(val2);
26350 {
26351 PyThreadState* __tstate = wxPyBeginAllowThreads();
26352 (arg1)->SetNoCopies(arg2);
26353 wxPyEndAllowThreads(__tstate);
26354 if (PyErr_Occurred()) SWIG_fail;
26355 }
26356 resultobj = SWIG_Py_Void();
26357 return resultobj;
26358 fail:
26359 return NULL;
26360 }
26361
26362
26363 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26364 PyObject *resultobj = 0;
26365 wxPrintData *arg1 = (wxPrintData *) 0 ;
26366 bool arg2 ;
26367 void *argp1 = 0 ;
26368 int res1 = 0 ;
26369 bool val2 ;
26370 int ecode2 = 0 ;
26371 PyObject * obj0 = 0 ;
26372 PyObject * obj1 = 0 ;
26373 char * kwnames[] = {
26374 (char *) "self",(char *) "flag", NULL
26375 };
26376
26377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26379 if (!SWIG_IsOK(res1)) {
26380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
26381 }
26382 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26383 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26384 if (!SWIG_IsOK(ecode2)) {
26385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26386 }
26387 arg2 = static_cast< bool >(val2);
26388 {
26389 PyThreadState* __tstate = wxPyBeginAllowThreads();
26390 (arg1)->SetCollate(arg2);
26391 wxPyEndAllowThreads(__tstate);
26392 if (PyErr_Occurred()) SWIG_fail;
26393 }
26394 resultobj = SWIG_Py_Void();
26395 return resultobj;
26396 fail:
26397 return NULL;
26398 }
26399
26400
26401 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26402 PyObject *resultobj = 0;
26403 wxPrintData *arg1 = (wxPrintData *) 0 ;
26404 int arg2 ;
26405 void *argp1 = 0 ;
26406 int res1 = 0 ;
26407 int val2 ;
26408 int ecode2 = 0 ;
26409 PyObject * obj0 = 0 ;
26410 PyObject * obj1 = 0 ;
26411 char * kwnames[] = {
26412 (char *) "self",(char *) "orient", NULL
26413 };
26414
26415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
26416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26417 if (!SWIG_IsOK(res1)) {
26418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
26419 }
26420 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26421 ecode2 = SWIG_AsVal_int(obj1, &val2);
26422 if (!SWIG_IsOK(ecode2)) {
26423 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
26424 }
26425 arg2 = static_cast< int >(val2);
26426 {
26427 PyThreadState* __tstate = wxPyBeginAllowThreads();
26428 (arg1)->SetOrientation(arg2);
26429 wxPyEndAllowThreads(__tstate);
26430 if (PyErr_Occurred()) SWIG_fail;
26431 }
26432 resultobj = SWIG_Py_Void();
26433 return resultobj;
26434 fail:
26435 return NULL;
26436 }
26437
26438
26439 SWIGINTERN PyObject *_wrap_PrintData_SetOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26440 PyObject *resultobj = 0;
26441 wxPrintData *arg1 = (wxPrintData *) 0 ;
26442 bool arg2 ;
26443 void *argp1 = 0 ;
26444 int res1 = 0 ;
26445 bool val2 ;
26446 int ecode2 = 0 ;
26447 PyObject * obj0 = 0 ;
26448 PyObject * obj1 = 0 ;
26449 char * kwnames[] = {
26450 (char *) "self",(char *) "reversed", NULL
26451 };
26452
26453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientationReversed",kwnames,&obj0,&obj1)) SWIG_fail;
26454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26455 if (!SWIG_IsOK(res1)) {
26456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
26457 }
26458 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26459 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26460 if (!SWIG_IsOK(ecode2)) {
26461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
26462 }
26463 arg2 = static_cast< bool >(val2);
26464 {
26465 PyThreadState* __tstate = wxPyBeginAllowThreads();
26466 (arg1)->SetOrientationReversed(arg2);
26467 wxPyEndAllowThreads(__tstate);
26468 if (PyErr_Occurred()) SWIG_fail;
26469 }
26470 resultobj = SWIG_Py_Void();
26471 return resultobj;
26472 fail:
26473 return NULL;
26474 }
26475
26476
26477 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26478 PyObject *resultobj = 0;
26479 wxPrintData *arg1 = (wxPrintData *) 0 ;
26480 wxString *arg2 = 0 ;
26481 void *argp1 = 0 ;
26482 int res1 = 0 ;
26483 bool temp2 = false ;
26484 PyObject * obj0 = 0 ;
26485 PyObject * obj1 = 0 ;
26486 char * kwnames[] = {
26487 (char *) "self",(char *) "name", NULL
26488 };
26489
26490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
26491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26492 if (!SWIG_IsOK(res1)) {
26493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
26494 }
26495 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26496 {
26497 arg2 = wxString_in_helper(obj1);
26498 if (arg2 == NULL) SWIG_fail;
26499 temp2 = true;
26500 }
26501 {
26502 PyThreadState* __tstate = wxPyBeginAllowThreads();
26503 (arg1)->SetPrinterName((wxString const &)*arg2);
26504 wxPyEndAllowThreads(__tstate);
26505 if (PyErr_Occurred()) SWIG_fail;
26506 }
26507 resultobj = SWIG_Py_Void();
26508 {
26509 if (temp2)
26510 delete arg2;
26511 }
26512 return resultobj;
26513 fail:
26514 {
26515 if (temp2)
26516 delete arg2;
26517 }
26518 return NULL;
26519 }
26520
26521
26522 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26523 PyObject *resultobj = 0;
26524 wxPrintData *arg1 = (wxPrintData *) 0 ;
26525 bool arg2 ;
26526 void *argp1 = 0 ;
26527 int res1 = 0 ;
26528 bool val2 ;
26529 int ecode2 = 0 ;
26530 PyObject * obj0 = 0 ;
26531 PyObject * obj1 = 0 ;
26532 char * kwnames[] = {
26533 (char *) "self",(char *) "colour", NULL
26534 };
26535
26536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
26537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26538 if (!SWIG_IsOK(res1)) {
26539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
26540 }
26541 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26542 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26543 if (!SWIG_IsOK(ecode2)) {
26544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
26545 }
26546 arg2 = static_cast< bool >(val2);
26547 {
26548 PyThreadState* __tstate = wxPyBeginAllowThreads();
26549 (arg1)->SetColour(arg2);
26550 wxPyEndAllowThreads(__tstate);
26551 if (PyErr_Occurred()) SWIG_fail;
26552 }
26553 resultobj = SWIG_Py_Void();
26554 return resultobj;
26555 fail:
26556 return NULL;
26557 }
26558
26559
26560 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26561 PyObject *resultobj = 0;
26562 wxPrintData *arg1 = (wxPrintData *) 0 ;
26563 wxDuplexMode arg2 ;
26564 void *argp1 = 0 ;
26565 int res1 = 0 ;
26566 int val2 ;
26567 int ecode2 = 0 ;
26568 PyObject * obj0 = 0 ;
26569 PyObject * obj1 = 0 ;
26570 char * kwnames[] = {
26571 (char *) "self",(char *) "duplex", NULL
26572 };
26573
26574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
26575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26576 if (!SWIG_IsOK(res1)) {
26577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
26578 }
26579 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26580 ecode2 = SWIG_AsVal_int(obj1, &val2);
26581 if (!SWIG_IsOK(ecode2)) {
26582 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
26583 }
26584 arg2 = static_cast< wxDuplexMode >(val2);
26585 {
26586 PyThreadState* __tstate = wxPyBeginAllowThreads();
26587 (arg1)->SetDuplex(arg2);
26588 wxPyEndAllowThreads(__tstate);
26589 if (PyErr_Occurred()) SWIG_fail;
26590 }
26591 resultobj = SWIG_Py_Void();
26592 return resultobj;
26593 fail:
26594 return NULL;
26595 }
26596
26597
26598 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26599 PyObject *resultobj = 0;
26600 wxPrintData *arg1 = (wxPrintData *) 0 ;
26601 wxPaperSize arg2 ;
26602 void *argp1 = 0 ;
26603 int res1 = 0 ;
26604 int val2 ;
26605 int ecode2 = 0 ;
26606 PyObject * obj0 = 0 ;
26607 PyObject * obj1 = 0 ;
26608 char * kwnames[] = {
26609 (char *) "self",(char *) "sizeId", NULL
26610 };
26611
26612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
26613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26614 if (!SWIG_IsOK(res1)) {
26615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
26616 }
26617 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26618 ecode2 = SWIG_AsVal_int(obj1, &val2);
26619 if (!SWIG_IsOK(ecode2)) {
26620 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26621 }
26622 arg2 = static_cast< wxPaperSize >(val2);
26623 {
26624 PyThreadState* __tstate = wxPyBeginAllowThreads();
26625 (arg1)->SetPaperId(arg2);
26626 wxPyEndAllowThreads(__tstate);
26627 if (PyErr_Occurred()) SWIG_fail;
26628 }
26629 resultobj = SWIG_Py_Void();
26630 return resultobj;
26631 fail:
26632 return NULL;
26633 }
26634
26635
26636 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26637 PyObject *resultobj = 0;
26638 wxPrintData *arg1 = (wxPrintData *) 0 ;
26639 wxSize *arg2 = 0 ;
26640 void *argp1 = 0 ;
26641 int res1 = 0 ;
26642 wxSize temp2 ;
26643 PyObject * obj0 = 0 ;
26644 PyObject * obj1 = 0 ;
26645 char * kwnames[] = {
26646 (char *) "self",(char *) "sz", NULL
26647 };
26648
26649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
26650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26651 if (!SWIG_IsOK(res1)) {
26652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
26653 }
26654 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26655 {
26656 arg2 = &temp2;
26657 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26658 }
26659 {
26660 PyThreadState* __tstate = wxPyBeginAllowThreads();
26661 (arg1)->SetPaperSize((wxSize const &)*arg2);
26662 wxPyEndAllowThreads(__tstate);
26663 if (PyErr_Occurred()) SWIG_fail;
26664 }
26665 resultobj = SWIG_Py_Void();
26666 return resultobj;
26667 fail:
26668 return NULL;
26669 }
26670
26671
26672 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26673 PyObject *resultobj = 0;
26674 wxPrintData *arg1 = (wxPrintData *) 0 ;
26675 int arg2 ;
26676 void *argp1 = 0 ;
26677 int res1 = 0 ;
26678 int val2 ;
26679 int ecode2 = 0 ;
26680 PyObject * obj0 = 0 ;
26681 PyObject * obj1 = 0 ;
26682 char * kwnames[] = {
26683 (char *) "self",(char *) "quality", NULL
26684 };
26685
26686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
26687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26688 if (!SWIG_IsOK(res1)) {
26689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
26690 }
26691 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26692 ecode2 = SWIG_AsVal_int(obj1, &val2);
26693 if (!SWIG_IsOK(ecode2)) {
26694 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
26695 }
26696 arg2 = static_cast< int >(val2);
26697 {
26698 PyThreadState* __tstate = wxPyBeginAllowThreads();
26699 (arg1)->SetQuality(arg2);
26700 wxPyEndAllowThreads(__tstate);
26701 if (PyErr_Occurred()) SWIG_fail;
26702 }
26703 resultobj = SWIG_Py_Void();
26704 return resultobj;
26705 fail:
26706 return NULL;
26707 }
26708
26709
26710 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26711 PyObject *resultobj = 0;
26712 wxPrintData *arg1 = (wxPrintData *) 0 ;
26713 wxPrintBin arg2 ;
26714 void *argp1 = 0 ;
26715 int res1 = 0 ;
26716 int val2 ;
26717 int ecode2 = 0 ;
26718 PyObject * obj0 = 0 ;
26719 PyObject * obj1 = 0 ;
26720 char * kwnames[] = {
26721 (char *) "self",(char *) "bin", NULL
26722 };
26723
26724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
26725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26726 if (!SWIG_IsOK(res1)) {
26727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
26728 }
26729 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26730 ecode2 = SWIG_AsVal_int(obj1, &val2);
26731 if (!SWIG_IsOK(ecode2)) {
26732 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
26733 }
26734 arg2 = static_cast< wxPrintBin >(val2);
26735 {
26736 PyThreadState* __tstate = wxPyBeginAllowThreads();
26737 (arg1)->SetBin(arg2);
26738 wxPyEndAllowThreads(__tstate);
26739 if (PyErr_Occurred()) SWIG_fail;
26740 }
26741 resultobj = SWIG_Py_Void();
26742 return resultobj;
26743 fail:
26744 return NULL;
26745 }
26746
26747
26748 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26749 PyObject *resultobj = 0;
26750 wxPrintData *arg1 = (wxPrintData *) 0 ;
26751 wxPrintMode arg2 ;
26752 void *argp1 = 0 ;
26753 int res1 = 0 ;
26754 int val2 ;
26755 int ecode2 = 0 ;
26756 PyObject * obj0 = 0 ;
26757 PyObject * obj1 = 0 ;
26758 char * kwnames[] = {
26759 (char *) "self",(char *) "printMode", NULL
26760 };
26761
26762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
26763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26764 if (!SWIG_IsOK(res1)) {
26765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
26766 }
26767 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26768 ecode2 = SWIG_AsVal_int(obj1, &val2);
26769 if (!SWIG_IsOK(ecode2)) {
26770 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
26771 }
26772 arg2 = static_cast< wxPrintMode >(val2);
26773 {
26774 PyThreadState* __tstate = wxPyBeginAllowThreads();
26775 (arg1)->SetPrintMode(arg2);
26776 wxPyEndAllowThreads(__tstate);
26777 if (PyErr_Occurred()) SWIG_fail;
26778 }
26779 resultobj = SWIG_Py_Void();
26780 return resultobj;
26781 fail:
26782 return NULL;
26783 }
26784
26785
26786 SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26787 PyObject *resultobj = 0;
26788 wxPrintData *arg1 = (wxPrintData *) 0 ;
26789 int arg2 ;
26790 void *argp1 = 0 ;
26791 int res1 = 0 ;
26792 int val2 ;
26793 int ecode2 = 0 ;
26794 PyObject * obj0 = 0 ;
26795 PyObject * obj1 = 0 ;
26796 char * kwnames[] = {
26797 (char *) "self",(char *) "media", NULL
26798 };
26799
26800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
26801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26802 if (!SWIG_IsOK(res1)) {
26803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
26804 }
26805 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26806 ecode2 = SWIG_AsVal_int(obj1, &val2);
26807 if (!SWIG_IsOK(ecode2)) {
26808 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
26809 }
26810 arg2 = static_cast< int >(val2);
26811 {
26812 PyThreadState* __tstate = wxPyBeginAllowThreads();
26813 (arg1)->SetMedia(arg2);
26814 wxPyEndAllowThreads(__tstate);
26815 if (PyErr_Occurred()) SWIG_fail;
26816 }
26817 resultobj = SWIG_Py_Void();
26818 return resultobj;
26819 fail:
26820 return NULL;
26821 }
26822
26823
26824 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26825 PyObject *resultobj = 0;
26826 wxPrintData *arg1 = (wxPrintData *) 0 ;
26827 wxString result;
26828 void *argp1 = 0 ;
26829 int res1 = 0 ;
26830 PyObject *swig_obj[1] ;
26831
26832 if (!args) SWIG_fail;
26833 swig_obj[0] = args;
26834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26835 if (!SWIG_IsOK(res1)) {
26836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26837 }
26838 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26839 {
26840 PyThreadState* __tstate = wxPyBeginAllowThreads();
26841 result = ((wxPrintData const *)arg1)->GetFilename();
26842 wxPyEndAllowThreads(__tstate);
26843 if (PyErr_Occurred()) SWIG_fail;
26844 }
26845 {
26846 #if wxUSE_UNICODE
26847 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26848 #else
26849 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26850 #endif
26851 }
26852 return resultobj;
26853 fail:
26854 return NULL;
26855 }
26856
26857
26858 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26859 PyObject *resultobj = 0;
26860 wxPrintData *arg1 = (wxPrintData *) 0 ;
26861 wxString *arg2 = 0 ;
26862 void *argp1 = 0 ;
26863 int res1 = 0 ;
26864 bool temp2 = false ;
26865 PyObject * obj0 = 0 ;
26866 PyObject * obj1 = 0 ;
26867 char * kwnames[] = {
26868 (char *) "self",(char *) "filename", NULL
26869 };
26870
26871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
26872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26873 if (!SWIG_IsOK(res1)) {
26874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
26875 }
26876 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26877 {
26878 arg2 = wxString_in_helper(obj1);
26879 if (arg2 == NULL) SWIG_fail;
26880 temp2 = true;
26881 }
26882 {
26883 PyThreadState* __tstate = wxPyBeginAllowThreads();
26884 (arg1)->SetFilename((wxString const &)*arg2);
26885 wxPyEndAllowThreads(__tstate);
26886 if (PyErr_Occurred()) SWIG_fail;
26887 }
26888 resultobj = SWIG_Py_Void();
26889 {
26890 if (temp2)
26891 delete arg2;
26892 }
26893 return resultobj;
26894 fail:
26895 {
26896 if (temp2)
26897 delete arg2;
26898 }
26899 return NULL;
26900 }
26901
26902
26903 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26904 PyObject *resultobj = 0;
26905 wxPrintData *arg1 = (wxPrintData *) 0 ;
26906 PyObject *result = 0 ;
26907 void *argp1 = 0 ;
26908 int res1 = 0 ;
26909 PyObject *swig_obj[1] ;
26910
26911 if (!args) SWIG_fail;
26912 swig_obj[0] = args;
26913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26914 if (!SWIG_IsOK(res1)) {
26915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
26916 }
26917 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26918 {
26919 PyThreadState* __tstate = wxPyBeginAllowThreads();
26920 result = (PyObject *)wxPrintData_GetPrivData(arg1);
26921 wxPyEndAllowThreads(__tstate);
26922 if (PyErr_Occurred()) SWIG_fail;
26923 }
26924 resultobj = result;
26925 return resultobj;
26926 fail:
26927 return NULL;
26928 }
26929
26930
26931 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26932 PyObject *resultobj = 0;
26933 wxPrintData *arg1 = (wxPrintData *) 0 ;
26934 PyObject *arg2 = (PyObject *) 0 ;
26935 void *argp1 = 0 ;
26936 int res1 = 0 ;
26937 PyObject * obj0 = 0 ;
26938 PyObject * obj1 = 0 ;
26939 char * kwnames[] = {
26940 (char *) "self",(char *) "data", NULL
26941 };
26942
26943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
26944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26945 if (!SWIG_IsOK(res1)) {
26946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
26947 }
26948 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26949 arg2 = obj1;
26950 {
26951 PyThreadState* __tstate = wxPyBeginAllowThreads();
26952 wxPrintData_SetPrivData(arg1,arg2);
26953 wxPyEndAllowThreads(__tstate);
26954 if (PyErr_Occurred()) SWIG_fail;
26955 }
26956 resultobj = SWIG_Py_Void();
26957 return resultobj;
26958 fail:
26959 return NULL;
26960 }
26961
26962
26963 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26964 PyObject *obj;
26965 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26966 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
26967 return SWIG_Py_Void();
26968 }
26969
26970 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26971 return SWIG_Python_InitShadowInstance(args);
26972 }
26973
26974 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26975 PyObject *resultobj = 0;
26976 wxPageSetupDialogData *result = 0 ;
26977
26978 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26979 {
26980 PyThreadState* __tstate = wxPyBeginAllowThreads();
26981 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
26982 wxPyEndAllowThreads(__tstate);
26983 if (PyErr_Occurred()) SWIG_fail;
26984 }
26985 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
26986 return resultobj;
26987 fail:
26988 return NULL;
26989 }
26990
26991
26992 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26993 PyObject *resultobj = 0;
26994 wxPageSetupDialogData *arg1 = 0 ;
26995 wxPageSetupDialogData *result = 0 ;
26996 void *argp1 = 0 ;
26997 int res1 = 0 ;
26998
26999 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
27000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
27001 if (!SWIG_IsOK(res1)) {
27002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
27003 }
27004 if (!argp1) {
27005 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
27006 }
27007 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27008 {
27009 PyThreadState* __tstate = wxPyBeginAllowThreads();
27010 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
27011 wxPyEndAllowThreads(__tstate);
27012 if (PyErr_Occurred()) SWIG_fail;
27013 }
27014 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
27015 return resultobj;
27016 fail:
27017 return NULL;
27018 }
27019
27020
27021 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
27022 PyObject *resultobj = 0;
27023 wxPrintData *arg1 = 0 ;
27024 wxPageSetupDialogData *result = 0 ;
27025 void *argp1 = 0 ;
27026 int res1 = 0 ;
27027
27028 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
27029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
27030 if (!SWIG_IsOK(res1)) {
27031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
27032 }
27033 if (!argp1) {
27034 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
27035 }
27036 arg1 = reinterpret_cast< wxPrintData * >(argp1);
27037 {
27038 PyThreadState* __tstate = wxPyBeginAllowThreads();
27039 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
27040 wxPyEndAllowThreads(__tstate);
27041 if (PyErr_Occurred()) SWIG_fail;
27042 }
27043 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
27044 return resultobj;
27045 fail:
27046 return NULL;
27047 }
27048
27049
27050 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
27051 int argc;
27052 PyObject *argv[2];
27053
27054 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
27055 --argc;
27056 if (argc == 0) {
27057 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
27058 }
27059 if (argc == 1) {
27060 int _v = 0;
27061 {
27062 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
27063 _v = SWIG_CheckState(res);
27064 }
27065 if (!_v) goto check_2;
27066 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
27067 }
27068 check_2:
27069
27070 if (argc == 1) {
27071 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
27072 }
27073
27074 fail:
27075 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
27076 return NULL;
27077 }
27078
27079
27080 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27081 PyObject *resultobj = 0;
27082 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27083 void *argp1 = 0 ;
27084 int res1 = 0 ;
27085 PyObject *swig_obj[1] ;
27086
27087 if (!args) SWIG_fail;
27088 swig_obj[0] = args;
27089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
27090 if (!SWIG_IsOK(res1)) {
27091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27092 }
27093 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27094 {
27095 PyThreadState* __tstate = wxPyBeginAllowThreads();
27096 delete arg1;
27097
27098 wxPyEndAllowThreads(__tstate);
27099 if (PyErr_Occurred()) SWIG_fail;
27100 }
27101 resultobj = SWIG_Py_Void();
27102 return resultobj;
27103 fail:
27104 return NULL;
27105 }
27106
27107
27108 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27109 PyObject *resultobj = 0;
27110 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27111 bool arg2 ;
27112 void *argp1 = 0 ;
27113 int res1 = 0 ;
27114 bool val2 ;
27115 int ecode2 = 0 ;
27116 PyObject * obj0 = 0 ;
27117 PyObject * obj1 = 0 ;
27118 char * kwnames[] = {
27119 (char *) "self",(char *) "flag", NULL
27120 };
27121
27122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
27123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27124 if (!SWIG_IsOK(res1)) {
27125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27126 }
27127 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27128 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27129 if (!SWIG_IsOK(ecode2)) {
27130 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27131 }
27132 arg2 = static_cast< bool >(val2);
27133 {
27134 PyThreadState* __tstate = wxPyBeginAllowThreads();
27135 (arg1)->EnableHelp(arg2);
27136 wxPyEndAllowThreads(__tstate);
27137 if (PyErr_Occurred()) SWIG_fail;
27138 }
27139 resultobj = SWIG_Py_Void();
27140 return resultobj;
27141 fail:
27142 return NULL;
27143 }
27144
27145
27146 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27147 PyObject *resultobj = 0;
27148 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27149 bool arg2 ;
27150 void *argp1 = 0 ;
27151 int res1 = 0 ;
27152 bool val2 ;
27153 int ecode2 = 0 ;
27154 PyObject * obj0 = 0 ;
27155 PyObject * obj1 = 0 ;
27156 char * kwnames[] = {
27157 (char *) "self",(char *) "flag", NULL
27158 };
27159
27160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
27161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27162 if (!SWIG_IsOK(res1)) {
27163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27164 }
27165 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27166 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27167 if (!SWIG_IsOK(ecode2)) {
27168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
27169 }
27170 arg2 = static_cast< bool >(val2);
27171 {
27172 PyThreadState* __tstate = wxPyBeginAllowThreads();
27173 (arg1)->EnableMargins(arg2);
27174 wxPyEndAllowThreads(__tstate);
27175 if (PyErr_Occurred()) SWIG_fail;
27176 }
27177 resultobj = SWIG_Py_Void();
27178 return resultobj;
27179 fail:
27180 return NULL;
27181 }
27182
27183
27184 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27185 PyObject *resultobj = 0;
27186 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27187 bool arg2 ;
27188 void *argp1 = 0 ;
27189 int res1 = 0 ;
27190 bool val2 ;
27191 int ecode2 = 0 ;
27192 PyObject * obj0 = 0 ;
27193 PyObject * obj1 = 0 ;
27194 char * kwnames[] = {
27195 (char *) "self",(char *) "flag", NULL
27196 };
27197
27198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
27199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27200 if (!SWIG_IsOK(res1)) {
27201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27202 }
27203 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27204 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27205 if (!SWIG_IsOK(ecode2)) {
27206 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
27207 }
27208 arg2 = static_cast< bool >(val2);
27209 {
27210 PyThreadState* __tstate = wxPyBeginAllowThreads();
27211 (arg1)->EnableOrientation(arg2);
27212 wxPyEndAllowThreads(__tstate);
27213 if (PyErr_Occurred()) SWIG_fail;
27214 }
27215 resultobj = SWIG_Py_Void();
27216 return resultobj;
27217 fail:
27218 return NULL;
27219 }
27220
27221
27222 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27223 PyObject *resultobj = 0;
27224 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27225 bool arg2 ;
27226 void *argp1 = 0 ;
27227 int res1 = 0 ;
27228 bool val2 ;
27229 int ecode2 = 0 ;
27230 PyObject * obj0 = 0 ;
27231 PyObject * obj1 = 0 ;
27232 char * kwnames[] = {
27233 (char *) "self",(char *) "flag", NULL
27234 };
27235
27236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
27237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27238 if (!SWIG_IsOK(res1)) {
27239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27240 }
27241 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27242 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27243 if (!SWIG_IsOK(ecode2)) {
27244 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
27245 }
27246 arg2 = static_cast< bool >(val2);
27247 {
27248 PyThreadState* __tstate = wxPyBeginAllowThreads();
27249 (arg1)->EnablePaper(arg2);
27250 wxPyEndAllowThreads(__tstate);
27251 if (PyErr_Occurred()) SWIG_fail;
27252 }
27253 resultobj = SWIG_Py_Void();
27254 return resultobj;
27255 fail:
27256 return NULL;
27257 }
27258
27259
27260 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27261 PyObject *resultobj = 0;
27262 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27263 bool arg2 ;
27264 void *argp1 = 0 ;
27265 int res1 = 0 ;
27266 bool val2 ;
27267 int ecode2 = 0 ;
27268 PyObject * obj0 = 0 ;
27269 PyObject * obj1 = 0 ;
27270 char * kwnames[] = {
27271 (char *) "self",(char *) "flag", NULL
27272 };
27273
27274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
27275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27276 if (!SWIG_IsOK(res1)) {
27277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27278 }
27279 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27280 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27281 if (!SWIG_IsOK(ecode2)) {
27282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
27283 }
27284 arg2 = static_cast< bool >(val2);
27285 {
27286 PyThreadState* __tstate = wxPyBeginAllowThreads();
27287 (arg1)->EnablePrinter(arg2);
27288 wxPyEndAllowThreads(__tstate);
27289 if (PyErr_Occurred()) SWIG_fail;
27290 }
27291 resultobj = SWIG_Py_Void();
27292 return resultobj;
27293 fail:
27294 return NULL;
27295 }
27296
27297
27298 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27299 PyObject *resultobj = 0;
27300 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27301 bool result;
27302 void *argp1 = 0 ;
27303 int res1 = 0 ;
27304 PyObject *swig_obj[1] ;
27305
27306 if (!args) SWIG_fail;
27307 swig_obj[0] = args;
27308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27309 if (!SWIG_IsOK(res1)) {
27310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27311 }
27312 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27313 {
27314 PyThreadState* __tstate = wxPyBeginAllowThreads();
27315 result = (bool)(arg1)->GetDefaultMinMargins();
27316 wxPyEndAllowThreads(__tstate);
27317 if (PyErr_Occurred()) SWIG_fail;
27318 }
27319 {
27320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27321 }
27322 return resultobj;
27323 fail:
27324 return NULL;
27325 }
27326
27327
27328 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27329 PyObject *resultobj = 0;
27330 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27331 bool result;
27332 void *argp1 = 0 ;
27333 int res1 = 0 ;
27334 PyObject *swig_obj[1] ;
27335
27336 if (!args) SWIG_fail;
27337 swig_obj[0] = args;
27338 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27339 if (!SWIG_IsOK(res1)) {
27340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27341 }
27342 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27343 {
27344 PyThreadState* __tstate = wxPyBeginAllowThreads();
27345 result = (bool)(arg1)->GetEnableMargins();
27346 wxPyEndAllowThreads(__tstate);
27347 if (PyErr_Occurred()) SWIG_fail;
27348 }
27349 {
27350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27351 }
27352 return resultobj;
27353 fail:
27354 return NULL;
27355 }
27356
27357
27358 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27359 PyObject *resultobj = 0;
27360 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27361 bool result;
27362 void *argp1 = 0 ;
27363 int res1 = 0 ;
27364 PyObject *swig_obj[1] ;
27365
27366 if (!args) SWIG_fail;
27367 swig_obj[0] = args;
27368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27369 if (!SWIG_IsOK(res1)) {
27370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27371 }
27372 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27373 {
27374 PyThreadState* __tstate = wxPyBeginAllowThreads();
27375 result = (bool)(arg1)->GetEnableOrientation();
27376 wxPyEndAllowThreads(__tstate);
27377 if (PyErr_Occurred()) SWIG_fail;
27378 }
27379 {
27380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27381 }
27382 return resultobj;
27383 fail:
27384 return NULL;
27385 }
27386
27387
27388 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27389 PyObject *resultobj = 0;
27390 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27391 bool result;
27392 void *argp1 = 0 ;
27393 int res1 = 0 ;
27394 PyObject *swig_obj[1] ;
27395
27396 if (!args) SWIG_fail;
27397 swig_obj[0] = args;
27398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27399 if (!SWIG_IsOK(res1)) {
27400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27401 }
27402 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27403 {
27404 PyThreadState* __tstate = wxPyBeginAllowThreads();
27405 result = (bool)(arg1)->GetEnablePaper();
27406 wxPyEndAllowThreads(__tstate);
27407 if (PyErr_Occurred()) SWIG_fail;
27408 }
27409 {
27410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27411 }
27412 return resultobj;
27413 fail:
27414 return NULL;
27415 }
27416
27417
27418 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27419 PyObject *resultobj = 0;
27420 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27421 bool result;
27422 void *argp1 = 0 ;
27423 int res1 = 0 ;
27424 PyObject *swig_obj[1] ;
27425
27426 if (!args) SWIG_fail;
27427 swig_obj[0] = args;
27428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27429 if (!SWIG_IsOK(res1)) {
27430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27431 }
27432 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27433 {
27434 PyThreadState* __tstate = wxPyBeginAllowThreads();
27435 result = (bool)(arg1)->GetEnablePrinter();
27436 wxPyEndAllowThreads(__tstate);
27437 if (PyErr_Occurred()) SWIG_fail;
27438 }
27439 {
27440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27441 }
27442 return resultobj;
27443 fail:
27444 return NULL;
27445 }
27446
27447
27448 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27449 PyObject *resultobj = 0;
27450 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27451 bool result;
27452 void *argp1 = 0 ;
27453 int res1 = 0 ;
27454 PyObject *swig_obj[1] ;
27455
27456 if (!args) SWIG_fail;
27457 swig_obj[0] = args;
27458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27459 if (!SWIG_IsOK(res1)) {
27460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27461 }
27462 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27463 {
27464 PyThreadState* __tstate = wxPyBeginAllowThreads();
27465 result = (bool)(arg1)->GetEnableHelp();
27466 wxPyEndAllowThreads(__tstate);
27467 if (PyErr_Occurred()) SWIG_fail;
27468 }
27469 {
27470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27471 }
27472 return resultobj;
27473 fail:
27474 return NULL;
27475 }
27476
27477
27478 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27479 PyObject *resultobj = 0;
27480 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27481 bool result;
27482 void *argp1 = 0 ;
27483 int res1 = 0 ;
27484 PyObject *swig_obj[1] ;
27485
27486 if (!args) SWIG_fail;
27487 swig_obj[0] = args;
27488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27489 if (!SWIG_IsOK(res1)) {
27490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27491 }
27492 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27493 {
27494 PyThreadState* __tstate = wxPyBeginAllowThreads();
27495 result = (bool)(arg1)->GetDefaultInfo();
27496 wxPyEndAllowThreads(__tstate);
27497 if (PyErr_Occurred()) SWIG_fail;
27498 }
27499 {
27500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27501 }
27502 return resultobj;
27503 fail:
27504 return NULL;
27505 }
27506
27507
27508 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27509 PyObject *resultobj = 0;
27510 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27511 wxPoint result;
27512 void *argp1 = 0 ;
27513 int res1 = 0 ;
27514 PyObject *swig_obj[1] ;
27515
27516 if (!args) SWIG_fail;
27517 swig_obj[0] = args;
27518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27519 if (!SWIG_IsOK(res1)) {
27520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27521 }
27522 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27523 {
27524 PyThreadState* __tstate = wxPyBeginAllowThreads();
27525 result = (arg1)->GetMarginTopLeft();
27526 wxPyEndAllowThreads(__tstate);
27527 if (PyErr_Occurred()) SWIG_fail;
27528 }
27529 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27530 return resultobj;
27531 fail:
27532 return NULL;
27533 }
27534
27535
27536 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27537 PyObject *resultobj = 0;
27538 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27539 wxPoint result;
27540 void *argp1 = 0 ;
27541 int res1 = 0 ;
27542 PyObject *swig_obj[1] ;
27543
27544 if (!args) SWIG_fail;
27545 swig_obj[0] = args;
27546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27547 if (!SWIG_IsOK(res1)) {
27548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27549 }
27550 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27551 {
27552 PyThreadState* __tstate = wxPyBeginAllowThreads();
27553 result = (arg1)->GetMarginBottomRight();
27554 wxPyEndAllowThreads(__tstate);
27555 if (PyErr_Occurred()) SWIG_fail;
27556 }
27557 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27558 return resultobj;
27559 fail:
27560 return NULL;
27561 }
27562
27563
27564 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27565 PyObject *resultobj = 0;
27566 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27567 wxPoint result;
27568 void *argp1 = 0 ;
27569 int res1 = 0 ;
27570 PyObject *swig_obj[1] ;
27571
27572 if (!args) SWIG_fail;
27573 swig_obj[0] = args;
27574 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27575 if (!SWIG_IsOK(res1)) {
27576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27577 }
27578 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27579 {
27580 PyThreadState* __tstate = wxPyBeginAllowThreads();
27581 result = (arg1)->GetMinMarginTopLeft();
27582 wxPyEndAllowThreads(__tstate);
27583 if (PyErr_Occurred()) SWIG_fail;
27584 }
27585 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27586 return resultobj;
27587 fail:
27588 return NULL;
27589 }
27590
27591
27592 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27593 PyObject *resultobj = 0;
27594 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27595 wxPoint result;
27596 void *argp1 = 0 ;
27597 int res1 = 0 ;
27598 PyObject *swig_obj[1] ;
27599
27600 if (!args) SWIG_fail;
27601 swig_obj[0] = args;
27602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27603 if (!SWIG_IsOK(res1)) {
27604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27605 }
27606 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27607 {
27608 PyThreadState* __tstate = wxPyBeginAllowThreads();
27609 result = (arg1)->GetMinMarginBottomRight();
27610 wxPyEndAllowThreads(__tstate);
27611 if (PyErr_Occurred()) SWIG_fail;
27612 }
27613 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27614 return resultobj;
27615 fail:
27616 return NULL;
27617 }
27618
27619
27620 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27621 PyObject *resultobj = 0;
27622 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27623 wxPaperSize result;
27624 void *argp1 = 0 ;
27625 int res1 = 0 ;
27626 PyObject *swig_obj[1] ;
27627
27628 if (!args) SWIG_fail;
27629 swig_obj[0] = args;
27630 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27631 if (!SWIG_IsOK(res1)) {
27632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27633 }
27634 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27635 {
27636 PyThreadState* __tstate = wxPyBeginAllowThreads();
27637 result = (wxPaperSize)(arg1)->GetPaperId();
27638 wxPyEndAllowThreads(__tstate);
27639 if (PyErr_Occurred()) SWIG_fail;
27640 }
27641 resultobj = SWIG_From_int(static_cast< int >(result));
27642 return resultobj;
27643 fail:
27644 return NULL;
27645 }
27646
27647
27648 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27649 PyObject *resultobj = 0;
27650 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27651 wxSize result;
27652 void *argp1 = 0 ;
27653 int res1 = 0 ;
27654 PyObject *swig_obj[1] ;
27655
27656 if (!args) SWIG_fail;
27657 swig_obj[0] = args;
27658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27659 if (!SWIG_IsOK(res1)) {
27660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27661 }
27662 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27663 {
27664 PyThreadState* __tstate = wxPyBeginAllowThreads();
27665 result = (arg1)->GetPaperSize();
27666 wxPyEndAllowThreads(__tstate);
27667 if (PyErr_Occurred()) SWIG_fail;
27668 }
27669 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
27670 return resultobj;
27671 fail:
27672 return NULL;
27673 }
27674
27675
27676 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27677 PyObject *resultobj = 0;
27678 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27679 wxPrintData *result = 0 ;
27680 void *argp1 = 0 ;
27681 int res1 = 0 ;
27682 PyObject *swig_obj[1] ;
27683
27684 if (!args) SWIG_fail;
27685 swig_obj[0] = args;
27686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27687 if (!SWIG_IsOK(res1)) {
27688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27689 }
27690 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27691 {
27692 PyThreadState* __tstate = wxPyBeginAllowThreads();
27693 {
27694 wxPrintData &_result_ref = (arg1)->GetPrintData();
27695 result = (wxPrintData *) &_result_ref;
27696 }
27697 wxPyEndAllowThreads(__tstate);
27698 if (PyErr_Occurred()) SWIG_fail;
27699 }
27700 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27701 return resultobj;
27702 fail:
27703 return NULL;
27704 }
27705
27706
27707 SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27708 PyObject *resultobj = 0;
27709 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27710 bool result;
27711 void *argp1 = 0 ;
27712 int res1 = 0 ;
27713 PyObject *swig_obj[1] ;
27714
27715 if (!args) SWIG_fail;
27716 swig_obj[0] = args;
27717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27718 if (!SWIG_IsOK(res1)) {
27719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27720 }
27721 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27722 {
27723 PyThreadState* __tstate = wxPyBeginAllowThreads();
27724 result = (bool)(arg1)->IsOk();
27725 wxPyEndAllowThreads(__tstate);
27726 if (PyErr_Occurred()) SWIG_fail;
27727 }
27728 {
27729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27730 }
27731 return resultobj;
27732 fail:
27733 return NULL;
27734 }
27735
27736
27737 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27738 PyObject *resultobj = 0;
27739 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27740 bool arg2 ;
27741 void *argp1 = 0 ;
27742 int res1 = 0 ;
27743 bool val2 ;
27744 int ecode2 = 0 ;
27745 PyObject * obj0 = 0 ;
27746 PyObject * obj1 = 0 ;
27747 char * kwnames[] = {
27748 (char *) "self",(char *) "flag", NULL
27749 };
27750
27751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
27752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27753 if (!SWIG_IsOK(res1)) {
27754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27755 }
27756 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27757 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27758 if (!SWIG_IsOK(ecode2)) {
27759 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
27760 }
27761 arg2 = static_cast< bool >(val2);
27762 {
27763 PyThreadState* __tstate = wxPyBeginAllowThreads();
27764 (arg1)->SetDefaultInfo(arg2);
27765 wxPyEndAllowThreads(__tstate);
27766 if (PyErr_Occurred()) SWIG_fail;
27767 }
27768 resultobj = SWIG_Py_Void();
27769 return resultobj;
27770 fail:
27771 return NULL;
27772 }
27773
27774
27775 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27776 PyObject *resultobj = 0;
27777 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27778 bool arg2 ;
27779 void *argp1 = 0 ;
27780 int res1 = 0 ;
27781 bool val2 ;
27782 int ecode2 = 0 ;
27783 PyObject * obj0 = 0 ;
27784 PyObject * obj1 = 0 ;
27785 char * kwnames[] = {
27786 (char *) "self",(char *) "flag", NULL
27787 };
27788
27789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
27790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27791 if (!SWIG_IsOK(res1)) {
27792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27793 }
27794 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27795 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27796 if (!SWIG_IsOK(ecode2)) {
27797 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
27798 }
27799 arg2 = static_cast< bool >(val2);
27800 {
27801 PyThreadState* __tstate = wxPyBeginAllowThreads();
27802 (arg1)->SetDefaultMinMargins(arg2);
27803 wxPyEndAllowThreads(__tstate);
27804 if (PyErr_Occurred()) SWIG_fail;
27805 }
27806 resultobj = SWIG_Py_Void();
27807 return resultobj;
27808 fail:
27809 return NULL;
27810 }
27811
27812
27813 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27814 PyObject *resultobj = 0;
27815 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27816 wxPoint *arg2 = 0 ;
27817 void *argp1 = 0 ;
27818 int res1 = 0 ;
27819 wxPoint temp2 ;
27820 PyObject * obj0 = 0 ;
27821 PyObject * obj1 = 0 ;
27822 char * kwnames[] = {
27823 (char *) "self",(char *) "pt", NULL
27824 };
27825
27826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
27827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27828 if (!SWIG_IsOK(res1)) {
27829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27830 }
27831 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27832 {
27833 arg2 = &temp2;
27834 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27835 }
27836 {
27837 PyThreadState* __tstate = wxPyBeginAllowThreads();
27838 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
27839 wxPyEndAllowThreads(__tstate);
27840 if (PyErr_Occurred()) SWIG_fail;
27841 }
27842 resultobj = SWIG_Py_Void();
27843 return resultobj;
27844 fail:
27845 return NULL;
27846 }
27847
27848
27849 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27850 PyObject *resultobj = 0;
27851 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27852 wxPoint *arg2 = 0 ;
27853 void *argp1 = 0 ;
27854 int res1 = 0 ;
27855 wxPoint temp2 ;
27856 PyObject * obj0 = 0 ;
27857 PyObject * obj1 = 0 ;
27858 char * kwnames[] = {
27859 (char *) "self",(char *) "pt", NULL
27860 };
27861
27862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
27863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27864 if (!SWIG_IsOK(res1)) {
27865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27866 }
27867 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27868 {
27869 arg2 = &temp2;
27870 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27871 }
27872 {
27873 PyThreadState* __tstate = wxPyBeginAllowThreads();
27874 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
27875 wxPyEndAllowThreads(__tstate);
27876 if (PyErr_Occurred()) SWIG_fail;
27877 }
27878 resultobj = SWIG_Py_Void();
27879 return resultobj;
27880 fail:
27881 return NULL;
27882 }
27883
27884
27885 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27886 PyObject *resultobj = 0;
27887 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27888 wxPoint *arg2 = 0 ;
27889 void *argp1 = 0 ;
27890 int res1 = 0 ;
27891 wxPoint temp2 ;
27892 PyObject * obj0 = 0 ;
27893 PyObject * obj1 = 0 ;
27894 char * kwnames[] = {
27895 (char *) "self",(char *) "pt", NULL
27896 };
27897
27898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
27899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27900 if (!SWIG_IsOK(res1)) {
27901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27902 }
27903 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27904 {
27905 arg2 = &temp2;
27906 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27907 }
27908 {
27909 PyThreadState* __tstate = wxPyBeginAllowThreads();
27910 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
27911 wxPyEndAllowThreads(__tstate);
27912 if (PyErr_Occurred()) SWIG_fail;
27913 }
27914 resultobj = SWIG_Py_Void();
27915 return resultobj;
27916 fail:
27917 return NULL;
27918 }
27919
27920
27921 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27922 PyObject *resultobj = 0;
27923 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27924 wxPoint *arg2 = 0 ;
27925 void *argp1 = 0 ;
27926 int res1 = 0 ;
27927 wxPoint temp2 ;
27928 PyObject * obj0 = 0 ;
27929 PyObject * obj1 = 0 ;
27930 char * kwnames[] = {
27931 (char *) "self",(char *) "pt", NULL
27932 };
27933
27934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
27935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27936 if (!SWIG_IsOK(res1)) {
27937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27938 }
27939 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27940 {
27941 arg2 = &temp2;
27942 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27943 }
27944 {
27945 PyThreadState* __tstate = wxPyBeginAllowThreads();
27946 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
27947 wxPyEndAllowThreads(__tstate);
27948 if (PyErr_Occurred()) SWIG_fail;
27949 }
27950 resultobj = SWIG_Py_Void();
27951 return resultobj;
27952 fail:
27953 return NULL;
27954 }
27955
27956
27957 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27958 PyObject *resultobj = 0;
27959 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27960 wxPaperSize arg2 ;
27961 void *argp1 = 0 ;
27962 int res1 = 0 ;
27963 int val2 ;
27964 int ecode2 = 0 ;
27965 PyObject * obj0 = 0 ;
27966 PyObject * obj1 = 0 ;
27967 char * kwnames[] = {
27968 (char *) "self",(char *) "id", NULL
27969 };
27970
27971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
27972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27973 if (!SWIG_IsOK(res1)) {
27974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27975 }
27976 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27977 ecode2 = SWIG_AsVal_int(obj1, &val2);
27978 if (!SWIG_IsOK(ecode2)) {
27979 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
27980 }
27981 arg2 = static_cast< wxPaperSize >(val2);
27982 {
27983 PyThreadState* __tstate = wxPyBeginAllowThreads();
27984 (arg1)->SetPaperId(arg2);
27985 wxPyEndAllowThreads(__tstate);
27986 if (PyErr_Occurred()) SWIG_fail;
27987 }
27988 resultobj = SWIG_Py_Void();
27989 return resultobj;
27990 fail:
27991 return NULL;
27992 }
27993
27994
27995 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27996 PyObject *resultobj = 0;
27997 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27998 wxSize *arg2 = 0 ;
27999 void *argp1 = 0 ;
28000 int res1 = 0 ;
28001 wxSize temp2 ;
28002 PyObject * obj0 = 0 ;
28003 PyObject * obj1 = 0 ;
28004 char * kwnames[] = {
28005 (char *) "self",(char *) "size", NULL
28006 };
28007
28008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
28009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28010 if (!SWIG_IsOK(res1)) {
28011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28012 }
28013 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28014 {
28015 arg2 = &temp2;
28016 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28017 }
28018 {
28019 PyThreadState* __tstate = wxPyBeginAllowThreads();
28020 (arg1)->SetPaperSize((wxSize const &)*arg2);
28021 wxPyEndAllowThreads(__tstate);
28022 if (PyErr_Occurred()) SWIG_fail;
28023 }
28024 resultobj = SWIG_Py_Void();
28025 return resultobj;
28026 fail:
28027 return NULL;
28028 }
28029
28030
28031 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28032 PyObject *resultobj = 0;
28033 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28034 wxPrintData *arg2 = 0 ;
28035 void *argp1 = 0 ;
28036 int res1 = 0 ;
28037 void *argp2 = 0 ;
28038 int res2 = 0 ;
28039 PyObject * obj0 = 0 ;
28040 PyObject * obj1 = 0 ;
28041 char * kwnames[] = {
28042 (char *) "self",(char *) "printData", NULL
28043 };
28044
28045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
28046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28047 if (!SWIG_IsOK(res1)) {
28048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28049 }
28050 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28051 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
28052 if (!SWIG_IsOK(res2)) {
28053 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
28054 }
28055 if (!argp2) {
28056 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
28057 }
28058 arg2 = reinterpret_cast< wxPrintData * >(argp2);
28059 {
28060 PyThreadState* __tstate = wxPyBeginAllowThreads();
28061 (arg1)->SetPrintData((wxPrintData const &)*arg2);
28062 wxPyEndAllowThreads(__tstate);
28063 if (PyErr_Occurred()) SWIG_fail;
28064 }
28065 resultobj = SWIG_Py_Void();
28066 return resultobj;
28067 fail:
28068 return NULL;
28069 }
28070
28071
28072 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28073 PyObject *resultobj = 0;
28074 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28075 void *argp1 = 0 ;
28076 int res1 = 0 ;
28077 PyObject *swig_obj[1] ;
28078
28079 if (!args) SWIG_fail;
28080 swig_obj[0] = args;
28081 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28082 if (!SWIG_IsOK(res1)) {
28083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28084 }
28085 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28086 {
28087 PyThreadState* __tstate = wxPyBeginAllowThreads();
28088 (arg1)->CalculateIdFromPaperSize();
28089 wxPyEndAllowThreads(__tstate);
28090 if (PyErr_Occurred()) SWIG_fail;
28091 }
28092 resultobj = SWIG_Py_Void();
28093 return resultobj;
28094 fail:
28095 return NULL;
28096 }
28097
28098
28099 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28100 PyObject *resultobj = 0;
28101 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28102 void *argp1 = 0 ;
28103 int res1 = 0 ;
28104 PyObject *swig_obj[1] ;
28105
28106 if (!args) SWIG_fail;
28107 swig_obj[0] = args;
28108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28109 if (!SWIG_IsOK(res1)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28111 }
28112 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28113 {
28114 PyThreadState* __tstate = wxPyBeginAllowThreads();
28115 (arg1)->CalculatePaperSizeFromId();
28116 wxPyEndAllowThreads(__tstate);
28117 if (PyErr_Occurred()) SWIG_fail;
28118 }
28119 resultobj = SWIG_Py_Void();
28120 return resultobj;
28121 fail:
28122 return NULL;
28123 }
28124
28125
28126 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28127 PyObject *obj;
28128 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28129 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
28130 return SWIG_Py_Void();
28131 }
28132
28133 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28134 return SWIG_Python_InitShadowInstance(args);
28135 }
28136
28137 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28138 PyObject *resultobj = 0;
28139 wxWindow *arg1 = (wxWindow *) 0 ;
28140 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
28141 wxPageSetupDialog *result = 0 ;
28142 void *argp1 = 0 ;
28143 int res1 = 0 ;
28144 void *argp2 = 0 ;
28145 int res2 = 0 ;
28146 PyObject * obj0 = 0 ;
28147 PyObject * obj1 = 0 ;
28148 char * kwnames[] = {
28149 (char *) "parent",(char *) "data", NULL
28150 };
28151
28152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
28153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
28154 if (!SWIG_IsOK(res1)) {
28155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
28156 }
28157 arg1 = reinterpret_cast< wxWindow * >(argp1);
28158 if (obj1) {
28159 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28160 if (!SWIG_IsOK(res2)) {
28161 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
28162 }
28163 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28164 }
28165 {
28166 if (!wxPyCheckForApp()) SWIG_fail;
28167 PyThreadState* __tstate = wxPyBeginAllowThreads();
28168 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
28169 wxPyEndAllowThreads(__tstate);
28170 if (PyErr_Occurred()) SWIG_fail;
28171 }
28172 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
28173 return resultobj;
28174 fail:
28175 return NULL;
28176 }
28177
28178
28179 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28180 PyObject *resultobj = 0;
28181 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28182 void *argp1 = 0 ;
28183 int res1 = 0 ;
28184 PyObject *swig_obj[1] ;
28185
28186 if (!args) SWIG_fail;
28187 swig_obj[0] = args;
28188 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
28189 if (!SWIG_IsOK(res1)) {
28190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28191 }
28192 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28193 {
28194 PyThreadState* __tstate = wxPyBeginAllowThreads();
28195 delete arg1;
28196
28197 wxPyEndAllowThreads(__tstate);
28198 if (PyErr_Occurred()) SWIG_fail;
28199 }
28200 resultobj = SWIG_Py_Void();
28201 return resultobj;
28202 fail:
28203 return NULL;
28204 }
28205
28206
28207 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28208 PyObject *resultobj = 0;
28209 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28210 wxPageSetupDialogData *result = 0 ;
28211 void *argp1 = 0 ;
28212 int res1 = 0 ;
28213 PyObject *swig_obj[1] ;
28214
28215 if (!args) SWIG_fail;
28216 swig_obj[0] = args;
28217 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
28218 if (!SWIG_IsOK(res1)) {
28219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28220 }
28221 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28222 {
28223 PyThreadState* __tstate = wxPyBeginAllowThreads();
28224 {
28225 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
28226 result = (wxPageSetupDialogData *) &_result_ref;
28227 }
28228 wxPyEndAllowThreads(__tstate);
28229 if (PyErr_Occurred()) SWIG_fail;
28230 }
28231 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28232 return resultobj;
28233 fail:
28234 return NULL;
28235 }
28236
28237
28238 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28239 PyObject *resultobj = 0;
28240 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28241 wxPageSetupDialogData *result = 0 ;
28242 void *argp1 = 0 ;
28243 int res1 = 0 ;
28244 PyObject *swig_obj[1] ;
28245
28246 if (!args) SWIG_fail;
28247 swig_obj[0] = args;
28248 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
28249 if (!SWIG_IsOK(res1)) {
28250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28251 }
28252 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28253 {
28254 PyThreadState* __tstate = wxPyBeginAllowThreads();
28255 {
28256 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
28257 result = (wxPageSetupDialogData *) &_result_ref;
28258 }
28259 wxPyEndAllowThreads(__tstate);
28260 if (PyErr_Occurred()) SWIG_fail;
28261 }
28262 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28263 return resultobj;
28264 fail:
28265 return NULL;
28266 }
28267
28268
28269 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28270 PyObject *resultobj = 0;
28271 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28272 int result;
28273 void *argp1 = 0 ;
28274 int res1 = 0 ;
28275 PyObject *swig_obj[1] ;
28276
28277 if (!args) SWIG_fail;
28278 swig_obj[0] = args;
28279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
28280 if (!SWIG_IsOK(res1)) {
28281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28282 }
28283 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28284 {
28285 PyThreadState* __tstate = wxPyBeginAllowThreads();
28286 result = (int)(arg1)->ShowModal();
28287 wxPyEndAllowThreads(__tstate);
28288 if (PyErr_Occurred()) SWIG_fail;
28289 }
28290 resultobj = SWIG_From_int(static_cast< int >(result));
28291 return resultobj;
28292 fail:
28293 return NULL;
28294 }
28295
28296
28297 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28298 PyObject *obj;
28299 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28300 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
28301 return SWIG_Py_Void();
28302 }
28303
28304 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28305 return SWIG_Python_InitShadowInstance(args);
28306 }
28307
28308 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
28309 PyObject *resultobj = 0;
28310 wxPrintDialogData *result = 0 ;
28311
28312 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
28313 {
28314 PyThreadState* __tstate = wxPyBeginAllowThreads();
28315 result = (wxPrintDialogData *)new wxPrintDialogData();
28316 wxPyEndAllowThreads(__tstate);
28317 if (PyErr_Occurred()) SWIG_fail;
28318 }
28319 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
28320 return resultobj;
28321 fail:
28322 return NULL;
28323 }
28324
28325
28326 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28327 PyObject *resultobj = 0;
28328 wxPrintData *arg1 = 0 ;
28329 wxPrintDialogData *result = 0 ;
28330 void *argp1 = 0 ;
28331 int res1 = 0 ;
28332
28333 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
28334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
28335 if (!SWIG_IsOK(res1)) {
28336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
28337 }
28338 if (!argp1) {
28339 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
28340 }
28341 arg1 = reinterpret_cast< wxPrintData * >(argp1);
28342 {
28343 PyThreadState* __tstate = wxPyBeginAllowThreads();
28344 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
28345 wxPyEndAllowThreads(__tstate);
28346 if (PyErr_Occurred()) SWIG_fail;
28347 }
28348 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
28349 return resultobj;
28350 fail:
28351 return NULL;
28352 }
28353
28354
28355 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28356 PyObject *resultobj = 0;
28357 wxPrintDialogData *arg1 = 0 ;
28358 wxPrintDialogData *result = 0 ;
28359 void *argp1 = 0 ;
28360 int res1 = 0 ;
28361
28362 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
28363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
28364 if (!SWIG_IsOK(res1)) {
28365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
28366 }
28367 if (!argp1) {
28368 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
28369 }
28370 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28371 {
28372 PyThreadState* __tstate = wxPyBeginAllowThreads();
28373 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
28374 wxPyEndAllowThreads(__tstate);
28375 if (PyErr_Occurred()) SWIG_fail;
28376 }
28377 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
28378 return resultobj;
28379 fail:
28380 return NULL;
28381 }
28382
28383
28384 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
28385 int argc;
28386 PyObject *argv[2];
28387
28388 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
28389 --argc;
28390 if (argc == 0) {
28391 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
28392 }
28393 if (argc == 1) {
28394 int _v = 0;
28395 {
28396 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
28397 _v = SWIG_CheckState(res);
28398 }
28399 if (!_v) goto check_2;
28400 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
28401 }
28402 check_2:
28403
28404 if (argc == 1) {
28405 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
28406 }
28407
28408 fail:
28409 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
28410 return NULL;
28411 }
28412
28413
28414 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28415 PyObject *resultobj = 0;
28416 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28417 void *argp1 = 0 ;
28418 int res1 = 0 ;
28419 PyObject *swig_obj[1] ;
28420
28421 if (!args) SWIG_fail;
28422 swig_obj[0] = args;
28423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
28424 if (!SWIG_IsOK(res1)) {
28425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28426 }
28427 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28428 {
28429 PyThreadState* __tstate = wxPyBeginAllowThreads();
28430 delete arg1;
28431
28432 wxPyEndAllowThreads(__tstate);
28433 if (PyErr_Occurred()) SWIG_fail;
28434 }
28435 resultobj = SWIG_Py_Void();
28436 return resultobj;
28437 fail:
28438 return NULL;
28439 }
28440
28441
28442 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28443 PyObject *resultobj = 0;
28444 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28445 int result;
28446 void *argp1 = 0 ;
28447 int res1 = 0 ;
28448 PyObject *swig_obj[1] ;
28449
28450 if (!args) SWIG_fail;
28451 swig_obj[0] = args;
28452 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28453 if (!SWIG_IsOK(res1)) {
28454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28455 }
28456 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28457 {
28458 PyThreadState* __tstate = wxPyBeginAllowThreads();
28459 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
28460 wxPyEndAllowThreads(__tstate);
28461 if (PyErr_Occurred()) SWIG_fail;
28462 }
28463 resultobj = SWIG_From_int(static_cast< int >(result));
28464 return resultobj;
28465 fail:
28466 return NULL;
28467 }
28468
28469
28470 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28471 PyObject *resultobj = 0;
28472 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28473 int result;
28474 void *argp1 = 0 ;
28475 int res1 = 0 ;
28476 PyObject *swig_obj[1] ;
28477
28478 if (!args) SWIG_fail;
28479 swig_obj[0] = args;
28480 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28481 if (!SWIG_IsOK(res1)) {
28482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28483 }
28484 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28485 {
28486 PyThreadState* __tstate = wxPyBeginAllowThreads();
28487 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
28488 wxPyEndAllowThreads(__tstate);
28489 if (PyErr_Occurred()) SWIG_fail;
28490 }
28491 resultobj = SWIG_From_int(static_cast< int >(result));
28492 return resultobj;
28493 fail:
28494 return NULL;
28495 }
28496
28497
28498 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28499 PyObject *resultobj = 0;
28500 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28501 int result;
28502 void *argp1 = 0 ;
28503 int res1 = 0 ;
28504 PyObject *swig_obj[1] ;
28505
28506 if (!args) SWIG_fail;
28507 swig_obj[0] = args;
28508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28509 if (!SWIG_IsOK(res1)) {
28510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28511 }
28512 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28513 {
28514 PyThreadState* __tstate = wxPyBeginAllowThreads();
28515 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
28516 wxPyEndAllowThreads(__tstate);
28517 if (PyErr_Occurred()) SWIG_fail;
28518 }
28519 resultobj = SWIG_From_int(static_cast< int >(result));
28520 return resultobj;
28521 fail:
28522 return NULL;
28523 }
28524
28525
28526 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28527 PyObject *resultobj = 0;
28528 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28529 int result;
28530 void *argp1 = 0 ;
28531 int res1 = 0 ;
28532 PyObject *swig_obj[1] ;
28533
28534 if (!args) SWIG_fail;
28535 swig_obj[0] = args;
28536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28537 if (!SWIG_IsOK(res1)) {
28538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28539 }
28540 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28541 {
28542 PyThreadState* __tstate = wxPyBeginAllowThreads();
28543 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
28544 wxPyEndAllowThreads(__tstate);
28545 if (PyErr_Occurred()) SWIG_fail;
28546 }
28547 resultobj = SWIG_From_int(static_cast< int >(result));
28548 return resultobj;
28549 fail:
28550 return NULL;
28551 }
28552
28553
28554 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28555 PyObject *resultobj = 0;
28556 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28557 int result;
28558 void *argp1 = 0 ;
28559 int res1 = 0 ;
28560 PyObject *swig_obj[1] ;
28561
28562 if (!args) SWIG_fail;
28563 swig_obj[0] = args;
28564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28565 if (!SWIG_IsOK(res1)) {
28566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28567 }
28568 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28569 {
28570 PyThreadState* __tstate = wxPyBeginAllowThreads();
28571 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
28572 wxPyEndAllowThreads(__tstate);
28573 if (PyErr_Occurred()) SWIG_fail;
28574 }
28575 resultobj = SWIG_From_int(static_cast< int >(result));
28576 return resultobj;
28577 fail:
28578 return NULL;
28579 }
28580
28581
28582 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28583 PyObject *resultobj = 0;
28584 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28585 bool result;
28586 void *argp1 = 0 ;
28587 int res1 = 0 ;
28588 PyObject *swig_obj[1] ;
28589
28590 if (!args) SWIG_fail;
28591 swig_obj[0] = args;
28592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28593 if (!SWIG_IsOK(res1)) {
28594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28595 }
28596 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28597 {
28598 PyThreadState* __tstate = wxPyBeginAllowThreads();
28599 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
28600 wxPyEndAllowThreads(__tstate);
28601 if (PyErr_Occurred()) SWIG_fail;
28602 }
28603 {
28604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28605 }
28606 return resultobj;
28607 fail:
28608 return NULL;
28609 }
28610
28611
28612 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28613 PyObject *resultobj = 0;
28614 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28615 bool result;
28616 void *argp1 = 0 ;
28617 int res1 = 0 ;
28618 PyObject *swig_obj[1] ;
28619
28620 if (!args) SWIG_fail;
28621 swig_obj[0] = args;
28622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28623 if (!SWIG_IsOK(res1)) {
28624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28625 }
28626 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28627 {
28628 PyThreadState* __tstate = wxPyBeginAllowThreads();
28629 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
28630 wxPyEndAllowThreads(__tstate);
28631 if (PyErr_Occurred()) SWIG_fail;
28632 }
28633 {
28634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28635 }
28636 return resultobj;
28637 fail:
28638 return NULL;
28639 }
28640
28641
28642 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28643 PyObject *resultobj = 0;
28644 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28645 bool result;
28646 void *argp1 = 0 ;
28647 int res1 = 0 ;
28648 PyObject *swig_obj[1] ;
28649
28650 if (!args) SWIG_fail;
28651 swig_obj[0] = args;
28652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28653 if (!SWIG_IsOK(res1)) {
28654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28655 }
28656 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28657 {
28658 PyThreadState* __tstate = wxPyBeginAllowThreads();
28659 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
28660 wxPyEndAllowThreads(__tstate);
28661 if (PyErr_Occurred()) SWIG_fail;
28662 }
28663 {
28664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28665 }
28666 return resultobj;
28667 fail:
28668 return NULL;
28669 }
28670
28671
28672 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28673 PyObject *resultobj = 0;
28674 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28675 bool result;
28676 void *argp1 = 0 ;
28677 int res1 = 0 ;
28678 PyObject *swig_obj[1] ;
28679
28680 if (!args) SWIG_fail;
28681 swig_obj[0] = args;
28682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28683 if (!SWIG_IsOK(res1)) {
28684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28685 }
28686 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28687 {
28688 PyThreadState* __tstate = wxPyBeginAllowThreads();
28689 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
28690 wxPyEndAllowThreads(__tstate);
28691 if (PyErr_Occurred()) SWIG_fail;
28692 }
28693 {
28694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28695 }
28696 return resultobj;
28697 fail:
28698 return NULL;
28699 }
28700
28701
28702 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28703 PyObject *resultobj = 0;
28704 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28705 int arg2 ;
28706 void *argp1 = 0 ;
28707 int res1 = 0 ;
28708 int val2 ;
28709 int ecode2 = 0 ;
28710 PyObject * obj0 = 0 ;
28711 PyObject * obj1 = 0 ;
28712 char * kwnames[] = {
28713 (char *) "self",(char *) "v", NULL
28714 };
28715
28716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
28717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28718 if (!SWIG_IsOK(res1)) {
28719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28720 }
28721 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28722 ecode2 = SWIG_AsVal_int(obj1, &val2);
28723 if (!SWIG_IsOK(ecode2)) {
28724 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
28725 }
28726 arg2 = static_cast< int >(val2);
28727 {
28728 PyThreadState* __tstate = wxPyBeginAllowThreads();
28729 (arg1)->SetFromPage(arg2);
28730 wxPyEndAllowThreads(__tstate);
28731 if (PyErr_Occurred()) SWIG_fail;
28732 }
28733 resultobj = SWIG_Py_Void();
28734 return resultobj;
28735 fail:
28736 return NULL;
28737 }
28738
28739
28740 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28741 PyObject *resultobj = 0;
28742 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28743 int arg2 ;
28744 void *argp1 = 0 ;
28745 int res1 = 0 ;
28746 int val2 ;
28747 int ecode2 = 0 ;
28748 PyObject * obj0 = 0 ;
28749 PyObject * obj1 = 0 ;
28750 char * kwnames[] = {
28751 (char *) "self",(char *) "v", NULL
28752 };
28753
28754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
28755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28756 if (!SWIG_IsOK(res1)) {
28757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28758 }
28759 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28760 ecode2 = SWIG_AsVal_int(obj1, &val2);
28761 if (!SWIG_IsOK(ecode2)) {
28762 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
28763 }
28764 arg2 = static_cast< int >(val2);
28765 {
28766 PyThreadState* __tstate = wxPyBeginAllowThreads();
28767 (arg1)->SetToPage(arg2);
28768 wxPyEndAllowThreads(__tstate);
28769 if (PyErr_Occurred()) SWIG_fail;
28770 }
28771 resultobj = SWIG_Py_Void();
28772 return resultobj;
28773 fail:
28774 return NULL;
28775 }
28776
28777
28778 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28779 PyObject *resultobj = 0;
28780 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28781 int arg2 ;
28782 void *argp1 = 0 ;
28783 int res1 = 0 ;
28784 int val2 ;
28785 int ecode2 = 0 ;
28786 PyObject * obj0 = 0 ;
28787 PyObject * obj1 = 0 ;
28788 char * kwnames[] = {
28789 (char *) "self",(char *) "v", NULL
28790 };
28791
28792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
28793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28794 if (!SWIG_IsOK(res1)) {
28795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28796 }
28797 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28798 ecode2 = SWIG_AsVal_int(obj1, &val2);
28799 if (!SWIG_IsOK(ecode2)) {
28800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
28801 }
28802 arg2 = static_cast< int >(val2);
28803 {
28804 PyThreadState* __tstate = wxPyBeginAllowThreads();
28805 (arg1)->SetMinPage(arg2);
28806 wxPyEndAllowThreads(__tstate);
28807 if (PyErr_Occurred()) SWIG_fail;
28808 }
28809 resultobj = SWIG_Py_Void();
28810 return resultobj;
28811 fail:
28812 return NULL;
28813 }
28814
28815
28816 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28817 PyObject *resultobj = 0;
28818 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28819 int arg2 ;
28820 void *argp1 = 0 ;
28821 int res1 = 0 ;
28822 int val2 ;
28823 int ecode2 = 0 ;
28824 PyObject * obj0 = 0 ;
28825 PyObject * obj1 = 0 ;
28826 char * kwnames[] = {
28827 (char *) "self",(char *) "v", NULL
28828 };
28829
28830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
28831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28832 if (!SWIG_IsOK(res1)) {
28833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28834 }
28835 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28836 ecode2 = SWIG_AsVal_int(obj1, &val2);
28837 if (!SWIG_IsOK(ecode2)) {
28838 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
28839 }
28840 arg2 = static_cast< int >(val2);
28841 {
28842 PyThreadState* __tstate = wxPyBeginAllowThreads();
28843 (arg1)->SetMaxPage(arg2);
28844 wxPyEndAllowThreads(__tstate);
28845 if (PyErr_Occurred()) SWIG_fail;
28846 }
28847 resultobj = SWIG_Py_Void();
28848 return resultobj;
28849 fail:
28850 return NULL;
28851 }
28852
28853
28854 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28855 PyObject *resultobj = 0;
28856 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28857 int arg2 ;
28858 void *argp1 = 0 ;
28859 int res1 = 0 ;
28860 int val2 ;
28861 int ecode2 = 0 ;
28862 PyObject * obj0 = 0 ;
28863 PyObject * obj1 = 0 ;
28864 char * kwnames[] = {
28865 (char *) "self",(char *) "v", NULL
28866 };
28867
28868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
28869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28870 if (!SWIG_IsOK(res1)) {
28871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28872 }
28873 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28874 ecode2 = SWIG_AsVal_int(obj1, &val2);
28875 if (!SWIG_IsOK(ecode2)) {
28876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
28877 }
28878 arg2 = static_cast< int >(val2);
28879 {
28880 PyThreadState* __tstate = wxPyBeginAllowThreads();
28881 (arg1)->SetNoCopies(arg2);
28882 wxPyEndAllowThreads(__tstate);
28883 if (PyErr_Occurred()) SWIG_fail;
28884 }
28885 resultobj = SWIG_Py_Void();
28886 return resultobj;
28887 fail:
28888 return NULL;
28889 }
28890
28891
28892 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28893 PyObject *resultobj = 0;
28894 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28895 bool arg2 ;
28896 void *argp1 = 0 ;
28897 int res1 = 0 ;
28898 bool val2 ;
28899 int ecode2 = 0 ;
28900 PyObject * obj0 = 0 ;
28901 PyObject * obj1 = 0 ;
28902 char * kwnames[] = {
28903 (char *) "self",(char *) "flag", NULL
28904 };
28905
28906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
28907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28908 if (!SWIG_IsOK(res1)) {
28909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28910 }
28911 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28912 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28913 if (!SWIG_IsOK(ecode2)) {
28914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
28915 }
28916 arg2 = static_cast< bool >(val2);
28917 {
28918 PyThreadState* __tstate = wxPyBeginAllowThreads();
28919 (arg1)->SetAllPages(arg2);
28920 wxPyEndAllowThreads(__tstate);
28921 if (PyErr_Occurred()) SWIG_fail;
28922 }
28923 resultobj = SWIG_Py_Void();
28924 return resultobj;
28925 fail:
28926 return NULL;
28927 }
28928
28929
28930 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28931 PyObject *resultobj = 0;
28932 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28933 bool arg2 ;
28934 void *argp1 = 0 ;
28935 int res1 = 0 ;
28936 bool val2 ;
28937 int ecode2 = 0 ;
28938 PyObject * obj0 = 0 ;
28939 PyObject * obj1 = 0 ;
28940 char * kwnames[] = {
28941 (char *) "self",(char *) "flag", NULL
28942 };
28943
28944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
28945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28946 if (!SWIG_IsOK(res1)) {
28947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28948 }
28949 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28950 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28951 if (!SWIG_IsOK(ecode2)) {
28952 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
28953 }
28954 arg2 = static_cast< bool >(val2);
28955 {
28956 PyThreadState* __tstate = wxPyBeginAllowThreads();
28957 (arg1)->SetSelection(arg2);
28958 wxPyEndAllowThreads(__tstate);
28959 if (PyErr_Occurred()) SWIG_fail;
28960 }
28961 resultobj = SWIG_Py_Void();
28962 return resultobj;
28963 fail:
28964 return NULL;
28965 }
28966
28967
28968 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28969 PyObject *resultobj = 0;
28970 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28971 bool arg2 ;
28972 void *argp1 = 0 ;
28973 int res1 = 0 ;
28974 bool val2 ;
28975 int ecode2 = 0 ;
28976 PyObject * obj0 = 0 ;
28977 PyObject * obj1 = 0 ;
28978 char * kwnames[] = {
28979 (char *) "self",(char *) "flag", NULL
28980 };
28981
28982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
28983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28984 if (!SWIG_IsOK(res1)) {
28985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28986 }
28987 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28988 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28989 if (!SWIG_IsOK(ecode2)) {
28990 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
28991 }
28992 arg2 = static_cast< bool >(val2);
28993 {
28994 PyThreadState* __tstate = wxPyBeginAllowThreads();
28995 (arg1)->SetCollate(arg2);
28996 wxPyEndAllowThreads(__tstate);
28997 if (PyErr_Occurred()) SWIG_fail;
28998 }
28999 resultobj = SWIG_Py_Void();
29000 return resultobj;
29001 fail:
29002 return NULL;
29003 }
29004
29005
29006 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29007 PyObject *resultobj = 0;
29008 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29009 bool arg2 ;
29010 void *argp1 = 0 ;
29011 int res1 = 0 ;
29012 bool val2 ;
29013 int ecode2 = 0 ;
29014 PyObject * obj0 = 0 ;
29015 PyObject * obj1 = 0 ;
29016 char * kwnames[] = {
29017 (char *) "self",(char *) "flag", NULL
29018 };
29019
29020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
29021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29022 if (!SWIG_IsOK(res1)) {
29023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29024 }
29025 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29026 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29027 if (!SWIG_IsOK(ecode2)) {
29028 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
29029 }
29030 arg2 = static_cast< bool >(val2);
29031 {
29032 PyThreadState* __tstate = wxPyBeginAllowThreads();
29033 (arg1)->SetPrintToFile(arg2);
29034 wxPyEndAllowThreads(__tstate);
29035 if (PyErr_Occurred()) SWIG_fail;
29036 }
29037 resultobj = SWIG_Py_Void();
29038 return resultobj;
29039 fail:
29040 return NULL;
29041 }
29042
29043
29044 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29045 PyObject *resultobj = 0;
29046 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29047 bool arg2 ;
29048 void *argp1 = 0 ;
29049 int res1 = 0 ;
29050 bool val2 ;
29051 int ecode2 = 0 ;
29052 PyObject * obj0 = 0 ;
29053 PyObject * obj1 = 0 ;
29054 char * kwnames[] = {
29055 (char *) "self",(char *) "flag", NULL
29056 };
29057
29058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
29059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29060 if (!SWIG_IsOK(res1)) {
29061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29062 }
29063 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29064 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29065 if (!SWIG_IsOK(ecode2)) {
29066 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
29067 }
29068 arg2 = static_cast< bool >(val2);
29069 {
29070 PyThreadState* __tstate = wxPyBeginAllowThreads();
29071 (arg1)->EnablePrintToFile(arg2);
29072 wxPyEndAllowThreads(__tstate);
29073 if (PyErr_Occurred()) SWIG_fail;
29074 }
29075 resultobj = SWIG_Py_Void();
29076 return resultobj;
29077 fail:
29078 return NULL;
29079 }
29080
29081
29082 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29083 PyObject *resultobj = 0;
29084 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29085 bool arg2 ;
29086 void *argp1 = 0 ;
29087 int res1 = 0 ;
29088 bool val2 ;
29089 int ecode2 = 0 ;
29090 PyObject * obj0 = 0 ;
29091 PyObject * obj1 = 0 ;
29092 char * kwnames[] = {
29093 (char *) "self",(char *) "flag", NULL
29094 };
29095
29096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
29097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29098 if (!SWIG_IsOK(res1)) {
29099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29100 }
29101 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29102 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29103 if (!SWIG_IsOK(ecode2)) {
29104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
29105 }
29106 arg2 = static_cast< bool >(val2);
29107 {
29108 PyThreadState* __tstate = wxPyBeginAllowThreads();
29109 (arg1)->EnableSelection(arg2);
29110 wxPyEndAllowThreads(__tstate);
29111 if (PyErr_Occurred()) SWIG_fail;
29112 }
29113 resultobj = SWIG_Py_Void();
29114 return resultobj;
29115 fail:
29116 return NULL;
29117 }
29118
29119
29120 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29121 PyObject *resultobj = 0;
29122 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29123 bool arg2 ;
29124 void *argp1 = 0 ;
29125 int res1 = 0 ;
29126 bool val2 ;
29127 int ecode2 = 0 ;
29128 PyObject * obj0 = 0 ;
29129 PyObject * obj1 = 0 ;
29130 char * kwnames[] = {
29131 (char *) "self",(char *) "flag", NULL
29132 };
29133
29134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
29135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29136 if (!SWIG_IsOK(res1)) {
29137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29138 }
29139 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29140 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29141 if (!SWIG_IsOK(ecode2)) {
29142 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
29143 }
29144 arg2 = static_cast< bool >(val2);
29145 {
29146 PyThreadState* __tstate = wxPyBeginAllowThreads();
29147 (arg1)->EnablePageNumbers(arg2);
29148 wxPyEndAllowThreads(__tstate);
29149 if (PyErr_Occurred()) SWIG_fail;
29150 }
29151 resultobj = SWIG_Py_Void();
29152 return resultobj;
29153 fail:
29154 return NULL;
29155 }
29156
29157
29158 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29159 PyObject *resultobj = 0;
29160 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29161 bool arg2 ;
29162 void *argp1 = 0 ;
29163 int res1 = 0 ;
29164 bool val2 ;
29165 int ecode2 = 0 ;
29166 PyObject * obj0 = 0 ;
29167 PyObject * obj1 = 0 ;
29168 char * kwnames[] = {
29169 (char *) "self",(char *) "flag", NULL
29170 };
29171
29172 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
29173 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29174 if (!SWIG_IsOK(res1)) {
29175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29176 }
29177 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29178 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29179 if (!SWIG_IsOK(ecode2)) {
29180 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
29181 }
29182 arg2 = static_cast< bool >(val2);
29183 {
29184 PyThreadState* __tstate = wxPyBeginAllowThreads();
29185 (arg1)->EnableHelp(arg2);
29186 wxPyEndAllowThreads(__tstate);
29187 if (PyErr_Occurred()) SWIG_fail;
29188 }
29189 resultobj = SWIG_Py_Void();
29190 return resultobj;
29191 fail:
29192 return NULL;
29193 }
29194
29195
29196 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29197 PyObject *resultobj = 0;
29198 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29199 bool result;
29200 void *argp1 = 0 ;
29201 int res1 = 0 ;
29202 PyObject *swig_obj[1] ;
29203
29204 if (!args) SWIG_fail;
29205 swig_obj[0] = args;
29206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29207 if (!SWIG_IsOK(res1)) {
29208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29209 }
29210 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29211 {
29212 PyThreadState* __tstate = wxPyBeginAllowThreads();
29213 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
29214 wxPyEndAllowThreads(__tstate);
29215 if (PyErr_Occurred()) SWIG_fail;
29216 }
29217 {
29218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29219 }
29220 return resultobj;
29221 fail:
29222 return NULL;
29223 }
29224
29225
29226 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29227 PyObject *resultobj = 0;
29228 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29229 bool result;
29230 void *argp1 = 0 ;
29231 int res1 = 0 ;
29232 PyObject *swig_obj[1] ;
29233
29234 if (!args) SWIG_fail;
29235 swig_obj[0] = args;
29236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29237 if (!SWIG_IsOK(res1)) {
29238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29239 }
29240 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29241 {
29242 PyThreadState* __tstate = wxPyBeginAllowThreads();
29243 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
29244 wxPyEndAllowThreads(__tstate);
29245 if (PyErr_Occurred()) SWIG_fail;
29246 }
29247 {
29248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29249 }
29250 return resultobj;
29251 fail:
29252 return NULL;
29253 }
29254
29255
29256 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29257 PyObject *resultobj = 0;
29258 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29259 bool result;
29260 void *argp1 = 0 ;
29261 int res1 = 0 ;
29262 PyObject *swig_obj[1] ;
29263
29264 if (!args) SWIG_fail;
29265 swig_obj[0] = args;
29266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29267 if (!SWIG_IsOK(res1)) {
29268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29269 }
29270 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29271 {
29272 PyThreadState* __tstate = wxPyBeginAllowThreads();
29273 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
29274 wxPyEndAllowThreads(__tstate);
29275 if (PyErr_Occurred()) SWIG_fail;
29276 }
29277 {
29278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29279 }
29280 return resultobj;
29281 fail:
29282 return NULL;
29283 }
29284
29285
29286 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29287 PyObject *resultobj = 0;
29288 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29289 bool result;
29290 void *argp1 = 0 ;
29291 int res1 = 0 ;
29292 PyObject *swig_obj[1] ;
29293
29294 if (!args) SWIG_fail;
29295 swig_obj[0] = args;
29296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29297 if (!SWIG_IsOK(res1)) {
29298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29299 }
29300 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29301 {
29302 PyThreadState* __tstate = wxPyBeginAllowThreads();
29303 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
29304 wxPyEndAllowThreads(__tstate);
29305 if (PyErr_Occurred()) SWIG_fail;
29306 }
29307 {
29308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29309 }
29310 return resultobj;
29311 fail:
29312 return NULL;
29313 }
29314
29315
29316 SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29317 PyObject *resultobj = 0;
29318 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29319 bool result;
29320 void *argp1 = 0 ;
29321 int res1 = 0 ;
29322 PyObject *swig_obj[1] ;
29323
29324 if (!args) SWIG_fail;
29325 swig_obj[0] = args;
29326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29327 if (!SWIG_IsOK(res1)) {
29328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29329 }
29330 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29331 {
29332 PyThreadState* __tstate = wxPyBeginAllowThreads();
29333 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
29334 wxPyEndAllowThreads(__tstate);
29335 if (PyErr_Occurred()) SWIG_fail;
29336 }
29337 {
29338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29339 }
29340 return resultobj;
29341 fail:
29342 return NULL;
29343 }
29344
29345
29346 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29347 PyObject *resultobj = 0;
29348 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29349 wxPrintData *result = 0 ;
29350 void *argp1 = 0 ;
29351 int res1 = 0 ;
29352 PyObject *swig_obj[1] ;
29353
29354 if (!args) SWIG_fail;
29355 swig_obj[0] = args;
29356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29357 if (!SWIG_IsOK(res1)) {
29358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29359 }
29360 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29361 {
29362 PyThreadState* __tstate = wxPyBeginAllowThreads();
29363 {
29364 wxPrintData &_result_ref = (arg1)->GetPrintData();
29365 result = (wxPrintData *) &_result_ref;
29366 }
29367 wxPyEndAllowThreads(__tstate);
29368 if (PyErr_Occurred()) SWIG_fail;
29369 }
29370 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
29371 return resultobj;
29372 fail:
29373 return NULL;
29374 }
29375
29376
29377 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29378 PyObject *resultobj = 0;
29379 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29380 wxPrintData *arg2 = 0 ;
29381 void *argp1 = 0 ;
29382 int res1 = 0 ;
29383 void *argp2 = 0 ;
29384 int res2 = 0 ;
29385 PyObject * obj0 = 0 ;
29386 PyObject * obj1 = 0 ;
29387 char * kwnames[] = {
29388 (char *) "self",(char *) "printData", NULL
29389 };
29390
29391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
29392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29393 if (!SWIG_IsOK(res1)) {
29394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29395 }
29396 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29397 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
29398 if (!SWIG_IsOK(res2)) {
29399 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
29400 }
29401 if (!argp2) {
29402 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
29403 }
29404 arg2 = reinterpret_cast< wxPrintData * >(argp2);
29405 {
29406 PyThreadState* __tstate = wxPyBeginAllowThreads();
29407 (arg1)->SetPrintData((wxPrintData const &)*arg2);
29408 wxPyEndAllowThreads(__tstate);
29409 if (PyErr_Occurred()) SWIG_fail;
29410 }
29411 resultobj = SWIG_Py_Void();
29412 return resultobj;
29413 fail:
29414 return NULL;
29415 }
29416
29417
29418 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29419 PyObject *obj;
29420 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29421 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
29422 return SWIG_Py_Void();
29423 }
29424
29425 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29426 return SWIG_Python_InitShadowInstance(args);
29427 }
29428
29429 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29430 PyObject *resultobj = 0;
29431 wxWindow *arg1 = (wxWindow *) 0 ;
29432 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
29433 wxPrintDialog *result = 0 ;
29434 void *argp1 = 0 ;
29435 int res1 = 0 ;
29436 void *argp2 = 0 ;
29437 int res2 = 0 ;
29438 PyObject * obj0 = 0 ;
29439 PyObject * obj1 = 0 ;
29440 char * kwnames[] = {
29441 (char *) "parent",(char *) "data", NULL
29442 };
29443
29444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
29445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
29446 if (!SWIG_IsOK(res1)) {
29447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
29448 }
29449 arg1 = reinterpret_cast< wxWindow * >(argp1);
29450 if (obj1) {
29451 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29452 if (!SWIG_IsOK(res2)) {
29453 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
29454 }
29455 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
29456 }
29457 {
29458 if (!wxPyCheckForApp()) SWIG_fail;
29459 PyThreadState* __tstate = wxPyBeginAllowThreads();
29460 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
29461 wxPyEndAllowThreads(__tstate);
29462 if (PyErr_Occurred()) SWIG_fail;
29463 }
29464 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
29465 return resultobj;
29466 fail:
29467 return NULL;
29468 }
29469
29470
29471 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29472 PyObject *resultobj = 0;
29473 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29474 void *argp1 = 0 ;
29475 int res1 = 0 ;
29476 PyObject *swig_obj[1] ;
29477
29478 if (!args) SWIG_fail;
29479 swig_obj[0] = args;
29480 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
29481 if (!SWIG_IsOK(res1)) {
29482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29483 }
29484 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29485 {
29486 PyThreadState* __tstate = wxPyBeginAllowThreads();
29487 delete arg1;
29488
29489 wxPyEndAllowThreads(__tstate);
29490 if (PyErr_Occurred()) SWIG_fail;
29491 }
29492 resultobj = SWIG_Py_Void();
29493 return resultobj;
29494 fail:
29495 return NULL;
29496 }
29497
29498
29499 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29500 PyObject *resultobj = 0;
29501 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29502 int result;
29503 void *argp1 = 0 ;
29504 int res1 = 0 ;
29505 PyObject *swig_obj[1] ;
29506
29507 if (!args) SWIG_fail;
29508 swig_obj[0] = args;
29509 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29510 if (!SWIG_IsOK(res1)) {
29511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29512 }
29513 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29514 {
29515 PyThreadState* __tstate = wxPyBeginAllowThreads();
29516 result = (int)(arg1)->ShowModal();
29517 wxPyEndAllowThreads(__tstate);
29518 if (PyErr_Occurred()) SWIG_fail;
29519 }
29520 resultobj = SWIG_From_int(static_cast< int >(result));
29521 return resultobj;
29522 fail:
29523 return NULL;
29524 }
29525
29526
29527 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29528 PyObject *resultobj = 0;
29529 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29530 wxPrintDialogData *result = 0 ;
29531 void *argp1 = 0 ;
29532 int res1 = 0 ;
29533 PyObject *swig_obj[1] ;
29534
29535 if (!args) SWIG_fail;
29536 swig_obj[0] = args;
29537 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29538 if (!SWIG_IsOK(res1)) {
29539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29540 }
29541 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29542 {
29543 PyThreadState* __tstate = wxPyBeginAllowThreads();
29544 {
29545 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29546 result = (wxPrintDialogData *) &_result_ref;
29547 }
29548 wxPyEndAllowThreads(__tstate);
29549 if (PyErr_Occurred()) SWIG_fail;
29550 }
29551 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29552 return resultobj;
29553 fail:
29554 return NULL;
29555 }
29556
29557
29558 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29559 PyObject *resultobj = 0;
29560 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29561 wxPrintData *result = 0 ;
29562 void *argp1 = 0 ;
29563 int res1 = 0 ;
29564 PyObject *swig_obj[1] ;
29565
29566 if (!args) SWIG_fail;
29567 swig_obj[0] = args;
29568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29569 if (!SWIG_IsOK(res1)) {
29570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29571 }
29572 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29573 {
29574 PyThreadState* __tstate = wxPyBeginAllowThreads();
29575 {
29576 wxPrintData &_result_ref = (arg1)->GetPrintData();
29577 result = (wxPrintData *) &_result_ref;
29578 }
29579 wxPyEndAllowThreads(__tstate);
29580 if (PyErr_Occurred()) SWIG_fail;
29581 }
29582 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
29583 return resultobj;
29584 fail:
29585 return NULL;
29586 }
29587
29588
29589 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29590 PyObject *resultobj = 0;
29591 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29592 wxDC *result = 0 ;
29593 void *argp1 = 0 ;
29594 int res1 = 0 ;
29595 PyObject *swig_obj[1] ;
29596
29597 if (!args) SWIG_fail;
29598 swig_obj[0] = args;
29599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29600 if (!SWIG_IsOK(res1)) {
29601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29602 }
29603 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29604 {
29605 PyThreadState* __tstate = wxPyBeginAllowThreads();
29606 result = (wxDC *)(arg1)->GetPrintDC();
29607 wxPyEndAllowThreads(__tstate);
29608 if (PyErr_Occurred()) SWIG_fail;
29609 }
29610 {
29611 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
29612 }
29613 return resultobj;
29614 fail:
29615 return NULL;
29616 }
29617
29618
29619 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29620 PyObject *obj;
29621 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29622 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
29623 return SWIG_Py_Void();
29624 }
29625
29626 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29627 return SWIG_Python_InitShadowInstance(args);
29628 }
29629
29630 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29631 PyObject *resultobj = 0;
29632 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
29633 wxPrinter *result = 0 ;
29634 void *argp1 = 0 ;
29635 int res1 = 0 ;
29636 PyObject * obj0 = 0 ;
29637 char * kwnames[] = {
29638 (char *) "data", NULL
29639 };
29640
29641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
29642 if (obj0) {
29643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29644 if (!SWIG_IsOK(res1)) {
29645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29646 }
29647 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29648 }
29649 {
29650 if (!wxPyCheckForApp()) SWIG_fail;
29651 PyThreadState* __tstate = wxPyBeginAllowThreads();
29652 result = (wxPrinter *)new wxPrinter(arg1);
29653 wxPyEndAllowThreads(__tstate);
29654 if (PyErr_Occurred()) SWIG_fail;
29655 }
29656 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
29657 return resultobj;
29658 fail:
29659 return NULL;
29660 }
29661
29662
29663 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29664 PyObject *resultobj = 0;
29665 wxPrinter *arg1 = (wxPrinter *) 0 ;
29666 void *argp1 = 0 ;
29667 int res1 = 0 ;
29668 PyObject *swig_obj[1] ;
29669
29670 if (!args) SWIG_fail;
29671 swig_obj[0] = args;
29672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
29673 if (!SWIG_IsOK(res1)) {
29674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
29675 }
29676 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29677 {
29678 PyThreadState* __tstate = wxPyBeginAllowThreads();
29679 delete arg1;
29680
29681 wxPyEndAllowThreads(__tstate);
29682 if (PyErr_Occurred()) SWIG_fail;
29683 }
29684 resultobj = SWIG_Py_Void();
29685 return resultobj;
29686 fail:
29687 return NULL;
29688 }
29689
29690
29691 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29692 PyObject *resultobj = 0;
29693 wxPrinter *arg1 = (wxPrinter *) 0 ;
29694 wxWindow *arg2 = (wxWindow *) 0 ;
29695 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
29696 wxWindow *result = 0 ;
29697 void *argp1 = 0 ;
29698 int res1 = 0 ;
29699 void *argp2 = 0 ;
29700 int res2 = 0 ;
29701 void *argp3 = 0 ;
29702 int res3 = 0 ;
29703 PyObject * obj0 = 0 ;
29704 PyObject * obj1 = 0 ;
29705 PyObject * obj2 = 0 ;
29706 char * kwnames[] = {
29707 (char *) "self",(char *) "parent",(char *) "printout", NULL
29708 };
29709
29710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29712 if (!SWIG_IsOK(res1)) {
29713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
29714 }
29715 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29716 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29717 if (!SWIG_IsOK(res2)) {
29718 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
29719 }
29720 arg2 = reinterpret_cast< wxWindow * >(argp2);
29721 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29722 if (!SWIG_IsOK(res3)) {
29723 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29724 }
29725 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
29726 {
29727 PyThreadState* __tstate = wxPyBeginAllowThreads();
29728 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
29729 wxPyEndAllowThreads(__tstate);
29730 if (PyErr_Occurred()) SWIG_fail;
29731 }
29732 {
29733 resultobj = wxPyMake_wxObject(result, 0);
29734 }
29735 return resultobj;
29736 fail:
29737 return NULL;
29738 }
29739
29740
29741 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29742 PyObject *resultobj = 0;
29743 wxPrinter *arg1 = (wxPrinter *) 0 ;
29744 wxWindow *arg2 = (wxWindow *) 0 ;
29745 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
29746 wxString *arg4 = 0 ;
29747 void *argp1 = 0 ;
29748 int res1 = 0 ;
29749 void *argp2 = 0 ;
29750 int res2 = 0 ;
29751 void *argp3 = 0 ;
29752 int res3 = 0 ;
29753 bool temp4 = false ;
29754 PyObject * obj0 = 0 ;
29755 PyObject * obj1 = 0 ;
29756 PyObject * obj2 = 0 ;
29757 PyObject * obj3 = 0 ;
29758 char * kwnames[] = {
29759 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
29760 };
29761
29762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29764 if (!SWIG_IsOK(res1)) {
29765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
29766 }
29767 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29768 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29769 if (!SWIG_IsOK(res2)) {
29770 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
29771 }
29772 arg2 = reinterpret_cast< wxWindow * >(argp2);
29773 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29774 if (!SWIG_IsOK(res3)) {
29775 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29776 }
29777 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
29778 {
29779 arg4 = wxString_in_helper(obj3);
29780 if (arg4 == NULL) SWIG_fail;
29781 temp4 = true;
29782 }
29783 {
29784 PyThreadState* __tstate = wxPyBeginAllowThreads();
29785 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
29786 wxPyEndAllowThreads(__tstate);
29787 if (PyErr_Occurred()) SWIG_fail;
29788 }
29789 resultobj = SWIG_Py_Void();
29790 {
29791 if (temp4)
29792 delete arg4;
29793 }
29794 return resultobj;
29795 fail:
29796 {
29797 if (temp4)
29798 delete arg4;
29799 }
29800 return NULL;
29801 }
29802
29803
29804 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29805 PyObject *resultobj = 0;
29806 wxPrinter *arg1 = (wxPrinter *) 0 ;
29807 wxWindow *arg2 = (wxWindow *) 0 ;
29808 bool result;
29809 void *argp1 = 0 ;
29810 int res1 = 0 ;
29811 void *argp2 = 0 ;
29812 int res2 = 0 ;
29813 PyObject * obj0 = 0 ;
29814 PyObject * obj1 = 0 ;
29815 char * kwnames[] = {
29816 (char *) "self",(char *) "parent", NULL
29817 };
29818
29819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
29820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29821 if (!SWIG_IsOK(res1)) {
29822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
29823 }
29824 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29825 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29826 if (!SWIG_IsOK(res2)) {
29827 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
29828 }
29829 arg2 = reinterpret_cast< wxWindow * >(argp2);
29830 {
29831 PyThreadState* __tstate = wxPyBeginAllowThreads();
29832 result = (bool)(arg1)->Setup(arg2);
29833 wxPyEndAllowThreads(__tstate);
29834 if (PyErr_Occurred()) SWIG_fail;
29835 }
29836 {
29837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29838 }
29839 return resultobj;
29840 fail:
29841 return NULL;
29842 }
29843
29844
29845 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29846 PyObject *resultobj = 0;
29847 wxPrinter *arg1 = (wxPrinter *) 0 ;
29848 wxWindow *arg2 = (wxWindow *) 0 ;
29849 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
29850 bool arg4 = (bool) true ;
29851 bool result;
29852 void *argp1 = 0 ;
29853 int res1 = 0 ;
29854 void *argp2 = 0 ;
29855 int res2 = 0 ;
29856 void *argp3 = 0 ;
29857 int res3 = 0 ;
29858 bool val4 ;
29859 int ecode4 = 0 ;
29860 PyObject * obj0 = 0 ;
29861 PyObject * obj1 = 0 ;
29862 PyObject * obj2 = 0 ;
29863 PyObject * obj3 = 0 ;
29864 char * kwnames[] = {
29865 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
29866 };
29867
29868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29870 if (!SWIG_IsOK(res1)) {
29871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
29872 }
29873 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29874 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29875 if (!SWIG_IsOK(res2)) {
29876 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
29877 }
29878 arg2 = reinterpret_cast< wxWindow * >(argp2);
29879 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29880 if (!SWIG_IsOK(res3)) {
29881 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29882 }
29883 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
29884 if (obj3) {
29885 ecode4 = SWIG_AsVal_bool(obj3, &val4);
29886 if (!SWIG_IsOK(ecode4)) {
29887 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
29888 }
29889 arg4 = static_cast< bool >(val4);
29890 }
29891 {
29892 PyThreadState* __tstate = wxPyBeginAllowThreads();
29893 result = (bool)(arg1)->Print(arg2,arg3,arg4);
29894 wxPyEndAllowThreads(__tstate);
29895 if (PyErr_Occurred()) SWIG_fail;
29896 }
29897 {
29898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29899 }
29900 return resultobj;
29901 fail:
29902 return NULL;
29903 }
29904
29905
29906 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29907 PyObject *resultobj = 0;
29908 wxPrinter *arg1 = (wxPrinter *) 0 ;
29909 wxWindow *arg2 = (wxWindow *) 0 ;
29910 wxDC *result = 0 ;
29911 void *argp1 = 0 ;
29912 int res1 = 0 ;
29913 void *argp2 = 0 ;
29914 int res2 = 0 ;
29915 PyObject * obj0 = 0 ;
29916 PyObject * obj1 = 0 ;
29917 char * kwnames[] = {
29918 (char *) "self",(char *) "parent", NULL
29919 };
29920
29921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
29922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29923 if (!SWIG_IsOK(res1)) {
29924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
29925 }
29926 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29927 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29928 if (!SWIG_IsOK(res2)) {
29929 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
29930 }
29931 arg2 = reinterpret_cast< wxWindow * >(argp2);
29932 {
29933 PyThreadState* __tstate = wxPyBeginAllowThreads();
29934 result = (wxDC *)(arg1)->PrintDialog(arg2);
29935 wxPyEndAllowThreads(__tstate);
29936 if (PyErr_Occurred()) SWIG_fail;
29937 }
29938 {
29939 resultobj = wxPyMake_wxObject(result, (bool)0);
29940 }
29941 return resultobj;
29942 fail:
29943 return NULL;
29944 }
29945
29946
29947 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29948 PyObject *resultobj = 0;
29949 wxPrinter *arg1 = (wxPrinter *) 0 ;
29950 wxPrintDialogData *result = 0 ;
29951 void *argp1 = 0 ;
29952 int res1 = 0 ;
29953 PyObject *swig_obj[1] ;
29954
29955 if (!args) SWIG_fail;
29956 swig_obj[0] = args;
29957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29958 if (!SWIG_IsOK(res1)) {
29959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
29960 }
29961 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29962 {
29963 PyThreadState* __tstate = wxPyBeginAllowThreads();
29964 {
29965 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
29966 result = (wxPrintDialogData *) &_result_ref;
29967 }
29968 wxPyEndAllowThreads(__tstate);
29969 if (PyErr_Occurred()) SWIG_fail;
29970 }
29971 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29972 return resultobj;
29973 fail:
29974 return NULL;
29975 }
29976
29977
29978 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29979 PyObject *resultobj = 0;
29980 wxPrinter *arg1 = (wxPrinter *) 0 ;
29981 bool result;
29982 void *argp1 = 0 ;
29983 int res1 = 0 ;
29984 PyObject *swig_obj[1] ;
29985
29986 if (!args) SWIG_fail;
29987 swig_obj[0] = args;
29988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29989 if (!SWIG_IsOK(res1)) {
29990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
29991 }
29992 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29993 {
29994 PyThreadState* __tstate = wxPyBeginAllowThreads();
29995 result = (bool)(arg1)->GetAbort();
29996 wxPyEndAllowThreads(__tstate);
29997 if (PyErr_Occurred()) SWIG_fail;
29998 }
29999 {
30000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30001 }
30002 return resultobj;
30003 fail:
30004 return NULL;
30005 }
30006
30007
30008 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30009 PyObject *resultobj = 0;
30010 wxPrinterError result;
30011
30012 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
30013 {
30014 PyThreadState* __tstate = wxPyBeginAllowThreads();
30015 result = (wxPrinterError)wxPrinter::GetLastError();
30016 wxPyEndAllowThreads(__tstate);
30017 if (PyErr_Occurred()) SWIG_fail;
30018 }
30019 resultobj = SWIG_From_int(static_cast< int >(result));
30020 return resultobj;
30021 fail:
30022 return NULL;
30023 }
30024
30025
30026 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30027 PyObject *obj;
30028 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30029 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
30030 return SWIG_Py_Void();
30031 }
30032
30033 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30034 return SWIG_Python_InitShadowInstance(args);
30035 }
30036
30037 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30038 PyObject *resultobj = 0;
30039 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
30040 wxString *arg1 = (wxString *) &arg1_defvalue ;
30041 wxPyPrintout *result = 0 ;
30042 bool temp1 = false ;
30043 PyObject * obj0 = 0 ;
30044 char * kwnames[] = {
30045 (char *) "title", NULL
30046 };
30047
30048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
30049 if (obj0) {
30050 {
30051 arg1 = wxString_in_helper(obj0);
30052 if (arg1 == NULL) SWIG_fail;
30053 temp1 = true;
30054 }
30055 }
30056 {
30057 if (!wxPyCheckForApp()) SWIG_fail;
30058 PyThreadState* __tstate = wxPyBeginAllowThreads();
30059 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
30060 wxPyEndAllowThreads(__tstate);
30061 if (PyErr_Occurred()) SWIG_fail;
30062 }
30063 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
30064 {
30065 if (temp1)
30066 delete arg1;
30067 }
30068 return resultobj;
30069 fail:
30070 {
30071 if (temp1)
30072 delete arg1;
30073 }
30074 return NULL;
30075 }
30076
30077
30078 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30079 PyObject *resultobj = 0;
30080 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30081 void *argp1 = 0 ;
30082 int res1 = 0 ;
30083 PyObject *swig_obj[1] ;
30084
30085 if (!args) SWIG_fail;
30086 swig_obj[0] = args;
30087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30088 if (!SWIG_IsOK(res1)) {
30089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30090 }
30091 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30092 {
30093 PyThreadState* __tstate = wxPyBeginAllowThreads();
30094 delete arg1;
30095
30096 wxPyEndAllowThreads(__tstate);
30097 if (PyErr_Occurred()) SWIG_fail;
30098 }
30099 resultobj = SWIG_Py_Void();
30100 return resultobj;
30101 fail:
30102 return NULL;
30103 }
30104
30105
30106 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30107 PyObject *resultobj = 0;
30108 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30109 PyObject *arg2 = (PyObject *) 0 ;
30110 PyObject *arg3 = (PyObject *) 0 ;
30111 void *argp1 = 0 ;
30112 int res1 = 0 ;
30113 PyObject * obj0 = 0 ;
30114 PyObject * obj1 = 0 ;
30115 PyObject * obj2 = 0 ;
30116 char * kwnames[] = {
30117 (char *) "self",(char *) "self",(char *) "_class", NULL
30118 };
30119
30120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30122 if (!SWIG_IsOK(res1)) {
30123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30124 }
30125 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30126 arg2 = obj1;
30127 arg3 = obj2;
30128 {
30129 PyThreadState* __tstate = wxPyBeginAllowThreads();
30130 (arg1)->_setCallbackInfo(arg2,arg3);
30131 wxPyEndAllowThreads(__tstate);
30132 if (PyErr_Occurred()) SWIG_fail;
30133 }
30134 resultobj = SWIG_Py_Void();
30135 return resultobj;
30136 fail:
30137 return NULL;
30138 }
30139
30140
30141 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30142 PyObject *resultobj = 0;
30143 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30144 wxString result;
30145 void *argp1 = 0 ;
30146 int res1 = 0 ;
30147 PyObject *swig_obj[1] ;
30148
30149 if (!args) SWIG_fail;
30150 swig_obj[0] = args;
30151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30152 if (!SWIG_IsOK(res1)) {
30153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30154 }
30155 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30156 {
30157 PyThreadState* __tstate = wxPyBeginAllowThreads();
30158 result = ((wxPyPrintout const *)arg1)->GetTitle();
30159 wxPyEndAllowThreads(__tstate);
30160 if (PyErr_Occurred()) SWIG_fail;
30161 }
30162 {
30163 #if wxUSE_UNICODE
30164 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30165 #else
30166 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30167 #endif
30168 }
30169 return resultobj;
30170 fail:
30171 return NULL;
30172 }
30173
30174
30175 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30176 PyObject *resultobj = 0;
30177 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30178 wxDC *result = 0 ;
30179 void *argp1 = 0 ;
30180 int res1 = 0 ;
30181 PyObject *swig_obj[1] ;
30182
30183 if (!args) SWIG_fail;
30184 swig_obj[0] = args;
30185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30186 if (!SWIG_IsOK(res1)) {
30187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30188 }
30189 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30190 {
30191 PyThreadState* __tstate = wxPyBeginAllowThreads();
30192 result = (wxDC *)(arg1)->GetDC();
30193 wxPyEndAllowThreads(__tstate);
30194 if (PyErr_Occurred()) SWIG_fail;
30195 }
30196 {
30197 resultobj = wxPyMake_wxObject(result, (bool)0);
30198 }
30199 return resultobj;
30200 fail:
30201 return NULL;
30202 }
30203
30204
30205 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30206 PyObject *resultobj = 0;
30207 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30208 wxDC *arg2 = (wxDC *) 0 ;
30209 void *argp1 = 0 ;
30210 int res1 = 0 ;
30211 void *argp2 = 0 ;
30212 int res2 = 0 ;
30213 PyObject * obj0 = 0 ;
30214 PyObject * obj1 = 0 ;
30215 char * kwnames[] = {
30216 (char *) "self",(char *) "dc", NULL
30217 };
30218
30219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
30220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30221 if (!SWIG_IsOK(res1)) {
30222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30223 }
30224 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30225 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
30226 if (!SWIG_IsOK(res2)) {
30227 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
30228 }
30229 arg2 = reinterpret_cast< wxDC * >(argp2);
30230 {
30231 PyThreadState* __tstate = wxPyBeginAllowThreads();
30232 (arg1)->SetDC(arg2);
30233 wxPyEndAllowThreads(__tstate);
30234 if (PyErr_Occurred()) SWIG_fail;
30235 }
30236 resultobj = SWIG_Py_Void();
30237 return resultobj;
30238 fail:
30239 return NULL;
30240 }
30241
30242
30243 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30244 PyObject *resultobj = 0;
30245 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30246 wxSize *arg2 = 0 ;
30247 void *argp1 = 0 ;
30248 int res1 = 0 ;
30249 wxSize temp2 ;
30250 PyObject * obj0 = 0 ;
30251 PyObject * obj1 = 0 ;
30252 char * kwnames[] = {
30253 (char *) "self",(char *) "imageSize", NULL
30254 };
30255
30256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
30257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30258 if (!SWIG_IsOK(res1)) {
30259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30260 }
30261 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30262 {
30263 arg2 = &temp2;
30264 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30265 }
30266 {
30267 PyThreadState* __tstate = wxPyBeginAllowThreads();
30268 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
30269 wxPyEndAllowThreads(__tstate);
30270 if (PyErr_Occurred()) SWIG_fail;
30271 }
30272 resultobj = SWIG_Py_Void();
30273 return resultobj;
30274 fail:
30275 return NULL;
30276 }
30277
30278
30279 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30280 PyObject *resultobj = 0;
30281 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30282 wxSize *arg2 = 0 ;
30283 void *argp1 = 0 ;
30284 int res1 = 0 ;
30285 wxSize temp2 ;
30286 PyObject * obj0 = 0 ;
30287 PyObject * obj1 = 0 ;
30288 char * kwnames[] = {
30289 (char *) "self",(char *) "imageSize", NULL
30290 };
30291
30292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
30293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30294 if (!SWIG_IsOK(res1)) {
30295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30296 }
30297 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30298 {
30299 arg2 = &temp2;
30300 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30301 }
30302 {
30303 PyThreadState* __tstate = wxPyBeginAllowThreads();
30304 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
30305 wxPyEndAllowThreads(__tstate);
30306 if (PyErr_Occurred()) SWIG_fail;
30307 }
30308 resultobj = SWIG_Py_Void();
30309 return resultobj;
30310 fail:
30311 return NULL;
30312 }
30313
30314
30315 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30316 PyObject *resultobj = 0;
30317 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30318 wxSize *arg2 = 0 ;
30319 wxPageSetupDialogData *arg3 = 0 ;
30320 void *argp1 = 0 ;
30321 int res1 = 0 ;
30322 wxSize temp2 ;
30323 void *argp3 = 0 ;
30324 int res3 = 0 ;
30325 PyObject * obj0 = 0 ;
30326 PyObject * obj1 = 0 ;
30327 PyObject * obj2 = 0 ;
30328 char * kwnames[] = {
30329 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
30330 };
30331
30332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30334 if (!SWIG_IsOK(res1)) {
30335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30336 }
30337 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30338 {
30339 arg2 = &temp2;
30340 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30341 }
30342 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
30343 if (!SWIG_IsOK(res3)) {
30344 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
30345 }
30346 if (!argp3) {
30347 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
30348 }
30349 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
30350 {
30351 PyThreadState* __tstate = wxPyBeginAllowThreads();
30352 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
30353 wxPyEndAllowThreads(__tstate);
30354 if (PyErr_Occurred()) SWIG_fail;
30355 }
30356 resultobj = SWIG_Py_Void();
30357 return resultobj;
30358 fail:
30359 return NULL;
30360 }
30361
30362
30363 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30364 PyObject *resultobj = 0;
30365 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30366 void *argp1 = 0 ;
30367 int res1 = 0 ;
30368 PyObject *swig_obj[1] ;
30369
30370 if (!args) SWIG_fail;
30371 swig_obj[0] = args;
30372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30373 if (!SWIG_IsOK(res1)) {
30374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30375 }
30376 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30377 {
30378 PyThreadState* __tstate = wxPyBeginAllowThreads();
30379 (arg1)->MapScreenSizeToPaper();
30380 wxPyEndAllowThreads(__tstate);
30381 if (PyErr_Occurred()) SWIG_fail;
30382 }
30383 resultobj = SWIG_Py_Void();
30384 return resultobj;
30385 fail:
30386 return NULL;
30387 }
30388
30389
30390 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30391 PyObject *resultobj = 0;
30392 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30393 void *argp1 = 0 ;
30394 int res1 = 0 ;
30395 PyObject *swig_obj[1] ;
30396
30397 if (!args) SWIG_fail;
30398 swig_obj[0] = args;
30399 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30400 if (!SWIG_IsOK(res1)) {
30401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30402 }
30403 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30404 {
30405 PyThreadState* __tstate = wxPyBeginAllowThreads();
30406 (arg1)->MapScreenSizeToPage();
30407 wxPyEndAllowThreads(__tstate);
30408 if (PyErr_Occurred()) SWIG_fail;
30409 }
30410 resultobj = SWIG_Py_Void();
30411 return resultobj;
30412 fail:
30413 return NULL;
30414 }
30415
30416
30417 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30418 PyObject *resultobj = 0;
30419 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30420 wxPageSetupDialogData *arg2 = 0 ;
30421 void *argp1 = 0 ;
30422 int res1 = 0 ;
30423 void *argp2 = 0 ;
30424 int res2 = 0 ;
30425 PyObject * obj0 = 0 ;
30426 PyObject * obj1 = 0 ;
30427 char * kwnames[] = {
30428 (char *) "self",(char *) "pageSetupData", NULL
30429 };
30430
30431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
30432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30433 if (!SWIG_IsOK(res1)) {
30434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30435 }
30436 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30437 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
30438 if (!SWIG_IsOK(res2)) {
30439 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30440 }
30441 if (!argp2) {
30442 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30443 }
30444 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
30445 {
30446 PyThreadState* __tstate = wxPyBeginAllowThreads();
30447 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
30448 wxPyEndAllowThreads(__tstate);
30449 if (PyErr_Occurred()) SWIG_fail;
30450 }
30451 resultobj = SWIG_Py_Void();
30452 return resultobj;
30453 fail:
30454 return NULL;
30455 }
30456
30457
30458 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30459 PyObject *resultobj = 0;
30460 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30461 void *argp1 = 0 ;
30462 int res1 = 0 ;
30463 PyObject *swig_obj[1] ;
30464
30465 if (!args) SWIG_fail;
30466 swig_obj[0] = args;
30467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30468 if (!SWIG_IsOK(res1)) {
30469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30470 }
30471 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30472 {
30473 PyThreadState* __tstate = wxPyBeginAllowThreads();
30474 (arg1)->MapScreenSizeToDevice();
30475 wxPyEndAllowThreads(__tstate);
30476 if (PyErr_Occurred()) SWIG_fail;
30477 }
30478 resultobj = SWIG_Py_Void();
30479 return resultobj;
30480 fail:
30481 return NULL;
30482 }
30483
30484
30485 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30486 PyObject *resultobj = 0;
30487 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30488 wxRect result;
30489 void *argp1 = 0 ;
30490 int res1 = 0 ;
30491 PyObject *swig_obj[1] ;
30492
30493 if (!args) SWIG_fail;
30494 swig_obj[0] = args;
30495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30496 if (!SWIG_IsOK(res1)) {
30497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30498 }
30499 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30500 {
30501 PyThreadState* __tstate = wxPyBeginAllowThreads();
30502 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
30503 wxPyEndAllowThreads(__tstate);
30504 if (PyErr_Occurred()) SWIG_fail;
30505 }
30506 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30507 return resultobj;
30508 fail:
30509 return NULL;
30510 }
30511
30512
30513 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30514 PyObject *resultobj = 0;
30515 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30516 wxRect result;
30517 void *argp1 = 0 ;
30518 int res1 = 0 ;
30519 PyObject *swig_obj[1] ;
30520
30521 if (!args) SWIG_fail;
30522 swig_obj[0] = args;
30523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30524 if (!SWIG_IsOK(res1)) {
30525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30526 }
30527 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30528 {
30529 PyThreadState* __tstate = wxPyBeginAllowThreads();
30530 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
30531 wxPyEndAllowThreads(__tstate);
30532 if (PyErr_Occurred()) SWIG_fail;
30533 }
30534 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30535 return resultobj;
30536 fail:
30537 return NULL;
30538 }
30539
30540
30541 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30542 PyObject *resultobj = 0;
30543 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30544 wxPageSetupDialogData *arg2 = 0 ;
30545 wxRect result;
30546 void *argp1 = 0 ;
30547 int res1 = 0 ;
30548 void *argp2 = 0 ;
30549 int res2 = 0 ;
30550 PyObject * obj0 = 0 ;
30551 PyObject * obj1 = 0 ;
30552 char * kwnames[] = {
30553 (char *) "self",(char *) "pageSetupData", NULL
30554 };
30555
30556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
30557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30558 if (!SWIG_IsOK(res1)) {
30559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30560 }
30561 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30562 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
30563 if (!SWIG_IsOK(res2)) {
30564 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30565 }
30566 if (!argp2) {
30567 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30568 }
30569 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
30570 {
30571 PyThreadState* __tstate = wxPyBeginAllowThreads();
30572 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
30573 wxPyEndAllowThreads(__tstate);
30574 if (PyErr_Occurred()) SWIG_fail;
30575 }
30576 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30577 return resultobj;
30578 fail:
30579 return NULL;
30580 }
30581
30582
30583 SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30584 PyObject *resultobj = 0;
30585 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30586 int arg2 ;
30587 int arg3 ;
30588 void *argp1 = 0 ;
30589 int res1 = 0 ;
30590 int val2 ;
30591 int ecode2 = 0 ;
30592 int val3 ;
30593 int ecode3 = 0 ;
30594 PyObject * obj0 = 0 ;
30595 PyObject * obj1 = 0 ;
30596 PyObject * obj2 = 0 ;
30597 char * kwnames[] = {
30598 (char *) "self",(char *) "x",(char *) "y", NULL
30599 };
30600
30601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30603 if (!SWIG_IsOK(res1)) {
30604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30605 }
30606 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30607 ecode2 = SWIG_AsVal_int(obj1, &val2);
30608 if (!SWIG_IsOK(ecode2)) {
30609 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
30610 }
30611 arg2 = static_cast< int >(val2);
30612 ecode3 = SWIG_AsVal_int(obj2, &val3);
30613 if (!SWIG_IsOK(ecode3)) {
30614 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
30615 }
30616 arg3 = static_cast< int >(val3);
30617 {
30618 PyThreadState* __tstate = wxPyBeginAllowThreads();
30619 (arg1)->SetLogicalOrigin(arg2,arg3);
30620 wxPyEndAllowThreads(__tstate);
30621 if (PyErr_Occurred()) SWIG_fail;
30622 }
30623 resultobj = SWIG_Py_Void();
30624 return resultobj;
30625 fail:
30626 return NULL;
30627 }
30628
30629
30630 SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30631 PyObject *resultobj = 0;
30632 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30633 int arg2 ;
30634 int arg3 ;
30635 void *argp1 = 0 ;
30636 int res1 = 0 ;
30637 int val2 ;
30638 int ecode2 = 0 ;
30639 int val3 ;
30640 int ecode3 = 0 ;
30641 PyObject * obj0 = 0 ;
30642 PyObject * obj1 = 0 ;
30643 PyObject * obj2 = 0 ;
30644 char * kwnames[] = {
30645 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
30646 };
30647
30648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30650 if (!SWIG_IsOK(res1)) {
30651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30652 }
30653 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30654 ecode2 = SWIG_AsVal_int(obj1, &val2);
30655 if (!SWIG_IsOK(ecode2)) {
30656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
30657 }
30658 arg2 = static_cast< int >(val2);
30659 ecode3 = SWIG_AsVal_int(obj2, &val3);
30660 if (!SWIG_IsOK(ecode3)) {
30661 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
30662 }
30663 arg3 = static_cast< int >(val3);
30664 {
30665 PyThreadState* __tstate = wxPyBeginAllowThreads();
30666 (arg1)->OffsetLogicalOrigin(arg2,arg3);
30667 wxPyEndAllowThreads(__tstate);
30668 if (PyErr_Occurred()) SWIG_fail;
30669 }
30670 resultobj = SWIG_Py_Void();
30671 return resultobj;
30672 fail:
30673 return NULL;
30674 }
30675
30676
30677 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30678 PyObject *resultobj = 0;
30679 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30680 int arg2 ;
30681 int arg3 ;
30682 void *argp1 = 0 ;
30683 int res1 = 0 ;
30684 int val2 ;
30685 int ecode2 = 0 ;
30686 int val3 ;
30687 int ecode3 = 0 ;
30688 PyObject * obj0 = 0 ;
30689 PyObject * obj1 = 0 ;
30690 PyObject * obj2 = 0 ;
30691 char * kwnames[] = {
30692 (char *) "self",(char *) "w",(char *) "h", NULL
30693 };
30694
30695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30697 if (!SWIG_IsOK(res1)) {
30698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30699 }
30700 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30701 ecode2 = SWIG_AsVal_int(obj1, &val2);
30702 if (!SWIG_IsOK(ecode2)) {
30703 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
30704 }
30705 arg2 = static_cast< int >(val2);
30706 ecode3 = SWIG_AsVal_int(obj2, &val3);
30707 if (!SWIG_IsOK(ecode3)) {
30708 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
30709 }
30710 arg3 = static_cast< int >(val3);
30711 {
30712 PyThreadState* __tstate = wxPyBeginAllowThreads();
30713 (arg1)->SetPageSizePixels(arg2,arg3);
30714 wxPyEndAllowThreads(__tstate);
30715 if (PyErr_Occurred()) SWIG_fail;
30716 }
30717 resultobj = SWIG_Py_Void();
30718 return resultobj;
30719 fail:
30720 return NULL;
30721 }
30722
30723
30724 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30725 PyObject *resultobj = 0;
30726 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30727 int *arg2 = (int *) 0 ;
30728 int *arg3 = (int *) 0 ;
30729 void *argp1 = 0 ;
30730 int res1 = 0 ;
30731 int temp2 ;
30732 int res2 = SWIG_TMPOBJ ;
30733 int temp3 ;
30734 int res3 = SWIG_TMPOBJ ;
30735 PyObject *swig_obj[1] ;
30736
30737 arg2 = &temp2;
30738 arg3 = &temp3;
30739 if (!args) SWIG_fail;
30740 swig_obj[0] = args;
30741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30742 if (!SWIG_IsOK(res1)) {
30743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30744 }
30745 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30746 {
30747 PyThreadState* __tstate = wxPyBeginAllowThreads();
30748 (arg1)->GetPageSizePixels(arg2,arg3);
30749 wxPyEndAllowThreads(__tstate);
30750 if (PyErr_Occurred()) SWIG_fail;
30751 }
30752 resultobj = SWIG_Py_Void();
30753 if (SWIG_IsTmpObj(res2)) {
30754 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
30755 } else {
30756 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30757 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
30758 }
30759 if (SWIG_IsTmpObj(res3)) {
30760 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
30761 } else {
30762 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30763 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
30764 }
30765 return resultobj;
30766 fail:
30767 return NULL;
30768 }
30769
30770
30771 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30772 PyObject *resultobj = 0;
30773 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30774 int arg2 ;
30775 int arg3 ;
30776 void *argp1 = 0 ;
30777 int res1 = 0 ;
30778 int val2 ;
30779 int ecode2 = 0 ;
30780 int val3 ;
30781 int ecode3 = 0 ;
30782 PyObject * obj0 = 0 ;
30783 PyObject * obj1 = 0 ;
30784 PyObject * obj2 = 0 ;
30785 char * kwnames[] = {
30786 (char *) "self",(char *) "w",(char *) "h", NULL
30787 };
30788
30789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30791 if (!SWIG_IsOK(res1)) {
30792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30793 }
30794 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30795 ecode2 = SWIG_AsVal_int(obj1, &val2);
30796 if (!SWIG_IsOK(ecode2)) {
30797 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
30798 }
30799 arg2 = static_cast< int >(val2);
30800 ecode3 = SWIG_AsVal_int(obj2, &val3);
30801 if (!SWIG_IsOK(ecode3)) {
30802 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
30803 }
30804 arg3 = static_cast< int >(val3);
30805 {
30806 PyThreadState* __tstate = wxPyBeginAllowThreads();
30807 (arg1)->SetPageSizeMM(arg2,arg3);
30808 wxPyEndAllowThreads(__tstate);
30809 if (PyErr_Occurred()) SWIG_fail;
30810 }
30811 resultobj = SWIG_Py_Void();
30812 return resultobj;
30813 fail:
30814 return NULL;
30815 }
30816
30817
30818 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30819 PyObject *resultobj = 0;
30820 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30821 int *arg2 = (int *) 0 ;
30822 int *arg3 = (int *) 0 ;
30823 void *argp1 = 0 ;
30824 int res1 = 0 ;
30825 int temp2 ;
30826 int res2 = SWIG_TMPOBJ ;
30827 int temp3 ;
30828 int res3 = SWIG_TMPOBJ ;
30829 PyObject *swig_obj[1] ;
30830
30831 arg2 = &temp2;
30832 arg3 = &temp3;
30833 if (!args) SWIG_fail;
30834 swig_obj[0] = args;
30835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30836 if (!SWIG_IsOK(res1)) {
30837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30838 }
30839 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30840 {
30841 PyThreadState* __tstate = wxPyBeginAllowThreads();
30842 (arg1)->GetPageSizeMM(arg2,arg3);
30843 wxPyEndAllowThreads(__tstate);
30844 if (PyErr_Occurred()) SWIG_fail;
30845 }
30846 resultobj = SWIG_Py_Void();
30847 if (SWIG_IsTmpObj(res2)) {
30848 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
30849 } else {
30850 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30851 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
30852 }
30853 if (SWIG_IsTmpObj(res3)) {
30854 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
30855 } else {
30856 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30857 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
30858 }
30859 return resultobj;
30860 fail:
30861 return NULL;
30862 }
30863
30864
30865 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30866 PyObject *resultobj = 0;
30867 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30868 int arg2 ;
30869 int arg3 ;
30870 void *argp1 = 0 ;
30871 int res1 = 0 ;
30872 int val2 ;
30873 int ecode2 = 0 ;
30874 int val3 ;
30875 int ecode3 = 0 ;
30876 PyObject * obj0 = 0 ;
30877 PyObject * obj1 = 0 ;
30878 PyObject * obj2 = 0 ;
30879 char * kwnames[] = {
30880 (char *) "self",(char *) "x",(char *) "y", NULL
30881 };
30882
30883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30885 if (!SWIG_IsOK(res1)) {
30886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30887 }
30888 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30889 ecode2 = SWIG_AsVal_int(obj1, &val2);
30890 if (!SWIG_IsOK(ecode2)) {
30891 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
30892 }
30893 arg2 = static_cast< int >(val2);
30894 ecode3 = SWIG_AsVal_int(obj2, &val3);
30895 if (!SWIG_IsOK(ecode3)) {
30896 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
30897 }
30898 arg3 = static_cast< int >(val3);
30899 {
30900 PyThreadState* __tstate = wxPyBeginAllowThreads();
30901 (arg1)->SetPPIScreen(arg2,arg3);
30902 wxPyEndAllowThreads(__tstate);
30903 if (PyErr_Occurred()) SWIG_fail;
30904 }
30905 resultobj = SWIG_Py_Void();
30906 return resultobj;
30907 fail:
30908 return NULL;
30909 }
30910
30911
30912 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30913 PyObject *resultobj = 0;
30914 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30915 int *arg2 = (int *) 0 ;
30916 int *arg3 = (int *) 0 ;
30917 void *argp1 = 0 ;
30918 int res1 = 0 ;
30919 int temp2 ;
30920 int res2 = SWIG_TMPOBJ ;
30921 int temp3 ;
30922 int res3 = SWIG_TMPOBJ ;
30923 PyObject *swig_obj[1] ;
30924
30925 arg2 = &temp2;
30926 arg3 = &temp3;
30927 if (!args) SWIG_fail;
30928 swig_obj[0] = args;
30929 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30930 if (!SWIG_IsOK(res1)) {
30931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30932 }
30933 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30934 {
30935 PyThreadState* __tstate = wxPyBeginAllowThreads();
30936 (arg1)->GetPPIScreen(arg2,arg3);
30937 wxPyEndAllowThreads(__tstate);
30938 if (PyErr_Occurred()) SWIG_fail;
30939 }
30940 resultobj = SWIG_Py_Void();
30941 if (SWIG_IsTmpObj(res2)) {
30942 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
30943 } else {
30944 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30945 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
30946 }
30947 if (SWIG_IsTmpObj(res3)) {
30948 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
30949 } else {
30950 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30951 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
30952 }
30953 return resultobj;
30954 fail:
30955 return NULL;
30956 }
30957
30958
30959 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30960 PyObject *resultobj = 0;
30961 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30962 int arg2 ;
30963 int arg3 ;
30964 void *argp1 = 0 ;
30965 int res1 = 0 ;
30966 int val2 ;
30967 int ecode2 = 0 ;
30968 int val3 ;
30969 int ecode3 = 0 ;
30970 PyObject * obj0 = 0 ;
30971 PyObject * obj1 = 0 ;
30972 PyObject * obj2 = 0 ;
30973 char * kwnames[] = {
30974 (char *) "self",(char *) "x",(char *) "y", NULL
30975 };
30976
30977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30979 if (!SWIG_IsOK(res1)) {
30980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30981 }
30982 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30983 ecode2 = SWIG_AsVal_int(obj1, &val2);
30984 if (!SWIG_IsOK(ecode2)) {
30985 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
30986 }
30987 arg2 = static_cast< int >(val2);
30988 ecode3 = SWIG_AsVal_int(obj2, &val3);
30989 if (!SWIG_IsOK(ecode3)) {
30990 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
30991 }
30992 arg3 = static_cast< int >(val3);
30993 {
30994 PyThreadState* __tstate = wxPyBeginAllowThreads();
30995 (arg1)->SetPPIPrinter(arg2,arg3);
30996 wxPyEndAllowThreads(__tstate);
30997 if (PyErr_Occurred()) SWIG_fail;
30998 }
30999 resultobj = SWIG_Py_Void();
31000 return resultobj;
31001 fail:
31002 return NULL;
31003 }
31004
31005
31006 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31007 PyObject *resultobj = 0;
31008 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31009 int *arg2 = (int *) 0 ;
31010 int *arg3 = (int *) 0 ;
31011 void *argp1 = 0 ;
31012 int res1 = 0 ;
31013 int temp2 ;
31014 int res2 = SWIG_TMPOBJ ;
31015 int temp3 ;
31016 int res3 = SWIG_TMPOBJ ;
31017 PyObject *swig_obj[1] ;
31018
31019 arg2 = &temp2;
31020 arg3 = &temp3;
31021 if (!args) SWIG_fail;
31022 swig_obj[0] = args;
31023 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31024 if (!SWIG_IsOK(res1)) {
31025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31026 }
31027 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31028 {
31029 PyThreadState* __tstate = wxPyBeginAllowThreads();
31030 (arg1)->GetPPIPrinter(arg2,arg3);
31031 wxPyEndAllowThreads(__tstate);
31032 if (PyErr_Occurred()) SWIG_fail;
31033 }
31034 resultobj = SWIG_Py_Void();
31035 if (SWIG_IsTmpObj(res2)) {
31036 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
31037 } else {
31038 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31039 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
31040 }
31041 if (SWIG_IsTmpObj(res3)) {
31042 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31043 } else {
31044 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31045 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31046 }
31047 return resultobj;
31048 fail:
31049 return NULL;
31050 }
31051
31052
31053 SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31054 PyObject *resultobj = 0;
31055 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31056 wxRect *arg2 = 0 ;
31057 void *argp1 = 0 ;
31058 int res1 = 0 ;
31059 wxRect temp2 ;
31060 PyObject * obj0 = 0 ;
31061 PyObject * obj1 = 0 ;
31062 char * kwnames[] = {
31063 (char *) "self",(char *) "paperRectPixels", NULL
31064 };
31065
31066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
31067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31068 if (!SWIG_IsOK(res1)) {
31069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31070 }
31071 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31072 {
31073 arg2 = &temp2;
31074 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
31075 }
31076 {
31077 PyThreadState* __tstate = wxPyBeginAllowThreads();
31078 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
31079 wxPyEndAllowThreads(__tstate);
31080 if (PyErr_Occurred()) SWIG_fail;
31081 }
31082 resultobj = SWIG_Py_Void();
31083 return resultobj;
31084 fail:
31085 return NULL;
31086 }
31087
31088
31089 SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31090 PyObject *resultobj = 0;
31091 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31092 wxRect result;
31093 void *argp1 = 0 ;
31094 int res1 = 0 ;
31095 PyObject *swig_obj[1] ;
31096
31097 if (!args) SWIG_fail;
31098 swig_obj[0] = args;
31099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31100 if (!SWIG_IsOK(res1)) {
31101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
31102 }
31103 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31104 {
31105 PyThreadState* __tstate = wxPyBeginAllowThreads();
31106 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
31107 wxPyEndAllowThreads(__tstate);
31108 if (PyErr_Occurred()) SWIG_fail;
31109 }
31110 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
31111 return resultobj;
31112 fail:
31113 return NULL;
31114 }
31115
31116
31117 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31118 PyObject *resultobj = 0;
31119 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31120 bool result;
31121 void *argp1 = 0 ;
31122 int res1 = 0 ;
31123 PyObject *swig_obj[1] ;
31124
31125 if (!args) SWIG_fail;
31126 swig_obj[0] = args;
31127 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31128 if (!SWIG_IsOK(res1)) {
31129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31130 }
31131 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31132 {
31133 PyThreadState* __tstate = wxPyBeginAllowThreads();
31134 result = (bool)(arg1)->IsPreview();
31135 wxPyEndAllowThreads(__tstate);
31136 if (PyErr_Occurred()) SWIG_fail;
31137 }
31138 {
31139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31140 }
31141 return resultobj;
31142 fail:
31143 return NULL;
31144 }
31145
31146
31147 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31148 PyObject *resultobj = 0;
31149 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31150 bool arg2 ;
31151 void *argp1 = 0 ;
31152 int res1 = 0 ;
31153 bool val2 ;
31154 int ecode2 = 0 ;
31155 PyObject * obj0 = 0 ;
31156 PyObject * obj1 = 0 ;
31157 char * kwnames[] = {
31158 (char *) "self",(char *) "p", NULL
31159 };
31160
31161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31163 if (!SWIG_IsOK(res1)) {
31164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31165 }
31166 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31167 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31168 if (!SWIG_IsOK(ecode2)) {
31169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
31170 }
31171 arg2 = static_cast< bool >(val2);
31172 {
31173 PyThreadState* __tstate = wxPyBeginAllowThreads();
31174 (arg1)->SetIsPreview(arg2);
31175 wxPyEndAllowThreads(__tstate);
31176 if (PyErr_Occurred()) SWIG_fail;
31177 }
31178 resultobj = SWIG_Py_Void();
31179 return resultobj;
31180 fail:
31181 return NULL;
31182 }
31183
31184
31185 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31186 PyObject *resultobj = 0;
31187 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31188 int arg2 ;
31189 int arg3 ;
31190 bool result;
31191 void *argp1 = 0 ;
31192 int res1 = 0 ;
31193 int val2 ;
31194 int ecode2 = 0 ;
31195 int val3 ;
31196 int ecode3 = 0 ;
31197 PyObject * obj0 = 0 ;
31198 PyObject * obj1 = 0 ;
31199 PyObject * obj2 = 0 ;
31200 char * kwnames[] = {
31201 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
31202 };
31203
31204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31206 if (!SWIG_IsOK(res1)) {
31207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31208 }
31209 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31210 ecode2 = SWIG_AsVal_int(obj1, &val2);
31211 if (!SWIG_IsOK(ecode2)) {
31212 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
31213 }
31214 arg2 = static_cast< int >(val2);
31215 ecode3 = SWIG_AsVal_int(obj2, &val3);
31216 if (!SWIG_IsOK(ecode3)) {
31217 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
31218 }
31219 arg3 = static_cast< int >(val3);
31220 {
31221 PyThreadState* __tstate = wxPyBeginAllowThreads();
31222 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
31223 wxPyEndAllowThreads(__tstate);
31224 if (PyErr_Occurred()) SWIG_fail;
31225 }
31226 {
31227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31228 }
31229 return resultobj;
31230 fail:
31231 return NULL;
31232 }
31233
31234
31235 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31236 PyObject *resultobj = 0;
31237 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31238 void *argp1 = 0 ;
31239 int res1 = 0 ;
31240 PyObject *swig_obj[1] ;
31241
31242 if (!args) SWIG_fail;
31243 swig_obj[0] = args;
31244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31245 if (!SWIG_IsOK(res1)) {
31246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31247 }
31248 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31249 {
31250 PyThreadState* __tstate = wxPyBeginAllowThreads();
31251 (arg1)->OnEndDocument();
31252 wxPyEndAllowThreads(__tstate);
31253 if (PyErr_Occurred()) SWIG_fail;
31254 }
31255 resultobj = SWIG_Py_Void();
31256 return resultobj;
31257 fail:
31258 return NULL;
31259 }
31260
31261
31262 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31263 PyObject *resultobj = 0;
31264 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31265 void *argp1 = 0 ;
31266 int res1 = 0 ;
31267 PyObject *swig_obj[1] ;
31268
31269 if (!args) SWIG_fail;
31270 swig_obj[0] = args;
31271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31272 if (!SWIG_IsOK(res1)) {
31273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31274 }
31275 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31276 {
31277 PyThreadState* __tstate = wxPyBeginAllowThreads();
31278 (arg1)->OnBeginPrinting();
31279 wxPyEndAllowThreads(__tstate);
31280 if (PyErr_Occurred()) SWIG_fail;
31281 }
31282 resultobj = SWIG_Py_Void();
31283 return resultobj;
31284 fail:
31285 return NULL;
31286 }
31287
31288
31289 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31290 PyObject *resultobj = 0;
31291 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31292 void *argp1 = 0 ;
31293 int res1 = 0 ;
31294 PyObject *swig_obj[1] ;
31295
31296 if (!args) SWIG_fail;
31297 swig_obj[0] = args;
31298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31299 if (!SWIG_IsOK(res1)) {
31300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31301 }
31302 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31303 {
31304 PyThreadState* __tstate = wxPyBeginAllowThreads();
31305 (arg1)->OnEndPrinting();
31306 wxPyEndAllowThreads(__tstate);
31307 if (PyErr_Occurred()) SWIG_fail;
31308 }
31309 resultobj = SWIG_Py_Void();
31310 return resultobj;
31311 fail:
31312 return NULL;
31313 }
31314
31315
31316 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31317 PyObject *resultobj = 0;
31318 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31319 void *argp1 = 0 ;
31320 int res1 = 0 ;
31321 PyObject *swig_obj[1] ;
31322
31323 if (!args) SWIG_fail;
31324 swig_obj[0] = args;
31325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31326 if (!SWIG_IsOK(res1)) {
31327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31328 }
31329 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31330 {
31331 PyThreadState* __tstate = wxPyBeginAllowThreads();
31332 (arg1)->OnPreparePrinting();
31333 wxPyEndAllowThreads(__tstate);
31334 if (PyErr_Occurred()) SWIG_fail;
31335 }
31336 resultobj = SWIG_Py_Void();
31337 return resultobj;
31338 fail:
31339 return NULL;
31340 }
31341
31342
31343 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31344 PyObject *resultobj = 0;
31345 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31346 int arg2 ;
31347 bool result;
31348 void *argp1 = 0 ;
31349 int res1 = 0 ;
31350 int val2 ;
31351 int ecode2 = 0 ;
31352 PyObject * obj0 = 0 ;
31353 PyObject * obj1 = 0 ;
31354 char * kwnames[] = {
31355 (char *) "self",(char *) "page", NULL
31356 };
31357
31358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
31359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31360 if (!SWIG_IsOK(res1)) {
31361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31362 }
31363 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31364 ecode2 = SWIG_AsVal_int(obj1, &val2);
31365 if (!SWIG_IsOK(ecode2)) {
31366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
31367 }
31368 arg2 = static_cast< int >(val2);
31369 {
31370 PyThreadState* __tstate = wxPyBeginAllowThreads();
31371 result = (bool)(arg1)->HasPage(arg2);
31372 wxPyEndAllowThreads(__tstate);
31373 if (PyErr_Occurred()) SWIG_fail;
31374 }
31375 {
31376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31377 }
31378 return resultobj;
31379 fail:
31380 return NULL;
31381 }
31382
31383
31384 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31385 PyObject *resultobj = 0;
31386 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31387 int *arg2 = (int *) 0 ;
31388 int *arg3 = (int *) 0 ;
31389 int *arg4 = (int *) 0 ;
31390 int *arg5 = (int *) 0 ;
31391 void *argp1 = 0 ;
31392 int res1 = 0 ;
31393 int temp2 ;
31394 int res2 = SWIG_TMPOBJ ;
31395 int temp3 ;
31396 int res3 = SWIG_TMPOBJ ;
31397 int temp4 ;
31398 int res4 = SWIG_TMPOBJ ;
31399 int temp5 ;
31400 int res5 = SWIG_TMPOBJ ;
31401 PyObject *swig_obj[1] ;
31402
31403 arg2 = &temp2;
31404 arg3 = &temp3;
31405 arg4 = &temp4;
31406 arg5 = &temp5;
31407 if (!args) SWIG_fail;
31408 swig_obj[0] = args;
31409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31410 if (!SWIG_IsOK(res1)) {
31411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31412 }
31413 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31414 {
31415 PyThreadState* __tstate = wxPyBeginAllowThreads();
31416 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
31417 wxPyEndAllowThreads(__tstate);
31418 if (PyErr_Occurred()) SWIG_fail;
31419 }
31420 resultobj = SWIG_Py_Void();
31421 if (SWIG_IsTmpObj(res2)) {
31422 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
31423 } else {
31424 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31425 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
31426 }
31427 if (SWIG_IsTmpObj(res3)) {
31428 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31429 } else {
31430 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31431 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31432 }
31433 if (SWIG_IsTmpObj(res4)) {
31434 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
31435 } else {
31436 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31437 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
31438 }
31439 if (SWIG_IsTmpObj(res5)) {
31440 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
31441 } else {
31442 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31443 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
31444 }
31445 return resultobj;
31446 fail:
31447 return NULL;
31448 }
31449
31450
31451 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31452 PyObject *obj;
31453 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31454 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
31455 return SWIG_Py_Void();
31456 }
31457
31458 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31459 return SWIG_Python_InitShadowInstance(args);
31460 }
31461
31462 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31463 PyObject *resultobj = 0;
31464 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31465 wxWindow *arg2 = (wxWindow *) 0 ;
31466 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31467 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31468 wxSize const &arg4_defvalue = wxDefaultSize ;
31469 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31470 long arg5 = (long) 0 ;
31471 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
31472 wxString *arg6 = (wxString *) &arg6_defvalue ;
31473 wxPreviewCanvas *result = 0 ;
31474 void *argp1 = 0 ;
31475 int res1 = 0 ;
31476 void *argp2 = 0 ;
31477 int res2 = 0 ;
31478 wxPoint temp3 ;
31479 wxSize temp4 ;
31480 long val5 ;
31481 int ecode5 = 0 ;
31482 bool temp6 = false ;
31483 PyObject * obj0 = 0 ;
31484 PyObject * obj1 = 0 ;
31485 PyObject * obj2 = 0 ;
31486 PyObject * obj3 = 0 ;
31487 PyObject * obj4 = 0 ;
31488 PyObject * obj5 = 0 ;
31489 char * kwnames[] = {
31490 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31491 };
31492
31493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
31494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31495 if (!SWIG_IsOK(res1)) {
31496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31497 }
31498 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31499 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
31500 if (!SWIG_IsOK(res2)) {
31501 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
31502 }
31503 arg2 = reinterpret_cast< wxWindow * >(argp2);
31504 if (obj2) {
31505 {
31506 arg3 = &temp3;
31507 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31508 }
31509 }
31510 if (obj3) {
31511 {
31512 arg4 = &temp4;
31513 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31514 }
31515 }
31516 if (obj4) {
31517 ecode5 = SWIG_AsVal_long(obj4, &val5);
31518 if (!SWIG_IsOK(ecode5)) {
31519 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
31520 }
31521 arg5 = static_cast< long >(val5);
31522 }
31523 if (obj5) {
31524 {
31525 arg6 = wxString_in_helper(obj5);
31526 if (arg6 == NULL) SWIG_fail;
31527 temp6 = true;
31528 }
31529 }
31530 {
31531 if (!wxPyCheckForApp()) SWIG_fail;
31532 PyThreadState* __tstate = wxPyBeginAllowThreads();
31533 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
31534 wxPyEndAllowThreads(__tstate);
31535 if (PyErr_Occurred()) SWIG_fail;
31536 }
31537 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
31538 {
31539 if (temp6)
31540 delete arg6;
31541 }
31542 return resultobj;
31543 fail:
31544 {
31545 if (temp6)
31546 delete arg6;
31547 }
31548 return NULL;
31549 }
31550
31551
31552 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31553 PyObject *obj;
31554 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31555 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
31556 return SWIG_Py_Void();
31557 }
31558
31559 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31560 return SWIG_Python_InitShadowInstance(args);
31561 }
31562
31563 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31564 PyObject *resultobj = 0;
31565 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31566 wxFrame *arg2 = (wxFrame *) 0 ;
31567 wxString *arg3 = 0 ;
31568 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31569 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31570 wxSize const &arg5_defvalue = wxDefaultSize ;
31571 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31572 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
31573 wxString const &arg7_defvalue = wxPyFrameNameStr ;
31574 wxString *arg7 = (wxString *) &arg7_defvalue ;
31575 wxPreviewFrame *result = 0 ;
31576 int res1 = 0 ;
31577 void *argp2 = 0 ;
31578 int res2 = 0 ;
31579 bool temp3 = false ;
31580 wxPoint temp4 ;
31581 wxSize temp5 ;
31582 long val6 ;
31583 int ecode6 = 0 ;
31584 bool temp7 = false ;
31585 PyObject * obj0 = 0 ;
31586 PyObject * obj1 = 0 ;
31587 PyObject * obj2 = 0 ;
31588 PyObject * obj3 = 0 ;
31589 PyObject * obj4 = 0 ;
31590 PyObject * obj5 = 0 ;
31591 PyObject * obj6 = 0 ;
31592 char * kwnames[] = {
31593 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31594 };
31595
31596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31597 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31598 if (!SWIG_IsOK(res1)) {
31599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31600 }
31601 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
31602 if (!SWIG_IsOK(res2)) {
31603 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31604 }
31605 arg2 = reinterpret_cast< wxFrame * >(argp2);
31606 {
31607 arg3 = wxString_in_helper(obj2);
31608 if (arg3 == NULL) SWIG_fail;
31609 temp3 = true;
31610 }
31611 if (obj3) {
31612 {
31613 arg4 = &temp4;
31614 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31615 }
31616 }
31617 if (obj4) {
31618 {
31619 arg5 = &temp5;
31620 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31621 }
31622 }
31623 if (obj5) {
31624 ecode6 = SWIG_AsVal_long(obj5, &val6);
31625 if (!SWIG_IsOK(ecode6)) {
31626 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
31627 }
31628 arg6 = static_cast< long >(val6);
31629 }
31630 if (obj6) {
31631 {
31632 arg7 = wxString_in_helper(obj6);
31633 if (arg7 == NULL) SWIG_fail;
31634 temp7 = true;
31635 }
31636 }
31637 {
31638 if (!wxPyCheckForApp()) SWIG_fail;
31639 PyThreadState* __tstate = wxPyBeginAllowThreads();
31640 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31641 wxPyEndAllowThreads(__tstate);
31642 if (PyErr_Occurred()) SWIG_fail;
31643 }
31644 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
31645 {
31646 if (temp3)
31647 delete arg3;
31648 }
31649 {
31650 if (temp7)
31651 delete arg7;
31652 }
31653 return resultobj;
31654 fail:
31655 {
31656 if (temp3)
31657 delete arg3;
31658 }
31659 {
31660 if (temp7)
31661 delete arg7;
31662 }
31663 return NULL;
31664 }
31665
31666
31667 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31668 PyObject *resultobj = 0;
31669 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31670 void *argp1 = 0 ;
31671 int res1 = 0 ;
31672 PyObject *swig_obj[1] ;
31673
31674 if (!args) SWIG_fail;
31675 swig_obj[0] = args;
31676 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31677 if (!SWIG_IsOK(res1)) {
31678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31679 }
31680 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
31681 {
31682 PyThreadState* __tstate = wxPyBeginAllowThreads();
31683 (arg1)->Initialize();
31684 wxPyEndAllowThreads(__tstate);
31685 if (PyErr_Occurred()) SWIG_fail;
31686 }
31687 resultobj = SWIG_Py_Void();
31688 return resultobj;
31689 fail:
31690 return NULL;
31691 }
31692
31693
31694 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31695 PyObject *resultobj = 0;
31696 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31697 void *argp1 = 0 ;
31698 int res1 = 0 ;
31699 PyObject *swig_obj[1] ;
31700
31701 if (!args) SWIG_fail;
31702 swig_obj[0] = args;
31703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31704 if (!SWIG_IsOK(res1)) {
31705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31706 }
31707 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
31708 {
31709 PyThreadState* __tstate = wxPyBeginAllowThreads();
31710 (arg1)->CreateControlBar();
31711 wxPyEndAllowThreads(__tstate);
31712 if (PyErr_Occurred()) SWIG_fail;
31713 }
31714 resultobj = SWIG_Py_Void();
31715 return resultobj;
31716 fail:
31717 return NULL;
31718 }
31719
31720
31721 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31722 PyObject *resultobj = 0;
31723 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31724 void *argp1 = 0 ;
31725 int res1 = 0 ;
31726 PyObject *swig_obj[1] ;
31727
31728 if (!args) SWIG_fail;
31729 swig_obj[0] = args;
31730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31731 if (!SWIG_IsOK(res1)) {
31732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31733 }
31734 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
31735 {
31736 PyThreadState* __tstate = wxPyBeginAllowThreads();
31737 (arg1)->CreateCanvas();
31738 wxPyEndAllowThreads(__tstate);
31739 if (PyErr_Occurred()) SWIG_fail;
31740 }
31741 resultobj = SWIG_Py_Void();
31742 return resultobj;
31743 fail:
31744 return NULL;
31745 }
31746
31747
31748 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31749 PyObject *resultobj = 0;
31750 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31751 wxPreviewControlBar *result = 0 ;
31752 void *argp1 = 0 ;
31753 int res1 = 0 ;
31754 PyObject *swig_obj[1] ;
31755
31756 if (!args) SWIG_fail;
31757 swig_obj[0] = args;
31758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31759 if (!SWIG_IsOK(res1)) {
31760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
31761 }
31762 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
31763 {
31764 PyThreadState* __tstate = wxPyBeginAllowThreads();
31765 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
31766 wxPyEndAllowThreads(__tstate);
31767 if (PyErr_Occurred()) SWIG_fail;
31768 }
31769 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31770 return resultobj;
31771 fail:
31772 return NULL;
31773 }
31774
31775
31776 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31777 PyObject *obj;
31778 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31779 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
31780 return SWIG_Py_Void();
31781 }
31782
31783 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31784 return SWIG_Python_InitShadowInstance(args);
31785 }
31786
31787 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31788 PyObject *resultobj = 0;
31789 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31790 long arg2 ;
31791 wxWindow *arg3 = (wxWindow *) 0 ;
31792 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31793 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31794 wxSize const &arg5_defvalue = wxDefaultSize ;
31795 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31796 long arg6 = (long) wxTAB_TRAVERSAL ;
31797 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31798 wxString *arg7 = (wxString *) &arg7_defvalue ;
31799 wxPreviewControlBar *result = 0 ;
31800 void *argp1 = 0 ;
31801 int res1 = 0 ;
31802 long val2 ;
31803 int ecode2 = 0 ;
31804 void *argp3 = 0 ;
31805 int res3 = 0 ;
31806 wxPoint temp4 ;
31807 wxSize temp5 ;
31808 long val6 ;
31809 int ecode6 = 0 ;
31810 bool temp7 = false ;
31811 PyObject * obj0 = 0 ;
31812 PyObject * obj1 = 0 ;
31813 PyObject * obj2 = 0 ;
31814 PyObject * obj3 = 0 ;
31815 PyObject * obj4 = 0 ;
31816 PyObject * obj5 = 0 ;
31817 PyObject * obj6 = 0 ;
31818 char * kwnames[] = {
31819 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31820 };
31821
31822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31824 if (!SWIG_IsOK(res1)) {
31825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31826 }
31827 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31828 ecode2 = SWIG_AsVal_long(obj1, &val2);
31829 if (!SWIG_IsOK(ecode2)) {
31830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31831 }
31832 arg2 = static_cast< long >(val2);
31833 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31834 if (!SWIG_IsOK(res3)) {
31835 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31836 }
31837 arg3 = reinterpret_cast< wxWindow * >(argp3);
31838 if (obj3) {
31839 {
31840 arg4 = &temp4;
31841 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31842 }
31843 }
31844 if (obj4) {
31845 {
31846 arg5 = &temp5;
31847 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31848 }
31849 }
31850 if (obj5) {
31851 ecode6 = SWIG_AsVal_long(obj5, &val6);
31852 if (!SWIG_IsOK(ecode6)) {
31853 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31854 }
31855 arg6 = static_cast< long >(val6);
31856 }
31857 if (obj6) {
31858 {
31859 arg7 = wxString_in_helper(obj6);
31860 if (arg7 == NULL) SWIG_fail;
31861 temp7 = true;
31862 }
31863 }
31864 {
31865 if (!wxPyCheckForApp()) SWIG_fail;
31866 PyThreadState* __tstate = wxPyBeginAllowThreads();
31867 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31868 wxPyEndAllowThreads(__tstate);
31869 if (PyErr_Occurred()) SWIG_fail;
31870 }
31871 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
31872 {
31873 if (temp7)
31874 delete arg7;
31875 }
31876 return resultobj;
31877 fail:
31878 {
31879 if (temp7)
31880 delete arg7;
31881 }
31882 return NULL;
31883 }
31884
31885
31886 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31887 PyObject *resultobj = 0;
31888 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
31889 int result;
31890 void *argp1 = 0 ;
31891 int res1 = 0 ;
31892 PyObject *swig_obj[1] ;
31893
31894 if (!args) SWIG_fail;
31895 swig_obj[0] = args;
31896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31897 if (!SWIG_IsOK(res1)) {
31898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
31899 }
31900 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
31901 {
31902 PyThreadState* __tstate = wxPyBeginAllowThreads();
31903 result = (int)(arg1)->GetZoomControl();
31904 wxPyEndAllowThreads(__tstate);
31905 if (PyErr_Occurred()) SWIG_fail;
31906 }
31907 resultobj = SWIG_From_int(static_cast< int >(result));
31908 return resultobj;
31909 fail:
31910 return NULL;
31911 }
31912
31913
31914 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31915 PyObject *resultobj = 0;
31916 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
31917 int arg2 ;
31918 void *argp1 = 0 ;
31919 int res1 = 0 ;
31920 int val2 ;
31921 int ecode2 = 0 ;
31922 PyObject * obj0 = 0 ;
31923 PyObject * obj1 = 0 ;
31924 char * kwnames[] = {
31925 (char *) "self",(char *) "zoom", NULL
31926 };
31927
31928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31930 if (!SWIG_IsOK(res1)) {
31931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
31932 }
31933 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
31934 ecode2 = SWIG_AsVal_int(obj1, &val2);
31935 if (!SWIG_IsOK(ecode2)) {
31936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31937 }
31938 arg2 = static_cast< int >(val2);
31939 {
31940 PyThreadState* __tstate = wxPyBeginAllowThreads();
31941 (arg1)->SetZoomControl(arg2);
31942 wxPyEndAllowThreads(__tstate);
31943 if (PyErr_Occurred()) SWIG_fail;
31944 }
31945 resultobj = SWIG_Py_Void();
31946 return resultobj;
31947 fail:
31948 return NULL;
31949 }
31950
31951
31952 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31953 PyObject *resultobj = 0;
31954 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
31955 wxPrintPreview *result = 0 ;
31956 void *argp1 = 0 ;
31957 int res1 = 0 ;
31958 PyObject *swig_obj[1] ;
31959
31960 if (!args) SWIG_fail;
31961 swig_obj[0] = args;
31962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31963 if (!SWIG_IsOK(res1)) {
31964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
31965 }
31966 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
31967 {
31968 PyThreadState* __tstate = wxPyBeginAllowThreads();
31969 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
31970 wxPyEndAllowThreads(__tstate);
31971 if (PyErr_Occurred()) SWIG_fail;
31972 }
31973 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31974 return resultobj;
31975 fail:
31976 return NULL;
31977 }
31978
31979
31980 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31981 PyObject *resultobj = 0;
31982 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
31983 void *argp1 = 0 ;
31984 int res1 = 0 ;
31985 PyObject *swig_obj[1] ;
31986
31987 if (!args) SWIG_fail;
31988 swig_obj[0] = args;
31989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31990 if (!SWIG_IsOK(res1)) {
31991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
31992 }
31993 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
31994 {
31995 PyThreadState* __tstate = wxPyBeginAllowThreads();
31996 (arg1)->OnNext();
31997 wxPyEndAllowThreads(__tstate);
31998 if (PyErr_Occurred()) SWIG_fail;
31999 }
32000 resultobj = SWIG_Py_Void();
32001 return resultobj;
32002 fail:
32003 return NULL;
32004 }
32005
32006
32007 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32008 PyObject *resultobj = 0;
32009 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32010 void *argp1 = 0 ;
32011 int res1 = 0 ;
32012 PyObject *swig_obj[1] ;
32013
32014 if (!args) SWIG_fail;
32015 swig_obj[0] = args;
32016 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32017 if (!SWIG_IsOK(res1)) {
32018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32019 }
32020 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32021 {
32022 PyThreadState* __tstate = wxPyBeginAllowThreads();
32023 (arg1)->OnPrevious();
32024 wxPyEndAllowThreads(__tstate);
32025 if (PyErr_Occurred()) SWIG_fail;
32026 }
32027 resultobj = SWIG_Py_Void();
32028 return resultobj;
32029 fail:
32030 return NULL;
32031 }
32032
32033
32034 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32035 PyObject *resultobj = 0;
32036 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32037 void *argp1 = 0 ;
32038 int res1 = 0 ;
32039 PyObject *swig_obj[1] ;
32040
32041 if (!args) SWIG_fail;
32042 swig_obj[0] = args;
32043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32044 if (!SWIG_IsOK(res1)) {
32045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32046 }
32047 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32048 {
32049 PyThreadState* __tstate = wxPyBeginAllowThreads();
32050 (arg1)->OnFirst();
32051 wxPyEndAllowThreads(__tstate);
32052 if (PyErr_Occurred()) SWIG_fail;
32053 }
32054 resultobj = SWIG_Py_Void();
32055 return resultobj;
32056 fail:
32057 return NULL;
32058 }
32059
32060
32061 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32062 PyObject *resultobj = 0;
32063 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32064 void *argp1 = 0 ;
32065 int res1 = 0 ;
32066 PyObject *swig_obj[1] ;
32067
32068 if (!args) SWIG_fail;
32069 swig_obj[0] = args;
32070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32071 if (!SWIG_IsOK(res1)) {
32072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32073 }
32074 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32075 {
32076 PyThreadState* __tstate = wxPyBeginAllowThreads();
32077 (arg1)->OnLast();
32078 wxPyEndAllowThreads(__tstate);
32079 if (PyErr_Occurred()) SWIG_fail;
32080 }
32081 resultobj = SWIG_Py_Void();
32082 return resultobj;
32083 fail:
32084 return NULL;
32085 }
32086
32087
32088 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32089 PyObject *resultobj = 0;
32090 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32091 void *argp1 = 0 ;
32092 int res1 = 0 ;
32093 PyObject *swig_obj[1] ;
32094
32095 if (!args) SWIG_fail;
32096 swig_obj[0] = args;
32097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32098 if (!SWIG_IsOK(res1)) {
32099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32100 }
32101 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32102 {
32103 PyThreadState* __tstate = wxPyBeginAllowThreads();
32104 (arg1)->OnGoto();
32105 wxPyEndAllowThreads(__tstate);
32106 if (PyErr_Occurred()) SWIG_fail;
32107 }
32108 resultobj = SWIG_Py_Void();
32109 return resultobj;
32110 fail:
32111 return NULL;
32112 }
32113
32114
32115 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32116 PyObject *obj;
32117 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32118 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
32119 return SWIG_Py_Void();
32120 }
32121
32122 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32123 return SWIG_Python_InitShadowInstance(args);
32124 }
32125
32126 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
32127 PyObject *resultobj = 0;
32128 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
32129 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
32130 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
32131 wxPrintPreview *result = 0 ;
32132 int res1 = 0 ;
32133 int res2 = 0 ;
32134 void *argp3 = 0 ;
32135 int res3 = 0 ;
32136
32137 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
32138 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32139 if (!SWIG_IsOK(res1)) {
32140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
32141 }
32142 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32143 if (!SWIG_IsOK(res2)) {
32144 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32145 }
32146 if (swig_obj[2]) {
32147 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
32148 if (!SWIG_IsOK(res3)) {
32149 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
32150 }
32151 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
32152 }
32153 {
32154 if (!wxPyCheckForApp()) SWIG_fail;
32155 PyThreadState* __tstate = wxPyBeginAllowThreads();
32156 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
32157 wxPyEndAllowThreads(__tstate);
32158 if (PyErr_Occurred()) SWIG_fail;
32159 }
32160 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
32161 return resultobj;
32162 fail:
32163 return NULL;
32164 }
32165
32166
32167 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
32168 PyObject *resultobj = 0;
32169 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
32170 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
32171 wxPrintData *arg3 = (wxPrintData *) 0 ;
32172 wxPrintPreview *result = 0 ;
32173 int res1 = 0 ;
32174 int res2 = 0 ;
32175 void *argp3 = 0 ;
32176 int res3 = 0 ;
32177
32178 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
32179 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32180 if (!SWIG_IsOK(res1)) {
32181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
32182 }
32183 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32184 if (!SWIG_IsOK(res2)) {
32185 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32186 }
32187 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
32188 if (!SWIG_IsOK(res3)) {
32189 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
32190 }
32191 arg3 = reinterpret_cast< wxPrintData * >(argp3);
32192 {
32193 if (!wxPyCheckForApp()) SWIG_fail;
32194 PyThreadState* __tstate = wxPyBeginAllowThreads();
32195 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
32196 wxPyEndAllowThreads(__tstate);
32197 if (PyErr_Occurred()) SWIG_fail;
32198 }
32199 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
32200 return resultobj;
32201 fail:
32202 return NULL;
32203 }
32204
32205
32206 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
32207 int argc;
32208 PyObject *argv[4];
32209
32210 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
32211 --argc;
32212 if ((argc >= 2) && (argc <= 3)) {
32213 int _v = 0;
32214 if (argc > 2) {
32215 {
32216 void *vptr = 0;
32217 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
32218 _v = SWIG_CheckState(res);
32219 }
32220 if (!_v) goto check_1;
32221 }
32222 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
32223 }
32224 check_1:
32225
32226 if (argc == 3) {
32227 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
32228 }
32229
32230 fail:
32231 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
32232 return NULL;
32233 }
32234
32235
32236 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32237 PyObject *resultobj = 0;
32238 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32239 void *argp1 = 0 ;
32240 int res1 = 0 ;
32241 PyObject *swig_obj[1] ;
32242
32243 if (!args) SWIG_fail;
32244 swig_obj[0] = args;
32245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
32246 if (!SWIG_IsOK(res1)) {
32247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32248 }
32249 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32250 {
32251 PyThreadState* __tstate = wxPyBeginAllowThreads();
32252 delete arg1;
32253
32254 wxPyEndAllowThreads(__tstate);
32255 if (PyErr_Occurred()) SWIG_fail;
32256 }
32257 resultobj = SWIG_Py_Void();
32258 return resultobj;
32259 fail:
32260 return NULL;
32261 }
32262
32263
32264 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32265 PyObject *resultobj = 0;
32266 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32267 int arg2 ;
32268 bool result;
32269 void *argp1 = 0 ;
32270 int res1 = 0 ;
32271 int val2 ;
32272 int ecode2 = 0 ;
32273 PyObject * obj0 = 0 ;
32274 PyObject * obj1 = 0 ;
32275 char * kwnames[] = {
32276 (char *) "self",(char *) "pageNum", NULL
32277 };
32278
32279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
32280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32281 if (!SWIG_IsOK(res1)) {
32282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32283 }
32284 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32285 ecode2 = SWIG_AsVal_int(obj1, &val2);
32286 if (!SWIG_IsOK(ecode2)) {
32287 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
32288 }
32289 arg2 = static_cast< int >(val2);
32290 {
32291 PyThreadState* __tstate = wxPyBeginAllowThreads();
32292 result = (bool)(arg1)->SetCurrentPage(arg2);
32293 wxPyEndAllowThreads(__tstate);
32294 if (PyErr_Occurred()) SWIG_fail;
32295 }
32296 {
32297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32298 }
32299 return resultobj;
32300 fail:
32301 return NULL;
32302 }
32303
32304
32305 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32306 PyObject *resultobj = 0;
32307 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32308 int result;
32309 void *argp1 = 0 ;
32310 int res1 = 0 ;
32311 PyObject *swig_obj[1] ;
32312
32313 if (!args) SWIG_fail;
32314 swig_obj[0] = args;
32315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32316 if (!SWIG_IsOK(res1)) {
32317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32318 }
32319 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32320 {
32321 PyThreadState* __tstate = wxPyBeginAllowThreads();
32322 result = (int)(arg1)->GetCurrentPage();
32323 wxPyEndAllowThreads(__tstate);
32324 if (PyErr_Occurred()) SWIG_fail;
32325 }
32326 resultobj = SWIG_From_int(static_cast< int >(result));
32327 return resultobj;
32328 fail:
32329 return NULL;
32330 }
32331
32332
32333 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32334 PyObject *resultobj = 0;
32335 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32336 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
32337 void *argp1 = 0 ;
32338 int res1 = 0 ;
32339 int res2 = 0 ;
32340 PyObject * obj0 = 0 ;
32341 PyObject * obj1 = 0 ;
32342 char * kwnames[] = {
32343 (char *) "self",(char *) "printout", NULL
32344 };
32345
32346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
32347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32348 if (!SWIG_IsOK(res1)) {
32349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32350 }
32351 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32352 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32353 if (!SWIG_IsOK(res2)) {
32354 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32355 }
32356 {
32357 PyThreadState* __tstate = wxPyBeginAllowThreads();
32358 (arg1)->SetPrintout(arg2);
32359 wxPyEndAllowThreads(__tstate);
32360 if (PyErr_Occurred()) SWIG_fail;
32361 }
32362 resultobj = SWIG_Py_Void();
32363 return resultobj;
32364 fail:
32365 return NULL;
32366 }
32367
32368
32369 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32370 PyObject *resultobj = 0;
32371 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32372 wxPyPrintout *result = 0 ;
32373 void *argp1 = 0 ;
32374 int res1 = 0 ;
32375 PyObject *swig_obj[1] ;
32376
32377 if (!args) SWIG_fail;
32378 swig_obj[0] = args;
32379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32380 if (!SWIG_IsOK(res1)) {
32381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32382 }
32383 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32384 {
32385 PyThreadState* __tstate = wxPyBeginAllowThreads();
32386 result = (wxPyPrintout *)(arg1)->GetPrintout();
32387 wxPyEndAllowThreads(__tstate);
32388 if (PyErr_Occurred()) SWIG_fail;
32389 }
32390 {
32391 resultobj = wxPyMake_wxObject(result, 0);
32392 }
32393 return resultobj;
32394 fail:
32395 return NULL;
32396 }
32397
32398
32399 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32400 PyObject *resultobj = 0;
32401 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32402 wxPyPrintout *result = 0 ;
32403 void *argp1 = 0 ;
32404 int res1 = 0 ;
32405 PyObject *swig_obj[1] ;
32406
32407 if (!args) SWIG_fail;
32408 swig_obj[0] = args;
32409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32410 if (!SWIG_IsOK(res1)) {
32411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32412 }
32413 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32414 {
32415 PyThreadState* __tstate = wxPyBeginAllowThreads();
32416 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
32417 wxPyEndAllowThreads(__tstate);
32418 if (PyErr_Occurred()) SWIG_fail;
32419 }
32420 {
32421 resultobj = wxPyMake_wxObject(result, 0);
32422 }
32423 return resultobj;
32424 fail:
32425 return NULL;
32426 }
32427
32428
32429 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32430 PyObject *resultobj = 0;
32431 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32432 wxFrame *arg2 = (wxFrame *) 0 ;
32433 void *argp1 = 0 ;
32434 int res1 = 0 ;
32435 void *argp2 = 0 ;
32436 int res2 = 0 ;
32437 PyObject * obj0 = 0 ;
32438 PyObject * obj1 = 0 ;
32439 char * kwnames[] = {
32440 (char *) "self",(char *) "frame", NULL
32441 };
32442
32443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
32444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32445 if (!SWIG_IsOK(res1)) {
32446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32447 }
32448 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32449 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
32450 if (!SWIG_IsOK(res2)) {
32451 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
32452 }
32453 arg2 = reinterpret_cast< wxFrame * >(argp2);
32454 {
32455 PyThreadState* __tstate = wxPyBeginAllowThreads();
32456 (arg1)->SetFrame(arg2);
32457 wxPyEndAllowThreads(__tstate);
32458 if (PyErr_Occurred()) SWIG_fail;
32459 }
32460 resultobj = SWIG_Py_Void();
32461 return resultobj;
32462 fail:
32463 return NULL;
32464 }
32465
32466
32467 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32468 PyObject *resultobj = 0;
32469 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32470 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32471 void *argp1 = 0 ;
32472 int res1 = 0 ;
32473 void *argp2 = 0 ;
32474 int res2 = 0 ;
32475 PyObject * obj0 = 0 ;
32476 PyObject * obj1 = 0 ;
32477 char * kwnames[] = {
32478 (char *) "self",(char *) "canvas", NULL
32479 };
32480
32481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
32482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32483 if (!SWIG_IsOK(res1)) {
32484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32485 }
32486 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32487 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32488 if (!SWIG_IsOK(res2)) {
32489 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32490 }
32491 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32492 {
32493 PyThreadState* __tstate = wxPyBeginAllowThreads();
32494 (arg1)->SetCanvas(arg2);
32495 wxPyEndAllowThreads(__tstate);
32496 if (PyErr_Occurred()) SWIG_fail;
32497 }
32498 resultobj = SWIG_Py_Void();
32499 return resultobj;
32500 fail:
32501 return NULL;
32502 }
32503
32504
32505 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32506 PyObject *resultobj = 0;
32507 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32508 wxFrame *result = 0 ;
32509 void *argp1 = 0 ;
32510 int res1 = 0 ;
32511 PyObject *swig_obj[1] ;
32512
32513 if (!args) SWIG_fail;
32514 swig_obj[0] = args;
32515 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32516 if (!SWIG_IsOK(res1)) {
32517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32518 }
32519 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32520 {
32521 PyThreadState* __tstate = wxPyBeginAllowThreads();
32522 result = (wxFrame *)(arg1)->GetFrame();
32523 wxPyEndAllowThreads(__tstate);
32524 if (PyErr_Occurred()) SWIG_fail;
32525 }
32526 {
32527 resultobj = wxPyMake_wxObject(result, 0);
32528 }
32529 return resultobj;
32530 fail:
32531 return NULL;
32532 }
32533
32534
32535 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32536 PyObject *resultobj = 0;
32537 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32538 wxPreviewCanvas *result = 0 ;
32539 void *argp1 = 0 ;
32540 int res1 = 0 ;
32541 PyObject *swig_obj[1] ;
32542
32543 if (!args) SWIG_fail;
32544 swig_obj[0] = args;
32545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32546 if (!SWIG_IsOK(res1)) {
32547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32548 }
32549 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32550 {
32551 PyThreadState* __tstate = wxPyBeginAllowThreads();
32552 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
32553 wxPyEndAllowThreads(__tstate);
32554 if (PyErr_Occurred()) SWIG_fail;
32555 }
32556 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32557 return resultobj;
32558 fail:
32559 return NULL;
32560 }
32561
32562
32563 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32564 PyObject *resultobj = 0;
32565 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32566 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32567 wxDC *arg3 = 0 ;
32568 bool result;
32569 void *argp1 = 0 ;
32570 int res1 = 0 ;
32571 void *argp2 = 0 ;
32572 int res2 = 0 ;
32573 void *argp3 = 0 ;
32574 int res3 = 0 ;
32575 PyObject * obj0 = 0 ;
32576 PyObject * obj1 = 0 ;
32577 PyObject * obj2 = 0 ;
32578 char * kwnames[] = {
32579 (char *) "self",(char *) "canvas",(char *) "dc", NULL
32580 };
32581
32582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32584 if (!SWIG_IsOK(res1)) {
32585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32586 }
32587 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32588 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32589 if (!SWIG_IsOK(res2)) {
32590 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32591 }
32592 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32593 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
32594 if (!SWIG_IsOK(res3)) {
32595 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
32596 }
32597 if (!argp3) {
32598 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
32599 }
32600 arg3 = reinterpret_cast< wxDC * >(argp3);
32601 {
32602 PyThreadState* __tstate = wxPyBeginAllowThreads();
32603 result = (bool)(arg1)->PaintPage(arg2,*arg3);
32604 wxPyEndAllowThreads(__tstate);
32605 if (PyErr_Occurred()) SWIG_fail;
32606 }
32607 {
32608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32609 }
32610 return resultobj;
32611 fail:
32612 return NULL;
32613 }
32614
32615
32616 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32617 PyObject *resultobj = 0;
32618 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32619 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32620 wxDC *arg3 = 0 ;
32621 bool result;
32622 void *argp1 = 0 ;
32623 int res1 = 0 ;
32624 void *argp2 = 0 ;
32625 int res2 = 0 ;
32626 void *argp3 = 0 ;
32627 int res3 = 0 ;
32628 PyObject * obj0 = 0 ;
32629 PyObject * obj1 = 0 ;
32630 PyObject * obj2 = 0 ;
32631 char * kwnames[] = {
32632 (char *) "self",(char *) "canvas",(char *) "dc", NULL
32633 };
32634
32635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32637 if (!SWIG_IsOK(res1)) {
32638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32639 }
32640 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32641 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32642 if (!SWIG_IsOK(res2)) {
32643 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32644 }
32645 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32646 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
32647 if (!SWIG_IsOK(res3)) {
32648 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
32649 }
32650 if (!argp3) {
32651 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
32652 }
32653 arg3 = reinterpret_cast< wxDC * >(argp3);
32654 {
32655 PyThreadState* __tstate = wxPyBeginAllowThreads();
32656 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
32657 wxPyEndAllowThreads(__tstate);
32658 if (PyErr_Occurred()) SWIG_fail;
32659 }
32660 {
32661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32662 }
32663 return resultobj;
32664 fail:
32665 return NULL;
32666 }
32667
32668
32669 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32670 PyObject *resultobj = 0;
32671 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32672 int arg2 ;
32673 bool result;
32674 void *argp1 = 0 ;
32675 int res1 = 0 ;
32676 int val2 ;
32677 int ecode2 = 0 ;
32678 PyObject * obj0 = 0 ;
32679 PyObject * obj1 = 0 ;
32680 char * kwnames[] = {
32681 (char *) "self",(char *) "pageNum", NULL
32682 };
32683
32684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
32685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32686 if (!SWIG_IsOK(res1)) {
32687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32688 }
32689 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32690 ecode2 = SWIG_AsVal_int(obj1, &val2);
32691 if (!SWIG_IsOK(ecode2)) {
32692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
32693 }
32694 arg2 = static_cast< int >(val2);
32695 {
32696 PyThreadState* __tstate = wxPyBeginAllowThreads();
32697 result = (bool)(arg1)->RenderPage(arg2);
32698 wxPyEndAllowThreads(__tstate);
32699 if (PyErr_Occurred()) SWIG_fail;
32700 }
32701 {
32702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32703 }
32704 return resultobj;
32705 fail:
32706 return NULL;
32707 }
32708
32709
32710 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32711 PyObject *resultobj = 0;
32712 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32713 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32714 void *argp1 = 0 ;
32715 int res1 = 0 ;
32716 void *argp2 = 0 ;
32717 int res2 = 0 ;
32718 PyObject * obj0 = 0 ;
32719 PyObject * obj1 = 0 ;
32720 char * kwnames[] = {
32721 (char *) "self",(char *) "canvas", NULL
32722 };
32723
32724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
32725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32726 if (!SWIG_IsOK(res1)) {
32727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32728 }
32729 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32730 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32731 if (!SWIG_IsOK(res2)) {
32732 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32733 }
32734 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32735 {
32736 PyThreadState* __tstate = wxPyBeginAllowThreads();
32737 (arg1)->AdjustScrollbars(arg2);
32738 wxPyEndAllowThreads(__tstate);
32739 if (PyErr_Occurred()) SWIG_fail;
32740 }
32741 resultobj = SWIG_Py_Void();
32742 return resultobj;
32743 fail:
32744 return NULL;
32745 }
32746
32747
32748 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32749 PyObject *resultobj = 0;
32750 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32751 wxPrintDialogData *result = 0 ;
32752 void *argp1 = 0 ;
32753 int res1 = 0 ;
32754 PyObject *swig_obj[1] ;
32755
32756 if (!args) SWIG_fail;
32757 swig_obj[0] = args;
32758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32759 if (!SWIG_IsOK(res1)) {
32760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32761 }
32762 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32763 {
32764 PyThreadState* __tstate = wxPyBeginAllowThreads();
32765 {
32766 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
32767 result = (wxPrintDialogData *) &_result_ref;
32768 }
32769 wxPyEndAllowThreads(__tstate);
32770 if (PyErr_Occurred()) SWIG_fail;
32771 }
32772 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
32773 return resultobj;
32774 fail:
32775 return NULL;
32776 }
32777
32778
32779 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32780 PyObject *resultobj = 0;
32781 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32782 int arg2 ;
32783 void *argp1 = 0 ;
32784 int res1 = 0 ;
32785 int val2 ;
32786 int ecode2 = 0 ;
32787 PyObject * obj0 = 0 ;
32788 PyObject * obj1 = 0 ;
32789 char * kwnames[] = {
32790 (char *) "self",(char *) "percent", NULL
32791 };
32792
32793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
32794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32795 if (!SWIG_IsOK(res1)) {
32796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32797 }
32798 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32799 ecode2 = SWIG_AsVal_int(obj1, &val2);
32800 if (!SWIG_IsOK(ecode2)) {
32801 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
32802 }
32803 arg2 = static_cast< int >(val2);
32804 {
32805 PyThreadState* __tstate = wxPyBeginAllowThreads();
32806 (arg1)->SetZoom(arg2);
32807 wxPyEndAllowThreads(__tstate);
32808 if (PyErr_Occurred()) SWIG_fail;
32809 }
32810 resultobj = SWIG_Py_Void();
32811 return resultobj;
32812 fail:
32813 return NULL;
32814 }
32815
32816
32817 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32818 PyObject *resultobj = 0;
32819 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32820 int result;
32821 void *argp1 = 0 ;
32822 int res1 = 0 ;
32823 PyObject *swig_obj[1] ;
32824
32825 if (!args) SWIG_fail;
32826 swig_obj[0] = args;
32827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32828 if (!SWIG_IsOK(res1)) {
32829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32830 }
32831 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32832 {
32833 PyThreadState* __tstate = wxPyBeginAllowThreads();
32834 result = (int)(arg1)->GetZoom();
32835 wxPyEndAllowThreads(__tstate);
32836 if (PyErr_Occurred()) SWIG_fail;
32837 }
32838 resultobj = SWIG_From_int(static_cast< int >(result));
32839 return resultobj;
32840 fail:
32841 return NULL;
32842 }
32843
32844
32845 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32846 PyObject *resultobj = 0;
32847 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32848 int result;
32849 void *argp1 = 0 ;
32850 int res1 = 0 ;
32851 PyObject *swig_obj[1] ;
32852
32853 if (!args) SWIG_fail;
32854 swig_obj[0] = args;
32855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32856 if (!SWIG_IsOK(res1)) {
32857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32858 }
32859 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32860 {
32861 PyThreadState* __tstate = wxPyBeginAllowThreads();
32862 result = (int)(arg1)->GetMaxPage();
32863 wxPyEndAllowThreads(__tstate);
32864 if (PyErr_Occurred()) SWIG_fail;
32865 }
32866 resultobj = SWIG_From_int(static_cast< int >(result));
32867 return resultobj;
32868 fail:
32869 return NULL;
32870 }
32871
32872
32873 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32874 PyObject *resultobj = 0;
32875 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32876 int result;
32877 void *argp1 = 0 ;
32878 int res1 = 0 ;
32879 PyObject *swig_obj[1] ;
32880
32881 if (!args) SWIG_fail;
32882 swig_obj[0] = args;
32883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32884 if (!SWIG_IsOK(res1)) {
32885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32886 }
32887 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32888 {
32889 PyThreadState* __tstate = wxPyBeginAllowThreads();
32890 result = (int)(arg1)->GetMinPage();
32891 wxPyEndAllowThreads(__tstate);
32892 if (PyErr_Occurred()) SWIG_fail;
32893 }
32894 resultobj = SWIG_From_int(static_cast< int >(result));
32895 return resultobj;
32896 fail:
32897 return NULL;
32898 }
32899
32900
32901 SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32902 PyObject *resultobj = 0;
32903 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32904 bool result;
32905 void *argp1 = 0 ;
32906 int res1 = 0 ;
32907 PyObject *swig_obj[1] ;
32908
32909 if (!args) SWIG_fail;
32910 swig_obj[0] = args;
32911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32912 if (!SWIG_IsOK(res1)) {
32913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32914 }
32915 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32916 {
32917 PyThreadState* __tstate = wxPyBeginAllowThreads();
32918 result = (bool)(arg1)->IsOk();
32919 wxPyEndAllowThreads(__tstate);
32920 if (PyErr_Occurred()) SWIG_fail;
32921 }
32922 {
32923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32924 }
32925 return resultobj;
32926 fail:
32927 return NULL;
32928 }
32929
32930
32931 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32932 PyObject *resultobj = 0;
32933 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32934 bool arg2 ;
32935 void *argp1 = 0 ;
32936 int res1 = 0 ;
32937 bool val2 ;
32938 int ecode2 = 0 ;
32939 PyObject * obj0 = 0 ;
32940 PyObject * obj1 = 0 ;
32941 char * kwnames[] = {
32942 (char *) "self",(char *) "ok", NULL
32943 };
32944
32945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
32946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32947 if (!SWIG_IsOK(res1)) {
32948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32949 }
32950 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32951 ecode2 = SWIG_AsVal_bool(obj1, &val2);
32952 if (!SWIG_IsOK(ecode2)) {
32953 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
32954 }
32955 arg2 = static_cast< bool >(val2);
32956 {
32957 PyThreadState* __tstate = wxPyBeginAllowThreads();
32958 (arg1)->SetOk(arg2);
32959 wxPyEndAllowThreads(__tstate);
32960 if (PyErr_Occurred()) SWIG_fail;
32961 }
32962 resultobj = SWIG_Py_Void();
32963 return resultobj;
32964 fail:
32965 return NULL;
32966 }
32967
32968
32969 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32970 PyObject *resultobj = 0;
32971 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32972 bool arg2 ;
32973 bool result;
32974 void *argp1 = 0 ;
32975 int res1 = 0 ;
32976 bool val2 ;
32977 int ecode2 = 0 ;
32978 PyObject * obj0 = 0 ;
32979 PyObject * obj1 = 0 ;
32980 char * kwnames[] = {
32981 (char *) "self",(char *) "interactive", NULL
32982 };
32983
32984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
32985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32986 if (!SWIG_IsOK(res1)) {
32987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32988 }
32989 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32990 ecode2 = SWIG_AsVal_bool(obj1, &val2);
32991 if (!SWIG_IsOK(ecode2)) {
32992 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
32993 }
32994 arg2 = static_cast< bool >(val2);
32995 {
32996 PyThreadState* __tstate = wxPyBeginAllowThreads();
32997 result = (bool)(arg1)->Print(arg2);
32998 wxPyEndAllowThreads(__tstate);
32999 if (PyErr_Occurred()) SWIG_fail;
33000 }
33001 {
33002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33003 }
33004 return resultobj;
33005 fail:
33006 return NULL;
33007 }
33008
33009
33010 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33011 PyObject *resultobj = 0;
33012 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33013 void *argp1 = 0 ;
33014 int res1 = 0 ;
33015 PyObject *swig_obj[1] ;
33016
33017 if (!args) SWIG_fail;
33018 swig_obj[0] = args;
33019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33020 if (!SWIG_IsOK(res1)) {
33021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33022 }
33023 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33024 {
33025 PyThreadState* __tstate = wxPyBeginAllowThreads();
33026 (arg1)->DetermineScaling();
33027 wxPyEndAllowThreads(__tstate);
33028 if (PyErr_Occurred()) SWIG_fail;
33029 }
33030 resultobj = SWIG_Py_Void();
33031 return resultobj;
33032 fail:
33033 return NULL;
33034 }
33035
33036
33037 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33038 PyObject *obj;
33039 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33040 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
33041 return SWIG_Py_Void();
33042 }
33043
33044 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33045 return SWIG_Python_InitShadowInstance(args);
33046 }
33047
33048 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33049 PyObject *resultobj = 0;
33050 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
33051 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
33052 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
33053 wxPyPrintPreview *result = 0 ;
33054 int res1 = 0 ;
33055 int res2 = 0 ;
33056 void *argp3 = 0 ;
33057 int res3 = 0 ;
33058
33059 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
33060 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33061 if (!SWIG_IsOK(res1)) {
33062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
33063 }
33064 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33065 if (!SWIG_IsOK(res2)) {
33066 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
33067 }
33068 if (swig_obj[2]) {
33069 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
33070 if (!SWIG_IsOK(res3)) {
33071 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
33072 }
33073 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
33074 }
33075 {
33076 if (!wxPyCheckForApp()) SWIG_fail;
33077 PyThreadState* __tstate = wxPyBeginAllowThreads();
33078 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
33079 wxPyEndAllowThreads(__tstate);
33080 if (PyErr_Occurred()) SWIG_fail;
33081 }
33082 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
33083 return resultobj;
33084 fail:
33085 return NULL;
33086 }
33087
33088
33089 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33090 PyObject *resultobj = 0;
33091 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
33092 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
33093 wxPrintData *arg3 = (wxPrintData *) 0 ;
33094 wxPyPrintPreview *result = 0 ;
33095 int res1 = 0 ;
33096 int res2 = 0 ;
33097 void *argp3 = 0 ;
33098 int res3 = 0 ;
33099
33100 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
33101 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33102 if (!SWIG_IsOK(res1)) {
33103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
33104 }
33105 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33106 if (!SWIG_IsOK(res2)) {
33107 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
33108 }
33109 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
33110 if (!SWIG_IsOK(res3)) {
33111 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
33112 }
33113 arg3 = reinterpret_cast< wxPrintData * >(argp3);
33114 {
33115 if (!wxPyCheckForApp()) SWIG_fail;
33116 PyThreadState* __tstate = wxPyBeginAllowThreads();
33117 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
33118 wxPyEndAllowThreads(__tstate);
33119 if (PyErr_Occurred()) SWIG_fail;
33120 }
33121 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
33122 return resultobj;
33123 fail:
33124 return NULL;
33125 }
33126
33127
33128 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
33129 int argc;
33130 PyObject *argv[4];
33131
33132 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
33133 --argc;
33134 if ((argc >= 2) && (argc <= 3)) {
33135 int _v = 0;
33136 if (argc > 2) {
33137 {
33138 void *vptr = 0;
33139 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
33140 _v = SWIG_CheckState(res);
33141 }
33142 if (!_v) goto check_1;
33143 }
33144 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
33145 }
33146 check_1:
33147
33148 if (argc == 3) {
33149 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
33150 }
33151
33152 fail:
33153 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
33154 return NULL;
33155 }
33156
33157
33158 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33159 PyObject *resultobj = 0;
33160 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
33161 PyObject *arg2 = (PyObject *) 0 ;
33162 PyObject *arg3 = (PyObject *) 0 ;
33163 void *argp1 = 0 ;
33164 int res1 = 0 ;
33165 PyObject * obj0 = 0 ;
33166 PyObject * obj1 = 0 ;
33167 PyObject * obj2 = 0 ;
33168 char * kwnames[] = {
33169 (char *) "self",(char *) "self",(char *) "_class", NULL
33170 };
33171
33172 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33173 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
33174 if (!SWIG_IsOK(res1)) {
33175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
33176 }
33177 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
33178 arg2 = obj1;
33179 arg3 = obj2;
33180 {
33181 PyThreadState* __tstate = wxPyBeginAllowThreads();
33182 (arg1)->_setCallbackInfo(arg2,arg3);
33183 wxPyEndAllowThreads(__tstate);
33184 if (PyErr_Occurred()) SWIG_fail;
33185 }
33186 resultobj = SWIG_Py_Void();
33187 return resultobj;
33188 fail:
33189 return NULL;
33190 }
33191
33192
33193 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33194 PyObject *obj;
33195 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33196 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
33197 return SWIG_Py_Void();
33198 }
33199
33200 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33201 return SWIG_Python_InitShadowInstance(args);
33202 }
33203
33204 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33205 PyObject *resultobj = 0;
33206 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33207 wxFrame *arg2 = (wxFrame *) 0 ;
33208 wxString *arg3 = 0 ;
33209 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33210 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33211 wxSize const &arg5_defvalue = wxDefaultSize ;
33212 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33213 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
33214 wxString const &arg7_defvalue = wxPyFrameNameStr ;
33215 wxString *arg7 = (wxString *) &arg7_defvalue ;
33216 wxPyPreviewFrame *result = 0 ;
33217 int res1 = 0 ;
33218 void *argp2 = 0 ;
33219 int res2 = 0 ;
33220 bool temp3 = false ;
33221 wxPoint temp4 ;
33222 wxSize temp5 ;
33223 long val6 ;
33224 int ecode6 = 0 ;
33225 bool temp7 = false ;
33226 PyObject * obj0 = 0 ;
33227 PyObject * obj1 = 0 ;
33228 PyObject * obj2 = 0 ;
33229 PyObject * obj3 = 0 ;
33230 PyObject * obj4 = 0 ;
33231 PyObject * obj5 = 0 ;
33232 PyObject * obj6 = 0 ;
33233 char * kwnames[] = {
33234 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33235 };
33236
33237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33238 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
33239 if (!SWIG_IsOK(res1)) {
33240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33241 }
33242 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
33243 if (!SWIG_IsOK(res2)) {
33244 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
33245 }
33246 arg2 = reinterpret_cast< wxFrame * >(argp2);
33247 {
33248 arg3 = wxString_in_helper(obj2);
33249 if (arg3 == NULL) SWIG_fail;
33250 temp3 = true;
33251 }
33252 if (obj3) {
33253 {
33254 arg4 = &temp4;
33255 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
33256 }
33257 }
33258 if (obj4) {
33259 {
33260 arg5 = &temp5;
33261 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
33262 }
33263 }
33264 if (obj5) {
33265 ecode6 = SWIG_AsVal_long(obj5, &val6);
33266 if (!SWIG_IsOK(ecode6)) {
33267 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
33268 }
33269 arg6 = static_cast< long >(val6);
33270 }
33271 if (obj6) {
33272 {
33273 arg7 = wxString_in_helper(obj6);
33274 if (arg7 == NULL) SWIG_fail;
33275 temp7 = true;
33276 }
33277 }
33278 {
33279 if (!wxPyCheckForApp()) SWIG_fail;
33280 PyThreadState* __tstate = wxPyBeginAllowThreads();
33281 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
33282 wxPyEndAllowThreads(__tstate);
33283 if (PyErr_Occurred()) SWIG_fail;
33284 }
33285 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
33286 {
33287 if (temp3)
33288 delete arg3;
33289 }
33290 {
33291 if (temp7)
33292 delete arg7;
33293 }
33294 return resultobj;
33295 fail:
33296 {
33297 if (temp3)
33298 delete arg3;
33299 }
33300 {
33301 if (temp7)
33302 delete arg7;
33303 }
33304 return NULL;
33305 }
33306
33307
33308 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33309 PyObject *resultobj = 0;
33310 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33311 PyObject *arg2 = (PyObject *) 0 ;
33312 PyObject *arg3 = (PyObject *) 0 ;
33313 void *argp1 = 0 ;
33314 int res1 = 0 ;
33315 PyObject * obj0 = 0 ;
33316 PyObject * obj1 = 0 ;
33317 PyObject * obj2 = 0 ;
33318 char * kwnames[] = {
33319 (char *) "self",(char *) "self",(char *) "_class", NULL
33320 };
33321
33322 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33323 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33324 if (!SWIG_IsOK(res1)) {
33325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33326 }
33327 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33328 arg2 = obj1;
33329 arg3 = obj2;
33330 {
33331 PyThreadState* __tstate = wxPyBeginAllowThreads();
33332 (arg1)->_setCallbackInfo(arg2,arg3);
33333 wxPyEndAllowThreads(__tstate);
33334 if (PyErr_Occurred()) SWIG_fail;
33335 }
33336 resultobj = SWIG_Py_Void();
33337 return resultobj;
33338 fail:
33339 return NULL;
33340 }
33341
33342
33343 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33344 PyObject *resultobj = 0;
33345 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33346 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
33347 void *argp1 = 0 ;
33348 int res1 = 0 ;
33349 void *argp2 = 0 ;
33350 int res2 = 0 ;
33351 PyObject * obj0 = 0 ;
33352 PyObject * obj1 = 0 ;
33353 char * kwnames[] = {
33354 (char *) "self",(char *) "canvas", NULL
33355 };
33356
33357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
33358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33359 if (!SWIG_IsOK(res1)) {
33360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33361 }
33362 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33363 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
33364 if (!SWIG_IsOK(res2)) {
33365 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
33366 }
33367 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
33368 {
33369 PyThreadState* __tstate = wxPyBeginAllowThreads();
33370 (arg1)->SetPreviewCanvas(arg2);
33371 wxPyEndAllowThreads(__tstate);
33372 if (PyErr_Occurred()) SWIG_fail;
33373 }
33374 resultobj = SWIG_Py_Void();
33375 return resultobj;
33376 fail:
33377 return NULL;
33378 }
33379
33380
33381 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33382 PyObject *resultobj = 0;
33383 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33384 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
33385 void *argp1 = 0 ;
33386 int res1 = 0 ;
33387 void *argp2 = 0 ;
33388 int res2 = 0 ;
33389 PyObject * obj0 = 0 ;
33390 PyObject * obj1 = 0 ;
33391 char * kwnames[] = {
33392 (char *) "self",(char *) "bar", NULL
33393 };
33394
33395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
33396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33397 if (!SWIG_IsOK(res1)) {
33398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33399 }
33400 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33401 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
33402 if (!SWIG_IsOK(res2)) {
33403 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
33404 }
33405 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
33406 {
33407 PyThreadState* __tstate = wxPyBeginAllowThreads();
33408 (arg1)->SetControlBar(arg2);
33409 wxPyEndAllowThreads(__tstate);
33410 if (PyErr_Occurred()) SWIG_fail;
33411 }
33412 resultobj = SWIG_Py_Void();
33413 return resultobj;
33414 fail:
33415 return NULL;
33416 }
33417
33418
33419 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33420 PyObject *resultobj = 0;
33421 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33422 void *argp1 = 0 ;
33423 int res1 = 0 ;
33424 PyObject *swig_obj[1] ;
33425
33426 if (!args) SWIG_fail;
33427 swig_obj[0] = args;
33428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33429 if (!SWIG_IsOK(res1)) {
33430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33431 }
33432 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33433 {
33434 PyThreadState* __tstate = wxPyBeginAllowThreads();
33435 (arg1)->Initialize();
33436 wxPyEndAllowThreads(__tstate);
33437 if (PyErr_Occurred()) SWIG_fail;
33438 }
33439 resultobj = SWIG_Py_Void();
33440 return resultobj;
33441 fail:
33442 return NULL;
33443 }
33444
33445
33446 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33447 PyObject *resultobj = 0;
33448 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33449 void *argp1 = 0 ;
33450 int res1 = 0 ;
33451 PyObject *swig_obj[1] ;
33452
33453 if (!args) SWIG_fail;
33454 swig_obj[0] = args;
33455 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33456 if (!SWIG_IsOK(res1)) {
33457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33458 }
33459 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33460 {
33461 PyThreadState* __tstate = wxPyBeginAllowThreads();
33462 (arg1)->CreateCanvas();
33463 wxPyEndAllowThreads(__tstate);
33464 if (PyErr_Occurred()) SWIG_fail;
33465 }
33466 resultobj = SWIG_Py_Void();
33467 return resultobj;
33468 fail:
33469 return NULL;
33470 }
33471
33472
33473 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33474 PyObject *resultobj = 0;
33475 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33476 void *argp1 = 0 ;
33477 int res1 = 0 ;
33478 PyObject *swig_obj[1] ;
33479
33480 if (!args) SWIG_fail;
33481 swig_obj[0] = args;
33482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33483 if (!SWIG_IsOK(res1)) {
33484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33485 }
33486 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33487 {
33488 PyThreadState* __tstate = wxPyBeginAllowThreads();
33489 (arg1)->CreateControlBar();
33490 wxPyEndAllowThreads(__tstate);
33491 if (PyErr_Occurred()) SWIG_fail;
33492 }
33493 resultobj = SWIG_Py_Void();
33494 return resultobj;
33495 fail:
33496 return NULL;
33497 }
33498
33499
33500 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33501 PyObject *obj;
33502 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33503 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
33504 return SWIG_Py_Void();
33505 }
33506
33507 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33508 return SWIG_Python_InitShadowInstance(args);
33509 }
33510
33511 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33512 PyObject *resultobj = 0;
33513 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33514 long arg2 ;
33515 wxWindow *arg3 = (wxWindow *) 0 ;
33516 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33517 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33518 wxSize const &arg5_defvalue = wxDefaultSize ;
33519 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33520 long arg6 = (long) 0 ;
33521 wxString const &arg7_defvalue = wxPyPanelNameStr ;
33522 wxString *arg7 = (wxString *) &arg7_defvalue ;
33523 wxPyPreviewControlBar *result = 0 ;
33524 int res1 = 0 ;
33525 long val2 ;
33526 int ecode2 = 0 ;
33527 void *argp3 = 0 ;
33528 int res3 = 0 ;
33529 wxPoint temp4 ;
33530 wxSize temp5 ;
33531 long val6 ;
33532 int ecode6 = 0 ;
33533 bool temp7 = false ;
33534 PyObject * obj0 = 0 ;
33535 PyObject * obj1 = 0 ;
33536 PyObject * obj2 = 0 ;
33537 PyObject * obj3 = 0 ;
33538 PyObject * obj4 = 0 ;
33539 PyObject * obj5 = 0 ;
33540 PyObject * obj6 = 0 ;
33541 char * kwnames[] = {
33542 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33543 };
33544
33545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33546 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
33547 if (!SWIG_IsOK(res1)) {
33548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33549 }
33550 ecode2 = SWIG_AsVal_long(obj1, &val2);
33551 if (!SWIG_IsOK(ecode2)) {
33552 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
33553 }
33554 arg2 = static_cast< long >(val2);
33555 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
33556 if (!SWIG_IsOK(res3)) {
33557 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
33558 }
33559 arg3 = reinterpret_cast< wxWindow * >(argp3);
33560 if (obj3) {
33561 {
33562 arg4 = &temp4;
33563 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
33564 }
33565 }
33566 if (obj4) {
33567 {
33568 arg5 = &temp5;
33569 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
33570 }
33571 }
33572 if (obj5) {
33573 ecode6 = SWIG_AsVal_long(obj5, &val6);
33574 if (!SWIG_IsOK(ecode6)) {
33575 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
33576 }
33577 arg6 = static_cast< long >(val6);
33578 }
33579 if (obj6) {
33580 {
33581 arg7 = wxString_in_helper(obj6);
33582 if (arg7 == NULL) SWIG_fail;
33583 temp7 = true;
33584 }
33585 }
33586 {
33587 if (!wxPyCheckForApp()) SWIG_fail;
33588 PyThreadState* __tstate = wxPyBeginAllowThreads();
33589 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
33590 wxPyEndAllowThreads(__tstate);
33591 if (PyErr_Occurred()) SWIG_fail;
33592 }
33593 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
33594 {
33595 if (temp7)
33596 delete arg7;
33597 }
33598 return resultobj;
33599 fail:
33600 {
33601 if (temp7)
33602 delete arg7;
33603 }
33604 return NULL;
33605 }
33606
33607
33608 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33609 PyObject *resultobj = 0;
33610 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33611 PyObject *arg2 = (PyObject *) 0 ;
33612 PyObject *arg3 = (PyObject *) 0 ;
33613 void *argp1 = 0 ;
33614 int res1 = 0 ;
33615 PyObject * obj0 = 0 ;
33616 PyObject * obj1 = 0 ;
33617 PyObject * obj2 = 0 ;
33618 char * kwnames[] = {
33619 (char *) "self",(char *) "self",(char *) "_class", NULL
33620 };
33621
33622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33624 if (!SWIG_IsOK(res1)) {
33625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33626 }
33627 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
33628 arg2 = obj1;
33629 arg3 = obj2;
33630 {
33631 PyThreadState* __tstate = wxPyBeginAllowThreads();
33632 (arg1)->_setCallbackInfo(arg2,arg3);
33633 wxPyEndAllowThreads(__tstate);
33634 if (PyErr_Occurred()) SWIG_fail;
33635 }
33636 resultobj = SWIG_Py_Void();
33637 return resultobj;
33638 fail:
33639 return NULL;
33640 }
33641
33642
33643 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33644 PyObject *resultobj = 0;
33645 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33646 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
33647 void *argp1 = 0 ;
33648 int res1 = 0 ;
33649 int res2 = 0 ;
33650 PyObject * obj0 = 0 ;
33651 PyObject * obj1 = 0 ;
33652 char * kwnames[] = {
33653 (char *) "self",(char *) "preview", NULL
33654 };
33655
33656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
33657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33658 if (!SWIG_IsOK(res1)) {
33659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33660 }
33661 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
33662 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
33663 if (!SWIG_IsOK(res2)) {
33664 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
33665 }
33666 {
33667 PyThreadState* __tstate = wxPyBeginAllowThreads();
33668 (arg1)->SetPrintPreview(arg2);
33669 wxPyEndAllowThreads(__tstate);
33670 if (PyErr_Occurred()) SWIG_fail;
33671 }
33672 resultobj = SWIG_Py_Void();
33673 return resultobj;
33674 fail:
33675 return NULL;
33676 }
33677
33678
33679 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33680 PyObject *resultobj = 0;
33681 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33682 void *argp1 = 0 ;
33683 int res1 = 0 ;
33684 PyObject *swig_obj[1] ;
33685
33686 if (!args) SWIG_fail;
33687 swig_obj[0] = args;
33688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33689 if (!SWIG_IsOK(res1)) {
33690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33691 }
33692 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
33693 {
33694 PyThreadState* __tstate = wxPyBeginAllowThreads();
33695 (arg1)->CreateButtons();
33696 wxPyEndAllowThreads(__tstate);
33697 if (PyErr_Occurred()) SWIG_fail;
33698 }
33699 resultobj = SWIG_Py_Void();
33700 return resultobj;
33701 fail:
33702 return NULL;
33703 }
33704
33705
33706 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33707 PyObject *resultobj = 0;
33708 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33709 int arg2 ;
33710 void *argp1 = 0 ;
33711 int res1 = 0 ;
33712 int val2 ;
33713 int ecode2 = 0 ;
33714 PyObject * obj0 = 0 ;
33715 PyObject * obj1 = 0 ;
33716 char * kwnames[] = {
33717 (char *) "self",(char *) "zoom", NULL
33718 };
33719
33720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
33721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33722 if (!SWIG_IsOK(res1)) {
33723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33724 }
33725 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
33726 ecode2 = SWIG_AsVal_int(obj1, &val2);
33727 if (!SWIG_IsOK(ecode2)) {
33728 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
33729 }
33730 arg2 = static_cast< int >(val2);
33731 {
33732 PyThreadState* __tstate = wxPyBeginAllowThreads();
33733 (arg1)->SetZoomControl(arg2);
33734 wxPyEndAllowThreads(__tstate);
33735 if (PyErr_Occurred()) SWIG_fail;
33736 }
33737 resultobj = SWIG_Py_Void();
33738 return resultobj;
33739 fail:
33740 return NULL;
33741 }
33742
33743
33744 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33745 PyObject *obj;
33746 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33747 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
33748 return SWIG_Py_Void();
33749 }
33750
33751 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33752 return SWIG_Python_InitShadowInstance(args);
33753 }
33754
33755 static PyMethodDef SwigMethods[] = {
33756 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
33757 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
33758 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33759 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
33760 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
33761 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
33762 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
33763 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33764 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
33765 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33766 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
33767 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
33768 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
33769 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
33770 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
33771 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
33772 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
33773 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
33774 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
33775 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
33776 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
33777 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
33778 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
33779 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
33780 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
33781 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33782 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
33783 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
33784 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
33785 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
33786 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
33787 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
33788 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
33789 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
33790 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
33791 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
33792 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
33793 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
33794 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
33795 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
33796 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
33797 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
33798 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
33799 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
33800 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
33801 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
33802 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
33803 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
33804 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
33805 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
33806 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
33807 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
33808 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
33809 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
33810 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
33811 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
33812 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
33813 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
33814 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
33815 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
33816 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33817 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
33818 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
33819 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
33820 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
33821 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
33822 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
33823 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
33824 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33825 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
33826 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33827 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33828 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
33829 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
33830 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
33831 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
33832 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
33833 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
33834 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
33835 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
33836 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
33837 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
33838 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
33839 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
33840 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33841 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
33842 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
33843 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
33844 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
33845 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
33846 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
33847 { (char *)"Dialog_GetParentForModalDialog", (PyCFunction) _wrap_Dialog_GetParentForModalDialog, METH_VARARGS | METH_KEYWORDS, NULL},
33848 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
33849 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
33850 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
33851 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
33852 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
33853 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
33854 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
33855 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
33856 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
33857 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
33858 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
33859 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
33860 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33861 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
33862 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
33863 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33864 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
33865 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
33866 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
33867 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
33868 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
33869 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
33870 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
33871 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
33872 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
33873 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
33874 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
33875 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
33876 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33877 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
33878 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
33879 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33880 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33881 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33882 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
33883 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
33884 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
33885 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
33886 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
33887 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
33888 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
33889 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
33890 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
33891 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
33892 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33893 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
33894 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33895 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
33896 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
33897 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
33898 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
33899 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
33900 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
33901 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
33902 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
33903 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33904 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
33905 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
33906 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
33907 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
33908 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
33909 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
33910 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33911 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
33912 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
33913 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
33914 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
33915 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
33916 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
33917 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
33918 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
33919 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
33920 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
33921 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
33922 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
33923 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
33924 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33925 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
33926 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
33927 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
33928 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
33929 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
33930 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
33931 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33932 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
33933 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33934 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
33935 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
33936 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
33937 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
33938 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
33939 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
33940 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
33941 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
33942 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
33943 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
33944 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
33945 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
33946 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
33947 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
33948 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
33949 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
33950 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
33951 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
33952 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
33953 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
33954 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
33955 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
33956 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
33957 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
33958 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
33959 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
33960 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
33961 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
33962 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
33963 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
33964 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
33965 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
33966 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
33967 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
33968 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
33969 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
33970 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
33971 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
33972 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
33973 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
33974 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
33975 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
33976 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
33977 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
33978 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
33979 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
33980 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
33981 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
33982 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33983 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
33984 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33985 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
33986 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
33987 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
33988 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
33989 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
33990 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
33991 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
33992 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
33993 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
33994 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
33995 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
33996 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33997 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
33998 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
33999 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34000 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
34001 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
34002 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
34003 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34004 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
34005 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
34006 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
34007 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34008 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
34009 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
34010 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
34011 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
34012 { (char *)"VarScrollHelperBase_EnablePhysicalScrolling", (PyCFunction) _wrap_VarScrollHelperBase_EnablePhysicalScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
34013 { (char *)"VarScrollHelperBase_HitTest", (PyCFunction) _wrap_VarScrollHelperBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34014 { (char *)"VarScrollHelperBase_RefreshAll", (PyCFunction)_wrap_VarScrollHelperBase_RefreshAll, METH_O, NULL},
34015 { (char *)"VarScrollHelperBase_GetVisibleBegin", (PyCFunction)_wrap_VarScrollHelperBase_GetVisibleBegin, METH_O, NULL},
34016 { (char *)"VarScrollHelperBase_GetVisibleEnd", (PyCFunction)_wrap_VarScrollHelperBase_GetVisibleEnd, METH_O, NULL},
34017 { (char *)"VarScrollHelperBase_IsVisible", (PyCFunction) _wrap_VarScrollHelperBase_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34018 { (char *)"VarScrollHelperBase_CalcScrolledPosition", (PyCFunction) _wrap_VarScrollHelperBase_CalcScrolledPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34019 { (char *)"VarScrollHelperBase_CalcUnscrolledPosition", (PyCFunction) _wrap_VarScrollHelperBase_CalcUnscrolledPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34020 { (char *)"VarScrollHelperBase_UpdateScrollbar", (PyCFunction)_wrap_VarScrollHelperBase_UpdateScrollbar, METH_O, NULL},
34021 { (char *)"VarScrollHelperBase_RemoveScrollbar", (PyCFunction)_wrap_VarScrollHelperBase_RemoveScrollbar, METH_O, NULL},
34022 { (char *)"VarScrollHelperBase_SetTargetWindow", (PyCFunction) _wrap_VarScrollHelperBase_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34023 { (char *)"VarScrollHelperBase_GetTargetWindow", (PyCFunction)_wrap_VarScrollHelperBase_GetTargetWindow, METH_O, NULL},
34024 { (char *)"VarScrollHelperBase_GetOrientationTargetSize", (PyCFunction)_wrap_VarScrollHelperBase_GetOrientationTargetSize, METH_O, NULL},
34025 { (char *)"VarScrollHelperBase_GetNonOrientationTargetSize", (PyCFunction)_wrap_VarScrollHelperBase_GetNonOrientationTargetSize, METH_O, NULL},
34026 { (char *)"VarScrollHelperBase_GetOrientation", (PyCFunction)_wrap_VarScrollHelperBase_GetOrientation, METH_O, NULL},
34027 { (char *)"VarScrollHelperBase_swigregister", VarScrollHelperBase_swigregister, METH_VARARGS, NULL},
34028 { (char *)"VarVScrollHelper_SetRowCount", (PyCFunction) _wrap_VarVScrollHelper_SetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
34029 { (char *)"VarVScrollHelper_ScrollToRow", (PyCFunction) _wrap_VarVScrollHelper_ScrollToRow, METH_VARARGS | METH_KEYWORDS, NULL},
34030 { (char *)"VarVScrollHelper_ScrollRows", (PyCFunction) _wrap_VarVScrollHelper_ScrollRows, METH_VARARGS | METH_KEYWORDS, NULL},
34031 { (char *)"VarVScrollHelper_ScrollRowPages", (PyCFunction) _wrap_VarVScrollHelper_ScrollRowPages, METH_VARARGS | METH_KEYWORDS, NULL},
34032 { (char *)"VarVScrollHelper_RefreshRow", (PyCFunction) _wrap_VarVScrollHelper_RefreshRow, METH_VARARGS | METH_KEYWORDS, NULL},
34033 { (char *)"VarVScrollHelper_RefreshRows", (PyCFunction) _wrap_VarVScrollHelper_RefreshRows, METH_VARARGS | METH_KEYWORDS, NULL},
34034 { (char *)"VarVScrollHelper_GetRowCount", (PyCFunction)_wrap_VarVScrollHelper_GetRowCount, METH_O, NULL},
34035 { (char *)"VarVScrollHelper_GetVisibleRowsBegin", (PyCFunction)_wrap_VarVScrollHelper_GetVisibleRowsBegin, METH_O, NULL},
34036 { (char *)"VarVScrollHelper_GetVisibleRowsEnd", (PyCFunction)_wrap_VarVScrollHelper_GetVisibleRowsEnd, METH_O, NULL},
34037 { (char *)"VarVScrollHelper_IsRowVisible", (PyCFunction) _wrap_VarVScrollHelper_IsRowVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34038 { (char *)"VarVScrollHelper_swigregister", VarVScrollHelper_swigregister, METH_VARARGS, NULL},
34039 { (char *)"VarHScrollHelper_SetColumnCount", (PyCFunction) _wrap_VarHScrollHelper_SetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
34040 { (char *)"VarHScrollHelper_ScrollToColumn", (PyCFunction) _wrap_VarHScrollHelper_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34041 { (char *)"VarHScrollHelper_ScrollColumns", (PyCFunction) _wrap_VarHScrollHelper_ScrollColumns, METH_VARARGS | METH_KEYWORDS, NULL},
34042 { (char *)"VarHScrollHelper_ScrollColumnPages", (PyCFunction) _wrap_VarHScrollHelper_ScrollColumnPages, METH_VARARGS | METH_KEYWORDS, NULL},
34043 { (char *)"VarHScrollHelper_RefreshColumn", (PyCFunction) _wrap_VarHScrollHelper_RefreshColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34044 { (char *)"VarHScrollHelper_RefreshColumns", (PyCFunction) _wrap_VarHScrollHelper_RefreshColumns, METH_VARARGS | METH_KEYWORDS, NULL},
34045 { (char *)"VarHScrollHelper_GetColumnCount", (PyCFunction)_wrap_VarHScrollHelper_GetColumnCount, METH_O, NULL},
34046 { (char *)"VarHScrollHelper_GetVisibleColumnsBegin", (PyCFunction)_wrap_VarHScrollHelper_GetVisibleColumnsBegin, METH_O, NULL},
34047 { (char *)"VarHScrollHelper_GetVisibleColumnsEnd", (PyCFunction)_wrap_VarHScrollHelper_GetVisibleColumnsEnd, METH_O, NULL},
34048 { (char *)"VarHScrollHelper_IsColumnVisible", (PyCFunction) _wrap_VarHScrollHelper_IsColumnVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34049 { (char *)"VarHScrollHelper_swigregister", VarHScrollHelper_swigregister, METH_VARARGS, NULL},
34050 { (char *)"VarHVScrollHelper_SetRowColumnCount", (PyCFunction) _wrap_VarHVScrollHelper_SetRowColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
34051 { (char *)"VarHVScrollHelper_EnablePhysicalScrolling", (PyCFunction) _wrap_VarHVScrollHelper_EnablePhysicalScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
34052 { (char *)"VarHVScrollHelper_ScrollToRowColumn", (PyCFunction) _wrap_VarHVScrollHelper_ScrollToRowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34053 { (char *)"VarHVScrollHelper_RefreshRowColumn", (PyCFunction) _wrap_VarHVScrollHelper_RefreshRowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34054 { (char *)"VarHVScrollHelper_RefreshRowsColumns", (PyCFunction) _wrap_VarHVScrollHelper_RefreshRowsColumns, METH_VARARGS | METH_KEYWORDS, NULL},
34055 { (char *)"VarHVScrollHelper_HitTest", (PyCFunction) _wrap_VarHVScrollHelper_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34056 { (char *)"VarHVScrollHelper_ScrollLayout", (PyCFunction)_wrap_VarHVScrollHelper_ScrollLayout, METH_O, NULL},
34057 { (char *)"VarHVScrollHelper_GetRowColumnCount", (PyCFunction)_wrap_VarHVScrollHelper_GetRowColumnCount, METH_O, NULL},
34058 { (char *)"VarHVScrollHelper_GetVisibleBegin", (PyCFunction)_wrap_VarHVScrollHelper_GetVisibleBegin, METH_O, NULL},
34059 { (char *)"VarHVScrollHelper_GetVisibleEnd", (PyCFunction)_wrap_VarHVScrollHelper_GetVisibleEnd, METH_O, NULL},
34060 { (char *)"VarHVScrollHelper_IsVisible", (PyCFunction) _wrap_VarHVScrollHelper_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34061 { (char *)"VarHVScrollHelper_swigregister", VarHVScrollHelper_swigregister, METH_VARARGS, NULL},
34062 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34063 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
34064 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34065 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34066 { (char *)"VScrolledWindow_GetRowsHeight", (PyCFunction) _wrap_VScrolledWindow_GetRowsHeight, METH_VARARGS | METH_KEYWORDS, NULL},
34067 { (char *)"VScrolledWindow_EstimateTotalHeight", (PyCFunction)_wrap_VScrolledWindow_EstimateTotalHeight, METH_O, NULL},
34068 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34069 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
34070 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
34071 { (char *)"new_HScrolledWindow", (PyCFunction) _wrap_new_HScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34072 { (char *)"new_PreHScrolledWindow", (PyCFunction)_wrap_new_PreHScrolledWindow, METH_NOARGS, NULL},
34073 { (char *)"HScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_HScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34074 { (char *)"HScrolledWindow_Create", (PyCFunction) _wrap_HScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34075 { (char *)"HScrolledWindow_HitTest", (PyCFunction) _wrap_HScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34076 { (char *)"HScrolledWindow_GetColumnsWidth", (PyCFunction) _wrap_HScrolledWindow_GetColumnsWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34077 { (char *)"HScrolledWindow_EstimateTotalWidth", (PyCFunction)_wrap_HScrolledWindow_EstimateTotalWidth, METH_O, NULL},
34078 { (char *)"HScrolledWindow_swigregister", HScrolledWindow_swigregister, METH_VARARGS, NULL},
34079 { (char *)"HScrolledWindow_swiginit", HScrolledWindow_swiginit, METH_VARARGS, NULL},
34080 { (char *)"new_HVScrolledWindow", (PyCFunction) _wrap_new_HVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34081 { (char *)"new_PreHVScrolledWindow", (PyCFunction)_wrap_new_PreHVScrolledWindow, METH_NOARGS, NULL},
34082 { (char *)"HVScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_HVScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34083 { (char *)"HVScrolledWindow_Create", (PyCFunction) _wrap_HVScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34084 { (char *)"HVScrolledWindow_GetRowsHeight", (PyCFunction) _wrap_HVScrolledWindow_GetRowsHeight, METH_VARARGS | METH_KEYWORDS, NULL},
34085 { (char *)"HVScrolledWindow_EstimateTotalHeight", (PyCFunction)_wrap_HVScrolledWindow_EstimateTotalHeight, METH_O, NULL},
34086 { (char *)"HVScrolledWindow_GetColumnsWidth", (PyCFunction) _wrap_HVScrolledWindow_GetColumnsWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34087 { (char *)"HVScrolledWindow_EstimateTotalWidth", (PyCFunction)_wrap_HVScrolledWindow_EstimateTotalWidth, METH_O, NULL},
34088 { (char *)"HVScrolledWindow_swigregister", HVScrolledWindow_swigregister, METH_VARARGS, NULL},
34089 { (char *)"HVScrolledWindow_swiginit", HVScrolledWindow_swiginit, METH_VARARGS, NULL},
34090 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34091 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
34092 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34093 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34094 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
34095 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
34096 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
34097 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
34098 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34099 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
34100 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
34101 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34102 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
34103 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
34104 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
34105 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
34106 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34107 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
34108 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
34109 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
34110 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
34111 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
34112 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34113 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
34114 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
34115 { (char *)"VListBox_RefreshSelected", (PyCFunction)_wrap_VListBox_RefreshSelected, METH_O, NULL},
34116 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
34117 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
34118 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
34119 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
34120 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34121 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
34122 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34123 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34124 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
34125 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
34126 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
34127 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
34128 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
34129 { (char *)"new_SimpleHtmlListBox", (PyCFunction) _wrap_new_SimpleHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34130 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction)_wrap_new_PreSimpleHtmlListBox, METH_NOARGS, NULL},
34131 { (char *)"SimpleHtmlListBox_Create", (PyCFunction) _wrap_SimpleHtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34132 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister, METH_VARARGS, NULL},
34133 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit, METH_VARARGS, NULL},
34134 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
34135 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
34136 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34137 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
34138 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
34139 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
34140 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
34141 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
34142 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
34143 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
34144 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
34145 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34146 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
34147 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
34148 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
34149 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
34150 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
34151 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
34152 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
34153 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
34154 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
34155 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
34156 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
34157 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
34158 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34159 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
34160 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
34161 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
34162 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
34163 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34164 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
34165 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
34166 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
34167 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
34168 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
34169 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
34170 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34171 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
34172 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
34173 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
34174 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
34175 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
34176 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
34177 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
34178 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
34179 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
34180 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
34181 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
34182 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
34183 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
34184 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
34185 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
34186 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
34187 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34188 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
34189 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
34190 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
34191 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
34192 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34193 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
34194 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
34195 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34196 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
34197 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
34198 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34199 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
34200 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34201 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
34202 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
34203 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34204 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
34205 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
34206 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34207 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
34208 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
34209 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
34210 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
34211 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
34212 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
34213 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
34214 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
34215 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
34216 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
34217 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
34218 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
34219 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
34220 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
34221 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
34222 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
34223 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34224 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34225 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
34226 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
34227 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34228 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
34229 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
34230 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
34231 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
34232 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34233 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
34234 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
34235 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34236 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
34237 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
34238 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
34239 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
34240 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
34241 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34242 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
34243 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
34244 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
34245 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
34246 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34247 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
34248 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
34249 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
34250 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
34251 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
34252 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
34253 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
34254 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
34255 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
34256 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34257 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
34258 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
34259 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
34260 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
34261 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34262 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
34263 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34264 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
34265 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
34266 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
34267 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
34268 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34269 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
34270 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34271 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
34272 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
34273 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
34274 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
34275 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
34276 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
34277 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
34278 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
34279 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
34280 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34281 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
34282 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34283 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
34284 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
34285 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
34286 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34287 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
34288 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34289 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
34290 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
34291 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34292 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
34293 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34294 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
34295 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34296 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
34297 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
34298 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
34299 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
34300 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
34301 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
34302 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
34303 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
34304 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
34305 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
34306 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
34307 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
34308 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
34309 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
34310 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34311 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
34312 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34313 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
34314 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
34315 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
34316 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
34317 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
34318 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
34319 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
34320 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
34321 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
34322 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
34323 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
34324 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
34325 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34326 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
34327 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34328 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
34329 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34330 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
34331 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
34332 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
34333 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
34334 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
34335 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
34336 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
34337 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
34338 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
34339 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
34340 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
34341 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
34342 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
34343 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
34344 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
34345 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
34346 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
34347 { (char *)"PrintData_IsOrientationReversed", (PyCFunction)_wrap_PrintData_IsOrientationReversed, METH_O, NULL},
34348 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
34349 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
34350 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
34351 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
34352 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
34353 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
34354 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
34355 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
34356 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
34357 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
34358 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
34359 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
34360 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
34361 { (char *)"PrintData_SetOrientationReversed", (PyCFunction) _wrap_PrintData_SetOrientationReversed, METH_VARARGS | METH_KEYWORDS, NULL},
34362 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
34363 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
34364 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
34365 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
34366 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
34367 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
34368 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
34369 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
34370 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
34371 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
34372 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
34373 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
34374 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
34375 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
34376 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
34377 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
34378 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
34379 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34380 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34381 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
34382 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
34383 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
34384 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
34385 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
34386 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
34387 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
34388 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
34389 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
34390 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
34391 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
34392 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
34393 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
34394 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
34395 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
34396 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
34397 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
34398 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
34399 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34400 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34401 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
34402 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
34403 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
34404 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
34405 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
34406 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
34407 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
34408 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
34409 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
34410 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
34411 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
34412 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34413 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
34414 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
34415 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
34416 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
34417 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
34418 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
34419 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
34420 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
34421 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
34422 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
34423 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
34424 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
34425 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
34426 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
34427 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
34428 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
34429 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
34430 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
34431 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
34432 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
34433 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
34434 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
34435 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
34436 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34437 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
34438 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
34439 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
34440 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34441 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
34442 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34443 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
34444 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
34445 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
34446 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
34447 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
34448 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
34449 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
34450 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
34451 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
34452 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34453 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
34454 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
34455 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
34456 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
34457 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
34458 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
34459 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
34460 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
34461 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
34462 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34463 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
34464 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
34465 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
34466 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34467 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
34468 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
34469 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
34470 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
34471 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
34472 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
34473 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
34474 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34475 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
34476 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
34477 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
34478 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
34479 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
34480 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34481 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
34482 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
34483 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34484 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
34485 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
34486 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
34487 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
34488 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
34489 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
34490 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
34491 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
34492 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
34493 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
34494 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
34495 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
34496 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
34497 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
34498 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
34499 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
34500 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
34501 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
34502 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
34503 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
34504 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
34505 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
34506 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
34507 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
34508 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
34509 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
34510 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
34511 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
34512 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
34513 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
34514 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34515 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
34516 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
34517 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
34518 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
34519 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
34520 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
34521 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
34522 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
34523 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
34524 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
34525 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
34526 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
34527 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
34528 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
34529 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
34530 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
34531 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
34532 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
34533 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
34534 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
34535 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
34536 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
34537 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
34538 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
34539 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34540 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
34541 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
34542 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
34543 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
34544 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
34545 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
34546 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
34547 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
34548 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
34549 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
34550 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
34551 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
34552 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
34553 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
34554 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
34555 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
34556 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
34557 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
34558 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
34559 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34560 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
34561 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
34562 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34563 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34564 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
34565 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
34566 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
34567 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
34568 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
34569 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
34570 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
34571 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
34572 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34573 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
34574 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
34575 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
34576 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
34577 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
34578 { NULL, NULL, 0, NULL }
34579 };
34580
34581
34582 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
34583
34584 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
34585 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34586 }
34587 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
34588 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
34589 }
34590 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
34591 return (void *)((wxEvent *) ((wxMenuEvent *) x));
34592 }
34593 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
34594 return (void *)((wxEvent *) ((wxCloseEvent *) x));
34595 }
34596 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
34597 return (void *)((wxEvent *) ((wxMouseEvent *) x));
34598 }
34599 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
34600 return (void *)((wxEvent *) ((wxEraseEvent *) x));
34601 }
34602 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
34603 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
34604 }
34605 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
34606 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
34607 }
34608 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
34609 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
34610 }
34611 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
34612 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
34613 }
34614 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
34615 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
34616 }
34617 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
34618 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
34619 }
34620 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
34621 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
34622 }
34623 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
34624 return (void *)((wxEvent *) ((wxPyEvent *) x));
34625 }
34626 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
34627 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
34628 }
34629 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
34630 return (void *)((wxEvent *) ((wxIdleEvent *) x));
34631 }
34632 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
34633 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
34634 }
34635 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
34636 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
34637 }
34638 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
34639 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
34640 }
34641 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
34642 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
34643 }
34644 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
34645 return (void *)((wxEvent *) ((wxActivateEvent *) x));
34646 }
34647 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
34648 return (void *)((wxEvent *) ((wxSizeEvent *) x));
34649 }
34650 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
34651 return (void *)((wxEvent *) ((wxMoveEvent *) x));
34652 }
34653 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
34654 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
34655 }
34656 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
34657 return (void *)((wxEvent *) ((wxPaintEvent *) x));
34658 }
34659 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
34660 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
34661 }
34662 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
34663 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
34664 }
34665 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
34666 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
34667 }
34668 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
34669 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
34670 }
34671 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
34672 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
34673 }
34674 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
34675 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
34676 }
34677 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
34678 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
34679 }
34680 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
34681 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
34682 }
34683 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
34684 return (void *)((wxEvent *) ((wxFocusEvent *) x));
34685 }
34686 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
34687 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
34688 }
34689 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
34690 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
34691 }
34692 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
34693 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
34694 }
34695 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
34696 return (void *)((wxEvent *) ((wxShowEvent *) x));
34697 }
34698 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
34699 return (void *)((wxEvent *) ((wxCommandEvent *) x));
34700 }
34701 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
34702 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
34703 }
34704 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
34705 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
34706 }
34707 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
34708 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
34709 }
34710 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
34711 return (void *)((wxEvent *) ((wxKeyEvent *) x));
34712 }
34713 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
34714 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
34715 }
34716 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
34717 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
34718 }
34719 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
34720 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
34721 }
34722 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x) {
34723 return (void *)((wxItemContainer *) ((wxSimpleHtmlListBox *) x));
34724 }
34725 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
34726 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
34727 }
34728 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
34729 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
34730 }
34731 static void *_p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper(void *x) {
34732 return (void *)((wxVarHScrollHelper *) ((wxPyHScrolledWindow *) x));
34733 }
34734 static void *_p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper(void *x) {
34735 return (void *)((wxVarHScrollHelper *) (wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
34736 }
34737 static void *_p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper(void *x) {
34738 return (void *)((wxVarHScrollHelper *) ((wxVarHVScrollHelper *) x));
34739 }
34740 static void *_p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper(void *x) {
34741 return (void *)((wxVarVScrollHelper *) ((wxPyVScrolledWindow *) x));
34742 }
34743 static void *_p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper(void *x) {
34744 return (void *)((wxVarVScrollHelper *) (wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
34745 }
34746 static void *_p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper(void *x) {
34747 return (void *)((wxVarVScrollHelper *) ((wxVarHVScrollHelper *) x));
34748 }
34749 static void *_p_wxPyVListBoxTo_p_wxVarVScrollHelper(void *x) {
34750 return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34751 }
34752 static void *_p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper(void *x) {
34753 return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34754 }
34755 static void *_p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper(void *x) {
34756 return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
34757 }
34758 static void *_p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper(void *x) {
34759 return (void *)((wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
34760 }
34761 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
34762 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
34763 }
34764 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
34765 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
34766 }
34767 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) {
34768 return (void *)((wxEvtHandler *) ((wxEventBlocker *) x));
34769 }
34770 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
34771 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
34772 }
34773 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
34774 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
34775 }
34776 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
34777 return (void *)((wxEvtHandler *) ((wxValidator *) x));
34778 }
34779 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
34780 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
34781 }
34782 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
34783 return (void *)((wxEvtHandler *) ((wxMenu *) x));
34784 }
34785 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
34786 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
34787 }
34788 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
34789 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
34790 }
34791 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
34792 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
34793 }
34794 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
34795 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
34796 }
34797 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
34798 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
34799 }
34800 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
34801 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
34802 }
34803 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
34804 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
34805 }
34806 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
34807 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
34808 }
34809 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
34810 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
34811 }
34812 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
34813 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
34814 }
34815 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
34816 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
34817 }
34818 static void *_p_wxPyHVScrolledWindowTo_p_wxEvtHandler(void *x) {
34819 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyHVScrolledWindow *) x));
34820 }
34821 static void *_p_wxPyHScrolledWindowTo_p_wxEvtHandler(void *x) {
34822 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyHScrolledWindow *) x));
34823 }
34824 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
34825 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
34826 }
34827 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
34828 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
34829 }
34830 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
34831 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
34832 }
34833 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
34834 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
34835 }
34836 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
34837 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
34838 }
34839 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
34840 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
34841 }
34842 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
34843 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
34844 }
34845 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
34846 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
34847 }
34848 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
34849 return (void *)((wxEvtHandler *) ((wxWindow *) x));
34850 }
34851 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
34852 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
34853 }
34854 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
34855 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
34856 }
34857 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
34858 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
34859 }
34860 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
34861 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
34862 }
34863 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
34864 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
34865 }
34866 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
34867 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
34868 }
34869 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
34870 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34871 }
34872 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
34873 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
34874 }
34875 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
34876 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
34877 }
34878 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
34879 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
34880 }
34881 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
34882 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
34883 }
34884 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
34885 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
34886 }
34887 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
34888 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
34889 }
34890 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
34891 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34892 }
34893 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
34894 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34895 }
34896 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
34897 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
34898 }
34899 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
34900 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
34901 }
34902 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
34903 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
34904 }
34905 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
34906 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
34907 }
34908 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
34909 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
34910 }
34911 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
34912 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
34913 }
34914 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
34915 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
34916 }
34917 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
34918 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
34919 }
34920 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
34921 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
34922 }
34923 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
34924 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
34925 }
34926 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x) {
34927 return (void *)((wxPyVListBox *) (wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
34928 }
34929 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x) {
34930 return (void *)((wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
34931 }
34932 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
34933 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
34934 }
34935 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
34936 return (void *)((wxFrame *) ((wxProgressDialog *) x));
34937 }
34938 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
34939 return (void *)((wxFrame *) ((wxTipWindow *) x));
34940 }
34941 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
34942 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
34943 }
34944 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
34945 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34946 }
34947 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
34948 return (void *)((wxFrame *) ((wxMiniFrame *) x));
34949 }
34950 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
34951 return (void *)((wxFrame *) ((wxSplashScreen *) x));
34952 }
34953 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
34954 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
34955 }
34956 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
34957 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
34958 }
34959 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
34960 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
34961 }
34962 static void *_p_wxEventBlockerTo_p_wxObject(void *x) {
34963 return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x));
34964 }
34965 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
34966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
34967 }
34968 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
34969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34970 }
34971 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
34972 return (void *)((wxObject *) ((wxSizerItem *) x));
34973 }
34974 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
34975 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
34976 }
34977 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
34978 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
34979 }
34980 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
34981 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
34982 }
34983 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
34984 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
34985 }
34986 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
34987 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
34988 }
34989 static void *_p_wxSizerTo_p_wxObject(void *x) {
34990 return (void *)((wxObject *) ((wxSizer *) x));
34991 }
34992 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
34993 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
34994 }
34995 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
34996 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
34997 }
34998 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
34999 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
35000 }
35001 static void *_p_wxEventTo_p_wxObject(void *x) {
35002 return (void *)((wxObject *) ((wxEvent *) x));
35003 }
35004 static void *_p_wxFontDataTo_p_wxObject(void *x) {
35005 return (void *)((wxObject *) ((wxFontData *) x));
35006 }
35007 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
35008 return (void *)((wxObject *) ((wxPrintData *) x));
35009 }
35010 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
35011 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
35012 }
35013 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
35014 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
35015 }
35016 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
35017 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
35018 }
35019 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
35020 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
35021 }
35022 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
35023 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
35024 }
35025 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
35026 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
35027 }
35028 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
35029 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
35030 }
35031 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
35032 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
35033 }
35034 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
35035 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
35036 }
35037 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
35038 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
35039 }
35040 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
35041 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
35042 }
35043 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
35044 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35045 }
35046 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
35047 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
35048 }
35049 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
35050 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
35051 }
35052 static void *_p_wxControlTo_p_wxObject(void *x) {
35053 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
35054 }
35055 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
35056 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
35057 }
35058 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
35059 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
35060 }
35061 static void *_p_wxFSFileTo_p_wxObject(void *x) {
35062 return (void *)((wxObject *) ((wxFSFile *) x));
35063 }
35064 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
35065 return (void *)((wxObject *) ((wxFindReplaceData *) x));
35066 }
35067 static void *_p_wxPySizerTo_p_wxObject(void *x) {
35068 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
35069 }
35070 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
35071 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
35072 }
35073 static void *_p_wxColourDataTo_p_wxObject(void *x) {
35074 return (void *)((wxObject *) ((wxColourData *) x));
35075 }
35076 static void *_p_wxPyEventTo_p_wxObject(void *x) {
35077 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
35078 }
35079 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
35080 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
35081 }
35082 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
35083 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
35084 }
35085 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
35086 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
35087 }
35088 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
35089 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
35090 }
35091 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
35092 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
35093 }
35094 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
35095 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
35096 }
35097 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
35098 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
35099 }
35100 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
35101 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35102 }
35103 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
35104 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
35105 }
35106 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
35107 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
35108 }
35109 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
35110 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
35111 }
35112 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
35113 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
35114 }
35115 static void *_p_wxShowEventTo_p_wxObject(void *x) {
35116 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
35117 }
35118 static void *_p_wxPrinterTo_p_wxObject(void *x) {
35119 return (void *)((wxObject *) ((wxPrinter *) x));
35120 }
35121 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
35122 return (void *)((wxObject *) ((wxMenuItem *) x));
35123 }
35124 static void *_p_wxDateEventTo_p_wxObject(void *x) {
35125 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
35126 }
35127 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
35128 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
35129 }
35130 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
35131 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
35132 }
35133 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
35134 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
35135 }
35136 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
35137 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
35138 }
35139 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
35140 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
35141 }
35142 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
35143 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
35144 }
35145 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
35146 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
35147 }
35148 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
35149 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
35150 }
35151 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
35152 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
35153 }
35154 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
35155 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
35156 }
35157 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
35158 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
35159 }
35160 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
35161 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
35162 }
35163 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
35164 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
35165 }
35166 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
35167 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
35168 }
35169 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
35170 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
35171 }
35172 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
35173 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
35174 }
35175 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
35176 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
35177 }
35178 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
35179 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
35180 }
35181 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
35182 return (void *)((wxObject *) ((wxImageHandler *) x));
35183 }
35184 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
35185 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
35186 }
35187 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
35188 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
35189 }
35190 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
35191 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
35192 }
35193 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
35194 return (void *)((wxObject *) ((wxEvtHandler *) x));
35195 }
35196 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
35197 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
35198 }
35199 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
35200 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
35201 }
35202 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
35203 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35204 }
35205 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
35206 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35207 }
35208 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
35209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35210 }
35211 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
35212 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
35213 }
35214 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
35215 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35216 }
35217 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
35218 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
35219 }
35220 static void *_p_wxImageTo_p_wxObject(void *x) {
35221 return (void *)((wxObject *) ((wxImage *) x));
35222 }
35223 static void *_p_wxFrameTo_p_wxObject(void *x) {
35224 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
35225 }
35226 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
35227 return (void *)((wxObject *) ((wxPyPrintout *) x));
35228 }
35229 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
35230 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
35231 }
35232 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
35233 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
35234 }
35235 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
35236 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
35237 }
35238 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
35239 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
35240 }
35241 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
35242 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35243 }
35244 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
35245 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
35246 }
35247 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
35248 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
35249 }
35250 static void *_p_wxWindowTo_p_wxObject(void *x) {
35251 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
35252 }
35253 static void *_p_wxMenuTo_p_wxObject(void *x) {
35254 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
35255 }
35256 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
35257 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
35258 }
35259 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
35260 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
35261 }
35262 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
35263 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
35264 }
35265 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
35266 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
35267 }
35268 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
35269 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
35270 }
35271 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
35272 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
35273 }
35274 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
35275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
35276 }
35277 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
35278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
35279 }
35280 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
35281 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
35282 }
35283 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
35284 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
35285 }
35286 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
35287 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
35288 }
35289 static void *_p_wxPyHScrolledWindowTo_p_wxObject(void *x) {
35290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyHScrolledWindow *) x));
35291 }
35292 static void *_p_wxPyHVScrolledWindowTo_p_wxObject(void *x) {
35293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyHVScrolledWindow *) x));
35294 }
35295 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
35296 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
35297 }
35298 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
35299 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35300 }
35301 static void *_p_wxSashEventTo_p_wxObject(void *x) {
35302 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
35303 }
35304 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
35305 return (void *)((wxObject *) ((wxPrintPreview *) x));
35306 }
35307 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
35308 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
35309 }
35310 static void *_p_wxPanelTo_p_wxObject(void *x) {
35311 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
35312 }
35313 static void *_p_wxDialogTo_p_wxObject(void *x) {
35314 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
35315 }
35316 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
35317 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
35318 }
35319 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
35320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
35321 }
35322 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
35323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
35324 }
35325 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
35326 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
35327 }
35328 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
35329 return (void *)((wxObject *) ((wxPrintDialog *) x));
35330 }
35331 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
35332 return (void *)((wxObject *) ((wxFileSystem *) x));
35333 }
35334 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
35335 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
35336 }
35337 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
35338 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
35339 }
35340 static void *_p_wxPyAppTo_p_wxObject(void *x) {
35341 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
35342 }
35343 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
35344 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
35345 }
35346 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
35347 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
35348 }
35349 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
35350 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
35351 }
35352 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
35353 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
35354 }
35355 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
35356 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
35357 }
35358 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
35359 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
35360 }
35361 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
35362 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35363 }
35364 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
35365 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
35366 }
35367 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
35368 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
35369 }
35370 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
35371 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
35372 }
35373 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
35374 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
35375 }
35376 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
35377 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
35378 }
35379 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
35380 return (void *)((wxObject *) ((wxPrintDialogData *) x));
35381 }
35382 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
35383 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
35384 }
35385 static void *_p_wxValidatorTo_p_wxObject(void *x) {
35386 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
35387 }
35388 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
35389 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
35390 }
35391 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
35392 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
35393 }
35394 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
35395 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
35396 }
35397 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
35398 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
35399 }
35400 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
35401 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
35402 }
35403 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
35404 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
35405 }
35406 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
35407 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
35408 }
35409 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
35410 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
35411 }
35412 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
35413 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
35414 }
35415 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
35416 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
35417 }
35418 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
35419 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
35420 }
35421 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
35422 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
35423 }
35424 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
35425 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
35426 }
35427 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
35428 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35429 }
35430 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
35431 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
35432 }
35433 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
35434 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
35435 }
35436 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
35437 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
35438 }
35439 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
35440 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
35441 }
35442 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
35443 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
35444 }
35445 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
35446 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
35447 }
35448 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
35449 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
35450 }
35451 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
35452 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
35453 }
35454 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
35455 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35456 }
35457 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
35458 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
35459 }
35460 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
35461 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
35462 }
35463 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
35464 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
35465 }
35466 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
35467 return (void *)((wxWindow *) ((wxMenuBar *) x));
35468 }
35469 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
35470 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
35471 }
35472 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
35473 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
35474 }
35475 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
35476 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35477 }
35478 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
35479 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
35480 }
35481 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
35482 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
35483 }
35484 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
35485 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
35486 }
35487 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
35488 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
35489 }
35490 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
35491 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
35492 }
35493 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
35494 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
35495 }
35496 static void *_p_wxPanelTo_p_wxWindow(void *x) {
35497 return (void *)((wxWindow *) ((wxPanel *) x));
35498 }
35499 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
35500 return (void *)((wxWindow *) ((wxStatusBar *) x));
35501 }
35502 static void *_p_wxPyHVScrolledWindowTo_p_wxWindow(void *x) {
35503 return (void *)((wxWindow *) (wxPanel *) ((wxPyHVScrolledWindow *) x));
35504 }
35505 static void *_p_wxPyHScrolledWindowTo_p_wxWindow(void *x) {
35506 return (void *)((wxWindow *) (wxPanel *) ((wxPyHScrolledWindow *) x));
35507 }
35508 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
35509 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
35510 }
35511 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
35512 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
35513 }
35514 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
35515 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
35516 }
35517 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
35518 return (void *)((wxWindow *) ((wxPopupWindow *) x));
35519 }
35520 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
35521 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
35522 }
35523 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
35524 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
35525 }
35526 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
35527 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
35528 }
35529 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
35530 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
35531 }
35532 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
35533 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
35534 }
35535 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
35536 return (void *)((wxWindow *) ((wxSashWindow *) x));
35537 }
35538 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
35539 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
35540 }
35541 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
35542 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35543 }
35544 static void *_p_wxControlTo_p_wxWindow(void *x) {
35545 return (void *)((wxWindow *) ((wxControl *) x));
35546 }
35547 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
35548 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
35549 }
35550 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
35551 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35552 }
35553 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
35554 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
35555 }
35556 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
35557 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
35558 }
35559 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
35560 return (void *)((wxWindow *) ((wxPyWindow *) x));
35561 }
35562 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
35563 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
35564 }
35565 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
35566 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35567 }
35568 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
35569 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35570 }
35571 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
35572 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35573 }
35574 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
35575 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
35576 }
35577 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
35578 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35579 }
35580 static void *_p_wxFrameTo_p_wxWindow(void *x) {
35581 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
35582 }
35583 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
35584 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
35585 }
35586 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
35587 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
35588 }
35589 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
35590 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
35591 }
35592 static void *_p_wxDialogTo_p_wxWindow(void *x) {
35593 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
35594 }
35595 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
35596 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
35597 }
35598 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
35599 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35600 }
35601 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
35602 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
35603 }
35604 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
35605 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35606 }
35607 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
35608 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35609 }
35610 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
35611 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
35612 }
35613 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
35614 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
35615 }
35616 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
35617 return (void *)((wxDialog *) ((wxColourDialog *) x));
35618 }
35619 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
35620 return (void *)((wxDialog *) ((wxDirDialog *) x));
35621 }
35622 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
35623 return (void *)((wxDialog *) ((wxFontDialog *) x));
35624 }
35625 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
35626 return (void *)((wxDialog *) ((wxFileDialog *) x));
35627 }
35628 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
35629 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
35630 }
35631 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
35632 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
35633 }
35634 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
35635 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
35636 }
35637 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
35638 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35639 }
35640 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
35641 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
35642 }
35643 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
35644 return (void *)((wxDialog *) ((wxMessageDialog *) x));
35645 }
35646 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
35647 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
35648 }
35649 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
35650 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
35651 }
35652 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
35653 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
35654 }
35655 static void *_p_wxPyHScrolledWindowTo_p_wxPanel(void *x) {
35656 return (void *)((wxPanel *) ((wxPyHScrolledWindow *) x));
35657 }
35658 static void *_p_wxPyHVScrolledWindowTo_p_wxPanel(void *x) {
35659 return (void *)((wxPanel *) ((wxPyHVScrolledWindow *) x));
35660 }
35661 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
35662 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35663 }
35664 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
35665 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35666 }
35667 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
35668 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35669 }
35670 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
35671 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35672 }
35673 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
35674 return (void *)((wxPanel *) ((wxPyPanel *) x));
35675 }
35676 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
35677 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
35678 }
35679 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
35680 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
35681 }
35682 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
35683 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35684 }
35685 static void *_p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase(void *x) {
35686 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *) ((wxPyVScrolledWindow *) x));
35687 }
35688 static void *_p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase(void *x) {
35689 return (void *)((wxVarScrollHelperBase *) (wxVarHScrollHelper *) ((wxPyHScrolledWindow *) x));
35690 }
35691 static void *_p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase(void *x) {
35692 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
35693 }
35694 static void *_p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase(void *x) {
35695 return (void *)((wxVarScrollHelperBase *) ((wxVarVScrollHelper *) x));
35696 }
35697 static void *_p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase(void *x) {
35698 return (void *)((wxVarScrollHelperBase *) ((wxVarHScrollHelper *) x));
35699 }
35700 static void *_p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase(void *x) {
35701 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *) ((wxVarHVScrollHelper *) x));
35702 }
35703 static void *_p_wxPyVListBoxTo_p_wxVarScrollHelperBase(void *x) {
35704 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35705 }
35706 static void *_p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase(void *x) {
35707 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35708 }
35709 static void *_p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase(void *x) {
35710 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35711 }
35712 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
35713 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
35714 }
35715 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
35716 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
35717 }
35718 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
35719 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
35720 }
35721 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
35722 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
35723 }
35724 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
35725 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
35726 }
35727 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
35728 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
35729 }
35730 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
35731 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
35732 }
35733 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
35734 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35735 }
35736 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
35737 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
35738 }
35739 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
35740 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
35741 }
35742 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
35743 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
35744 }
35745 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
35746 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
35747 }
35748 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
35749 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
35750 }
35751 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
35752 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35753 }
35754 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
35755 return (void *)((wxValidator *) ((wxPyValidator *) x));
35756 }
35757 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
35758 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
35759 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};
35760 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
35761 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
35762 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
35763 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
35764 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
35765 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
35766 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
35767 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
35768 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
35769 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
35770 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
35771 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
35772 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
35773 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
35774 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
35775 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
35776 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
35777 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
35778 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
35779 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
35780 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
35781 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
35782 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
35783 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
35784 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
35785 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
35786 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
35787 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
35788 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
35789 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
35790 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
35791 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
35792 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
35793 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
35794 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
35795 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
35796 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
35797 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
35798 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
35799 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
35800 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
35801 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
35802 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
35803 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
35804 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
35805 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
35806 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
35807 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
35808 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
35809 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
35810 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
35811 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
35812 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
35813 static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
35814 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
35815 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
35816 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
35817 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
35818 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
35819 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
35820 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
35821 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
35822 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
35823 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
35824 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
35825 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
35826 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
35827 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
35828 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
35829 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
35830 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
35831 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
35832 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
35833 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
35834 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
35835 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
35836 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
35837 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
35838 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
35839 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
35840 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
35841 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
35842 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
35843 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
35844 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
35845 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
35846 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
35847 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
35848 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
35849 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
35850 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
35851 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
35852 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
35853 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
35854 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
35855 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
35856 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
35857 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
35858 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
35859 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
35860 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
35861 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
35862 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
35863 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
35864 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
35865 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
35866 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
35867 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
35868 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
35869 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
35870 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
35871 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
35872 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
35873 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
35874 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
35875 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
35876 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
35877 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
35878 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
35879 static swig_type_info _swigt__p_wxPosition = {"_p_wxPosition", "wxPosition *", 0, 0, (void*)0, 0};
35880 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
35881 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
35882 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
35883 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
35884 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
35885 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
35886 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
35887 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
35888 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
35889 static swig_type_info _swigt__p_wxPyHScrolledWindow = {"_p_wxPyHScrolledWindow", "wxPyHScrolledWindow *", 0, 0, (void*)0, 0};
35890 static swig_type_info _swigt__p_wxPyHVScrolledWindow = {"_p_wxPyHVScrolledWindow", "wxPyHVScrolledWindow *", 0, 0, (void*)0, 0};
35891 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
35892 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
35893 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
35894 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
35895 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
35896 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
35897 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
35898 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
35899 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
35900 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
35901 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
35902 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
35903 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
35904 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
35905 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
35906 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
35907 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
35908 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
35909 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
35910 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
35911 static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
35912 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
35913 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
35914 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
35915 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
35916 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
35917 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
35918 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
35919 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
35920 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
35921 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
35922 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
35923 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
35924 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
35925 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
35926 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
35927 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
35928 static swig_type_info _swigt__p_wxVarHScrollHelper = {"_p_wxVarHScrollHelper", "wxVarHScrollHelper *", 0, 0, (void*)0, 0};
35929 static swig_type_info _swigt__p_wxVarHVScrollHelper = {"_p_wxVarHVScrollHelper", "wxVarHVScrollHelper *", 0, 0, (void*)0, 0};
35930 static swig_type_info _swigt__p_wxVarScrollHelperBase = {"_p_wxVarScrollHelperBase", "wxVarScrollHelperBase *", 0, 0, (void*)0, 0};
35931 static swig_type_info _swigt__p_wxVarVScrollHelper = {"_p_wxVarVScrollHelper", "wxVarVScrollHelper *", 0, 0, (void*)0, 0};
35932 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
35933 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
35934
35935 static swig_type_info *swig_type_initial[] = {
35936 &_swigt__p_bool,
35937 &_swigt__p_char,
35938 &_swigt__p_form_ops_t,
35939 &_swigt__p_int,
35940 &_swigt__p_unsigned_char,
35941 &_swigt__p_unsigned_int,
35942 &_swigt__p_unsigned_long,
35943 &_swigt__p_wxANIHandler,
35944 &_swigt__p_wxAcceleratorTable,
35945 &_swigt__p_wxActivateEvent,
35946 &_swigt__p_wxArrayInt,
35947 &_swigt__p_wxArrayString,
35948 &_swigt__p_wxBMPHandler,
35949 &_swigt__p_wxBitmap,
35950 &_swigt__p_wxBoxSizer,
35951 &_swigt__p_wxCURHandler,
35952 &_swigt__p_wxCalculateLayoutEvent,
35953 &_swigt__p_wxChildFocusEvent,
35954 &_swigt__p_wxClipboardTextEvent,
35955 &_swigt__p_wxCloseEvent,
35956 &_swigt__p_wxColour,
35957 &_swigt__p_wxColourData,
35958 &_swigt__p_wxColourDialog,
35959 &_swigt__p_wxCommandEvent,
35960 &_swigt__p_wxContextMenuEvent,
35961 &_swigt__p_wxControl,
35962 &_swigt__p_wxControlWithItems,
35963 &_swigt__p_wxDC,
35964 &_swigt__p_wxDateEvent,
35965 &_swigt__p_wxDialog,
35966 &_swigt__p_wxDirDialog,
35967 &_swigt__p_wxDisplayChangedEvent,
35968 &_swigt__p_wxDropFilesEvent,
35969 &_swigt__p_wxDuplexMode,
35970 &_swigt__p_wxEraseEvent,
35971 &_swigt__p_wxEvent,
35972 &_swigt__p_wxEventBlocker,
35973 &_swigt__p_wxEvtHandler,
35974 &_swigt__p_wxFSFile,
35975 &_swigt__p_wxFileDialog,
35976 &_swigt__p_wxFileSystem,
35977 &_swigt__p_wxFindDialogEvent,
35978 &_swigt__p_wxFindReplaceData,
35979 &_swigt__p_wxFindReplaceDialog,
35980 &_swigt__p_wxFlexGridSizer,
35981 &_swigt__p_wxFocusEvent,
35982 &_swigt__p_wxFont,
35983 &_swigt__p_wxFontData,
35984 &_swigt__p_wxFontDialog,
35985 &_swigt__p_wxFrame,
35986 &_swigt__p_wxGBSizerItem,
35987 &_swigt__p_wxGIFHandler,
35988 &_swigt__p_wxGridBagSizer,
35989 &_swigt__p_wxGridSizer,
35990 &_swigt__p_wxHtmlLinkInfo,
35991 &_swigt__p_wxICOHandler,
35992 &_swigt__p_wxIcon,
35993 &_swigt__p_wxIconBundle,
35994 &_swigt__p_wxIconizeEvent,
35995 &_swigt__p_wxIdleEvent,
35996 &_swigt__p_wxImage,
35997 &_swigt__p_wxImageHandler,
35998 &_swigt__p_wxIndividualLayoutConstraint,
35999 &_swigt__p_wxInitDialogEvent,
36000 &_swigt__p_wxItemContainer,
36001 &_swigt__p_wxJPEGHandler,
36002 &_swigt__p_wxKeyEvent,
36003 &_swigt__p_wxLayoutAlgorithm,
36004 &_swigt__p_wxLayoutConstraints,
36005 &_swigt__p_wxMDIChildFrame,
36006 &_swigt__p_wxMDIClientWindow,
36007 &_swigt__p_wxMDIParentFrame,
36008 &_swigt__p_wxMaximizeEvent,
36009 &_swigt__p_wxMenu,
36010 &_swigt__p_wxMenuBar,
36011 &_swigt__p_wxMenuEvent,
36012 &_swigt__p_wxMenuItem,
36013 &_swigt__p_wxMessageDialog,
36014 &_swigt__p_wxMiniFrame,
36015 &_swigt__p_wxMouseCaptureChangedEvent,
36016 &_swigt__p_wxMouseCaptureLostEvent,
36017 &_swigt__p_wxMouseEvent,
36018 &_swigt__p_wxMoveEvent,
36019 &_swigt__p_wxMultiChoiceDialog,
36020 &_swigt__p_wxNavigationKeyEvent,
36021 &_swigt__p_wxNcPaintEvent,
36022 &_swigt__p_wxNotifyEvent,
36023 &_swigt__p_wxNumberEntryDialog,
36024 &_swigt__p_wxObject,
36025 &_swigt__p_wxPCXHandler,
36026 &_swigt__p_wxPNGHandler,
36027 &_swigt__p_wxPNMHandler,
36028 &_swigt__p_wxPageSetupDialog,
36029 &_swigt__p_wxPageSetupDialogData,
36030 &_swigt__p_wxPaintEvent,
36031 &_swigt__p_wxPaletteChangedEvent,
36032 &_swigt__p_wxPanel,
36033 &_swigt__p_wxPaperSize,
36034 &_swigt__p_wxPasswordEntryDialog,
36035 &_swigt__p_wxPoint,
36036 &_swigt__p_wxPopupWindow,
36037 &_swigt__p_wxPosition,
36038 &_swigt__p_wxPreviewCanvas,
36039 &_swigt__p_wxPreviewControlBar,
36040 &_swigt__p_wxPreviewFrame,
36041 &_swigt__p_wxPrintData,
36042 &_swigt__p_wxPrintDialog,
36043 &_swigt__p_wxPrintDialogData,
36044 &_swigt__p_wxPrintPreview,
36045 &_swigt__p_wxPrinter,
36046 &_swigt__p_wxProgressDialog,
36047 &_swigt__p_wxPyApp,
36048 &_swigt__p_wxPyCommandEvent,
36049 &_swigt__p_wxPyEvent,
36050 &_swigt__p_wxPyHScrolledWindow,
36051 &_swigt__p_wxPyHVScrolledWindow,
36052 &_swigt__p_wxPyHtmlListBox,
36053 &_swigt__p_wxPyImageHandler,
36054 &_swigt__p_wxPyPanel,
36055 &_swigt__p_wxPyPopupTransientWindow,
36056 &_swigt__p_wxPyPreviewControlBar,
36057 &_swigt__p_wxPyPreviewFrame,
36058 &_swigt__p_wxPyPrintPreview,
36059 &_swigt__p_wxPyPrintout,
36060 &_swigt__p_wxPyScrolledWindow,
36061 &_swigt__p_wxPySizer,
36062 &_swigt__p_wxPyTaskBarIcon,
36063 &_swigt__p_wxPyVListBox,
36064 &_swigt__p_wxPyVScrolledWindow,
36065 &_swigt__p_wxPyValidator,
36066 &_swigt__p_wxPyWindow,
36067 &_swigt__p_wxQueryLayoutInfoEvent,
36068 &_swigt__p_wxQueryNewPaletteEvent,
36069 &_swigt__p_wxRect,
36070 &_swigt__p_wxRegion,
36071 &_swigt__p_wxSashEvent,
36072 &_swigt__p_wxSashLayoutWindow,
36073 &_swigt__p_wxSashWindow,
36074 &_swigt__p_wxScrollEvent,
36075 &_swigt__p_wxScrollWinEvent,
36076 &_swigt__p_wxScrolledWindow,
36077 &_swigt__p_wxSetCursorEvent,
36078 &_swigt__p_wxShowEvent,
36079 &_swigt__p_wxSimpleHtmlListBox,
36080 &_swigt__p_wxSingleChoiceDialog,
36081 &_swigt__p_wxSize,
36082 &_swigt__p_wxSizeEvent,
36083 &_swigt__p_wxSizer,
36084 &_swigt__p_wxSizerItem,
36085 &_swigt__p_wxSplashScreen,
36086 &_swigt__p_wxSplashScreenWindow,
36087 &_swigt__p_wxSplitterEvent,
36088 &_swigt__p_wxSplitterWindow,
36089 &_swigt__p_wxStaticBoxSizer,
36090 &_swigt__p_wxStatusBar,
36091 &_swigt__p_wxStdDialogButtonSizer,
36092 &_swigt__p_wxString,
36093 &_swigt__p_wxSysColourChangedEvent,
36094 &_swigt__p_wxTGAHandler,
36095 &_swigt__p_wxTIFFHandler,
36096 &_swigt__p_wxTaskBarIcon,
36097 &_swigt__p_wxTaskBarIconEvent,
36098 &_swigt__p_wxTextEntryDialog,
36099 &_swigt__p_wxTipWindow,
36100 &_swigt__p_wxToolBar,
36101 &_swigt__p_wxTopLevelWindow,
36102 &_swigt__p_wxUpdateUIEvent,
36103 &_swigt__p_wxValidator,
36104 &_swigt__p_wxVarHScrollHelper,
36105 &_swigt__p_wxVarHVScrollHelper,
36106 &_swigt__p_wxVarScrollHelperBase,
36107 &_swigt__p_wxVarVScrollHelper,
36108 &_swigt__p_wxVisualAttributes,
36109 &_swigt__p_wxWindow,
36110 &_swigt__p_wxWindowCreateEvent,
36111 &_swigt__p_wxWindowDestroyEvent,
36112 &_swigt__p_wxXPMHandler,
36113 };
36114
36115 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
36116 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
36117 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
36118 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
36119 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
36120 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
36121 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
36122 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
36123 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
36124 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
36125 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
36126 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
36127 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
36128 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
36129 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
36130 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
36131 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
36132 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
36133 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
36134 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
36135 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
36136 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
36137 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
36138 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}};
36139 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
36140 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}};
36141 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
36142 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
36143 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
36144 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
36145 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
36146 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
36147 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
36148 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
36149 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
36150 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
36151 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
36152 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
36153 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
36154 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
36155 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
36156 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
36157 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
36158 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
36159 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
36160 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36161 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36162 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36163 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36164 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
36165 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
36166 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
36167 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
36168 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
36169 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}};
36170 static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}};
36171 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
36172 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
36173 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
36174 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
36175 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_wxEventBlocker, _p_wxEventBlockerTo_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_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_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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_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_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_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_wxTipWindow, _p_wxTipWindowTo_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_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
36176 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
36177 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
36178 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
36179 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
36180 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
36181 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
36182 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
36183 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
36184 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_wxTipWindow, _p_wxTipWindowTo_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}};
36185 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
36186 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
36187 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
36188 static swig_cast_info _swigc__p_wxItemContainer[] = { {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxItemContainer, 0, 0, 0},{0, 0, 0, 0}};
36189 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
36190 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
36191 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
36192 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
36193 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
36194 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
36195 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
36196 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
36197 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
36198 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}};
36199 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
36200 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
36201 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
36202 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
36203 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
36204 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
36205 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
36206 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
36207 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
36208 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
36209 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
36210 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
36211 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
36212 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
36213 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
36214 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
36215 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
36216 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
36217 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
36218 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
36219 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
36220 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
36221 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
36222 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
36223 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
36224 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
36225 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
36226 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
36227 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
36228 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
36229 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_wxEventBlocker, _p_wxEventBlockerTo_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_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_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_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_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_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_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_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}};
36230 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
36231 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
36232 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_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
36233 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
36234 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
36235 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
36236 static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
36237 static swig_cast_info _swigc__p_wxPosition[] = { {&_swigt__p_wxPosition, 0, 0, 0},{0, 0, 0, 0}};
36238 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
36239 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}};
36240 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}};
36241 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
36242 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
36243 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
36244 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}};
36245 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
36246 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
36247 static swig_cast_info _swigc__p_wxPyHScrolledWindow[] = { {&_swigt__p_wxPyHScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
36248 static swig_cast_info _swigc__p_wxPyHVScrolledWindow[] = { {&_swigt__p_wxPyHVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
36249 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox, 0, 0},{0, 0, 0, 0}};
36250 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
36251 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
36252 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
36253 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
36254 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
36255 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
36256 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
36257 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
36258 static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
36259 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}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
36260 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
36261 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
36262 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
36263 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
36264 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
36265 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
36266 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}};
36267 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
36268 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}};
36269 static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = { {&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
36270 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
36271 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
36272 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
36273 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
36274 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
36275 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
36276 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
36277 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
36278 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
36279 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
36280 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
36281 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}};
36282 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
36283 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
36284 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_wxTipWindow, _p_wxTipWindowTo_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_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_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}};
36285 static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}};
36286 static swig_cast_info _swigc__p_wxVarHScrollHelper[] = { {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper, 0, 0}, {&_swigt__p_wxVarHScrollHelper, 0, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper, 0, 0},{0, 0, 0, 0}};
36287 static swig_cast_info _swigc__p_wxVarHVScrollHelper[] = { {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, 0, 0, 0},{0, 0, 0, 0}};
36288 static swig_cast_info _swigc__p_wxVarScrollHelperBase[] = { {&_swigt__p_wxVarScrollHelperBase, 0, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarVScrollHelper, _p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarHScrollHelper, _p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase, 0, 0},{0, 0, 0, 0}};
36289 static swig_cast_info _swigc__p_wxVarVScrollHelper[] = { {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxVarVScrollHelper, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper, 0, 0},{0, 0, 0, 0}};
36290 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
36291 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_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_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_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_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_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_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
36292
36293 static swig_cast_info *swig_cast_initial[] = {
36294 _swigc__p_bool,
36295 _swigc__p_char,
36296 _swigc__p_form_ops_t,
36297 _swigc__p_int,
36298 _swigc__p_unsigned_char,
36299 _swigc__p_unsigned_int,
36300 _swigc__p_unsigned_long,
36301 _swigc__p_wxANIHandler,
36302 _swigc__p_wxAcceleratorTable,
36303 _swigc__p_wxActivateEvent,
36304 _swigc__p_wxArrayInt,
36305 _swigc__p_wxArrayString,
36306 _swigc__p_wxBMPHandler,
36307 _swigc__p_wxBitmap,
36308 _swigc__p_wxBoxSizer,
36309 _swigc__p_wxCURHandler,
36310 _swigc__p_wxCalculateLayoutEvent,
36311 _swigc__p_wxChildFocusEvent,
36312 _swigc__p_wxClipboardTextEvent,
36313 _swigc__p_wxCloseEvent,
36314 _swigc__p_wxColour,
36315 _swigc__p_wxColourData,
36316 _swigc__p_wxColourDialog,
36317 _swigc__p_wxCommandEvent,
36318 _swigc__p_wxContextMenuEvent,
36319 _swigc__p_wxControl,
36320 _swigc__p_wxControlWithItems,
36321 _swigc__p_wxDC,
36322 _swigc__p_wxDateEvent,
36323 _swigc__p_wxDialog,
36324 _swigc__p_wxDirDialog,
36325 _swigc__p_wxDisplayChangedEvent,
36326 _swigc__p_wxDropFilesEvent,
36327 _swigc__p_wxDuplexMode,
36328 _swigc__p_wxEraseEvent,
36329 _swigc__p_wxEvent,
36330 _swigc__p_wxEventBlocker,
36331 _swigc__p_wxEvtHandler,
36332 _swigc__p_wxFSFile,
36333 _swigc__p_wxFileDialog,
36334 _swigc__p_wxFileSystem,
36335 _swigc__p_wxFindDialogEvent,
36336 _swigc__p_wxFindReplaceData,
36337 _swigc__p_wxFindReplaceDialog,
36338 _swigc__p_wxFlexGridSizer,
36339 _swigc__p_wxFocusEvent,
36340 _swigc__p_wxFont,
36341 _swigc__p_wxFontData,
36342 _swigc__p_wxFontDialog,
36343 _swigc__p_wxFrame,
36344 _swigc__p_wxGBSizerItem,
36345 _swigc__p_wxGIFHandler,
36346 _swigc__p_wxGridBagSizer,
36347 _swigc__p_wxGridSizer,
36348 _swigc__p_wxHtmlLinkInfo,
36349 _swigc__p_wxICOHandler,
36350 _swigc__p_wxIcon,
36351 _swigc__p_wxIconBundle,
36352 _swigc__p_wxIconizeEvent,
36353 _swigc__p_wxIdleEvent,
36354 _swigc__p_wxImage,
36355 _swigc__p_wxImageHandler,
36356 _swigc__p_wxIndividualLayoutConstraint,
36357 _swigc__p_wxInitDialogEvent,
36358 _swigc__p_wxItemContainer,
36359 _swigc__p_wxJPEGHandler,
36360 _swigc__p_wxKeyEvent,
36361 _swigc__p_wxLayoutAlgorithm,
36362 _swigc__p_wxLayoutConstraints,
36363 _swigc__p_wxMDIChildFrame,
36364 _swigc__p_wxMDIClientWindow,
36365 _swigc__p_wxMDIParentFrame,
36366 _swigc__p_wxMaximizeEvent,
36367 _swigc__p_wxMenu,
36368 _swigc__p_wxMenuBar,
36369 _swigc__p_wxMenuEvent,
36370 _swigc__p_wxMenuItem,
36371 _swigc__p_wxMessageDialog,
36372 _swigc__p_wxMiniFrame,
36373 _swigc__p_wxMouseCaptureChangedEvent,
36374 _swigc__p_wxMouseCaptureLostEvent,
36375 _swigc__p_wxMouseEvent,
36376 _swigc__p_wxMoveEvent,
36377 _swigc__p_wxMultiChoiceDialog,
36378 _swigc__p_wxNavigationKeyEvent,
36379 _swigc__p_wxNcPaintEvent,
36380 _swigc__p_wxNotifyEvent,
36381 _swigc__p_wxNumberEntryDialog,
36382 _swigc__p_wxObject,
36383 _swigc__p_wxPCXHandler,
36384 _swigc__p_wxPNGHandler,
36385 _swigc__p_wxPNMHandler,
36386 _swigc__p_wxPageSetupDialog,
36387 _swigc__p_wxPageSetupDialogData,
36388 _swigc__p_wxPaintEvent,
36389 _swigc__p_wxPaletteChangedEvent,
36390 _swigc__p_wxPanel,
36391 _swigc__p_wxPaperSize,
36392 _swigc__p_wxPasswordEntryDialog,
36393 _swigc__p_wxPoint,
36394 _swigc__p_wxPopupWindow,
36395 _swigc__p_wxPosition,
36396 _swigc__p_wxPreviewCanvas,
36397 _swigc__p_wxPreviewControlBar,
36398 _swigc__p_wxPreviewFrame,
36399 _swigc__p_wxPrintData,
36400 _swigc__p_wxPrintDialog,
36401 _swigc__p_wxPrintDialogData,
36402 _swigc__p_wxPrintPreview,
36403 _swigc__p_wxPrinter,
36404 _swigc__p_wxProgressDialog,
36405 _swigc__p_wxPyApp,
36406 _swigc__p_wxPyCommandEvent,
36407 _swigc__p_wxPyEvent,
36408 _swigc__p_wxPyHScrolledWindow,
36409 _swigc__p_wxPyHVScrolledWindow,
36410 _swigc__p_wxPyHtmlListBox,
36411 _swigc__p_wxPyImageHandler,
36412 _swigc__p_wxPyPanel,
36413 _swigc__p_wxPyPopupTransientWindow,
36414 _swigc__p_wxPyPreviewControlBar,
36415 _swigc__p_wxPyPreviewFrame,
36416 _swigc__p_wxPyPrintPreview,
36417 _swigc__p_wxPyPrintout,
36418 _swigc__p_wxPyScrolledWindow,
36419 _swigc__p_wxPySizer,
36420 _swigc__p_wxPyTaskBarIcon,
36421 _swigc__p_wxPyVListBox,
36422 _swigc__p_wxPyVScrolledWindow,
36423 _swigc__p_wxPyValidator,
36424 _swigc__p_wxPyWindow,
36425 _swigc__p_wxQueryLayoutInfoEvent,
36426 _swigc__p_wxQueryNewPaletteEvent,
36427 _swigc__p_wxRect,
36428 _swigc__p_wxRegion,
36429 _swigc__p_wxSashEvent,
36430 _swigc__p_wxSashLayoutWindow,
36431 _swigc__p_wxSashWindow,
36432 _swigc__p_wxScrollEvent,
36433 _swigc__p_wxScrollWinEvent,
36434 _swigc__p_wxScrolledWindow,
36435 _swigc__p_wxSetCursorEvent,
36436 _swigc__p_wxShowEvent,
36437 _swigc__p_wxSimpleHtmlListBox,
36438 _swigc__p_wxSingleChoiceDialog,
36439 _swigc__p_wxSize,
36440 _swigc__p_wxSizeEvent,
36441 _swigc__p_wxSizer,
36442 _swigc__p_wxSizerItem,
36443 _swigc__p_wxSplashScreen,
36444 _swigc__p_wxSplashScreenWindow,
36445 _swigc__p_wxSplitterEvent,
36446 _swigc__p_wxSplitterWindow,
36447 _swigc__p_wxStaticBoxSizer,
36448 _swigc__p_wxStatusBar,
36449 _swigc__p_wxStdDialogButtonSizer,
36450 _swigc__p_wxString,
36451 _swigc__p_wxSysColourChangedEvent,
36452 _swigc__p_wxTGAHandler,
36453 _swigc__p_wxTIFFHandler,
36454 _swigc__p_wxTaskBarIcon,
36455 _swigc__p_wxTaskBarIconEvent,
36456 _swigc__p_wxTextEntryDialog,
36457 _swigc__p_wxTipWindow,
36458 _swigc__p_wxToolBar,
36459 _swigc__p_wxTopLevelWindow,
36460 _swigc__p_wxUpdateUIEvent,
36461 _swigc__p_wxValidator,
36462 _swigc__p_wxVarHScrollHelper,
36463 _swigc__p_wxVarHVScrollHelper,
36464 _swigc__p_wxVarScrollHelperBase,
36465 _swigc__p_wxVarVScrollHelper,
36466 _swigc__p_wxVisualAttributes,
36467 _swigc__p_wxWindow,
36468 _swigc__p_wxWindowCreateEvent,
36469 _swigc__p_wxWindowDestroyEvent,
36470 _swigc__p_wxXPMHandler,
36471 };
36472
36473
36474 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36475
36476 static swig_const_info swig_const_table[] = {
36477 {0, 0, 0, 0.0, 0, 0}};
36478
36479 #ifdef __cplusplus
36480 }
36481 #endif
36482 /* -----------------------------------------------------------------------------
36483 * Type initialization:
36484 * This problem is tough by the requirement that no dynamic
36485 * memory is used. Also, since swig_type_info structures store pointers to
36486 * swig_cast_info structures and swig_cast_info structures store pointers back
36487 * to swig_type_info structures, we need some lookup code at initialization.
36488 * The idea is that swig generates all the structures that are needed.
36489 * The runtime then collects these partially filled structures.
36490 * The SWIG_InitializeModule function takes these initial arrays out of
36491 * swig_module, and does all the lookup, filling in the swig_module.types
36492 * array with the correct data and linking the correct swig_cast_info
36493 * structures together.
36494 *
36495 * The generated swig_type_info structures are assigned staticly to an initial
36496 * array. We just loop though that array, and handle each type individually.
36497 * First we lookup if this type has been already loaded, and if so, use the
36498 * loaded structure instead of the generated one. Then we have to fill in the
36499 * cast linked list. The cast data is initially stored in something like a
36500 * two-dimensional array. Each row corresponds to a type (there are the same
36501 * number of rows as there are in the swig_type_initial array). Each entry in
36502 * a column is one of the swig_cast_info structures for that type.
36503 * The cast_initial array is actually an array of arrays, because each row has
36504 * a variable number of columns. So to actually build the cast linked list,
36505 * we find the array of casts associated with the type, and loop through it
36506 * adding the casts to the list. The one last trick we need to do is making
36507 * sure the type pointer in the swig_cast_info struct is correct.
36508 *
36509 * First off, we lookup the cast->type name to see if it is already loaded.
36510 * There are three cases to handle:
36511 * 1) If the cast->type has already been loaded AND the type we are adding
36512 * casting info to has not been loaded (it is in this module), THEN we
36513 * replace the cast->type pointer with the type pointer that has already
36514 * been loaded.
36515 * 2) If BOTH types (the one we are adding casting info to, and the
36516 * cast->type) are loaded, THEN the cast info has already been loaded by
36517 * the previous module so we just ignore it.
36518 * 3) Finally, if cast->type has not already been loaded, then we add that
36519 * swig_cast_info to the linked list (because the cast->type) pointer will
36520 * be correct.
36521 * ----------------------------------------------------------------------------- */
36522
36523 #ifdef __cplusplus
36524 extern "C" {
36525 #if 0
36526 } /* c-mode */
36527 #endif
36528 #endif
36529
36530 #if 0
36531 #define SWIGRUNTIME_DEBUG
36532 #endif
36533
36534 SWIGRUNTIME void
36535 SWIG_InitializeModule(void *clientdata) {
36536 size_t i;
36537 swig_module_info *module_head;
36538 static int init_run = 0;
36539
36540 clientdata = clientdata;
36541
36542 if (init_run) return;
36543 init_run = 1;
36544
36545 /* Initialize the swig_module */
36546 swig_module.type_initial = swig_type_initial;
36547 swig_module.cast_initial = swig_cast_initial;
36548
36549 /* Try and load any already created modules */
36550 module_head = SWIG_GetModule(clientdata);
36551 if (module_head) {
36552 swig_module.next = module_head->next;
36553 module_head->next = &swig_module;
36554 } else {
36555 /* This is the first module loaded */
36556 swig_module.next = &swig_module;
36557 SWIG_SetModule(clientdata, &swig_module);
36558 }
36559
36560 /* Now work on filling in swig_module.types */
36561 #ifdef SWIGRUNTIME_DEBUG
36562 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
36563 #endif
36564 for (i = 0; i < swig_module.size; ++i) {
36565 swig_type_info *type = 0;
36566 swig_type_info *ret;
36567 swig_cast_info *cast;
36568
36569 #ifdef SWIGRUNTIME_DEBUG
36570 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
36571 #endif
36572
36573 /* if there is another module already loaded */
36574 if (swig_module.next != &swig_module) {
36575 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
36576 }
36577 if (type) {
36578 /* Overwrite clientdata field */
36579 #ifdef SWIGRUNTIME_DEBUG
36580 printf("SWIG_InitializeModule: found type %s\n", type->name);
36581 #endif
36582 if (swig_module.type_initial[i]->clientdata) {
36583 type->clientdata = swig_module.type_initial[i]->clientdata;
36584 #ifdef SWIGRUNTIME_DEBUG
36585 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
36586 #endif
36587 }
36588 } else {
36589 type = swig_module.type_initial[i];
36590 }
36591
36592 /* Insert casting types */
36593 cast = swig_module.cast_initial[i];
36594 while (cast->type) {
36595 /* Don't need to add information already in the list */
36596 ret = 0;
36597 #ifdef SWIGRUNTIME_DEBUG
36598 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
36599 #endif
36600 if (swig_module.next != &swig_module) {
36601 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
36602 #ifdef SWIGRUNTIME_DEBUG
36603 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
36604 #endif
36605 }
36606 if (ret) {
36607 if (type == swig_module.type_initial[i]) {
36608 #ifdef SWIGRUNTIME_DEBUG
36609 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
36610 #endif
36611 cast->type = ret;
36612 ret = 0;
36613 } else {
36614 /* Check for casting already in the list */
36615 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
36616 #ifdef SWIGRUNTIME_DEBUG
36617 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
36618 #endif
36619 if (!ocast) ret = 0;
36620 }
36621 }
36622
36623 if (!ret) {
36624 #ifdef SWIGRUNTIME_DEBUG
36625 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
36626 #endif
36627 if (type->cast) {
36628 type->cast->prev = cast;
36629 cast->next = type->cast;
36630 }
36631 type->cast = cast;
36632 }
36633 cast++;
36634 }
36635 /* Set entry in modules->types array equal to the type */
36636 swig_module.types[i] = type;
36637 }
36638 swig_module.types[i] = 0;
36639
36640 #ifdef SWIGRUNTIME_DEBUG
36641 printf("**** SWIG_InitializeModule: Cast List ******\n");
36642 for (i = 0; i < swig_module.size; ++i) {
36643 int j = 0;
36644 swig_cast_info *cast = swig_module.cast_initial[i];
36645 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
36646 while (cast->type) {
36647 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
36648 cast++;
36649 ++j;
36650 }
36651 printf("---- Total casts: %d\n",j);
36652 }
36653 printf("**** SWIG_InitializeModule: Cast List ******\n");
36654 #endif
36655 }
36656
36657 /* This function will propagate the clientdata field of type to
36658 * any new swig_type_info structures that have been added into the list
36659 * of equivalent types. It is like calling
36660 * SWIG_TypeClientData(type, clientdata) a second time.
36661 */
36662 SWIGRUNTIME void
36663 SWIG_PropagateClientData(void) {
36664 size_t i;
36665 swig_cast_info *equiv;
36666 static int init_run = 0;
36667
36668 if (init_run) return;
36669 init_run = 1;
36670
36671 for (i = 0; i < swig_module.size; i++) {
36672 if (swig_module.types[i]->clientdata) {
36673 equiv = swig_module.types[i]->cast;
36674 while (equiv) {
36675 if (!equiv->converter) {
36676 if (equiv->type && !equiv->type->clientdata)
36677 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
36678 }
36679 equiv = equiv->next;
36680 }
36681 }
36682 }
36683 }
36684
36685 #ifdef __cplusplus
36686 #if 0
36687 {
36688 /* c-mode */
36689 #endif
36690 }
36691 #endif
36692
36693
36694
36695 #ifdef __cplusplus
36696 extern "C" {
36697 #endif
36698
36699 /* Python-specific SWIG API */
36700 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36701 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36702 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36703
36704 /* -----------------------------------------------------------------------------
36705 * global variable support code.
36706 * ----------------------------------------------------------------------------- */
36707
36708 typedef struct swig_globalvar {
36709 char *name; /* Name of global variable */
36710 PyObject *(*get_attr)(void); /* Return the current value */
36711 int (*set_attr)(PyObject *); /* Set the value */
36712 struct swig_globalvar *next;
36713 } swig_globalvar;
36714
36715 typedef struct swig_varlinkobject {
36716 PyObject_HEAD
36717 swig_globalvar *vars;
36718 } swig_varlinkobject;
36719
36720 SWIGINTERN PyObject *
36721 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
36722 return PyString_FromString("<Swig global variables>");
36723 }
36724
36725 SWIGINTERN PyObject *
36726 swig_varlink_str(swig_varlinkobject *v) {
36727 PyObject *str = PyString_FromString("(");
36728 swig_globalvar *var;
36729 for (var = v->vars; var; var=var->next) {
36730 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
36731 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
36732 }
36733 PyString_ConcatAndDel(&str,PyString_FromString(")"));
36734 return str;
36735 }
36736
36737 SWIGINTERN int
36738 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
36739 PyObject *str = swig_varlink_str(v);
36740 fprintf(fp,"Swig global variables ");
36741 fprintf(fp,"%s\n", PyString_AsString(str));
36742 Py_DECREF(str);
36743 return 0;
36744 }
36745
36746 SWIGINTERN void
36747 swig_varlink_dealloc(swig_varlinkobject *v) {
36748 swig_globalvar *var = v->vars;
36749 while (var) {
36750 swig_globalvar *n = var->next;
36751 free(var->name);
36752 free(var);
36753 var = n;
36754 }
36755 }
36756
36757 SWIGINTERN PyObject *
36758 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
36759 PyObject *res = NULL;
36760 swig_globalvar *var = v->vars;
36761 while (var) {
36762 if (strcmp(var->name,n) == 0) {
36763 res = (*var->get_attr)();
36764 break;
36765 }
36766 var = var->next;
36767 }
36768 if (res == NULL && !PyErr_Occurred()) {
36769 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36770 }
36771 return res;
36772 }
36773
36774 SWIGINTERN int
36775 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
36776 int res = 1;
36777 swig_globalvar *var = v->vars;
36778 while (var) {
36779 if (strcmp(var->name,n) == 0) {
36780 res = (*var->set_attr)(p);
36781 break;
36782 }
36783 var = var->next;
36784 }
36785 if (res == 1 && !PyErr_Occurred()) {
36786 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36787 }
36788 return res;
36789 }
36790
36791 SWIGINTERN PyTypeObject*
36792 swig_varlink_type(void) {
36793 static char varlink__doc__[] = "Swig var link object";
36794 static PyTypeObject varlink_type;
36795 static int type_init = 0;
36796 if (!type_init) {
36797 const PyTypeObject tmp
36798 = {
36799 PyObject_HEAD_INIT(NULL)
36800 0, /* Number of items in variable part (ob_size) */
36801 (char *)"swigvarlink", /* Type name (tp_name) */
36802 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
36803 0, /* Itemsize (tp_itemsize) */
36804 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
36805 (printfunc) swig_varlink_print, /* Print (tp_print) */
36806 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
36807 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
36808 0, /* tp_compare */
36809 (reprfunc) swig_varlink_repr, /* tp_repr */
36810 0, /* tp_as_number */
36811 0, /* tp_as_sequence */
36812 0, /* tp_as_mapping */
36813 0, /* tp_hash */
36814 0, /* tp_call */
36815 (reprfunc)swig_varlink_str, /* tp_str */
36816 0, /* tp_getattro */
36817 0, /* tp_setattro */
36818 0, /* tp_as_buffer */
36819 0, /* tp_flags */
36820 varlink__doc__, /* tp_doc */
36821 0, /* tp_traverse */
36822 0, /* tp_clear */
36823 0, /* tp_richcompare */
36824 0, /* tp_weaklistoffset */
36825 #if PY_VERSION_HEX >= 0x02020000
36826 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36827 #endif
36828 #if PY_VERSION_HEX >= 0x02030000
36829 0, /* tp_del */
36830 #endif
36831 #ifdef COUNT_ALLOCS
36832 0,0,0,0 /* tp_alloc -> tp_next */
36833 #endif
36834 };
36835 varlink_type = tmp;
36836 varlink_type.ob_type = &PyType_Type;
36837 type_init = 1;
36838 }
36839 return &varlink_type;
36840 }
36841
36842 /* Create a variable linking object for use later */
36843 SWIGINTERN PyObject *
36844 SWIG_Python_newvarlink(void) {
36845 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
36846 if (result) {
36847 result->vars = 0;
36848 }
36849 return ((PyObject*) result);
36850 }
36851
36852 SWIGINTERN void
36853 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
36854 swig_varlinkobject *v = (swig_varlinkobject *) p;
36855 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
36856 if (gv) {
36857 size_t size = strlen(name)+1;
36858 gv->name = (char *)malloc(size);
36859 if (gv->name) {
36860 strncpy(gv->name,name,size);
36861 gv->get_attr = get_attr;
36862 gv->set_attr = set_attr;
36863 gv->next = v->vars;
36864 }
36865 }
36866 v->vars = gv;
36867 }
36868
36869 SWIGINTERN PyObject *
36870 SWIG_globals() {
36871 static PyObject *_SWIG_globals = 0;
36872 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
36873 return _SWIG_globals;
36874 }
36875
36876 /* -----------------------------------------------------------------------------
36877 * constants/methods manipulation
36878 * ----------------------------------------------------------------------------- */
36879
36880 /* Install Constants */
36881 SWIGINTERN void
36882 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
36883 PyObject *obj = 0;
36884 size_t i;
36885 for (i = 0; constants[i].type; ++i) {
36886 switch(constants[i].type) {
36887 case SWIG_PY_POINTER:
36888 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
36889 break;
36890 case SWIG_PY_BINARY:
36891 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
36892 break;
36893 default:
36894 obj = 0;
36895 break;
36896 }
36897 if (obj) {
36898 PyDict_SetItemString(d, constants[i].name, obj);
36899 Py_DECREF(obj);
36900 }
36901 }
36902 }
36903
36904 /* -----------------------------------------------------------------------------*/
36905 /* Fix SwigMethods to carry the callback ptrs when needed */
36906 /* -----------------------------------------------------------------------------*/
36907
36908 SWIGINTERN void
36909 SWIG_Python_FixMethods(PyMethodDef *methods,
36910 swig_const_info *const_table,
36911 swig_type_info **types,
36912 swig_type_info **types_initial) {
36913 size_t i;
36914 for (i = 0; methods[i].ml_name; ++i) {
36915 const char *c = methods[i].ml_doc;
36916 if (c && (c = strstr(c, "swig_ptr: "))) {
36917 int j;
36918 swig_const_info *ci = 0;
36919 const char *name = c + 10;
36920 for (j = 0; const_table[j].type; ++j) {
36921 if (strncmp(const_table[j].name, name,
36922 strlen(const_table[j].name)) == 0) {
36923 ci = &(const_table[j]);
36924 break;
36925 }
36926 }
36927 if (ci) {
36928 size_t shift = (ci->ptype) - types;
36929 swig_type_info *ty = types_initial[shift];
36930 size_t ldoc = (c - methods[i].ml_doc);
36931 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
36932 char *ndoc = (char*)malloc(ldoc + lptr + 10);
36933 if (ndoc) {
36934 char *buff = ndoc;
36935 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
36936 if (ptr) {
36937 strncpy(buff, methods[i].ml_doc, ldoc);
36938 buff += ldoc;
36939 strncpy(buff, "swig_ptr: ", 10);
36940 buff += 10;
36941 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
36942 methods[i].ml_doc = ndoc;
36943 }
36944 }
36945 }
36946 }
36947 }
36948 }
36949
36950 #ifdef __cplusplus
36951 }
36952 #endif
36953
36954 /* -----------------------------------------------------------------------------*
36955 * Partial Init method
36956 * -----------------------------------------------------------------------------*/
36957
36958 #ifdef __cplusplus
36959 extern "C"
36960 #endif
36961 SWIGEXPORT void SWIG_init(void) {
36962 PyObject *m, *d;
36963
36964 /* Fix SwigMethods to carry the callback ptrs when needed */
36965 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
36966
36967 m = Py_InitModule((char *) SWIG_name, SwigMethods);
36968 d = PyModule_GetDict(m);
36969
36970 SWIG_InitializeModule(0);
36971 SWIG_InstallConstants(d,swig_const_table);
36972
36973
36974 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
36975 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
36976 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
36977 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
36978 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
36979 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
36980 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
36981 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
36982 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
36983 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
36984 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
36985 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
36986 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
36987 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
36988 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
36989 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
36990 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
36991 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
36992 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
36993 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
36994 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
36995 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
36996 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
36997 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
36998 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
36999 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
37000 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
37001 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
37002 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
37003 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
37004 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
37005 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
37006 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
37007 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
37008 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
37009 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
37010 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
37011 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
37012 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
37013 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
37014 SWIG_Python_SetConstant(d, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE)));
37015 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
37016 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
37017 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
37018 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
37019 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
37020 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
37021 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
37022 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
37023 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
37024 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
37025 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
37026 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
37027 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
37028 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
37029 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
37030 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
37031 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
37032 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
37033 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
37034 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
37035 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
37036 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
37037 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
37038 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
37039 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
37040 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
37041 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
37042 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
37043 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
37044 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
37045 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
37046 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
37047 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
37048 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
37049 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
37050 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
37051 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
37052 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
37053 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
37054 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
37055 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
37056 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
37057 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
37058 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
37059 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
37060 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
37061 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
37062 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
37063 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
37064 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
37065 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
37066 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
37067 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
37068 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
37069 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
37070 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
37071 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
37072 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
37073 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
37074 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get, SimpleHtmlListBoxNameStr_set);
37075 SWIG_Python_SetConstant(d, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE)));
37076 SWIG_Python_SetConstant(d, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE)));
37077
37078 // Map renamed classes back to their common name for OOR
37079 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
37080 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
37081 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
37082
37083 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
37084 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
37085 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
37086 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
37087 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
37088 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
37089 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
37090 PyDict_SetItemString(d, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK));
37091 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
37092 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
37093 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
37094 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
37095 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
37096 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
37097 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
37098 SWIG_Python_SetConstant(d, "DD_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDD_DIR_MUST_EXIST)));
37099 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
37100 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
37101 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
37102 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
37103 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
37104 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
37105 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
37106 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
37107 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
37108 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
37109 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
37110 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
37111 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
37112 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
37113 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
37114 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
37115 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
37116 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
37117 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
37118 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
37119 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
37120 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
37121 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
37122 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
37123 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
37124 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
37125 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
37126 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
37127 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
37128 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
37129 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
37130 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
37131 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
37132 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
37133 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
37134 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
37135 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
37136 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
37137 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
37138 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
37139 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
37140 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
37141 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
37142 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
37143 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
37144 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
37145 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
37146 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
37147 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
37148 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
37149 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
37150 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
37151 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
37152 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
37153 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
37154 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
37155 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
37156 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
37157 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
37158 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
37159 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
37160 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
37161 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
37162 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
37163 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
37164 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
37165 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
37166 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
37167 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
37168 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
37169 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
37170 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
37171 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
37172 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
37173 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
37174 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
37175 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
37176 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
37177 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
37178 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
37179 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
37180 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
37181 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
37182
37183 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
37184
37185 }
37186