]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
Forward declare new wxPy classes
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_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){ /*wxPyRaiseNotImplemented();*/ }
2836 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2837
2838 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2839
2840
2841
2842 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2843 wxRect r;
2844 self->GetFieldRect(i, r);
2845 return r;
2846 }
2847 static const wxString wxPySplitterNameStr(wxT("splitter"));
2848 static const wxString wxPySashNameStr(wxT("sashWindow"));
2849 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2850
2851 #include <wx/popupwin.h>
2852
2853
2854 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2855 {
2856 public:
2857 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2858 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2859 : wxPopupTransientWindow(parent, style) {}
2860
2861 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2862 DEC_PYCALLBACK__(OnDismiss);
2863 DEC_PYCALLBACK_BOOL_(CanDismiss);
2864 PYPRIVATE;
2865 };
2866
2867
2868 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2869 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2870 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2871
2872
2873 #include <wx/tipwin.h>
2874
2875 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2876 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2877 }
2878
2879 #include <wx/tipwin.h>
2880 #include <wx/vscroll.h>
2881
2882
2883 SWIGINTERNINLINE PyObject*
2884 SWIG_From_unsigned_SS_long (unsigned long value)
2885 {
2886 return (value > LONG_MAX) ?
2887 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2888 }
2889
2890
2891 SWIGINTERNINLINE PyObject *
2892 SWIG_From_size_t (size_t value)
2893 {
2894 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2895 }
2896
2897
2898 SWIGINTERN int
2899 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2900 {
2901 long v = 0;
2902 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2903 return SWIG_TypeError;
2904 }
2905 else if (val)
2906 *val = (unsigned long)v;
2907 return SWIG_OK;
2908 }
2909
2910
2911 SWIGINTERNINLINE int
2912 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2913 {
2914 unsigned long v;
2915 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2916 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2917 return res;
2918 }
2919
2920
2921 class wxPyVScrolledWindow : public wxVScrolledWindow
2922 {
2923 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2924 public:
2925 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2926
2927 wxPyVScrolledWindow(wxWindow *parent,
2928 wxWindowID id = wxID_ANY,
2929 const wxPoint& pos = wxDefaultPosition,
2930 const wxSize& size = wxDefaultSize,
2931 long style = 0,
2932 const wxString& name = wxPyPanelNameStr)
2933 : wxVScrolledWindow(parent, id, pos, size, style, name)
2934 {}
2935
2936 // Overridable virtuals
2937
2938 // this function must be overridden in the derived class and it should
2939 // return the height of the given line in pixels
2940 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight);
2941 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); // old name
2942
2943 // this function doesn't have to be overridden but it may be useful to do
2944 // it if calculating the lines heights is a relatively expensive operation
2945 // as it gives the user code a possibility to calculate several of them at
2946 // once
2947 //
2948 // OnGetLinesHint() is normally called just before OnGetRowHeight() but you
2949 // shouldn't rely on the latter being called for all lines in the interval
2950 // specified here. It is also possible that OnGetRowHeight() will be
2951 // called for the lines outside of this interval, so this is really just a
2952 // hint, not a promise.
2953 //
2954 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2955 // usual
2956 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint);
2957 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); // old name
2958
2959 // when the number of lines changes, we try to estimate the total height
2960 // of all lines which is a rather expensive operation in terms of lines
2961 // access, so if the user code may estimate the average height
2962 // better/faster than we do, it should override this function to implement
2963 // its own logic
2964 //
2965 // this function should return the best guess for the total height it may
2966 // make
2967 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2968
2969
2970 // Also expose some other interesting protected methods
2971
2972
2973 // get the total height of the lines between lineMin (inclusive) and
2974 // lineMax (exclusive)
2975 wxCoord GetRowsHeight(size_t lineMin, size_t lineMax) const
2976 { return wxVScrolledWindow::GetRowsHeight(lineMin, lineMax); }
2977
2978
2979 PYPRIVATE;
2980 };
2981
2982 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2983
2984 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetRowHeight);
2985 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2986 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetRowsHeightHint);
2987 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2988
2989 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2990
2991
2992 class wxPyHScrolledWindow : public wxHScrolledWindow
2993 {
2994 DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow)
2995 public:
2996 wxPyHScrolledWindow() : wxHScrolledWindow() {}
2997
2998 wxPyHScrolledWindow(wxWindow *parent,
2999 wxWindowID id = wxID_ANY,
3000 const wxPoint& pos = wxDefaultPosition,
3001 const wxSize& size = wxDefaultSize,
3002 long style = 0,
3003 const wxString& name = wxPyPanelNameStr)
3004 : wxHScrolledWindow(parent, id, pos, size, style, name)
3005 {}
3006
3007 // Overridable virtuals
3008 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth);
3009 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint);
3010 DEC_PYCALLBACK_COORD_const(EstimateTotalWidth);
3011
3012 wxCoord GetColumnsWidth(size_t columnMin, size_t columnMax) const
3013 { return wxHScrolledWindow::GetColumnsWidth(columnMin, columnMax); }
3014
3015 PYPRIVATE;
3016 };
3017
3018 IMPLEMENT_ABSTRACT_CLASS(wxPyHScrolledWindow, wxHScrolledWindow);
3019
3020 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHScrolledWindow, wxHScrolledWindow, OnGetColumnWidth);
3021 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHScrolledWindow, wxHScrolledWindow, OnGetColumnsWidthHint);
3022 IMP_PYCALLBACK_COORD_const (wxPyHScrolledWindow, wxHScrolledWindow, EstimateTotalWidth);
3023
3024
3025
3026 class wxPyHVScrolledWindow : public wxHVScrolledWindow
3027 {
3028 DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow)
3029 public:
3030 wxPyHVScrolledWindow() : wxHVScrolledWindow() {}
3031
3032 wxPyHVScrolledWindow(wxWindow *parent,
3033 wxWindowID id = wxID_ANY,
3034 const wxPoint& pos = wxDefaultPosition,
3035 const wxSize& size = wxDefaultSize,
3036 long style = 0,
3037 const wxString& name = wxPyPanelNameStr)
3038 : wxHVScrolledWindow(parent, id, pos, size, style, name)
3039 {}
3040
3041 // Overridable virtuals
3042 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight);
3043 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint);
3044 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
3045
3046 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth);
3047 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint);
3048 DEC_PYCALLBACK_COORD_const(EstimateTotalWidth);
3049
3050 wxCoord GetRowsHeight(size_t lineMin, size_t lineMax) const
3051 { return wxHVScrolledWindow::GetRowsHeight(lineMin, lineMax); }
3052
3053 wxCoord GetColumnsWidth(size_t columnMin, size_t columnMax) const
3054 { return wxHVScrolledWindow::GetColumnsWidth(columnMin, columnMax); }
3055
3056 PYPRIVATE;
3057 };
3058
3059 IMPLEMENT_ABSTRACT_CLASS(wxPyHVScrolledWindow, wxHVScrolledWindow);
3060
3061 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetRowHeight);
3062 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetRowsHeightHint);
3063 IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow, wxHVScrolledWindow, EstimateTotalHeight);
3064
3065 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetColumnWidth);
3066 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetColumnsWidthHint);
3067 IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow, wxHVScrolledWindow, EstimateTotalWidth);
3068
3069
3070
3071 #include <wx/vlbox.h>
3072
3073 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
3074
3075 class wxPyVListBox : public wxVListBox
3076 {
3077 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
3078 public:
3079 wxPyVListBox() : wxVListBox() {}
3080
3081 wxPyVListBox(wxWindow *parent,
3082 wxWindowID id = wxID_ANY,
3083 const wxPoint& pos = wxDefaultPosition,
3084 const wxSize& size = wxDefaultSize,
3085 long style = 0,
3086 const wxString& name = wxPyVListBoxNameStr)
3087 : wxVListBox(parent, id, pos, size, style, name)
3088 {}
3089
3090 // Overridable virtuals
3091
3092 // the derived class must implement this function to actually draw the item
3093 // with the given index on the provided DC
3094 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3095 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3096
3097
3098 // the derived class must implement this method to return the height of the
3099 // specified item
3100 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3101 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3102
3103
3104 // this method may be used to draw separators between the lines; note that
3105 // the rectangle may be modified, typically to deflate it a bit before
3106 // passing to OnDrawItem()
3107 //
3108 // the base class version doesn't do anything
3109 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3110 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3111
3112
3113 // this method is used to draw the items background and, maybe, a border
3114 // around it
3115 //
3116 // the base class version implements a reasonable default behaviour which
3117 // consists in drawing the selected item with the standard background
3118 // colour and drawing a border around the item if it is either selected or
3119 // current
3120 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3121 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3122
3123
3124 PYPRIVATE;
3125 };
3126
3127 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3128
3129 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3130 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3131 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3132 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3133
3134
3135 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3136 unsigned long cookie = 0;
3137 int selected = self->GetFirstSelected(cookie);
3138 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3139 PyObject* tup = PyTuple_New(2);
3140 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3141 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3142 wxPyEndBlockThreads(blocked);
3143 return tup;
3144 }
3145 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3146 int selected = self->GetNextSelected(cookie);
3147 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3148 PyObject* tup = PyTuple_New(2);
3149 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3150 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3151 wxPyEndBlockThreads(blocked);
3152 return tup;
3153 }
3154
3155 #include <wx/htmllbox.h>
3156
3157
3158 class wxPyHtmlListBox : public wxHtmlListBox
3159 {
3160 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3161 public:
3162 wxPyHtmlListBox() : wxHtmlListBox() {}
3163
3164 wxPyHtmlListBox(wxWindow *parent,
3165 wxWindowID id = wxID_ANY,
3166 const wxPoint& pos = wxDefaultPosition,
3167 const wxSize& size = wxDefaultSize,
3168 long style = 0,
3169 const wxString& name = wxPyVListBoxNameStr)
3170 : wxHtmlListBox(parent, id, pos, size, style, name)
3171 {}
3172
3173 // Overridable virtuals
3174
3175 // this method must be implemented in the derived class and should return
3176 // the body (i.e. without <html>) of the HTML for the given item
3177 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3178
3179 // this function may be overridden to decorate HTML returned by OnGetItem()
3180 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3181
3182 // These are from wxVListBox
3183 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3184 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3185
3186 // TODO:
3187 // // this method allows to customize the selection appearance: it may be used
3188 // // to specify the colour of the text which normally has the given colour
3189 // // colFg when it is inside the selection
3190 // //
3191 // // by default, the original colour is not used at all and all text has the
3192 // // same (default for this system) colour inside selection
3193 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3194
3195 // // this is the same as GetSelectedTextColour() but allows to customize the
3196 // // background colour -- this is even more rarely used as you can change it
3197 // // globally using SetSelectionBackground()
3198 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3199
3200
3201 // This method may be overriden to handle clicking on a link in
3202 // the listbox. By default, clicking links is ignored.
3203 virtual void OnLinkClicked(size_t n,
3204 const wxHtmlLinkInfo& link);
3205
3206 PYPRIVATE;
3207 };
3208
3209
3210 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3211
3212 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3213 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3214 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3215 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3216
3217
3218 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3219 const wxHtmlLinkInfo& link) {
3220 bool found;
3221 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3222 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3223 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3224 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3225 Py_DECREF(obj);
3226 }
3227 wxPyEndBlockThreads(blocked);
3228 if (! found)
3229 wxPyHtmlListBox::OnLinkClicked(n, link);
3230 }
3231
3232
3233
3234 const wxArrayString wxPyEmptyStringArray;
3235
3236 static const wxString wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr);
3237
3238
3239
3240 #ifndef wxHAS_TASK_BAR_ICON
3241 // implement dummy classes for platforms that don't have it
3242
3243 class wxTaskBarIcon : public wxEvtHandler
3244 {
3245 public:
3246 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3247 };
3248
3249
3250 class wxTaskBarIconEvent : public wxEvent
3251 {
3252 public:
3253 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3254 { wxPyRaiseNotImplemented(); }
3255 virtual wxEvent* Clone() const { return NULL; }
3256 bool IsOk() const { return false; }
3257 bool IsIconInstalled() const { return false; }
3258 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3259 bool RemoveIcon() { return false; }
3260 bool PopupMenu(wxMenu *menu) { return false; }
3261 };
3262
3263 enum {
3264 wxEVT_TASKBAR_MOVE = 0,
3265 wxEVT_TASKBAR_LEFT_DOWN = 0,
3266 wxEVT_TASKBAR_LEFT_UP = 0,
3267 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3268 wxEVT_TASKBAR_RIGHT_UP = 0,
3269 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3270 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3271 };
3272
3273
3274 #else
3275 // Otherwise make a class that can virtualize CreatePopupMenu
3276 class wxPyTaskBarIcon : public wxTaskBarIcon
3277 {
3278 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3279 public:
3280 wxPyTaskBarIcon() : wxTaskBarIcon()
3281 {}
3282
3283 wxMenu* CreatePopupMenu() {
3284 wxMenu *rval = NULL;
3285 bool found;
3286 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3287 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3288 PyObject* ro;
3289 wxMenu* ptr;
3290 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3291 if (ro) {
3292 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3293 rval = ptr;
3294 Py_DECREF(ro);
3295 }
3296 }
3297 wxPyEndBlockThreads(blocked);
3298 if (! found)
3299 rval = wxTaskBarIcon::CreatePopupMenu();
3300 return rval;
3301 }
3302
3303 PYPRIVATE;
3304 };
3305
3306 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3307
3308 #endif
3309
3310 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3311 self->RemoveIcon();
3312 delete self;
3313 }
3314 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3315 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3316 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3317 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3318 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3319 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3320
3321 // for compatibility only
3322 #define wxHIDE_READONLY 0
3323
3324 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3325 wxArrayString arr;
3326 self->GetFilenames(arr);
3327 return wxArrayString2PyList_helper(arr);
3328 }
3329 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3330 wxArrayString arr;
3331 self->GetPaths(arr);
3332 return wxArrayString2PyList_helper(arr);
3333 }
3334 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3335 return wxArrayInt2PyList_helper(self->GetSelections());
3336 }
3337 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){
3338 return new wxSingleChoiceDialog(parent, message, caption,
3339 choices, choices_array, NULL, style, pos);
3340 }
3341 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3342
3343 SWIGINTERNINLINE PyObject*
3344 SWIG_From_bool (bool value)
3345 {
3346 return PyBool_FromLong(value ? 1 : 0);
3347 }
3348
3349
3350 #include <wx/mdi.h>
3351
3352 // C++ version of Python aware wxWindow
3353 class wxPyWindow : public wxWindow
3354 {
3355 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3356 public:
3357 wxPyWindow() : wxWindow() {}
3358 wxPyWindow(wxWindow* parent, const wxWindowID id,
3359 const wxPoint& pos = wxDefaultPosition,
3360 const wxSize& size = wxDefaultSize,
3361 long style = 0,
3362 const wxString& name = wxPyPanelNameStr)
3363 : wxWindow(parent, id, pos, size, style, name) {}
3364
3365
3366 bool DoEraseBackground(wxDC* dc) {
3367 #ifdef __WXMSW__
3368 return wxWindow::DoEraseBackground(dc->GetHDC());
3369 #else
3370 dc->SetBackground(wxBrush(GetBackgroundColour()));
3371 dc->Clear();
3372 return true;
3373 #endif
3374 }
3375
3376 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3377 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3378 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3379 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3380
3381 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3382 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3383 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3384
3385 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3386 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3387
3388 DEC_PYCALLBACK__(InitDialog);
3389 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3390 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3391 DEC_PYCALLBACK_BOOL_(Validate);
3392
3393 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3394 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3395 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3396
3397 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3398 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3399
3400 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3401 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3402
3403 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3404
3405 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3406
3407 PYPRIVATE;
3408 };
3409
3410 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3411
3412 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3413 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3414 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3415 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3416
3417 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3418 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3419 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3420
3421 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3422 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3423
3424 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3425 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3426 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3427 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3428
3429 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3430 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3431 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3432
3433 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3434 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3435
3436 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3437 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3438
3439 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3440
3441 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3442
3443 // C++ version of Python aware wxPanel
3444 class wxPyPanel : public wxPanel
3445 {
3446 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3447 public:
3448 wxPyPanel() : wxPanel() {}
3449 wxPyPanel(wxWindow* parent, const wxWindowID id,
3450 const wxPoint& pos = wxDefaultPosition,
3451 const wxSize& size = wxDefaultSize,
3452 long style = 0,
3453 const wxString& name = wxPyPanelNameStr)
3454 : wxPanel(parent, id, pos, size, style, name) {}
3455
3456 bool DoEraseBackground(wxDC* dc) {
3457 #ifdef __WXMSW__
3458 return wxWindow::DoEraseBackground(dc->GetHDC());
3459 #else
3460 dc->SetBackground(wxBrush(GetBackgroundColour()));
3461 dc->Clear();
3462 return true;
3463 #endif
3464 }
3465
3466
3467 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3468 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3469 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3470 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3471
3472 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3473 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3474 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3475
3476 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3477 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3478
3479 DEC_PYCALLBACK__(InitDialog);
3480 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3481 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3482 DEC_PYCALLBACK_BOOL_(Validate);
3483
3484 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3485 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3486 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3487
3488 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3489 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3490
3491 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3492 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3493
3494 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3495
3496 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3497
3498 PYPRIVATE;
3499 };
3500
3501 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3502
3503 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3504 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3505 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3506 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3507
3508 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3509 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3510 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3511
3512 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3513 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3514
3515 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3516 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3517 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3518 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3519
3520 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3521 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3522 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3523
3524 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3525 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3526
3527 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3528 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3529
3530 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3531
3532 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3533
3534 // C++ version of Python aware wxScrolledWindow
3535 class wxPyScrolledWindow : public wxScrolledWindow
3536 {
3537 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3538 public:
3539 wxPyScrolledWindow() : wxScrolledWindow() {}
3540 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3541 const wxPoint& pos = wxDefaultPosition,
3542 const wxSize& size = wxDefaultSize,
3543 long style = 0,
3544 const wxString& name = wxPyPanelNameStr)
3545 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3546
3547 bool DoEraseBackground(wxDC* dc) {
3548 #ifdef __WXMSW__
3549 return wxWindow::DoEraseBackground(dc->GetHDC());
3550 #else
3551 dc->SetBackground(wxBrush(GetBackgroundColour()));
3552 dc->Clear();
3553 return true;
3554 #endif
3555 }
3556
3557 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3558 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3559 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3560 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3561
3562 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3563 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3564 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3565
3566 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3567 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3568
3569 DEC_PYCALLBACK__(InitDialog);
3570 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3571 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3572 DEC_PYCALLBACK_BOOL_(Validate);
3573
3574 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3575 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3576 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3577
3578 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3579 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3580
3581 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3582 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3583
3584 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3585
3586 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3587
3588 PYPRIVATE;
3589 };
3590
3591 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3592
3593 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3594 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3595 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3596 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3597
3598 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3599 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3600 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3601
3602 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3603 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3604
3605 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3606 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3607 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3608 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3609
3610 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3611 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3612 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3613
3614 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3615 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3616
3617 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3618 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3619
3620 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3621
3622 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3623
3624
3625 #include "wx/wxPython/printfw.h"
3626
3627
3628 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3629 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3630 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3631 PyObject* data;
3632 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3633 data = PyString_FromStringAndSize(self->GetPrivData(),
3634 self->GetPrivDataLen());
3635 wxPyEndBlockThreads(blocked);
3636 return data;
3637 }
3638 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3639 if (! PyString_Check(data)) {
3640 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3641 "Expected string object"));
3642 return /* NULL */ ;
3643 }
3644
3645 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3646 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3647 wxPyEndBlockThreads(blocked);
3648 }
3649
3650
3651 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3652
3653 // Since this one would be tough and ugly to do with the Macros...
3654 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3655 bool hadErr = false;
3656 bool found;
3657
3658 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3659 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3660 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3661 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3662 PyObject* val;
3663
3664 val = PyTuple_GetItem(result, 0);
3665 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3666 else hadErr = true;
3667
3668 val = PyTuple_GetItem(result, 1);
3669 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3670 else hadErr = true;
3671
3672 val = PyTuple_GetItem(result, 2);
3673 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3674 else hadErr = true;
3675
3676 val = PyTuple_GetItem(result, 3);
3677 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3678 else hadErr = true;
3679 }
3680 else
3681 hadErr = true;
3682
3683 if (hadErr) {
3684 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3685 PyErr_Print();
3686 }
3687 Py_DECREF(result);
3688 }
3689 wxPyEndBlockThreads(blocked);
3690 if (! found)
3691 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3692 }
3693
3694
3695
3696 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3697 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3698 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3699 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3700 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3701 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3702 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3703
3704
3705
3706
3707
3708 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3709 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3710
3711
3712 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3713 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3714 bool rval=false; \
3715 bool found; \
3716 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3717 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3718 PyObject* win = wxPyMake_wxObject(a,false); \
3719 PyObject* dc = wxPyMake_wxObject(&b,false); \
3720 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3721 Py_DECREF(win); \
3722 Py_DECREF(dc); \
3723 } \
3724 wxPyEndBlockThreads(blocked); \
3725 if (! found) \
3726 rval = PCLASS::CBNAME(a, b); \
3727 return rval; \
3728 }
3729
3730
3731
3732
3733 class wxPyPrintPreview : public wxPrintPreview
3734 {
3735 DECLARE_CLASS(wxPyPrintPreview)
3736 public:
3737 wxPyPrintPreview(wxPyPrintout* printout,
3738 wxPyPrintout* printoutForPrinting,
3739 wxPrintDialogData* data=NULL)
3740 : wxPrintPreview(printout, printoutForPrinting, data)
3741 {}
3742 wxPyPrintPreview(wxPyPrintout* printout,
3743 wxPyPrintout* printoutForPrinting,
3744 wxPrintData* data)
3745 : wxPrintPreview(printout, printoutForPrinting, data)
3746 {}
3747
3748 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3749 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3750 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3751 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3752 DEC_PYCALLBACK_VOID_INT(SetZoom);
3753 DEC_PYCALLBACK_BOOL_BOOL(Print);
3754 DEC_PYCALLBACK_VOID_(DetermineScaling);
3755
3756 PYPRIVATE;
3757 };
3758
3759 // Stupid renamed classes... Fix this in 2.5...
3760 #if defined(__WXMSW__)
3761 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3762 #elif defined(__WXMAC__)
3763 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3764 #else
3765 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3766 #endif
3767
3768 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3769 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3770 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3771 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3772 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3773 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3774 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3775
3776
3777 class wxPyPreviewFrame : public wxPreviewFrame
3778 {
3779 DECLARE_CLASS(wxPyPreviewFrame)
3780 public:
3781 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3782 const wxString& title,
3783 const wxPoint& pos = wxDefaultPosition,
3784 const wxSize& size = wxDefaultSize,
3785 long style = wxDEFAULT_FRAME_STYLE,
3786 const wxString& name = wxPyFrameNameStr)
3787 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3788 {}
3789
3790 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3791 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3792
3793 DEC_PYCALLBACK_VOID_(Initialize);
3794 DEC_PYCALLBACK_VOID_(CreateCanvas);
3795 DEC_PYCALLBACK_VOID_(CreateControlBar);
3796
3797 PYPRIVATE;
3798 };
3799
3800 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3801
3802 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3803 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3804 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3805
3806
3807 class wxPyPreviewControlBar : public wxPreviewControlBar
3808 {
3809 DECLARE_CLASS(wxPyPreviewControlBar)
3810 public:
3811 wxPyPreviewControlBar(wxPrintPreview *preview,
3812 long buttons,
3813 wxWindow *parent,
3814 const wxPoint& pos = wxDefaultPosition,
3815 const wxSize& size = wxDefaultSize,
3816 long style = 0,
3817 const wxString& name = wxPyPanelNameStr)
3818 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3819 {}
3820
3821 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3822
3823 DEC_PYCALLBACK_VOID_(CreateButtons);
3824 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3825
3826 PYPRIVATE;
3827 };
3828
3829 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3830 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3831 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3832
3833 #ifdef __cplusplus
3834 extern "C" {
3835 #endif
3836 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3837 PyObject *resultobj = 0;
3838 wxWindow *arg1 = (wxWindow *) 0 ;
3839 int arg2 = (int) (int)-1 ;
3840 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3841 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3842 wxSize const &arg4_defvalue = wxDefaultSize ;
3843 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3844 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3845 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3846 wxString *arg6 = (wxString *) &arg6_defvalue ;
3847 wxPanel *result = 0 ;
3848 void *argp1 = 0 ;
3849 int res1 = 0 ;
3850 int val2 ;
3851 int ecode2 = 0 ;
3852 wxPoint temp3 ;
3853 wxSize temp4 ;
3854 long val5 ;
3855 int ecode5 = 0 ;
3856 bool temp6 = false ;
3857 PyObject * obj0 = 0 ;
3858 PyObject * obj1 = 0 ;
3859 PyObject * obj2 = 0 ;
3860 PyObject * obj3 = 0 ;
3861 PyObject * obj4 = 0 ;
3862 PyObject * obj5 = 0 ;
3863 char * kwnames[] = {
3864 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3865 };
3866
3867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3869 if (!SWIG_IsOK(res1)) {
3870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3871 }
3872 arg1 = reinterpret_cast< wxWindow * >(argp1);
3873 if (obj1) {
3874 ecode2 = SWIG_AsVal_int(obj1, &val2);
3875 if (!SWIG_IsOK(ecode2)) {
3876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3877 }
3878 arg2 = static_cast< int >(val2);
3879 }
3880 if (obj2) {
3881 {
3882 arg3 = &temp3;
3883 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3884 }
3885 }
3886 if (obj3) {
3887 {
3888 arg4 = &temp4;
3889 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3890 }
3891 }
3892 if (obj4) {
3893 ecode5 = SWIG_AsVal_long(obj4, &val5);
3894 if (!SWIG_IsOK(ecode5)) {
3895 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3896 }
3897 arg5 = static_cast< long >(val5);
3898 }
3899 if (obj5) {
3900 {
3901 arg6 = wxString_in_helper(obj5);
3902 if (arg6 == NULL) SWIG_fail;
3903 temp6 = true;
3904 }
3905 }
3906 {
3907 if (!wxPyCheckForApp()) SWIG_fail;
3908 PyThreadState* __tstate = wxPyBeginAllowThreads();
3909 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3910 wxPyEndAllowThreads(__tstate);
3911 if (PyErr_Occurred()) SWIG_fail;
3912 }
3913 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3914 {
3915 if (temp6)
3916 delete arg6;
3917 }
3918 return resultobj;
3919 fail:
3920 {
3921 if (temp6)
3922 delete arg6;
3923 }
3924 return NULL;
3925 }
3926
3927
3928 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3929 PyObject *resultobj = 0;
3930 wxPanel *result = 0 ;
3931
3932 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3933 {
3934 if (!wxPyCheckForApp()) SWIG_fail;
3935 PyThreadState* __tstate = wxPyBeginAllowThreads();
3936 result = (wxPanel *)new wxPanel();
3937 wxPyEndAllowThreads(__tstate);
3938 if (PyErr_Occurred()) SWIG_fail;
3939 }
3940 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3941 return resultobj;
3942 fail:
3943 return NULL;
3944 }
3945
3946
3947 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3948 PyObject *resultobj = 0;
3949 wxPanel *arg1 = (wxPanel *) 0 ;
3950 wxWindow *arg2 = (wxWindow *) 0 ;
3951 int arg3 = (int) (int)-1 ;
3952 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3953 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3954 wxSize const &arg5_defvalue = wxDefaultSize ;
3955 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3956 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3957 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3958 wxString *arg7 = (wxString *) &arg7_defvalue ;
3959 bool result;
3960 void *argp1 = 0 ;
3961 int res1 = 0 ;
3962 void *argp2 = 0 ;
3963 int res2 = 0 ;
3964 int val3 ;
3965 int ecode3 = 0 ;
3966 wxPoint temp4 ;
3967 wxSize temp5 ;
3968 long val6 ;
3969 int ecode6 = 0 ;
3970 bool temp7 = false ;
3971 PyObject * obj0 = 0 ;
3972 PyObject * obj1 = 0 ;
3973 PyObject * obj2 = 0 ;
3974 PyObject * obj3 = 0 ;
3975 PyObject * obj4 = 0 ;
3976 PyObject * obj5 = 0 ;
3977 PyObject * obj6 = 0 ;
3978 char * kwnames[] = {
3979 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3980 };
3981
3982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3984 if (!SWIG_IsOK(res1)) {
3985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3986 }
3987 arg1 = reinterpret_cast< wxPanel * >(argp1);
3988 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3989 if (!SWIG_IsOK(res2)) {
3990 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3991 }
3992 arg2 = reinterpret_cast< wxWindow * >(argp2);
3993 if (obj2) {
3994 ecode3 = SWIG_AsVal_int(obj2, &val3);
3995 if (!SWIG_IsOK(ecode3)) {
3996 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3997 }
3998 arg3 = static_cast< int >(val3);
3999 }
4000 if (obj3) {
4001 {
4002 arg4 = &temp4;
4003 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4004 }
4005 }
4006 if (obj4) {
4007 {
4008 arg5 = &temp5;
4009 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4010 }
4011 }
4012 if (obj5) {
4013 ecode6 = SWIG_AsVal_long(obj5, &val6);
4014 if (!SWIG_IsOK(ecode6)) {
4015 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
4016 }
4017 arg6 = static_cast< long >(val6);
4018 }
4019 if (obj6) {
4020 {
4021 arg7 = wxString_in_helper(obj6);
4022 if (arg7 == NULL) SWIG_fail;
4023 temp7 = true;
4024 }
4025 }
4026 {
4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
4028 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4029 wxPyEndAllowThreads(__tstate);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 }
4032 {
4033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4034 }
4035 {
4036 if (temp7)
4037 delete arg7;
4038 }
4039 return resultobj;
4040 fail:
4041 {
4042 if (temp7)
4043 delete arg7;
4044 }
4045 return NULL;
4046 }
4047
4048
4049 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4050 PyObject *resultobj = 0;
4051 wxPanel *arg1 = (wxPanel *) 0 ;
4052 void *argp1 = 0 ;
4053 int res1 = 0 ;
4054 PyObject *swig_obj[1] ;
4055
4056 if (!args) SWIG_fail;
4057 swig_obj[0] = args;
4058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
4059 if (!SWIG_IsOK(res1)) {
4060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
4061 }
4062 arg1 = reinterpret_cast< wxPanel * >(argp1);
4063 {
4064 PyThreadState* __tstate = wxPyBeginAllowThreads();
4065 (arg1)->SetFocusIgnoringChildren();
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 resultobj = SWIG_Py_Void();
4070 return resultobj;
4071 fail:
4072 return NULL;
4073 }
4074
4075
4076 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4077 PyObject *resultobj = 0;
4078 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4079 SwigValueWrapper<wxVisualAttributes > result;
4080 int val1 ;
4081 int ecode1 = 0 ;
4082 PyObject * obj0 = 0 ;
4083 char * kwnames[] = {
4084 (char *) "variant", NULL
4085 };
4086
4087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4088 if (obj0) {
4089 ecode1 = SWIG_AsVal_int(obj0, &val1);
4090 if (!SWIG_IsOK(ecode1)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4092 }
4093 arg1 = static_cast< wxWindowVariant >(val1);
4094 }
4095 {
4096 if (!wxPyCheckForApp()) SWIG_fail;
4097 PyThreadState* __tstate = wxPyBeginAllowThreads();
4098 result = wxPanel::GetClassDefaultAttributes(arg1);
4099 wxPyEndAllowThreads(__tstate);
4100 if (PyErr_Occurred()) SWIG_fail;
4101 }
4102 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4103 return resultobj;
4104 fail:
4105 return NULL;
4106 }
4107
4108
4109 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4110 PyObject *obj;
4111 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4112 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4113 return SWIG_Py_Void();
4114 }
4115
4116 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4117 return SWIG_Python_InitShadowInstance(args);
4118 }
4119
4120 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4121 PyObject *resultobj = 0;
4122 wxWindow *arg1 = (wxWindow *) 0 ;
4123 int arg2 = (int) (int)-1 ;
4124 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4125 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4126 wxSize const &arg4_defvalue = wxDefaultSize ;
4127 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4128 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4129 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4130 wxString *arg6 = (wxString *) &arg6_defvalue ;
4131 wxScrolledWindow *result = 0 ;
4132 void *argp1 = 0 ;
4133 int res1 = 0 ;
4134 int val2 ;
4135 int ecode2 = 0 ;
4136 wxPoint temp3 ;
4137 wxSize temp4 ;
4138 long val5 ;
4139 int ecode5 = 0 ;
4140 bool temp6 = false ;
4141 PyObject * obj0 = 0 ;
4142 PyObject * obj1 = 0 ;
4143 PyObject * obj2 = 0 ;
4144 PyObject * obj3 = 0 ;
4145 PyObject * obj4 = 0 ;
4146 PyObject * obj5 = 0 ;
4147 char * kwnames[] = {
4148 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4149 };
4150
4151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4153 if (!SWIG_IsOK(res1)) {
4154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4155 }
4156 arg1 = reinterpret_cast< wxWindow * >(argp1);
4157 if (obj1) {
4158 ecode2 = SWIG_AsVal_int(obj1, &val2);
4159 if (!SWIG_IsOK(ecode2)) {
4160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4161 }
4162 arg2 = static_cast< int >(val2);
4163 }
4164 if (obj2) {
4165 {
4166 arg3 = &temp3;
4167 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4168 }
4169 }
4170 if (obj3) {
4171 {
4172 arg4 = &temp4;
4173 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4174 }
4175 }
4176 if (obj4) {
4177 ecode5 = SWIG_AsVal_long(obj4, &val5);
4178 if (!SWIG_IsOK(ecode5)) {
4179 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4180 }
4181 arg5 = static_cast< long >(val5);
4182 }
4183 if (obj5) {
4184 {
4185 arg6 = wxString_in_helper(obj5);
4186 if (arg6 == NULL) SWIG_fail;
4187 temp6 = true;
4188 }
4189 }
4190 {
4191 if (!wxPyCheckForApp()) SWIG_fail;
4192 PyThreadState* __tstate = wxPyBeginAllowThreads();
4193 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4194 wxPyEndAllowThreads(__tstate);
4195 if (PyErr_Occurred()) SWIG_fail;
4196 }
4197 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4198 {
4199 if (temp6)
4200 delete arg6;
4201 }
4202 return resultobj;
4203 fail:
4204 {
4205 if (temp6)
4206 delete arg6;
4207 }
4208 return NULL;
4209 }
4210
4211
4212 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4213 PyObject *resultobj = 0;
4214 wxScrolledWindow *result = 0 ;
4215
4216 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4217 {
4218 if (!wxPyCheckForApp()) SWIG_fail;
4219 PyThreadState* __tstate = wxPyBeginAllowThreads();
4220 result = (wxScrolledWindow *)new wxScrolledWindow();
4221 wxPyEndAllowThreads(__tstate);
4222 if (PyErr_Occurred()) SWIG_fail;
4223 }
4224 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4225 return resultobj;
4226 fail:
4227 return NULL;
4228 }
4229
4230
4231 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4232 PyObject *resultobj = 0;
4233 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4234 wxWindow *arg2 = (wxWindow *) 0 ;
4235 int arg3 = (int) (int)-1 ;
4236 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4237 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4238 wxSize const &arg5_defvalue = wxDefaultSize ;
4239 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4240 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4241 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4242 wxString *arg7 = (wxString *) &arg7_defvalue ;
4243 bool result;
4244 void *argp1 = 0 ;
4245 int res1 = 0 ;
4246 void *argp2 = 0 ;
4247 int res2 = 0 ;
4248 int val3 ;
4249 int ecode3 = 0 ;
4250 wxPoint temp4 ;
4251 wxSize temp5 ;
4252 long val6 ;
4253 int ecode6 = 0 ;
4254 bool temp7 = false ;
4255 PyObject * obj0 = 0 ;
4256 PyObject * obj1 = 0 ;
4257 PyObject * obj2 = 0 ;
4258 PyObject * obj3 = 0 ;
4259 PyObject * obj4 = 0 ;
4260 PyObject * obj5 = 0 ;
4261 PyObject * obj6 = 0 ;
4262 char * kwnames[] = {
4263 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4264 };
4265
4266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4268 if (!SWIG_IsOK(res1)) {
4269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4270 }
4271 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4272 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4273 if (!SWIG_IsOK(res2)) {
4274 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4275 }
4276 arg2 = reinterpret_cast< wxWindow * >(argp2);
4277 if (obj2) {
4278 ecode3 = SWIG_AsVal_int(obj2, &val3);
4279 if (!SWIG_IsOK(ecode3)) {
4280 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4281 }
4282 arg3 = static_cast< int >(val3);
4283 }
4284 if (obj3) {
4285 {
4286 arg4 = &temp4;
4287 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4288 }
4289 }
4290 if (obj4) {
4291 {
4292 arg5 = &temp5;
4293 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4294 }
4295 }
4296 if (obj5) {
4297 ecode6 = SWIG_AsVal_long(obj5, &val6);
4298 if (!SWIG_IsOK(ecode6)) {
4299 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4300 }
4301 arg6 = static_cast< long >(val6);
4302 }
4303 if (obj6) {
4304 {
4305 arg7 = wxString_in_helper(obj6);
4306 if (arg7 == NULL) SWIG_fail;
4307 temp7 = true;
4308 }
4309 }
4310 {
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4313 wxPyEndAllowThreads(__tstate);
4314 if (PyErr_Occurred()) SWIG_fail;
4315 }
4316 {
4317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4318 }
4319 {
4320 if (temp7)
4321 delete arg7;
4322 }
4323 return resultobj;
4324 fail:
4325 {
4326 if (temp7)
4327 delete arg7;
4328 }
4329 return NULL;
4330 }
4331
4332
4333 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4334 PyObject *resultobj = 0;
4335 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4336 int arg2 ;
4337 int arg3 ;
4338 int arg4 ;
4339 int arg5 ;
4340 int arg6 = (int) 0 ;
4341 int arg7 = (int) 0 ;
4342 bool arg8 = (bool) false ;
4343 void *argp1 = 0 ;
4344 int res1 = 0 ;
4345 int val2 ;
4346 int ecode2 = 0 ;
4347 int val3 ;
4348 int ecode3 = 0 ;
4349 int val4 ;
4350 int ecode4 = 0 ;
4351 int val5 ;
4352 int ecode5 = 0 ;
4353 int val6 ;
4354 int ecode6 = 0 ;
4355 int val7 ;
4356 int ecode7 = 0 ;
4357 bool val8 ;
4358 int ecode8 = 0 ;
4359 PyObject * obj0 = 0 ;
4360 PyObject * obj1 = 0 ;
4361 PyObject * obj2 = 0 ;
4362 PyObject * obj3 = 0 ;
4363 PyObject * obj4 = 0 ;
4364 PyObject * obj5 = 0 ;
4365 PyObject * obj6 = 0 ;
4366 PyObject * obj7 = 0 ;
4367 char * kwnames[] = {
4368 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4369 };
4370
4371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4373 if (!SWIG_IsOK(res1)) {
4374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4375 }
4376 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4377 ecode2 = SWIG_AsVal_int(obj1, &val2);
4378 if (!SWIG_IsOK(ecode2)) {
4379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4380 }
4381 arg2 = static_cast< int >(val2);
4382 ecode3 = SWIG_AsVal_int(obj2, &val3);
4383 if (!SWIG_IsOK(ecode3)) {
4384 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4385 }
4386 arg3 = static_cast< int >(val3);
4387 ecode4 = SWIG_AsVal_int(obj3, &val4);
4388 if (!SWIG_IsOK(ecode4)) {
4389 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4390 }
4391 arg4 = static_cast< int >(val4);
4392 ecode5 = SWIG_AsVal_int(obj4, &val5);
4393 if (!SWIG_IsOK(ecode5)) {
4394 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4395 }
4396 arg5 = static_cast< int >(val5);
4397 if (obj5) {
4398 ecode6 = SWIG_AsVal_int(obj5, &val6);
4399 if (!SWIG_IsOK(ecode6)) {
4400 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4401 }
4402 arg6 = static_cast< int >(val6);
4403 }
4404 if (obj6) {
4405 ecode7 = SWIG_AsVal_int(obj6, &val7);
4406 if (!SWIG_IsOK(ecode7)) {
4407 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4408 }
4409 arg7 = static_cast< int >(val7);
4410 }
4411 if (obj7) {
4412 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4413 if (!SWIG_IsOK(ecode8)) {
4414 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4415 }
4416 arg8 = static_cast< bool >(val8);
4417 }
4418 {
4419 PyThreadState* __tstate = wxPyBeginAllowThreads();
4420 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4421 wxPyEndAllowThreads(__tstate);
4422 if (PyErr_Occurred()) SWIG_fail;
4423 }
4424 resultobj = SWIG_Py_Void();
4425 return resultobj;
4426 fail:
4427 return NULL;
4428 }
4429
4430
4431 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4432 PyObject *resultobj = 0;
4433 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4434 int arg2 ;
4435 int arg3 ;
4436 void *argp1 = 0 ;
4437 int res1 = 0 ;
4438 int val2 ;
4439 int ecode2 = 0 ;
4440 int val3 ;
4441 int ecode3 = 0 ;
4442 PyObject * obj0 = 0 ;
4443 PyObject * obj1 = 0 ;
4444 PyObject * obj2 = 0 ;
4445 char * kwnames[] = {
4446 (char *) "self",(char *) "x",(char *) "y", NULL
4447 };
4448
4449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4451 if (!SWIG_IsOK(res1)) {
4452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4453 }
4454 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4455 ecode2 = SWIG_AsVal_int(obj1, &val2);
4456 if (!SWIG_IsOK(ecode2)) {
4457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4458 }
4459 arg2 = static_cast< int >(val2);
4460 ecode3 = SWIG_AsVal_int(obj2, &val3);
4461 if (!SWIG_IsOK(ecode3)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4463 }
4464 arg3 = static_cast< int >(val3);
4465 {
4466 PyThreadState* __tstate = wxPyBeginAllowThreads();
4467 (arg1)->Scroll(arg2,arg3);
4468 wxPyEndAllowThreads(__tstate);
4469 if (PyErr_Occurred()) SWIG_fail;
4470 }
4471 resultobj = SWIG_Py_Void();
4472 return resultobj;
4473 fail:
4474 return NULL;
4475 }
4476
4477
4478 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4479 PyObject *resultobj = 0;
4480 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4481 int arg2 ;
4482 int result;
4483 void *argp1 = 0 ;
4484 int res1 = 0 ;
4485 int val2 ;
4486 int ecode2 = 0 ;
4487 PyObject * obj0 = 0 ;
4488 PyObject * obj1 = 0 ;
4489 char * kwnames[] = {
4490 (char *) "self",(char *) "orient", NULL
4491 };
4492
4493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4495 if (!SWIG_IsOK(res1)) {
4496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4497 }
4498 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4499 ecode2 = SWIG_AsVal_int(obj1, &val2);
4500 if (!SWIG_IsOK(ecode2)) {
4501 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4502 }
4503 arg2 = static_cast< int >(val2);
4504 {
4505 PyThreadState* __tstate = wxPyBeginAllowThreads();
4506 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4507 wxPyEndAllowThreads(__tstate);
4508 if (PyErr_Occurred()) SWIG_fail;
4509 }
4510 resultobj = SWIG_From_int(static_cast< int >(result));
4511 return resultobj;
4512 fail:
4513 return NULL;
4514 }
4515
4516
4517 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4518 PyObject *resultobj = 0;
4519 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4520 int arg2 ;
4521 int arg3 ;
4522 void *argp1 = 0 ;
4523 int res1 = 0 ;
4524 int val2 ;
4525 int ecode2 = 0 ;
4526 int val3 ;
4527 int ecode3 = 0 ;
4528 PyObject * obj0 = 0 ;
4529 PyObject * obj1 = 0 ;
4530 PyObject * obj2 = 0 ;
4531 char * kwnames[] = {
4532 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4533 };
4534
4535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4537 if (!SWIG_IsOK(res1)) {
4538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4539 }
4540 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4541 ecode2 = SWIG_AsVal_int(obj1, &val2);
4542 if (!SWIG_IsOK(ecode2)) {
4543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4544 }
4545 arg2 = static_cast< int >(val2);
4546 ecode3 = SWIG_AsVal_int(obj2, &val3);
4547 if (!SWIG_IsOK(ecode3)) {
4548 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4549 }
4550 arg3 = static_cast< int >(val3);
4551 {
4552 PyThreadState* __tstate = wxPyBeginAllowThreads();
4553 (arg1)->SetScrollPageSize(arg2,arg3);
4554 wxPyEndAllowThreads(__tstate);
4555 if (PyErr_Occurred()) SWIG_fail;
4556 }
4557 resultobj = SWIG_Py_Void();
4558 return resultobj;
4559 fail:
4560 return NULL;
4561 }
4562
4563
4564 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4565 PyObject *resultobj = 0;
4566 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4567 int arg2 ;
4568 int arg3 ;
4569 void *argp1 = 0 ;
4570 int res1 = 0 ;
4571 int val2 ;
4572 int ecode2 = 0 ;
4573 int val3 ;
4574 int ecode3 = 0 ;
4575 PyObject * obj0 = 0 ;
4576 PyObject * obj1 = 0 ;
4577 PyObject * obj2 = 0 ;
4578 char * kwnames[] = {
4579 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4580 };
4581
4582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4584 if (!SWIG_IsOK(res1)) {
4585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4586 }
4587 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4588 ecode2 = SWIG_AsVal_int(obj1, &val2);
4589 if (!SWIG_IsOK(ecode2)) {
4590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4591 }
4592 arg2 = static_cast< int >(val2);
4593 ecode3 = SWIG_AsVal_int(obj2, &val3);
4594 if (!SWIG_IsOK(ecode3)) {
4595 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4596 }
4597 arg3 = static_cast< int >(val3);
4598 {
4599 PyThreadState* __tstate = wxPyBeginAllowThreads();
4600 (arg1)->SetScrollRate(arg2,arg3);
4601 wxPyEndAllowThreads(__tstate);
4602 if (PyErr_Occurred()) SWIG_fail;
4603 }
4604 resultobj = SWIG_Py_Void();
4605 return resultobj;
4606 fail:
4607 return NULL;
4608 }
4609
4610
4611 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4612 PyObject *resultobj = 0;
4613 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4614 int *arg2 = (int *) 0 ;
4615 int *arg3 = (int *) 0 ;
4616 void *argp1 = 0 ;
4617 int res1 = 0 ;
4618 int temp2 ;
4619 int res2 = SWIG_TMPOBJ ;
4620 int temp3 ;
4621 int res3 = SWIG_TMPOBJ ;
4622 PyObject *swig_obj[1] ;
4623
4624 arg2 = &temp2;
4625 arg3 = &temp3;
4626 if (!args) SWIG_fail;
4627 swig_obj[0] = args;
4628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4629 if (!SWIG_IsOK(res1)) {
4630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4631 }
4632 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4633 {
4634 PyThreadState* __tstate = wxPyBeginAllowThreads();
4635 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4636 wxPyEndAllowThreads(__tstate);
4637 if (PyErr_Occurred()) SWIG_fail;
4638 }
4639 resultobj = SWIG_Py_Void();
4640 if (SWIG_IsTmpObj(res2)) {
4641 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4642 } else {
4643 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4644 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4645 }
4646 if (SWIG_IsTmpObj(res3)) {
4647 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4648 } else {
4649 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4650 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4651 }
4652 return resultobj;
4653 fail:
4654 return NULL;
4655 }
4656
4657
4658 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4659 PyObject *resultobj = 0;
4660 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4661 bool arg2 ;
4662 bool arg3 ;
4663 void *argp1 = 0 ;
4664 int res1 = 0 ;
4665 bool val2 ;
4666 int ecode2 = 0 ;
4667 bool val3 ;
4668 int ecode3 = 0 ;
4669 PyObject * obj0 = 0 ;
4670 PyObject * obj1 = 0 ;
4671 PyObject * obj2 = 0 ;
4672 char * kwnames[] = {
4673 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4674 };
4675
4676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4678 if (!SWIG_IsOK(res1)) {
4679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4680 }
4681 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4682 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4683 if (!SWIG_IsOK(ecode2)) {
4684 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4685 }
4686 arg2 = static_cast< bool >(val2);
4687 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4688 if (!SWIG_IsOK(ecode3)) {
4689 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4690 }
4691 arg3 = static_cast< bool >(val3);
4692 {
4693 PyThreadState* __tstate = wxPyBeginAllowThreads();
4694 (arg1)->EnableScrolling(arg2,arg3);
4695 wxPyEndAllowThreads(__tstate);
4696 if (PyErr_Occurred()) SWIG_fail;
4697 }
4698 resultobj = SWIG_Py_Void();
4699 return resultobj;
4700 fail:
4701 return NULL;
4702 }
4703
4704
4705 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4706 PyObject *resultobj = 0;
4707 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4708 int *arg2 = (int *) 0 ;
4709 int *arg3 = (int *) 0 ;
4710 void *argp1 = 0 ;
4711 int res1 = 0 ;
4712 int temp2 ;
4713 int res2 = SWIG_TMPOBJ ;
4714 int temp3 ;
4715 int res3 = SWIG_TMPOBJ ;
4716 PyObject *swig_obj[1] ;
4717
4718 arg2 = &temp2;
4719 arg3 = &temp3;
4720 if (!args) SWIG_fail;
4721 swig_obj[0] = args;
4722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4723 if (!SWIG_IsOK(res1)) {
4724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4725 }
4726 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4730 wxPyEndAllowThreads(__tstate);
4731 if (PyErr_Occurred()) SWIG_fail;
4732 }
4733 resultobj = SWIG_Py_Void();
4734 if (SWIG_IsTmpObj(res2)) {
4735 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4736 } else {
4737 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4738 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4739 }
4740 if (SWIG_IsTmpObj(res3)) {
4741 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4742 } else {
4743 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4744 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4745 }
4746 return resultobj;
4747 fail:
4748 return NULL;
4749 }
4750
4751
4752 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4753 PyObject *resultobj = 0;
4754 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4755 double arg2 ;
4756 double arg3 ;
4757 void *argp1 = 0 ;
4758 int res1 = 0 ;
4759 double val2 ;
4760 int ecode2 = 0 ;
4761 double val3 ;
4762 int ecode3 = 0 ;
4763 PyObject * obj0 = 0 ;
4764 PyObject * obj1 = 0 ;
4765 PyObject * obj2 = 0 ;
4766 char * kwnames[] = {
4767 (char *) "self",(char *) "xs",(char *) "ys", NULL
4768 };
4769
4770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4772 if (!SWIG_IsOK(res1)) {
4773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4774 }
4775 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4776 ecode2 = SWIG_AsVal_double(obj1, &val2);
4777 if (!SWIG_IsOK(ecode2)) {
4778 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4779 }
4780 arg2 = static_cast< double >(val2);
4781 ecode3 = SWIG_AsVal_double(obj2, &val3);
4782 if (!SWIG_IsOK(ecode3)) {
4783 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4784 }
4785 arg3 = static_cast< double >(val3);
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 (arg1)->SetScale(arg2,arg3);
4789 wxPyEndAllowThreads(__tstate);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 }
4792 resultobj = SWIG_Py_Void();
4793 return resultobj;
4794 fail:
4795 return NULL;
4796 }
4797
4798
4799 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4800 PyObject *resultobj = 0;
4801 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4802 double result;
4803 void *argp1 = 0 ;
4804 int res1 = 0 ;
4805 PyObject *swig_obj[1] ;
4806
4807 if (!args) SWIG_fail;
4808 swig_obj[0] = args;
4809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4810 if (!SWIG_IsOK(res1)) {
4811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4812 }
4813 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4814 {
4815 PyThreadState* __tstate = wxPyBeginAllowThreads();
4816 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4817 wxPyEndAllowThreads(__tstate);
4818 if (PyErr_Occurred()) SWIG_fail;
4819 }
4820 resultobj = SWIG_From_double(static_cast< double >(result));
4821 return resultobj;
4822 fail:
4823 return NULL;
4824 }
4825
4826
4827 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4828 PyObject *resultobj = 0;
4829 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4830 double result;
4831 void *argp1 = 0 ;
4832 int res1 = 0 ;
4833 PyObject *swig_obj[1] ;
4834
4835 if (!args) SWIG_fail;
4836 swig_obj[0] = args;
4837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4838 if (!SWIG_IsOK(res1)) {
4839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4840 }
4841 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4842 {
4843 PyThreadState* __tstate = wxPyBeginAllowThreads();
4844 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4845 wxPyEndAllowThreads(__tstate);
4846 if (PyErr_Occurred()) SWIG_fail;
4847 }
4848 resultobj = SWIG_From_double(static_cast< double >(result));
4849 return resultobj;
4850 fail:
4851 return NULL;
4852 }
4853
4854
4855 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4856 PyObject *resultobj = 0;
4857 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4858 wxPoint *arg2 = 0 ;
4859 wxPoint result;
4860 void *argp1 = 0 ;
4861 int res1 = 0 ;
4862 wxPoint temp2 ;
4863
4864 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4866 if (!SWIG_IsOK(res1)) {
4867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4868 }
4869 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4870 {
4871 arg2 = &temp2;
4872 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4873 }
4874 {
4875 PyThreadState* __tstate = wxPyBeginAllowThreads();
4876 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4877 wxPyEndAllowThreads(__tstate);
4878 if (PyErr_Occurred()) SWIG_fail;
4879 }
4880 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4881 return resultobj;
4882 fail:
4883 return NULL;
4884 }
4885
4886
4887 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4888 PyObject *resultobj = 0;
4889 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4890 int arg2 ;
4891 int arg3 ;
4892 int *arg4 = (int *) 0 ;
4893 int *arg5 = (int *) 0 ;
4894 void *argp1 = 0 ;
4895 int res1 = 0 ;
4896 int val2 ;
4897 int ecode2 = 0 ;
4898 int val3 ;
4899 int ecode3 = 0 ;
4900 int temp4 ;
4901 int res4 = SWIG_TMPOBJ ;
4902 int temp5 ;
4903 int res5 = SWIG_TMPOBJ ;
4904
4905 arg4 = &temp4;
4906 arg5 = &temp5;
4907 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4909 if (!SWIG_IsOK(res1)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4911 }
4912 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4913 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4914 if (!SWIG_IsOK(ecode2)) {
4915 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4916 }
4917 arg2 = static_cast< int >(val2);
4918 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4919 if (!SWIG_IsOK(ecode3)) {
4920 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4921 }
4922 arg3 = static_cast< int >(val3);
4923 {
4924 PyThreadState* __tstate = wxPyBeginAllowThreads();
4925 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4926 wxPyEndAllowThreads(__tstate);
4927 if (PyErr_Occurred()) SWIG_fail;
4928 }
4929 resultobj = SWIG_Py_Void();
4930 if (SWIG_IsTmpObj(res4)) {
4931 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4932 } else {
4933 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4934 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4935 }
4936 if (SWIG_IsTmpObj(res5)) {
4937 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4938 } else {
4939 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4940 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4941 }
4942 return resultobj;
4943 fail:
4944 return NULL;
4945 }
4946
4947
4948 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4949 int argc;
4950 PyObject *argv[4];
4951
4952 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4953 --argc;
4954 if (argc == 2) {
4955 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4956 }
4957 if (argc == 3) {
4958 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4959 }
4960
4961 fail:
4962 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4963 return NULL;
4964 }
4965
4966
4967 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4968 PyObject *resultobj = 0;
4969 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4970 wxPoint *arg2 = 0 ;
4971 wxPoint result;
4972 void *argp1 = 0 ;
4973 int res1 = 0 ;
4974 wxPoint temp2 ;
4975
4976 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4978 if (!SWIG_IsOK(res1)) {
4979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4980 }
4981 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4982 {
4983 arg2 = &temp2;
4984 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4985 }
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4989 wxPyEndAllowThreads(__tstate);
4990 if (PyErr_Occurred()) SWIG_fail;
4991 }
4992 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4993 return resultobj;
4994 fail:
4995 return NULL;
4996 }
4997
4998
4999 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
5000 PyObject *resultobj = 0;
5001 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5002 int arg2 ;
5003 int arg3 ;
5004 int *arg4 = (int *) 0 ;
5005 int *arg5 = (int *) 0 ;
5006 void *argp1 = 0 ;
5007 int res1 = 0 ;
5008 int val2 ;
5009 int ecode2 = 0 ;
5010 int val3 ;
5011 int ecode3 = 0 ;
5012 int temp4 ;
5013 int res4 = SWIG_TMPOBJ ;
5014 int temp5 ;
5015 int res5 = SWIG_TMPOBJ ;
5016
5017 arg4 = &temp4;
5018 arg5 = &temp5;
5019 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
5020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5021 if (!SWIG_IsOK(res1)) {
5022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5023 }
5024 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5025 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
5026 if (!SWIG_IsOK(ecode2)) {
5027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
5028 }
5029 arg2 = static_cast< int >(val2);
5030 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
5031 if (!SWIG_IsOK(ecode3)) {
5032 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
5033 }
5034 arg3 = static_cast< int >(val3);
5035 {
5036 PyThreadState* __tstate = wxPyBeginAllowThreads();
5037 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
5038 wxPyEndAllowThreads(__tstate);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
5041 resultobj = SWIG_Py_Void();
5042 if (SWIG_IsTmpObj(res4)) {
5043 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
5044 } else {
5045 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5046 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
5047 }
5048 if (SWIG_IsTmpObj(res5)) {
5049 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
5050 } else {
5051 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5052 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
5053 }
5054 return resultobj;
5055 fail:
5056 return NULL;
5057 }
5058
5059
5060 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
5061 int argc;
5062 PyObject *argv[4];
5063
5064 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
5065 --argc;
5066 if (argc == 2) {
5067 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
5068 }
5069 if (argc == 3) {
5070 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
5071 }
5072
5073 fail:
5074 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5075 return NULL;
5076 }
5077
5078
5079 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5080 PyObject *resultobj = 0;
5081 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5082 void *argp1 = 0 ;
5083 int res1 = 0 ;
5084 PyObject *swig_obj[1] ;
5085
5086 if (!args) SWIG_fail;
5087 swig_obj[0] = args;
5088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5089 if (!SWIG_IsOK(res1)) {
5090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5091 }
5092 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5093 {
5094 PyThreadState* __tstate = wxPyBeginAllowThreads();
5095 (arg1)->AdjustScrollbars();
5096 wxPyEndAllowThreads(__tstate);
5097 if (PyErr_Occurred()) SWIG_fail;
5098 }
5099 resultobj = SWIG_Py_Void();
5100 return resultobj;
5101 fail:
5102 return NULL;
5103 }
5104
5105
5106 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5107 PyObject *resultobj = 0;
5108 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5109 wxScrollWinEvent *arg2 = 0 ;
5110 int result;
5111 void *argp1 = 0 ;
5112 int res1 = 0 ;
5113 void *argp2 = 0 ;
5114 int res2 = 0 ;
5115 PyObject * obj0 = 0 ;
5116 PyObject * obj1 = 0 ;
5117 char * kwnames[] = {
5118 (char *) "self",(char *) "event", NULL
5119 };
5120
5121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5123 if (!SWIG_IsOK(res1)) {
5124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5125 }
5126 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5127 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5128 if (!SWIG_IsOK(res2)) {
5129 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5130 }
5131 if (!argp2) {
5132 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5133 }
5134 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5135 {
5136 PyThreadState* __tstate = wxPyBeginAllowThreads();
5137 result = (int)(arg1)->CalcScrollInc(*arg2);
5138 wxPyEndAllowThreads(__tstate);
5139 if (PyErr_Occurred()) SWIG_fail;
5140 }
5141 resultobj = SWIG_From_int(static_cast< int >(result));
5142 return resultobj;
5143 fail:
5144 return NULL;
5145 }
5146
5147
5148 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5149 PyObject *resultobj = 0;
5150 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5151 wxWindow *arg2 = (wxWindow *) 0 ;
5152 void *argp1 = 0 ;
5153 int res1 = 0 ;
5154 void *argp2 = 0 ;
5155 int res2 = 0 ;
5156 PyObject * obj0 = 0 ;
5157 PyObject * obj1 = 0 ;
5158 char * kwnames[] = {
5159 (char *) "self",(char *) "target", NULL
5160 };
5161
5162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5164 if (!SWIG_IsOK(res1)) {
5165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5166 }
5167 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5168 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5169 if (!SWIG_IsOK(res2)) {
5170 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5171 }
5172 arg2 = reinterpret_cast< wxWindow * >(argp2);
5173 {
5174 PyThreadState* __tstate = wxPyBeginAllowThreads();
5175 (arg1)->SetTargetWindow(arg2);
5176 wxPyEndAllowThreads(__tstate);
5177 if (PyErr_Occurred()) SWIG_fail;
5178 }
5179 resultobj = SWIG_Py_Void();
5180 return resultobj;
5181 fail:
5182 return NULL;
5183 }
5184
5185
5186 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5187 PyObject *resultobj = 0;
5188 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5189 wxWindow *result = 0 ;
5190 void *argp1 = 0 ;
5191 int res1 = 0 ;
5192 PyObject *swig_obj[1] ;
5193
5194 if (!args) SWIG_fail;
5195 swig_obj[0] = args;
5196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5197 if (!SWIG_IsOK(res1)) {
5198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5199 }
5200 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5201 {
5202 PyThreadState* __tstate = wxPyBeginAllowThreads();
5203 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5204 wxPyEndAllowThreads(__tstate);
5205 if (PyErr_Occurred()) SWIG_fail;
5206 }
5207 {
5208 resultobj = wxPyMake_wxObject(result, 0);
5209 }
5210 return resultobj;
5211 fail:
5212 return NULL;
5213 }
5214
5215
5216 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5217 PyObject *resultobj = 0;
5218 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5219 wxRect *arg2 = 0 ;
5220 void *argp1 = 0 ;
5221 int res1 = 0 ;
5222 wxRect temp2 ;
5223 PyObject * obj0 = 0 ;
5224 PyObject * obj1 = 0 ;
5225 char * kwnames[] = {
5226 (char *) "self",(char *) "rect", NULL
5227 };
5228
5229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5231 if (!SWIG_IsOK(res1)) {
5232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5233 }
5234 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5235 {
5236 arg2 = &temp2;
5237 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5238 }
5239 {
5240 PyThreadState* __tstate = wxPyBeginAllowThreads();
5241 (arg1)->SetTargetRect((wxRect const &)*arg2);
5242 wxPyEndAllowThreads(__tstate);
5243 if (PyErr_Occurred()) SWIG_fail;
5244 }
5245 resultobj = SWIG_Py_Void();
5246 return resultobj;
5247 fail:
5248 return NULL;
5249 }
5250
5251
5252 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5253 PyObject *resultobj = 0;
5254 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5255 wxRect result;
5256 void *argp1 = 0 ;
5257 int res1 = 0 ;
5258 PyObject *swig_obj[1] ;
5259
5260 if (!args) SWIG_fail;
5261 swig_obj[0] = args;
5262 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5263 if (!SWIG_IsOK(res1)) {
5264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5265 }
5266 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5267 {
5268 PyThreadState* __tstate = wxPyBeginAllowThreads();
5269 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5270 wxPyEndAllowThreads(__tstate);
5271 if (PyErr_Occurred()) SWIG_fail;
5272 }
5273 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5274 return resultobj;
5275 fail:
5276 return NULL;
5277 }
5278
5279
5280 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5281 PyObject *resultobj = 0;
5282 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5283 wxDC *arg2 = 0 ;
5284 void *argp1 = 0 ;
5285 int res1 = 0 ;
5286 void *argp2 = 0 ;
5287 int res2 = 0 ;
5288 PyObject * obj0 = 0 ;
5289 PyObject * obj1 = 0 ;
5290 char * kwnames[] = {
5291 (char *) "self",(char *) "dc", NULL
5292 };
5293
5294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5296 if (!SWIG_IsOK(res1)) {
5297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5298 }
5299 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5300 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5301 if (!SWIG_IsOK(res2)) {
5302 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5303 }
5304 if (!argp2) {
5305 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5306 }
5307 arg2 = reinterpret_cast< wxDC * >(argp2);
5308 {
5309 PyThreadState* __tstate = wxPyBeginAllowThreads();
5310 (arg1)->DoPrepareDC(*arg2);
5311 wxPyEndAllowThreads(__tstate);
5312 if (PyErr_Occurred()) SWIG_fail;
5313 }
5314 resultobj = SWIG_Py_Void();
5315 return resultobj;
5316 fail:
5317 return NULL;
5318 }
5319
5320
5321 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5322 PyObject *resultobj = 0;
5323 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5324 SwigValueWrapper<wxVisualAttributes > result;
5325 int val1 ;
5326 int ecode1 = 0 ;
5327 PyObject * obj0 = 0 ;
5328 char * kwnames[] = {
5329 (char *) "variant", NULL
5330 };
5331
5332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5333 if (obj0) {
5334 ecode1 = SWIG_AsVal_int(obj0, &val1);
5335 if (!SWIG_IsOK(ecode1)) {
5336 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5337 }
5338 arg1 = static_cast< wxWindowVariant >(val1);
5339 }
5340 {
5341 if (!wxPyCheckForApp()) SWIG_fail;
5342 PyThreadState* __tstate = wxPyBeginAllowThreads();
5343 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5344 wxPyEndAllowThreads(__tstate);
5345 if (PyErr_Occurred()) SWIG_fail;
5346 }
5347 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5348 return resultobj;
5349 fail:
5350 return NULL;
5351 }
5352
5353
5354 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5355 PyObject *obj;
5356 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5357 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5358 return SWIG_Py_Void();
5359 }
5360
5361 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5362 return SWIG_Python_InitShadowInstance(args);
5363 }
5364
5365 SWIGINTERN int FrameNameStr_set(PyObject *) {
5366 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5367 return 1;
5368 }
5369
5370
5371 SWIGINTERN PyObject *FrameNameStr_get(void) {
5372 PyObject *pyobj = 0;
5373
5374 {
5375 #if wxUSE_UNICODE
5376 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5377 #else
5378 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5379 #endif
5380 }
5381 return pyobj;
5382 }
5383
5384
5385 SWIGINTERN int DialogNameStr_set(PyObject *) {
5386 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5387 return 1;
5388 }
5389
5390
5391 SWIGINTERN PyObject *DialogNameStr_get(void) {
5392 PyObject *pyobj = 0;
5393
5394 {
5395 #if wxUSE_UNICODE
5396 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5397 #else
5398 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5399 #endif
5400 }
5401 return pyobj;
5402 }
5403
5404
5405 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5406 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5407 return 1;
5408 }
5409
5410
5411 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5412 PyObject *pyobj = 0;
5413
5414 {
5415 #if wxUSE_UNICODE
5416 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5417 #else
5418 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5419 #endif
5420 }
5421 return pyobj;
5422 }
5423
5424
5425 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5426 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5427 return 1;
5428 }
5429
5430
5431 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5432 PyObject *pyobj = 0;
5433
5434 {
5435 #if wxUSE_UNICODE
5436 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5437 #else
5438 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5439 #endif
5440 }
5441 return pyobj;
5442 }
5443
5444
5445 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5446 PyObject *resultobj = 0;
5447 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5448 bool arg2 = (bool) true ;
5449 void *argp1 = 0 ;
5450 int res1 = 0 ;
5451 bool val2 ;
5452 int ecode2 = 0 ;
5453 PyObject * obj0 = 0 ;
5454 PyObject * obj1 = 0 ;
5455 char * kwnames[] = {
5456 (char *) "self",(char *) "maximize", NULL
5457 };
5458
5459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5461 if (!SWIG_IsOK(res1)) {
5462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5463 }
5464 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5465 if (obj1) {
5466 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5467 if (!SWIG_IsOK(ecode2)) {
5468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5469 }
5470 arg2 = static_cast< bool >(val2);
5471 }
5472 {
5473 PyThreadState* __tstate = wxPyBeginAllowThreads();
5474 (arg1)->Maximize(arg2);
5475 wxPyEndAllowThreads(__tstate);
5476 if (PyErr_Occurred()) SWIG_fail;
5477 }
5478 resultobj = SWIG_Py_Void();
5479 return resultobj;
5480 fail:
5481 return NULL;
5482 }
5483
5484
5485 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5486 PyObject *resultobj = 0;
5487 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5488 void *argp1 = 0 ;
5489 int res1 = 0 ;
5490 PyObject *swig_obj[1] ;
5491
5492 if (!args) SWIG_fail;
5493 swig_obj[0] = args;
5494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5495 if (!SWIG_IsOK(res1)) {
5496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5497 }
5498 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5499 {
5500 PyThreadState* __tstate = wxPyBeginAllowThreads();
5501 (arg1)->Restore();
5502 wxPyEndAllowThreads(__tstate);
5503 if (PyErr_Occurred()) SWIG_fail;
5504 }
5505 resultobj = SWIG_Py_Void();
5506 return resultobj;
5507 fail:
5508 return NULL;
5509 }
5510
5511
5512 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5513 PyObject *resultobj = 0;
5514 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5515 bool arg2 = (bool) true ;
5516 void *argp1 = 0 ;
5517 int res1 = 0 ;
5518 bool val2 ;
5519 int ecode2 = 0 ;
5520 PyObject * obj0 = 0 ;
5521 PyObject * obj1 = 0 ;
5522 char * kwnames[] = {
5523 (char *) "self",(char *) "iconize", NULL
5524 };
5525
5526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5528 if (!SWIG_IsOK(res1)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5530 }
5531 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5532 if (obj1) {
5533 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5534 if (!SWIG_IsOK(ecode2)) {
5535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5536 }
5537 arg2 = static_cast< bool >(val2);
5538 }
5539 {
5540 PyThreadState* __tstate = wxPyBeginAllowThreads();
5541 (arg1)->Iconize(arg2);
5542 wxPyEndAllowThreads(__tstate);
5543 if (PyErr_Occurred()) SWIG_fail;
5544 }
5545 resultobj = SWIG_Py_Void();
5546 return resultobj;
5547 fail:
5548 return NULL;
5549 }
5550
5551
5552 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5553 PyObject *resultobj = 0;
5554 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5555 bool result;
5556 void *argp1 = 0 ;
5557 int res1 = 0 ;
5558 PyObject *swig_obj[1] ;
5559
5560 if (!args) SWIG_fail;
5561 swig_obj[0] = args;
5562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5563 if (!SWIG_IsOK(res1)) {
5564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5565 }
5566 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5567 {
5568 PyThreadState* __tstate = wxPyBeginAllowThreads();
5569 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5570 wxPyEndAllowThreads(__tstate);
5571 if (PyErr_Occurred()) SWIG_fail;
5572 }
5573 {
5574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5575 }
5576 return resultobj;
5577 fail:
5578 return NULL;
5579 }
5580
5581
5582 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5583 PyObject *resultobj = 0;
5584 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5585 bool result;
5586 void *argp1 = 0 ;
5587 int res1 = 0 ;
5588 PyObject *swig_obj[1] ;
5589
5590 if (!args) SWIG_fail;
5591 swig_obj[0] = args;
5592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5593 if (!SWIG_IsOK(res1)) {
5594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5595 }
5596 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5597 {
5598 PyThreadState* __tstate = wxPyBeginAllowThreads();
5599 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5600 wxPyEndAllowThreads(__tstate);
5601 if (PyErr_Occurred()) SWIG_fail;
5602 }
5603 {
5604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5605 }
5606 return resultobj;
5607 fail:
5608 return NULL;
5609 }
5610
5611
5612 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5613 PyObject *resultobj = 0;
5614 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5615 bool result;
5616 void *argp1 = 0 ;
5617 int res1 = 0 ;
5618 PyObject *swig_obj[1] ;
5619
5620 if (!args) SWIG_fail;
5621 swig_obj[0] = args;
5622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5623 if (!SWIG_IsOK(res1)) {
5624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5625 }
5626 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5627 {
5628 PyThreadState* __tstate = wxPyBeginAllowThreads();
5629 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5630 wxPyEndAllowThreads(__tstate);
5631 if (PyErr_Occurred()) SWIG_fail;
5632 }
5633 {
5634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5635 }
5636 return resultobj;
5637 fail:
5638 return NULL;
5639 }
5640
5641
5642 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5643 PyObject *resultobj = 0;
5644 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5645 wxIcon result;
5646 void *argp1 = 0 ;
5647 int res1 = 0 ;
5648 PyObject *swig_obj[1] ;
5649
5650 if (!args) SWIG_fail;
5651 swig_obj[0] = args;
5652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5653 if (!SWIG_IsOK(res1)) {
5654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5655 }
5656 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5657 {
5658 PyThreadState* __tstate = wxPyBeginAllowThreads();
5659 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5660 wxPyEndAllowThreads(__tstate);
5661 if (PyErr_Occurred()) SWIG_fail;
5662 }
5663 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5664 return resultobj;
5665 fail:
5666 return NULL;
5667 }
5668
5669
5670 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5671 PyObject *resultobj = 0;
5672 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5673 wxIcon *arg2 = 0 ;
5674 void *argp1 = 0 ;
5675 int res1 = 0 ;
5676 void *argp2 = 0 ;
5677 int res2 = 0 ;
5678 PyObject * obj0 = 0 ;
5679 PyObject * obj1 = 0 ;
5680 char * kwnames[] = {
5681 (char *) "self",(char *) "icon", NULL
5682 };
5683
5684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5686 if (!SWIG_IsOK(res1)) {
5687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5688 }
5689 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5690 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5691 if (!SWIG_IsOK(res2)) {
5692 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5693 }
5694 if (!argp2) {
5695 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5696 }
5697 arg2 = reinterpret_cast< wxIcon * >(argp2);
5698 {
5699 PyThreadState* __tstate = wxPyBeginAllowThreads();
5700 (arg1)->SetIcon((wxIcon const &)*arg2);
5701 wxPyEndAllowThreads(__tstate);
5702 if (PyErr_Occurred()) SWIG_fail;
5703 }
5704 resultobj = SWIG_Py_Void();
5705 return resultobj;
5706 fail:
5707 return NULL;
5708 }
5709
5710
5711 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5712 PyObject *resultobj = 0;
5713 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5714 wxIconBundle *arg2 = 0 ;
5715 void *argp1 = 0 ;
5716 int res1 = 0 ;
5717 void *argp2 = 0 ;
5718 int res2 = 0 ;
5719 PyObject * obj0 = 0 ;
5720 PyObject * obj1 = 0 ;
5721 char * kwnames[] = {
5722 (char *) "self",(char *) "icons", NULL
5723 };
5724
5725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5727 if (!SWIG_IsOK(res1)) {
5728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5729 }
5730 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5731 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5732 if (!SWIG_IsOK(res2)) {
5733 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5734 }
5735 if (!argp2) {
5736 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5737 }
5738 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5739 {
5740 PyThreadState* __tstate = wxPyBeginAllowThreads();
5741 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5742 wxPyEndAllowThreads(__tstate);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 resultobj = SWIG_Py_Void();
5746 return resultobj;
5747 fail:
5748 return NULL;
5749 }
5750
5751
5752 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5753 PyObject *resultobj = 0;
5754 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5755 bool arg2 ;
5756 long arg3 = (long) wxFULLSCREEN_ALL ;
5757 bool result;
5758 void *argp1 = 0 ;
5759 int res1 = 0 ;
5760 bool val2 ;
5761 int ecode2 = 0 ;
5762 long val3 ;
5763 int ecode3 = 0 ;
5764 PyObject * obj0 = 0 ;
5765 PyObject * obj1 = 0 ;
5766 PyObject * obj2 = 0 ;
5767 char * kwnames[] = {
5768 (char *) "self",(char *) "show",(char *) "style", NULL
5769 };
5770
5771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5773 if (!SWIG_IsOK(res1)) {
5774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5775 }
5776 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5777 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5778 if (!SWIG_IsOK(ecode2)) {
5779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5780 }
5781 arg2 = static_cast< bool >(val2);
5782 if (obj2) {
5783 ecode3 = SWIG_AsVal_long(obj2, &val3);
5784 if (!SWIG_IsOK(ecode3)) {
5785 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5786 }
5787 arg3 = static_cast< long >(val3);
5788 }
5789 {
5790 PyThreadState* __tstate = wxPyBeginAllowThreads();
5791 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 {
5796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5797 }
5798 return resultobj;
5799 fail:
5800 return NULL;
5801 }
5802
5803
5804 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5805 PyObject *resultobj = 0;
5806 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5807 bool result;
5808 void *argp1 = 0 ;
5809 int res1 = 0 ;
5810 PyObject *swig_obj[1] ;
5811
5812 if (!args) SWIG_fail;
5813 swig_obj[0] = args;
5814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5815 if (!SWIG_IsOK(res1)) {
5816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5817 }
5818 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5819 {
5820 PyThreadState* __tstate = wxPyBeginAllowThreads();
5821 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5822 wxPyEndAllowThreads(__tstate);
5823 if (PyErr_Occurred()) SWIG_fail;
5824 }
5825 {
5826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5827 }
5828 return resultobj;
5829 fail:
5830 return NULL;
5831 }
5832
5833
5834 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5835 PyObject *resultobj = 0;
5836 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5837 wxString *arg2 = 0 ;
5838 void *argp1 = 0 ;
5839 int res1 = 0 ;
5840 bool temp2 = false ;
5841 PyObject * obj0 = 0 ;
5842 PyObject * obj1 = 0 ;
5843 char * kwnames[] = {
5844 (char *) "self",(char *) "title", NULL
5845 };
5846
5847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5849 if (!SWIG_IsOK(res1)) {
5850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5851 }
5852 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5853 {
5854 arg2 = wxString_in_helper(obj1);
5855 if (arg2 == NULL) SWIG_fail;
5856 temp2 = true;
5857 }
5858 {
5859 PyThreadState* __tstate = wxPyBeginAllowThreads();
5860 (arg1)->SetTitle((wxString const &)*arg2);
5861 wxPyEndAllowThreads(__tstate);
5862 if (PyErr_Occurred()) SWIG_fail;
5863 }
5864 resultobj = SWIG_Py_Void();
5865 {
5866 if (temp2)
5867 delete arg2;
5868 }
5869 return resultobj;
5870 fail:
5871 {
5872 if (temp2)
5873 delete arg2;
5874 }
5875 return NULL;
5876 }
5877
5878
5879 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5880 PyObject *resultobj = 0;
5881 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5882 wxString result;
5883 void *argp1 = 0 ;
5884 int res1 = 0 ;
5885 PyObject *swig_obj[1] ;
5886
5887 if (!args) SWIG_fail;
5888 swig_obj[0] = args;
5889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5890 if (!SWIG_IsOK(res1)) {
5891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5892 }
5893 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5894 {
5895 PyThreadState* __tstate = wxPyBeginAllowThreads();
5896 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5897 wxPyEndAllowThreads(__tstate);
5898 if (PyErr_Occurred()) SWIG_fail;
5899 }
5900 {
5901 #if wxUSE_UNICODE
5902 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5903 #else
5904 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5905 #endif
5906 }
5907 return resultobj;
5908 fail:
5909 return NULL;
5910 }
5911
5912
5913 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5914 PyObject *resultobj = 0;
5915 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5916 bool arg2 ;
5917 bool result;
5918 void *argp1 = 0 ;
5919 int res1 = 0 ;
5920 bool val2 ;
5921 int ecode2 = 0 ;
5922 PyObject * obj0 = 0 ;
5923 PyObject * obj1 = 0 ;
5924 char * kwnames[] = {
5925 (char *) "self",(char *) "enable", NULL
5926 };
5927
5928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5930 if (!SWIG_IsOK(res1)) {
5931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5932 }
5933 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5934 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5935 if (!SWIG_IsOK(ecode2)) {
5936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5937 }
5938 arg2 = static_cast< bool >(val2);
5939 {
5940 PyThreadState* __tstate = wxPyBeginAllowThreads();
5941 result = (bool)(arg1)->EnableCloseButton(arg2);
5942 wxPyEndAllowThreads(__tstate);
5943 if (PyErr_Occurred()) SWIG_fail;
5944 }
5945 {
5946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5947 }
5948 return resultobj;
5949 fail:
5950 return NULL;
5951 }
5952
5953
5954 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5955 PyObject *resultobj = 0;
5956 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5957 wxRegion *arg2 = 0 ;
5958 bool result;
5959 void *argp1 = 0 ;
5960 int res1 = 0 ;
5961 void *argp2 = 0 ;
5962 int res2 = 0 ;
5963 PyObject * obj0 = 0 ;
5964 PyObject * obj1 = 0 ;
5965 char * kwnames[] = {
5966 (char *) "self",(char *) "region", NULL
5967 };
5968
5969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5971 if (!SWIG_IsOK(res1)) {
5972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5973 }
5974 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5975 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5976 if (!SWIG_IsOK(res2)) {
5977 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5978 }
5979 if (!argp2) {
5980 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5981 }
5982 arg2 = reinterpret_cast< wxRegion * >(argp2);
5983 {
5984 PyThreadState* __tstate = wxPyBeginAllowThreads();
5985 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5986 wxPyEndAllowThreads(__tstate);
5987 if (PyErr_Occurred()) SWIG_fail;
5988 }
5989 {
5990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5991 }
5992 return resultobj;
5993 fail:
5994 return NULL;
5995 }
5996
5997
5998 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5999 PyObject *resultobj = 0;
6000 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6001 int arg2 = (int) wxUSER_ATTENTION_INFO ;
6002 void *argp1 = 0 ;
6003 int res1 = 0 ;
6004 int val2 ;
6005 int ecode2 = 0 ;
6006 PyObject * obj0 = 0 ;
6007 PyObject * obj1 = 0 ;
6008 char * kwnames[] = {
6009 (char *) "self",(char *) "flags", NULL
6010 };
6011
6012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
6013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6014 if (!SWIG_IsOK(res1)) {
6015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6016 }
6017 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6018 if (obj1) {
6019 ecode2 = SWIG_AsVal_int(obj1, &val2);
6020 if (!SWIG_IsOK(ecode2)) {
6021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
6022 }
6023 arg2 = static_cast< int >(val2);
6024 }
6025 {
6026 PyThreadState* __tstate = wxPyBeginAllowThreads();
6027 (arg1)->RequestUserAttention(arg2);
6028 wxPyEndAllowThreads(__tstate);
6029 if (PyErr_Occurred()) SWIG_fail;
6030 }
6031 resultobj = SWIG_Py_Void();
6032 return resultobj;
6033 fail:
6034 return NULL;
6035 }
6036
6037
6038 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6039 PyObject *resultobj = 0;
6040 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6041 bool result;
6042 void *argp1 = 0 ;
6043 int res1 = 0 ;
6044 PyObject *swig_obj[1] ;
6045
6046 if (!args) SWIG_fail;
6047 swig_obj[0] = args;
6048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6049 if (!SWIG_IsOK(res1)) {
6050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6051 }
6052 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6053 {
6054 PyThreadState* __tstate = wxPyBeginAllowThreads();
6055 result = (bool)(arg1)->IsActive();
6056 wxPyEndAllowThreads(__tstate);
6057 if (PyErr_Occurred()) SWIG_fail;
6058 }
6059 {
6060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6061 }
6062 return resultobj;
6063 fail:
6064 return NULL;
6065 }
6066
6067
6068 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6069 PyObject *resultobj = 0;
6070 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6071 bool arg2 ;
6072 void *argp1 = 0 ;
6073 int res1 = 0 ;
6074 bool val2 ;
6075 int ecode2 = 0 ;
6076 PyObject * obj0 = 0 ;
6077 PyObject * obj1 = 0 ;
6078 char * kwnames[] = {
6079 (char *) "self",(char *) "on", NULL
6080 };
6081
6082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
6083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6084 if (!SWIG_IsOK(res1)) {
6085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6086 }
6087 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6088 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6089 if (!SWIG_IsOK(ecode2)) {
6090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6091 }
6092 arg2 = static_cast< bool >(val2);
6093 {
6094 PyThreadState* __tstate = wxPyBeginAllowThreads();
6095 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
6096 wxPyEndAllowThreads(__tstate);
6097 if (PyErr_Occurred()) SWIG_fail;
6098 }
6099 resultobj = SWIG_Py_Void();
6100 return resultobj;
6101 fail:
6102 return NULL;
6103 }
6104
6105
6106 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6107 PyObject *resultobj = 0;
6108 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6109 bool result;
6110 void *argp1 = 0 ;
6111 int res1 = 0 ;
6112 PyObject *swig_obj[1] ;
6113
6114 if (!args) SWIG_fail;
6115 swig_obj[0] = args;
6116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6117 if (!SWIG_IsOK(res1)) {
6118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6119 }
6120 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6121 {
6122 PyThreadState* __tstate = wxPyBeginAllowThreads();
6123 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
6124 wxPyEndAllowThreads(__tstate);
6125 if (PyErr_Occurred()) SWIG_fail;
6126 }
6127 {
6128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6129 }
6130 return resultobj;
6131 fail:
6132 return NULL;
6133 }
6134
6135
6136 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6137 PyObject *resultobj = 0;
6138 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6139 int arg2 = (int) wxBOTH ;
6140 void *argp1 = 0 ;
6141 int res1 = 0 ;
6142 int val2 ;
6143 int ecode2 = 0 ;
6144 PyObject * obj0 = 0 ;
6145 PyObject * obj1 = 0 ;
6146 char * kwnames[] = {
6147 (char *) "self",(char *) "dir", NULL
6148 };
6149
6150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6152 if (!SWIG_IsOK(res1)) {
6153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6154 }
6155 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6156 if (obj1) {
6157 ecode2 = SWIG_AsVal_int(obj1, &val2);
6158 if (!SWIG_IsOK(ecode2)) {
6159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6160 }
6161 arg2 = static_cast< int >(val2);
6162 }
6163 {
6164 PyThreadState* __tstate = wxPyBeginAllowThreads();
6165 (arg1)->CenterOnScreen(arg2);
6166 wxPyEndAllowThreads(__tstate);
6167 if (PyErr_Occurred()) SWIG_fail;
6168 }
6169 resultobj = SWIG_Py_Void();
6170 return resultobj;
6171 fail:
6172 return NULL;
6173 }
6174
6175
6176 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6177 PyObject *resultobj = 0;
6178 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6179 wxWindow *result = 0 ;
6180 void *argp1 = 0 ;
6181 int res1 = 0 ;
6182 PyObject *swig_obj[1] ;
6183
6184 if (!args) SWIG_fail;
6185 swig_obj[0] = args;
6186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6187 if (!SWIG_IsOK(res1)) {
6188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6189 }
6190 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6191 {
6192 PyThreadState* __tstate = wxPyBeginAllowThreads();
6193 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6194 wxPyEndAllowThreads(__tstate);
6195 if (PyErr_Occurred()) SWIG_fail;
6196 }
6197 {
6198 resultobj = wxPyMake_wxObject(result, 0);
6199 }
6200 return resultobj;
6201 fail:
6202 return NULL;
6203 }
6204
6205
6206 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6207 PyObject *resultobj = 0;
6208 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6209 wxWindow *arg2 = (wxWindow *) 0 ;
6210 wxWindow *result = 0 ;
6211 void *argp1 = 0 ;
6212 int res1 = 0 ;
6213 void *argp2 = 0 ;
6214 int res2 = 0 ;
6215 PyObject * obj0 = 0 ;
6216 PyObject * obj1 = 0 ;
6217 char * kwnames[] = {
6218 (char *) "self",(char *) "child", NULL
6219 };
6220
6221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6223 if (!SWIG_IsOK(res1)) {
6224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6225 }
6226 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6227 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6228 if (!SWIG_IsOK(res2)) {
6229 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6230 }
6231 arg2 = reinterpret_cast< wxWindow * >(argp2);
6232 {
6233 PyThreadState* __tstate = wxPyBeginAllowThreads();
6234 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6235 wxPyEndAllowThreads(__tstate);
6236 if (PyErr_Occurred()) SWIG_fail;
6237 }
6238 {
6239 resultobj = wxPyMake_wxObject(result, 0);
6240 }
6241 return resultobj;
6242 fail:
6243 return NULL;
6244 }
6245
6246
6247 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6248 PyObject *resultobj = 0;
6249 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6250 wxWindow *arg2 = (wxWindow *) 0 ;
6251 void *argp1 = 0 ;
6252 int res1 = 0 ;
6253 void *argp2 = 0 ;
6254 int res2 = 0 ;
6255 PyObject * obj0 = 0 ;
6256 PyObject * obj1 = 0 ;
6257 char * kwnames[] = {
6258 (char *) "self",(char *) "win", NULL
6259 };
6260
6261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6263 if (!SWIG_IsOK(res1)) {
6264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6265 }
6266 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6267 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6268 if (!SWIG_IsOK(res2)) {
6269 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6270 }
6271 arg2 = reinterpret_cast< wxWindow * >(argp2);
6272 {
6273 PyThreadState* __tstate = wxPyBeginAllowThreads();
6274 (arg1)->SetTmpDefaultItem(arg2);
6275 wxPyEndAllowThreads(__tstate);
6276 if (PyErr_Occurred()) SWIG_fail;
6277 }
6278 resultobj = SWIG_Py_Void();
6279 return resultobj;
6280 fail:
6281 return NULL;
6282 }
6283
6284
6285 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6286 PyObject *resultobj = 0;
6287 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6288 wxWindow *result = 0 ;
6289 void *argp1 = 0 ;
6290 int res1 = 0 ;
6291 PyObject *swig_obj[1] ;
6292
6293 if (!args) SWIG_fail;
6294 swig_obj[0] = args;
6295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6296 if (!SWIG_IsOK(res1)) {
6297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6298 }
6299 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6300 {
6301 PyThreadState* __tstate = wxPyBeginAllowThreads();
6302 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6303 wxPyEndAllowThreads(__tstate);
6304 if (PyErr_Occurred()) SWIG_fail;
6305 }
6306 {
6307 resultobj = wxPyMake_wxObject(result, 0);
6308 }
6309 return resultobj;
6310 fail:
6311 return NULL;
6312 }
6313
6314
6315 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6316 PyObject *obj;
6317 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6318 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6319 return SWIG_Py_Void();
6320 }
6321
6322 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6323 PyObject *resultobj = 0;
6324 wxWindow *arg1 = (wxWindow *) 0 ;
6325 int arg2 = (int) (int)-1 ;
6326 wxString const &arg3_defvalue = wxPyEmptyString ;
6327 wxString *arg3 = (wxString *) &arg3_defvalue ;
6328 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6329 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6330 wxSize const &arg5_defvalue = wxDefaultSize ;
6331 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6332 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6333 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6334 wxString *arg7 = (wxString *) &arg7_defvalue ;
6335 wxFrame *result = 0 ;
6336 void *argp1 = 0 ;
6337 int res1 = 0 ;
6338 int val2 ;
6339 int ecode2 = 0 ;
6340 bool temp3 = false ;
6341 wxPoint temp4 ;
6342 wxSize temp5 ;
6343 long val6 ;
6344 int ecode6 = 0 ;
6345 bool temp7 = false ;
6346 PyObject * obj0 = 0 ;
6347 PyObject * obj1 = 0 ;
6348 PyObject * obj2 = 0 ;
6349 PyObject * obj3 = 0 ;
6350 PyObject * obj4 = 0 ;
6351 PyObject * obj5 = 0 ;
6352 PyObject * obj6 = 0 ;
6353 char * kwnames[] = {
6354 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6355 };
6356
6357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6359 if (!SWIG_IsOK(res1)) {
6360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6361 }
6362 arg1 = reinterpret_cast< wxWindow * >(argp1);
6363 if (obj1) {
6364 ecode2 = SWIG_AsVal_int(obj1, &val2);
6365 if (!SWIG_IsOK(ecode2)) {
6366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6367 }
6368 arg2 = static_cast< int >(val2);
6369 }
6370 if (obj2) {
6371 {
6372 arg3 = wxString_in_helper(obj2);
6373 if (arg3 == NULL) SWIG_fail;
6374 temp3 = true;
6375 }
6376 }
6377 if (obj3) {
6378 {
6379 arg4 = &temp4;
6380 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6381 }
6382 }
6383 if (obj4) {
6384 {
6385 arg5 = &temp5;
6386 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6387 }
6388 }
6389 if (obj5) {
6390 ecode6 = SWIG_AsVal_long(obj5, &val6);
6391 if (!SWIG_IsOK(ecode6)) {
6392 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6393 }
6394 arg6 = static_cast< long >(val6);
6395 }
6396 if (obj6) {
6397 {
6398 arg7 = wxString_in_helper(obj6);
6399 if (arg7 == NULL) SWIG_fail;
6400 temp7 = true;
6401 }
6402 }
6403 {
6404 if (!wxPyCheckForApp()) SWIG_fail;
6405 PyThreadState* __tstate = wxPyBeginAllowThreads();
6406 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6407 wxPyEndAllowThreads(__tstate);
6408 if (PyErr_Occurred()) SWIG_fail;
6409 }
6410 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6411 {
6412 if (temp3)
6413 delete arg3;
6414 }
6415 {
6416 if (temp7)
6417 delete arg7;
6418 }
6419 return resultobj;
6420 fail:
6421 {
6422 if (temp3)
6423 delete arg3;
6424 }
6425 {
6426 if (temp7)
6427 delete arg7;
6428 }
6429 return NULL;
6430 }
6431
6432
6433 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6434 PyObject *resultobj = 0;
6435 wxFrame *result = 0 ;
6436
6437 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6438 {
6439 if (!wxPyCheckForApp()) SWIG_fail;
6440 PyThreadState* __tstate = wxPyBeginAllowThreads();
6441 result = (wxFrame *)new wxFrame();
6442 wxPyEndAllowThreads(__tstate);
6443 if (PyErr_Occurred()) SWIG_fail;
6444 }
6445 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6446 return resultobj;
6447 fail:
6448 return NULL;
6449 }
6450
6451
6452 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6453 PyObject *resultobj = 0;
6454 wxFrame *arg1 = (wxFrame *) 0 ;
6455 wxWindow *arg2 = (wxWindow *) 0 ;
6456 int arg3 = (int) (int)-1 ;
6457 wxString const &arg4_defvalue = wxPyEmptyString ;
6458 wxString *arg4 = (wxString *) &arg4_defvalue ;
6459 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6460 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6461 wxSize const &arg6_defvalue = wxDefaultSize ;
6462 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6463 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6464 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6465 wxString *arg8 = (wxString *) &arg8_defvalue ;
6466 bool result;
6467 void *argp1 = 0 ;
6468 int res1 = 0 ;
6469 void *argp2 = 0 ;
6470 int res2 = 0 ;
6471 int val3 ;
6472 int ecode3 = 0 ;
6473 bool temp4 = false ;
6474 wxPoint temp5 ;
6475 wxSize temp6 ;
6476 long val7 ;
6477 int ecode7 = 0 ;
6478 bool temp8 = false ;
6479 PyObject * obj0 = 0 ;
6480 PyObject * obj1 = 0 ;
6481 PyObject * obj2 = 0 ;
6482 PyObject * obj3 = 0 ;
6483 PyObject * obj4 = 0 ;
6484 PyObject * obj5 = 0 ;
6485 PyObject * obj6 = 0 ;
6486 PyObject * obj7 = 0 ;
6487 char * kwnames[] = {
6488 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6489 };
6490
6491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6493 if (!SWIG_IsOK(res1)) {
6494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6495 }
6496 arg1 = reinterpret_cast< wxFrame * >(argp1);
6497 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6498 if (!SWIG_IsOK(res2)) {
6499 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6500 }
6501 arg2 = reinterpret_cast< wxWindow * >(argp2);
6502 if (obj2) {
6503 ecode3 = SWIG_AsVal_int(obj2, &val3);
6504 if (!SWIG_IsOK(ecode3)) {
6505 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6506 }
6507 arg3 = static_cast< int >(val3);
6508 }
6509 if (obj3) {
6510 {
6511 arg4 = wxString_in_helper(obj3);
6512 if (arg4 == NULL) SWIG_fail;
6513 temp4 = true;
6514 }
6515 }
6516 if (obj4) {
6517 {
6518 arg5 = &temp5;
6519 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6520 }
6521 }
6522 if (obj5) {
6523 {
6524 arg6 = &temp6;
6525 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6526 }
6527 }
6528 if (obj6) {
6529 ecode7 = SWIG_AsVal_long(obj6, &val7);
6530 if (!SWIG_IsOK(ecode7)) {
6531 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6532 }
6533 arg7 = static_cast< long >(val7);
6534 }
6535 if (obj7) {
6536 {
6537 arg8 = wxString_in_helper(obj7);
6538 if (arg8 == NULL) SWIG_fail;
6539 temp8 = true;
6540 }
6541 }
6542 {
6543 PyThreadState* __tstate = wxPyBeginAllowThreads();
6544 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6545 wxPyEndAllowThreads(__tstate);
6546 if (PyErr_Occurred()) SWIG_fail;
6547 }
6548 {
6549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6550 }
6551 {
6552 if (temp4)
6553 delete arg4;
6554 }
6555 {
6556 if (temp8)
6557 delete arg8;
6558 }
6559 return resultobj;
6560 fail:
6561 {
6562 if (temp4)
6563 delete arg4;
6564 }
6565 {
6566 if (temp8)
6567 delete arg8;
6568 }
6569 return NULL;
6570 }
6571
6572
6573 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6574 PyObject *resultobj = 0;
6575 wxFrame *arg1 = (wxFrame *) 0 ;
6576 void *argp1 = 0 ;
6577 int res1 = 0 ;
6578 PyObject *swig_obj[1] ;
6579
6580 if (!args) SWIG_fail;
6581 swig_obj[0] = args;
6582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6583 if (!SWIG_IsOK(res1)) {
6584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6585 }
6586 arg1 = reinterpret_cast< wxFrame * >(argp1);
6587 {
6588 PyThreadState* __tstate = wxPyBeginAllowThreads();
6589 (arg1)->SendSizeEvent();
6590 wxPyEndAllowThreads(__tstate);
6591 if (PyErr_Occurred()) SWIG_fail;
6592 }
6593 resultobj = SWIG_Py_Void();
6594 return resultobj;
6595 fail:
6596 return NULL;
6597 }
6598
6599
6600 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6601 PyObject *resultobj = 0;
6602 wxFrame *arg1 = (wxFrame *) 0 ;
6603 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6604 void *argp1 = 0 ;
6605 int res1 = 0 ;
6606 void *argp2 = 0 ;
6607 int res2 = 0 ;
6608 PyObject * obj0 = 0 ;
6609 PyObject * obj1 = 0 ;
6610 char * kwnames[] = {
6611 (char *) "self",(char *) "menubar", NULL
6612 };
6613
6614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6616 if (!SWIG_IsOK(res1)) {
6617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6618 }
6619 arg1 = reinterpret_cast< wxFrame * >(argp1);
6620 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6621 if (!SWIG_IsOK(res2)) {
6622 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6623 }
6624 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6625 {
6626 PyThreadState* __tstate = wxPyBeginAllowThreads();
6627 (arg1)->SetMenuBar(arg2);
6628 wxPyEndAllowThreads(__tstate);
6629 if (PyErr_Occurred()) SWIG_fail;
6630 }
6631 resultobj = SWIG_Py_Void();
6632 return resultobj;
6633 fail:
6634 return NULL;
6635 }
6636
6637
6638 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6639 PyObject *resultobj = 0;
6640 wxFrame *arg1 = (wxFrame *) 0 ;
6641 wxMenuBar *result = 0 ;
6642 void *argp1 = 0 ;
6643 int res1 = 0 ;
6644 PyObject *swig_obj[1] ;
6645
6646 if (!args) SWIG_fail;
6647 swig_obj[0] = args;
6648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6649 if (!SWIG_IsOK(res1)) {
6650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6651 }
6652 arg1 = reinterpret_cast< wxFrame * >(argp1);
6653 {
6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
6655 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6656 wxPyEndAllowThreads(__tstate);
6657 if (PyErr_Occurred()) SWIG_fail;
6658 }
6659 {
6660 resultobj = wxPyMake_wxObject(result, 0);
6661 }
6662 return resultobj;
6663 fail:
6664 return NULL;
6665 }
6666
6667
6668 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6669 PyObject *resultobj = 0;
6670 wxFrame *arg1 = (wxFrame *) 0 ;
6671 int arg2 ;
6672 bool result;
6673 void *argp1 = 0 ;
6674 int res1 = 0 ;
6675 int val2 ;
6676 int ecode2 = 0 ;
6677 PyObject * obj0 = 0 ;
6678 PyObject * obj1 = 0 ;
6679 char * kwnames[] = {
6680 (char *) "self",(char *) "winid", NULL
6681 };
6682
6683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6685 if (!SWIG_IsOK(res1)) {
6686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6687 }
6688 arg1 = reinterpret_cast< wxFrame * >(argp1);
6689 ecode2 = SWIG_AsVal_int(obj1, &val2);
6690 if (!SWIG_IsOK(ecode2)) {
6691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6692 }
6693 arg2 = static_cast< int >(val2);
6694 {
6695 PyThreadState* __tstate = wxPyBeginAllowThreads();
6696 result = (bool)(arg1)->ProcessCommand(arg2);
6697 wxPyEndAllowThreads(__tstate);
6698 if (PyErr_Occurred()) SWIG_fail;
6699 }
6700 {
6701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6702 }
6703 return resultobj;
6704 fail:
6705 return NULL;
6706 }
6707
6708
6709 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6710 PyObject *resultobj = 0;
6711 wxFrame *arg1 = (wxFrame *) 0 ;
6712 int arg2 = (int) 1 ;
6713 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6714 int arg4 = (int) 0 ;
6715 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6716 wxString *arg5 = (wxString *) &arg5_defvalue ;
6717 wxStatusBar *result = 0 ;
6718 void *argp1 = 0 ;
6719 int res1 = 0 ;
6720 int val2 ;
6721 int ecode2 = 0 ;
6722 long val3 ;
6723 int ecode3 = 0 ;
6724 int val4 ;
6725 int ecode4 = 0 ;
6726 bool temp5 = false ;
6727 PyObject * obj0 = 0 ;
6728 PyObject * obj1 = 0 ;
6729 PyObject * obj2 = 0 ;
6730 PyObject * obj3 = 0 ;
6731 PyObject * obj4 = 0 ;
6732 char * kwnames[] = {
6733 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6734 };
6735
6736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6738 if (!SWIG_IsOK(res1)) {
6739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6740 }
6741 arg1 = reinterpret_cast< wxFrame * >(argp1);
6742 if (obj1) {
6743 ecode2 = SWIG_AsVal_int(obj1, &val2);
6744 if (!SWIG_IsOK(ecode2)) {
6745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6746 }
6747 arg2 = static_cast< int >(val2);
6748 }
6749 if (obj2) {
6750 ecode3 = SWIG_AsVal_long(obj2, &val3);
6751 if (!SWIG_IsOK(ecode3)) {
6752 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6753 }
6754 arg3 = static_cast< long >(val3);
6755 }
6756 if (obj3) {
6757 ecode4 = SWIG_AsVal_int(obj3, &val4);
6758 if (!SWIG_IsOK(ecode4)) {
6759 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6760 }
6761 arg4 = static_cast< int >(val4);
6762 }
6763 if (obj4) {
6764 {
6765 arg5 = wxString_in_helper(obj4);
6766 if (arg5 == NULL) SWIG_fail;
6767 temp5 = true;
6768 }
6769 }
6770 {
6771 PyThreadState* __tstate = wxPyBeginAllowThreads();
6772 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6773 wxPyEndAllowThreads(__tstate);
6774 if (PyErr_Occurred()) SWIG_fail;
6775 }
6776 {
6777 resultobj = wxPyMake_wxObject(result, (bool)0);
6778 }
6779 {
6780 if (temp5)
6781 delete arg5;
6782 }
6783 return resultobj;
6784 fail:
6785 {
6786 if (temp5)
6787 delete arg5;
6788 }
6789 return NULL;
6790 }
6791
6792
6793 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6794 PyObject *resultobj = 0;
6795 wxFrame *arg1 = (wxFrame *) 0 ;
6796 wxStatusBar *result = 0 ;
6797 void *argp1 = 0 ;
6798 int res1 = 0 ;
6799 PyObject *swig_obj[1] ;
6800
6801 if (!args) SWIG_fail;
6802 swig_obj[0] = args;
6803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6804 if (!SWIG_IsOK(res1)) {
6805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6806 }
6807 arg1 = reinterpret_cast< wxFrame * >(argp1);
6808 {
6809 PyThreadState* __tstate = wxPyBeginAllowThreads();
6810 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6811 wxPyEndAllowThreads(__tstate);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 }
6814 {
6815 resultobj = wxPyMake_wxObject(result, (bool)0);
6816 }
6817 return resultobj;
6818 fail:
6819 return NULL;
6820 }
6821
6822
6823 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6824 PyObject *resultobj = 0;
6825 wxFrame *arg1 = (wxFrame *) 0 ;
6826 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6827 void *argp1 = 0 ;
6828 int res1 = 0 ;
6829 void *argp2 = 0 ;
6830 int res2 = 0 ;
6831 PyObject * obj0 = 0 ;
6832 PyObject * obj1 = 0 ;
6833 char * kwnames[] = {
6834 (char *) "self",(char *) "statBar", NULL
6835 };
6836
6837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6839 if (!SWIG_IsOK(res1)) {
6840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6841 }
6842 arg1 = reinterpret_cast< wxFrame * >(argp1);
6843 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6844 if (!SWIG_IsOK(res2)) {
6845 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6846 }
6847 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6848 {
6849 PyThreadState* __tstate = wxPyBeginAllowThreads();
6850 (arg1)->SetStatusBar(arg2);
6851 wxPyEndAllowThreads(__tstate);
6852 if (PyErr_Occurred()) SWIG_fail;
6853 }
6854 resultobj = SWIG_Py_Void();
6855 return resultobj;
6856 fail:
6857 return NULL;
6858 }
6859
6860
6861 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6862 PyObject *resultobj = 0;
6863 wxFrame *arg1 = (wxFrame *) 0 ;
6864 wxString *arg2 = 0 ;
6865 int arg3 = (int) 0 ;
6866 void *argp1 = 0 ;
6867 int res1 = 0 ;
6868 bool temp2 = false ;
6869 int val3 ;
6870 int ecode3 = 0 ;
6871 PyObject * obj0 = 0 ;
6872 PyObject * obj1 = 0 ;
6873 PyObject * obj2 = 0 ;
6874 char * kwnames[] = {
6875 (char *) "self",(char *) "text",(char *) "number", NULL
6876 };
6877
6878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6880 if (!SWIG_IsOK(res1)) {
6881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6882 }
6883 arg1 = reinterpret_cast< wxFrame * >(argp1);
6884 {
6885 arg2 = wxString_in_helper(obj1);
6886 if (arg2 == NULL) SWIG_fail;
6887 temp2 = true;
6888 }
6889 if (obj2) {
6890 ecode3 = SWIG_AsVal_int(obj2, &val3);
6891 if (!SWIG_IsOK(ecode3)) {
6892 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6893 }
6894 arg3 = static_cast< int >(val3);
6895 }
6896 {
6897 PyThreadState* __tstate = wxPyBeginAllowThreads();
6898 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6899 wxPyEndAllowThreads(__tstate);
6900 if (PyErr_Occurred()) SWIG_fail;
6901 }
6902 resultobj = SWIG_Py_Void();
6903 {
6904 if (temp2)
6905 delete arg2;
6906 }
6907 return resultobj;
6908 fail:
6909 {
6910 if (temp2)
6911 delete arg2;
6912 }
6913 return NULL;
6914 }
6915
6916
6917 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6918 PyObject *resultobj = 0;
6919 wxFrame *arg1 = (wxFrame *) 0 ;
6920 int arg2 ;
6921 int *arg3 = (int *) 0 ;
6922 void *argp1 = 0 ;
6923 int res1 = 0 ;
6924 PyObject * obj0 = 0 ;
6925 PyObject * obj1 = 0 ;
6926 char * kwnames[] = {
6927 (char *) "self",(char *) "widths", NULL
6928 };
6929
6930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6932 if (!SWIG_IsOK(res1)) {
6933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6934 }
6935 arg1 = reinterpret_cast< wxFrame * >(argp1);
6936 {
6937 arg2 = PyList_Size(obj1);
6938 arg3 = int_LIST_helper(obj1);
6939 if (arg3 == NULL) SWIG_fail;
6940 }
6941 {
6942 PyThreadState* __tstate = wxPyBeginAllowThreads();
6943 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6944 wxPyEndAllowThreads(__tstate);
6945 if (PyErr_Occurred()) SWIG_fail;
6946 }
6947 resultobj = SWIG_Py_Void();
6948 {
6949 if (arg3) delete [] arg3;
6950 }
6951 return resultobj;
6952 fail:
6953 {
6954 if (arg3) delete [] arg3;
6955 }
6956 return NULL;
6957 }
6958
6959
6960 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6961 PyObject *resultobj = 0;
6962 wxFrame *arg1 = (wxFrame *) 0 ;
6963 wxString *arg2 = 0 ;
6964 int arg3 = (int) 0 ;
6965 void *argp1 = 0 ;
6966 int res1 = 0 ;
6967 bool temp2 = false ;
6968 int val3 ;
6969 int ecode3 = 0 ;
6970 PyObject * obj0 = 0 ;
6971 PyObject * obj1 = 0 ;
6972 PyObject * obj2 = 0 ;
6973 char * kwnames[] = {
6974 (char *) "self",(char *) "text",(char *) "number", NULL
6975 };
6976
6977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6979 if (!SWIG_IsOK(res1)) {
6980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6981 }
6982 arg1 = reinterpret_cast< wxFrame * >(argp1);
6983 {
6984 arg2 = wxString_in_helper(obj1);
6985 if (arg2 == NULL) SWIG_fail;
6986 temp2 = true;
6987 }
6988 if (obj2) {
6989 ecode3 = SWIG_AsVal_int(obj2, &val3);
6990 if (!SWIG_IsOK(ecode3)) {
6991 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6992 }
6993 arg3 = static_cast< int >(val3);
6994 }
6995 {
6996 PyThreadState* __tstate = wxPyBeginAllowThreads();
6997 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6998 wxPyEndAllowThreads(__tstate);
6999 if (PyErr_Occurred()) SWIG_fail;
7000 }
7001 resultobj = SWIG_Py_Void();
7002 {
7003 if (temp2)
7004 delete arg2;
7005 }
7006 return resultobj;
7007 fail:
7008 {
7009 if (temp2)
7010 delete arg2;
7011 }
7012 return NULL;
7013 }
7014
7015
7016 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7017 PyObject *resultobj = 0;
7018 wxFrame *arg1 = (wxFrame *) 0 ;
7019 int arg2 = (int) 0 ;
7020 void *argp1 = 0 ;
7021 int res1 = 0 ;
7022 int val2 ;
7023 int ecode2 = 0 ;
7024 PyObject * obj0 = 0 ;
7025 PyObject * obj1 = 0 ;
7026 char * kwnames[] = {
7027 (char *) "self",(char *) "number", NULL
7028 };
7029
7030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
7031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7032 if (!SWIG_IsOK(res1)) {
7033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
7034 }
7035 arg1 = reinterpret_cast< wxFrame * >(argp1);
7036 if (obj1) {
7037 ecode2 = SWIG_AsVal_int(obj1, &val2);
7038 if (!SWIG_IsOK(ecode2)) {
7039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
7040 }
7041 arg2 = static_cast< int >(val2);
7042 }
7043 {
7044 PyThreadState* __tstate = wxPyBeginAllowThreads();
7045 (arg1)->PopStatusText(arg2);
7046 wxPyEndAllowThreads(__tstate);
7047 if (PyErr_Occurred()) SWIG_fail;
7048 }
7049 resultobj = SWIG_Py_Void();
7050 return resultobj;
7051 fail:
7052 return NULL;
7053 }
7054
7055
7056 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7057 PyObject *resultobj = 0;
7058 wxFrame *arg1 = (wxFrame *) 0 ;
7059 int arg2 ;
7060 void *argp1 = 0 ;
7061 int res1 = 0 ;
7062 int val2 ;
7063 int ecode2 = 0 ;
7064 PyObject * obj0 = 0 ;
7065 PyObject * obj1 = 0 ;
7066 char * kwnames[] = {
7067 (char *) "self",(char *) "n", NULL
7068 };
7069
7070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
7071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7072 if (!SWIG_IsOK(res1)) {
7073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
7074 }
7075 arg1 = reinterpret_cast< wxFrame * >(argp1);
7076 ecode2 = SWIG_AsVal_int(obj1, &val2);
7077 if (!SWIG_IsOK(ecode2)) {
7078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7079 }
7080 arg2 = static_cast< int >(val2);
7081 {
7082 PyThreadState* __tstate = wxPyBeginAllowThreads();
7083 (arg1)->SetStatusBarPane(arg2);
7084 wxPyEndAllowThreads(__tstate);
7085 if (PyErr_Occurred()) SWIG_fail;
7086 }
7087 resultobj = SWIG_Py_Void();
7088 return resultobj;
7089 fail:
7090 return NULL;
7091 }
7092
7093
7094 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7095 PyObject *resultobj = 0;
7096 wxFrame *arg1 = (wxFrame *) 0 ;
7097 int result;
7098 void *argp1 = 0 ;
7099 int res1 = 0 ;
7100 PyObject *swig_obj[1] ;
7101
7102 if (!args) SWIG_fail;
7103 swig_obj[0] = args;
7104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7105 if (!SWIG_IsOK(res1)) {
7106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7107 }
7108 arg1 = reinterpret_cast< wxFrame * >(argp1);
7109 {
7110 PyThreadState* __tstate = wxPyBeginAllowThreads();
7111 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7112 wxPyEndAllowThreads(__tstate);
7113 if (PyErr_Occurred()) SWIG_fail;
7114 }
7115 resultobj = SWIG_From_int(static_cast< int >(result));
7116 return resultobj;
7117 fail:
7118 return NULL;
7119 }
7120
7121
7122 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7123 PyObject *resultobj = 0;
7124 wxFrame *arg1 = (wxFrame *) 0 ;
7125 long arg2 = (long) -1 ;
7126 int arg3 = (int) -1 ;
7127 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7128 wxString *arg4 = (wxString *) &arg4_defvalue ;
7129 wxToolBar *result = 0 ;
7130 void *argp1 = 0 ;
7131 int res1 = 0 ;
7132 long val2 ;
7133 int ecode2 = 0 ;
7134 int val3 ;
7135 int ecode3 = 0 ;
7136 bool temp4 = false ;
7137 PyObject * obj0 = 0 ;
7138 PyObject * obj1 = 0 ;
7139 PyObject * obj2 = 0 ;
7140 PyObject * obj3 = 0 ;
7141 char * kwnames[] = {
7142 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7143 };
7144
7145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7147 if (!SWIG_IsOK(res1)) {
7148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7149 }
7150 arg1 = reinterpret_cast< wxFrame * >(argp1);
7151 if (obj1) {
7152 ecode2 = SWIG_AsVal_long(obj1, &val2);
7153 if (!SWIG_IsOK(ecode2)) {
7154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7155 }
7156 arg2 = static_cast< long >(val2);
7157 }
7158 if (obj2) {
7159 ecode3 = SWIG_AsVal_int(obj2, &val3);
7160 if (!SWIG_IsOK(ecode3)) {
7161 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7162 }
7163 arg3 = static_cast< int >(val3);
7164 }
7165 if (obj3) {
7166 {
7167 arg4 = wxString_in_helper(obj3);
7168 if (arg4 == NULL) SWIG_fail;
7169 temp4 = true;
7170 }
7171 }
7172 {
7173 PyThreadState* __tstate = wxPyBeginAllowThreads();
7174 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7175 wxPyEndAllowThreads(__tstate);
7176 if (PyErr_Occurred()) SWIG_fail;
7177 }
7178 {
7179 resultobj = wxPyMake_wxObject(result, (bool)0);
7180 }
7181 {
7182 if (temp4)
7183 delete arg4;
7184 }
7185 return resultobj;
7186 fail:
7187 {
7188 if (temp4)
7189 delete arg4;
7190 }
7191 return NULL;
7192 }
7193
7194
7195 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7196 PyObject *resultobj = 0;
7197 wxFrame *arg1 = (wxFrame *) 0 ;
7198 wxToolBar *result = 0 ;
7199 void *argp1 = 0 ;
7200 int res1 = 0 ;
7201 PyObject *swig_obj[1] ;
7202
7203 if (!args) SWIG_fail;
7204 swig_obj[0] = args;
7205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7206 if (!SWIG_IsOK(res1)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7208 }
7209 arg1 = reinterpret_cast< wxFrame * >(argp1);
7210 {
7211 PyThreadState* __tstate = wxPyBeginAllowThreads();
7212 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 {
7217 resultobj = wxPyMake_wxObject(result, (bool)0);
7218 }
7219 return resultobj;
7220 fail:
7221 return NULL;
7222 }
7223
7224
7225 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7226 PyObject *resultobj = 0;
7227 wxFrame *arg1 = (wxFrame *) 0 ;
7228 wxToolBar *arg2 = (wxToolBar *) 0 ;
7229 void *argp1 = 0 ;
7230 int res1 = 0 ;
7231 void *argp2 = 0 ;
7232 int res2 = 0 ;
7233 PyObject * obj0 = 0 ;
7234 PyObject * obj1 = 0 ;
7235 char * kwnames[] = {
7236 (char *) "self",(char *) "toolbar", NULL
7237 };
7238
7239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7241 if (!SWIG_IsOK(res1)) {
7242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7243 }
7244 arg1 = reinterpret_cast< wxFrame * >(argp1);
7245 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7246 if (!SWIG_IsOK(res2)) {
7247 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7248 }
7249 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7250 {
7251 PyThreadState* __tstate = wxPyBeginAllowThreads();
7252 (arg1)->SetToolBar(arg2);
7253 wxPyEndAllowThreads(__tstate);
7254 if (PyErr_Occurred()) SWIG_fail;
7255 }
7256 resultobj = SWIG_Py_Void();
7257 return resultobj;
7258 fail:
7259 return NULL;
7260 }
7261
7262
7263 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7264 PyObject *resultobj = 0;
7265 wxFrame *arg1 = (wxFrame *) 0 ;
7266 wxString *arg2 = 0 ;
7267 bool arg3 ;
7268 void *argp1 = 0 ;
7269 int res1 = 0 ;
7270 bool temp2 = false ;
7271 bool val3 ;
7272 int ecode3 = 0 ;
7273 PyObject * obj0 = 0 ;
7274 PyObject * obj1 = 0 ;
7275 PyObject * obj2 = 0 ;
7276 char * kwnames[] = {
7277 (char *) "self",(char *) "text",(char *) "show", NULL
7278 };
7279
7280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7282 if (!SWIG_IsOK(res1)) {
7283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7284 }
7285 arg1 = reinterpret_cast< wxFrame * >(argp1);
7286 {
7287 arg2 = wxString_in_helper(obj1);
7288 if (arg2 == NULL) SWIG_fail;
7289 temp2 = true;
7290 }
7291 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7292 if (!SWIG_IsOK(ecode3)) {
7293 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7294 }
7295 arg3 = static_cast< bool >(val3);
7296 {
7297 PyThreadState* __tstate = wxPyBeginAllowThreads();
7298 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7299 wxPyEndAllowThreads(__tstate);
7300 if (PyErr_Occurred()) SWIG_fail;
7301 }
7302 resultobj = SWIG_Py_Void();
7303 {
7304 if (temp2)
7305 delete arg2;
7306 }
7307 return resultobj;
7308 fail:
7309 {
7310 if (temp2)
7311 delete arg2;
7312 }
7313 return NULL;
7314 }
7315
7316
7317 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7318 PyObject *resultobj = 0;
7319 wxFrame *arg1 = (wxFrame *) 0 ;
7320 wxMenu *arg2 = (wxMenu *) NULL ;
7321 void *argp1 = 0 ;
7322 int res1 = 0 ;
7323 void *argp2 = 0 ;
7324 int res2 = 0 ;
7325 PyObject * obj0 = 0 ;
7326 PyObject * obj1 = 0 ;
7327 char * kwnames[] = {
7328 (char *) "self",(char *) "menu", NULL
7329 };
7330
7331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7333 if (!SWIG_IsOK(res1)) {
7334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7335 }
7336 arg1 = reinterpret_cast< wxFrame * >(argp1);
7337 if (obj1) {
7338 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7339 if (!SWIG_IsOK(res2)) {
7340 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7341 }
7342 arg2 = reinterpret_cast< wxMenu * >(argp2);
7343 }
7344 {
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 (arg1)->DoMenuUpdates(arg2);
7347 wxPyEndAllowThreads(__tstate);
7348 if (PyErr_Occurred()) SWIG_fail;
7349 }
7350 resultobj = SWIG_Py_Void();
7351 return resultobj;
7352 fail:
7353 return NULL;
7354 }
7355
7356
7357 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7358 PyObject *resultobj = 0;
7359 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7360 SwigValueWrapper<wxVisualAttributes > result;
7361 int val1 ;
7362 int ecode1 = 0 ;
7363 PyObject * obj0 = 0 ;
7364 char * kwnames[] = {
7365 (char *) "variant", NULL
7366 };
7367
7368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7369 if (obj0) {
7370 ecode1 = SWIG_AsVal_int(obj0, &val1);
7371 if (!SWIG_IsOK(ecode1)) {
7372 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7373 }
7374 arg1 = static_cast< wxWindowVariant >(val1);
7375 }
7376 {
7377 if (!wxPyCheckForApp()) SWIG_fail;
7378 PyThreadState* __tstate = wxPyBeginAllowThreads();
7379 result = wxFrame::GetClassDefaultAttributes(arg1);
7380 wxPyEndAllowThreads(__tstate);
7381 if (PyErr_Occurred()) SWIG_fail;
7382 }
7383 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7384 return resultobj;
7385 fail:
7386 return NULL;
7387 }
7388
7389
7390 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7391 PyObject *obj;
7392 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7393 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7394 return SWIG_Py_Void();
7395 }
7396
7397 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7398 return SWIG_Python_InitShadowInstance(args);
7399 }
7400
7401 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7402 PyObject *resultobj = 0;
7403 wxWindow *arg1 = (wxWindow *) 0 ;
7404 int arg2 = (int) (int)-1 ;
7405 wxString const &arg3_defvalue = wxPyEmptyString ;
7406 wxString *arg3 = (wxString *) &arg3_defvalue ;
7407 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7408 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7409 wxSize const &arg5_defvalue = wxDefaultSize ;
7410 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7411 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7412 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7413 wxString *arg7 = (wxString *) &arg7_defvalue ;
7414 wxDialog *result = 0 ;
7415 void *argp1 = 0 ;
7416 int res1 = 0 ;
7417 int val2 ;
7418 int ecode2 = 0 ;
7419 bool temp3 = false ;
7420 wxPoint temp4 ;
7421 wxSize temp5 ;
7422 long val6 ;
7423 int ecode6 = 0 ;
7424 bool temp7 = false ;
7425 PyObject * obj0 = 0 ;
7426 PyObject * obj1 = 0 ;
7427 PyObject * obj2 = 0 ;
7428 PyObject * obj3 = 0 ;
7429 PyObject * obj4 = 0 ;
7430 PyObject * obj5 = 0 ;
7431 PyObject * obj6 = 0 ;
7432 char * kwnames[] = {
7433 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7434 };
7435
7436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7438 if (!SWIG_IsOK(res1)) {
7439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7440 }
7441 arg1 = reinterpret_cast< wxWindow * >(argp1);
7442 if (obj1) {
7443 ecode2 = SWIG_AsVal_int(obj1, &val2);
7444 if (!SWIG_IsOK(ecode2)) {
7445 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7446 }
7447 arg2 = static_cast< int >(val2);
7448 }
7449 if (obj2) {
7450 {
7451 arg3 = wxString_in_helper(obj2);
7452 if (arg3 == NULL) SWIG_fail;
7453 temp3 = true;
7454 }
7455 }
7456 if (obj3) {
7457 {
7458 arg4 = &temp4;
7459 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7460 }
7461 }
7462 if (obj4) {
7463 {
7464 arg5 = &temp5;
7465 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7466 }
7467 }
7468 if (obj5) {
7469 ecode6 = SWIG_AsVal_long(obj5, &val6);
7470 if (!SWIG_IsOK(ecode6)) {
7471 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7472 }
7473 arg6 = static_cast< long >(val6);
7474 }
7475 if (obj6) {
7476 {
7477 arg7 = wxString_in_helper(obj6);
7478 if (arg7 == NULL) SWIG_fail;
7479 temp7 = true;
7480 }
7481 }
7482 {
7483 if (!wxPyCheckForApp()) SWIG_fail;
7484 PyThreadState* __tstate = wxPyBeginAllowThreads();
7485 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7486 wxPyEndAllowThreads(__tstate);
7487 if (PyErr_Occurred()) SWIG_fail;
7488 }
7489 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7490 {
7491 if (temp3)
7492 delete arg3;
7493 }
7494 {
7495 if (temp7)
7496 delete arg7;
7497 }
7498 return resultobj;
7499 fail:
7500 {
7501 if (temp3)
7502 delete arg3;
7503 }
7504 {
7505 if (temp7)
7506 delete arg7;
7507 }
7508 return NULL;
7509 }
7510
7511
7512 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7513 PyObject *resultobj = 0;
7514 wxDialog *result = 0 ;
7515
7516 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7517 {
7518 if (!wxPyCheckForApp()) SWIG_fail;
7519 PyThreadState* __tstate = wxPyBeginAllowThreads();
7520 result = (wxDialog *)new wxDialog();
7521 wxPyEndAllowThreads(__tstate);
7522 if (PyErr_Occurred()) SWIG_fail;
7523 }
7524 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7525 return resultobj;
7526 fail:
7527 return NULL;
7528 }
7529
7530
7531 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7532 PyObject *resultobj = 0;
7533 wxDialog *arg1 = (wxDialog *) 0 ;
7534 wxWindow *arg2 = (wxWindow *) 0 ;
7535 int arg3 = (int) (int)-1 ;
7536 wxString const &arg4_defvalue = wxPyEmptyString ;
7537 wxString *arg4 = (wxString *) &arg4_defvalue ;
7538 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7539 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7540 wxSize const &arg6_defvalue = wxDefaultSize ;
7541 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7542 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7543 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7544 wxString *arg8 = (wxString *) &arg8_defvalue ;
7545 bool result;
7546 void *argp1 = 0 ;
7547 int res1 = 0 ;
7548 void *argp2 = 0 ;
7549 int res2 = 0 ;
7550 int val3 ;
7551 int ecode3 = 0 ;
7552 bool temp4 = false ;
7553 wxPoint temp5 ;
7554 wxSize temp6 ;
7555 long val7 ;
7556 int ecode7 = 0 ;
7557 bool temp8 = false ;
7558 PyObject * obj0 = 0 ;
7559 PyObject * obj1 = 0 ;
7560 PyObject * obj2 = 0 ;
7561 PyObject * obj3 = 0 ;
7562 PyObject * obj4 = 0 ;
7563 PyObject * obj5 = 0 ;
7564 PyObject * obj6 = 0 ;
7565 PyObject * obj7 = 0 ;
7566 char * kwnames[] = {
7567 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7568 };
7569
7570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7572 if (!SWIG_IsOK(res1)) {
7573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7574 }
7575 arg1 = reinterpret_cast< wxDialog * >(argp1);
7576 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7577 if (!SWIG_IsOK(res2)) {
7578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7579 }
7580 arg2 = reinterpret_cast< wxWindow * >(argp2);
7581 if (obj2) {
7582 ecode3 = SWIG_AsVal_int(obj2, &val3);
7583 if (!SWIG_IsOK(ecode3)) {
7584 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7585 }
7586 arg3 = static_cast< int >(val3);
7587 }
7588 if (obj3) {
7589 {
7590 arg4 = wxString_in_helper(obj3);
7591 if (arg4 == NULL) SWIG_fail;
7592 temp4 = true;
7593 }
7594 }
7595 if (obj4) {
7596 {
7597 arg5 = &temp5;
7598 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7599 }
7600 }
7601 if (obj5) {
7602 {
7603 arg6 = &temp6;
7604 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7605 }
7606 }
7607 if (obj6) {
7608 ecode7 = SWIG_AsVal_long(obj6, &val7);
7609 if (!SWIG_IsOK(ecode7)) {
7610 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7611 }
7612 arg7 = static_cast< long >(val7);
7613 }
7614 if (obj7) {
7615 {
7616 arg8 = wxString_in_helper(obj7);
7617 if (arg8 == NULL) SWIG_fail;
7618 temp8 = true;
7619 }
7620 }
7621 {
7622 PyThreadState* __tstate = wxPyBeginAllowThreads();
7623 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7624 wxPyEndAllowThreads(__tstate);
7625 if (PyErr_Occurred()) SWIG_fail;
7626 }
7627 {
7628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7629 }
7630 {
7631 if (temp4)
7632 delete arg4;
7633 }
7634 {
7635 if (temp8)
7636 delete arg8;
7637 }
7638 return resultobj;
7639 fail:
7640 {
7641 if (temp4)
7642 delete arg4;
7643 }
7644 {
7645 if (temp8)
7646 delete arg8;
7647 }
7648 return NULL;
7649 }
7650
7651
7652 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7653 PyObject *resultobj = 0;
7654 wxDialog *arg1 = (wxDialog *) 0 ;
7655 int arg2 ;
7656 void *argp1 = 0 ;
7657 int res1 = 0 ;
7658 int val2 ;
7659 int ecode2 = 0 ;
7660 PyObject * obj0 = 0 ;
7661 PyObject * obj1 = 0 ;
7662 char * kwnames[] = {
7663 (char *) "self",(char *) "returnCode", NULL
7664 };
7665
7666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7668 if (!SWIG_IsOK(res1)) {
7669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7670 }
7671 arg1 = reinterpret_cast< wxDialog * >(argp1);
7672 ecode2 = SWIG_AsVal_int(obj1, &val2);
7673 if (!SWIG_IsOK(ecode2)) {
7674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7675 }
7676 arg2 = static_cast< int >(val2);
7677 {
7678 PyThreadState* __tstate = wxPyBeginAllowThreads();
7679 (arg1)->SetReturnCode(arg2);
7680 wxPyEndAllowThreads(__tstate);
7681 if (PyErr_Occurred()) SWIG_fail;
7682 }
7683 resultobj = SWIG_Py_Void();
7684 return resultobj;
7685 fail:
7686 return NULL;
7687 }
7688
7689
7690 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7691 PyObject *resultobj = 0;
7692 wxDialog *arg1 = (wxDialog *) 0 ;
7693 int result;
7694 void *argp1 = 0 ;
7695 int res1 = 0 ;
7696 PyObject *swig_obj[1] ;
7697
7698 if (!args) SWIG_fail;
7699 swig_obj[0] = args;
7700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7701 if (!SWIG_IsOK(res1)) {
7702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7703 }
7704 arg1 = reinterpret_cast< wxDialog * >(argp1);
7705 {
7706 PyThreadState* __tstate = wxPyBeginAllowThreads();
7707 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7708 wxPyEndAllowThreads(__tstate);
7709 if (PyErr_Occurred()) SWIG_fail;
7710 }
7711 resultobj = SWIG_From_int(static_cast< int >(result));
7712 return resultobj;
7713 fail:
7714 return NULL;
7715 }
7716
7717
7718 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7719 PyObject *resultobj = 0;
7720 wxDialog *arg1 = (wxDialog *) 0 ;
7721 int arg2 ;
7722 void *argp1 = 0 ;
7723 int res1 = 0 ;
7724 int val2 ;
7725 int ecode2 = 0 ;
7726 PyObject * obj0 = 0 ;
7727 PyObject * obj1 = 0 ;
7728 char * kwnames[] = {
7729 (char *) "self",(char *) "affirmativeId", NULL
7730 };
7731
7732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7734 if (!SWIG_IsOK(res1)) {
7735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7736 }
7737 arg1 = reinterpret_cast< wxDialog * >(argp1);
7738 ecode2 = SWIG_AsVal_int(obj1, &val2);
7739 if (!SWIG_IsOK(ecode2)) {
7740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7741 }
7742 arg2 = static_cast< int >(val2);
7743 {
7744 PyThreadState* __tstate = wxPyBeginAllowThreads();
7745 (arg1)->SetAffirmativeId(arg2);
7746 wxPyEndAllowThreads(__tstate);
7747 if (PyErr_Occurred()) SWIG_fail;
7748 }
7749 resultobj = SWIG_Py_Void();
7750 return resultobj;
7751 fail:
7752 return NULL;
7753 }
7754
7755
7756 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7757 PyObject *resultobj = 0;
7758 wxDialog *arg1 = (wxDialog *) 0 ;
7759 int result;
7760 void *argp1 = 0 ;
7761 int res1 = 0 ;
7762 PyObject *swig_obj[1] ;
7763
7764 if (!args) SWIG_fail;
7765 swig_obj[0] = args;
7766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7767 if (!SWIG_IsOK(res1)) {
7768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7769 }
7770 arg1 = reinterpret_cast< wxDialog * >(argp1);
7771 {
7772 PyThreadState* __tstate = wxPyBeginAllowThreads();
7773 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7774 wxPyEndAllowThreads(__tstate);
7775 if (PyErr_Occurred()) SWIG_fail;
7776 }
7777 resultobj = SWIG_From_int(static_cast< int >(result));
7778 return resultobj;
7779 fail:
7780 return NULL;
7781 }
7782
7783
7784 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7785 PyObject *resultobj = 0;
7786 wxDialog *arg1 = (wxDialog *) 0 ;
7787 int arg2 ;
7788 void *argp1 = 0 ;
7789 int res1 = 0 ;
7790 int val2 ;
7791 int ecode2 = 0 ;
7792 PyObject * obj0 = 0 ;
7793 PyObject * obj1 = 0 ;
7794 char * kwnames[] = {
7795 (char *) "self",(char *) "escapeId", NULL
7796 };
7797
7798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7800 if (!SWIG_IsOK(res1)) {
7801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7802 }
7803 arg1 = reinterpret_cast< wxDialog * >(argp1);
7804 ecode2 = SWIG_AsVal_int(obj1, &val2);
7805 if (!SWIG_IsOK(ecode2)) {
7806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7807 }
7808 arg2 = static_cast< int >(val2);
7809 {
7810 PyThreadState* __tstate = wxPyBeginAllowThreads();
7811 (arg1)->SetEscapeId(arg2);
7812 wxPyEndAllowThreads(__tstate);
7813 if (PyErr_Occurred()) SWIG_fail;
7814 }
7815 resultobj = SWIG_Py_Void();
7816 return resultobj;
7817 fail:
7818 return NULL;
7819 }
7820
7821
7822 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7823 PyObject *resultobj = 0;
7824 wxDialog *arg1 = (wxDialog *) 0 ;
7825 int result;
7826 void *argp1 = 0 ;
7827 int res1 = 0 ;
7828 PyObject *swig_obj[1] ;
7829
7830 if (!args) SWIG_fail;
7831 swig_obj[0] = args;
7832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7833 if (!SWIG_IsOK(res1)) {
7834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7835 }
7836 arg1 = reinterpret_cast< wxDialog * >(argp1);
7837 {
7838 PyThreadState* __tstate = wxPyBeginAllowThreads();
7839 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7840 wxPyEndAllowThreads(__tstate);
7841 if (PyErr_Occurred()) SWIG_fail;
7842 }
7843 resultobj = SWIG_From_int(static_cast< int >(result));
7844 return resultobj;
7845 fail:
7846 return NULL;
7847 }
7848
7849
7850 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7851 PyObject *resultobj = 0;
7852 wxDialog *arg1 = (wxDialog *) 0 ;
7853 wxString *arg2 = 0 ;
7854 wxSizer *result = 0 ;
7855 void *argp1 = 0 ;
7856 int res1 = 0 ;
7857 bool temp2 = false ;
7858 PyObject * obj0 = 0 ;
7859 PyObject * obj1 = 0 ;
7860 char * kwnames[] = {
7861 (char *) "self",(char *) "message", NULL
7862 };
7863
7864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7866 if (!SWIG_IsOK(res1)) {
7867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7868 }
7869 arg1 = reinterpret_cast< wxDialog * >(argp1);
7870 {
7871 arg2 = wxString_in_helper(obj1);
7872 if (arg2 == NULL) SWIG_fail;
7873 temp2 = true;
7874 }
7875 {
7876 PyThreadState* __tstate = wxPyBeginAllowThreads();
7877 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7878 wxPyEndAllowThreads(__tstate);
7879 if (PyErr_Occurred()) SWIG_fail;
7880 }
7881 {
7882 resultobj = wxPyMake_wxObject(result, (bool)0);
7883 }
7884 {
7885 if (temp2)
7886 delete arg2;
7887 }
7888 return resultobj;
7889 fail:
7890 {
7891 if (temp2)
7892 delete arg2;
7893 }
7894 return NULL;
7895 }
7896
7897
7898 SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7899 PyObject *resultobj = 0;
7900 wxDialog *arg1 = (wxDialog *) 0 ;
7901 long arg2 ;
7902 wxSizer *result = 0 ;
7903 void *argp1 = 0 ;
7904 int res1 = 0 ;
7905 long val2 ;
7906 int ecode2 = 0 ;
7907 PyObject * obj0 = 0 ;
7908 PyObject * obj1 = 0 ;
7909 char * kwnames[] = {
7910 (char *) "self",(char *) "flags", NULL
7911 };
7912
7913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7915 if (!SWIG_IsOK(res1)) {
7916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7917 }
7918 arg1 = reinterpret_cast< wxDialog * >(argp1);
7919 ecode2 = SWIG_AsVal_long(obj1, &val2);
7920 if (!SWIG_IsOK(ecode2)) {
7921 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7922 }
7923 arg2 = static_cast< long >(val2);
7924 {
7925 PyThreadState* __tstate = wxPyBeginAllowThreads();
7926 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7927 wxPyEndAllowThreads(__tstate);
7928 if (PyErr_Occurred()) SWIG_fail;
7929 }
7930 {
7931 resultobj = wxPyMake_wxObject(result, (bool)0);
7932 }
7933 return resultobj;
7934 fail:
7935 return NULL;
7936 }
7937
7938
7939 SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7940 PyObject *resultobj = 0;
7941 wxDialog *arg1 = (wxDialog *) 0 ;
7942 long arg2 ;
7943 wxSizer *result = 0 ;
7944 void *argp1 = 0 ;
7945 int res1 = 0 ;
7946 long val2 ;
7947 int ecode2 = 0 ;
7948 PyObject * obj0 = 0 ;
7949 PyObject * obj1 = 0 ;
7950 char * kwnames[] = {
7951 (char *) "self",(char *) "flags", NULL
7952 };
7953
7954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7956 if (!SWIG_IsOK(res1)) {
7957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7958 }
7959 arg1 = reinterpret_cast< wxDialog * >(argp1);
7960 ecode2 = SWIG_AsVal_long(obj1, &val2);
7961 if (!SWIG_IsOK(ecode2)) {
7962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7963 }
7964 arg2 = static_cast< long >(val2);
7965 {
7966 PyThreadState* __tstate = wxPyBeginAllowThreads();
7967 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
7968 wxPyEndAllowThreads(__tstate);
7969 if (PyErr_Occurred()) SWIG_fail;
7970 }
7971 {
7972 resultobj = wxPyMake_wxObject(result, (bool)0);
7973 }
7974 return resultobj;
7975 fail:
7976 return NULL;
7977 }
7978
7979
7980 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7981 PyObject *resultobj = 0;
7982 wxDialog *arg1 = (wxDialog *) 0 ;
7983 long arg2 ;
7984 wxStdDialogButtonSizer *result = 0 ;
7985 void *argp1 = 0 ;
7986 int res1 = 0 ;
7987 long val2 ;
7988 int ecode2 = 0 ;
7989 PyObject * obj0 = 0 ;
7990 PyObject * obj1 = 0 ;
7991 char * kwnames[] = {
7992 (char *) "self",(char *) "flags", NULL
7993 };
7994
7995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7997 if (!SWIG_IsOK(res1)) {
7998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7999 }
8000 arg1 = reinterpret_cast< wxDialog * >(argp1);
8001 ecode2 = SWIG_AsVal_long(obj1, &val2);
8002 if (!SWIG_IsOK(ecode2)) {
8003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
8004 }
8005 arg2 = static_cast< long >(val2);
8006 {
8007 PyThreadState* __tstate = wxPyBeginAllowThreads();
8008 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
8009 wxPyEndAllowThreads(__tstate);
8010 if (PyErr_Occurred()) SWIG_fail;
8011 }
8012 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
8013 return resultobj;
8014 fail:
8015 return NULL;
8016 }
8017
8018
8019 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8020 PyObject *resultobj = 0;
8021 wxDialog *arg1 = (wxDialog *) 0 ;
8022 bool result;
8023 void *argp1 = 0 ;
8024 int res1 = 0 ;
8025 PyObject *swig_obj[1] ;
8026
8027 if (!args) SWIG_fail;
8028 swig_obj[0] = args;
8029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8030 if (!SWIG_IsOK(res1)) {
8031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
8032 }
8033 arg1 = reinterpret_cast< wxDialog * >(argp1);
8034 {
8035 PyThreadState* __tstate = wxPyBeginAllowThreads();
8036 result = (bool)((wxDialog const *)arg1)->IsModal();
8037 wxPyEndAllowThreads(__tstate);
8038 if (PyErr_Occurred()) SWIG_fail;
8039 }
8040 {
8041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8042 }
8043 return resultobj;
8044 fail:
8045 return NULL;
8046 }
8047
8048
8049 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8050 PyObject *resultobj = 0;
8051 wxDialog *arg1 = (wxDialog *) 0 ;
8052 int result;
8053 void *argp1 = 0 ;
8054 int res1 = 0 ;
8055 PyObject *swig_obj[1] ;
8056
8057 if (!args) SWIG_fail;
8058 swig_obj[0] = args;
8059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8060 if (!SWIG_IsOK(res1)) {
8061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8062 }
8063 arg1 = reinterpret_cast< wxDialog * >(argp1);
8064 {
8065 PyThreadState* __tstate = wxPyBeginAllowThreads();
8066 result = (int)(arg1)->ShowModal();
8067 wxPyEndAllowThreads(__tstate);
8068 if (PyErr_Occurred()) SWIG_fail;
8069 }
8070 resultobj = SWIG_From_int(static_cast< int >(result));
8071 return resultobj;
8072 fail:
8073 return NULL;
8074 }
8075
8076
8077 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8078 PyObject *resultobj = 0;
8079 wxDialog *arg1 = (wxDialog *) 0 ;
8080 int arg2 ;
8081 void *argp1 = 0 ;
8082 int res1 = 0 ;
8083 int val2 ;
8084 int ecode2 = 0 ;
8085 PyObject * obj0 = 0 ;
8086 PyObject * obj1 = 0 ;
8087 char * kwnames[] = {
8088 (char *) "self",(char *) "retCode", NULL
8089 };
8090
8091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8093 if (!SWIG_IsOK(res1)) {
8094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8095 }
8096 arg1 = reinterpret_cast< wxDialog * >(argp1);
8097 ecode2 = SWIG_AsVal_int(obj1, &val2);
8098 if (!SWIG_IsOK(ecode2)) {
8099 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8100 }
8101 arg2 = static_cast< int >(val2);
8102 {
8103 PyThreadState* __tstate = wxPyBeginAllowThreads();
8104 (arg1)->EndModal(arg2);
8105 wxPyEndAllowThreads(__tstate);
8106 if (PyErr_Occurred()) SWIG_fail;
8107 }
8108 resultobj = SWIG_Py_Void();
8109 return resultobj;
8110 fail:
8111 return NULL;
8112 }
8113
8114
8115 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8116 PyObject *resultobj = 0;
8117 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8118 SwigValueWrapper<wxVisualAttributes > result;
8119 int val1 ;
8120 int ecode1 = 0 ;
8121 PyObject * obj0 = 0 ;
8122 char * kwnames[] = {
8123 (char *) "variant", NULL
8124 };
8125
8126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8127 if (obj0) {
8128 ecode1 = SWIG_AsVal_int(obj0, &val1);
8129 if (!SWIG_IsOK(ecode1)) {
8130 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8131 }
8132 arg1 = static_cast< wxWindowVariant >(val1);
8133 }
8134 {
8135 if (!wxPyCheckForApp()) SWIG_fail;
8136 PyThreadState* __tstate = wxPyBeginAllowThreads();
8137 result = wxDialog::GetClassDefaultAttributes(arg1);
8138 wxPyEndAllowThreads(__tstate);
8139 if (PyErr_Occurred()) SWIG_fail;
8140 }
8141 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8142 return resultobj;
8143 fail:
8144 return NULL;
8145 }
8146
8147
8148 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8149 PyObject *obj;
8150 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8151 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8152 return SWIG_Py_Void();
8153 }
8154
8155 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8156 return SWIG_Python_InitShadowInstance(args);
8157 }
8158
8159 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8160 PyObject *resultobj = 0;
8161 wxWindow *arg1 = (wxWindow *) 0 ;
8162 int arg2 = (int) (int)-1 ;
8163 wxString const &arg3_defvalue = wxPyEmptyString ;
8164 wxString *arg3 = (wxString *) &arg3_defvalue ;
8165 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8166 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8167 wxSize const &arg5_defvalue = wxDefaultSize ;
8168 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8169 long arg6 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8170 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8171 wxString *arg7 = (wxString *) &arg7_defvalue ;
8172 wxMiniFrame *result = 0 ;
8173 void *argp1 = 0 ;
8174 int res1 = 0 ;
8175 int val2 ;
8176 int ecode2 = 0 ;
8177 bool temp3 = false ;
8178 wxPoint temp4 ;
8179 wxSize temp5 ;
8180 long val6 ;
8181 int ecode6 = 0 ;
8182 bool temp7 = false ;
8183 PyObject * obj0 = 0 ;
8184 PyObject * obj1 = 0 ;
8185 PyObject * obj2 = 0 ;
8186 PyObject * obj3 = 0 ;
8187 PyObject * obj4 = 0 ;
8188 PyObject * obj5 = 0 ;
8189 PyObject * obj6 = 0 ;
8190 char * kwnames[] = {
8191 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8192 };
8193
8194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8196 if (!SWIG_IsOK(res1)) {
8197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8198 }
8199 arg1 = reinterpret_cast< wxWindow * >(argp1);
8200 if (obj1) {
8201 ecode2 = SWIG_AsVal_int(obj1, &val2);
8202 if (!SWIG_IsOK(ecode2)) {
8203 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8204 }
8205 arg2 = static_cast< int >(val2);
8206 }
8207 if (obj2) {
8208 {
8209 arg3 = wxString_in_helper(obj2);
8210 if (arg3 == NULL) SWIG_fail;
8211 temp3 = true;
8212 }
8213 }
8214 if (obj3) {
8215 {
8216 arg4 = &temp4;
8217 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8218 }
8219 }
8220 if (obj4) {
8221 {
8222 arg5 = &temp5;
8223 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8224 }
8225 }
8226 if (obj5) {
8227 ecode6 = SWIG_AsVal_long(obj5, &val6);
8228 if (!SWIG_IsOK(ecode6)) {
8229 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8230 }
8231 arg6 = static_cast< long >(val6);
8232 }
8233 if (obj6) {
8234 {
8235 arg7 = wxString_in_helper(obj6);
8236 if (arg7 == NULL) SWIG_fail;
8237 temp7 = true;
8238 }
8239 }
8240 {
8241 if (!wxPyCheckForApp()) SWIG_fail;
8242 PyThreadState* __tstate = wxPyBeginAllowThreads();
8243 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8244 wxPyEndAllowThreads(__tstate);
8245 if (PyErr_Occurred()) SWIG_fail;
8246 }
8247 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8248 {
8249 if (temp3)
8250 delete arg3;
8251 }
8252 {
8253 if (temp7)
8254 delete arg7;
8255 }
8256 return resultobj;
8257 fail:
8258 {
8259 if (temp3)
8260 delete arg3;
8261 }
8262 {
8263 if (temp7)
8264 delete arg7;
8265 }
8266 return NULL;
8267 }
8268
8269
8270 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8271 PyObject *resultobj = 0;
8272 wxMiniFrame *result = 0 ;
8273
8274 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8275 {
8276 if (!wxPyCheckForApp()) SWIG_fail;
8277 PyThreadState* __tstate = wxPyBeginAllowThreads();
8278 result = (wxMiniFrame *)new wxMiniFrame();
8279 wxPyEndAllowThreads(__tstate);
8280 if (PyErr_Occurred()) SWIG_fail;
8281 }
8282 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8283 return resultobj;
8284 fail:
8285 return NULL;
8286 }
8287
8288
8289 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8290 PyObject *resultobj = 0;
8291 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8292 wxWindow *arg2 = (wxWindow *) 0 ;
8293 int arg3 = (int) (int)-1 ;
8294 wxString const &arg4_defvalue = wxPyEmptyString ;
8295 wxString *arg4 = (wxString *) &arg4_defvalue ;
8296 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8297 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8298 wxSize const &arg6_defvalue = wxDefaultSize ;
8299 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8300 long arg7 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8301 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8302 wxString *arg8 = (wxString *) &arg8_defvalue ;
8303 bool result;
8304 void *argp1 = 0 ;
8305 int res1 = 0 ;
8306 void *argp2 = 0 ;
8307 int res2 = 0 ;
8308 int val3 ;
8309 int ecode3 = 0 ;
8310 bool temp4 = false ;
8311 wxPoint temp5 ;
8312 wxSize temp6 ;
8313 long val7 ;
8314 int ecode7 = 0 ;
8315 bool temp8 = false ;
8316 PyObject * obj0 = 0 ;
8317 PyObject * obj1 = 0 ;
8318 PyObject * obj2 = 0 ;
8319 PyObject * obj3 = 0 ;
8320 PyObject * obj4 = 0 ;
8321 PyObject * obj5 = 0 ;
8322 PyObject * obj6 = 0 ;
8323 PyObject * obj7 = 0 ;
8324 char * kwnames[] = {
8325 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8326 };
8327
8328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8330 if (!SWIG_IsOK(res1)) {
8331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8332 }
8333 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8334 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8335 if (!SWIG_IsOK(res2)) {
8336 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8337 }
8338 arg2 = reinterpret_cast< wxWindow * >(argp2);
8339 if (obj2) {
8340 ecode3 = SWIG_AsVal_int(obj2, &val3);
8341 if (!SWIG_IsOK(ecode3)) {
8342 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8343 }
8344 arg3 = static_cast< int >(val3);
8345 }
8346 if (obj3) {
8347 {
8348 arg4 = wxString_in_helper(obj3);
8349 if (arg4 == NULL) SWIG_fail;
8350 temp4 = true;
8351 }
8352 }
8353 if (obj4) {
8354 {
8355 arg5 = &temp5;
8356 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8357 }
8358 }
8359 if (obj5) {
8360 {
8361 arg6 = &temp6;
8362 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8363 }
8364 }
8365 if (obj6) {
8366 ecode7 = SWIG_AsVal_long(obj6, &val7);
8367 if (!SWIG_IsOK(ecode7)) {
8368 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8369 }
8370 arg7 = static_cast< long >(val7);
8371 }
8372 if (obj7) {
8373 {
8374 arg8 = wxString_in_helper(obj7);
8375 if (arg8 == NULL) SWIG_fail;
8376 temp8 = true;
8377 }
8378 }
8379 {
8380 PyThreadState* __tstate = wxPyBeginAllowThreads();
8381 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8382 wxPyEndAllowThreads(__tstate);
8383 if (PyErr_Occurred()) SWIG_fail;
8384 }
8385 {
8386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8387 }
8388 {
8389 if (temp4)
8390 delete arg4;
8391 }
8392 {
8393 if (temp8)
8394 delete arg8;
8395 }
8396 return resultobj;
8397 fail:
8398 {
8399 if (temp4)
8400 delete arg4;
8401 }
8402 {
8403 if (temp8)
8404 delete arg8;
8405 }
8406 return NULL;
8407 }
8408
8409
8410 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8411 PyObject *obj;
8412 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8413 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8414 return SWIG_Py_Void();
8415 }
8416
8417 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8418 return SWIG_Python_InitShadowInstance(args);
8419 }
8420
8421 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8422 PyObject *resultobj = 0;
8423 wxBitmap *arg1 = 0 ;
8424 wxWindow *arg2 = (wxWindow *) 0 ;
8425 int arg3 ;
8426 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8427 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8428 wxSize const &arg5_defvalue = wxDefaultSize ;
8429 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8430 long arg6 = (long) wxNO_BORDER ;
8431 wxSplashScreenWindow *result = 0 ;
8432 void *argp1 = 0 ;
8433 int res1 = 0 ;
8434 void *argp2 = 0 ;
8435 int res2 = 0 ;
8436 int val3 ;
8437 int ecode3 = 0 ;
8438 wxPoint temp4 ;
8439 wxSize temp5 ;
8440 long val6 ;
8441 int ecode6 = 0 ;
8442 PyObject * obj0 = 0 ;
8443 PyObject * obj1 = 0 ;
8444 PyObject * obj2 = 0 ;
8445 PyObject * obj3 = 0 ;
8446 PyObject * obj4 = 0 ;
8447 PyObject * obj5 = 0 ;
8448 char * kwnames[] = {
8449 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8450 };
8451
8452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8453 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8454 if (!SWIG_IsOK(res1)) {
8455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8456 }
8457 if (!argp1) {
8458 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8459 }
8460 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8461 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8462 if (!SWIG_IsOK(res2)) {
8463 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8464 }
8465 arg2 = reinterpret_cast< wxWindow * >(argp2);
8466 ecode3 = SWIG_AsVal_int(obj2, &val3);
8467 if (!SWIG_IsOK(ecode3)) {
8468 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8469 }
8470 arg3 = static_cast< int >(val3);
8471 if (obj3) {
8472 {
8473 arg4 = &temp4;
8474 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8475 }
8476 }
8477 if (obj4) {
8478 {
8479 arg5 = &temp5;
8480 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8481 }
8482 }
8483 if (obj5) {
8484 ecode6 = SWIG_AsVal_long(obj5, &val6);
8485 if (!SWIG_IsOK(ecode6)) {
8486 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8487 }
8488 arg6 = static_cast< long >(val6);
8489 }
8490 {
8491 if (!wxPyCheckForApp()) SWIG_fail;
8492 PyThreadState* __tstate = wxPyBeginAllowThreads();
8493 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8494 wxPyEndAllowThreads(__tstate);
8495 if (PyErr_Occurred()) SWIG_fail;
8496 }
8497 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8498 return resultobj;
8499 fail:
8500 return NULL;
8501 }
8502
8503
8504 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8505 PyObject *resultobj = 0;
8506 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8507 wxBitmap *arg2 = 0 ;
8508 void *argp1 = 0 ;
8509 int res1 = 0 ;
8510 void *argp2 = 0 ;
8511 int res2 = 0 ;
8512 PyObject * obj0 = 0 ;
8513 PyObject * obj1 = 0 ;
8514 char * kwnames[] = {
8515 (char *) "self",(char *) "bitmap", NULL
8516 };
8517
8518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8520 if (!SWIG_IsOK(res1)) {
8521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8522 }
8523 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8524 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8525 if (!SWIG_IsOK(res2)) {
8526 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8527 }
8528 if (!argp2) {
8529 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8530 }
8531 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8532 {
8533 PyThreadState* __tstate = wxPyBeginAllowThreads();
8534 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8535 wxPyEndAllowThreads(__tstate);
8536 if (PyErr_Occurred()) SWIG_fail;
8537 }
8538 resultobj = SWIG_Py_Void();
8539 return resultobj;
8540 fail:
8541 return NULL;
8542 }
8543
8544
8545 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8546 PyObject *resultobj = 0;
8547 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8548 wxBitmap *result = 0 ;
8549 void *argp1 = 0 ;
8550 int res1 = 0 ;
8551 PyObject *swig_obj[1] ;
8552
8553 if (!args) SWIG_fail;
8554 swig_obj[0] = args;
8555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8556 if (!SWIG_IsOK(res1)) {
8557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8558 }
8559 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8560 {
8561 PyThreadState* __tstate = wxPyBeginAllowThreads();
8562 {
8563 wxBitmap &_result_ref = (arg1)->GetBitmap();
8564 result = (wxBitmap *) &_result_ref;
8565 }
8566 wxPyEndAllowThreads(__tstate);
8567 if (PyErr_Occurred()) SWIG_fail;
8568 }
8569 {
8570 wxBitmap* resultptr = new wxBitmap(*result);
8571 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8572 }
8573 return resultobj;
8574 fail:
8575 return NULL;
8576 }
8577
8578
8579 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8580 PyObject *obj;
8581 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8582 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8583 return SWIG_Py_Void();
8584 }
8585
8586 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8587 return SWIG_Python_InitShadowInstance(args);
8588 }
8589
8590 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8591 PyObject *resultobj = 0;
8592 wxBitmap *arg1 = 0 ;
8593 long arg2 ;
8594 int arg3 ;
8595 wxWindow *arg4 = (wxWindow *) 0 ;
8596 int arg5 = (int) -1 ;
8597 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8598 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8599 wxSize const &arg7_defvalue = wxDefaultSize ;
8600 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8601 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8602 wxSplashScreen *result = 0 ;
8603 void *argp1 = 0 ;
8604 int res1 = 0 ;
8605 long val2 ;
8606 int ecode2 = 0 ;
8607 int val3 ;
8608 int ecode3 = 0 ;
8609 void *argp4 = 0 ;
8610 int res4 = 0 ;
8611 int val5 ;
8612 int ecode5 = 0 ;
8613 wxPoint temp6 ;
8614 wxSize temp7 ;
8615 long val8 ;
8616 int ecode8 = 0 ;
8617 PyObject * obj0 = 0 ;
8618 PyObject * obj1 = 0 ;
8619 PyObject * obj2 = 0 ;
8620 PyObject * obj3 = 0 ;
8621 PyObject * obj4 = 0 ;
8622 PyObject * obj5 = 0 ;
8623 PyObject * obj6 = 0 ;
8624 PyObject * obj7 = 0 ;
8625 char * kwnames[] = {
8626 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8627 };
8628
8629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8630 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8631 if (!SWIG_IsOK(res1)) {
8632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8633 }
8634 if (!argp1) {
8635 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8636 }
8637 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8638 ecode2 = SWIG_AsVal_long(obj1, &val2);
8639 if (!SWIG_IsOK(ecode2)) {
8640 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8641 }
8642 arg2 = static_cast< long >(val2);
8643 ecode3 = SWIG_AsVal_int(obj2, &val3);
8644 if (!SWIG_IsOK(ecode3)) {
8645 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8646 }
8647 arg3 = static_cast< int >(val3);
8648 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8649 if (!SWIG_IsOK(res4)) {
8650 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8651 }
8652 arg4 = reinterpret_cast< wxWindow * >(argp4);
8653 if (obj4) {
8654 ecode5 = SWIG_AsVal_int(obj4, &val5);
8655 if (!SWIG_IsOK(ecode5)) {
8656 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8657 }
8658 arg5 = static_cast< int >(val5);
8659 }
8660 if (obj5) {
8661 {
8662 arg6 = &temp6;
8663 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8664 }
8665 }
8666 if (obj6) {
8667 {
8668 arg7 = &temp7;
8669 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8670 }
8671 }
8672 if (obj7) {
8673 ecode8 = SWIG_AsVal_long(obj7, &val8);
8674 if (!SWIG_IsOK(ecode8)) {
8675 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8676 }
8677 arg8 = static_cast< long >(val8);
8678 }
8679 {
8680 if (!wxPyCheckForApp()) SWIG_fail;
8681 PyThreadState* __tstate = wxPyBeginAllowThreads();
8682 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) SWIG_fail;
8685 }
8686 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8687 return resultobj;
8688 fail:
8689 return NULL;
8690 }
8691
8692
8693 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8694 PyObject *resultobj = 0;
8695 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8696 long result;
8697 void *argp1 = 0 ;
8698 int res1 = 0 ;
8699 PyObject *swig_obj[1] ;
8700
8701 if (!args) SWIG_fail;
8702 swig_obj[0] = args;
8703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8704 if (!SWIG_IsOK(res1)) {
8705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8706 }
8707 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8708 {
8709 PyThreadState* __tstate = wxPyBeginAllowThreads();
8710 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8711 wxPyEndAllowThreads(__tstate);
8712 if (PyErr_Occurred()) SWIG_fail;
8713 }
8714 resultobj = SWIG_From_long(static_cast< long >(result));
8715 return resultobj;
8716 fail:
8717 return NULL;
8718 }
8719
8720
8721 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8722 PyObject *resultobj = 0;
8723 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8724 wxSplashScreenWindow *result = 0 ;
8725 void *argp1 = 0 ;
8726 int res1 = 0 ;
8727 PyObject *swig_obj[1] ;
8728
8729 if (!args) SWIG_fail;
8730 swig_obj[0] = args;
8731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8732 if (!SWIG_IsOK(res1)) {
8733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8734 }
8735 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8739 wxPyEndAllowThreads(__tstate);
8740 if (PyErr_Occurred()) SWIG_fail;
8741 }
8742 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8743 return resultobj;
8744 fail:
8745 return NULL;
8746 }
8747
8748
8749 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8750 PyObject *resultobj = 0;
8751 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8752 int result;
8753 void *argp1 = 0 ;
8754 int res1 = 0 ;
8755 PyObject *swig_obj[1] ;
8756
8757 if (!args) SWIG_fail;
8758 swig_obj[0] = args;
8759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8760 if (!SWIG_IsOK(res1)) {
8761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8762 }
8763 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8764 {
8765 PyThreadState* __tstate = wxPyBeginAllowThreads();
8766 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8767 wxPyEndAllowThreads(__tstate);
8768 if (PyErr_Occurred()) SWIG_fail;
8769 }
8770 resultobj = SWIG_From_int(static_cast< int >(result));
8771 return resultobj;
8772 fail:
8773 return NULL;
8774 }
8775
8776
8777 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8778 PyObject *obj;
8779 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8780 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8781 return SWIG_Py_Void();
8782 }
8783
8784 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8785 return SWIG_Python_InitShadowInstance(args);
8786 }
8787
8788 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8789 PyObject *resultobj = 0;
8790 wxWindow *arg1 = (wxWindow *) 0 ;
8791 int arg2 = (int) -1 ;
8792 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8793 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8794 wxString *arg4 = (wxString *) &arg4_defvalue ;
8795 wxStatusBar *result = 0 ;
8796 void *argp1 = 0 ;
8797 int res1 = 0 ;
8798 int val2 ;
8799 int ecode2 = 0 ;
8800 long val3 ;
8801 int ecode3 = 0 ;
8802 bool temp4 = false ;
8803 PyObject * obj0 = 0 ;
8804 PyObject * obj1 = 0 ;
8805 PyObject * obj2 = 0 ;
8806 PyObject * obj3 = 0 ;
8807 char * kwnames[] = {
8808 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8809 };
8810
8811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8813 if (!SWIG_IsOK(res1)) {
8814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8815 }
8816 arg1 = reinterpret_cast< wxWindow * >(argp1);
8817 if (obj1) {
8818 ecode2 = SWIG_AsVal_int(obj1, &val2);
8819 if (!SWIG_IsOK(ecode2)) {
8820 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8821 }
8822 arg2 = static_cast< int >(val2);
8823 }
8824 if (obj2) {
8825 ecode3 = SWIG_AsVal_long(obj2, &val3);
8826 if (!SWIG_IsOK(ecode3)) {
8827 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8828 }
8829 arg3 = static_cast< long >(val3);
8830 }
8831 if (obj3) {
8832 {
8833 arg4 = wxString_in_helper(obj3);
8834 if (arg4 == NULL) SWIG_fail;
8835 temp4 = true;
8836 }
8837 }
8838 {
8839 if (!wxPyCheckForApp()) SWIG_fail;
8840 PyThreadState* __tstate = wxPyBeginAllowThreads();
8841 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8842 wxPyEndAllowThreads(__tstate);
8843 if (PyErr_Occurred()) SWIG_fail;
8844 }
8845 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8846 {
8847 if (temp4)
8848 delete arg4;
8849 }
8850 return resultobj;
8851 fail:
8852 {
8853 if (temp4)
8854 delete arg4;
8855 }
8856 return NULL;
8857 }
8858
8859
8860 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8861 PyObject *resultobj = 0;
8862 wxStatusBar *result = 0 ;
8863
8864 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8865 {
8866 if (!wxPyCheckForApp()) SWIG_fail;
8867 PyThreadState* __tstate = wxPyBeginAllowThreads();
8868 result = (wxStatusBar *)new wxStatusBar();
8869 wxPyEndAllowThreads(__tstate);
8870 if (PyErr_Occurred()) SWIG_fail;
8871 }
8872 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8873 return resultobj;
8874 fail:
8875 return NULL;
8876 }
8877
8878
8879 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8880 PyObject *resultobj = 0;
8881 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8882 wxWindow *arg2 = (wxWindow *) 0 ;
8883 int arg3 = (int) -1 ;
8884 long arg4 = (long) wxST_SIZEGRIP ;
8885 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8886 wxString *arg5 = (wxString *) &arg5_defvalue ;
8887 bool result;
8888 void *argp1 = 0 ;
8889 int res1 = 0 ;
8890 void *argp2 = 0 ;
8891 int res2 = 0 ;
8892 int val3 ;
8893 int ecode3 = 0 ;
8894 long val4 ;
8895 int ecode4 = 0 ;
8896 bool temp5 = false ;
8897 PyObject * obj0 = 0 ;
8898 PyObject * obj1 = 0 ;
8899 PyObject * obj2 = 0 ;
8900 PyObject * obj3 = 0 ;
8901 PyObject * obj4 = 0 ;
8902 char * kwnames[] = {
8903 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8904 };
8905
8906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8908 if (!SWIG_IsOK(res1)) {
8909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8910 }
8911 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8912 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8913 if (!SWIG_IsOK(res2)) {
8914 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8915 }
8916 arg2 = reinterpret_cast< wxWindow * >(argp2);
8917 if (obj2) {
8918 ecode3 = SWIG_AsVal_int(obj2, &val3);
8919 if (!SWIG_IsOK(ecode3)) {
8920 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8921 }
8922 arg3 = static_cast< int >(val3);
8923 }
8924 if (obj3) {
8925 ecode4 = SWIG_AsVal_long(obj3, &val4);
8926 if (!SWIG_IsOK(ecode4)) {
8927 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8928 }
8929 arg4 = static_cast< long >(val4);
8930 }
8931 if (obj4) {
8932 {
8933 arg5 = wxString_in_helper(obj4);
8934 if (arg5 == NULL) SWIG_fail;
8935 temp5 = true;
8936 }
8937 }
8938 {
8939 PyThreadState* __tstate = wxPyBeginAllowThreads();
8940 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8941 wxPyEndAllowThreads(__tstate);
8942 if (PyErr_Occurred()) SWIG_fail;
8943 }
8944 {
8945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8946 }
8947 {
8948 if (temp5)
8949 delete arg5;
8950 }
8951 return resultobj;
8952 fail:
8953 {
8954 if (temp5)
8955 delete arg5;
8956 }
8957 return NULL;
8958 }
8959
8960
8961 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8962 PyObject *resultobj = 0;
8963 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8964 int arg2 = (int) 1 ;
8965 void *argp1 = 0 ;
8966 int res1 = 0 ;
8967 int val2 ;
8968 int ecode2 = 0 ;
8969 PyObject * obj0 = 0 ;
8970 PyObject * obj1 = 0 ;
8971 char * kwnames[] = {
8972 (char *) "self",(char *) "number", NULL
8973 };
8974
8975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8977 if (!SWIG_IsOK(res1)) {
8978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8979 }
8980 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8981 if (obj1) {
8982 ecode2 = SWIG_AsVal_int(obj1, &val2);
8983 if (!SWIG_IsOK(ecode2)) {
8984 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8985 }
8986 arg2 = static_cast< int >(val2);
8987 }
8988 {
8989 PyThreadState* __tstate = wxPyBeginAllowThreads();
8990 (arg1)->SetFieldsCount(arg2);
8991 wxPyEndAllowThreads(__tstate);
8992 if (PyErr_Occurred()) SWIG_fail;
8993 }
8994 resultobj = SWIG_Py_Void();
8995 return resultobj;
8996 fail:
8997 return NULL;
8998 }
8999
9000
9001 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9002 PyObject *resultobj = 0;
9003 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9004 int result;
9005 void *argp1 = 0 ;
9006 int res1 = 0 ;
9007 PyObject *swig_obj[1] ;
9008
9009 if (!args) SWIG_fail;
9010 swig_obj[0] = args;
9011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9012 if (!SWIG_IsOK(res1)) {
9013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9014 }
9015 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9016 {
9017 PyThreadState* __tstate = wxPyBeginAllowThreads();
9018 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
9019 wxPyEndAllowThreads(__tstate);
9020 if (PyErr_Occurred()) SWIG_fail;
9021 }
9022 resultobj = SWIG_From_int(static_cast< int >(result));
9023 return resultobj;
9024 fail:
9025 return NULL;
9026 }
9027
9028
9029 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9030 PyObject *resultobj = 0;
9031 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9032 wxString *arg2 = 0 ;
9033 int arg3 = (int) 0 ;
9034 void *argp1 = 0 ;
9035 int res1 = 0 ;
9036 bool temp2 = false ;
9037 int val3 ;
9038 int ecode3 = 0 ;
9039 PyObject * obj0 = 0 ;
9040 PyObject * obj1 = 0 ;
9041 PyObject * obj2 = 0 ;
9042 char * kwnames[] = {
9043 (char *) "self",(char *) "text",(char *) "number", NULL
9044 };
9045
9046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9048 if (!SWIG_IsOK(res1)) {
9049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9050 }
9051 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9052 {
9053 arg2 = wxString_in_helper(obj1);
9054 if (arg2 == NULL) SWIG_fail;
9055 temp2 = true;
9056 }
9057 if (obj2) {
9058 ecode3 = SWIG_AsVal_int(obj2, &val3);
9059 if (!SWIG_IsOK(ecode3)) {
9060 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
9061 }
9062 arg3 = static_cast< int >(val3);
9063 }
9064 {
9065 PyThreadState* __tstate = wxPyBeginAllowThreads();
9066 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
9067 wxPyEndAllowThreads(__tstate);
9068 if (PyErr_Occurred()) SWIG_fail;
9069 }
9070 resultobj = SWIG_Py_Void();
9071 {
9072 if (temp2)
9073 delete arg2;
9074 }
9075 return resultobj;
9076 fail:
9077 {
9078 if (temp2)
9079 delete arg2;
9080 }
9081 return NULL;
9082 }
9083
9084
9085 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9086 PyObject *resultobj = 0;
9087 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9088 int arg2 = (int) 0 ;
9089 wxString result;
9090 void *argp1 = 0 ;
9091 int res1 = 0 ;
9092 int val2 ;
9093 int ecode2 = 0 ;
9094 PyObject * obj0 = 0 ;
9095 PyObject * obj1 = 0 ;
9096 char * kwnames[] = {
9097 (char *) "self",(char *) "number", NULL
9098 };
9099
9100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9102 if (!SWIG_IsOK(res1)) {
9103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9104 }
9105 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9106 if (obj1) {
9107 ecode2 = SWIG_AsVal_int(obj1, &val2);
9108 if (!SWIG_IsOK(ecode2)) {
9109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9110 }
9111 arg2 = static_cast< int >(val2);
9112 }
9113 {
9114 PyThreadState* __tstate = wxPyBeginAllowThreads();
9115 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9116 wxPyEndAllowThreads(__tstate);
9117 if (PyErr_Occurred()) SWIG_fail;
9118 }
9119 {
9120 #if wxUSE_UNICODE
9121 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9122 #else
9123 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9124 #endif
9125 }
9126 return resultobj;
9127 fail:
9128 return NULL;
9129 }
9130
9131
9132 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9133 PyObject *resultobj = 0;
9134 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9135 wxString *arg2 = 0 ;
9136 int arg3 = (int) 0 ;
9137 void *argp1 = 0 ;
9138 int res1 = 0 ;
9139 bool temp2 = false ;
9140 int val3 ;
9141 int ecode3 = 0 ;
9142 PyObject * obj0 = 0 ;
9143 PyObject * obj1 = 0 ;
9144 PyObject * obj2 = 0 ;
9145 char * kwnames[] = {
9146 (char *) "self",(char *) "text",(char *) "number", NULL
9147 };
9148
9149 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9150 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9151 if (!SWIG_IsOK(res1)) {
9152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9153 }
9154 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9155 {
9156 arg2 = wxString_in_helper(obj1);
9157 if (arg2 == NULL) SWIG_fail;
9158 temp2 = true;
9159 }
9160 if (obj2) {
9161 ecode3 = SWIG_AsVal_int(obj2, &val3);
9162 if (!SWIG_IsOK(ecode3)) {
9163 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9164 }
9165 arg3 = static_cast< int >(val3);
9166 }
9167 {
9168 PyThreadState* __tstate = wxPyBeginAllowThreads();
9169 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9170 wxPyEndAllowThreads(__tstate);
9171 if (PyErr_Occurred()) SWIG_fail;
9172 }
9173 resultobj = SWIG_Py_Void();
9174 {
9175 if (temp2)
9176 delete arg2;
9177 }
9178 return resultobj;
9179 fail:
9180 {
9181 if (temp2)
9182 delete arg2;
9183 }
9184 return NULL;
9185 }
9186
9187
9188 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9189 PyObject *resultobj = 0;
9190 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9191 int arg2 = (int) 0 ;
9192 void *argp1 = 0 ;
9193 int res1 = 0 ;
9194 int val2 ;
9195 int ecode2 = 0 ;
9196 PyObject * obj0 = 0 ;
9197 PyObject * obj1 = 0 ;
9198 char * kwnames[] = {
9199 (char *) "self",(char *) "number", NULL
9200 };
9201
9202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9204 if (!SWIG_IsOK(res1)) {
9205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9206 }
9207 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9208 if (obj1) {
9209 ecode2 = SWIG_AsVal_int(obj1, &val2);
9210 if (!SWIG_IsOK(ecode2)) {
9211 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9212 }
9213 arg2 = static_cast< int >(val2);
9214 }
9215 {
9216 PyThreadState* __tstate = wxPyBeginAllowThreads();
9217 (arg1)->PopStatusText(arg2);
9218 wxPyEndAllowThreads(__tstate);
9219 if (PyErr_Occurred()) SWIG_fail;
9220 }
9221 resultobj = SWIG_Py_Void();
9222 return resultobj;
9223 fail:
9224 return NULL;
9225 }
9226
9227
9228 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9229 PyObject *resultobj = 0;
9230 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9231 int arg2 ;
9232 int *arg3 = (int *) 0 ;
9233 void *argp1 = 0 ;
9234 int res1 = 0 ;
9235 PyObject * obj0 = 0 ;
9236 PyObject * obj1 = 0 ;
9237 char * kwnames[] = {
9238 (char *) "self",(char *) "widths", NULL
9239 };
9240
9241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9243 if (!SWIG_IsOK(res1)) {
9244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9245 }
9246 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9247 {
9248 arg2 = PyList_Size(obj1);
9249 arg3 = int_LIST_helper(obj1);
9250 if (arg3 == NULL) SWIG_fail;
9251 }
9252 {
9253 PyThreadState* __tstate = wxPyBeginAllowThreads();
9254 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9255 wxPyEndAllowThreads(__tstate);
9256 if (PyErr_Occurred()) SWIG_fail;
9257 }
9258 resultobj = SWIG_Py_Void();
9259 {
9260 if (arg3) delete [] arg3;
9261 }
9262 return resultobj;
9263 fail:
9264 {
9265 if (arg3) delete [] arg3;
9266 }
9267 return NULL;
9268 }
9269
9270
9271 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9272 PyObject *resultobj = 0;
9273 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9274 int arg2 ;
9275 int *arg3 = (int *) 0 ;
9276 void *argp1 = 0 ;
9277 int res1 = 0 ;
9278 PyObject * obj0 = 0 ;
9279 PyObject * obj1 = 0 ;
9280 char * kwnames[] = {
9281 (char *) "self",(char *) "styles", NULL
9282 };
9283
9284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9286 if (!SWIG_IsOK(res1)) {
9287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9288 }
9289 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9290 {
9291 arg2 = PyList_Size(obj1);
9292 arg3 = int_LIST_helper(obj1);
9293 if (arg3 == NULL) SWIG_fail;
9294 }
9295 {
9296 PyThreadState* __tstate = wxPyBeginAllowThreads();
9297 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9298 wxPyEndAllowThreads(__tstate);
9299 if (PyErr_Occurred()) SWIG_fail;
9300 }
9301 resultobj = SWIG_Py_Void();
9302 {
9303 if (arg3) delete [] arg3;
9304 }
9305 return resultobj;
9306 fail:
9307 {
9308 if (arg3) delete [] arg3;
9309 }
9310 return NULL;
9311 }
9312
9313
9314 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9315 PyObject *resultobj = 0;
9316 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9317 int arg2 ;
9318 wxRect result;
9319 void *argp1 = 0 ;
9320 int res1 = 0 ;
9321 int val2 ;
9322 int ecode2 = 0 ;
9323 PyObject * obj0 = 0 ;
9324 PyObject * obj1 = 0 ;
9325 char * kwnames[] = {
9326 (char *) "self",(char *) "i", NULL
9327 };
9328
9329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9331 if (!SWIG_IsOK(res1)) {
9332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9333 }
9334 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9335 ecode2 = SWIG_AsVal_int(obj1, &val2);
9336 if (!SWIG_IsOK(ecode2)) {
9337 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9338 }
9339 arg2 = static_cast< int >(val2);
9340 {
9341 PyThreadState* __tstate = wxPyBeginAllowThreads();
9342 result = wxStatusBar_GetFieldRect(arg1,arg2);
9343 wxPyEndAllowThreads(__tstate);
9344 if (PyErr_Occurred()) SWIG_fail;
9345 }
9346 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9347 return resultobj;
9348 fail:
9349 return NULL;
9350 }
9351
9352
9353 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9354 PyObject *resultobj = 0;
9355 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9356 int arg2 ;
9357 void *argp1 = 0 ;
9358 int res1 = 0 ;
9359 int val2 ;
9360 int ecode2 = 0 ;
9361 PyObject * obj0 = 0 ;
9362 PyObject * obj1 = 0 ;
9363 char * kwnames[] = {
9364 (char *) "self",(char *) "height", NULL
9365 };
9366
9367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9369 if (!SWIG_IsOK(res1)) {
9370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9371 }
9372 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9373 ecode2 = SWIG_AsVal_int(obj1, &val2);
9374 if (!SWIG_IsOK(ecode2)) {
9375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9376 }
9377 arg2 = static_cast< int >(val2);
9378 {
9379 PyThreadState* __tstate = wxPyBeginAllowThreads();
9380 (arg1)->SetMinHeight(arg2);
9381 wxPyEndAllowThreads(__tstate);
9382 if (PyErr_Occurred()) SWIG_fail;
9383 }
9384 resultobj = SWIG_Py_Void();
9385 return resultobj;
9386 fail:
9387 return NULL;
9388 }
9389
9390
9391 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9392 PyObject *resultobj = 0;
9393 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9394 int result;
9395 void *argp1 = 0 ;
9396 int res1 = 0 ;
9397 PyObject *swig_obj[1] ;
9398
9399 if (!args) SWIG_fail;
9400 swig_obj[0] = args;
9401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9402 if (!SWIG_IsOK(res1)) {
9403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9404 }
9405 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9409 wxPyEndAllowThreads(__tstate);
9410 if (PyErr_Occurred()) SWIG_fail;
9411 }
9412 resultobj = SWIG_From_int(static_cast< int >(result));
9413 return resultobj;
9414 fail:
9415 return NULL;
9416 }
9417
9418
9419 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9420 PyObject *resultobj = 0;
9421 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9422 int result;
9423 void *argp1 = 0 ;
9424 int res1 = 0 ;
9425 PyObject *swig_obj[1] ;
9426
9427 if (!args) SWIG_fail;
9428 swig_obj[0] = args;
9429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9430 if (!SWIG_IsOK(res1)) {
9431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9432 }
9433 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9434 {
9435 PyThreadState* __tstate = wxPyBeginAllowThreads();
9436 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9437 wxPyEndAllowThreads(__tstate);
9438 if (PyErr_Occurred()) SWIG_fail;
9439 }
9440 resultobj = SWIG_From_int(static_cast< int >(result));
9441 return resultobj;
9442 fail:
9443 return NULL;
9444 }
9445
9446
9447 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9448 PyObject *resultobj = 0;
9449 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9450 SwigValueWrapper<wxVisualAttributes > result;
9451 int val1 ;
9452 int ecode1 = 0 ;
9453 PyObject * obj0 = 0 ;
9454 char * kwnames[] = {
9455 (char *) "variant", NULL
9456 };
9457
9458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9459 if (obj0) {
9460 ecode1 = SWIG_AsVal_int(obj0, &val1);
9461 if (!SWIG_IsOK(ecode1)) {
9462 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9463 }
9464 arg1 = static_cast< wxWindowVariant >(val1);
9465 }
9466 {
9467 if (!wxPyCheckForApp()) SWIG_fail;
9468 PyThreadState* __tstate = wxPyBeginAllowThreads();
9469 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9470 wxPyEndAllowThreads(__tstate);
9471 if (PyErr_Occurred()) SWIG_fail;
9472 }
9473 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9474 return resultobj;
9475 fail:
9476 return NULL;
9477 }
9478
9479
9480 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9481 PyObject *obj;
9482 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9483 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9484 return SWIG_Py_Void();
9485 }
9486
9487 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9488 return SWIG_Python_InitShadowInstance(args);
9489 }
9490
9491 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9492 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9493 return 1;
9494 }
9495
9496
9497 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9498 PyObject *pyobj = 0;
9499
9500 {
9501 #if wxUSE_UNICODE
9502 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9503 #else
9504 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9505 #endif
9506 }
9507 return pyobj;
9508 }
9509
9510
9511 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9512 PyObject *resultobj = 0;
9513 wxWindow *arg1 = (wxWindow *) 0 ;
9514 int arg2 = (int) -1 ;
9515 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9516 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9517 wxSize const &arg4_defvalue = wxDefaultSize ;
9518 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9519 long arg5 = (long) wxSP_3D ;
9520 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9521 wxString *arg6 = (wxString *) &arg6_defvalue ;
9522 wxSplitterWindow *result = 0 ;
9523 void *argp1 = 0 ;
9524 int res1 = 0 ;
9525 int val2 ;
9526 int ecode2 = 0 ;
9527 wxPoint temp3 ;
9528 wxSize temp4 ;
9529 long val5 ;
9530 int ecode5 = 0 ;
9531 bool temp6 = false ;
9532 PyObject * obj0 = 0 ;
9533 PyObject * obj1 = 0 ;
9534 PyObject * obj2 = 0 ;
9535 PyObject * obj3 = 0 ;
9536 PyObject * obj4 = 0 ;
9537 PyObject * obj5 = 0 ;
9538 char * kwnames[] = {
9539 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9540 };
9541
9542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9544 if (!SWIG_IsOK(res1)) {
9545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9546 }
9547 arg1 = reinterpret_cast< wxWindow * >(argp1);
9548 if (obj1) {
9549 ecode2 = SWIG_AsVal_int(obj1, &val2);
9550 if (!SWIG_IsOK(ecode2)) {
9551 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9552 }
9553 arg2 = static_cast< int >(val2);
9554 }
9555 if (obj2) {
9556 {
9557 arg3 = &temp3;
9558 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9559 }
9560 }
9561 if (obj3) {
9562 {
9563 arg4 = &temp4;
9564 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9565 }
9566 }
9567 if (obj4) {
9568 ecode5 = SWIG_AsVal_long(obj4, &val5);
9569 if (!SWIG_IsOK(ecode5)) {
9570 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9571 }
9572 arg5 = static_cast< long >(val5);
9573 }
9574 if (obj5) {
9575 {
9576 arg6 = wxString_in_helper(obj5);
9577 if (arg6 == NULL) SWIG_fail;
9578 temp6 = true;
9579 }
9580 }
9581 {
9582 if (!wxPyCheckForApp()) SWIG_fail;
9583 PyThreadState* __tstate = wxPyBeginAllowThreads();
9584 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9585 wxPyEndAllowThreads(__tstate);
9586 if (PyErr_Occurred()) SWIG_fail;
9587 }
9588 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9589 {
9590 if (temp6)
9591 delete arg6;
9592 }
9593 return resultobj;
9594 fail:
9595 {
9596 if (temp6)
9597 delete arg6;
9598 }
9599 return NULL;
9600 }
9601
9602
9603 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9604 PyObject *resultobj = 0;
9605 wxSplitterWindow *result = 0 ;
9606
9607 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9608 {
9609 if (!wxPyCheckForApp()) SWIG_fail;
9610 PyThreadState* __tstate = wxPyBeginAllowThreads();
9611 result = (wxSplitterWindow *)new wxSplitterWindow();
9612 wxPyEndAllowThreads(__tstate);
9613 if (PyErr_Occurred()) SWIG_fail;
9614 }
9615 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9616 return resultobj;
9617 fail:
9618 return NULL;
9619 }
9620
9621
9622 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9623 PyObject *resultobj = 0;
9624 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9625 wxWindow *arg2 = (wxWindow *) 0 ;
9626 int arg3 = (int) -1 ;
9627 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9628 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9629 wxSize const &arg5_defvalue = wxDefaultSize ;
9630 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9631 long arg6 = (long) wxSP_3D ;
9632 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9633 wxString *arg7 = (wxString *) &arg7_defvalue ;
9634 bool result;
9635 void *argp1 = 0 ;
9636 int res1 = 0 ;
9637 void *argp2 = 0 ;
9638 int res2 = 0 ;
9639 int val3 ;
9640 int ecode3 = 0 ;
9641 wxPoint temp4 ;
9642 wxSize temp5 ;
9643 long val6 ;
9644 int ecode6 = 0 ;
9645 bool temp7 = false ;
9646 PyObject * obj0 = 0 ;
9647 PyObject * obj1 = 0 ;
9648 PyObject * obj2 = 0 ;
9649 PyObject * obj3 = 0 ;
9650 PyObject * obj4 = 0 ;
9651 PyObject * obj5 = 0 ;
9652 PyObject * obj6 = 0 ;
9653 char * kwnames[] = {
9654 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9655 };
9656
9657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9659 if (!SWIG_IsOK(res1)) {
9660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9661 }
9662 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9663 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9664 if (!SWIG_IsOK(res2)) {
9665 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9666 }
9667 arg2 = reinterpret_cast< wxWindow * >(argp2);
9668 if (obj2) {
9669 ecode3 = SWIG_AsVal_int(obj2, &val3);
9670 if (!SWIG_IsOK(ecode3)) {
9671 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9672 }
9673 arg3 = static_cast< int >(val3);
9674 }
9675 if (obj3) {
9676 {
9677 arg4 = &temp4;
9678 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9679 }
9680 }
9681 if (obj4) {
9682 {
9683 arg5 = &temp5;
9684 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9685 }
9686 }
9687 if (obj5) {
9688 ecode6 = SWIG_AsVal_long(obj5, &val6);
9689 if (!SWIG_IsOK(ecode6)) {
9690 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9691 }
9692 arg6 = static_cast< long >(val6);
9693 }
9694 if (obj6) {
9695 {
9696 arg7 = wxString_in_helper(obj6);
9697 if (arg7 == NULL) SWIG_fail;
9698 temp7 = true;
9699 }
9700 }
9701 {
9702 PyThreadState* __tstate = wxPyBeginAllowThreads();
9703 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9704 wxPyEndAllowThreads(__tstate);
9705 if (PyErr_Occurred()) SWIG_fail;
9706 }
9707 {
9708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9709 }
9710 {
9711 if (temp7)
9712 delete arg7;
9713 }
9714 return resultobj;
9715 fail:
9716 {
9717 if (temp7)
9718 delete arg7;
9719 }
9720 return NULL;
9721 }
9722
9723
9724 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9725 PyObject *resultobj = 0;
9726 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9727 wxWindow *result = 0 ;
9728 void *argp1 = 0 ;
9729 int res1 = 0 ;
9730 PyObject *swig_obj[1] ;
9731
9732 if (!args) SWIG_fail;
9733 swig_obj[0] = args;
9734 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9735 if (!SWIG_IsOK(res1)) {
9736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9737 }
9738 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9739 {
9740 PyThreadState* __tstate = wxPyBeginAllowThreads();
9741 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9742 wxPyEndAllowThreads(__tstate);
9743 if (PyErr_Occurred()) SWIG_fail;
9744 }
9745 {
9746 resultobj = wxPyMake_wxObject(result, 0);
9747 }
9748 return resultobj;
9749 fail:
9750 return NULL;
9751 }
9752
9753
9754 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9755 PyObject *resultobj = 0;
9756 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9757 wxWindow *result = 0 ;
9758 void *argp1 = 0 ;
9759 int res1 = 0 ;
9760 PyObject *swig_obj[1] ;
9761
9762 if (!args) SWIG_fail;
9763 swig_obj[0] = args;
9764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9765 if (!SWIG_IsOK(res1)) {
9766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9767 }
9768 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9769 {
9770 PyThreadState* __tstate = wxPyBeginAllowThreads();
9771 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9772 wxPyEndAllowThreads(__tstate);
9773 if (PyErr_Occurred()) SWIG_fail;
9774 }
9775 {
9776 resultobj = wxPyMake_wxObject(result, 0);
9777 }
9778 return resultobj;
9779 fail:
9780 return NULL;
9781 }
9782
9783
9784 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9785 PyObject *resultobj = 0;
9786 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9787 int arg2 ;
9788 void *argp1 = 0 ;
9789 int res1 = 0 ;
9790 int val2 ;
9791 int ecode2 = 0 ;
9792 PyObject * obj0 = 0 ;
9793 PyObject * obj1 = 0 ;
9794 char * kwnames[] = {
9795 (char *) "self",(char *) "mode", NULL
9796 };
9797
9798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9800 if (!SWIG_IsOK(res1)) {
9801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9802 }
9803 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9804 ecode2 = SWIG_AsVal_int(obj1, &val2);
9805 if (!SWIG_IsOK(ecode2)) {
9806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9807 }
9808 arg2 = static_cast< int >(val2);
9809 {
9810 PyThreadState* __tstate = wxPyBeginAllowThreads();
9811 (arg1)->SetSplitMode(arg2);
9812 wxPyEndAllowThreads(__tstate);
9813 if (PyErr_Occurred()) SWIG_fail;
9814 }
9815 resultobj = SWIG_Py_Void();
9816 return resultobj;
9817 fail:
9818 return NULL;
9819 }
9820
9821
9822 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9823 PyObject *resultobj = 0;
9824 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9825 wxSplitMode result;
9826 void *argp1 = 0 ;
9827 int res1 = 0 ;
9828 PyObject *swig_obj[1] ;
9829
9830 if (!args) SWIG_fail;
9831 swig_obj[0] = args;
9832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9833 if (!SWIG_IsOK(res1)) {
9834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9835 }
9836 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9837 {
9838 PyThreadState* __tstate = wxPyBeginAllowThreads();
9839 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9840 wxPyEndAllowThreads(__tstate);
9841 if (PyErr_Occurred()) SWIG_fail;
9842 }
9843 resultobj = SWIG_From_int(static_cast< int >(result));
9844 return resultobj;
9845 fail:
9846 return NULL;
9847 }
9848
9849
9850 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9851 PyObject *resultobj = 0;
9852 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9853 wxWindow *arg2 = (wxWindow *) 0 ;
9854 void *argp1 = 0 ;
9855 int res1 = 0 ;
9856 void *argp2 = 0 ;
9857 int res2 = 0 ;
9858 PyObject * obj0 = 0 ;
9859 PyObject * obj1 = 0 ;
9860 char * kwnames[] = {
9861 (char *) "self",(char *) "window", NULL
9862 };
9863
9864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9866 if (!SWIG_IsOK(res1)) {
9867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9868 }
9869 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9870 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9871 if (!SWIG_IsOK(res2)) {
9872 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9873 }
9874 arg2 = reinterpret_cast< wxWindow * >(argp2);
9875 {
9876 PyThreadState* __tstate = wxPyBeginAllowThreads();
9877 (arg1)->Initialize(arg2);
9878 wxPyEndAllowThreads(__tstate);
9879 if (PyErr_Occurred()) SWIG_fail;
9880 }
9881 resultobj = SWIG_Py_Void();
9882 return resultobj;
9883 fail:
9884 return NULL;
9885 }
9886
9887
9888 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9889 PyObject *resultobj = 0;
9890 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9891 wxWindow *arg2 = (wxWindow *) 0 ;
9892 wxWindow *arg3 = (wxWindow *) 0 ;
9893 int arg4 = (int) 0 ;
9894 bool result;
9895 void *argp1 = 0 ;
9896 int res1 = 0 ;
9897 void *argp2 = 0 ;
9898 int res2 = 0 ;
9899 void *argp3 = 0 ;
9900 int res3 = 0 ;
9901 int val4 ;
9902 int ecode4 = 0 ;
9903 PyObject * obj0 = 0 ;
9904 PyObject * obj1 = 0 ;
9905 PyObject * obj2 = 0 ;
9906 PyObject * obj3 = 0 ;
9907 char * kwnames[] = {
9908 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9909 };
9910
9911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9913 if (!SWIG_IsOK(res1)) {
9914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9915 }
9916 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9917 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9918 if (!SWIG_IsOK(res2)) {
9919 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9920 }
9921 arg2 = reinterpret_cast< wxWindow * >(argp2);
9922 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9923 if (!SWIG_IsOK(res3)) {
9924 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9925 }
9926 arg3 = reinterpret_cast< wxWindow * >(argp3);
9927 if (obj3) {
9928 ecode4 = SWIG_AsVal_int(obj3, &val4);
9929 if (!SWIG_IsOK(ecode4)) {
9930 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9931 }
9932 arg4 = static_cast< int >(val4);
9933 }
9934 {
9935 PyThreadState* __tstate = wxPyBeginAllowThreads();
9936 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9937 wxPyEndAllowThreads(__tstate);
9938 if (PyErr_Occurred()) SWIG_fail;
9939 }
9940 {
9941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9942 }
9943 return resultobj;
9944 fail:
9945 return NULL;
9946 }
9947
9948
9949 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9950 PyObject *resultobj = 0;
9951 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9952 wxWindow *arg2 = (wxWindow *) 0 ;
9953 wxWindow *arg3 = (wxWindow *) 0 ;
9954 int arg4 = (int) 0 ;
9955 bool result;
9956 void *argp1 = 0 ;
9957 int res1 = 0 ;
9958 void *argp2 = 0 ;
9959 int res2 = 0 ;
9960 void *argp3 = 0 ;
9961 int res3 = 0 ;
9962 int val4 ;
9963 int ecode4 = 0 ;
9964 PyObject * obj0 = 0 ;
9965 PyObject * obj1 = 0 ;
9966 PyObject * obj2 = 0 ;
9967 PyObject * obj3 = 0 ;
9968 char * kwnames[] = {
9969 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9970 };
9971
9972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9974 if (!SWIG_IsOK(res1)) {
9975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9976 }
9977 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9978 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9979 if (!SWIG_IsOK(res2)) {
9980 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9981 }
9982 arg2 = reinterpret_cast< wxWindow * >(argp2);
9983 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9984 if (!SWIG_IsOK(res3)) {
9985 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9986 }
9987 arg3 = reinterpret_cast< wxWindow * >(argp3);
9988 if (obj3) {
9989 ecode4 = SWIG_AsVal_int(obj3, &val4);
9990 if (!SWIG_IsOK(ecode4)) {
9991 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9992 }
9993 arg4 = static_cast< int >(val4);
9994 }
9995 {
9996 PyThreadState* __tstate = wxPyBeginAllowThreads();
9997 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9998 wxPyEndAllowThreads(__tstate);
9999 if (PyErr_Occurred()) SWIG_fail;
10000 }
10001 {
10002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10003 }
10004 return resultobj;
10005 fail:
10006 return NULL;
10007 }
10008
10009
10010 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10011 PyObject *resultobj = 0;
10012 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10013 wxWindow *arg2 = (wxWindow *) NULL ;
10014 bool result;
10015 void *argp1 = 0 ;
10016 int res1 = 0 ;
10017 void *argp2 = 0 ;
10018 int res2 = 0 ;
10019 PyObject * obj0 = 0 ;
10020 PyObject * obj1 = 0 ;
10021 char * kwnames[] = {
10022 (char *) "self",(char *) "toRemove", NULL
10023 };
10024
10025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
10026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10027 if (!SWIG_IsOK(res1)) {
10028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10029 }
10030 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10031 if (obj1) {
10032 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10033 if (!SWIG_IsOK(res2)) {
10034 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
10035 }
10036 arg2 = reinterpret_cast< wxWindow * >(argp2);
10037 }
10038 {
10039 PyThreadState* __tstate = wxPyBeginAllowThreads();
10040 result = (bool)(arg1)->Unsplit(arg2);
10041 wxPyEndAllowThreads(__tstate);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 }
10044 {
10045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10046 }
10047 return resultobj;
10048 fail:
10049 return NULL;
10050 }
10051
10052
10053 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10054 PyObject *resultobj = 0;
10055 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10056 wxWindow *arg2 = (wxWindow *) 0 ;
10057 wxWindow *arg3 = (wxWindow *) 0 ;
10058 bool result;
10059 void *argp1 = 0 ;
10060 int res1 = 0 ;
10061 void *argp2 = 0 ;
10062 int res2 = 0 ;
10063 void *argp3 = 0 ;
10064 int res3 = 0 ;
10065 PyObject * obj0 = 0 ;
10066 PyObject * obj1 = 0 ;
10067 PyObject * obj2 = 0 ;
10068 char * kwnames[] = {
10069 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
10070 };
10071
10072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10074 if (!SWIG_IsOK(res1)) {
10075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10076 }
10077 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10078 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10079 if (!SWIG_IsOK(res2)) {
10080 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10081 }
10082 arg2 = reinterpret_cast< wxWindow * >(argp2);
10083 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10084 if (!SWIG_IsOK(res3)) {
10085 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10086 }
10087 arg3 = reinterpret_cast< wxWindow * >(argp3);
10088 {
10089 PyThreadState* __tstate = wxPyBeginAllowThreads();
10090 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10091 wxPyEndAllowThreads(__tstate);
10092 if (PyErr_Occurred()) SWIG_fail;
10093 }
10094 {
10095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10096 }
10097 return resultobj;
10098 fail:
10099 return NULL;
10100 }
10101
10102
10103 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10104 PyObject *resultobj = 0;
10105 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10106 void *argp1 = 0 ;
10107 int res1 = 0 ;
10108 PyObject *swig_obj[1] ;
10109
10110 if (!args) SWIG_fail;
10111 swig_obj[0] = args;
10112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10113 if (!SWIG_IsOK(res1)) {
10114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10115 }
10116 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10117 {
10118 PyThreadState* __tstate = wxPyBeginAllowThreads();
10119 (arg1)->UpdateSize();
10120 wxPyEndAllowThreads(__tstate);
10121 if (PyErr_Occurred()) SWIG_fail;
10122 }
10123 resultobj = SWIG_Py_Void();
10124 return resultobj;
10125 fail:
10126 return NULL;
10127 }
10128
10129
10130 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10131 PyObject *resultobj = 0;
10132 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10133 bool result;
10134 void *argp1 = 0 ;
10135 int res1 = 0 ;
10136 PyObject *swig_obj[1] ;
10137
10138 if (!args) SWIG_fail;
10139 swig_obj[0] = args;
10140 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10141 if (!SWIG_IsOK(res1)) {
10142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10143 }
10144 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10145 {
10146 PyThreadState* __tstate = wxPyBeginAllowThreads();
10147 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10148 wxPyEndAllowThreads(__tstate);
10149 if (PyErr_Occurred()) SWIG_fail;
10150 }
10151 {
10152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10153 }
10154 return resultobj;
10155 fail:
10156 return NULL;
10157 }
10158
10159
10160 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10161 PyObject *resultobj = 0;
10162 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10163 int arg2 ;
10164 void *argp1 = 0 ;
10165 int res1 = 0 ;
10166 int val2 ;
10167 int ecode2 = 0 ;
10168 PyObject * obj0 = 0 ;
10169 PyObject * obj1 = 0 ;
10170 char * kwnames[] = {
10171 (char *) "self",(char *) "width", NULL
10172 };
10173
10174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10176 if (!SWIG_IsOK(res1)) {
10177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10178 }
10179 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10180 ecode2 = SWIG_AsVal_int(obj1, &val2);
10181 if (!SWIG_IsOK(ecode2)) {
10182 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10183 }
10184 arg2 = static_cast< int >(val2);
10185 {
10186 PyThreadState* __tstate = wxPyBeginAllowThreads();
10187 (arg1)->SetSashSize(arg2);
10188 wxPyEndAllowThreads(__tstate);
10189 if (PyErr_Occurred()) SWIG_fail;
10190 }
10191 resultobj = SWIG_Py_Void();
10192 return resultobj;
10193 fail:
10194 return NULL;
10195 }
10196
10197
10198 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10199 PyObject *resultobj = 0;
10200 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10201 int arg2 ;
10202 void *argp1 = 0 ;
10203 int res1 = 0 ;
10204 int val2 ;
10205 int ecode2 = 0 ;
10206 PyObject * obj0 = 0 ;
10207 PyObject * obj1 = 0 ;
10208 char * kwnames[] = {
10209 (char *) "self",(char *) "width", NULL
10210 };
10211
10212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10214 if (!SWIG_IsOK(res1)) {
10215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10216 }
10217 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10218 ecode2 = SWIG_AsVal_int(obj1, &val2);
10219 if (!SWIG_IsOK(ecode2)) {
10220 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10221 }
10222 arg2 = static_cast< int >(val2);
10223 {
10224 PyThreadState* __tstate = wxPyBeginAllowThreads();
10225 (arg1)->SetBorderSize(arg2);
10226 wxPyEndAllowThreads(__tstate);
10227 if (PyErr_Occurred()) SWIG_fail;
10228 }
10229 resultobj = SWIG_Py_Void();
10230 return resultobj;
10231 fail:
10232 return NULL;
10233 }
10234
10235
10236 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10237 PyObject *resultobj = 0;
10238 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10239 int result;
10240 void *argp1 = 0 ;
10241 int res1 = 0 ;
10242 PyObject *swig_obj[1] ;
10243
10244 if (!args) SWIG_fail;
10245 swig_obj[0] = args;
10246 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10247 if (!SWIG_IsOK(res1)) {
10248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10249 }
10250 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10251 {
10252 PyThreadState* __tstate = wxPyBeginAllowThreads();
10253 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10254 wxPyEndAllowThreads(__tstate);
10255 if (PyErr_Occurred()) SWIG_fail;
10256 }
10257 resultobj = SWIG_From_int(static_cast< int >(result));
10258 return resultobj;
10259 fail:
10260 return NULL;
10261 }
10262
10263
10264 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10265 PyObject *resultobj = 0;
10266 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10267 int result;
10268 void *argp1 = 0 ;
10269 int res1 = 0 ;
10270 PyObject *swig_obj[1] ;
10271
10272 if (!args) SWIG_fail;
10273 swig_obj[0] = args;
10274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10275 if (!SWIG_IsOK(res1)) {
10276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10277 }
10278 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10279 {
10280 PyThreadState* __tstate = wxPyBeginAllowThreads();
10281 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10282 wxPyEndAllowThreads(__tstate);
10283 if (PyErr_Occurred()) SWIG_fail;
10284 }
10285 resultobj = SWIG_From_int(static_cast< int >(result));
10286 return resultobj;
10287 fail:
10288 return NULL;
10289 }
10290
10291
10292 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10293 PyObject *resultobj = 0;
10294 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10295 int arg2 ;
10296 bool arg3 = (bool) true ;
10297 void *argp1 = 0 ;
10298 int res1 = 0 ;
10299 int val2 ;
10300 int ecode2 = 0 ;
10301 bool val3 ;
10302 int ecode3 = 0 ;
10303 PyObject * obj0 = 0 ;
10304 PyObject * obj1 = 0 ;
10305 PyObject * obj2 = 0 ;
10306 char * kwnames[] = {
10307 (char *) "self",(char *) "position",(char *) "redraw", NULL
10308 };
10309
10310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10312 if (!SWIG_IsOK(res1)) {
10313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10314 }
10315 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10316 ecode2 = SWIG_AsVal_int(obj1, &val2);
10317 if (!SWIG_IsOK(ecode2)) {
10318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10319 }
10320 arg2 = static_cast< int >(val2);
10321 if (obj2) {
10322 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10323 if (!SWIG_IsOK(ecode3)) {
10324 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10325 }
10326 arg3 = static_cast< bool >(val3);
10327 }
10328 {
10329 PyThreadState* __tstate = wxPyBeginAllowThreads();
10330 (arg1)->SetSashPosition(arg2,arg3);
10331 wxPyEndAllowThreads(__tstate);
10332 if (PyErr_Occurred()) SWIG_fail;
10333 }
10334 resultobj = SWIG_Py_Void();
10335 return resultobj;
10336 fail:
10337 return NULL;
10338 }
10339
10340
10341 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10342 PyObject *resultobj = 0;
10343 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10344 int result;
10345 void *argp1 = 0 ;
10346 int res1 = 0 ;
10347 PyObject *swig_obj[1] ;
10348
10349 if (!args) SWIG_fail;
10350 swig_obj[0] = args;
10351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10352 if (!SWIG_IsOK(res1)) {
10353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10354 }
10355 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10356 {
10357 PyThreadState* __tstate = wxPyBeginAllowThreads();
10358 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10359 wxPyEndAllowThreads(__tstate);
10360 if (PyErr_Occurred()) SWIG_fail;
10361 }
10362 resultobj = SWIG_From_int(static_cast< int >(result));
10363 return resultobj;
10364 fail:
10365 return NULL;
10366 }
10367
10368
10369 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10370 PyObject *resultobj = 0;
10371 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10372 double arg2 ;
10373 void *argp1 = 0 ;
10374 int res1 = 0 ;
10375 double val2 ;
10376 int ecode2 = 0 ;
10377 PyObject * obj0 = 0 ;
10378 PyObject * obj1 = 0 ;
10379 char * kwnames[] = {
10380 (char *) "self",(char *) "gravity", NULL
10381 };
10382
10383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10385 if (!SWIG_IsOK(res1)) {
10386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10387 }
10388 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10389 ecode2 = SWIG_AsVal_double(obj1, &val2);
10390 if (!SWIG_IsOK(ecode2)) {
10391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10392 }
10393 arg2 = static_cast< double >(val2);
10394 {
10395 PyThreadState* __tstate = wxPyBeginAllowThreads();
10396 (arg1)->SetSashGravity(arg2);
10397 wxPyEndAllowThreads(__tstate);
10398 if (PyErr_Occurred()) SWIG_fail;
10399 }
10400 resultobj = SWIG_Py_Void();
10401 return resultobj;
10402 fail:
10403 return NULL;
10404 }
10405
10406
10407 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10408 PyObject *resultobj = 0;
10409 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10410 double result;
10411 void *argp1 = 0 ;
10412 int res1 = 0 ;
10413 PyObject *swig_obj[1] ;
10414
10415 if (!args) SWIG_fail;
10416 swig_obj[0] = args;
10417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10418 if (!SWIG_IsOK(res1)) {
10419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10420 }
10421 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10422 {
10423 PyThreadState* __tstate = wxPyBeginAllowThreads();
10424 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10425 wxPyEndAllowThreads(__tstate);
10426 if (PyErr_Occurred()) SWIG_fail;
10427 }
10428 resultobj = SWIG_From_double(static_cast< double >(result));
10429 return resultobj;
10430 fail:
10431 return NULL;
10432 }
10433
10434
10435 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10436 PyObject *resultobj = 0;
10437 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10438 int arg2 ;
10439 void *argp1 = 0 ;
10440 int res1 = 0 ;
10441 int val2 ;
10442 int ecode2 = 0 ;
10443 PyObject * obj0 = 0 ;
10444 PyObject * obj1 = 0 ;
10445 char * kwnames[] = {
10446 (char *) "self",(char *) "min", NULL
10447 };
10448
10449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10451 if (!SWIG_IsOK(res1)) {
10452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10453 }
10454 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10455 ecode2 = SWIG_AsVal_int(obj1, &val2);
10456 if (!SWIG_IsOK(ecode2)) {
10457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10458 }
10459 arg2 = static_cast< int >(val2);
10460 {
10461 PyThreadState* __tstate = wxPyBeginAllowThreads();
10462 (arg1)->SetMinimumPaneSize(arg2);
10463 wxPyEndAllowThreads(__tstate);
10464 if (PyErr_Occurred()) SWIG_fail;
10465 }
10466 resultobj = SWIG_Py_Void();
10467 return resultobj;
10468 fail:
10469 return NULL;
10470 }
10471
10472
10473 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10474 PyObject *resultobj = 0;
10475 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10476 int result;
10477 void *argp1 = 0 ;
10478 int res1 = 0 ;
10479 PyObject *swig_obj[1] ;
10480
10481 if (!args) SWIG_fail;
10482 swig_obj[0] = args;
10483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10484 if (!SWIG_IsOK(res1)) {
10485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10486 }
10487 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10488 {
10489 PyThreadState* __tstate = wxPyBeginAllowThreads();
10490 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10491 wxPyEndAllowThreads(__tstate);
10492 if (PyErr_Occurred()) SWIG_fail;
10493 }
10494 resultobj = SWIG_From_int(static_cast< int >(result));
10495 return resultobj;
10496 fail:
10497 return NULL;
10498 }
10499
10500
10501 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10502 PyObject *resultobj = 0;
10503 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10504 int arg2 ;
10505 int arg3 ;
10506 int arg4 = (int) 5 ;
10507 bool result;
10508 void *argp1 = 0 ;
10509 int res1 = 0 ;
10510 int val2 ;
10511 int ecode2 = 0 ;
10512 int val3 ;
10513 int ecode3 = 0 ;
10514 int val4 ;
10515 int ecode4 = 0 ;
10516 PyObject * obj0 = 0 ;
10517 PyObject * obj1 = 0 ;
10518 PyObject * obj2 = 0 ;
10519 PyObject * obj3 = 0 ;
10520 char * kwnames[] = {
10521 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10522 };
10523
10524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10526 if (!SWIG_IsOK(res1)) {
10527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10528 }
10529 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10530 ecode2 = SWIG_AsVal_int(obj1, &val2);
10531 if (!SWIG_IsOK(ecode2)) {
10532 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10533 }
10534 arg2 = static_cast< int >(val2);
10535 ecode3 = SWIG_AsVal_int(obj2, &val3);
10536 if (!SWIG_IsOK(ecode3)) {
10537 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10538 }
10539 arg3 = static_cast< int >(val3);
10540 if (obj3) {
10541 ecode4 = SWIG_AsVal_int(obj3, &val4);
10542 if (!SWIG_IsOK(ecode4)) {
10543 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10544 }
10545 arg4 = static_cast< int >(val4);
10546 }
10547 {
10548 PyThreadState* __tstate = wxPyBeginAllowThreads();
10549 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10550 wxPyEndAllowThreads(__tstate);
10551 if (PyErr_Occurred()) SWIG_fail;
10552 }
10553 {
10554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10555 }
10556 return resultobj;
10557 fail:
10558 return NULL;
10559 }
10560
10561
10562 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10563 PyObject *resultobj = 0;
10564 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10565 void *argp1 = 0 ;
10566 int res1 = 0 ;
10567 PyObject *swig_obj[1] ;
10568
10569 if (!args) SWIG_fail;
10570 swig_obj[0] = args;
10571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10572 if (!SWIG_IsOK(res1)) {
10573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10574 }
10575 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10576 {
10577 PyThreadState* __tstate = wxPyBeginAllowThreads();
10578 (arg1)->SizeWindows();
10579 wxPyEndAllowThreads(__tstate);
10580 if (PyErr_Occurred()) SWIG_fail;
10581 }
10582 resultobj = SWIG_Py_Void();
10583 return resultobj;
10584 fail:
10585 return NULL;
10586 }
10587
10588
10589 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10590 PyObject *resultobj = 0;
10591 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10592 bool arg2 ;
10593 void *argp1 = 0 ;
10594 int res1 = 0 ;
10595 bool val2 ;
10596 int ecode2 = 0 ;
10597 PyObject * obj0 = 0 ;
10598 PyObject * obj1 = 0 ;
10599 char * kwnames[] = {
10600 (char *) "self",(char *) "needUpdating", NULL
10601 };
10602
10603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10605 if (!SWIG_IsOK(res1)) {
10606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10607 }
10608 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10609 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10610 if (!SWIG_IsOK(ecode2)) {
10611 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10612 }
10613 arg2 = static_cast< bool >(val2);
10614 {
10615 PyThreadState* __tstate = wxPyBeginAllowThreads();
10616 (arg1)->SetNeedUpdating(arg2);
10617 wxPyEndAllowThreads(__tstate);
10618 if (PyErr_Occurred()) SWIG_fail;
10619 }
10620 resultobj = SWIG_Py_Void();
10621 return resultobj;
10622 fail:
10623 return NULL;
10624 }
10625
10626
10627 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10628 PyObject *resultobj = 0;
10629 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10630 bool result;
10631 void *argp1 = 0 ;
10632 int res1 = 0 ;
10633 PyObject *swig_obj[1] ;
10634
10635 if (!args) SWIG_fail;
10636 swig_obj[0] = args;
10637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10638 if (!SWIG_IsOK(res1)) {
10639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10640 }
10641 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10642 {
10643 PyThreadState* __tstate = wxPyBeginAllowThreads();
10644 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10645 wxPyEndAllowThreads(__tstate);
10646 if (PyErr_Occurred()) SWIG_fail;
10647 }
10648 {
10649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10650 }
10651 return resultobj;
10652 fail:
10653 return NULL;
10654 }
10655
10656
10657 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10658 PyObject *resultobj = 0;
10659 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10660 SwigValueWrapper<wxVisualAttributes > result;
10661 int val1 ;
10662 int ecode1 = 0 ;
10663 PyObject * obj0 = 0 ;
10664 char * kwnames[] = {
10665 (char *) "variant", NULL
10666 };
10667
10668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10669 if (obj0) {
10670 ecode1 = SWIG_AsVal_int(obj0, &val1);
10671 if (!SWIG_IsOK(ecode1)) {
10672 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10673 }
10674 arg1 = static_cast< wxWindowVariant >(val1);
10675 }
10676 {
10677 if (!wxPyCheckForApp()) SWIG_fail;
10678 PyThreadState* __tstate = wxPyBeginAllowThreads();
10679 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10680 wxPyEndAllowThreads(__tstate);
10681 if (PyErr_Occurred()) SWIG_fail;
10682 }
10683 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10684 return resultobj;
10685 fail:
10686 return NULL;
10687 }
10688
10689
10690 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10691 PyObject *obj;
10692 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10693 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10694 return SWIG_Py_Void();
10695 }
10696
10697 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10698 return SWIG_Python_InitShadowInstance(args);
10699 }
10700
10701 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10702 PyObject *resultobj = 0;
10703 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10704 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10705 wxSplitterEvent *result = 0 ;
10706 int val1 ;
10707 int ecode1 = 0 ;
10708 void *argp2 = 0 ;
10709 int res2 = 0 ;
10710 PyObject * obj0 = 0 ;
10711 PyObject * obj1 = 0 ;
10712 char * kwnames[] = {
10713 (char *) "type",(char *) "splitter", NULL
10714 };
10715
10716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10717 if (obj0) {
10718 ecode1 = SWIG_AsVal_int(obj0, &val1);
10719 if (!SWIG_IsOK(ecode1)) {
10720 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10721 }
10722 arg1 = static_cast< wxEventType >(val1);
10723 }
10724 if (obj1) {
10725 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10726 if (!SWIG_IsOK(res2)) {
10727 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10728 }
10729 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10730 }
10731 {
10732 PyThreadState* __tstate = wxPyBeginAllowThreads();
10733 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10734 wxPyEndAllowThreads(__tstate);
10735 if (PyErr_Occurred()) SWIG_fail;
10736 }
10737 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10738 return resultobj;
10739 fail:
10740 return NULL;
10741 }
10742
10743
10744 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10745 PyObject *resultobj = 0;
10746 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10747 int arg2 ;
10748 void *argp1 = 0 ;
10749 int res1 = 0 ;
10750 int val2 ;
10751 int ecode2 = 0 ;
10752 PyObject * obj0 = 0 ;
10753 PyObject * obj1 = 0 ;
10754 char * kwnames[] = {
10755 (char *) "self",(char *) "pos", NULL
10756 };
10757
10758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10760 if (!SWIG_IsOK(res1)) {
10761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10762 }
10763 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10764 ecode2 = SWIG_AsVal_int(obj1, &val2);
10765 if (!SWIG_IsOK(ecode2)) {
10766 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10767 }
10768 arg2 = static_cast< int >(val2);
10769 {
10770 PyThreadState* __tstate = wxPyBeginAllowThreads();
10771 (arg1)->SetSashPosition(arg2);
10772 wxPyEndAllowThreads(__tstate);
10773 if (PyErr_Occurred()) SWIG_fail;
10774 }
10775 resultobj = SWIG_Py_Void();
10776 return resultobj;
10777 fail:
10778 return NULL;
10779 }
10780
10781
10782 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10783 PyObject *resultobj = 0;
10784 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10785 int result;
10786 void *argp1 = 0 ;
10787 int res1 = 0 ;
10788 PyObject *swig_obj[1] ;
10789
10790 if (!args) SWIG_fail;
10791 swig_obj[0] = args;
10792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10793 if (!SWIG_IsOK(res1)) {
10794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10795 }
10796 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10797 {
10798 PyThreadState* __tstate = wxPyBeginAllowThreads();
10799 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10800 wxPyEndAllowThreads(__tstate);
10801 if (PyErr_Occurred()) SWIG_fail;
10802 }
10803 resultobj = SWIG_From_int(static_cast< int >(result));
10804 return resultobj;
10805 fail:
10806 return NULL;
10807 }
10808
10809
10810 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10811 PyObject *resultobj = 0;
10812 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10813 wxWindow *result = 0 ;
10814 void *argp1 = 0 ;
10815 int res1 = 0 ;
10816 PyObject *swig_obj[1] ;
10817
10818 if (!args) SWIG_fail;
10819 swig_obj[0] = args;
10820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10821 if (!SWIG_IsOK(res1)) {
10822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10823 }
10824 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10825 {
10826 PyThreadState* __tstate = wxPyBeginAllowThreads();
10827 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10828 wxPyEndAllowThreads(__tstate);
10829 if (PyErr_Occurred()) SWIG_fail;
10830 }
10831 {
10832 resultobj = wxPyMake_wxObject(result, 0);
10833 }
10834 return resultobj;
10835 fail:
10836 return NULL;
10837 }
10838
10839
10840 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10841 PyObject *resultobj = 0;
10842 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10843 int result;
10844 void *argp1 = 0 ;
10845 int res1 = 0 ;
10846 PyObject *swig_obj[1] ;
10847
10848 if (!args) SWIG_fail;
10849 swig_obj[0] = args;
10850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10851 if (!SWIG_IsOK(res1)) {
10852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10853 }
10854 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10855 {
10856 PyThreadState* __tstate = wxPyBeginAllowThreads();
10857 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10858 wxPyEndAllowThreads(__tstate);
10859 if (PyErr_Occurred()) SWIG_fail;
10860 }
10861 resultobj = SWIG_From_int(static_cast< int >(result));
10862 return resultobj;
10863 fail:
10864 return NULL;
10865 }
10866
10867
10868 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10869 PyObject *resultobj = 0;
10870 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10871 int result;
10872 void *argp1 = 0 ;
10873 int res1 = 0 ;
10874 PyObject *swig_obj[1] ;
10875
10876 if (!args) SWIG_fail;
10877 swig_obj[0] = args;
10878 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10879 if (!SWIG_IsOK(res1)) {
10880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10881 }
10882 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10883 {
10884 PyThreadState* __tstate = wxPyBeginAllowThreads();
10885 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10886 wxPyEndAllowThreads(__tstate);
10887 if (PyErr_Occurred()) SWIG_fail;
10888 }
10889 resultobj = SWIG_From_int(static_cast< int >(result));
10890 return resultobj;
10891 fail:
10892 return NULL;
10893 }
10894
10895
10896 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10897 PyObject *obj;
10898 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10899 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10900 return SWIG_Py_Void();
10901 }
10902
10903 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10904 return SWIG_Python_InitShadowInstance(args);
10905 }
10906
10907 SWIGINTERN int SashNameStr_set(PyObject *) {
10908 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10909 return 1;
10910 }
10911
10912
10913 SWIGINTERN PyObject *SashNameStr_get(void) {
10914 PyObject *pyobj = 0;
10915
10916 {
10917 #if wxUSE_UNICODE
10918 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10919 #else
10920 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10921 #endif
10922 }
10923 return pyobj;
10924 }
10925
10926
10927 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10928 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10929 return 1;
10930 }
10931
10932
10933 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10934 PyObject *pyobj = 0;
10935
10936 {
10937 #if wxUSE_UNICODE
10938 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10939 #else
10940 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10941 #endif
10942 }
10943 return pyobj;
10944 }
10945
10946
10947 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10948 PyObject *resultobj = 0;
10949 wxWindow *arg1 = (wxWindow *) 0 ;
10950 int arg2 = (int) -1 ;
10951 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10952 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10953 wxSize const &arg4_defvalue = wxDefaultSize ;
10954 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10955 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10956 wxString const &arg6_defvalue = wxPySashNameStr ;
10957 wxString *arg6 = (wxString *) &arg6_defvalue ;
10958 wxSashWindow *result = 0 ;
10959 void *argp1 = 0 ;
10960 int res1 = 0 ;
10961 int val2 ;
10962 int ecode2 = 0 ;
10963 wxPoint temp3 ;
10964 wxSize temp4 ;
10965 long val5 ;
10966 int ecode5 = 0 ;
10967 bool temp6 = false ;
10968 PyObject * obj0 = 0 ;
10969 PyObject * obj1 = 0 ;
10970 PyObject * obj2 = 0 ;
10971 PyObject * obj3 = 0 ;
10972 PyObject * obj4 = 0 ;
10973 PyObject * obj5 = 0 ;
10974 char * kwnames[] = {
10975 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10976 };
10977
10978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10980 if (!SWIG_IsOK(res1)) {
10981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10982 }
10983 arg1 = reinterpret_cast< wxWindow * >(argp1);
10984 if (obj1) {
10985 ecode2 = SWIG_AsVal_int(obj1, &val2);
10986 if (!SWIG_IsOK(ecode2)) {
10987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10988 }
10989 arg2 = static_cast< int >(val2);
10990 }
10991 if (obj2) {
10992 {
10993 arg3 = &temp3;
10994 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10995 }
10996 }
10997 if (obj3) {
10998 {
10999 arg4 = &temp4;
11000 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11001 }
11002 }
11003 if (obj4) {
11004 ecode5 = SWIG_AsVal_long(obj4, &val5);
11005 if (!SWIG_IsOK(ecode5)) {
11006 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
11007 }
11008 arg5 = static_cast< long >(val5);
11009 }
11010 if (obj5) {
11011 {
11012 arg6 = wxString_in_helper(obj5);
11013 if (arg6 == NULL) SWIG_fail;
11014 temp6 = true;
11015 }
11016 }
11017 {
11018 if (!wxPyCheckForApp()) SWIG_fail;
11019 PyThreadState* __tstate = wxPyBeginAllowThreads();
11020 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11021 wxPyEndAllowThreads(__tstate);
11022 if (PyErr_Occurred()) SWIG_fail;
11023 }
11024 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
11025 {
11026 if (temp6)
11027 delete arg6;
11028 }
11029 return resultobj;
11030 fail:
11031 {
11032 if (temp6)
11033 delete arg6;
11034 }
11035 return NULL;
11036 }
11037
11038
11039 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11040 PyObject *resultobj = 0;
11041 wxSashWindow *result = 0 ;
11042
11043 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
11044 {
11045 if (!wxPyCheckForApp()) SWIG_fail;
11046 PyThreadState* __tstate = wxPyBeginAllowThreads();
11047 result = (wxSashWindow *)new wxSashWindow();
11048 wxPyEndAllowThreads(__tstate);
11049 if (PyErr_Occurred()) SWIG_fail;
11050 }
11051 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
11052 return resultobj;
11053 fail:
11054 return NULL;
11055 }
11056
11057
11058 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11059 PyObject *resultobj = 0;
11060 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11061 wxWindow *arg2 = (wxWindow *) 0 ;
11062 int arg3 = (int) -1 ;
11063 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11064 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11065 wxSize const &arg5_defvalue = wxDefaultSize ;
11066 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11067 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
11068 wxString const &arg7_defvalue = wxPySashNameStr ;
11069 wxString *arg7 = (wxString *) &arg7_defvalue ;
11070 bool result;
11071 void *argp1 = 0 ;
11072 int res1 = 0 ;
11073 void *argp2 = 0 ;
11074 int res2 = 0 ;
11075 int val3 ;
11076 int ecode3 = 0 ;
11077 wxPoint temp4 ;
11078 wxSize temp5 ;
11079 long val6 ;
11080 int ecode6 = 0 ;
11081 bool temp7 = false ;
11082 PyObject * obj0 = 0 ;
11083 PyObject * obj1 = 0 ;
11084 PyObject * obj2 = 0 ;
11085 PyObject * obj3 = 0 ;
11086 PyObject * obj4 = 0 ;
11087 PyObject * obj5 = 0 ;
11088 PyObject * obj6 = 0 ;
11089 char * kwnames[] = {
11090 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11091 };
11092
11093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11095 if (!SWIG_IsOK(res1)) {
11096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11097 }
11098 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11099 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11100 if (!SWIG_IsOK(res2)) {
11101 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11102 }
11103 arg2 = reinterpret_cast< wxWindow * >(argp2);
11104 if (obj2) {
11105 ecode3 = SWIG_AsVal_int(obj2, &val3);
11106 if (!SWIG_IsOK(ecode3)) {
11107 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11108 }
11109 arg3 = static_cast< int >(val3);
11110 }
11111 if (obj3) {
11112 {
11113 arg4 = &temp4;
11114 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11115 }
11116 }
11117 if (obj4) {
11118 {
11119 arg5 = &temp5;
11120 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11121 }
11122 }
11123 if (obj5) {
11124 ecode6 = SWIG_AsVal_long(obj5, &val6);
11125 if (!SWIG_IsOK(ecode6)) {
11126 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11127 }
11128 arg6 = static_cast< long >(val6);
11129 }
11130 if (obj6) {
11131 {
11132 arg7 = wxString_in_helper(obj6);
11133 if (arg7 == NULL) SWIG_fail;
11134 temp7 = true;
11135 }
11136 }
11137 {
11138 PyThreadState* __tstate = wxPyBeginAllowThreads();
11139 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11140 wxPyEndAllowThreads(__tstate);
11141 if (PyErr_Occurred()) SWIG_fail;
11142 }
11143 {
11144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11145 }
11146 {
11147 if (temp7)
11148 delete arg7;
11149 }
11150 return resultobj;
11151 fail:
11152 {
11153 if (temp7)
11154 delete arg7;
11155 }
11156 return NULL;
11157 }
11158
11159
11160 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11161 PyObject *resultobj = 0;
11162 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11163 wxSashEdgePosition arg2 ;
11164 bool arg3 ;
11165 void *argp1 = 0 ;
11166 int res1 = 0 ;
11167 int val2 ;
11168 int ecode2 = 0 ;
11169 bool val3 ;
11170 int ecode3 = 0 ;
11171 PyObject * obj0 = 0 ;
11172 PyObject * obj1 = 0 ;
11173 PyObject * obj2 = 0 ;
11174 char * kwnames[] = {
11175 (char *) "self",(char *) "edge",(char *) "sash", NULL
11176 };
11177
11178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11180 if (!SWIG_IsOK(res1)) {
11181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11182 }
11183 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11184 ecode2 = SWIG_AsVal_int(obj1, &val2);
11185 if (!SWIG_IsOK(ecode2)) {
11186 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11187 }
11188 arg2 = static_cast< wxSashEdgePosition >(val2);
11189 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11190 if (!SWIG_IsOK(ecode3)) {
11191 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11192 }
11193 arg3 = static_cast< bool >(val3);
11194 {
11195 PyThreadState* __tstate = wxPyBeginAllowThreads();
11196 (arg1)->SetSashVisible(arg2,arg3);
11197 wxPyEndAllowThreads(__tstate);
11198 if (PyErr_Occurred()) SWIG_fail;
11199 }
11200 resultobj = SWIG_Py_Void();
11201 return resultobj;
11202 fail:
11203 return NULL;
11204 }
11205
11206
11207 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11208 PyObject *resultobj = 0;
11209 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11210 wxSashEdgePosition arg2 ;
11211 bool result;
11212 void *argp1 = 0 ;
11213 int res1 = 0 ;
11214 int val2 ;
11215 int ecode2 = 0 ;
11216 PyObject * obj0 = 0 ;
11217 PyObject * obj1 = 0 ;
11218 char * kwnames[] = {
11219 (char *) "self",(char *) "edge", NULL
11220 };
11221
11222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) 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_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
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_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11231 }
11232 arg2 = static_cast< wxSashEdgePosition >(val2);
11233 {
11234 PyThreadState* __tstate = wxPyBeginAllowThreads();
11235 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11236 wxPyEndAllowThreads(__tstate);
11237 if (PyErr_Occurred()) SWIG_fail;
11238 }
11239 {
11240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11241 }
11242 return resultobj;
11243 fail:
11244 return NULL;
11245 }
11246
11247
11248 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11249 PyObject *resultobj = 0;
11250 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11251 wxSashEdgePosition arg2 ;
11252 int result;
11253 void *argp1 = 0 ;
11254 int res1 = 0 ;
11255 int val2 ;
11256 int ecode2 = 0 ;
11257 PyObject * obj0 = 0 ;
11258 PyObject * obj1 = 0 ;
11259 char * kwnames[] = {
11260 (char *) "self",(char *) "edge", NULL
11261 };
11262
11263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11265 if (!SWIG_IsOK(res1)) {
11266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11267 }
11268 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11269 ecode2 = SWIG_AsVal_int(obj1, &val2);
11270 if (!SWIG_IsOK(ecode2)) {
11271 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11272 }
11273 arg2 = static_cast< wxSashEdgePosition >(val2);
11274 {
11275 PyThreadState* __tstate = wxPyBeginAllowThreads();
11276 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11277 wxPyEndAllowThreads(__tstate);
11278 if (PyErr_Occurred()) SWIG_fail;
11279 }
11280 resultobj = SWIG_From_int(static_cast< int >(result));
11281 return resultobj;
11282 fail:
11283 return NULL;
11284 }
11285
11286
11287 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11288 PyObject *resultobj = 0;
11289 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11290 int arg2 ;
11291 void *argp1 = 0 ;
11292 int res1 = 0 ;
11293 int val2 ;
11294 int ecode2 = 0 ;
11295 PyObject * obj0 = 0 ;
11296 PyObject * obj1 = 0 ;
11297 char * kwnames[] = {
11298 (char *) "self",(char *) "width", NULL
11299 };
11300
11301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11303 if (!SWIG_IsOK(res1)) {
11304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11305 }
11306 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11307 ecode2 = SWIG_AsVal_int(obj1, &val2);
11308 if (!SWIG_IsOK(ecode2)) {
11309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11310 }
11311 arg2 = static_cast< int >(val2);
11312 {
11313 PyThreadState* __tstate = wxPyBeginAllowThreads();
11314 (arg1)->SetDefaultBorderSize(arg2);
11315 wxPyEndAllowThreads(__tstate);
11316 if (PyErr_Occurred()) SWIG_fail;
11317 }
11318 resultobj = SWIG_Py_Void();
11319 return resultobj;
11320 fail:
11321 return NULL;
11322 }
11323
11324
11325 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11326 PyObject *resultobj = 0;
11327 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11328 int result;
11329 void *argp1 = 0 ;
11330 int res1 = 0 ;
11331 PyObject *swig_obj[1] ;
11332
11333 if (!args) SWIG_fail;
11334 swig_obj[0] = args;
11335 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11336 if (!SWIG_IsOK(res1)) {
11337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11338 }
11339 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11340 {
11341 PyThreadState* __tstate = wxPyBeginAllowThreads();
11342 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11343 wxPyEndAllowThreads(__tstate);
11344 if (PyErr_Occurred()) SWIG_fail;
11345 }
11346 resultobj = SWIG_From_int(static_cast< int >(result));
11347 return resultobj;
11348 fail:
11349 return NULL;
11350 }
11351
11352
11353 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11354 PyObject *resultobj = 0;
11355 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11356 int arg2 ;
11357 void *argp1 = 0 ;
11358 int res1 = 0 ;
11359 int val2 ;
11360 int ecode2 = 0 ;
11361 PyObject * obj0 = 0 ;
11362 PyObject * obj1 = 0 ;
11363 char * kwnames[] = {
11364 (char *) "self",(char *) "width", NULL
11365 };
11366
11367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11369 if (!SWIG_IsOK(res1)) {
11370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11371 }
11372 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11373 ecode2 = SWIG_AsVal_int(obj1, &val2);
11374 if (!SWIG_IsOK(ecode2)) {
11375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11376 }
11377 arg2 = static_cast< int >(val2);
11378 {
11379 PyThreadState* __tstate = wxPyBeginAllowThreads();
11380 (arg1)->SetExtraBorderSize(arg2);
11381 wxPyEndAllowThreads(__tstate);
11382 if (PyErr_Occurred()) SWIG_fail;
11383 }
11384 resultobj = SWIG_Py_Void();
11385 return resultobj;
11386 fail:
11387 return NULL;
11388 }
11389
11390
11391 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11392 PyObject *resultobj = 0;
11393 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11394 int result;
11395 void *argp1 = 0 ;
11396 int res1 = 0 ;
11397 PyObject *swig_obj[1] ;
11398
11399 if (!args) SWIG_fail;
11400 swig_obj[0] = args;
11401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11402 if (!SWIG_IsOK(res1)) {
11403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11404 }
11405 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11406 {
11407 PyThreadState* __tstate = wxPyBeginAllowThreads();
11408 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11409 wxPyEndAllowThreads(__tstate);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 }
11412 resultobj = SWIG_From_int(static_cast< int >(result));
11413 return resultobj;
11414 fail:
11415 return NULL;
11416 }
11417
11418
11419 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11420 PyObject *resultobj = 0;
11421 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11422 int arg2 ;
11423 void *argp1 = 0 ;
11424 int res1 = 0 ;
11425 int val2 ;
11426 int ecode2 = 0 ;
11427 PyObject * obj0 = 0 ;
11428 PyObject * obj1 = 0 ;
11429 char * kwnames[] = {
11430 (char *) "self",(char *) "min", NULL
11431 };
11432
11433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11435 if (!SWIG_IsOK(res1)) {
11436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11437 }
11438 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11439 ecode2 = SWIG_AsVal_int(obj1, &val2);
11440 if (!SWIG_IsOK(ecode2)) {
11441 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11442 }
11443 arg2 = static_cast< int >(val2);
11444 {
11445 PyThreadState* __tstate = wxPyBeginAllowThreads();
11446 (arg1)->SetMinimumSizeX(arg2);
11447 wxPyEndAllowThreads(__tstate);
11448 if (PyErr_Occurred()) SWIG_fail;
11449 }
11450 resultobj = SWIG_Py_Void();
11451 return resultobj;
11452 fail:
11453 return NULL;
11454 }
11455
11456
11457 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11458 PyObject *resultobj = 0;
11459 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11460 int arg2 ;
11461 void *argp1 = 0 ;
11462 int res1 = 0 ;
11463 int val2 ;
11464 int ecode2 = 0 ;
11465 PyObject * obj0 = 0 ;
11466 PyObject * obj1 = 0 ;
11467 char * kwnames[] = {
11468 (char *) "self",(char *) "min", NULL
11469 };
11470
11471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11473 if (!SWIG_IsOK(res1)) {
11474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11475 }
11476 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11477 ecode2 = SWIG_AsVal_int(obj1, &val2);
11478 if (!SWIG_IsOK(ecode2)) {
11479 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11480 }
11481 arg2 = static_cast< int >(val2);
11482 {
11483 PyThreadState* __tstate = wxPyBeginAllowThreads();
11484 (arg1)->SetMinimumSizeY(arg2);
11485 wxPyEndAllowThreads(__tstate);
11486 if (PyErr_Occurred()) SWIG_fail;
11487 }
11488 resultobj = SWIG_Py_Void();
11489 return resultobj;
11490 fail:
11491 return NULL;
11492 }
11493
11494
11495 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11496 PyObject *resultobj = 0;
11497 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11498 int result;
11499 void *argp1 = 0 ;
11500 int res1 = 0 ;
11501 PyObject *swig_obj[1] ;
11502
11503 if (!args) SWIG_fail;
11504 swig_obj[0] = args;
11505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11506 if (!SWIG_IsOK(res1)) {
11507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11508 }
11509 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11510 {
11511 PyThreadState* __tstate = wxPyBeginAllowThreads();
11512 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11513 wxPyEndAllowThreads(__tstate);
11514 if (PyErr_Occurred()) SWIG_fail;
11515 }
11516 resultobj = SWIG_From_int(static_cast< int >(result));
11517 return resultobj;
11518 fail:
11519 return NULL;
11520 }
11521
11522
11523 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11524 PyObject *resultobj = 0;
11525 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11526 int result;
11527 void *argp1 = 0 ;
11528 int res1 = 0 ;
11529 PyObject *swig_obj[1] ;
11530
11531 if (!args) SWIG_fail;
11532 swig_obj[0] = args;
11533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11534 if (!SWIG_IsOK(res1)) {
11535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11536 }
11537 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11538 {
11539 PyThreadState* __tstate = wxPyBeginAllowThreads();
11540 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11541 wxPyEndAllowThreads(__tstate);
11542 if (PyErr_Occurred()) SWIG_fail;
11543 }
11544 resultobj = SWIG_From_int(static_cast< int >(result));
11545 return resultobj;
11546 fail:
11547 return NULL;
11548 }
11549
11550
11551 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11552 PyObject *resultobj = 0;
11553 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11554 int arg2 ;
11555 void *argp1 = 0 ;
11556 int res1 = 0 ;
11557 int val2 ;
11558 int ecode2 = 0 ;
11559 PyObject * obj0 = 0 ;
11560 PyObject * obj1 = 0 ;
11561 char * kwnames[] = {
11562 (char *) "self",(char *) "max", NULL
11563 };
11564
11565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11567 if (!SWIG_IsOK(res1)) {
11568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11569 }
11570 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11571 ecode2 = SWIG_AsVal_int(obj1, &val2);
11572 if (!SWIG_IsOK(ecode2)) {
11573 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11574 }
11575 arg2 = static_cast< int >(val2);
11576 {
11577 PyThreadState* __tstate = wxPyBeginAllowThreads();
11578 (arg1)->SetMaximumSizeX(arg2);
11579 wxPyEndAllowThreads(__tstate);
11580 if (PyErr_Occurred()) SWIG_fail;
11581 }
11582 resultobj = SWIG_Py_Void();
11583 return resultobj;
11584 fail:
11585 return NULL;
11586 }
11587
11588
11589 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11590 PyObject *resultobj = 0;
11591 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11592 int arg2 ;
11593 void *argp1 = 0 ;
11594 int res1 = 0 ;
11595 int val2 ;
11596 int ecode2 = 0 ;
11597 PyObject * obj0 = 0 ;
11598 PyObject * obj1 = 0 ;
11599 char * kwnames[] = {
11600 (char *) "self",(char *) "max", NULL
11601 };
11602
11603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11605 if (!SWIG_IsOK(res1)) {
11606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11607 }
11608 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11609 ecode2 = SWIG_AsVal_int(obj1, &val2);
11610 if (!SWIG_IsOK(ecode2)) {
11611 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11612 }
11613 arg2 = static_cast< int >(val2);
11614 {
11615 PyThreadState* __tstate = wxPyBeginAllowThreads();
11616 (arg1)->SetMaximumSizeY(arg2);
11617 wxPyEndAllowThreads(__tstate);
11618 if (PyErr_Occurred()) SWIG_fail;
11619 }
11620 resultobj = SWIG_Py_Void();
11621 return resultobj;
11622 fail:
11623 return NULL;
11624 }
11625
11626
11627 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11628 PyObject *resultobj = 0;
11629 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11630 int result;
11631 void *argp1 = 0 ;
11632 int res1 = 0 ;
11633 PyObject *swig_obj[1] ;
11634
11635 if (!args) SWIG_fail;
11636 swig_obj[0] = args;
11637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11638 if (!SWIG_IsOK(res1)) {
11639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11640 }
11641 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11642 {
11643 PyThreadState* __tstate = wxPyBeginAllowThreads();
11644 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11645 wxPyEndAllowThreads(__tstate);
11646 if (PyErr_Occurred()) SWIG_fail;
11647 }
11648 resultobj = SWIG_From_int(static_cast< int >(result));
11649 return resultobj;
11650 fail:
11651 return NULL;
11652 }
11653
11654
11655 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11656 PyObject *resultobj = 0;
11657 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11658 int result;
11659 void *argp1 = 0 ;
11660 int res1 = 0 ;
11661 PyObject *swig_obj[1] ;
11662
11663 if (!args) SWIG_fail;
11664 swig_obj[0] = args;
11665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11666 if (!SWIG_IsOK(res1)) {
11667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11668 }
11669 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11670 {
11671 PyThreadState* __tstate = wxPyBeginAllowThreads();
11672 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11673 wxPyEndAllowThreads(__tstate);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 }
11676 resultobj = SWIG_From_int(static_cast< int >(result));
11677 return resultobj;
11678 fail:
11679 return NULL;
11680 }
11681
11682
11683 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11684 PyObject *resultobj = 0;
11685 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11686 int arg2 ;
11687 int arg3 ;
11688 int arg4 = (int) 2 ;
11689 wxSashEdgePosition result;
11690 void *argp1 = 0 ;
11691 int res1 = 0 ;
11692 int val2 ;
11693 int ecode2 = 0 ;
11694 int val3 ;
11695 int ecode3 = 0 ;
11696 int val4 ;
11697 int ecode4 = 0 ;
11698 PyObject * obj0 = 0 ;
11699 PyObject * obj1 = 0 ;
11700 PyObject * obj2 = 0 ;
11701 PyObject * obj3 = 0 ;
11702 char * kwnames[] = {
11703 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11704 };
11705
11706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11708 if (!SWIG_IsOK(res1)) {
11709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11710 }
11711 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11712 ecode2 = SWIG_AsVal_int(obj1, &val2);
11713 if (!SWIG_IsOK(ecode2)) {
11714 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11715 }
11716 arg2 = static_cast< int >(val2);
11717 ecode3 = SWIG_AsVal_int(obj2, &val3);
11718 if (!SWIG_IsOK(ecode3)) {
11719 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11720 }
11721 arg3 = static_cast< int >(val3);
11722 if (obj3) {
11723 ecode4 = SWIG_AsVal_int(obj3, &val4);
11724 if (!SWIG_IsOK(ecode4)) {
11725 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11726 }
11727 arg4 = static_cast< int >(val4);
11728 }
11729 {
11730 PyThreadState* __tstate = wxPyBeginAllowThreads();
11731 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11732 wxPyEndAllowThreads(__tstate);
11733 if (PyErr_Occurred()) SWIG_fail;
11734 }
11735 resultobj = SWIG_From_int(static_cast< int >(result));
11736 return resultobj;
11737 fail:
11738 return NULL;
11739 }
11740
11741
11742 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11743 PyObject *resultobj = 0;
11744 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11745 void *argp1 = 0 ;
11746 int res1 = 0 ;
11747 PyObject *swig_obj[1] ;
11748
11749 if (!args) SWIG_fail;
11750 swig_obj[0] = args;
11751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11752 if (!SWIG_IsOK(res1)) {
11753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11754 }
11755 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11756 {
11757 PyThreadState* __tstate = wxPyBeginAllowThreads();
11758 (arg1)->SizeWindows();
11759 wxPyEndAllowThreads(__tstate);
11760 if (PyErr_Occurred()) SWIG_fail;
11761 }
11762 resultobj = SWIG_Py_Void();
11763 return resultobj;
11764 fail:
11765 return NULL;
11766 }
11767
11768
11769 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11770 PyObject *obj;
11771 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11772 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11773 return SWIG_Py_Void();
11774 }
11775
11776 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11777 return SWIG_Python_InitShadowInstance(args);
11778 }
11779
11780 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11781 PyObject *resultobj = 0;
11782 int arg1 = (int) 0 ;
11783 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11784 wxSashEvent *result = 0 ;
11785 int val1 ;
11786 int ecode1 = 0 ;
11787 int val2 ;
11788 int ecode2 = 0 ;
11789 PyObject * obj0 = 0 ;
11790 PyObject * obj1 = 0 ;
11791 char * kwnames[] = {
11792 (char *) "id",(char *) "edge", NULL
11793 };
11794
11795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11796 if (obj0) {
11797 ecode1 = SWIG_AsVal_int(obj0, &val1);
11798 if (!SWIG_IsOK(ecode1)) {
11799 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11800 }
11801 arg1 = static_cast< int >(val1);
11802 }
11803 if (obj1) {
11804 ecode2 = SWIG_AsVal_int(obj1, &val2);
11805 if (!SWIG_IsOK(ecode2)) {
11806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11807 }
11808 arg2 = static_cast< wxSashEdgePosition >(val2);
11809 }
11810 {
11811 PyThreadState* __tstate = wxPyBeginAllowThreads();
11812 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11813 wxPyEndAllowThreads(__tstate);
11814 if (PyErr_Occurred()) SWIG_fail;
11815 }
11816 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11817 return resultobj;
11818 fail:
11819 return NULL;
11820 }
11821
11822
11823 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11824 PyObject *resultobj = 0;
11825 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11826 wxSashEdgePosition arg2 ;
11827 void *argp1 = 0 ;
11828 int res1 = 0 ;
11829 int val2 ;
11830 int ecode2 = 0 ;
11831 PyObject * obj0 = 0 ;
11832 PyObject * obj1 = 0 ;
11833 char * kwnames[] = {
11834 (char *) "self",(char *) "edge", NULL
11835 };
11836
11837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11839 if (!SWIG_IsOK(res1)) {
11840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11841 }
11842 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11843 ecode2 = SWIG_AsVal_int(obj1, &val2);
11844 if (!SWIG_IsOK(ecode2)) {
11845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11846 }
11847 arg2 = static_cast< wxSashEdgePosition >(val2);
11848 {
11849 PyThreadState* __tstate = wxPyBeginAllowThreads();
11850 (arg1)->SetEdge(arg2);
11851 wxPyEndAllowThreads(__tstate);
11852 if (PyErr_Occurred()) SWIG_fail;
11853 }
11854 resultobj = SWIG_Py_Void();
11855 return resultobj;
11856 fail:
11857 return NULL;
11858 }
11859
11860
11861 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11862 PyObject *resultobj = 0;
11863 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11864 wxSashEdgePosition result;
11865 void *argp1 = 0 ;
11866 int res1 = 0 ;
11867 PyObject *swig_obj[1] ;
11868
11869 if (!args) SWIG_fail;
11870 swig_obj[0] = args;
11871 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11872 if (!SWIG_IsOK(res1)) {
11873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11874 }
11875 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11876 {
11877 PyThreadState* __tstate = wxPyBeginAllowThreads();
11878 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11879 wxPyEndAllowThreads(__tstate);
11880 if (PyErr_Occurred()) SWIG_fail;
11881 }
11882 resultobj = SWIG_From_int(static_cast< int >(result));
11883 return resultobj;
11884 fail:
11885 return NULL;
11886 }
11887
11888
11889 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11890 PyObject *resultobj = 0;
11891 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11892 wxRect *arg2 = 0 ;
11893 void *argp1 = 0 ;
11894 int res1 = 0 ;
11895 wxRect temp2 ;
11896 PyObject * obj0 = 0 ;
11897 PyObject * obj1 = 0 ;
11898 char * kwnames[] = {
11899 (char *) "self",(char *) "rect", NULL
11900 };
11901
11902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11904 if (!SWIG_IsOK(res1)) {
11905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11906 }
11907 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11908 {
11909 arg2 = &temp2;
11910 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11911 }
11912 {
11913 PyThreadState* __tstate = wxPyBeginAllowThreads();
11914 (arg1)->SetDragRect((wxRect const &)*arg2);
11915 wxPyEndAllowThreads(__tstate);
11916 if (PyErr_Occurred()) SWIG_fail;
11917 }
11918 resultobj = SWIG_Py_Void();
11919 return resultobj;
11920 fail:
11921 return NULL;
11922 }
11923
11924
11925 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11926 PyObject *resultobj = 0;
11927 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11928 wxRect result;
11929 void *argp1 = 0 ;
11930 int res1 = 0 ;
11931 PyObject *swig_obj[1] ;
11932
11933 if (!args) SWIG_fail;
11934 swig_obj[0] = args;
11935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11936 if (!SWIG_IsOK(res1)) {
11937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11938 }
11939 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11940 {
11941 PyThreadState* __tstate = wxPyBeginAllowThreads();
11942 result = ((wxSashEvent const *)arg1)->GetDragRect();
11943 wxPyEndAllowThreads(__tstate);
11944 if (PyErr_Occurred()) SWIG_fail;
11945 }
11946 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11947 return resultobj;
11948 fail:
11949 return NULL;
11950 }
11951
11952
11953 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11954 PyObject *resultobj = 0;
11955 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11956 wxSashDragStatus arg2 ;
11957 void *argp1 = 0 ;
11958 int res1 = 0 ;
11959 int val2 ;
11960 int ecode2 = 0 ;
11961 PyObject * obj0 = 0 ;
11962 PyObject * obj1 = 0 ;
11963 char * kwnames[] = {
11964 (char *) "self",(char *) "status", NULL
11965 };
11966
11967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11969 if (!SWIG_IsOK(res1)) {
11970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11971 }
11972 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11973 ecode2 = SWIG_AsVal_int(obj1, &val2);
11974 if (!SWIG_IsOK(ecode2)) {
11975 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11976 }
11977 arg2 = static_cast< wxSashDragStatus >(val2);
11978 {
11979 PyThreadState* __tstate = wxPyBeginAllowThreads();
11980 (arg1)->SetDragStatus(arg2);
11981 wxPyEndAllowThreads(__tstate);
11982 if (PyErr_Occurred()) SWIG_fail;
11983 }
11984 resultobj = SWIG_Py_Void();
11985 return resultobj;
11986 fail:
11987 return NULL;
11988 }
11989
11990
11991 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11992 PyObject *resultobj = 0;
11993 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11994 wxSashDragStatus result;
11995 void *argp1 = 0 ;
11996 int res1 = 0 ;
11997 PyObject *swig_obj[1] ;
11998
11999 if (!args) SWIG_fail;
12000 swig_obj[0] = args;
12001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12002 if (!SWIG_IsOK(res1)) {
12003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12004 }
12005 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12006 {
12007 PyThreadState* __tstate = wxPyBeginAllowThreads();
12008 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12009 wxPyEndAllowThreads(__tstate);
12010 if (PyErr_Occurred()) SWIG_fail;
12011 }
12012 resultobj = SWIG_From_int(static_cast< int >(result));
12013 return resultobj;
12014 fail:
12015 return NULL;
12016 }
12017
12018
12019 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12020 PyObject *obj;
12021 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12022 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12023 return SWIG_Py_Void();
12024 }
12025
12026 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12027 return SWIG_Python_InitShadowInstance(args);
12028 }
12029
12030 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12031 PyObject *resultobj = 0;
12032 int arg1 = (int) 0 ;
12033 wxQueryLayoutInfoEvent *result = 0 ;
12034 int val1 ;
12035 int ecode1 = 0 ;
12036 PyObject * obj0 = 0 ;
12037 char * kwnames[] = {
12038 (char *) "id", NULL
12039 };
12040
12041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12042 if (obj0) {
12043 ecode1 = SWIG_AsVal_int(obj0, &val1);
12044 if (!SWIG_IsOK(ecode1)) {
12045 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12046 }
12047 arg1 = static_cast< int >(val1);
12048 }
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12052 wxPyEndAllowThreads(__tstate);
12053 if (PyErr_Occurred()) SWIG_fail;
12054 }
12055 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12056 return resultobj;
12057 fail:
12058 return NULL;
12059 }
12060
12061
12062 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12063 PyObject *resultobj = 0;
12064 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12065 int arg2 ;
12066 void *argp1 = 0 ;
12067 int res1 = 0 ;
12068 int val2 ;
12069 int ecode2 = 0 ;
12070 PyObject * obj0 = 0 ;
12071 PyObject * obj1 = 0 ;
12072 char * kwnames[] = {
12073 (char *) "self",(char *) "length", NULL
12074 };
12075
12076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12078 if (!SWIG_IsOK(res1)) {
12079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12080 }
12081 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12082 ecode2 = SWIG_AsVal_int(obj1, &val2);
12083 if (!SWIG_IsOK(ecode2)) {
12084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12085 }
12086 arg2 = static_cast< int >(val2);
12087 {
12088 PyThreadState* __tstate = wxPyBeginAllowThreads();
12089 (arg1)->SetRequestedLength(arg2);
12090 wxPyEndAllowThreads(__tstate);
12091 if (PyErr_Occurred()) SWIG_fail;
12092 }
12093 resultobj = SWIG_Py_Void();
12094 return resultobj;
12095 fail:
12096 return NULL;
12097 }
12098
12099
12100 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12101 PyObject *resultobj = 0;
12102 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12103 int result;
12104 void *argp1 = 0 ;
12105 int res1 = 0 ;
12106 PyObject *swig_obj[1] ;
12107
12108 if (!args) SWIG_fail;
12109 swig_obj[0] = args;
12110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12111 if (!SWIG_IsOK(res1)) {
12112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12113 }
12114 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12115 {
12116 PyThreadState* __tstate = wxPyBeginAllowThreads();
12117 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12118 wxPyEndAllowThreads(__tstate);
12119 if (PyErr_Occurred()) SWIG_fail;
12120 }
12121 resultobj = SWIG_From_int(static_cast< int >(result));
12122 return resultobj;
12123 fail:
12124 return NULL;
12125 }
12126
12127
12128 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12129 PyObject *resultobj = 0;
12130 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12131 int arg2 ;
12132 void *argp1 = 0 ;
12133 int res1 = 0 ;
12134 int val2 ;
12135 int ecode2 = 0 ;
12136 PyObject * obj0 = 0 ;
12137 PyObject * obj1 = 0 ;
12138 char * kwnames[] = {
12139 (char *) "self",(char *) "flags", NULL
12140 };
12141
12142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12144 if (!SWIG_IsOK(res1)) {
12145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12146 }
12147 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12148 ecode2 = SWIG_AsVal_int(obj1, &val2);
12149 if (!SWIG_IsOK(ecode2)) {
12150 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12151 }
12152 arg2 = static_cast< int >(val2);
12153 {
12154 PyThreadState* __tstate = wxPyBeginAllowThreads();
12155 (arg1)->SetFlags(arg2);
12156 wxPyEndAllowThreads(__tstate);
12157 if (PyErr_Occurred()) SWIG_fail;
12158 }
12159 resultobj = SWIG_Py_Void();
12160 return resultobj;
12161 fail:
12162 return NULL;
12163 }
12164
12165
12166 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12167 PyObject *resultobj = 0;
12168 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12169 int result;
12170 void *argp1 = 0 ;
12171 int res1 = 0 ;
12172 PyObject *swig_obj[1] ;
12173
12174 if (!args) SWIG_fail;
12175 swig_obj[0] = args;
12176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12177 if (!SWIG_IsOK(res1)) {
12178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12179 }
12180 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12181 {
12182 PyThreadState* __tstate = wxPyBeginAllowThreads();
12183 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12184 wxPyEndAllowThreads(__tstate);
12185 if (PyErr_Occurred()) SWIG_fail;
12186 }
12187 resultobj = SWIG_From_int(static_cast< int >(result));
12188 return resultobj;
12189 fail:
12190 return NULL;
12191 }
12192
12193
12194 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12195 PyObject *resultobj = 0;
12196 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12197 wxSize *arg2 = 0 ;
12198 void *argp1 = 0 ;
12199 int res1 = 0 ;
12200 wxSize temp2 ;
12201 PyObject * obj0 = 0 ;
12202 PyObject * obj1 = 0 ;
12203 char * kwnames[] = {
12204 (char *) "self",(char *) "size", NULL
12205 };
12206
12207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12209 if (!SWIG_IsOK(res1)) {
12210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12211 }
12212 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12213 {
12214 arg2 = &temp2;
12215 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12216 }
12217 {
12218 PyThreadState* __tstate = wxPyBeginAllowThreads();
12219 (arg1)->SetSize((wxSize const &)*arg2);
12220 wxPyEndAllowThreads(__tstate);
12221 if (PyErr_Occurred()) SWIG_fail;
12222 }
12223 resultobj = SWIG_Py_Void();
12224 return resultobj;
12225 fail:
12226 return NULL;
12227 }
12228
12229
12230 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12231 PyObject *resultobj = 0;
12232 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12233 wxSize result;
12234 void *argp1 = 0 ;
12235 int res1 = 0 ;
12236 PyObject *swig_obj[1] ;
12237
12238 if (!args) SWIG_fail;
12239 swig_obj[0] = args;
12240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12241 if (!SWIG_IsOK(res1)) {
12242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12243 }
12244 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12245 {
12246 PyThreadState* __tstate = wxPyBeginAllowThreads();
12247 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12248 wxPyEndAllowThreads(__tstate);
12249 if (PyErr_Occurred()) SWIG_fail;
12250 }
12251 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12252 return resultobj;
12253 fail:
12254 return NULL;
12255 }
12256
12257
12258 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12259 PyObject *resultobj = 0;
12260 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12261 wxLayoutOrientation arg2 ;
12262 void *argp1 = 0 ;
12263 int res1 = 0 ;
12264 int val2 ;
12265 int ecode2 = 0 ;
12266 PyObject * obj0 = 0 ;
12267 PyObject * obj1 = 0 ;
12268 char * kwnames[] = {
12269 (char *) "self",(char *) "orient", NULL
12270 };
12271
12272 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12274 if (!SWIG_IsOK(res1)) {
12275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12276 }
12277 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12278 ecode2 = SWIG_AsVal_int(obj1, &val2);
12279 if (!SWIG_IsOK(ecode2)) {
12280 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12281 }
12282 arg2 = static_cast< wxLayoutOrientation >(val2);
12283 {
12284 PyThreadState* __tstate = wxPyBeginAllowThreads();
12285 (arg1)->SetOrientation(arg2);
12286 wxPyEndAllowThreads(__tstate);
12287 if (PyErr_Occurred()) SWIG_fail;
12288 }
12289 resultobj = SWIG_Py_Void();
12290 return resultobj;
12291 fail:
12292 return NULL;
12293 }
12294
12295
12296 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12297 PyObject *resultobj = 0;
12298 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12299 wxLayoutOrientation result;
12300 void *argp1 = 0 ;
12301 int res1 = 0 ;
12302 PyObject *swig_obj[1] ;
12303
12304 if (!args) SWIG_fail;
12305 swig_obj[0] = args;
12306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12307 if (!SWIG_IsOK(res1)) {
12308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12309 }
12310 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12311 {
12312 PyThreadState* __tstate = wxPyBeginAllowThreads();
12313 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12314 wxPyEndAllowThreads(__tstate);
12315 if (PyErr_Occurred()) SWIG_fail;
12316 }
12317 resultobj = SWIG_From_int(static_cast< int >(result));
12318 return resultobj;
12319 fail:
12320 return NULL;
12321 }
12322
12323
12324 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12325 PyObject *resultobj = 0;
12326 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12327 wxLayoutAlignment arg2 ;
12328 void *argp1 = 0 ;
12329 int res1 = 0 ;
12330 int val2 ;
12331 int ecode2 = 0 ;
12332 PyObject * obj0 = 0 ;
12333 PyObject * obj1 = 0 ;
12334 char * kwnames[] = {
12335 (char *) "self",(char *) "align", NULL
12336 };
12337
12338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12340 if (!SWIG_IsOK(res1)) {
12341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12342 }
12343 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12344 ecode2 = SWIG_AsVal_int(obj1, &val2);
12345 if (!SWIG_IsOK(ecode2)) {
12346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12347 }
12348 arg2 = static_cast< wxLayoutAlignment >(val2);
12349 {
12350 PyThreadState* __tstate = wxPyBeginAllowThreads();
12351 (arg1)->SetAlignment(arg2);
12352 wxPyEndAllowThreads(__tstate);
12353 if (PyErr_Occurred()) SWIG_fail;
12354 }
12355 resultobj = SWIG_Py_Void();
12356 return resultobj;
12357 fail:
12358 return NULL;
12359 }
12360
12361
12362 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12363 PyObject *resultobj = 0;
12364 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12365 wxLayoutAlignment result;
12366 void *argp1 = 0 ;
12367 int res1 = 0 ;
12368 PyObject *swig_obj[1] ;
12369
12370 if (!args) SWIG_fail;
12371 swig_obj[0] = args;
12372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12373 if (!SWIG_IsOK(res1)) {
12374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12375 }
12376 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12377 {
12378 PyThreadState* __tstate = wxPyBeginAllowThreads();
12379 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12380 wxPyEndAllowThreads(__tstate);
12381 if (PyErr_Occurred()) SWIG_fail;
12382 }
12383 resultobj = SWIG_From_int(static_cast< int >(result));
12384 return resultobj;
12385 fail:
12386 return NULL;
12387 }
12388
12389
12390 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12391 PyObject *obj;
12392 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12393 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12394 return SWIG_Py_Void();
12395 }
12396
12397 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12398 return SWIG_Python_InitShadowInstance(args);
12399 }
12400
12401 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12402 PyObject *resultobj = 0;
12403 int arg1 = (int) 0 ;
12404 wxCalculateLayoutEvent *result = 0 ;
12405 int val1 ;
12406 int ecode1 = 0 ;
12407 PyObject * obj0 = 0 ;
12408 char * kwnames[] = {
12409 (char *) "id", NULL
12410 };
12411
12412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12413 if (obj0) {
12414 ecode1 = SWIG_AsVal_int(obj0, &val1);
12415 if (!SWIG_IsOK(ecode1)) {
12416 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12417 }
12418 arg1 = static_cast< int >(val1);
12419 }
12420 {
12421 PyThreadState* __tstate = wxPyBeginAllowThreads();
12422 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12423 wxPyEndAllowThreads(__tstate);
12424 if (PyErr_Occurred()) SWIG_fail;
12425 }
12426 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12427 return resultobj;
12428 fail:
12429 return NULL;
12430 }
12431
12432
12433 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12434 PyObject *resultobj = 0;
12435 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12436 int arg2 ;
12437 void *argp1 = 0 ;
12438 int res1 = 0 ;
12439 int val2 ;
12440 int ecode2 = 0 ;
12441 PyObject * obj0 = 0 ;
12442 PyObject * obj1 = 0 ;
12443 char * kwnames[] = {
12444 (char *) "self",(char *) "flags", NULL
12445 };
12446
12447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12449 if (!SWIG_IsOK(res1)) {
12450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12451 }
12452 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12453 ecode2 = SWIG_AsVal_int(obj1, &val2);
12454 if (!SWIG_IsOK(ecode2)) {
12455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12456 }
12457 arg2 = static_cast< int >(val2);
12458 {
12459 PyThreadState* __tstate = wxPyBeginAllowThreads();
12460 (arg1)->SetFlags(arg2);
12461 wxPyEndAllowThreads(__tstate);
12462 if (PyErr_Occurred()) SWIG_fail;
12463 }
12464 resultobj = SWIG_Py_Void();
12465 return resultobj;
12466 fail:
12467 return NULL;
12468 }
12469
12470
12471 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12472 PyObject *resultobj = 0;
12473 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12474 int result;
12475 void *argp1 = 0 ;
12476 int res1 = 0 ;
12477 PyObject *swig_obj[1] ;
12478
12479 if (!args) SWIG_fail;
12480 swig_obj[0] = args;
12481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12482 if (!SWIG_IsOK(res1)) {
12483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12484 }
12485 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12486 {
12487 PyThreadState* __tstate = wxPyBeginAllowThreads();
12488 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12489 wxPyEndAllowThreads(__tstate);
12490 if (PyErr_Occurred()) SWIG_fail;
12491 }
12492 resultobj = SWIG_From_int(static_cast< int >(result));
12493 return resultobj;
12494 fail:
12495 return NULL;
12496 }
12497
12498
12499 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12500 PyObject *resultobj = 0;
12501 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12502 wxRect *arg2 = 0 ;
12503 void *argp1 = 0 ;
12504 int res1 = 0 ;
12505 wxRect temp2 ;
12506 PyObject * obj0 = 0 ;
12507 PyObject * obj1 = 0 ;
12508 char * kwnames[] = {
12509 (char *) "self",(char *) "rect", NULL
12510 };
12511
12512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12514 if (!SWIG_IsOK(res1)) {
12515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12516 }
12517 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12518 {
12519 arg2 = &temp2;
12520 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12521 }
12522 {
12523 PyThreadState* __tstate = wxPyBeginAllowThreads();
12524 (arg1)->SetRect((wxRect const &)*arg2);
12525 wxPyEndAllowThreads(__tstate);
12526 if (PyErr_Occurred()) SWIG_fail;
12527 }
12528 resultobj = SWIG_Py_Void();
12529 return resultobj;
12530 fail:
12531 return NULL;
12532 }
12533
12534
12535 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12536 PyObject *resultobj = 0;
12537 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12538 wxRect result;
12539 void *argp1 = 0 ;
12540 int res1 = 0 ;
12541 PyObject *swig_obj[1] ;
12542
12543 if (!args) SWIG_fail;
12544 swig_obj[0] = args;
12545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12546 if (!SWIG_IsOK(res1)) {
12547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12548 }
12549 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12550 {
12551 PyThreadState* __tstate = wxPyBeginAllowThreads();
12552 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12553 wxPyEndAllowThreads(__tstate);
12554 if (PyErr_Occurred()) SWIG_fail;
12555 }
12556 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12557 return resultobj;
12558 fail:
12559 return NULL;
12560 }
12561
12562
12563 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12564 PyObject *obj;
12565 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12566 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12567 return SWIG_Py_Void();
12568 }
12569
12570 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12571 return SWIG_Python_InitShadowInstance(args);
12572 }
12573
12574 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12575 PyObject *resultobj = 0;
12576 wxWindow *arg1 = (wxWindow *) 0 ;
12577 int arg2 = (int) -1 ;
12578 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12579 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12580 wxSize const &arg4_defvalue = wxDefaultSize ;
12581 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12582 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12583 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12584 wxString *arg6 = (wxString *) &arg6_defvalue ;
12585 wxSashLayoutWindow *result = 0 ;
12586 void *argp1 = 0 ;
12587 int res1 = 0 ;
12588 int val2 ;
12589 int ecode2 = 0 ;
12590 wxPoint temp3 ;
12591 wxSize temp4 ;
12592 long val5 ;
12593 int ecode5 = 0 ;
12594 bool temp6 = false ;
12595 PyObject * obj0 = 0 ;
12596 PyObject * obj1 = 0 ;
12597 PyObject * obj2 = 0 ;
12598 PyObject * obj3 = 0 ;
12599 PyObject * obj4 = 0 ;
12600 PyObject * obj5 = 0 ;
12601 char * kwnames[] = {
12602 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12603 };
12604
12605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12607 if (!SWIG_IsOK(res1)) {
12608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12609 }
12610 arg1 = reinterpret_cast< wxWindow * >(argp1);
12611 if (obj1) {
12612 ecode2 = SWIG_AsVal_int(obj1, &val2);
12613 if (!SWIG_IsOK(ecode2)) {
12614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12615 }
12616 arg2 = static_cast< int >(val2);
12617 }
12618 if (obj2) {
12619 {
12620 arg3 = &temp3;
12621 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12622 }
12623 }
12624 if (obj3) {
12625 {
12626 arg4 = &temp4;
12627 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12628 }
12629 }
12630 if (obj4) {
12631 ecode5 = SWIG_AsVal_long(obj4, &val5);
12632 if (!SWIG_IsOK(ecode5)) {
12633 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12634 }
12635 arg5 = static_cast< long >(val5);
12636 }
12637 if (obj5) {
12638 {
12639 arg6 = wxString_in_helper(obj5);
12640 if (arg6 == NULL) SWIG_fail;
12641 temp6 = true;
12642 }
12643 }
12644 {
12645 if (!wxPyCheckForApp()) SWIG_fail;
12646 PyThreadState* __tstate = wxPyBeginAllowThreads();
12647 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12648 wxPyEndAllowThreads(__tstate);
12649 if (PyErr_Occurred()) SWIG_fail;
12650 }
12651 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12652 {
12653 if (temp6)
12654 delete arg6;
12655 }
12656 return resultobj;
12657 fail:
12658 {
12659 if (temp6)
12660 delete arg6;
12661 }
12662 return NULL;
12663 }
12664
12665
12666 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12667 PyObject *resultobj = 0;
12668 wxSashLayoutWindow *result = 0 ;
12669
12670 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12671 {
12672 if (!wxPyCheckForApp()) SWIG_fail;
12673 PyThreadState* __tstate = wxPyBeginAllowThreads();
12674 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12675 wxPyEndAllowThreads(__tstate);
12676 if (PyErr_Occurred()) SWIG_fail;
12677 }
12678 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12679 return resultobj;
12680 fail:
12681 return NULL;
12682 }
12683
12684
12685 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12686 PyObject *resultobj = 0;
12687 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12688 wxWindow *arg2 = (wxWindow *) 0 ;
12689 int arg3 = (int) -1 ;
12690 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12691 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12692 wxSize const &arg5_defvalue = wxDefaultSize ;
12693 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12694 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12695 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12696 wxString *arg7 = (wxString *) &arg7_defvalue ;
12697 bool result;
12698 void *argp1 = 0 ;
12699 int res1 = 0 ;
12700 void *argp2 = 0 ;
12701 int res2 = 0 ;
12702 int val3 ;
12703 int ecode3 = 0 ;
12704 wxPoint temp4 ;
12705 wxSize temp5 ;
12706 long val6 ;
12707 int ecode6 = 0 ;
12708 bool temp7 = false ;
12709 PyObject * obj0 = 0 ;
12710 PyObject * obj1 = 0 ;
12711 PyObject * obj2 = 0 ;
12712 PyObject * obj3 = 0 ;
12713 PyObject * obj4 = 0 ;
12714 PyObject * obj5 = 0 ;
12715 PyObject * obj6 = 0 ;
12716 char * kwnames[] = {
12717 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12718 };
12719
12720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12722 if (!SWIG_IsOK(res1)) {
12723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12724 }
12725 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12726 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12727 if (!SWIG_IsOK(res2)) {
12728 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12729 }
12730 arg2 = reinterpret_cast< wxWindow * >(argp2);
12731 if (obj2) {
12732 ecode3 = SWIG_AsVal_int(obj2, &val3);
12733 if (!SWIG_IsOK(ecode3)) {
12734 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12735 }
12736 arg3 = static_cast< int >(val3);
12737 }
12738 if (obj3) {
12739 {
12740 arg4 = &temp4;
12741 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12742 }
12743 }
12744 if (obj4) {
12745 {
12746 arg5 = &temp5;
12747 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12748 }
12749 }
12750 if (obj5) {
12751 ecode6 = SWIG_AsVal_long(obj5, &val6);
12752 if (!SWIG_IsOK(ecode6)) {
12753 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12754 }
12755 arg6 = static_cast< long >(val6);
12756 }
12757 if (obj6) {
12758 {
12759 arg7 = wxString_in_helper(obj6);
12760 if (arg7 == NULL) SWIG_fail;
12761 temp7 = true;
12762 }
12763 }
12764 {
12765 PyThreadState* __tstate = wxPyBeginAllowThreads();
12766 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12767 wxPyEndAllowThreads(__tstate);
12768 if (PyErr_Occurred()) SWIG_fail;
12769 }
12770 {
12771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12772 }
12773 {
12774 if (temp7)
12775 delete arg7;
12776 }
12777 return resultobj;
12778 fail:
12779 {
12780 if (temp7)
12781 delete arg7;
12782 }
12783 return NULL;
12784 }
12785
12786
12787 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12788 PyObject *resultobj = 0;
12789 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12790 wxLayoutAlignment result;
12791 void *argp1 = 0 ;
12792 int res1 = 0 ;
12793 PyObject *swig_obj[1] ;
12794
12795 if (!args) SWIG_fail;
12796 swig_obj[0] = args;
12797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12798 if (!SWIG_IsOK(res1)) {
12799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12800 }
12801 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12802 {
12803 PyThreadState* __tstate = wxPyBeginAllowThreads();
12804 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12805 wxPyEndAllowThreads(__tstate);
12806 if (PyErr_Occurred()) SWIG_fail;
12807 }
12808 resultobj = SWIG_From_int(static_cast< int >(result));
12809 return resultobj;
12810 fail:
12811 return NULL;
12812 }
12813
12814
12815 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12816 PyObject *resultobj = 0;
12817 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12818 wxLayoutOrientation result;
12819 void *argp1 = 0 ;
12820 int res1 = 0 ;
12821 PyObject *swig_obj[1] ;
12822
12823 if (!args) SWIG_fail;
12824 swig_obj[0] = args;
12825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12826 if (!SWIG_IsOK(res1)) {
12827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12828 }
12829 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12830 {
12831 PyThreadState* __tstate = wxPyBeginAllowThreads();
12832 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12833 wxPyEndAllowThreads(__tstate);
12834 if (PyErr_Occurred()) SWIG_fail;
12835 }
12836 resultobj = SWIG_From_int(static_cast< int >(result));
12837 return resultobj;
12838 fail:
12839 return NULL;
12840 }
12841
12842
12843 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12844 PyObject *resultobj = 0;
12845 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12846 wxLayoutAlignment arg2 ;
12847 void *argp1 = 0 ;
12848 int res1 = 0 ;
12849 int val2 ;
12850 int ecode2 = 0 ;
12851 PyObject * obj0 = 0 ;
12852 PyObject * obj1 = 0 ;
12853 char * kwnames[] = {
12854 (char *) "self",(char *) "alignment", NULL
12855 };
12856
12857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12859 if (!SWIG_IsOK(res1)) {
12860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12861 }
12862 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12863 ecode2 = SWIG_AsVal_int(obj1, &val2);
12864 if (!SWIG_IsOK(ecode2)) {
12865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12866 }
12867 arg2 = static_cast< wxLayoutAlignment >(val2);
12868 {
12869 PyThreadState* __tstate = wxPyBeginAllowThreads();
12870 (arg1)->SetAlignment(arg2);
12871 wxPyEndAllowThreads(__tstate);
12872 if (PyErr_Occurred()) SWIG_fail;
12873 }
12874 resultobj = SWIG_Py_Void();
12875 return resultobj;
12876 fail:
12877 return NULL;
12878 }
12879
12880
12881 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12882 PyObject *resultobj = 0;
12883 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12884 wxSize *arg2 = 0 ;
12885 void *argp1 = 0 ;
12886 int res1 = 0 ;
12887 wxSize temp2 ;
12888 PyObject * obj0 = 0 ;
12889 PyObject * obj1 = 0 ;
12890 char * kwnames[] = {
12891 (char *) "self",(char *) "size", NULL
12892 };
12893
12894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12896 if (!SWIG_IsOK(res1)) {
12897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12898 }
12899 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12900 {
12901 arg2 = &temp2;
12902 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12903 }
12904 {
12905 PyThreadState* __tstate = wxPyBeginAllowThreads();
12906 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12907 wxPyEndAllowThreads(__tstate);
12908 if (PyErr_Occurred()) SWIG_fail;
12909 }
12910 resultobj = SWIG_Py_Void();
12911 return resultobj;
12912 fail:
12913 return NULL;
12914 }
12915
12916
12917 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12918 PyObject *resultobj = 0;
12919 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12920 wxLayoutOrientation arg2 ;
12921 void *argp1 = 0 ;
12922 int res1 = 0 ;
12923 int val2 ;
12924 int ecode2 = 0 ;
12925 PyObject * obj0 = 0 ;
12926 PyObject * obj1 = 0 ;
12927 char * kwnames[] = {
12928 (char *) "self",(char *) "orientation", NULL
12929 };
12930
12931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12933 if (!SWIG_IsOK(res1)) {
12934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12935 }
12936 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12937 ecode2 = SWIG_AsVal_int(obj1, &val2);
12938 if (!SWIG_IsOK(ecode2)) {
12939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12940 }
12941 arg2 = static_cast< wxLayoutOrientation >(val2);
12942 {
12943 PyThreadState* __tstate = wxPyBeginAllowThreads();
12944 (arg1)->SetOrientation(arg2);
12945 wxPyEndAllowThreads(__tstate);
12946 if (PyErr_Occurred()) SWIG_fail;
12947 }
12948 resultobj = SWIG_Py_Void();
12949 return resultobj;
12950 fail:
12951 return NULL;
12952 }
12953
12954
12955 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12956 PyObject *obj;
12957 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12958 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12959 return SWIG_Py_Void();
12960 }
12961
12962 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12963 return SWIG_Python_InitShadowInstance(args);
12964 }
12965
12966 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12967 PyObject *resultobj = 0;
12968 wxLayoutAlgorithm *result = 0 ;
12969
12970 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12971 {
12972 PyThreadState* __tstate = wxPyBeginAllowThreads();
12973 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12974 wxPyEndAllowThreads(__tstate);
12975 if (PyErr_Occurred()) SWIG_fail;
12976 }
12977 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12978 return resultobj;
12979 fail:
12980 return NULL;
12981 }
12982
12983
12984 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12985 PyObject *resultobj = 0;
12986 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12987 void *argp1 = 0 ;
12988 int res1 = 0 ;
12989 PyObject *swig_obj[1] ;
12990
12991 if (!args) SWIG_fail;
12992 swig_obj[0] = args;
12993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12994 if (!SWIG_IsOK(res1)) {
12995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12996 }
12997 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12998 {
12999 PyThreadState* __tstate = wxPyBeginAllowThreads();
13000 delete arg1;
13001
13002 wxPyEndAllowThreads(__tstate);
13003 if (PyErr_Occurred()) SWIG_fail;
13004 }
13005 resultobj = SWIG_Py_Void();
13006 return resultobj;
13007 fail:
13008 return NULL;
13009 }
13010
13011
13012 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13013 PyObject *resultobj = 0;
13014 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13015 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13016 wxRect *arg3 = (wxRect *) NULL ;
13017 bool result;
13018 void *argp1 = 0 ;
13019 int res1 = 0 ;
13020 void *argp2 = 0 ;
13021 int res2 = 0 ;
13022 void *argp3 = 0 ;
13023 int res3 = 0 ;
13024 PyObject * obj0 = 0 ;
13025 PyObject * obj1 = 0 ;
13026 PyObject * obj2 = 0 ;
13027 char * kwnames[] = {
13028 (char *) "self",(char *) "frame",(char *) "rect", NULL
13029 };
13030
13031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13033 if (!SWIG_IsOK(res1)) {
13034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13035 }
13036 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13037 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13038 if (!SWIG_IsOK(res2)) {
13039 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13040 }
13041 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13042 if (obj2) {
13043 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13044 if (!SWIG_IsOK(res3)) {
13045 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13046 }
13047 arg3 = reinterpret_cast< wxRect * >(argp3);
13048 }
13049 {
13050 PyThreadState* __tstate = wxPyBeginAllowThreads();
13051 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13052 wxPyEndAllowThreads(__tstate);
13053 if (PyErr_Occurred()) SWIG_fail;
13054 }
13055 {
13056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13057 }
13058 return resultobj;
13059 fail:
13060 return NULL;
13061 }
13062
13063
13064 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13065 PyObject *resultobj = 0;
13066 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13067 wxFrame *arg2 = (wxFrame *) 0 ;
13068 wxWindow *arg3 = (wxWindow *) NULL ;
13069 bool result;
13070 void *argp1 = 0 ;
13071 int res1 = 0 ;
13072 void *argp2 = 0 ;
13073 int res2 = 0 ;
13074 void *argp3 = 0 ;
13075 int res3 = 0 ;
13076 PyObject * obj0 = 0 ;
13077 PyObject * obj1 = 0 ;
13078 PyObject * obj2 = 0 ;
13079 char * kwnames[] = {
13080 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13081 };
13082
13083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13085 if (!SWIG_IsOK(res1)) {
13086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13087 }
13088 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13089 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13090 if (!SWIG_IsOK(res2)) {
13091 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13092 }
13093 arg2 = reinterpret_cast< wxFrame * >(argp2);
13094 if (obj2) {
13095 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13096 if (!SWIG_IsOK(res3)) {
13097 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13098 }
13099 arg3 = reinterpret_cast< wxWindow * >(argp3);
13100 }
13101 {
13102 PyThreadState* __tstate = wxPyBeginAllowThreads();
13103 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13104 wxPyEndAllowThreads(__tstate);
13105 if (PyErr_Occurred()) SWIG_fail;
13106 }
13107 {
13108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13109 }
13110 return resultobj;
13111 fail:
13112 return NULL;
13113 }
13114
13115
13116 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13117 PyObject *resultobj = 0;
13118 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13119 wxWindow *arg2 = (wxWindow *) 0 ;
13120 wxWindow *arg3 = (wxWindow *) NULL ;
13121 bool result;
13122 void *argp1 = 0 ;
13123 int res1 = 0 ;
13124 void *argp2 = 0 ;
13125 int res2 = 0 ;
13126 void *argp3 = 0 ;
13127 int res3 = 0 ;
13128 PyObject * obj0 = 0 ;
13129 PyObject * obj1 = 0 ;
13130 PyObject * obj2 = 0 ;
13131 char * kwnames[] = {
13132 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13133 };
13134
13135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13137 if (!SWIG_IsOK(res1)) {
13138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13139 }
13140 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13141 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13142 if (!SWIG_IsOK(res2)) {
13143 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13144 }
13145 arg2 = reinterpret_cast< wxWindow * >(argp2);
13146 if (obj2) {
13147 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13148 if (!SWIG_IsOK(res3)) {
13149 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13150 }
13151 arg3 = reinterpret_cast< wxWindow * >(argp3);
13152 }
13153 {
13154 PyThreadState* __tstate = wxPyBeginAllowThreads();
13155 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13156 wxPyEndAllowThreads(__tstate);
13157 if (PyErr_Occurred()) SWIG_fail;
13158 }
13159 {
13160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13161 }
13162 return resultobj;
13163 fail:
13164 return NULL;
13165 }
13166
13167
13168 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13169 PyObject *obj;
13170 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13171 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13172 return SWIG_Py_Void();
13173 }
13174
13175 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13176 return SWIG_Python_InitShadowInstance(args);
13177 }
13178
13179 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13180 PyObject *resultobj = 0;
13181 wxWindow *arg1 = (wxWindow *) 0 ;
13182 int arg2 = (int) wxBORDER_NONE ;
13183 wxPopupWindow *result = 0 ;
13184 void *argp1 = 0 ;
13185 int res1 = 0 ;
13186 int val2 ;
13187 int ecode2 = 0 ;
13188 PyObject * obj0 = 0 ;
13189 PyObject * obj1 = 0 ;
13190 char * kwnames[] = {
13191 (char *) "parent",(char *) "flags", NULL
13192 };
13193
13194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13196 if (!SWIG_IsOK(res1)) {
13197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13198 }
13199 arg1 = reinterpret_cast< wxWindow * >(argp1);
13200 if (obj1) {
13201 ecode2 = SWIG_AsVal_int(obj1, &val2);
13202 if (!SWIG_IsOK(ecode2)) {
13203 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13204 }
13205 arg2 = static_cast< int >(val2);
13206 }
13207 {
13208 if (!wxPyCheckForApp()) SWIG_fail;
13209 PyThreadState* __tstate = wxPyBeginAllowThreads();
13210 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13211 wxPyEndAllowThreads(__tstate);
13212 if (PyErr_Occurred()) SWIG_fail;
13213 }
13214 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13215 return resultobj;
13216 fail:
13217 return NULL;
13218 }
13219
13220
13221 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13222 PyObject *resultobj = 0;
13223 wxPopupWindow *result = 0 ;
13224
13225 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13226 {
13227 if (!wxPyCheckForApp()) SWIG_fail;
13228 PyThreadState* __tstate = wxPyBeginAllowThreads();
13229 result = (wxPopupWindow *)new wxPopupWindow();
13230 wxPyEndAllowThreads(__tstate);
13231 if (PyErr_Occurred()) SWIG_fail;
13232 }
13233 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13234 return resultobj;
13235 fail:
13236 return NULL;
13237 }
13238
13239
13240 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13241 PyObject *resultobj = 0;
13242 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13243 wxWindow *arg2 = (wxWindow *) 0 ;
13244 int arg3 = (int) wxBORDER_NONE ;
13245 bool result;
13246 void *argp1 = 0 ;
13247 int res1 = 0 ;
13248 void *argp2 = 0 ;
13249 int res2 = 0 ;
13250 int val3 ;
13251 int ecode3 = 0 ;
13252 PyObject * obj0 = 0 ;
13253 PyObject * obj1 = 0 ;
13254 PyObject * obj2 = 0 ;
13255 char * kwnames[] = {
13256 (char *) "self",(char *) "parent",(char *) "flags", NULL
13257 };
13258
13259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13261 if (!SWIG_IsOK(res1)) {
13262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13263 }
13264 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13265 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13266 if (!SWIG_IsOK(res2)) {
13267 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13268 }
13269 arg2 = reinterpret_cast< wxWindow * >(argp2);
13270 if (obj2) {
13271 ecode3 = SWIG_AsVal_int(obj2, &val3);
13272 if (!SWIG_IsOK(ecode3)) {
13273 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13274 }
13275 arg3 = static_cast< int >(val3);
13276 }
13277 {
13278 PyThreadState* __tstate = wxPyBeginAllowThreads();
13279 result = (bool)(arg1)->Create(arg2,arg3);
13280 wxPyEndAllowThreads(__tstate);
13281 if (PyErr_Occurred()) SWIG_fail;
13282 }
13283 {
13284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13285 }
13286 return resultobj;
13287 fail:
13288 return NULL;
13289 }
13290
13291
13292 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13293 PyObject *resultobj = 0;
13294 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13295 wxPoint *arg2 = 0 ;
13296 wxSize *arg3 = 0 ;
13297 void *argp1 = 0 ;
13298 int res1 = 0 ;
13299 wxPoint temp2 ;
13300 wxSize temp3 ;
13301 PyObject * obj0 = 0 ;
13302 PyObject * obj1 = 0 ;
13303 PyObject * obj2 = 0 ;
13304 char * kwnames[] = {
13305 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13306 };
13307
13308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13310 if (!SWIG_IsOK(res1)) {
13311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13312 }
13313 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13314 {
13315 arg2 = &temp2;
13316 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13317 }
13318 {
13319 arg3 = &temp3;
13320 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13321 }
13322 {
13323 PyThreadState* __tstate = wxPyBeginAllowThreads();
13324 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13325 wxPyEndAllowThreads(__tstate);
13326 if (PyErr_Occurred()) SWIG_fail;
13327 }
13328 resultobj = SWIG_Py_Void();
13329 return resultobj;
13330 fail:
13331 return NULL;
13332 }
13333
13334
13335 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13336 PyObject *obj;
13337 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13338 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13339 return SWIG_Py_Void();
13340 }
13341
13342 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13343 return SWIG_Python_InitShadowInstance(args);
13344 }
13345
13346 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13347 PyObject *resultobj = 0;
13348 wxWindow *arg1 = (wxWindow *) 0 ;
13349 int arg2 = (int) wxBORDER_NONE ;
13350 wxPyPopupTransientWindow *result = 0 ;
13351 void *argp1 = 0 ;
13352 int res1 = 0 ;
13353 int val2 ;
13354 int ecode2 = 0 ;
13355 PyObject * obj0 = 0 ;
13356 PyObject * obj1 = 0 ;
13357 char * kwnames[] = {
13358 (char *) "parent",(char *) "style", NULL
13359 };
13360
13361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13363 if (!SWIG_IsOK(res1)) {
13364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13365 }
13366 arg1 = reinterpret_cast< wxWindow * >(argp1);
13367 if (obj1) {
13368 ecode2 = SWIG_AsVal_int(obj1, &val2);
13369 if (!SWIG_IsOK(ecode2)) {
13370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13371 }
13372 arg2 = static_cast< int >(val2);
13373 }
13374 {
13375 if (!wxPyCheckForApp()) SWIG_fail;
13376 PyThreadState* __tstate = wxPyBeginAllowThreads();
13377 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13378 wxPyEndAllowThreads(__tstate);
13379 if (PyErr_Occurred()) SWIG_fail;
13380 }
13381 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13382 return resultobj;
13383 fail:
13384 return NULL;
13385 }
13386
13387
13388 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13389 PyObject *resultobj = 0;
13390 wxPyPopupTransientWindow *result = 0 ;
13391
13392 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13393 {
13394 if (!wxPyCheckForApp()) SWIG_fail;
13395 PyThreadState* __tstate = wxPyBeginAllowThreads();
13396 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13397 wxPyEndAllowThreads(__tstate);
13398 if (PyErr_Occurred()) SWIG_fail;
13399 }
13400 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13401 return resultobj;
13402 fail:
13403 return NULL;
13404 }
13405
13406
13407 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13408 PyObject *resultobj = 0;
13409 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13410 PyObject *arg2 = (PyObject *) 0 ;
13411 PyObject *arg3 = (PyObject *) 0 ;
13412 void *argp1 = 0 ;
13413 int res1 = 0 ;
13414 PyObject * obj0 = 0 ;
13415 PyObject * obj1 = 0 ;
13416 PyObject * obj2 = 0 ;
13417 char * kwnames[] = {
13418 (char *) "self",(char *) "self",(char *) "_class", NULL
13419 };
13420
13421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13423 if (!SWIG_IsOK(res1)) {
13424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13425 }
13426 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13427 arg2 = obj1;
13428 arg3 = obj2;
13429 {
13430 PyThreadState* __tstate = wxPyBeginAllowThreads();
13431 (arg1)->_setCallbackInfo(arg2,arg3);
13432 wxPyEndAllowThreads(__tstate);
13433 if (PyErr_Occurred()) SWIG_fail;
13434 }
13435 resultobj = SWIG_Py_Void();
13436 return resultobj;
13437 fail:
13438 return NULL;
13439 }
13440
13441
13442 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13443 PyObject *resultobj = 0;
13444 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13445 wxWindow *arg2 = (wxWindow *) NULL ;
13446 void *argp1 = 0 ;
13447 int res1 = 0 ;
13448 void *argp2 = 0 ;
13449 int res2 = 0 ;
13450 PyObject * obj0 = 0 ;
13451 PyObject * obj1 = 0 ;
13452 char * kwnames[] = {
13453 (char *) "self",(char *) "focus", NULL
13454 };
13455
13456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13458 if (!SWIG_IsOK(res1)) {
13459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13460 }
13461 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13462 if (obj1) {
13463 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13464 if (!SWIG_IsOK(res2)) {
13465 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13466 }
13467 arg2 = reinterpret_cast< wxWindow * >(argp2);
13468 }
13469 {
13470 PyThreadState* __tstate = wxPyBeginAllowThreads();
13471 (arg1)->Popup(arg2);
13472 wxPyEndAllowThreads(__tstate);
13473 if (PyErr_Occurred()) SWIG_fail;
13474 }
13475 resultobj = SWIG_Py_Void();
13476 return resultobj;
13477 fail:
13478 return NULL;
13479 }
13480
13481
13482 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13483 PyObject *resultobj = 0;
13484 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13485 void *argp1 = 0 ;
13486 int res1 = 0 ;
13487 PyObject *swig_obj[1] ;
13488
13489 if (!args) SWIG_fail;
13490 swig_obj[0] = args;
13491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13492 if (!SWIG_IsOK(res1)) {
13493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13494 }
13495 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13496 {
13497 PyThreadState* __tstate = wxPyBeginAllowThreads();
13498 (arg1)->Dismiss();
13499 wxPyEndAllowThreads(__tstate);
13500 if (PyErr_Occurred()) SWIG_fail;
13501 }
13502 resultobj = SWIG_Py_Void();
13503 return resultobj;
13504 fail:
13505 return NULL;
13506 }
13507
13508
13509 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13510 PyObject *obj;
13511 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13512 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13513 return SWIG_Py_Void();
13514 }
13515
13516 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13517 return SWIG_Python_InitShadowInstance(args);
13518 }
13519
13520 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13521 PyObject *resultobj = 0;
13522 wxWindow *arg1 = (wxWindow *) 0 ;
13523 wxString *arg2 = 0 ;
13524 int arg3 = (int) 100 ;
13525 wxRect *arg4 = (wxRect *) NULL ;
13526 wxTipWindow *result = 0 ;
13527 void *argp1 = 0 ;
13528 int res1 = 0 ;
13529 bool temp2 = false ;
13530 int val3 ;
13531 int ecode3 = 0 ;
13532 void *argp4 = 0 ;
13533 int res4 = 0 ;
13534 PyObject * obj0 = 0 ;
13535 PyObject * obj1 = 0 ;
13536 PyObject * obj2 = 0 ;
13537 PyObject * obj3 = 0 ;
13538 char * kwnames[] = {
13539 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13540 };
13541
13542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13544 if (!SWIG_IsOK(res1)) {
13545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13546 }
13547 arg1 = reinterpret_cast< wxWindow * >(argp1);
13548 {
13549 arg2 = wxString_in_helper(obj1);
13550 if (arg2 == NULL) SWIG_fail;
13551 temp2 = true;
13552 }
13553 if (obj2) {
13554 ecode3 = SWIG_AsVal_int(obj2, &val3);
13555 if (!SWIG_IsOK(ecode3)) {
13556 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13557 }
13558 arg3 = static_cast< int >(val3);
13559 }
13560 if (obj3) {
13561 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13562 if (!SWIG_IsOK(res4)) {
13563 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13564 }
13565 arg4 = reinterpret_cast< wxRect * >(argp4);
13566 }
13567 {
13568 if (!wxPyCheckForApp()) SWIG_fail;
13569 PyThreadState* __tstate = wxPyBeginAllowThreads();
13570 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13571 wxPyEndAllowThreads(__tstate);
13572 if (PyErr_Occurred()) SWIG_fail;
13573 }
13574 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13575 {
13576 if (temp2)
13577 delete arg2;
13578 }
13579 return resultobj;
13580 fail:
13581 {
13582 if (temp2)
13583 delete arg2;
13584 }
13585 return NULL;
13586 }
13587
13588
13589 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13590 PyObject *resultobj = 0;
13591 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13592 wxRect *arg2 = 0 ;
13593 void *argp1 = 0 ;
13594 int res1 = 0 ;
13595 wxRect temp2 ;
13596 PyObject * obj0 = 0 ;
13597 PyObject * obj1 = 0 ;
13598 char * kwnames[] = {
13599 (char *) "self",(char *) "rectBound", NULL
13600 };
13601
13602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13604 if (!SWIG_IsOK(res1)) {
13605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13606 }
13607 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13608 {
13609 arg2 = &temp2;
13610 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13611 }
13612 {
13613 PyThreadState* __tstate = wxPyBeginAllowThreads();
13614 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13615 wxPyEndAllowThreads(__tstate);
13616 if (PyErr_Occurred()) SWIG_fail;
13617 }
13618 resultobj = SWIG_Py_Void();
13619 return resultobj;
13620 fail:
13621 return NULL;
13622 }
13623
13624
13625 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13626 PyObject *resultobj = 0;
13627 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13628 void *argp1 = 0 ;
13629 int res1 = 0 ;
13630 PyObject *swig_obj[1] ;
13631
13632 if (!args) SWIG_fail;
13633 swig_obj[0] = args;
13634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13635 if (!SWIG_IsOK(res1)) {
13636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13637 }
13638 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13639 {
13640 PyThreadState* __tstate = wxPyBeginAllowThreads();
13641 (arg1)->Close();
13642 wxPyEndAllowThreads(__tstate);
13643 if (PyErr_Occurred()) SWIG_fail;
13644 }
13645 resultobj = SWIG_Py_Void();
13646 return resultobj;
13647 fail:
13648 return NULL;
13649 }
13650
13651
13652 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13653 PyObject *obj;
13654 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13655 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13656 return SWIG_Py_Void();
13657 }
13658
13659 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13660 return SWIG_Python_InitShadowInstance(args);
13661 }
13662
13663 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_EnablePhysicalScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13664 PyObject *resultobj = 0;
13665 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13666 bool arg2 = (bool) true ;
13667 void *argp1 = 0 ;
13668 int res1 = 0 ;
13669 bool val2 ;
13670 int ecode2 = 0 ;
13671 PyObject * obj0 = 0 ;
13672 PyObject * obj1 = 0 ;
13673 char * kwnames[] = {
13674 (char *) "self",(char *) "scrolling", NULL
13675 };
13676
13677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:VarScrollHelperBase_EnablePhysicalScrolling",kwnames,&obj0,&obj1)) SWIG_fail;
13678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13679 if (!SWIG_IsOK(res1)) {
13680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13681 }
13682 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13683 if (obj1) {
13684 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13685 if (!SWIG_IsOK(ecode2)) {
13686 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'");
13687 }
13688 arg2 = static_cast< bool >(val2);
13689 }
13690 {
13691 PyThreadState* __tstate = wxPyBeginAllowThreads();
13692 (arg1)->EnablePhysicalScrolling(arg2);
13693 wxPyEndAllowThreads(__tstate);
13694 if (PyErr_Occurred()) SWIG_fail;
13695 }
13696 resultobj = SWIG_Py_Void();
13697 return resultobj;
13698 fail:
13699 return NULL;
13700 }
13701
13702
13703 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13704 PyObject *resultobj = 0;
13705 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13706 int arg2 ;
13707 int result;
13708 void *argp1 = 0 ;
13709 int res1 = 0 ;
13710 int val2 ;
13711 int ecode2 = 0 ;
13712 PyObject * obj0 = 0 ;
13713 PyObject * obj1 = 0 ;
13714 char * kwnames[] = {
13715 (char *) "self",(char *) "coord", NULL
13716 };
13717
13718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13720 if (!SWIG_IsOK(res1)) {
13721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13722 }
13723 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13724 ecode2 = SWIG_AsVal_int(obj1, &val2);
13725 if (!SWIG_IsOK(ecode2)) {
13726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "2"" of type '" "int""'");
13727 }
13728 arg2 = static_cast< int >(val2);
13729 {
13730 PyThreadState* __tstate = wxPyBeginAllowThreads();
13731 result = (int)((wxVarScrollHelperBase const *)arg1)->HitTest(arg2);
13732 wxPyEndAllowThreads(__tstate);
13733 if (PyErr_Occurred()) SWIG_fail;
13734 }
13735 resultobj = SWIG_From_int(static_cast< int >(result));
13736 return resultobj;
13737 fail:
13738 return NULL;
13739 }
13740
13741
13742 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13743 PyObject *resultobj = 0;
13744 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13745 void *argp1 = 0 ;
13746 int res1 = 0 ;
13747 PyObject *swig_obj[1] ;
13748
13749 if (!args) SWIG_fail;
13750 swig_obj[0] = args;
13751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13752 if (!SWIG_IsOK(res1)) {
13753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_RefreshAll" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13754 }
13755 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13756 {
13757 PyThreadState* __tstate = wxPyBeginAllowThreads();
13758 (arg1)->RefreshAll();
13759 wxPyEndAllowThreads(__tstate);
13760 if (PyErr_Occurred()) SWIG_fail;
13761 }
13762 resultobj = SWIG_Py_Void();
13763 return resultobj;
13764 fail:
13765 return NULL;
13766 }
13767
13768
13769 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13770 PyObject *resultobj = 0;
13771 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13772 size_t result;
13773 void *argp1 = 0 ;
13774 int res1 = 0 ;
13775 PyObject *swig_obj[1] ;
13776
13777 if (!args) SWIG_fail;
13778 swig_obj[0] = args;
13779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13780 if (!SWIG_IsOK(res1)) {
13781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13782 }
13783 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13784 {
13785 PyThreadState* __tstate = wxPyBeginAllowThreads();
13786 result = (size_t)((wxVarScrollHelperBase const *)arg1)->GetVisibleBegin();
13787 wxPyEndAllowThreads(__tstate);
13788 if (PyErr_Occurred()) SWIG_fail;
13789 }
13790 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13791 return resultobj;
13792 fail:
13793 return NULL;
13794 }
13795
13796
13797 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13798 PyObject *resultobj = 0;
13799 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13800 size_t result;
13801 void *argp1 = 0 ;
13802 int res1 = 0 ;
13803 PyObject *swig_obj[1] ;
13804
13805 if (!args) SWIG_fail;
13806 swig_obj[0] = args;
13807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13808 if (!SWIG_IsOK(res1)) {
13809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13810 }
13811 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13812 {
13813 PyThreadState* __tstate = wxPyBeginAllowThreads();
13814 result = (size_t)((wxVarScrollHelperBase const *)arg1)->GetVisibleEnd();
13815 wxPyEndAllowThreads(__tstate);
13816 if (PyErr_Occurred()) SWIG_fail;
13817 }
13818 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13819 return resultobj;
13820 fail:
13821 return NULL;
13822 }
13823
13824
13825 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13826 PyObject *resultobj = 0;
13827 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13828 size_t arg2 ;
13829 bool result;
13830 void *argp1 = 0 ;
13831 int res1 = 0 ;
13832 size_t val2 ;
13833 int ecode2 = 0 ;
13834 PyObject * obj0 = 0 ;
13835 PyObject * obj1 = 0 ;
13836 char * kwnames[] = {
13837 (char *) "self",(char *) "unit", NULL
13838 };
13839
13840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
13841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13842 if (!SWIG_IsOK(res1)) {
13843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13844 }
13845 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13846 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13847 if (!SWIG_IsOK(ecode2)) {
13848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13849 }
13850 arg2 = static_cast< size_t >(val2);
13851 {
13852 PyThreadState* __tstate = wxPyBeginAllowThreads();
13853 result = (bool)((wxVarScrollHelperBase const *)arg1)->IsVisible(arg2);
13854 wxPyEndAllowThreads(__tstate);
13855 if (PyErr_Occurred()) SWIG_fail;
13856 }
13857 {
13858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13859 }
13860 return resultobj;
13861 fail:
13862 return NULL;
13863 }
13864
13865
13866 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_CalcScrolledPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13867 PyObject *resultobj = 0;
13868 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13869 int arg2 ;
13870 int result;
13871 void *argp1 = 0 ;
13872 int res1 = 0 ;
13873 int val2 ;
13874 int ecode2 = 0 ;
13875 PyObject * obj0 = 0 ;
13876 PyObject * obj1 = 0 ;
13877 char * kwnames[] = {
13878 (char *) "self",(char *) "coord", NULL
13879 };
13880
13881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_CalcScrolledPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13883 if (!SWIG_IsOK(res1)) {
13884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13885 }
13886 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13887 ecode2 = SWIG_AsVal_int(obj1, &val2);
13888 if (!SWIG_IsOK(ecode2)) {
13889 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
13890 }
13891 arg2 = static_cast< int >(val2);
13892 {
13893 PyThreadState* __tstate = wxPyBeginAllowThreads();
13894 result = (int)((wxVarScrollHelperBase const *)arg1)->CalcScrolledPosition(arg2);
13895 wxPyEndAllowThreads(__tstate);
13896 if (PyErr_Occurred()) SWIG_fail;
13897 }
13898 resultobj = SWIG_From_int(static_cast< int >(result));
13899 return resultobj;
13900 fail:
13901 return NULL;
13902 }
13903
13904
13905 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_CalcUnscrolledPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13906 PyObject *resultobj = 0;
13907 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13908 int arg2 ;
13909 int result;
13910 void *argp1 = 0 ;
13911 int res1 = 0 ;
13912 int val2 ;
13913 int ecode2 = 0 ;
13914 PyObject * obj0 = 0 ;
13915 PyObject * obj1 = 0 ;
13916 char * kwnames[] = {
13917 (char *) "self",(char *) "coord", NULL
13918 };
13919
13920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_CalcUnscrolledPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13922 if (!SWIG_IsOK(res1)) {
13923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13924 }
13925 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13926 ecode2 = SWIG_AsVal_int(obj1, &val2);
13927 if (!SWIG_IsOK(ecode2)) {
13928 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
13929 }
13930 arg2 = static_cast< int >(val2);
13931 {
13932 PyThreadState* __tstate = wxPyBeginAllowThreads();
13933 result = (int)((wxVarScrollHelperBase const *)arg1)->CalcUnscrolledPosition(arg2);
13934 wxPyEndAllowThreads(__tstate);
13935 if (PyErr_Occurred()) SWIG_fail;
13936 }
13937 resultobj = SWIG_From_int(static_cast< int >(result));
13938 return resultobj;
13939 fail:
13940 return NULL;
13941 }
13942
13943
13944 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_UpdateScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13945 PyObject *resultobj = 0;
13946 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13947 void *argp1 = 0 ;
13948 int res1 = 0 ;
13949 PyObject *swig_obj[1] ;
13950
13951 if (!args) SWIG_fail;
13952 swig_obj[0] = args;
13953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13954 if (!SWIG_IsOK(res1)) {
13955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_UpdateScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13956 }
13957 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13958 {
13959 PyThreadState* __tstate = wxPyBeginAllowThreads();
13960 (arg1)->UpdateScrollbar();
13961 wxPyEndAllowThreads(__tstate);
13962 if (PyErr_Occurred()) SWIG_fail;
13963 }
13964 resultobj = SWIG_Py_Void();
13965 return resultobj;
13966 fail:
13967 return NULL;
13968 }
13969
13970
13971 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_RemoveScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13972 PyObject *resultobj = 0;
13973 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13974 void *argp1 = 0 ;
13975 int res1 = 0 ;
13976 PyObject *swig_obj[1] ;
13977
13978 if (!args) SWIG_fail;
13979 swig_obj[0] = args;
13980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13981 if (!SWIG_IsOK(res1)) {
13982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_RemoveScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13983 }
13984 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13985 {
13986 PyThreadState* __tstate = wxPyBeginAllowThreads();
13987 (arg1)->RemoveScrollbar();
13988 wxPyEndAllowThreads(__tstate);
13989 if (PyErr_Occurred()) SWIG_fail;
13990 }
13991 resultobj = SWIG_Py_Void();
13992 return resultobj;
13993 fail:
13994 return NULL;
13995 }
13996
13997
13998 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13999 PyObject *resultobj = 0;
14000 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
14001 wxWindow *arg2 = (wxWindow *) 0 ;
14002 void *argp1 = 0 ;
14003 int res1 = 0 ;
14004 void *argp2 = 0 ;
14005 int res2 = 0 ;
14006 PyObject * obj0 = 0 ;
14007 PyObject * obj1 = 0 ;
14008 char * kwnames[] = {
14009 (char *) "self",(char *) "target", NULL
14010 };
14011
14012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
14013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
14014 if (!SWIG_IsOK(res1)) {
14015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
14016 }
14017 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
14018 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14019 if (!SWIG_IsOK(res2)) {
14020 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
14021 }
14022 arg2 = reinterpret_cast< wxWindow * >(argp2);
14023 {
14024 PyThreadState* __tstate = wxPyBeginAllowThreads();
14025 (arg1)->SetTargetWindow(arg2);
14026 wxPyEndAllowThreads(__tstate);
14027 if (PyErr_Occurred()) SWIG_fail;
14028 }
14029 resultobj = SWIG_Py_Void();
14030 return resultobj;
14031 fail:
14032 return NULL;
14033 }
14034
14035
14036 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14037 PyObject *resultobj = 0;
14038 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
14039 wxWindow *result = 0 ;
14040 void *argp1 = 0 ;
14041 int res1 = 0 ;
14042 PyObject *swig_obj[1] ;
14043
14044 if (!args) SWIG_fail;
14045 swig_obj[0] = args;
14046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
14047 if (!SWIG_IsOK(res1)) {
14048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14049 }
14050 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
14051 {
14052 PyThreadState* __tstate = wxPyBeginAllowThreads();
14053 result = (wxWindow *)((wxVarScrollHelperBase const *)arg1)->GetTargetWindow();
14054 wxPyEndAllowThreads(__tstate);
14055 if (PyErr_Occurred()) SWIG_fail;
14056 }
14057 {
14058 resultobj = wxPyMake_wxObject(result, 0);
14059 }
14060 return resultobj;
14061 fail:
14062 return NULL;
14063 }
14064
14065
14066 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetOrientationTargetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14067 PyObject *resultobj = 0;
14068 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
14069 int result;
14070 void *argp1 = 0 ;
14071 int res1 = 0 ;
14072 PyObject *swig_obj[1] ;
14073
14074 if (!args) SWIG_fail;
14075 swig_obj[0] = args;
14076 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
14077 if (!SWIG_IsOK(res1)) {
14078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14079 }
14080 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
14081 {
14082 PyThreadState* __tstate = wxPyBeginAllowThreads();
14083 result = (int)((wxVarScrollHelperBase const *)arg1)->GetOrientationTargetSize();
14084 wxPyEndAllowThreads(__tstate);
14085 if (PyErr_Occurred()) SWIG_fail;
14086 }
14087 resultobj = SWIG_From_int(static_cast< int >(result));
14088 return resultobj;
14089 fail:
14090 return NULL;
14091 }
14092
14093
14094 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetNonOrientationTargetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14095 PyObject *resultobj = 0;
14096 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
14097 int result;
14098 void *argp1 = 0 ;
14099 int res1 = 0 ;
14100 PyObject *swig_obj[1] ;
14101
14102 if (!args) SWIG_fail;
14103 swig_obj[0] = args;
14104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
14105 if (!SWIG_IsOK(res1)) {
14106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetNonOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14107 }
14108 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
14109 {
14110 PyThreadState* __tstate = wxPyBeginAllowThreads();
14111 result = (int)((wxVarScrollHelperBase const *)arg1)->GetNonOrientationTargetSize();
14112 wxPyEndAllowThreads(__tstate);
14113 if (PyErr_Occurred()) SWIG_fail;
14114 }
14115 resultobj = SWIG_From_int(static_cast< int >(result));
14116 return resultobj;
14117 fail:
14118 return NULL;
14119 }
14120
14121
14122 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14123 PyObject *resultobj = 0;
14124 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
14125 wxOrientation result;
14126 void *argp1 = 0 ;
14127 int res1 = 0 ;
14128 PyObject *swig_obj[1] ;
14129
14130 if (!args) SWIG_fail;
14131 swig_obj[0] = args;
14132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
14133 if (!SWIG_IsOK(res1)) {
14134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetOrientation" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14135 }
14136 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
14137 {
14138 PyThreadState* __tstate = wxPyBeginAllowThreads();
14139 result = (wxOrientation)((wxVarScrollHelperBase const *)arg1)->GetOrientation();
14140 wxPyEndAllowThreads(__tstate);
14141 if (PyErr_Occurred()) SWIG_fail;
14142 }
14143 resultobj = SWIG_From_int(static_cast< int >(result));
14144 return resultobj;
14145 fail:
14146 return NULL;
14147 }
14148
14149
14150 SWIGINTERN PyObject *VarScrollHelperBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14151 PyObject *obj;
14152 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14153 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarScrollHelperBase, SWIG_NewClientData(obj));
14154 return SWIG_Py_Void();
14155 }
14156
14157 SWIGINTERN PyObject *_wrap_VarVScrollHelper_SetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14158 PyObject *resultobj = 0;
14159 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14160 size_t arg2 ;
14161 void *argp1 = 0 ;
14162 int res1 = 0 ;
14163 size_t val2 ;
14164 int ecode2 = 0 ;
14165 PyObject * obj0 = 0 ;
14166 PyObject * obj1 = 0 ;
14167 char * kwnames[] = {
14168 (char *) "self",(char *) "rowCount", NULL
14169 };
14170
14171 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_SetRowCount",kwnames,&obj0,&obj1)) SWIG_fail;
14172 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14173 if (!SWIG_IsOK(res1)) {
14174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14175 }
14176 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14177 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14178 if (!SWIG_IsOK(ecode2)) {
14179 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "2"" of type '" "size_t""'");
14180 }
14181 arg2 = static_cast< size_t >(val2);
14182 {
14183 PyThreadState* __tstate = wxPyBeginAllowThreads();
14184 (arg1)->SetRowCount(arg2);
14185 wxPyEndAllowThreads(__tstate);
14186 if (PyErr_Occurred()) SWIG_fail;
14187 }
14188 resultobj = SWIG_Py_Void();
14189 return resultobj;
14190 fail:
14191 return NULL;
14192 }
14193
14194
14195 SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollToRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14196 PyObject *resultobj = 0;
14197 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14198 size_t arg2 ;
14199 bool result;
14200 void *argp1 = 0 ;
14201 int res1 = 0 ;
14202 size_t val2 ;
14203 int ecode2 = 0 ;
14204 PyObject * obj0 = 0 ;
14205 PyObject * obj1 = 0 ;
14206 char * kwnames[] = {
14207 (char *) "self",(char *) "row", NULL
14208 };
14209
14210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollToRow",kwnames,&obj0,&obj1)) SWIG_fail;
14211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14212 if (!SWIG_IsOK(res1)) {
14213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14214 }
14215 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14216 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14217 if (!SWIG_IsOK(ecode2)) {
14218 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "2"" of type '" "size_t""'");
14219 }
14220 arg2 = static_cast< size_t >(val2);
14221 {
14222 PyThreadState* __tstate = wxPyBeginAllowThreads();
14223 result = (bool)(arg1)->ScrollToRow(arg2);
14224 wxPyEndAllowThreads(__tstate);
14225 if (PyErr_Occurred()) SWIG_fail;
14226 }
14227 {
14228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14229 }
14230 return resultobj;
14231 fail:
14232 return NULL;
14233 }
14234
14235
14236 SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14237 PyObject *resultobj = 0;
14238 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14239 int arg2 ;
14240 bool result;
14241 void *argp1 = 0 ;
14242 int res1 = 0 ;
14243 int val2 ;
14244 int ecode2 = 0 ;
14245 PyObject * obj0 = 0 ;
14246 PyObject * obj1 = 0 ;
14247 char * kwnames[] = {
14248 (char *) "self",(char *) "rows", NULL
14249 };
14250
14251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollRows",kwnames,&obj0,&obj1)) SWIG_fail;
14252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14253 if (!SWIG_IsOK(res1)) {
14254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14255 }
14256 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14257 ecode2 = SWIG_AsVal_int(obj1, &val2);
14258 if (!SWIG_IsOK(ecode2)) {
14259 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "2"" of type '" "int""'");
14260 }
14261 arg2 = static_cast< int >(val2);
14262 {
14263 PyThreadState* __tstate = wxPyBeginAllowThreads();
14264 result = (bool)(arg1)->ScrollRows(arg2);
14265 wxPyEndAllowThreads(__tstate);
14266 if (PyErr_Occurred()) SWIG_fail;
14267 }
14268 {
14269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14270 }
14271 return resultobj;
14272 fail:
14273 return NULL;
14274 }
14275
14276
14277 SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollRowPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14278 PyObject *resultobj = 0;
14279 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14280 int arg2 ;
14281 bool result;
14282 void *argp1 = 0 ;
14283 int res1 = 0 ;
14284 int val2 ;
14285 int ecode2 = 0 ;
14286 PyObject * obj0 = 0 ;
14287 PyObject * obj1 = 0 ;
14288 char * kwnames[] = {
14289 (char *) "self",(char *) "pages", NULL
14290 };
14291
14292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollRowPages",kwnames,&obj0,&obj1)) SWIG_fail;
14293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14294 if (!SWIG_IsOK(res1)) {
14295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14296 }
14297 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14298 ecode2 = SWIG_AsVal_int(obj1, &val2);
14299 if (!SWIG_IsOK(ecode2)) {
14300 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "2"" of type '" "int""'");
14301 }
14302 arg2 = static_cast< int >(val2);
14303 {
14304 PyThreadState* __tstate = wxPyBeginAllowThreads();
14305 result = (bool)(arg1)->ScrollRowPages(arg2);
14306 wxPyEndAllowThreads(__tstate);
14307 if (PyErr_Occurred()) SWIG_fail;
14308 }
14309 {
14310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14311 }
14312 return resultobj;
14313 fail:
14314 return NULL;
14315 }
14316
14317
14318 SWIGINTERN PyObject *_wrap_VarVScrollHelper_RefreshRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14319 PyObject *resultobj = 0;
14320 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14321 size_t arg2 ;
14322 void *argp1 = 0 ;
14323 int res1 = 0 ;
14324 size_t val2 ;
14325 int ecode2 = 0 ;
14326 PyObject * obj0 = 0 ;
14327 PyObject * obj1 = 0 ;
14328 char * kwnames[] = {
14329 (char *) "self",(char *) "row", NULL
14330 };
14331
14332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_RefreshRow",kwnames,&obj0,&obj1)) SWIG_fail;
14333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14334 if (!SWIG_IsOK(res1)) {
14335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14336 }
14337 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14338 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14339 if (!SWIG_IsOK(ecode2)) {
14340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "2"" of type '" "size_t""'");
14341 }
14342 arg2 = static_cast< size_t >(val2);
14343 {
14344 PyThreadState* __tstate = wxPyBeginAllowThreads();
14345 (arg1)->RefreshRow(arg2);
14346 wxPyEndAllowThreads(__tstate);
14347 if (PyErr_Occurred()) SWIG_fail;
14348 }
14349 resultobj = SWIG_Py_Void();
14350 return resultobj;
14351 fail:
14352 return NULL;
14353 }
14354
14355
14356 SWIGINTERN PyObject *_wrap_VarVScrollHelper_RefreshRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14357 PyObject *resultobj = 0;
14358 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14359 size_t arg2 ;
14360 size_t arg3 ;
14361 void *argp1 = 0 ;
14362 int res1 = 0 ;
14363 size_t val2 ;
14364 int ecode2 = 0 ;
14365 size_t val3 ;
14366 int ecode3 = 0 ;
14367 PyObject * obj0 = 0 ;
14368 PyObject * obj1 = 0 ;
14369 PyObject * obj2 = 0 ;
14370 char * kwnames[] = {
14371 (char *) "self",(char *) "from",(char *) "to", NULL
14372 };
14373
14374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarVScrollHelper_RefreshRows",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14376 if (!SWIG_IsOK(res1)) {
14377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14378 }
14379 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14380 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14381 if (!SWIG_IsOK(ecode2)) {
14382 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "2"" of type '" "size_t""'");
14383 }
14384 arg2 = static_cast< size_t >(val2);
14385 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14386 if (!SWIG_IsOK(ecode3)) {
14387 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "3"" of type '" "size_t""'");
14388 }
14389 arg3 = static_cast< size_t >(val3);
14390 {
14391 PyThreadState* __tstate = wxPyBeginAllowThreads();
14392 (arg1)->RefreshRows(arg2,arg3);
14393 wxPyEndAllowThreads(__tstate);
14394 if (PyErr_Occurred()) SWIG_fail;
14395 }
14396 resultobj = SWIG_Py_Void();
14397 return resultobj;
14398 fail:
14399 return NULL;
14400 }
14401
14402
14403 SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14404 PyObject *resultobj = 0;
14405 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14406 size_t result;
14407 void *argp1 = 0 ;
14408 int res1 = 0 ;
14409 PyObject *swig_obj[1] ;
14410
14411 if (!args) SWIG_fail;
14412 swig_obj[0] = args;
14413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14414 if (!SWIG_IsOK(res1)) {
14415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14416 }
14417 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14418 {
14419 PyThreadState* __tstate = wxPyBeginAllowThreads();
14420 result = (size_t)((wxVarVScrollHelper const *)arg1)->GetRowCount();
14421 wxPyEndAllowThreads(__tstate);
14422 if (PyErr_Occurred()) SWIG_fail;
14423 }
14424 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14425 return resultobj;
14426 fail:
14427 return NULL;
14428 }
14429
14430
14431 SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetVisibleRowsBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14432 PyObject *resultobj = 0;
14433 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14434 size_t result;
14435 void *argp1 = 0 ;
14436 int res1 = 0 ;
14437 PyObject *swig_obj[1] ;
14438
14439 if (!args) SWIG_fail;
14440 swig_obj[0] = args;
14441 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14442 if (!SWIG_IsOK(res1)) {
14443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetVisibleRowsBegin" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14444 }
14445 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14446 {
14447 PyThreadState* __tstate = wxPyBeginAllowThreads();
14448 result = (size_t)((wxVarVScrollHelper const *)arg1)->GetVisibleRowsBegin();
14449 wxPyEndAllowThreads(__tstate);
14450 if (PyErr_Occurred()) SWIG_fail;
14451 }
14452 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14453 return resultobj;
14454 fail:
14455 return NULL;
14456 }
14457
14458
14459 SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetVisibleRowsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14460 PyObject *resultobj = 0;
14461 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14462 size_t result;
14463 void *argp1 = 0 ;
14464 int res1 = 0 ;
14465 PyObject *swig_obj[1] ;
14466
14467 if (!args) SWIG_fail;
14468 swig_obj[0] = args;
14469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14470 if (!SWIG_IsOK(res1)) {
14471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetVisibleRowsEnd" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14472 }
14473 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14474 {
14475 PyThreadState* __tstate = wxPyBeginAllowThreads();
14476 result = (size_t)((wxVarVScrollHelper const *)arg1)->GetVisibleRowsEnd();
14477 wxPyEndAllowThreads(__tstate);
14478 if (PyErr_Occurred()) SWIG_fail;
14479 }
14480 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14481 return resultobj;
14482 fail:
14483 return NULL;
14484 }
14485
14486
14487 SWIGINTERN PyObject *_wrap_VarVScrollHelper_IsRowVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14488 PyObject *resultobj = 0;
14489 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14490 size_t arg2 ;
14491 bool result;
14492 void *argp1 = 0 ;
14493 int res1 = 0 ;
14494 size_t val2 ;
14495 int ecode2 = 0 ;
14496 PyObject * obj0 = 0 ;
14497 PyObject * obj1 = 0 ;
14498 char * kwnames[] = {
14499 (char *) "self",(char *) "row", NULL
14500 };
14501
14502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_IsRowVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14504 if (!SWIG_IsOK(res1)) {
14505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14506 }
14507 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14508 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14509 if (!SWIG_IsOK(ecode2)) {
14510 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "2"" of type '" "size_t""'");
14511 }
14512 arg2 = static_cast< size_t >(val2);
14513 {
14514 PyThreadState* __tstate = wxPyBeginAllowThreads();
14515 result = (bool)((wxVarVScrollHelper const *)arg1)->IsRowVisible(arg2);
14516 wxPyEndAllowThreads(__tstate);
14517 if (PyErr_Occurred()) SWIG_fail;
14518 }
14519 {
14520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14521 }
14522 return resultobj;
14523 fail:
14524 return NULL;
14525 }
14526
14527
14528 SWIGINTERN PyObject *VarVScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14529 PyObject *obj;
14530 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14531 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarVScrollHelper, SWIG_NewClientData(obj));
14532 return SWIG_Py_Void();
14533 }
14534
14535 SWIGINTERN PyObject *_wrap_VarHScrollHelper_SetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14536 PyObject *resultobj = 0;
14537 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14538 size_t arg2 ;
14539 void *argp1 = 0 ;
14540 int res1 = 0 ;
14541 size_t val2 ;
14542 int ecode2 = 0 ;
14543 PyObject * obj0 = 0 ;
14544 PyObject * obj1 = 0 ;
14545 char * kwnames[] = {
14546 (char *) "self",(char *) "columnCount", NULL
14547 };
14548
14549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_SetColumnCount",kwnames,&obj0,&obj1)) SWIG_fail;
14550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14551 if (!SWIG_IsOK(res1)) {
14552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14553 }
14554 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14555 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14556 if (!SWIG_IsOK(ecode2)) {
14557 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "2"" of type '" "size_t""'");
14558 }
14559 arg2 = static_cast< size_t >(val2);
14560 {
14561 PyThreadState* __tstate = wxPyBeginAllowThreads();
14562 (arg1)->SetColumnCount(arg2);
14563 wxPyEndAllowThreads(__tstate);
14564 if (PyErr_Occurred()) SWIG_fail;
14565 }
14566 resultobj = SWIG_Py_Void();
14567 return resultobj;
14568 fail:
14569 return NULL;
14570 }
14571
14572
14573 SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollToColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14574 PyObject *resultobj = 0;
14575 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14576 size_t arg2 ;
14577 bool result;
14578 void *argp1 = 0 ;
14579 int res1 = 0 ;
14580 size_t val2 ;
14581 int ecode2 = 0 ;
14582 PyObject * obj0 = 0 ;
14583 PyObject * obj1 = 0 ;
14584 char * kwnames[] = {
14585 (char *) "self",(char *) "column", NULL
14586 };
14587
14588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollToColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14590 if (!SWIG_IsOK(res1)) {
14591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14592 }
14593 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14594 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14595 if (!SWIG_IsOK(ecode2)) {
14596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "2"" of type '" "size_t""'");
14597 }
14598 arg2 = static_cast< size_t >(val2);
14599 {
14600 PyThreadState* __tstate = wxPyBeginAllowThreads();
14601 result = (bool)(arg1)->ScrollToColumn(arg2);
14602 wxPyEndAllowThreads(__tstate);
14603 if (PyErr_Occurred()) SWIG_fail;
14604 }
14605 {
14606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14607 }
14608 return resultobj;
14609 fail:
14610 return NULL;
14611 }
14612
14613
14614 SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14615 PyObject *resultobj = 0;
14616 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14617 int arg2 ;
14618 bool result;
14619 void *argp1 = 0 ;
14620 int res1 = 0 ;
14621 int val2 ;
14622 int ecode2 = 0 ;
14623 PyObject * obj0 = 0 ;
14624 PyObject * obj1 = 0 ;
14625 char * kwnames[] = {
14626 (char *) "self",(char *) "columns", NULL
14627 };
14628
14629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollColumns",kwnames,&obj0,&obj1)) SWIG_fail;
14630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14631 if (!SWIG_IsOK(res1)) {
14632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14633 }
14634 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14635 ecode2 = SWIG_AsVal_int(obj1, &val2);
14636 if (!SWIG_IsOK(ecode2)) {
14637 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "2"" of type '" "int""'");
14638 }
14639 arg2 = static_cast< int >(val2);
14640 {
14641 PyThreadState* __tstate = wxPyBeginAllowThreads();
14642 result = (bool)(arg1)->ScrollColumns(arg2);
14643 wxPyEndAllowThreads(__tstate);
14644 if (PyErr_Occurred()) SWIG_fail;
14645 }
14646 {
14647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14648 }
14649 return resultobj;
14650 fail:
14651 return NULL;
14652 }
14653
14654
14655 SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollColumnPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14656 PyObject *resultobj = 0;
14657 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14658 int arg2 ;
14659 bool result;
14660 void *argp1 = 0 ;
14661 int res1 = 0 ;
14662 int val2 ;
14663 int ecode2 = 0 ;
14664 PyObject * obj0 = 0 ;
14665 PyObject * obj1 = 0 ;
14666 char * kwnames[] = {
14667 (char *) "self",(char *) "pages", NULL
14668 };
14669
14670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollColumnPages",kwnames,&obj0,&obj1)) SWIG_fail;
14671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14672 if (!SWIG_IsOK(res1)) {
14673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14674 }
14675 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14676 ecode2 = SWIG_AsVal_int(obj1, &val2);
14677 if (!SWIG_IsOK(ecode2)) {
14678 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "2"" of type '" "int""'");
14679 }
14680 arg2 = static_cast< int >(val2);
14681 {
14682 PyThreadState* __tstate = wxPyBeginAllowThreads();
14683 result = (bool)(arg1)->ScrollColumnPages(arg2);
14684 wxPyEndAllowThreads(__tstate);
14685 if (PyErr_Occurred()) SWIG_fail;
14686 }
14687 {
14688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14689 }
14690 return resultobj;
14691 fail:
14692 return NULL;
14693 }
14694
14695
14696 SWIGINTERN PyObject *_wrap_VarHScrollHelper_RefreshColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14697 PyObject *resultobj = 0;
14698 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14699 size_t arg2 ;
14700 void *argp1 = 0 ;
14701 int res1 = 0 ;
14702 size_t val2 ;
14703 int ecode2 = 0 ;
14704 PyObject * obj0 = 0 ;
14705 PyObject * obj1 = 0 ;
14706 char * kwnames[] = {
14707 (char *) "self",(char *) "column", NULL
14708 };
14709
14710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_RefreshColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14712 if (!SWIG_IsOK(res1)) {
14713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14714 }
14715 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14716 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14717 if (!SWIG_IsOK(ecode2)) {
14718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "2"" of type '" "size_t""'");
14719 }
14720 arg2 = static_cast< size_t >(val2);
14721 {
14722 PyThreadState* __tstate = wxPyBeginAllowThreads();
14723 (arg1)->RefreshColumn(arg2);
14724 wxPyEndAllowThreads(__tstate);
14725 if (PyErr_Occurred()) SWIG_fail;
14726 }
14727 resultobj = SWIG_Py_Void();
14728 return resultobj;
14729 fail:
14730 return NULL;
14731 }
14732
14733
14734 SWIGINTERN PyObject *_wrap_VarHScrollHelper_RefreshColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14735 PyObject *resultobj = 0;
14736 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14737 size_t arg2 ;
14738 size_t arg3 ;
14739 void *argp1 = 0 ;
14740 int res1 = 0 ;
14741 size_t val2 ;
14742 int ecode2 = 0 ;
14743 size_t val3 ;
14744 int ecode3 = 0 ;
14745 PyObject * obj0 = 0 ;
14746 PyObject * obj1 = 0 ;
14747 PyObject * obj2 = 0 ;
14748 char * kwnames[] = {
14749 (char *) "self",(char *) "from",(char *) "to", NULL
14750 };
14751
14752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHScrollHelper_RefreshColumns",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14754 if (!SWIG_IsOK(res1)) {
14755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14756 }
14757 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14758 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14759 if (!SWIG_IsOK(ecode2)) {
14760 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "2"" of type '" "size_t""'");
14761 }
14762 arg2 = static_cast< size_t >(val2);
14763 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14764 if (!SWIG_IsOK(ecode3)) {
14765 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "3"" of type '" "size_t""'");
14766 }
14767 arg3 = static_cast< size_t >(val3);
14768 {
14769 PyThreadState* __tstate = wxPyBeginAllowThreads();
14770 (arg1)->RefreshColumns(arg2,arg3);
14771 wxPyEndAllowThreads(__tstate);
14772 if (PyErr_Occurred()) SWIG_fail;
14773 }
14774 resultobj = SWIG_Py_Void();
14775 return resultobj;
14776 fail:
14777 return NULL;
14778 }
14779
14780
14781 SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14782 PyObject *resultobj = 0;
14783 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14784 size_t result;
14785 void *argp1 = 0 ;
14786 int res1 = 0 ;
14787 PyObject *swig_obj[1] ;
14788
14789 if (!args) SWIG_fail;
14790 swig_obj[0] = args;
14791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14792 if (!SWIG_IsOK(res1)) {
14793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14794 }
14795 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14796 {
14797 PyThreadState* __tstate = wxPyBeginAllowThreads();
14798 result = (size_t)((wxVarHScrollHelper const *)arg1)->GetColumnCount();
14799 wxPyEndAllowThreads(__tstate);
14800 if (PyErr_Occurred()) SWIG_fail;
14801 }
14802 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14803 return resultobj;
14804 fail:
14805 return NULL;
14806 }
14807
14808
14809 SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetVisibleColumnsBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14810 PyObject *resultobj = 0;
14811 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14812 size_t result;
14813 void *argp1 = 0 ;
14814 int res1 = 0 ;
14815 PyObject *swig_obj[1] ;
14816
14817 if (!args) SWIG_fail;
14818 swig_obj[0] = args;
14819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14820 if (!SWIG_IsOK(res1)) {
14821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetVisibleColumnsBegin" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14822 }
14823 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14824 {
14825 PyThreadState* __tstate = wxPyBeginAllowThreads();
14826 result = (size_t)((wxVarHScrollHelper const *)arg1)->GetVisibleColumnsBegin();
14827 wxPyEndAllowThreads(__tstate);
14828 if (PyErr_Occurred()) SWIG_fail;
14829 }
14830 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14831 return resultobj;
14832 fail:
14833 return NULL;
14834 }
14835
14836
14837 SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetVisibleColumnsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14838 PyObject *resultobj = 0;
14839 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14840 size_t result;
14841 void *argp1 = 0 ;
14842 int res1 = 0 ;
14843 PyObject *swig_obj[1] ;
14844
14845 if (!args) SWIG_fail;
14846 swig_obj[0] = args;
14847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14848 if (!SWIG_IsOK(res1)) {
14849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetVisibleColumnsEnd" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14850 }
14851 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14852 {
14853 PyThreadState* __tstate = wxPyBeginAllowThreads();
14854 result = (size_t)((wxVarHScrollHelper const *)arg1)->GetVisibleColumnsEnd();
14855 wxPyEndAllowThreads(__tstate);
14856 if (PyErr_Occurred()) SWIG_fail;
14857 }
14858 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14859 return resultobj;
14860 fail:
14861 return NULL;
14862 }
14863
14864
14865 SWIGINTERN PyObject *_wrap_VarHScrollHelper_IsColumnVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14866 PyObject *resultobj = 0;
14867 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14868 size_t arg2 ;
14869 bool result;
14870 void *argp1 = 0 ;
14871 int res1 = 0 ;
14872 size_t val2 ;
14873 int ecode2 = 0 ;
14874 PyObject * obj0 = 0 ;
14875 PyObject * obj1 = 0 ;
14876 char * kwnames[] = {
14877 (char *) "self",(char *) "column", NULL
14878 };
14879
14880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_IsColumnVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14882 if (!SWIG_IsOK(res1)) {
14883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14884 }
14885 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14886 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14887 if (!SWIG_IsOK(ecode2)) {
14888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "2"" of type '" "size_t""'");
14889 }
14890 arg2 = static_cast< size_t >(val2);
14891 {
14892 PyThreadState* __tstate = wxPyBeginAllowThreads();
14893 result = (bool)((wxVarHScrollHelper const *)arg1)->IsColumnVisible(arg2);
14894 wxPyEndAllowThreads(__tstate);
14895 if (PyErr_Occurred()) SWIG_fail;
14896 }
14897 {
14898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14899 }
14900 return resultobj;
14901 fail:
14902 return NULL;
14903 }
14904
14905
14906 SWIGINTERN PyObject *VarHScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14907 PyObject *obj;
14908 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14909 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHScrollHelper, SWIG_NewClientData(obj));
14910 return SWIG_Py_Void();
14911 }
14912
14913 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_SetRowColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14914 PyObject *resultobj = 0;
14915 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14916 size_t arg2 ;
14917 size_t arg3 ;
14918 void *argp1 = 0 ;
14919 int res1 = 0 ;
14920 size_t val2 ;
14921 int ecode2 = 0 ;
14922 size_t val3 ;
14923 int ecode3 = 0 ;
14924 PyObject * obj0 = 0 ;
14925 PyObject * obj1 = 0 ;
14926 PyObject * obj2 = 0 ;
14927 char * kwnames[] = {
14928 (char *) "self",(char *) "rowCount",(char *) "columnCount", NULL
14929 };
14930
14931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHVScrollHelper_SetRowColumnCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
14933 if (!SWIG_IsOK(res1)) {
14934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14935 }
14936 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
14937 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14938 if (!SWIG_IsOK(ecode2)) {
14939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "2"" of type '" "size_t""'");
14940 }
14941 arg2 = static_cast< size_t >(val2);
14942 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14943 if (!SWIG_IsOK(ecode3)) {
14944 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "3"" of type '" "size_t""'");
14945 }
14946 arg3 = static_cast< size_t >(val3);
14947 {
14948 PyThreadState* __tstate = wxPyBeginAllowThreads();
14949 (arg1)->SetRowColumnCount(arg2,arg3);
14950 wxPyEndAllowThreads(__tstate);
14951 if (PyErr_Occurred()) SWIG_fail;
14952 }
14953 resultobj = SWIG_Py_Void();
14954 return resultobj;
14955 fail:
14956 return NULL;
14957 }
14958
14959
14960 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_EnablePhysicalScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14961 PyObject *resultobj = 0;
14962 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14963 bool arg2 = (bool) true ;
14964 bool arg3 = (bool) true ;
14965 void *argp1 = 0 ;
14966 int res1 = 0 ;
14967 bool val2 ;
14968 int ecode2 = 0 ;
14969 bool val3 ;
14970 int ecode3 = 0 ;
14971 PyObject * obj0 = 0 ;
14972 PyObject * obj1 = 0 ;
14973 PyObject * obj2 = 0 ;
14974 char * kwnames[] = {
14975 (char *) "self",(char *) "vscrolling",(char *) "hscrolling", NULL
14976 };
14977
14978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:VarHVScrollHelper_EnablePhysicalScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
14980 if (!SWIG_IsOK(res1)) {
14981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14982 }
14983 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
14984 if (obj1) {
14985 ecode2 = SWIG_AsVal_bool(obj1, &val2);
14986 if (!SWIG_IsOK(ecode2)) {
14987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'");
14988 }
14989 arg2 = static_cast< bool >(val2);
14990 }
14991 if (obj2) {
14992 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14993 if (!SWIG_IsOK(ecode3)) {
14994 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "3"" of type '" "bool""'");
14995 }
14996 arg3 = static_cast< bool >(val3);
14997 }
14998 {
14999 PyThreadState* __tstate = wxPyBeginAllowThreads();
15000 (arg1)->EnablePhysicalScrolling(arg2,arg3);
15001 wxPyEndAllowThreads(__tstate);
15002 if (PyErr_Occurred()) SWIG_fail;
15003 }
15004 resultobj = SWIG_Py_Void();
15005 return resultobj;
15006 fail:
15007 return NULL;
15008 }
15009
15010
15011 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_ScrollToRowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15012 PyObject *resultobj = 0;
15013 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15014 wxPosition *arg2 = 0 ;
15015 bool result;
15016 void *argp1 = 0 ;
15017 int res1 = 0 ;
15018 void *argp2 = 0 ;
15019 int res2 = 0 ;
15020 PyObject * obj0 = 0 ;
15021 PyObject * obj1 = 0 ;
15022 char * kwnames[] = {
15023 (char *) "self",(char *) "pos", NULL
15024 };
15025
15026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_ScrollToRowColumn",kwnames,&obj0,&obj1)) SWIG_fail;
15027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15028 if (!SWIG_IsOK(res1)) {
15029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15030 }
15031 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15032 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
15033 if (!SWIG_IsOK(res2)) {
15034 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15035 }
15036 if (!argp2) {
15037 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15038 }
15039 arg2 = reinterpret_cast< wxPosition * >(argp2);
15040 {
15041 PyThreadState* __tstate = wxPyBeginAllowThreads();
15042 result = (bool)(arg1)->ScrollToRowColumn((wxPosition const &)*arg2);
15043 wxPyEndAllowThreads(__tstate);
15044 if (PyErr_Occurred()) SWIG_fail;
15045 }
15046 {
15047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15048 }
15049 return resultobj;
15050 fail:
15051 return NULL;
15052 }
15053
15054
15055 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_RefreshRowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15056 PyObject *resultobj = 0;
15057 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15058 wxPosition *arg2 = 0 ;
15059 void *argp1 = 0 ;
15060 int res1 = 0 ;
15061 void *argp2 = 0 ;
15062 int res2 = 0 ;
15063 PyObject * obj0 = 0 ;
15064 PyObject * obj1 = 0 ;
15065 char * kwnames[] = {
15066 (char *) "self",(char *) "pos", NULL
15067 };
15068
15069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_RefreshRowColumn",kwnames,&obj0,&obj1)) SWIG_fail;
15070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15071 if (!SWIG_IsOK(res1)) {
15072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15073 }
15074 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15075 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
15076 if (!SWIG_IsOK(res2)) {
15077 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15078 }
15079 if (!argp2) {
15080 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15081 }
15082 arg2 = reinterpret_cast< wxPosition * >(argp2);
15083 {
15084 PyThreadState* __tstate = wxPyBeginAllowThreads();
15085 (arg1)->RefreshRowColumn((wxPosition const &)*arg2);
15086 wxPyEndAllowThreads(__tstate);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 }
15089 resultobj = SWIG_Py_Void();
15090 return resultobj;
15091 fail:
15092 return NULL;
15093 }
15094
15095
15096 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_RefreshRowsColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15097 PyObject *resultobj = 0;
15098 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15099 wxPosition *arg2 = 0 ;
15100 wxPosition *arg3 = 0 ;
15101 void *argp1 = 0 ;
15102 int res1 = 0 ;
15103 void *argp2 = 0 ;
15104 int res2 = 0 ;
15105 void *argp3 = 0 ;
15106 int res3 = 0 ;
15107 PyObject * obj0 = 0 ;
15108 PyObject * obj1 = 0 ;
15109 PyObject * obj2 = 0 ;
15110 char * kwnames[] = {
15111 (char *) "self",(char *) "from",(char *) "to", NULL
15112 };
15113
15114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHVScrollHelper_RefreshRowsColumns",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15116 if (!SWIG_IsOK(res1)) {
15117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15118 }
15119 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15120 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
15121 if (!SWIG_IsOK(res2)) {
15122 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'");
15123 }
15124 if (!argp2) {
15125 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'");
15126 }
15127 arg2 = reinterpret_cast< wxPosition * >(argp2);
15128 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPosition, 0 | 0);
15129 if (!SWIG_IsOK(res3)) {
15130 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'");
15131 }
15132 if (!argp3) {
15133 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'");
15134 }
15135 arg3 = reinterpret_cast< wxPosition * >(argp3);
15136 {
15137 PyThreadState* __tstate = wxPyBeginAllowThreads();
15138 (arg1)->RefreshRowsColumns((wxPosition const &)*arg2,(wxPosition const &)*arg3);
15139 wxPyEndAllowThreads(__tstate);
15140 if (PyErr_Occurred()) SWIG_fail;
15141 }
15142 resultobj = SWIG_Py_Void();
15143 return resultobj;
15144 fail:
15145 return NULL;
15146 }
15147
15148
15149 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15150 PyObject *resultobj = 0;
15151 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15152 wxPoint *arg2 = 0 ;
15153 wxPosition result;
15154 void *argp1 = 0 ;
15155 int res1 = 0 ;
15156 wxPoint temp2 ;
15157 PyObject * obj0 = 0 ;
15158 PyObject * obj1 = 0 ;
15159 char * kwnames[] = {
15160 (char *) "self",(char *) "pos", NULL
15161 };
15162
15163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
15164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15165 if (!SWIG_IsOK(res1)) {
15166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_HitTest" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15167 }
15168 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15169 {
15170 arg2 = &temp2;
15171 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15172 }
15173 {
15174 PyThreadState* __tstate = wxPyBeginAllowThreads();
15175 result = ((wxVarHVScrollHelper const *)arg1)->HitTest((wxPoint const &)*arg2);
15176 wxPyEndAllowThreads(__tstate);
15177 if (PyErr_Occurred()) SWIG_fail;
15178 }
15179 resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 );
15180 return resultobj;
15181 fail:
15182 return NULL;
15183 }
15184
15185
15186 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_ScrollLayout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15187 PyObject *resultobj = 0;
15188 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15189 bool result;
15190 void *argp1 = 0 ;
15191 int res1 = 0 ;
15192 PyObject *swig_obj[1] ;
15193
15194 if (!args) SWIG_fail;
15195 swig_obj[0] = args;
15196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15197 if (!SWIG_IsOK(res1)) {
15198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_ScrollLayout" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15199 }
15200 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15201 {
15202 PyThreadState* __tstate = wxPyBeginAllowThreads();
15203 result = (bool)(arg1)->ScrollLayout();
15204 wxPyEndAllowThreads(__tstate);
15205 if (PyErr_Occurred()) SWIG_fail;
15206 }
15207 {
15208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15209 }
15210 return resultobj;
15211 fail:
15212 return NULL;
15213 }
15214
15215
15216 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetRowColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15217 PyObject *resultobj = 0;
15218 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15219 wxSize result;
15220 void *argp1 = 0 ;
15221 int res1 = 0 ;
15222 PyObject *swig_obj[1] ;
15223
15224 if (!args) SWIG_fail;
15225 swig_obj[0] = args;
15226 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15227 if (!SWIG_IsOK(res1)) {
15228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15229 }
15230 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15231 {
15232 PyThreadState* __tstate = wxPyBeginAllowThreads();
15233 result = ((wxVarHVScrollHelper const *)arg1)->GetRowColumnCount();
15234 wxPyEndAllowThreads(__tstate);
15235 if (PyErr_Occurred()) SWIG_fail;
15236 }
15237 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
15238 return resultobj;
15239 fail:
15240 return NULL;
15241 }
15242
15243
15244 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15245 PyObject *resultobj = 0;
15246 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15247 wxPosition result;
15248 void *argp1 = 0 ;
15249 int res1 = 0 ;
15250 PyObject *swig_obj[1] ;
15251
15252 if (!args) SWIG_fail;
15253 swig_obj[0] = args;
15254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15255 if (!SWIG_IsOK(res1)) {
15256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15257 }
15258 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15259 {
15260 PyThreadState* __tstate = wxPyBeginAllowThreads();
15261 result = ((wxVarHVScrollHelper const *)arg1)->GetVisibleBegin();
15262 wxPyEndAllowThreads(__tstate);
15263 if (PyErr_Occurred()) SWIG_fail;
15264 }
15265 resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 );
15266 return resultobj;
15267 fail:
15268 return NULL;
15269 }
15270
15271
15272 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15273 PyObject *resultobj = 0;
15274 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15275 wxPosition result;
15276 void *argp1 = 0 ;
15277 int res1 = 0 ;
15278 PyObject *swig_obj[1] ;
15279
15280 if (!args) SWIG_fail;
15281 swig_obj[0] = args;
15282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15283 if (!SWIG_IsOK(res1)) {
15284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15285 }
15286 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15287 {
15288 PyThreadState* __tstate = wxPyBeginAllowThreads();
15289 result = ((wxVarHVScrollHelper const *)arg1)->GetVisibleEnd();
15290 wxPyEndAllowThreads(__tstate);
15291 if (PyErr_Occurred()) SWIG_fail;
15292 }
15293 resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 );
15294 return resultobj;
15295 fail:
15296 return NULL;
15297 }
15298
15299
15300 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15301 PyObject *resultobj = 0;
15302 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15303 wxPosition *arg2 = 0 ;
15304 bool result;
15305 void *argp1 = 0 ;
15306 int res1 = 0 ;
15307 void *argp2 = 0 ;
15308 int res2 = 0 ;
15309 PyObject * obj0 = 0 ;
15310 PyObject * obj1 = 0 ;
15311 char * kwnames[] = {
15312 (char *) "self",(char *) "pos", NULL
15313 };
15314
15315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
15316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15317 if (!SWIG_IsOK(res1)) {
15318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15319 }
15320 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15321 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
15322 if (!SWIG_IsOK(res2)) {
15323 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'");
15324 }
15325 if (!argp2) {
15326 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'");
15327 }
15328 arg2 = reinterpret_cast< wxPosition * >(argp2);
15329 {
15330 PyThreadState* __tstate = wxPyBeginAllowThreads();
15331 result = (bool)((wxVarHVScrollHelper const *)arg1)->IsVisible((wxPosition const &)*arg2);
15332 wxPyEndAllowThreads(__tstate);
15333 if (PyErr_Occurred()) SWIG_fail;
15334 }
15335 {
15336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15337 }
15338 return resultobj;
15339 fail:
15340 return NULL;
15341 }
15342
15343
15344 SWIGINTERN PyObject *VarHVScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15345 PyObject *obj;
15346 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15347 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHVScrollHelper, SWIG_NewClientData(obj));
15348 return SWIG_Py_Void();
15349 }
15350
15351 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15352 PyObject *resultobj = 0;
15353 wxWindow *arg1 = (wxWindow *) 0 ;
15354 int arg2 = (int) wxID_ANY ;
15355 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15356 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15357 wxSize const &arg4_defvalue = wxDefaultSize ;
15358 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15359 long arg5 = (long) 0 ;
15360 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15361 wxString *arg6 = (wxString *) &arg6_defvalue ;
15362 wxPyVScrolledWindow *result = 0 ;
15363 void *argp1 = 0 ;
15364 int res1 = 0 ;
15365 int val2 ;
15366 int ecode2 = 0 ;
15367 wxPoint temp3 ;
15368 wxSize temp4 ;
15369 long val5 ;
15370 int ecode5 = 0 ;
15371 bool temp6 = false ;
15372 PyObject * obj0 = 0 ;
15373 PyObject * obj1 = 0 ;
15374 PyObject * obj2 = 0 ;
15375 PyObject * obj3 = 0 ;
15376 PyObject * obj4 = 0 ;
15377 PyObject * obj5 = 0 ;
15378 char * kwnames[] = {
15379 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15380 };
15381
15382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15384 if (!SWIG_IsOK(res1)) {
15385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15386 }
15387 arg1 = reinterpret_cast< wxWindow * >(argp1);
15388 if (obj1) {
15389 ecode2 = SWIG_AsVal_int(obj1, &val2);
15390 if (!SWIG_IsOK(ecode2)) {
15391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15392 }
15393 arg2 = static_cast< int >(val2);
15394 }
15395 if (obj2) {
15396 {
15397 arg3 = &temp3;
15398 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15399 }
15400 }
15401 if (obj3) {
15402 {
15403 arg4 = &temp4;
15404 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15405 }
15406 }
15407 if (obj4) {
15408 ecode5 = SWIG_AsVal_long(obj4, &val5);
15409 if (!SWIG_IsOK(ecode5)) {
15410 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15411 }
15412 arg5 = static_cast< long >(val5);
15413 }
15414 if (obj5) {
15415 {
15416 arg6 = wxString_in_helper(obj5);
15417 if (arg6 == NULL) SWIG_fail;
15418 temp6 = true;
15419 }
15420 }
15421 {
15422 if (!wxPyCheckForApp()) SWIG_fail;
15423 PyThreadState* __tstate = wxPyBeginAllowThreads();
15424 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15425 wxPyEndAllowThreads(__tstate);
15426 if (PyErr_Occurred()) SWIG_fail;
15427 }
15428 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
15429 {
15430 if (temp6)
15431 delete arg6;
15432 }
15433 return resultobj;
15434 fail:
15435 {
15436 if (temp6)
15437 delete arg6;
15438 }
15439 return NULL;
15440 }
15441
15442
15443 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15444 PyObject *resultobj = 0;
15445 wxPyVScrolledWindow *result = 0 ;
15446
15447 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
15448 {
15449 if (!wxPyCheckForApp()) SWIG_fail;
15450 PyThreadState* __tstate = wxPyBeginAllowThreads();
15451 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
15452 wxPyEndAllowThreads(__tstate);
15453 if (PyErr_Occurred()) SWIG_fail;
15454 }
15455 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
15456 return resultobj;
15457 fail:
15458 return NULL;
15459 }
15460
15461
15462 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15463 PyObject *resultobj = 0;
15464 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15465 PyObject *arg2 = (PyObject *) 0 ;
15466 PyObject *arg3 = (PyObject *) 0 ;
15467 void *argp1 = 0 ;
15468 int res1 = 0 ;
15469 PyObject * obj0 = 0 ;
15470 PyObject * obj1 = 0 ;
15471 PyObject * obj2 = 0 ;
15472 char * kwnames[] = {
15473 (char *) "self",(char *) "self",(char *) "_class", NULL
15474 };
15475
15476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15478 if (!SWIG_IsOK(res1)) {
15479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
15480 }
15481 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15482 arg2 = obj1;
15483 arg3 = obj2;
15484 {
15485 PyThreadState* __tstate = wxPyBeginAllowThreads();
15486 (arg1)->_setCallbackInfo(arg2,arg3);
15487 wxPyEndAllowThreads(__tstate);
15488 if (PyErr_Occurred()) SWIG_fail;
15489 }
15490 resultobj = SWIG_Py_Void();
15491 return resultobj;
15492 fail:
15493 return NULL;
15494 }
15495
15496
15497 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15498 PyObject *resultobj = 0;
15499 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15500 wxWindow *arg2 = (wxWindow *) 0 ;
15501 int arg3 = (int) wxID_ANY ;
15502 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15503 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15504 wxSize const &arg5_defvalue = wxDefaultSize ;
15505 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15506 long arg6 = (long) 0 ;
15507 wxString const &arg7_defvalue = wxPyPanelNameStr ;
15508 wxString *arg7 = (wxString *) &arg7_defvalue ;
15509 bool result;
15510 void *argp1 = 0 ;
15511 int res1 = 0 ;
15512 void *argp2 = 0 ;
15513 int res2 = 0 ;
15514 int val3 ;
15515 int ecode3 = 0 ;
15516 wxPoint temp4 ;
15517 wxSize temp5 ;
15518 long val6 ;
15519 int ecode6 = 0 ;
15520 bool temp7 = false ;
15521 PyObject * obj0 = 0 ;
15522 PyObject * obj1 = 0 ;
15523 PyObject * obj2 = 0 ;
15524 PyObject * obj3 = 0 ;
15525 PyObject * obj4 = 0 ;
15526 PyObject * obj5 = 0 ;
15527 PyObject * obj6 = 0 ;
15528 char * kwnames[] = {
15529 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15530 };
15531
15532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) 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_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
15536 }
15537 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15538 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15539 if (!SWIG_IsOK(res2)) {
15540 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15541 }
15542 arg2 = reinterpret_cast< wxWindow * >(argp2);
15543 if (obj2) {
15544 ecode3 = SWIG_AsVal_int(obj2, &val3);
15545 if (!SWIG_IsOK(ecode3)) {
15546 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
15547 }
15548 arg3 = static_cast< int >(val3);
15549 }
15550 if (obj3) {
15551 {
15552 arg4 = &temp4;
15553 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15554 }
15555 }
15556 if (obj4) {
15557 {
15558 arg5 = &temp5;
15559 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15560 }
15561 }
15562 if (obj5) {
15563 ecode6 = SWIG_AsVal_long(obj5, &val6);
15564 if (!SWIG_IsOK(ecode6)) {
15565 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
15566 }
15567 arg6 = static_cast< long >(val6);
15568 }
15569 if (obj6) {
15570 {
15571 arg7 = wxString_in_helper(obj6);
15572 if (arg7 == NULL) SWIG_fail;
15573 temp7 = true;
15574 }
15575 }
15576 {
15577 PyThreadState* __tstate = wxPyBeginAllowThreads();
15578 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15579 wxPyEndAllowThreads(__tstate);
15580 if (PyErr_Occurred()) SWIG_fail;
15581 }
15582 {
15583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15584 }
15585 {
15586 if (temp7)
15587 delete arg7;
15588 }
15589 return resultobj;
15590 fail:
15591 {
15592 if (temp7)
15593 delete arg7;
15594 }
15595 return NULL;
15596 }
15597
15598
15599 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetRowsHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15600 PyObject *resultobj = 0;
15601 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15602 size_t arg2 ;
15603 size_t arg3 ;
15604 int result;
15605 void *argp1 = 0 ;
15606 int res1 = 0 ;
15607 size_t val2 ;
15608 int ecode2 = 0 ;
15609 size_t val3 ;
15610 int ecode3 = 0 ;
15611 PyObject * obj0 = 0 ;
15612 PyObject * obj1 = 0 ;
15613 PyObject * obj2 = 0 ;
15614 char * kwnames[] = {
15615 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
15616 };
15617
15618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetRowsHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15620 if (!SWIG_IsOK(res1)) {
15621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15622 }
15623 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15624 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15625 if (!SWIG_IsOK(ecode2)) {
15626 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'");
15627 }
15628 arg2 = static_cast< size_t >(val2);
15629 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15630 if (!SWIG_IsOK(ecode3)) {
15631 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'");
15632 }
15633 arg3 = static_cast< size_t >(val3);
15634 {
15635 PyThreadState* __tstate = wxPyBeginAllowThreads();
15636 result = (int)((wxPyVScrolledWindow const *)arg1)->GetRowsHeight(arg2,arg3);
15637 wxPyEndAllowThreads(__tstate);
15638 if (PyErr_Occurred()) SWIG_fail;
15639 }
15640 resultobj = SWIG_From_int(static_cast< int >(result));
15641 return resultobj;
15642 fail:
15643 return NULL;
15644 }
15645
15646
15647 SWIGINTERN PyObject *_wrap_VScrolledWindow_EstimateTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15648 PyObject *resultobj = 0;
15649 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15650 int result;
15651 void *argp1 = 0 ;
15652 int res1 = 0 ;
15653 PyObject *swig_obj[1] ;
15654
15655 if (!args) SWIG_fail;
15656 swig_obj[0] = args;
15657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15658 if (!SWIG_IsOK(res1)) {
15659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15660 }
15661 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15662 {
15663 PyThreadState* __tstate = wxPyBeginAllowThreads();
15664 result = (int)((wxPyVScrolledWindow const *)arg1)->EstimateTotalHeight();
15665 wxPyEndAllowThreads(__tstate);
15666 if (PyErr_Occurred()) SWIG_fail;
15667 }
15668 resultobj = SWIG_From_int(static_cast< int >(result));
15669 return resultobj;
15670 fail:
15671 return NULL;
15672 }
15673
15674
15675 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15676 PyObject *resultobj = 0;
15677 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15678 wxPoint *arg2 = 0 ;
15679 int result;
15680 void *argp1 = 0 ;
15681 int res1 = 0 ;
15682 wxPoint temp2 ;
15683 PyObject * obj0 = 0 ;
15684 PyObject * obj1 = 0 ;
15685 char * kwnames[] = {
15686 (char *) "self",(char *) "pt", NULL
15687 };
15688
15689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
15690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15691 if (!SWIG_IsOK(res1)) {
15692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15693 }
15694 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15695 {
15696 arg2 = &temp2;
15697 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15698 }
15699 {
15700 PyThreadState* __tstate = wxPyBeginAllowThreads();
15701 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
15702 wxPyEndAllowThreads(__tstate);
15703 if (PyErr_Occurred()) SWIG_fail;
15704 }
15705 resultobj = SWIG_From_int(static_cast< int >(result));
15706 return resultobj;
15707 fail:
15708 return NULL;
15709 }
15710
15711
15712 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15713 PyObject *obj;
15714 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15715 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
15716 return SWIG_Py_Void();
15717 }
15718
15719 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15720 return SWIG_Python_InitShadowInstance(args);
15721 }
15722
15723 SWIGINTERN PyObject *_wrap_new_HScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15724 PyObject *resultobj = 0;
15725 wxWindow *arg1 = (wxWindow *) 0 ;
15726 int arg2 = (int) wxID_ANY ;
15727 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15728 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15729 wxSize const &arg4_defvalue = wxDefaultSize ;
15730 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15731 long arg5 = (long) 0 ;
15732 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15733 wxString *arg6 = (wxString *) &arg6_defvalue ;
15734 wxPyHScrolledWindow *result = 0 ;
15735 void *argp1 = 0 ;
15736 int res1 = 0 ;
15737 int val2 ;
15738 int ecode2 = 0 ;
15739 wxPoint temp3 ;
15740 wxSize temp4 ;
15741 long val5 ;
15742 int ecode5 = 0 ;
15743 bool temp6 = false ;
15744 PyObject * obj0 = 0 ;
15745 PyObject * obj1 = 0 ;
15746 PyObject * obj2 = 0 ;
15747 PyObject * obj3 = 0 ;
15748 PyObject * obj4 = 0 ;
15749 PyObject * obj5 = 0 ;
15750 char * kwnames[] = {
15751 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15752 };
15753
15754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15756 if (!SWIG_IsOK(res1)) {
15757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15758 }
15759 arg1 = reinterpret_cast< wxWindow * >(argp1);
15760 if (obj1) {
15761 ecode2 = SWIG_AsVal_int(obj1, &val2);
15762 if (!SWIG_IsOK(ecode2)) {
15763 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15764 }
15765 arg2 = static_cast< int >(val2);
15766 }
15767 if (obj2) {
15768 {
15769 arg3 = &temp3;
15770 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15771 }
15772 }
15773 if (obj3) {
15774 {
15775 arg4 = &temp4;
15776 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15777 }
15778 }
15779 if (obj4) {
15780 ecode5 = SWIG_AsVal_long(obj4, &val5);
15781 if (!SWIG_IsOK(ecode5)) {
15782 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15783 }
15784 arg5 = static_cast< long >(val5);
15785 }
15786 if (obj5) {
15787 {
15788 arg6 = wxString_in_helper(obj5);
15789 if (arg6 == NULL) SWIG_fail;
15790 temp6 = true;
15791 }
15792 }
15793 {
15794 if (!wxPyCheckForApp()) SWIG_fail;
15795 PyThreadState* __tstate = wxPyBeginAllowThreads();
15796 result = (wxPyHScrolledWindow *)new wxPyHScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15797 wxPyEndAllowThreads(__tstate);
15798 if (PyErr_Occurred()) SWIG_fail;
15799 }
15800 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHScrolledWindow, SWIG_POINTER_NEW | 0 );
15801 {
15802 if (temp6)
15803 delete arg6;
15804 }
15805 return resultobj;
15806 fail:
15807 {
15808 if (temp6)
15809 delete arg6;
15810 }
15811 return NULL;
15812 }
15813
15814
15815 SWIGINTERN PyObject *_wrap_new_PreHScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15816 PyObject *resultobj = 0;
15817 wxPyHScrolledWindow *result = 0 ;
15818
15819 if (!SWIG_Python_UnpackTuple(args,"new_PreHScrolledWindow",0,0,0)) SWIG_fail;
15820 {
15821 if (!wxPyCheckForApp()) SWIG_fail;
15822 PyThreadState* __tstate = wxPyBeginAllowThreads();
15823 result = (wxPyHScrolledWindow *)new wxPyHScrolledWindow();
15824 wxPyEndAllowThreads(__tstate);
15825 if (PyErr_Occurred()) SWIG_fail;
15826 }
15827 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHScrolledWindow, SWIG_POINTER_OWN | 0 );
15828 return resultobj;
15829 fail:
15830 return NULL;
15831 }
15832
15833
15834 SWIGINTERN PyObject *_wrap_HScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15835 PyObject *resultobj = 0;
15836 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15837 PyObject *arg2 = (PyObject *) 0 ;
15838 PyObject *arg3 = (PyObject *) 0 ;
15839 void *argp1 = 0 ;
15840 int res1 = 0 ;
15841 PyObject * obj0 = 0 ;
15842 PyObject * obj1 = 0 ;
15843 PyObject * obj2 = 0 ;
15844 char * kwnames[] = {
15845 (char *) "self",(char *) "self",(char *) "_class", NULL
15846 };
15847
15848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
15850 if (!SWIG_IsOK(res1)) {
15851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'");
15852 }
15853 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
15854 arg2 = obj1;
15855 arg3 = obj2;
15856 {
15857 PyThreadState* __tstate = wxPyBeginAllowThreads();
15858 (arg1)->_setCallbackInfo(arg2,arg3);
15859 wxPyEndAllowThreads(__tstate);
15860 if (PyErr_Occurred()) SWIG_fail;
15861 }
15862 resultobj = SWIG_Py_Void();
15863 return resultobj;
15864 fail:
15865 return NULL;
15866 }
15867
15868
15869 SWIGINTERN PyObject *_wrap_HScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15870 PyObject *resultobj = 0;
15871 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15872 wxWindow *arg2 = (wxWindow *) 0 ;
15873 int arg3 = (int) wxID_ANY ;
15874 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15875 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15876 wxSize const &arg5_defvalue = wxDefaultSize ;
15877 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15878 long arg6 = (long) 0 ;
15879 wxString const &arg7_defvalue = wxPyPanelNameStr ;
15880 wxString *arg7 = (wxString *) &arg7_defvalue ;
15881 bool result;
15882 void *argp1 = 0 ;
15883 int res1 = 0 ;
15884 void *argp2 = 0 ;
15885 int res2 = 0 ;
15886 int val3 ;
15887 int ecode3 = 0 ;
15888 wxPoint temp4 ;
15889 wxSize temp5 ;
15890 long val6 ;
15891 int ecode6 = 0 ;
15892 bool temp7 = false ;
15893 PyObject * obj0 = 0 ;
15894 PyObject * obj1 = 0 ;
15895 PyObject * obj2 = 0 ;
15896 PyObject * obj3 = 0 ;
15897 PyObject * obj4 = 0 ;
15898 PyObject * obj5 = 0 ;
15899 PyObject * obj6 = 0 ;
15900 char * kwnames[] = {
15901 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15902 };
15903
15904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
15906 if (!SWIG_IsOK(res1)) {
15907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'");
15908 }
15909 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
15910 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15911 if (!SWIG_IsOK(res2)) {
15912 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15913 }
15914 arg2 = reinterpret_cast< wxWindow * >(argp2);
15915 if (obj2) {
15916 ecode3 = SWIG_AsVal_int(obj2, &val3);
15917 if (!SWIG_IsOK(ecode3)) {
15918 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
15919 }
15920 arg3 = static_cast< int >(val3);
15921 }
15922 if (obj3) {
15923 {
15924 arg4 = &temp4;
15925 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15926 }
15927 }
15928 if (obj4) {
15929 {
15930 arg5 = &temp5;
15931 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15932 }
15933 }
15934 if (obj5) {
15935 ecode6 = SWIG_AsVal_long(obj5, &val6);
15936 if (!SWIG_IsOK(ecode6)) {
15937 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
15938 }
15939 arg6 = static_cast< long >(val6);
15940 }
15941 if (obj6) {
15942 {
15943 arg7 = wxString_in_helper(obj6);
15944 if (arg7 == NULL) SWIG_fail;
15945 temp7 = true;
15946 }
15947 }
15948 {
15949 PyThreadState* __tstate = wxPyBeginAllowThreads();
15950 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15951 wxPyEndAllowThreads(__tstate);
15952 if (PyErr_Occurred()) SWIG_fail;
15953 }
15954 {
15955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15956 }
15957 {
15958 if (temp7)
15959 delete arg7;
15960 }
15961 return resultobj;
15962 fail:
15963 {
15964 if (temp7)
15965 delete arg7;
15966 }
15967 return NULL;
15968 }
15969
15970
15971 SWIGINTERN PyObject *_wrap_HScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15972 PyObject *resultobj = 0;
15973 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15974 wxPoint *arg2 = 0 ;
15975 int result;
15976 void *argp1 = 0 ;
15977 int res1 = 0 ;
15978 wxPoint temp2 ;
15979 PyObject * obj0 = 0 ;
15980 PyObject * obj1 = 0 ;
15981 char * kwnames[] = {
15982 (char *) "self",(char *) "pt", NULL
15983 };
15984
15985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
15986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
15987 if (!SWIG_IsOK(res1)) {
15988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
15989 }
15990 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
15991 {
15992 arg2 = &temp2;
15993 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15994 }
15995 {
15996 PyThreadState* __tstate = wxPyBeginAllowThreads();
15997 result = (int)((wxPyHScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
15998 wxPyEndAllowThreads(__tstate);
15999 if (PyErr_Occurred()) SWIG_fail;
16000 }
16001 resultobj = SWIG_From_int(static_cast< int >(result));
16002 return resultobj;
16003 fail:
16004 return NULL;
16005 }
16006
16007
16008 SWIGINTERN PyObject *_wrap_HScrolledWindow_GetColumnsWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16009 PyObject *resultobj = 0;
16010 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
16011 size_t arg2 ;
16012 size_t arg3 ;
16013 int result;
16014 void *argp1 = 0 ;
16015 int res1 = 0 ;
16016 size_t val2 ;
16017 int ecode2 = 0 ;
16018 size_t val3 ;
16019 int ecode3 = 0 ;
16020 PyObject * obj0 = 0 ;
16021 PyObject * obj1 = 0 ;
16022 PyObject * obj2 = 0 ;
16023 char * kwnames[] = {
16024 (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL
16025 };
16026
16027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HScrolledWindow_GetColumnsWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
16029 if (!SWIG_IsOK(res1)) {
16030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
16031 }
16032 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
16033 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16034 if (!SWIG_IsOK(ecode2)) {
16035 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'");
16036 }
16037 arg2 = static_cast< size_t >(val2);
16038 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
16039 if (!SWIG_IsOK(ecode3)) {
16040 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'");
16041 }
16042 arg3 = static_cast< size_t >(val3);
16043 {
16044 PyThreadState* __tstate = wxPyBeginAllowThreads();
16045 result = (int)((wxPyHScrolledWindow const *)arg1)->GetColumnsWidth(arg2,arg3);
16046 wxPyEndAllowThreads(__tstate);
16047 if (PyErr_Occurred()) SWIG_fail;
16048 }
16049 resultobj = SWIG_From_int(static_cast< int >(result));
16050 return resultobj;
16051 fail:
16052 return NULL;
16053 }
16054
16055
16056 SWIGINTERN PyObject *_wrap_HScrolledWindow_EstimateTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16057 PyObject *resultobj = 0;
16058 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
16059 int result;
16060 void *argp1 = 0 ;
16061 int res1 = 0 ;
16062 PyObject *swig_obj[1] ;
16063
16064 if (!args) SWIG_fail;
16065 swig_obj[0] = args;
16066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
16067 if (!SWIG_IsOK(res1)) {
16068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
16069 }
16070 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
16071 {
16072 PyThreadState* __tstate = wxPyBeginAllowThreads();
16073 result = (int)((wxPyHScrolledWindow const *)arg1)->EstimateTotalWidth();
16074 wxPyEndAllowThreads(__tstate);
16075 if (PyErr_Occurred()) SWIG_fail;
16076 }
16077 resultobj = SWIG_From_int(static_cast< int >(result));
16078 return resultobj;
16079 fail:
16080 return NULL;
16081 }
16082
16083
16084 SWIGINTERN PyObject *HScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16085 PyObject *obj;
16086 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16087 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHScrolledWindow, SWIG_NewClientData(obj));
16088 return SWIG_Py_Void();
16089 }
16090
16091 SWIGINTERN PyObject *HScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16092 return SWIG_Python_InitShadowInstance(args);
16093 }
16094
16095 SWIGINTERN PyObject *_wrap_new_HVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16096 PyObject *resultobj = 0;
16097 wxWindow *arg1 = (wxWindow *) 0 ;
16098 int arg2 = (int) wxID_ANY ;
16099 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16100 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16101 wxSize const &arg4_defvalue = wxDefaultSize ;
16102 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16103 long arg5 = (long) 0 ;
16104 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16105 wxString *arg6 = (wxString *) &arg6_defvalue ;
16106 wxPyHVScrolledWindow *result = 0 ;
16107 void *argp1 = 0 ;
16108 int res1 = 0 ;
16109 int val2 ;
16110 int ecode2 = 0 ;
16111 wxPoint temp3 ;
16112 wxSize temp4 ;
16113 long val5 ;
16114 int ecode5 = 0 ;
16115 bool temp6 = false ;
16116 PyObject * obj0 = 0 ;
16117 PyObject * obj1 = 0 ;
16118 PyObject * obj2 = 0 ;
16119 PyObject * obj3 = 0 ;
16120 PyObject * obj4 = 0 ;
16121 PyObject * obj5 = 0 ;
16122 char * kwnames[] = {
16123 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16124 };
16125
16126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HVScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
16127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16128 if (!SWIG_IsOK(res1)) {
16129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HVScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
16130 }
16131 arg1 = reinterpret_cast< wxWindow * >(argp1);
16132 if (obj1) {
16133 ecode2 = SWIG_AsVal_int(obj1, &val2);
16134 if (!SWIG_IsOK(ecode2)) {
16135 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HVScrolledWindow" "', expected argument " "2"" of type '" "int""'");
16136 }
16137 arg2 = static_cast< int >(val2);
16138 }
16139 if (obj2) {
16140 {
16141 arg3 = &temp3;
16142 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16143 }
16144 }
16145 if (obj3) {
16146 {
16147 arg4 = &temp4;
16148 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16149 }
16150 }
16151 if (obj4) {
16152 ecode5 = SWIG_AsVal_long(obj4, &val5);
16153 if (!SWIG_IsOK(ecode5)) {
16154 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HVScrolledWindow" "', expected argument " "5"" of type '" "long""'");
16155 }
16156 arg5 = static_cast< long >(val5);
16157 }
16158 if (obj5) {
16159 {
16160 arg6 = wxString_in_helper(obj5);
16161 if (arg6 == NULL) SWIG_fail;
16162 temp6 = true;
16163 }
16164 }
16165 {
16166 if (!wxPyCheckForApp()) SWIG_fail;
16167 PyThreadState* __tstate = wxPyBeginAllowThreads();
16168 result = (wxPyHVScrolledWindow *)new wxPyHVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16169 wxPyEndAllowThreads(__tstate);
16170 if (PyErr_Occurred()) SWIG_fail;
16171 }
16172 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_POINTER_NEW | 0 );
16173 {
16174 if (temp6)
16175 delete arg6;
16176 }
16177 return resultobj;
16178 fail:
16179 {
16180 if (temp6)
16181 delete arg6;
16182 }
16183 return NULL;
16184 }
16185
16186
16187 SWIGINTERN PyObject *_wrap_new_PreHVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16188 PyObject *resultobj = 0;
16189 wxPyHVScrolledWindow *result = 0 ;
16190
16191 if (!SWIG_Python_UnpackTuple(args,"new_PreHVScrolledWindow",0,0,0)) SWIG_fail;
16192 {
16193 if (!wxPyCheckForApp()) SWIG_fail;
16194 PyThreadState* __tstate = wxPyBeginAllowThreads();
16195 result = (wxPyHVScrolledWindow *)new wxPyHVScrolledWindow();
16196 wxPyEndAllowThreads(__tstate);
16197 if (PyErr_Occurred()) SWIG_fail;
16198 }
16199 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_POINTER_OWN | 0 );
16200 return resultobj;
16201 fail:
16202 return NULL;
16203 }
16204
16205
16206 SWIGINTERN PyObject *_wrap_HVScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16207 PyObject *resultobj = 0;
16208 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16209 PyObject *arg2 = (PyObject *) 0 ;
16210 PyObject *arg3 = (PyObject *) 0 ;
16211 void *argp1 = 0 ;
16212 int res1 = 0 ;
16213 PyObject * obj0 = 0 ;
16214 PyObject * obj1 = 0 ;
16215 PyObject * obj2 = 0 ;
16216 char * kwnames[] = {
16217 (char *) "self",(char *) "self",(char *) "_class", NULL
16218 };
16219
16220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16222 if (!SWIG_IsOK(res1)) {
16223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'");
16224 }
16225 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16226 arg2 = obj1;
16227 arg3 = obj2;
16228 {
16229 PyThreadState* __tstate = wxPyBeginAllowThreads();
16230 (arg1)->_setCallbackInfo(arg2,arg3);
16231 wxPyEndAllowThreads(__tstate);
16232 if (PyErr_Occurred()) SWIG_fail;
16233 }
16234 resultobj = SWIG_Py_Void();
16235 return resultobj;
16236 fail:
16237 return NULL;
16238 }
16239
16240
16241 SWIGINTERN PyObject *_wrap_HVScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16242 PyObject *resultobj = 0;
16243 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16244 wxWindow *arg2 = (wxWindow *) 0 ;
16245 int arg3 = (int) wxID_ANY ;
16246 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16247 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16248 wxSize const &arg5_defvalue = wxDefaultSize ;
16249 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16250 long arg6 = (long) 0 ;
16251 wxString const &arg7_defvalue = wxPyPanelNameStr ;
16252 wxString *arg7 = (wxString *) &arg7_defvalue ;
16253 bool result;
16254 void *argp1 = 0 ;
16255 int res1 = 0 ;
16256 void *argp2 = 0 ;
16257 int res2 = 0 ;
16258 int val3 ;
16259 int ecode3 = 0 ;
16260 wxPoint temp4 ;
16261 wxSize temp5 ;
16262 long val6 ;
16263 int ecode6 = 0 ;
16264 bool temp7 = false ;
16265 PyObject * obj0 = 0 ;
16266 PyObject * obj1 = 0 ;
16267 PyObject * obj2 = 0 ;
16268 PyObject * obj3 = 0 ;
16269 PyObject * obj4 = 0 ;
16270 PyObject * obj5 = 0 ;
16271 PyObject * obj6 = 0 ;
16272 char * kwnames[] = {
16273 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16274 };
16275
16276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HVScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16278 if (!SWIG_IsOK(res1)) {
16279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'");
16280 }
16281 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16282 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16283 if (!SWIG_IsOK(res2)) {
16284 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HVScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16285 }
16286 arg2 = reinterpret_cast< wxWindow * >(argp2);
16287 if (obj2) {
16288 ecode3 = SWIG_AsVal_int(obj2, &val3);
16289 if (!SWIG_IsOK(ecode3)) {
16290 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
16291 }
16292 arg3 = static_cast< int >(val3);
16293 }
16294 if (obj3) {
16295 {
16296 arg4 = &temp4;
16297 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16298 }
16299 }
16300 if (obj4) {
16301 {
16302 arg5 = &temp5;
16303 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16304 }
16305 }
16306 if (obj5) {
16307 ecode6 = SWIG_AsVal_long(obj5, &val6);
16308 if (!SWIG_IsOK(ecode6)) {
16309 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HVScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
16310 }
16311 arg6 = static_cast< long >(val6);
16312 }
16313 if (obj6) {
16314 {
16315 arg7 = wxString_in_helper(obj6);
16316 if (arg7 == NULL) SWIG_fail;
16317 temp7 = true;
16318 }
16319 }
16320 {
16321 PyThreadState* __tstate = wxPyBeginAllowThreads();
16322 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16323 wxPyEndAllowThreads(__tstate);
16324 if (PyErr_Occurred()) SWIG_fail;
16325 }
16326 {
16327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16328 }
16329 {
16330 if (temp7)
16331 delete arg7;
16332 }
16333 return resultobj;
16334 fail:
16335 {
16336 if (temp7)
16337 delete arg7;
16338 }
16339 return NULL;
16340 }
16341
16342
16343 SWIGINTERN PyObject *_wrap_HVScrolledWindow_GetRowsHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16344 PyObject *resultobj = 0;
16345 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16346 size_t arg2 ;
16347 size_t arg3 ;
16348 int result;
16349 void *argp1 = 0 ;
16350 int res1 = 0 ;
16351 size_t val2 ;
16352 int ecode2 = 0 ;
16353 size_t val3 ;
16354 int ecode3 = 0 ;
16355 PyObject * obj0 = 0 ;
16356 PyObject * obj1 = 0 ;
16357 PyObject * obj2 = 0 ;
16358 char * kwnames[] = {
16359 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
16360 };
16361
16362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow_GetRowsHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16364 if (!SWIG_IsOK(res1)) {
16365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16366 }
16367 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16368 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16369 if (!SWIG_IsOK(ecode2)) {
16370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'");
16371 }
16372 arg2 = static_cast< size_t >(val2);
16373 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
16374 if (!SWIG_IsOK(ecode3)) {
16375 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'");
16376 }
16377 arg3 = static_cast< size_t >(val3);
16378 {
16379 PyThreadState* __tstate = wxPyBeginAllowThreads();
16380 result = (int)((wxPyHVScrolledWindow const *)arg1)->GetRowsHeight(arg2,arg3);
16381 wxPyEndAllowThreads(__tstate);
16382 if (PyErr_Occurred()) SWIG_fail;
16383 }
16384 resultobj = SWIG_From_int(static_cast< int >(result));
16385 return resultobj;
16386 fail:
16387 return NULL;
16388 }
16389
16390
16391 SWIGINTERN PyObject *_wrap_HVScrolledWindow_EstimateTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16392 PyObject *resultobj = 0;
16393 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16394 int result;
16395 void *argp1 = 0 ;
16396 int res1 = 0 ;
16397 PyObject *swig_obj[1] ;
16398
16399 if (!args) SWIG_fail;
16400 swig_obj[0] = args;
16401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16402 if (!SWIG_IsOK(res1)) {
16403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16404 }
16405 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16406 {
16407 PyThreadState* __tstate = wxPyBeginAllowThreads();
16408 result = (int)((wxPyHVScrolledWindow const *)arg1)->EstimateTotalHeight();
16409 wxPyEndAllowThreads(__tstate);
16410 if (PyErr_Occurred()) SWIG_fail;
16411 }
16412 resultobj = SWIG_From_int(static_cast< int >(result));
16413 return resultobj;
16414 fail:
16415 return NULL;
16416 }
16417
16418
16419 SWIGINTERN PyObject *_wrap_HVScrolledWindow_GetColumnsWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16420 PyObject *resultobj = 0;
16421 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16422 size_t arg2 ;
16423 size_t arg3 ;
16424 int result;
16425 void *argp1 = 0 ;
16426 int res1 = 0 ;
16427 size_t val2 ;
16428 int ecode2 = 0 ;
16429 size_t val3 ;
16430 int ecode3 = 0 ;
16431 PyObject * obj0 = 0 ;
16432 PyObject * obj1 = 0 ;
16433 PyObject * obj2 = 0 ;
16434 char * kwnames[] = {
16435 (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL
16436 };
16437
16438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow_GetColumnsWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16440 if (!SWIG_IsOK(res1)) {
16441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16442 }
16443 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16444 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16445 if (!SWIG_IsOK(ecode2)) {
16446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'");
16447 }
16448 arg2 = static_cast< size_t >(val2);
16449 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
16450 if (!SWIG_IsOK(ecode3)) {
16451 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'");
16452 }
16453 arg3 = static_cast< size_t >(val3);
16454 {
16455 PyThreadState* __tstate = wxPyBeginAllowThreads();
16456 result = (int)((wxPyHVScrolledWindow const *)arg1)->GetColumnsWidth(arg2,arg3);
16457 wxPyEndAllowThreads(__tstate);
16458 if (PyErr_Occurred()) SWIG_fail;
16459 }
16460 resultobj = SWIG_From_int(static_cast< int >(result));
16461 return resultobj;
16462 fail:
16463 return NULL;
16464 }
16465
16466
16467 SWIGINTERN PyObject *_wrap_HVScrolledWindow_EstimateTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16468 PyObject *resultobj = 0;
16469 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16470 int result;
16471 void *argp1 = 0 ;
16472 int res1 = 0 ;
16473 PyObject *swig_obj[1] ;
16474
16475 if (!args) SWIG_fail;
16476 swig_obj[0] = args;
16477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16478 if (!SWIG_IsOK(res1)) {
16479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16480 }
16481 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16482 {
16483 PyThreadState* __tstate = wxPyBeginAllowThreads();
16484 result = (int)((wxPyHVScrolledWindow const *)arg1)->EstimateTotalWidth();
16485 wxPyEndAllowThreads(__tstate);
16486 if (PyErr_Occurred()) SWIG_fail;
16487 }
16488 resultobj = SWIG_From_int(static_cast< int >(result));
16489 return resultobj;
16490 fail:
16491 return NULL;
16492 }
16493
16494
16495 SWIGINTERN PyObject *HVScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16496 PyObject *obj;
16497 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16498 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_NewClientData(obj));
16499 return SWIG_Py_Void();
16500 }
16501
16502 SWIGINTERN PyObject *HVScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16503 return SWIG_Python_InitShadowInstance(args);
16504 }
16505
16506 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
16507 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
16508 return 1;
16509 }
16510
16511
16512 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
16513 PyObject *pyobj = 0;
16514
16515 {
16516 #if wxUSE_UNICODE
16517 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
16518 #else
16519 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
16520 #endif
16521 }
16522 return pyobj;
16523 }
16524
16525
16526 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16527 PyObject *resultobj = 0;
16528 wxWindow *arg1 = (wxWindow *) 0 ;
16529 int arg2 = (int) wxID_ANY ;
16530 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16531 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16532 wxSize const &arg4_defvalue = wxDefaultSize ;
16533 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16534 long arg5 = (long) 0 ;
16535 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
16536 wxString *arg6 = (wxString *) &arg6_defvalue ;
16537 wxPyVListBox *result = 0 ;
16538 void *argp1 = 0 ;
16539 int res1 = 0 ;
16540 int val2 ;
16541 int ecode2 = 0 ;
16542 wxPoint temp3 ;
16543 wxSize temp4 ;
16544 long val5 ;
16545 int ecode5 = 0 ;
16546 bool temp6 = false ;
16547 PyObject * obj0 = 0 ;
16548 PyObject * obj1 = 0 ;
16549 PyObject * obj2 = 0 ;
16550 PyObject * obj3 = 0 ;
16551 PyObject * obj4 = 0 ;
16552 PyObject * obj5 = 0 ;
16553 char * kwnames[] = {
16554 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16555 };
16556
16557 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
16558 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16559 if (!SWIG_IsOK(res1)) {
16560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16561 }
16562 arg1 = reinterpret_cast< wxWindow * >(argp1);
16563 if (obj1) {
16564 ecode2 = SWIG_AsVal_int(obj1, &val2);
16565 if (!SWIG_IsOK(ecode2)) {
16566 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
16567 }
16568 arg2 = static_cast< int >(val2);
16569 }
16570 if (obj2) {
16571 {
16572 arg3 = &temp3;
16573 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16574 }
16575 }
16576 if (obj3) {
16577 {
16578 arg4 = &temp4;
16579 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16580 }
16581 }
16582 if (obj4) {
16583 ecode5 = SWIG_AsVal_long(obj4, &val5);
16584 if (!SWIG_IsOK(ecode5)) {
16585 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
16586 }
16587 arg5 = static_cast< long >(val5);
16588 }
16589 if (obj5) {
16590 {
16591 arg6 = wxString_in_helper(obj5);
16592 if (arg6 == NULL) SWIG_fail;
16593 temp6 = true;
16594 }
16595 }
16596 {
16597 if (!wxPyCheckForApp()) SWIG_fail;
16598 PyThreadState* __tstate = wxPyBeginAllowThreads();
16599 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16600 wxPyEndAllowThreads(__tstate);
16601 if (PyErr_Occurred()) SWIG_fail;
16602 }
16603 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
16604 {
16605 if (temp6)
16606 delete arg6;
16607 }
16608 return resultobj;
16609 fail:
16610 {
16611 if (temp6)
16612 delete arg6;
16613 }
16614 return NULL;
16615 }
16616
16617
16618 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16619 PyObject *resultobj = 0;
16620 wxPyVListBox *result = 0 ;
16621
16622 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
16623 {
16624 if (!wxPyCheckForApp()) SWIG_fail;
16625 PyThreadState* __tstate = wxPyBeginAllowThreads();
16626 result = (wxPyVListBox *)new wxPyVListBox();
16627 wxPyEndAllowThreads(__tstate);
16628 if (PyErr_Occurred()) SWIG_fail;
16629 }
16630 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
16631 return resultobj;
16632 fail:
16633 return NULL;
16634 }
16635
16636
16637 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16638 PyObject *resultobj = 0;
16639 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16640 PyObject *arg2 = (PyObject *) 0 ;
16641 PyObject *arg3 = (PyObject *) 0 ;
16642 void *argp1 = 0 ;
16643 int res1 = 0 ;
16644 PyObject * obj0 = 0 ;
16645 PyObject * obj1 = 0 ;
16646 PyObject * obj2 = 0 ;
16647 char * kwnames[] = {
16648 (char *) "self",(char *) "self",(char *) "_class", NULL
16649 };
16650
16651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16653 if (!SWIG_IsOK(res1)) {
16654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16655 }
16656 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16657 arg2 = obj1;
16658 arg3 = obj2;
16659 {
16660 PyThreadState* __tstate = wxPyBeginAllowThreads();
16661 (arg1)->_setCallbackInfo(arg2,arg3);
16662 wxPyEndAllowThreads(__tstate);
16663 if (PyErr_Occurred()) SWIG_fail;
16664 }
16665 resultobj = SWIG_Py_Void();
16666 return resultobj;
16667 fail:
16668 return NULL;
16669 }
16670
16671
16672 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16673 PyObject *resultobj = 0;
16674 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16675 wxWindow *arg2 = (wxWindow *) 0 ;
16676 int arg3 = (int) wxID_ANY ;
16677 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16678 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16679 wxSize const &arg5_defvalue = wxDefaultSize ;
16680 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16681 long arg6 = (long) 0 ;
16682 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
16683 wxString *arg7 = (wxString *) &arg7_defvalue ;
16684 bool result;
16685 void *argp1 = 0 ;
16686 int res1 = 0 ;
16687 void *argp2 = 0 ;
16688 int res2 = 0 ;
16689 int val3 ;
16690 int ecode3 = 0 ;
16691 wxPoint temp4 ;
16692 wxSize temp5 ;
16693 long val6 ;
16694 int ecode6 = 0 ;
16695 bool temp7 = false ;
16696 PyObject * obj0 = 0 ;
16697 PyObject * obj1 = 0 ;
16698 PyObject * obj2 = 0 ;
16699 PyObject * obj3 = 0 ;
16700 PyObject * obj4 = 0 ;
16701 PyObject * obj5 = 0 ;
16702 PyObject * obj6 = 0 ;
16703 char * kwnames[] = {
16704 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16705 };
16706
16707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16709 if (!SWIG_IsOK(res1)) {
16710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16711 }
16712 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16713 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16714 if (!SWIG_IsOK(res2)) {
16715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16716 }
16717 arg2 = reinterpret_cast< wxWindow * >(argp2);
16718 if (obj2) {
16719 ecode3 = SWIG_AsVal_int(obj2, &val3);
16720 if (!SWIG_IsOK(ecode3)) {
16721 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
16722 }
16723 arg3 = static_cast< int >(val3);
16724 }
16725 if (obj3) {
16726 {
16727 arg4 = &temp4;
16728 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16729 }
16730 }
16731 if (obj4) {
16732 {
16733 arg5 = &temp5;
16734 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16735 }
16736 }
16737 if (obj5) {
16738 ecode6 = SWIG_AsVal_long(obj5, &val6);
16739 if (!SWIG_IsOK(ecode6)) {
16740 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
16741 }
16742 arg6 = static_cast< long >(val6);
16743 }
16744 if (obj6) {
16745 {
16746 arg7 = wxString_in_helper(obj6);
16747 if (arg7 == NULL) SWIG_fail;
16748 temp7 = true;
16749 }
16750 }
16751 {
16752 PyThreadState* __tstate = wxPyBeginAllowThreads();
16753 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16754 wxPyEndAllowThreads(__tstate);
16755 if (PyErr_Occurred()) SWIG_fail;
16756 }
16757 {
16758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16759 }
16760 {
16761 if (temp7)
16762 delete arg7;
16763 }
16764 return resultobj;
16765 fail:
16766 {
16767 if (temp7)
16768 delete arg7;
16769 }
16770 return NULL;
16771 }
16772
16773
16774 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16775 PyObject *resultobj = 0;
16776 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16777 size_t result;
16778 void *argp1 = 0 ;
16779 int res1 = 0 ;
16780 PyObject *swig_obj[1] ;
16781
16782 if (!args) SWIG_fail;
16783 swig_obj[0] = args;
16784 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16785 if (!SWIG_IsOK(res1)) {
16786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16787 }
16788 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16789 {
16790 PyThreadState* __tstate = wxPyBeginAllowThreads();
16791 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
16792 wxPyEndAllowThreads(__tstate);
16793 if (PyErr_Occurred()) SWIG_fail;
16794 }
16795 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
16796 return resultobj;
16797 fail:
16798 return NULL;
16799 }
16800
16801
16802 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16803 PyObject *resultobj = 0;
16804 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16805 bool result;
16806 void *argp1 = 0 ;
16807 int res1 = 0 ;
16808 PyObject *swig_obj[1] ;
16809
16810 if (!args) SWIG_fail;
16811 swig_obj[0] = args;
16812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16813 if (!SWIG_IsOK(res1)) {
16814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16815 }
16816 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16817 {
16818 PyThreadState* __tstate = wxPyBeginAllowThreads();
16819 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
16820 wxPyEndAllowThreads(__tstate);
16821 if (PyErr_Occurred()) SWIG_fail;
16822 }
16823 {
16824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16825 }
16826 return resultobj;
16827 fail:
16828 return NULL;
16829 }
16830
16831
16832 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16833 PyObject *resultobj = 0;
16834 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16835 int result;
16836 void *argp1 = 0 ;
16837 int res1 = 0 ;
16838 PyObject *swig_obj[1] ;
16839
16840 if (!args) SWIG_fail;
16841 swig_obj[0] = args;
16842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16843 if (!SWIG_IsOK(res1)) {
16844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16845 }
16846 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16847 {
16848 PyThreadState* __tstate = wxPyBeginAllowThreads();
16849 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
16850 wxPyEndAllowThreads(__tstate);
16851 if (PyErr_Occurred()) SWIG_fail;
16852 }
16853 resultobj = SWIG_From_int(static_cast< int >(result));
16854 return resultobj;
16855 fail:
16856 return NULL;
16857 }
16858
16859
16860 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16861 PyObject *resultobj = 0;
16862 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16863 size_t arg2 ;
16864 bool result;
16865 void *argp1 = 0 ;
16866 int res1 = 0 ;
16867 size_t val2 ;
16868 int ecode2 = 0 ;
16869 PyObject * obj0 = 0 ;
16870 PyObject * obj1 = 0 ;
16871 char * kwnames[] = {
16872 (char *) "self",(char *) "item", NULL
16873 };
16874
16875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
16876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16877 if (!SWIG_IsOK(res1)) {
16878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16879 }
16880 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16881 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16882 if (!SWIG_IsOK(ecode2)) {
16883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
16884 }
16885 arg2 = static_cast< size_t >(val2);
16886 {
16887 PyThreadState* __tstate = wxPyBeginAllowThreads();
16888 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
16889 wxPyEndAllowThreads(__tstate);
16890 if (PyErr_Occurred()) SWIG_fail;
16891 }
16892 {
16893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16894 }
16895 return resultobj;
16896 fail:
16897 return NULL;
16898 }
16899
16900
16901 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16902 PyObject *resultobj = 0;
16903 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16904 size_t arg2 ;
16905 bool result;
16906 void *argp1 = 0 ;
16907 int res1 = 0 ;
16908 size_t val2 ;
16909 int ecode2 = 0 ;
16910 PyObject * obj0 = 0 ;
16911 PyObject * obj1 = 0 ;
16912 char * kwnames[] = {
16913 (char *) "self",(char *) "item", NULL
16914 };
16915
16916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
16917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16918 if (!SWIG_IsOK(res1)) {
16919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16920 }
16921 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16922 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16923 if (!SWIG_IsOK(ecode2)) {
16924 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
16925 }
16926 arg2 = static_cast< size_t >(val2);
16927 {
16928 PyThreadState* __tstate = wxPyBeginAllowThreads();
16929 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
16930 wxPyEndAllowThreads(__tstate);
16931 if (PyErr_Occurred()) SWIG_fail;
16932 }
16933 {
16934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16935 }
16936 return resultobj;
16937 fail:
16938 return NULL;
16939 }
16940
16941
16942 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16943 PyObject *resultobj = 0;
16944 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16945 size_t result;
16946 void *argp1 = 0 ;
16947 int res1 = 0 ;
16948 PyObject *swig_obj[1] ;
16949
16950 if (!args) SWIG_fail;
16951 swig_obj[0] = args;
16952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16953 if (!SWIG_IsOK(res1)) {
16954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16955 }
16956 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16957 {
16958 PyThreadState* __tstate = wxPyBeginAllowThreads();
16959 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
16960 wxPyEndAllowThreads(__tstate);
16961 if (PyErr_Occurred()) SWIG_fail;
16962 }
16963 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
16964 return resultobj;
16965 fail:
16966 return NULL;
16967 }
16968
16969
16970 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16971 PyObject *resultobj = 0;
16972 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16973 PyObject *result = 0 ;
16974 void *argp1 = 0 ;
16975 int res1 = 0 ;
16976 PyObject *swig_obj[1] ;
16977
16978 if (!args) SWIG_fail;
16979 swig_obj[0] = args;
16980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16981 if (!SWIG_IsOK(res1)) {
16982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16983 }
16984 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16985 {
16986 PyThreadState* __tstate = wxPyBeginAllowThreads();
16987 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
16988 wxPyEndAllowThreads(__tstate);
16989 if (PyErr_Occurred()) SWIG_fail;
16990 }
16991 resultobj = result;
16992 return resultobj;
16993 fail:
16994 return NULL;
16995 }
16996
16997
16998 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16999 PyObject *resultobj = 0;
17000 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17001 unsigned long arg2 ;
17002 PyObject *result = 0 ;
17003 void *argp1 = 0 ;
17004 int res1 = 0 ;
17005 unsigned long val2 ;
17006 int ecode2 = 0 ;
17007 PyObject * obj0 = 0 ;
17008 PyObject * obj1 = 0 ;
17009 char * kwnames[] = {
17010 (char *) "self",(char *) "cookie", NULL
17011 };
17012
17013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
17014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17015 if (!SWIG_IsOK(res1)) {
17016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17017 }
17018 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17019 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
17020 if (!SWIG_IsOK(ecode2)) {
17021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
17022 }
17023 arg2 = static_cast< unsigned long >(val2);
17024 {
17025 PyThreadState* __tstate = wxPyBeginAllowThreads();
17026 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
17027 wxPyEndAllowThreads(__tstate);
17028 if (PyErr_Occurred()) SWIG_fail;
17029 }
17030 resultobj = result;
17031 return resultobj;
17032 fail:
17033 return NULL;
17034 }
17035
17036
17037 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17038 PyObject *resultobj = 0;
17039 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17040 wxPoint result;
17041 void *argp1 = 0 ;
17042 int res1 = 0 ;
17043 PyObject *swig_obj[1] ;
17044
17045 if (!args) SWIG_fail;
17046 swig_obj[0] = args;
17047 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17048 if (!SWIG_IsOK(res1)) {
17049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17050 }
17051 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17052 {
17053 PyThreadState* __tstate = wxPyBeginAllowThreads();
17054 result = ((wxPyVListBox const *)arg1)->GetMargins();
17055 wxPyEndAllowThreads(__tstate);
17056 if (PyErr_Occurred()) SWIG_fail;
17057 }
17058 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
17059 return resultobj;
17060 fail:
17061 return NULL;
17062 }
17063
17064
17065 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17066 PyObject *resultobj = 0;
17067 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17068 wxColour *result = 0 ;
17069 void *argp1 = 0 ;
17070 int res1 = 0 ;
17071 PyObject *swig_obj[1] ;
17072
17073 if (!args) SWIG_fail;
17074 swig_obj[0] = args;
17075 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17076 if (!SWIG_IsOK(res1)) {
17077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17078 }
17079 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17080 {
17081 PyThreadState* __tstate = wxPyBeginAllowThreads();
17082 {
17083 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
17084 result = (wxColour *) &_result_ref;
17085 }
17086 wxPyEndAllowThreads(__tstate);
17087 if (PyErr_Occurred()) SWIG_fail;
17088 }
17089 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
17090 return resultobj;
17091 fail:
17092 return NULL;
17093 }
17094
17095
17096 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17097 PyObject *resultobj = 0;
17098 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17099 size_t arg2 ;
17100 void *argp1 = 0 ;
17101 int res1 = 0 ;
17102 size_t val2 ;
17103 int ecode2 = 0 ;
17104 PyObject * obj0 = 0 ;
17105 PyObject * obj1 = 0 ;
17106 char * kwnames[] = {
17107 (char *) "self",(char *) "count", NULL
17108 };
17109
17110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
17111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17112 if (!SWIG_IsOK(res1)) {
17113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17114 }
17115 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17116 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17117 if (!SWIG_IsOK(ecode2)) {
17118 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
17119 }
17120 arg2 = static_cast< size_t >(val2);
17121 {
17122 PyThreadState* __tstate = wxPyBeginAllowThreads();
17123 (arg1)->SetItemCount(arg2);
17124 wxPyEndAllowThreads(__tstate);
17125 if (PyErr_Occurred()) SWIG_fail;
17126 }
17127 resultobj = SWIG_Py_Void();
17128 return resultobj;
17129 fail:
17130 return NULL;
17131 }
17132
17133
17134 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17135 PyObject *resultobj = 0;
17136 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17137 void *argp1 = 0 ;
17138 int res1 = 0 ;
17139 PyObject *swig_obj[1] ;
17140
17141 if (!args) SWIG_fail;
17142 swig_obj[0] = args;
17143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17144 if (!SWIG_IsOK(res1)) {
17145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17146 }
17147 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17148 {
17149 PyThreadState* __tstate = wxPyBeginAllowThreads();
17150 (arg1)->Clear();
17151 wxPyEndAllowThreads(__tstate);
17152 if (PyErr_Occurred()) SWIG_fail;
17153 }
17154 resultobj = SWIG_Py_Void();
17155 return resultobj;
17156 fail:
17157 return NULL;
17158 }
17159
17160
17161 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17162 PyObject *resultobj = 0;
17163 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17164 int arg2 ;
17165 void *argp1 = 0 ;
17166 int res1 = 0 ;
17167 int val2 ;
17168 int ecode2 = 0 ;
17169 PyObject * obj0 = 0 ;
17170 PyObject * obj1 = 0 ;
17171 char * kwnames[] = {
17172 (char *) "self",(char *) "selection", NULL
17173 };
17174
17175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
17176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17177 if (!SWIG_IsOK(res1)) {
17178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17179 }
17180 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17181 ecode2 = SWIG_AsVal_int(obj1, &val2);
17182 if (!SWIG_IsOK(ecode2)) {
17183 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
17184 }
17185 arg2 = static_cast< int >(val2);
17186 {
17187 PyThreadState* __tstate = wxPyBeginAllowThreads();
17188 (arg1)->SetSelection(arg2);
17189 wxPyEndAllowThreads(__tstate);
17190 if (PyErr_Occurred()) SWIG_fail;
17191 }
17192 resultobj = SWIG_Py_Void();
17193 return resultobj;
17194 fail:
17195 return NULL;
17196 }
17197
17198
17199 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17200 PyObject *resultobj = 0;
17201 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17202 size_t arg2 ;
17203 bool arg3 = (bool) true ;
17204 bool result;
17205 void *argp1 = 0 ;
17206 int res1 = 0 ;
17207 size_t val2 ;
17208 int ecode2 = 0 ;
17209 bool val3 ;
17210 int ecode3 = 0 ;
17211 PyObject * obj0 = 0 ;
17212 PyObject * obj1 = 0 ;
17213 PyObject * obj2 = 0 ;
17214 char * kwnames[] = {
17215 (char *) "self",(char *) "item",(char *) "select", NULL
17216 };
17217
17218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17220 if (!SWIG_IsOK(res1)) {
17221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17222 }
17223 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17224 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17225 if (!SWIG_IsOK(ecode2)) {
17226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
17227 }
17228 arg2 = static_cast< size_t >(val2);
17229 if (obj2) {
17230 ecode3 = SWIG_AsVal_bool(obj2, &val3);
17231 if (!SWIG_IsOK(ecode3)) {
17232 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
17233 }
17234 arg3 = static_cast< bool >(val3);
17235 }
17236 {
17237 PyThreadState* __tstate = wxPyBeginAllowThreads();
17238 result = (bool)(arg1)->Select(arg2,arg3);
17239 wxPyEndAllowThreads(__tstate);
17240 if (PyErr_Occurred()) SWIG_fail;
17241 }
17242 {
17243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17244 }
17245 return resultobj;
17246 fail:
17247 return NULL;
17248 }
17249
17250
17251 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17252 PyObject *resultobj = 0;
17253 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17254 size_t arg2 ;
17255 size_t arg3 ;
17256 bool result;
17257 void *argp1 = 0 ;
17258 int res1 = 0 ;
17259 size_t val2 ;
17260 int ecode2 = 0 ;
17261 size_t val3 ;
17262 int ecode3 = 0 ;
17263 PyObject * obj0 = 0 ;
17264 PyObject * obj1 = 0 ;
17265 PyObject * obj2 = 0 ;
17266 char * kwnames[] = {
17267 (char *) "self",(char *) "from",(char *) "to", NULL
17268 };
17269
17270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17272 if (!SWIG_IsOK(res1)) {
17273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17274 }
17275 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17276 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17277 if (!SWIG_IsOK(ecode2)) {
17278 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
17279 }
17280 arg2 = static_cast< size_t >(val2);
17281 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
17282 if (!SWIG_IsOK(ecode3)) {
17283 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
17284 }
17285 arg3 = static_cast< size_t >(val3);
17286 {
17287 PyThreadState* __tstate = wxPyBeginAllowThreads();
17288 result = (bool)(arg1)->SelectRange(arg2,arg3);
17289 wxPyEndAllowThreads(__tstate);
17290 if (PyErr_Occurred()) SWIG_fail;
17291 }
17292 {
17293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17294 }
17295 return resultobj;
17296 fail:
17297 return NULL;
17298 }
17299
17300
17301 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17302 PyObject *resultobj = 0;
17303 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17304 size_t arg2 ;
17305 void *argp1 = 0 ;
17306 int res1 = 0 ;
17307 size_t val2 ;
17308 int ecode2 = 0 ;
17309 PyObject * obj0 = 0 ;
17310 PyObject * obj1 = 0 ;
17311 char * kwnames[] = {
17312 (char *) "self",(char *) "item", NULL
17313 };
17314
17315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
17316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17317 if (!SWIG_IsOK(res1)) {
17318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17319 }
17320 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17321 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17322 if (!SWIG_IsOK(ecode2)) {
17323 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
17324 }
17325 arg2 = static_cast< size_t >(val2);
17326 {
17327 PyThreadState* __tstate = wxPyBeginAllowThreads();
17328 (arg1)->Toggle(arg2);
17329 wxPyEndAllowThreads(__tstate);
17330 if (PyErr_Occurred()) SWIG_fail;
17331 }
17332 resultobj = SWIG_Py_Void();
17333 return resultobj;
17334 fail:
17335 return NULL;
17336 }
17337
17338
17339 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17340 PyObject *resultobj = 0;
17341 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17342 bool result;
17343 void *argp1 = 0 ;
17344 int res1 = 0 ;
17345 PyObject *swig_obj[1] ;
17346
17347 if (!args) SWIG_fail;
17348 swig_obj[0] = args;
17349 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17350 if (!SWIG_IsOK(res1)) {
17351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17352 }
17353 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17354 {
17355 PyThreadState* __tstate = wxPyBeginAllowThreads();
17356 result = (bool)(arg1)->SelectAll();
17357 wxPyEndAllowThreads(__tstate);
17358 if (PyErr_Occurred()) SWIG_fail;
17359 }
17360 {
17361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17362 }
17363 return resultobj;
17364 fail:
17365 return NULL;
17366 }
17367
17368
17369 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17370 PyObject *resultobj = 0;
17371 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17372 bool result;
17373 void *argp1 = 0 ;
17374 int res1 = 0 ;
17375 PyObject *swig_obj[1] ;
17376
17377 if (!args) SWIG_fail;
17378 swig_obj[0] = args;
17379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17380 if (!SWIG_IsOK(res1)) {
17381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17382 }
17383 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17384 {
17385 PyThreadState* __tstate = wxPyBeginAllowThreads();
17386 result = (bool)(arg1)->DeselectAll();
17387 wxPyEndAllowThreads(__tstate);
17388 if (PyErr_Occurred()) SWIG_fail;
17389 }
17390 {
17391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17392 }
17393 return resultobj;
17394 fail:
17395 return NULL;
17396 }
17397
17398
17399 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17400 PyObject *resultobj = 0;
17401 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17402 wxPoint *arg2 = 0 ;
17403 void *argp1 = 0 ;
17404 int res1 = 0 ;
17405 wxPoint temp2 ;
17406 PyObject * obj0 = 0 ;
17407 PyObject * obj1 = 0 ;
17408 char * kwnames[] = {
17409 (char *) "self",(char *) "pt", NULL
17410 };
17411
17412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
17413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17414 if (!SWIG_IsOK(res1)) {
17415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17416 }
17417 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17418 {
17419 arg2 = &temp2;
17420 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17421 }
17422 {
17423 PyThreadState* __tstate = wxPyBeginAllowThreads();
17424 (arg1)->SetMargins((wxPoint const &)*arg2);
17425 wxPyEndAllowThreads(__tstate);
17426 if (PyErr_Occurred()) SWIG_fail;
17427 }
17428 resultobj = SWIG_Py_Void();
17429 return resultobj;
17430 fail:
17431 return NULL;
17432 }
17433
17434
17435 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17436 PyObject *resultobj = 0;
17437 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17438 int arg2 ;
17439 int arg3 ;
17440 void *argp1 = 0 ;
17441 int res1 = 0 ;
17442 int val2 ;
17443 int ecode2 = 0 ;
17444 int val3 ;
17445 int ecode3 = 0 ;
17446 PyObject * obj0 = 0 ;
17447 PyObject * obj1 = 0 ;
17448 PyObject * obj2 = 0 ;
17449 char * kwnames[] = {
17450 (char *) "self",(char *) "x",(char *) "y", NULL
17451 };
17452
17453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17455 if (!SWIG_IsOK(res1)) {
17456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17457 }
17458 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17459 ecode2 = SWIG_AsVal_int(obj1, &val2);
17460 if (!SWIG_IsOK(ecode2)) {
17461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
17462 }
17463 arg2 = static_cast< int >(val2);
17464 ecode3 = SWIG_AsVal_int(obj2, &val3);
17465 if (!SWIG_IsOK(ecode3)) {
17466 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
17467 }
17468 arg3 = static_cast< int >(val3);
17469 {
17470 PyThreadState* __tstate = wxPyBeginAllowThreads();
17471 (arg1)->SetMargins(arg2,arg3);
17472 wxPyEndAllowThreads(__tstate);
17473 if (PyErr_Occurred()) SWIG_fail;
17474 }
17475 resultobj = SWIG_Py_Void();
17476 return resultobj;
17477 fail:
17478 return NULL;
17479 }
17480
17481
17482 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17483 PyObject *resultobj = 0;
17484 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17485 wxColour *arg2 = 0 ;
17486 void *argp1 = 0 ;
17487 int res1 = 0 ;
17488 wxColour temp2 ;
17489 PyObject * obj0 = 0 ;
17490 PyObject * obj1 = 0 ;
17491 char * kwnames[] = {
17492 (char *) "self",(char *) "col", NULL
17493 };
17494
17495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
17496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17497 if (!SWIG_IsOK(res1)) {
17498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17499 }
17500 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17501 {
17502 arg2 = &temp2;
17503 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17504 }
17505 {
17506 PyThreadState* __tstate = wxPyBeginAllowThreads();
17507 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
17508 wxPyEndAllowThreads(__tstate);
17509 if (PyErr_Occurred()) SWIG_fail;
17510 }
17511 resultobj = SWIG_Py_Void();
17512 return resultobj;
17513 fail:
17514 return NULL;
17515 }
17516
17517
17518 SWIGINTERN PyObject *_wrap_VListBox_RefreshSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17519 PyObject *resultobj = 0;
17520 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17521 void *argp1 = 0 ;
17522 int res1 = 0 ;
17523 PyObject *swig_obj[1] ;
17524
17525 if (!args) SWIG_fail;
17526 swig_obj[0] = args;
17527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17528 if (!SWIG_IsOK(res1)) {
17529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_RefreshSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17530 }
17531 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17532 {
17533 PyThreadState* __tstate = wxPyBeginAllowThreads();
17534 (arg1)->RefreshSelected();
17535 wxPyEndAllowThreads(__tstate);
17536 if (PyErr_Occurred()) SWIG_fail;
17537 }
17538 resultobj = SWIG_Py_Void();
17539 return resultobj;
17540 fail:
17541 return NULL;
17542 }
17543
17544
17545 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17546 PyObject *resultobj = 0;
17547 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17548 wxDC *arg2 = 0 ;
17549 wxRect *arg3 = 0 ;
17550 size_t arg4 ;
17551 void *argp1 = 0 ;
17552 int res1 = 0 ;
17553 void *argp2 = 0 ;
17554 int res2 = 0 ;
17555 wxRect temp3 ;
17556 size_t val4 ;
17557 int ecode4 = 0 ;
17558 PyObject * obj0 = 0 ;
17559 PyObject * obj1 = 0 ;
17560 PyObject * obj2 = 0 ;
17561 PyObject * obj3 = 0 ;
17562 char * kwnames[] = {
17563 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
17564 };
17565
17566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17568 if (!SWIG_IsOK(res1)) {
17569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17570 }
17571 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17572 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
17573 if (!SWIG_IsOK(res2)) {
17574 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
17575 }
17576 if (!argp2) {
17577 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
17578 }
17579 arg2 = reinterpret_cast< wxDC * >(argp2);
17580 {
17581 arg3 = &temp3;
17582 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
17583 }
17584 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
17585 if (!SWIG_IsOK(ecode4)) {
17586 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
17587 }
17588 arg4 = static_cast< size_t >(val4);
17589 {
17590 PyThreadState* __tstate = wxPyBeginAllowThreads();
17591 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
17592 wxPyEndAllowThreads(__tstate);
17593 if (PyErr_Occurred()) SWIG_fail;
17594 }
17595 resultobj = SWIG_Py_Void();
17596 return resultobj;
17597 fail:
17598 return NULL;
17599 }
17600
17601
17602 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17603 PyObject *resultobj = 0;
17604 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17605 wxDC *arg2 = 0 ;
17606 wxRect *arg3 = 0 ;
17607 size_t arg4 ;
17608 void *argp1 = 0 ;
17609 int res1 = 0 ;
17610 void *argp2 = 0 ;
17611 int res2 = 0 ;
17612 wxRect temp3 ;
17613 size_t val4 ;
17614 int ecode4 = 0 ;
17615 PyObject * obj0 = 0 ;
17616 PyObject * obj1 = 0 ;
17617 PyObject * obj2 = 0 ;
17618 PyObject * obj3 = 0 ;
17619 char * kwnames[] = {
17620 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
17621 };
17622
17623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17625 if (!SWIG_IsOK(res1)) {
17626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17627 }
17628 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17629 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
17630 if (!SWIG_IsOK(res2)) {
17631 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
17632 }
17633 if (!argp2) {
17634 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
17635 }
17636 arg2 = reinterpret_cast< wxDC * >(argp2);
17637 {
17638 arg3 = &temp3;
17639 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
17640 }
17641 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
17642 if (!SWIG_IsOK(ecode4)) {
17643 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
17644 }
17645 arg4 = static_cast< size_t >(val4);
17646 {
17647 PyThreadState* __tstate = wxPyBeginAllowThreads();
17648 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
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 *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17660 PyObject *obj;
17661 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17662 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
17663 return SWIG_Py_Void();
17664 }
17665
17666 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17667 return SWIG_Python_InitShadowInstance(args);
17668 }
17669
17670 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17671 PyObject *resultobj = 0;
17672 wxWindow *arg1 = (wxWindow *) 0 ;
17673 int arg2 = (int) wxID_ANY ;
17674 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17675 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17676 wxSize const &arg4_defvalue = wxDefaultSize ;
17677 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17678 long arg5 = (long) 0 ;
17679 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
17680 wxString *arg6 = (wxString *) &arg6_defvalue ;
17681 wxPyHtmlListBox *result = 0 ;
17682 void *argp1 = 0 ;
17683 int res1 = 0 ;
17684 int val2 ;
17685 int ecode2 = 0 ;
17686 wxPoint temp3 ;
17687 wxSize temp4 ;
17688 long val5 ;
17689 int ecode5 = 0 ;
17690 bool temp6 = false ;
17691 PyObject * obj0 = 0 ;
17692 PyObject * obj1 = 0 ;
17693 PyObject * obj2 = 0 ;
17694 PyObject * obj3 = 0 ;
17695 PyObject * obj4 = 0 ;
17696 PyObject * obj5 = 0 ;
17697 char * kwnames[] = {
17698 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17699 };
17700
17701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17703 if (!SWIG_IsOK(res1)) {
17704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
17705 }
17706 arg1 = reinterpret_cast< wxWindow * >(argp1);
17707 if (obj1) {
17708 ecode2 = SWIG_AsVal_int(obj1, &val2);
17709 if (!SWIG_IsOK(ecode2)) {
17710 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
17711 }
17712 arg2 = static_cast< int >(val2);
17713 }
17714 if (obj2) {
17715 {
17716 arg3 = &temp3;
17717 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17718 }
17719 }
17720 if (obj3) {
17721 {
17722 arg4 = &temp4;
17723 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17724 }
17725 }
17726 if (obj4) {
17727 ecode5 = SWIG_AsVal_long(obj4, &val5);
17728 if (!SWIG_IsOK(ecode5)) {
17729 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
17730 }
17731 arg5 = static_cast< long >(val5);
17732 }
17733 if (obj5) {
17734 {
17735 arg6 = wxString_in_helper(obj5);
17736 if (arg6 == NULL) SWIG_fail;
17737 temp6 = true;
17738 }
17739 }
17740 {
17741 if (!wxPyCheckForApp()) SWIG_fail;
17742 PyThreadState* __tstate = wxPyBeginAllowThreads();
17743 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17744 wxPyEndAllowThreads(__tstate);
17745 if (PyErr_Occurred()) SWIG_fail;
17746 }
17747 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
17748 {
17749 if (temp6)
17750 delete arg6;
17751 }
17752 return resultobj;
17753 fail:
17754 {
17755 if (temp6)
17756 delete arg6;
17757 }
17758 return NULL;
17759 }
17760
17761
17762 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17763 PyObject *resultobj = 0;
17764 wxPyHtmlListBox *result = 0 ;
17765
17766 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
17767 {
17768 if (!wxPyCheckForApp()) SWIG_fail;
17769 PyThreadState* __tstate = wxPyBeginAllowThreads();
17770 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
17771 wxPyEndAllowThreads(__tstate);
17772 if (PyErr_Occurred()) SWIG_fail;
17773 }
17774 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
17775 return resultobj;
17776 fail:
17777 return NULL;
17778 }
17779
17780
17781 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17782 PyObject *resultobj = 0;
17783 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17784 PyObject *arg2 = (PyObject *) 0 ;
17785 PyObject *arg3 = (PyObject *) 0 ;
17786 void *argp1 = 0 ;
17787 int res1 = 0 ;
17788 PyObject * obj0 = 0 ;
17789 PyObject * obj1 = 0 ;
17790 PyObject * obj2 = 0 ;
17791 char * kwnames[] = {
17792 (char *) "self",(char *) "self",(char *) "_class", NULL
17793 };
17794
17795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17797 if (!SWIG_IsOK(res1)) {
17798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17799 }
17800 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17801 arg2 = obj1;
17802 arg3 = obj2;
17803 {
17804 PyThreadState* __tstate = wxPyBeginAllowThreads();
17805 (arg1)->_setCallbackInfo(arg2,arg3);
17806 wxPyEndAllowThreads(__tstate);
17807 if (PyErr_Occurred()) SWIG_fail;
17808 }
17809 resultobj = SWIG_Py_Void();
17810 return resultobj;
17811 fail:
17812 return NULL;
17813 }
17814
17815
17816 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17817 PyObject *resultobj = 0;
17818 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17819 wxWindow *arg2 = (wxWindow *) 0 ;
17820 int arg3 = (int) wxID_ANY ;
17821 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17822 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17823 wxSize const &arg5_defvalue = wxDefaultSize ;
17824 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17825 long arg6 = (long) 0 ;
17826 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
17827 wxString *arg7 = (wxString *) &arg7_defvalue ;
17828 bool result;
17829 void *argp1 = 0 ;
17830 int res1 = 0 ;
17831 void *argp2 = 0 ;
17832 int res2 = 0 ;
17833 int val3 ;
17834 int ecode3 = 0 ;
17835 wxPoint temp4 ;
17836 wxSize temp5 ;
17837 long val6 ;
17838 int ecode6 = 0 ;
17839 bool temp7 = false ;
17840 PyObject * obj0 = 0 ;
17841 PyObject * obj1 = 0 ;
17842 PyObject * obj2 = 0 ;
17843 PyObject * obj3 = 0 ;
17844 PyObject * obj4 = 0 ;
17845 PyObject * obj5 = 0 ;
17846 PyObject * obj6 = 0 ;
17847 char * kwnames[] = {
17848 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17849 };
17850
17851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17853 if (!SWIG_IsOK(res1)) {
17854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17855 }
17856 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17857 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17858 if (!SWIG_IsOK(res2)) {
17859 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17860 }
17861 arg2 = reinterpret_cast< wxWindow * >(argp2);
17862 if (obj2) {
17863 ecode3 = SWIG_AsVal_int(obj2, &val3);
17864 if (!SWIG_IsOK(ecode3)) {
17865 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
17866 }
17867 arg3 = static_cast< int >(val3);
17868 }
17869 if (obj3) {
17870 {
17871 arg4 = &temp4;
17872 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17873 }
17874 }
17875 if (obj4) {
17876 {
17877 arg5 = &temp5;
17878 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17879 }
17880 }
17881 if (obj5) {
17882 ecode6 = SWIG_AsVal_long(obj5, &val6);
17883 if (!SWIG_IsOK(ecode6)) {
17884 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
17885 }
17886 arg6 = static_cast< long >(val6);
17887 }
17888 if (obj6) {
17889 {
17890 arg7 = wxString_in_helper(obj6);
17891 if (arg7 == NULL) SWIG_fail;
17892 temp7 = true;
17893 }
17894 }
17895 {
17896 PyThreadState* __tstate = wxPyBeginAllowThreads();
17897 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17898 wxPyEndAllowThreads(__tstate);
17899 if (PyErr_Occurred()) SWIG_fail;
17900 }
17901 {
17902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17903 }
17904 {
17905 if (temp7)
17906 delete arg7;
17907 }
17908 return resultobj;
17909 fail:
17910 {
17911 if (temp7)
17912 delete arg7;
17913 }
17914 return NULL;
17915 }
17916
17917
17918 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17919 PyObject *resultobj = 0;
17920 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17921 size_t arg2 ;
17922 void *argp1 = 0 ;
17923 int res1 = 0 ;
17924 size_t val2 ;
17925 int ecode2 = 0 ;
17926 PyObject * obj0 = 0 ;
17927 PyObject * obj1 = 0 ;
17928 char * kwnames[] = {
17929 (char *) "self",(char *) "count", NULL
17930 };
17931
17932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
17933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17934 if (!SWIG_IsOK(res1)) {
17935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17936 }
17937 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17938 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17939 if (!SWIG_IsOK(ecode2)) {
17940 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
17941 }
17942 arg2 = static_cast< size_t >(val2);
17943 {
17944 PyThreadState* __tstate = wxPyBeginAllowThreads();
17945 (arg1)->SetItemCount(arg2);
17946 wxPyEndAllowThreads(__tstate);
17947 if (PyErr_Occurred()) SWIG_fail;
17948 }
17949 resultobj = SWIG_Py_Void();
17950 return resultobj;
17951 fail:
17952 return NULL;
17953 }
17954
17955
17956 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17957 PyObject *resultobj = 0;
17958 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17959 wxFileSystem *result = 0 ;
17960 void *argp1 = 0 ;
17961 int res1 = 0 ;
17962 PyObject *swig_obj[1] ;
17963
17964 if (!args) SWIG_fail;
17965 swig_obj[0] = args;
17966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17967 if (!SWIG_IsOK(res1)) {
17968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17969 }
17970 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17971 {
17972 PyThreadState* __tstate = wxPyBeginAllowThreads();
17973 {
17974 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
17975 result = (wxFileSystem *) &_result_ref;
17976 }
17977 wxPyEndAllowThreads(__tstate);
17978 if (PyErr_Occurred()) SWIG_fail;
17979 }
17980 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
17981 return resultobj;
17982 fail:
17983 return NULL;
17984 }
17985
17986
17987 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17988 PyObject *resultobj = 0;
17989 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17990 size_t arg2 ;
17991 wxHtmlLinkInfo *arg3 = 0 ;
17992 void *argp1 = 0 ;
17993 int res1 = 0 ;
17994 size_t val2 ;
17995 int ecode2 = 0 ;
17996 void *argp3 = 0 ;
17997 int res3 = 0 ;
17998 PyObject * obj0 = 0 ;
17999 PyObject * obj1 = 0 ;
18000 PyObject * obj2 = 0 ;
18001 char * kwnames[] = {
18002 (char *) "self",(char *) "n",(char *) "link", NULL
18003 };
18004
18005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
18007 if (!SWIG_IsOK(res1)) {
18008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
18009 }
18010 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
18011 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
18012 if (!SWIG_IsOK(ecode2)) {
18013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
18014 }
18015 arg2 = static_cast< size_t >(val2);
18016 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
18017 if (!SWIG_IsOK(res3)) {
18018 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
18019 }
18020 if (!argp3) {
18021 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
18022 }
18023 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
18024 {
18025 PyThreadState* __tstate = wxPyBeginAllowThreads();
18026 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
18027 wxPyEndAllowThreads(__tstate);
18028 if (PyErr_Occurred()) SWIG_fail;
18029 }
18030 resultobj = SWIG_Py_Void();
18031 return resultobj;
18032 fail:
18033 return NULL;
18034 }
18035
18036
18037 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18038 PyObject *obj;
18039 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18040 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
18041 return SWIG_Py_Void();
18042 }
18043
18044 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18045 return SWIG_Python_InitShadowInstance(args);
18046 }
18047
18048 SWIGINTERN int SimpleHtmlListBoxNameStr_set(PyObject *) {
18049 SWIG_Error(SWIG_AttributeError,"Variable SimpleHtmlListBoxNameStr is read-only.");
18050 return 1;
18051 }
18052
18053
18054 SWIGINTERN PyObject *SimpleHtmlListBoxNameStr_get(void) {
18055 PyObject *pyobj = 0;
18056
18057 {
18058 #if wxUSE_UNICODE
18059 pyobj = PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
18060 #else
18061 pyobj = PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
18062 #endif
18063 }
18064 return pyobj;
18065 }
18066
18067
18068 SWIGINTERN PyObject *_wrap_new_SimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18069 PyObject *resultobj = 0;
18070 wxWindow *arg1 = (wxWindow *) 0 ;
18071 int arg2 = (int) -1 ;
18072 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18073 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18074 wxSize const &arg4_defvalue = wxDefaultSize ;
18075 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18076 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
18077 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
18078 long arg6 = (long) wxHLB_DEFAULT_STYLE ;
18079 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18080 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18081 wxString const &arg8_defvalue = wxPySimpleHtmlListBoxNameStr ;
18082 wxString *arg8 = (wxString *) &arg8_defvalue ;
18083 wxSimpleHtmlListBox *result = 0 ;
18084 void *argp1 = 0 ;
18085 int res1 = 0 ;
18086 int val2 ;
18087 int ecode2 = 0 ;
18088 wxPoint temp3 ;
18089 wxSize temp4 ;
18090 bool temp5 = false ;
18091 long val6 ;
18092 int ecode6 = 0 ;
18093 void *argp7 = 0 ;
18094 int res7 = 0 ;
18095 bool temp8 = false ;
18096 PyObject * obj0 = 0 ;
18097 PyObject * obj1 = 0 ;
18098 PyObject * obj2 = 0 ;
18099 PyObject * obj3 = 0 ;
18100 PyObject * obj4 = 0 ;
18101 PyObject * obj5 = 0 ;
18102 PyObject * obj6 = 0 ;
18103 PyObject * obj7 = 0 ;
18104 char * kwnames[] = {
18105 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
18106 };
18107
18108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18110 if (!SWIG_IsOK(res1)) {
18111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
18112 }
18113 arg1 = reinterpret_cast< wxWindow * >(argp1);
18114 if (obj1) {
18115 ecode2 = SWIG_AsVal_int(obj1, &val2);
18116 if (!SWIG_IsOK(ecode2)) {
18117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
18118 }
18119 arg2 = static_cast< int >(val2);
18120 }
18121 if (obj2) {
18122 {
18123 arg3 = &temp3;
18124 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18125 }
18126 }
18127 if (obj3) {
18128 {
18129 arg4 = &temp4;
18130 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18131 }
18132 }
18133 if (obj4) {
18134 {
18135 if (! PySequence_Check(obj4)) {
18136 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
18137 SWIG_fail;
18138 }
18139 arg5 = new wxArrayString;
18140 temp5 = true;
18141 int i, len=PySequence_Length(obj4);
18142 for (i=0; i<len; i++) {
18143 PyObject* item = PySequence_GetItem(obj4, i);
18144 wxString* s = wxString_in_helper(item);
18145 if (PyErr_Occurred()) SWIG_fail;
18146 arg5->Add(*s);
18147 delete s;
18148 Py_DECREF(item);
18149 }
18150 }
18151 }
18152 if (obj5) {
18153 ecode6 = SWIG_AsVal_long(obj5, &val6);
18154 if (!SWIG_IsOK(ecode6)) {
18155 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
18156 }
18157 arg6 = static_cast< long >(val6);
18158 }
18159 if (obj6) {
18160 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
18161 if (!SWIG_IsOK(res7)) {
18162 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
18163 }
18164 if (!argp7) {
18165 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
18166 }
18167 arg7 = reinterpret_cast< wxValidator * >(argp7);
18168 }
18169 if (obj7) {
18170 {
18171 arg8 = wxString_in_helper(obj7);
18172 if (arg8 == NULL) SWIG_fail;
18173 temp8 = true;
18174 }
18175 }
18176 {
18177 if (!wxPyCheckForApp()) SWIG_fail;
18178 PyThreadState* __tstate = wxPyBeginAllowThreads();
18179 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18180 wxPyEndAllowThreads(__tstate);
18181 if (PyErr_Occurred()) SWIG_fail;
18182 }
18183 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_NEW | 0 );
18184 {
18185 if (temp5) delete arg5;
18186 }
18187 {
18188 if (temp8)
18189 delete arg8;
18190 }
18191 return resultobj;
18192 fail:
18193 {
18194 if (temp5) delete arg5;
18195 }
18196 {
18197 if (temp8)
18198 delete arg8;
18199 }
18200 return NULL;
18201 }
18202
18203
18204 SWIGINTERN PyObject *_wrap_new_PreSimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18205 PyObject *resultobj = 0;
18206 wxSimpleHtmlListBox *result = 0 ;
18207
18208 if (!SWIG_Python_UnpackTuple(args,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail;
18209 {
18210 if (!wxPyCheckForApp()) SWIG_fail;
18211 PyThreadState* __tstate = wxPyBeginAllowThreads();
18212 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox();
18213 wxPyEndAllowThreads(__tstate);
18214 if (PyErr_Occurred()) SWIG_fail;
18215 }
18216 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_OWN | 0 );
18217 return resultobj;
18218 fail:
18219 return NULL;
18220 }
18221
18222
18223 SWIGINTERN PyObject *_wrap_SimpleHtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18224 PyObject *resultobj = 0;
18225 wxSimpleHtmlListBox *arg1 = (wxSimpleHtmlListBox *) 0 ;
18226 wxWindow *arg2 = (wxWindow *) 0 ;
18227 int arg3 = (int) -1 ;
18228 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18229 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18230 wxSize const &arg5_defvalue = wxDefaultSize ;
18231 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18232 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
18233 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
18234 long arg7 = (long) wxHLB_DEFAULT_STYLE ;
18235 wxValidator const &arg8_defvalue = wxDefaultValidator ;
18236 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
18237 wxString const &arg9_defvalue = wxPySimpleHtmlListBoxNameStr ;
18238 wxString *arg9 = (wxString *) &arg9_defvalue ;
18239 bool result;
18240 void *argp1 = 0 ;
18241 int res1 = 0 ;
18242 void *argp2 = 0 ;
18243 int res2 = 0 ;
18244 int val3 ;
18245 int ecode3 = 0 ;
18246 wxPoint temp4 ;
18247 wxSize temp5 ;
18248 bool temp6 = false ;
18249 long val7 ;
18250 int ecode7 = 0 ;
18251 void *argp8 = 0 ;
18252 int res8 = 0 ;
18253 bool temp9 = false ;
18254 PyObject * obj0 = 0 ;
18255 PyObject * obj1 = 0 ;
18256 PyObject * obj2 = 0 ;
18257 PyObject * obj3 = 0 ;
18258 PyObject * obj4 = 0 ;
18259 PyObject * obj5 = 0 ;
18260 PyObject * obj6 = 0 ;
18261 PyObject * obj7 = 0 ;
18262 PyObject * obj8 = 0 ;
18263 char * kwnames[] = {
18264 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
18265 };
18266
18267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
18268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSimpleHtmlListBox, 0 | 0 );
18269 if (!SWIG_IsOK(res1)) {
18270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
18271 }
18272 arg1 = reinterpret_cast< wxSimpleHtmlListBox * >(argp1);
18273 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
18274 if (!SWIG_IsOK(res2)) {
18275 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18276 }
18277 arg2 = reinterpret_cast< wxWindow * >(argp2);
18278 if (obj2) {
18279 ecode3 = SWIG_AsVal_int(obj2, &val3);
18280 if (!SWIG_IsOK(ecode3)) {
18281 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
18282 }
18283 arg3 = static_cast< int >(val3);
18284 }
18285 if (obj3) {
18286 {
18287 arg4 = &temp4;
18288 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18289 }
18290 }
18291 if (obj4) {
18292 {
18293 arg5 = &temp5;
18294 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18295 }
18296 }
18297 if (obj5) {
18298 {
18299 if (! PySequence_Check(obj5)) {
18300 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
18301 SWIG_fail;
18302 }
18303 arg6 = new wxArrayString;
18304 temp6 = true;
18305 int i, len=PySequence_Length(obj5);
18306 for (i=0; i<len; i++) {
18307 PyObject* item = PySequence_GetItem(obj5, i);
18308 wxString* s = wxString_in_helper(item);
18309 if (PyErr_Occurred()) SWIG_fail;
18310 arg6->Add(*s);
18311 delete s;
18312 Py_DECREF(item);
18313 }
18314 }
18315 }
18316 if (obj6) {
18317 ecode7 = SWIG_AsVal_long(obj6, &val7);
18318 if (!SWIG_IsOK(ecode7)) {
18319 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
18320 }
18321 arg7 = static_cast< long >(val7);
18322 }
18323 if (obj7) {
18324 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
18325 if (!SWIG_IsOK(res8)) {
18326 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18327 }
18328 if (!argp8) {
18329 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18330 }
18331 arg8 = reinterpret_cast< wxValidator * >(argp8);
18332 }
18333 if (obj8) {
18334 {
18335 arg9 = wxString_in_helper(obj8);
18336 if (arg9 == NULL) SWIG_fail;
18337 temp9 = true;
18338 }
18339 }
18340 {
18341 PyThreadState* __tstate = wxPyBeginAllowThreads();
18342 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
18343 wxPyEndAllowThreads(__tstate);
18344 if (PyErr_Occurred()) SWIG_fail;
18345 }
18346 {
18347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18348 }
18349 {
18350 if (temp6) delete arg6;
18351 }
18352 {
18353 if (temp9)
18354 delete arg9;
18355 }
18356 return resultobj;
18357 fail:
18358 {
18359 if (temp6) delete arg6;
18360 }
18361 {
18362 if (temp9)
18363 delete arg9;
18364 }
18365 return NULL;
18366 }
18367
18368
18369 SWIGINTERN PyObject *SimpleHtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18370 PyObject *obj;
18371 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18372 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_NewClientData(obj));
18373 return SWIG_Py_Void();
18374 }
18375
18376 SWIGINTERN PyObject *SimpleHtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18377 return SWIG_Python_InitShadowInstance(args);
18378 }
18379
18380 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18381 PyObject *resultobj = 0;
18382 wxPyTaskBarIcon *result = 0 ;
18383
18384 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
18385 {
18386 if (!wxPyCheckForApp()) SWIG_fail;
18387 PyThreadState* __tstate = wxPyBeginAllowThreads();
18388 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
18389 wxPyEndAllowThreads(__tstate);
18390 if (PyErr_Occurred()) SWIG_fail;
18391 }
18392 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
18393 return resultobj;
18394 fail:
18395 return NULL;
18396 }
18397
18398
18399 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18400 PyObject *resultobj = 0;
18401 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18402 void *argp1 = 0 ;
18403 int res1 = 0 ;
18404 PyObject *swig_obj[1] ;
18405
18406 if (!args) SWIG_fail;
18407 swig_obj[0] = args;
18408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
18409 if (!SWIG_IsOK(res1)) {
18410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18411 }
18412 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18413 {
18414 PyThreadState* __tstate = wxPyBeginAllowThreads();
18415 delete arg1;
18416
18417 wxPyEndAllowThreads(__tstate);
18418 if (PyErr_Occurred()) SWIG_fail;
18419 }
18420 resultobj = SWIG_Py_Void();
18421 return resultobj;
18422 fail:
18423 return NULL;
18424 }
18425
18426
18427 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18428 PyObject *resultobj = 0;
18429 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18430 PyObject *arg2 = (PyObject *) 0 ;
18431 PyObject *arg3 = (PyObject *) 0 ;
18432 int arg4 = (int) 0 ;
18433 void *argp1 = 0 ;
18434 int res1 = 0 ;
18435 int val4 ;
18436 int ecode4 = 0 ;
18437 PyObject * obj0 = 0 ;
18438 PyObject * obj1 = 0 ;
18439 PyObject * obj2 = 0 ;
18440 PyObject * obj3 = 0 ;
18441 char * kwnames[] = {
18442 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
18443 };
18444
18445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
18446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18447 if (!SWIG_IsOK(res1)) {
18448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18449 }
18450 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18451 arg2 = obj1;
18452 arg3 = obj2;
18453 if (obj3) {
18454 ecode4 = SWIG_AsVal_int(obj3, &val4);
18455 if (!SWIG_IsOK(ecode4)) {
18456 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
18457 }
18458 arg4 = static_cast< int >(val4);
18459 }
18460 {
18461 PyThreadState* __tstate = wxPyBeginAllowThreads();
18462 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
18463 wxPyEndAllowThreads(__tstate);
18464 if (PyErr_Occurred()) SWIG_fail;
18465 }
18466 resultobj = SWIG_Py_Void();
18467 return resultobj;
18468 fail:
18469 return NULL;
18470 }
18471
18472
18473 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18474 PyObject *resultobj = 0;
18475 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18476 void *argp1 = 0 ;
18477 int res1 = 0 ;
18478 PyObject *swig_obj[1] ;
18479
18480 if (!args) SWIG_fail;
18481 swig_obj[0] = args;
18482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18483 if (!SWIG_IsOK(res1)) {
18484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18485 }
18486 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18487 {
18488 PyThreadState* __tstate = wxPyBeginAllowThreads();
18489 wxPyTaskBarIcon_Destroy(arg1);
18490 wxPyEndAllowThreads(__tstate);
18491 if (PyErr_Occurred()) SWIG_fail;
18492 }
18493 resultobj = SWIG_Py_Void();
18494 return resultobj;
18495 fail:
18496 return NULL;
18497 }
18498
18499
18500 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18501 PyObject *resultobj = 0;
18502 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18503 bool result;
18504 void *argp1 = 0 ;
18505 int res1 = 0 ;
18506 PyObject *swig_obj[1] ;
18507
18508 if (!args) SWIG_fail;
18509 swig_obj[0] = args;
18510 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18511 if (!SWIG_IsOK(res1)) {
18512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
18513 }
18514 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18515 {
18516 PyThreadState* __tstate = wxPyBeginAllowThreads();
18517 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
18518 wxPyEndAllowThreads(__tstate);
18519 if (PyErr_Occurred()) SWIG_fail;
18520 }
18521 {
18522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18523 }
18524 return resultobj;
18525 fail:
18526 return NULL;
18527 }
18528
18529
18530 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18531 PyObject *resultobj = 0;
18532 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18533 bool result;
18534 void *argp1 = 0 ;
18535 int res1 = 0 ;
18536 PyObject *swig_obj[1] ;
18537
18538 if (!args) SWIG_fail;
18539 swig_obj[0] = args;
18540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18541 if (!SWIG_IsOK(res1)) {
18542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
18543 }
18544 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18545 {
18546 PyThreadState* __tstate = wxPyBeginAllowThreads();
18547 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
18548 wxPyEndAllowThreads(__tstate);
18549 if (PyErr_Occurred()) SWIG_fail;
18550 }
18551 {
18552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18553 }
18554 return resultobj;
18555 fail:
18556 return NULL;
18557 }
18558
18559
18560 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18561 PyObject *resultobj = 0;
18562 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18563 wxIcon *arg2 = 0 ;
18564 wxString const &arg3_defvalue = wxPyEmptyString ;
18565 wxString *arg3 = (wxString *) &arg3_defvalue ;
18566 bool result;
18567 void *argp1 = 0 ;
18568 int res1 = 0 ;
18569 void *argp2 = 0 ;
18570 int res2 = 0 ;
18571 bool temp3 = false ;
18572 PyObject * obj0 = 0 ;
18573 PyObject * obj1 = 0 ;
18574 PyObject * obj2 = 0 ;
18575 char * kwnames[] = {
18576 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
18577 };
18578
18579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18581 if (!SWIG_IsOK(res1)) {
18582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18583 }
18584 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18585 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
18586 if (!SWIG_IsOK(res2)) {
18587 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18588 }
18589 if (!argp2) {
18590 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18591 }
18592 arg2 = reinterpret_cast< wxIcon * >(argp2);
18593 if (obj2) {
18594 {
18595 arg3 = wxString_in_helper(obj2);
18596 if (arg3 == NULL) SWIG_fail;
18597 temp3 = true;
18598 }
18599 }
18600 {
18601 PyThreadState* __tstate = wxPyBeginAllowThreads();
18602 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
18603 wxPyEndAllowThreads(__tstate);
18604 if (PyErr_Occurred()) SWIG_fail;
18605 }
18606 {
18607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18608 }
18609 {
18610 if (temp3)
18611 delete arg3;
18612 }
18613 return resultobj;
18614 fail:
18615 {
18616 if (temp3)
18617 delete arg3;
18618 }
18619 return NULL;
18620 }
18621
18622
18623 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18624 PyObject *resultobj = 0;
18625 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18626 bool result;
18627 void *argp1 = 0 ;
18628 int res1 = 0 ;
18629 PyObject *swig_obj[1] ;
18630
18631 if (!args) SWIG_fail;
18632 swig_obj[0] = args;
18633 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18634 if (!SWIG_IsOK(res1)) {
18635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18636 }
18637 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18638 {
18639 PyThreadState* __tstate = wxPyBeginAllowThreads();
18640 result = (bool)(arg1)->RemoveIcon();
18641 wxPyEndAllowThreads(__tstate);
18642 if (PyErr_Occurred()) SWIG_fail;
18643 }
18644 {
18645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18646 }
18647 return resultobj;
18648 fail:
18649 return NULL;
18650 }
18651
18652
18653 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18654 PyObject *resultobj = 0;
18655 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18656 wxMenu *arg2 = (wxMenu *) 0 ;
18657 bool result;
18658 void *argp1 = 0 ;
18659 int res1 = 0 ;
18660 void *argp2 = 0 ;
18661 int res2 = 0 ;
18662 PyObject * obj0 = 0 ;
18663 PyObject * obj1 = 0 ;
18664 char * kwnames[] = {
18665 (char *) "self",(char *) "menu", NULL
18666 };
18667
18668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
18669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18670 if (!SWIG_IsOK(res1)) {
18671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18672 }
18673 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18674 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
18675 if (!SWIG_IsOK(res2)) {
18676 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
18677 }
18678 arg2 = reinterpret_cast< wxMenu * >(argp2);
18679 {
18680 PyThreadState* __tstate = wxPyBeginAllowThreads();
18681 result = (bool)(arg1)->PopupMenu(arg2);
18682 wxPyEndAllowThreads(__tstate);
18683 if (PyErr_Occurred()) SWIG_fail;
18684 }
18685 {
18686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18687 }
18688 return resultobj;
18689 fail:
18690 return NULL;
18691 }
18692
18693
18694 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18695 PyObject *obj;
18696 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18697 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
18698 return SWIG_Py_Void();
18699 }
18700
18701 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18702 return SWIG_Python_InitShadowInstance(args);
18703 }
18704
18705 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18706 PyObject *resultobj = 0;
18707 wxEventType arg1 ;
18708 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
18709 wxTaskBarIconEvent *result = 0 ;
18710 int val1 ;
18711 int ecode1 = 0 ;
18712 void *argp2 = 0 ;
18713 int res2 = 0 ;
18714 PyObject * obj0 = 0 ;
18715 PyObject * obj1 = 0 ;
18716 char * kwnames[] = {
18717 (char *) "evtType",(char *) "tbIcon", NULL
18718 };
18719
18720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
18721 ecode1 = SWIG_AsVal_int(obj0, &val1);
18722 if (!SWIG_IsOK(ecode1)) {
18723 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
18724 }
18725 arg1 = static_cast< wxEventType >(val1);
18726 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
18727 if (!SWIG_IsOK(res2)) {
18728 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
18729 }
18730 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
18731 {
18732 PyThreadState* __tstate = wxPyBeginAllowThreads();
18733 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
18734 wxPyEndAllowThreads(__tstate);
18735 if (PyErr_Occurred()) SWIG_fail;
18736 }
18737 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
18738 return resultobj;
18739 fail:
18740 return NULL;
18741 }
18742
18743
18744 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18745 PyObject *obj;
18746 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18747 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
18748 return SWIG_Py_Void();
18749 }
18750
18751 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18752 return SWIG_Python_InitShadowInstance(args);
18753 }
18754
18755 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
18756 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
18757 return 1;
18758 }
18759
18760
18761 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
18762 PyObject *pyobj = 0;
18763
18764 {
18765 #if wxUSE_UNICODE
18766 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
18767 #else
18768 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
18769 #endif
18770 }
18771 return pyobj;
18772 }
18773
18774
18775 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
18776 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
18777 return 1;
18778 }
18779
18780
18781 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
18782 PyObject *pyobj = 0;
18783
18784 {
18785 #if wxUSE_UNICODE
18786 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
18787 #else
18788 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
18789 #endif
18790 }
18791 return pyobj;
18792 }
18793
18794
18795 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
18796 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
18797 return 1;
18798 }
18799
18800
18801 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
18802 PyObject *pyobj = 0;
18803
18804 {
18805 #if wxUSE_UNICODE
18806 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
18807 #else
18808 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
18809 #endif
18810 }
18811 return pyobj;
18812 }
18813
18814
18815 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
18816 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
18817 return 1;
18818 }
18819
18820
18821 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
18822 PyObject *pyobj = 0;
18823
18824 {
18825 #if wxUSE_UNICODE
18826 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
18827 #else
18828 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
18829 #endif
18830 }
18831 return pyobj;
18832 }
18833
18834
18835 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
18836 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
18837 return 1;
18838 }
18839
18840
18841 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
18842 PyObject *pyobj = 0;
18843
18844 {
18845 #if wxUSE_UNICODE
18846 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
18847 #else
18848 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
18849 #endif
18850 }
18851 return pyobj;
18852 }
18853
18854
18855 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
18856 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
18857 return 1;
18858 }
18859
18860
18861 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
18862 PyObject *pyobj = 0;
18863
18864 {
18865 #if wxUSE_UNICODE
18866 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
18867 #else
18868 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
18869 #endif
18870 }
18871 return pyobj;
18872 }
18873
18874
18875 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18876 PyObject *resultobj = 0;
18877 wxColourData *result = 0 ;
18878
18879 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
18880 {
18881 PyThreadState* __tstate = wxPyBeginAllowThreads();
18882 result = (wxColourData *)new wxColourData();
18883 wxPyEndAllowThreads(__tstate);
18884 if (PyErr_Occurred()) SWIG_fail;
18885 }
18886 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
18887 return resultobj;
18888 fail:
18889 return NULL;
18890 }
18891
18892
18893 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18894 PyObject *resultobj = 0;
18895 wxColourData *arg1 = (wxColourData *) 0 ;
18896 void *argp1 = 0 ;
18897 int res1 = 0 ;
18898 PyObject *swig_obj[1] ;
18899
18900 if (!args) SWIG_fail;
18901 swig_obj[0] = args;
18902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
18903 if (!SWIG_IsOK(res1)) {
18904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
18905 }
18906 arg1 = reinterpret_cast< wxColourData * >(argp1);
18907 {
18908 PyThreadState* __tstate = wxPyBeginAllowThreads();
18909 delete arg1;
18910
18911 wxPyEndAllowThreads(__tstate);
18912 if (PyErr_Occurred()) SWIG_fail;
18913 }
18914 resultobj = SWIG_Py_Void();
18915 return resultobj;
18916 fail:
18917 return NULL;
18918 }
18919
18920
18921 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18922 PyObject *resultobj = 0;
18923 wxColourData *arg1 = (wxColourData *) 0 ;
18924 bool result;
18925 void *argp1 = 0 ;
18926 int res1 = 0 ;
18927 PyObject *swig_obj[1] ;
18928
18929 if (!args) SWIG_fail;
18930 swig_obj[0] = args;
18931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18932 if (!SWIG_IsOK(res1)) {
18933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
18934 }
18935 arg1 = reinterpret_cast< wxColourData * >(argp1);
18936 {
18937 PyThreadState* __tstate = wxPyBeginAllowThreads();
18938 result = (bool)(arg1)->GetChooseFull();
18939 wxPyEndAllowThreads(__tstate);
18940 if (PyErr_Occurred()) SWIG_fail;
18941 }
18942 {
18943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18944 }
18945 return resultobj;
18946 fail:
18947 return NULL;
18948 }
18949
18950
18951 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18952 PyObject *resultobj = 0;
18953 wxColourData *arg1 = (wxColourData *) 0 ;
18954 wxColour result;
18955 void *argp1 = 0 ;
18956 int res1 = 0 ;
18957 PyObject *swig_obj[1] ;
18958
18959 if (!args) SWIG_fail;
18960 swig_obj[0] = args;
18961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18962 if (!SWIG_IsOK(res1)) {
18963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18964 }
18965 arg1 = reinterpret_cast< wxColourData * >(argp1);
18966 {
18967 PyThreadState* __tstate = wxPyBeginAllowThreads();
18968 result = (arg1)->GetColour();
18969 wxPyEndAllowThreads(__tstate);
18970 if (PyErr_Occurred()) SWIG_fail;
18971 }
18972 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18973 return resultobj;
18974 fail:
18975 return NULL;
18976 }
18977
18978
18979 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18980 PyObject *resultobj = 0;
18981 wxColourData *arg1 = (wxColourData *) 0 ;
18982 int arg2 ;
18983 wxColour result;
18984 void *argp1 = 0 ;
18985 int res1 = 0 ;
18986 int val2 ;
18987 int ecode2 = 0 ;
18988 PyObject * obj0 = 0 ;
18989 PyObject * obj1 = 0 ;
18990 char * kwnames[] = {
18991 (char *) "self",(char *) "i", NULL
18992 };
18993
18994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
18995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18996 if (!SWIG_IsOK(res1)) {
18997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
18998 }
18999 arg1 = reinterpret_cast< wxColourData * >(argp1);
19000 ecode2 = SWIG_AsVal_int(obj1, &val2);
19001 if (!SWIG_IsOK(ecode2)) {
19002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
19003 }
19004 arg2 = static_cast< int >(val2);
19005 {
19006 PyThreadState* __tstate = wxPyBeginAllowThreads();
19007 result = (arg1)->GetCustomColour(arg2);
19008 wxPyEndAllowThreads(__tstate);
19009 if (PyErr_Occurred()) SWIG_fail;
19010 }
19011 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
19012 return resultobj;
19013 fail:
19014 return NULL;
19015 }
19016
19017
19018 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19019 PyObject *resultobj = 0;
19020 wxColourData *arg1 = (wxColourData *) 0 ;
19021 int arg2 ;
19022 void *argp1 = 0 ;
19023 int res1 = 0 ;
19024 int val2 ;
19025 int ecode2 = 0 ;
19026 PyObject * obj0 = 0 ;
19027 PyObject * obj1 = 0 ;
19028 char * kwnames[] = {
19029 (char *) "self",(char *) "flag", NULL
19030 };
19031
19032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
19033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
19034 if (!SWIG_IsOK(res1)) {
19035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
19036 }
19037 arg1 = reinterpret_cast< wxColourData * >(argp1);
19038 ecode2 = SWIG_AsVal_int(obj1, &val2);
19039 if (!SWIG_IsOK(ecode2)) {
19040 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
19041 }
19042 arg2 = static_cast< int >(val2);
19043 {
19044 PyThreadState* __tstate = wxPyBeginAllowThreads();
19045 (arg1)->SetChooseFull(arg2);
19046 wxPyEndAllowThreads(__tstate);
19047 if (PyErr_Occurred()) SWIG_fail;
19048 }
19049 resultobj = SWIG_Py_Void();
19050 return resultobj;
19051 fail:
19052 return NULL;
19053 }
19054
19055
19056 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19057 PyObject *resultobj = 0;
19058 wxColourData *arg1 = (wxColourData *) 0 ;
19059 wxColour *arg2 = 0 ;
19060 void *argp1 = 0 ;
19061 int res1 = 0 ;
19062 wxColour temp2 ;
19063 PyObject * obj0 = 0 ;
19064 PyObject * obj1 = 0 ;
19065 char * kwnames[] = {
19066 (char *) "self",(char *) "colour", NULL
19067 };
19068
19069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
19071 if (!SWIG_IsOK(res1)) {
19072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
19073 }
19074 arg1 = reinterpret_cast< wxColourData * >(argp1);
19075 {
19076 arg2 = &temp2;
19077 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19078 }
19079 {
19080 PyThreadState* __tstate = wxPyBeginAllowThreads();
19081 (arg1)->SetColour((wxColour const &)*arg2);
19082 wxPyEndAllowThreads(__tstate);
19083 if (PyErr_Occurred()) SWIG_fail;
19084 }
19085 resultobj = SWIG_Py_Void();
19086 return resultobj;
19087 fail:
19088 return NULL;
19089 }
19090
19091
19092 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19093 PyObject *resultobj = 0;
19094 wxColourData *arg1 = (wxColourData *) 0 ;
19095 int arg2 ;
19096 wxColour *arg3 = 0 ;
19097 void *argp1 = 0 ;
19098 int res1 = 0 ;
19099 int val2 ;
19100 int ecode2 = 0 ;
19101 wxColour temp3 ;
19102 PyObject * obj0 = 0 ;
19103 PyObject * obj1 = 0 ;
19104 PyObject * obj2 = 0 ;
19105 char * kwnames[] = {
19106 (char *) "self",(char *) "i",(char *) "colour", NULL
19107 };
19108
19109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
19111 if (!SWIG_IsOK(res1)) {
19112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
19113 }
19114 arg1 = reinterpret_cast< wxColourData * >(argp1);
19115 ecode2 = SWIG_AsVal_int(obj1, &val2);
19116 if (!SWIG_IsOK(ecode2)) {
19117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
19118 }
19119 arg2 = static_cast< int >(val2);
19120 {
19121 arg3 = &temp3;
19122 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19123 }
19124 {
19125 PyThreadState* __tstate = wxPyBeginAllowThreads();
19126 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
19127 wxPyEndAllowThreads(__tstate);
19128 if (PyErr_Occurred()) SWIG_fail;
19129 }
19130 resultobj = SWIG_Py_Void();
19131 return resultobj;
19132 fail:
19133 return NULL;
19134 }
19135
19136
19137 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19138 PyObject *obj;
19139 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19140 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
19141 return SWIG_Py_Void();
19142 }
19143
19144 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19145 return SWIG_Python_InitShadowInstance(args);
19146 }
19147
19148 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19149 PyObject *resultobj = 0;
19150 wxWindow *arg1 = (wxWindow *) 0 ;
19151 wxColourData *arg2 = (wxColourData *) NULL ;
19152 wxColourDialog *result = 0 ;
19153 void *argp1 = 0 ;
19154 int res1 = 0 ;
19155 void *argp2 = 0 ;
19156 int res2 = 0 ;
19157 PyObject * obj0 = 0 ;
19158 PyObject * obj1 = 0 ;
19159 char * kwnames[] = {
19160 (char *) "parent",(char *) "data", NULL
19161 };
19162
19163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19165 if (!SWIG_IsOK(res1)) {
19166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19167 }
19168 arg1 = reinterpret_cast< wxWindow * >(argp1);
19169 if (obj1) {
19170 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
19171 if (!SWIG_IsOK(res2)) {
19172 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
19173 }
19174 arg2 = reinterpret_cast< wxColourData * >(argp2);
19175 }
19176 {
19177 if (!wxPyCheckForApp()) SWIG_fail;
19178 PyThreadState* __tstate = wxPyBeginAllowThreads();
19179 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
19180 wxPyEndAllowThreads(__tstate);
19181 if (PyErr_Occurred()) SWIG_fail;
19182 }
19183 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
19184 return resultobj;
19185 fail:
19186 return NULL;
19187 }
19188
19189
19190 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19191 PyObject *resultobj = 0;
19192 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
19193 wxColourData *result = 0 ;
19194 void *argp1 = 0 ;
19195 int res1 = 0 ;
19196 PyObject *swig_obj[1] ;
19197
19198 if (!args) SWIG_fail;
19199 swig_obj[0] = args;
19200 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
19201 if (!SWIG_IsOK(res1)) {
19202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
19203 }
19204 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
19205 {
19206 PyThreadState* __tstate = wxPyBeginAllowThreads();
19207 {
19208 wxColourData &_result_ref = (arg1)->GetColourData();
19209 result = (wxColourData *) &_result_ref;
19210 }
19211 wxPyEndAllowThreads(__tstate);
19212 if (PyErr_Occurred()) SWIG_fail;
19213 }
19214 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
19215 return resultobj;
19216 fail:
19217 return NULL;
19218 }
19219
19220
19221 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19222 PyObject *obj;
19223 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19224 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
19225 return SWIG_Py_Void();
19226 }
19227
19228 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19229 return SWIG_Python_InitShadowInstance(args);
19230 }
19231
19232 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19233 PyObject *resultobj = 0;
19234 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
19235 wxColour const &arg2_defvalue = wxNullColour ;
19236 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
19237 wxString const &arg3_defvalue = wxPyEmptyString ;
19238 wxString *arg3 = (wxString *) &arg3_defvalue ;
19239 wxColour result;
19240 void *argp1 = 0 ;
19241 int res1 = 0 ;
19242 wxColour temp2 ;
19243 bool temp3 = false ;
19244 PyObject * obj0 = 0 ;
19245 PyObject * obj1 = 0 ;
19246 PyObject * obj2 = 0 ;
19247 char * kwnames[] = {
19248 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
19249 };
19250
19251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19252 if (obj0) {
19253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19254 if (!SWIG_IsOK(res1)) {
19255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19256 }
19257 arg1 = reinterpret_cast< wxWindow * >(argp1);
19258 }
19259 if (obj1) {
19260 {
19261 arg2 = &temp2;
19262 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19263 }
19264 }
19265 if (obj2) {
19266 {
19267 arg3 = wxString_in_helper(obj2);
19268 if (arg3 == NULL) SWIG_fail;
19269 temp3 = true;
19270 }
19271 }
19272 {
19273 PyThreadState* __tstate = wxPyBeginAllowThreads();
19274 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
19275 wxPyEndAllowThreads(__tstate);
19276 if (PyErr_Occurred()) SWIG_fail;
19277 }
19278 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
19279 {
19280 if (temp3)
19281 delete arg3;
19282 }
19283 return resultobj;
19284 fail:
19285 {
19286 if (temp3)
19287 delete arg3;
19288 }
19289 return NULL;
19290 }
19291
19292
19293 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19294 PyObject *resultobj = 0;
19295 wxWindow *arg1 = (wxWindow *) 0 ;
19296 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
19297 wxString *arg2 = (wxString *) &arg2_defvalue ;
19298 wxString const &arg3_defvalue = wxPyEmptyString ;
19299 wxString *arg3 = (wxString *) &arg3_defvalue ;
19300 long arg4 = (long) wxDD_DEFAULT_STYLE ;
19301 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19302 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19303 wxSize const &arg6_defvalue = wxDefaultSize ;
19304 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
19305 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
19306 wxString *arg7 = (wxString *) &arg7_defvalue ;
19307 wxDirDialog *result = 0 ;
19308 void *argp1 = 0 ;
19309 int res1 = 0 ;
19310 bool temp2 = false ;
19311 bool temp3 = false ;
19312 long val4 ;
19313 int ecode4 = 0 ;
19314 wxPoint temp5 ;
19315 wxSize temp6 ;
19316 bool temp7 = false ;
19317 PyObject * obj0 = 0 ;
19318 PyObject * obj1 = 0 ;
19319 PyObject * obj2 = 0 ;
19320 PyObject * obj3 = 0 ;
19321 PyObject * obj4 = 0 ;
19322 PyObject * obj5 = 0 ;
19323 PyObject * obj6 = 0 ;
19324 char * kwnames[] = {
19325 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
19326 };
19327
19328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
19329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19330 if (!SWIG_IsOK(res1)) {
19331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19332 }
19333 arg1 = reinterpret_cast< wxWindow * >(argp1);
19334 if (obj1) {
19335 {
19336 arg2 = wxString_in_helper(obj1);
19337 if (arg2 == NULL) SWIG_fail;
19338 temp2 = true;
19339 }
19340 }
19341 if (obj2) {
19342 {
19343 arg3 = wxString_in_helper(obj2);
19344 if (arg3 == NULL) SWIG_fail;
19345 temp3 = true;
19346 }
19347 }
19348 if (obj3) {
19349 ecode4 = SWIG_AsVal_long(obj3, &val4);
19350 if (!SWIG_IsOK(ecode4)) {
19351 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
19352 }
19353 arg4 = static_cast< long >(val4);
19354 }
19355 if (obj4) {
19356 {
19357 arg5 = &temp5;
19358 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19359 }
19360 }
19361 if (obj5) {
19362 {
19363 arg6 = &temp6;
19364 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
19365 }
19366 }
19367 if (obj6) {
19368 {
19369 arg7 = wxString_in_helper(obj6);
19370 if (arg7 == NULL) SWIG_fail;
19371 temp7 = true;
19372 }
19373 }
19374 {
19375 if (!wxPyCheckForApp()) SWIG_fail;
19376 PyThreadState* __tstate = wxPyBeginAllowThreads();
19377 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
19378 wxPyEndAllowThreads(__tstate);
19379 if (PyErr_Occurred()) SWIG_fail;
19380 }
19381 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
19382 {
19383 if (temp2)
19384 delete arg2;
19385 }
19386 {
19387 if (temp3)
19388 delete arg3;
19389 }
19390 {
19391 if (temp7)
19392 delete arg7;
19393 }
19394 return resultobj;
19395 fail:
19396 {
19397 if (temp2)
19398 delete arg2;
19399 }
19400 {
19401 if (temp3)
19402 delete arg3;
19403 }
19404 {
19405 if (temp7)
19406 delete arg7;
19407 }
19408 return NULL;
19409 }
19410
19411
19412 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19413 PyObject *resultobj = 0;
19414 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19415 wxString result;
19416 void *argp1 = 0 ;
19417 int res1 = 0 ;
19418 PyObject *swig_obj[1] ;
19419
19420 if (!args) SWIG_fail;
19421 swig_obj[0] = args;
19422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19423 if (!SWIG_IsOK(res1)) {
19424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19425 }
19426 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19427 {
19428 PyThreadState* __tstate = wxPyBeginAllowThreads();
19429 result = (arg1)->GetPath();
19430 wxPyEndAllowThreads(__tstate);
19431 if (PyErr_Occurred()) SWIG_fail;
19432 }
19433 {
19434 #if wxUSE_UNICODE
19435 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19436 #else
19437 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19438 #endif
19439 }
19440 return resultobj;
19441 fail:
19442 return NULL;
19443 }
19444
19445
19446 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19447 PyObject *resultobj = 0;
19448 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19449 wxString result;
19450 void *argp1 = 0 ;
19451 int res1 = 0 ;
19452 PyObject *swig_obj[1] ;
19453
19454 if (!args) SWIG_fail;
19455 swig_obj[0] = args;
19456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19457 if (!SWIG_IsOK(res1)) {
19458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19459 }
19460 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19461 {
19462 PyThreadState* __tstate = wxPyBeginAllowThreads();
19463 result = (arg1)->GetMessage();
19464 wxPyEndAllowThreads(__tstate);
19465 if (PyErr_Occurred()) SWIG_fail;
19466 }
19467 {
19468 #if wxUSE_UNICODE
19469 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19470 #else
19471 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19472 #endif
19473 }
19474 return resultobj;
19475 fail:
19476 return NULL;
19477 }
19478
19479
19480 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19481 PyObject *resultobj = 0;
19482 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19483 wxString *arg2 = 0 ;
19484 void *argp1 = 0 ;
19485 int res1 = 0 ;
19486 bool temp2 = false ;
19487 PyObject * obj0 = 0 ;
19488 PyObject * obj1 = 0 ;
19489 char * kwnames[] = {
19490 (char *) "self",(char *) "message", NULL
19491 };
19492
19493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
19494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19495 if (!SWIG_IsOK(res1)) {
19496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19497 }
19498 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19499 {
19500 arg2 = wxString_in_helper(obj1);
19501 if (arg2 == NULL) SWIG_fail;
19502 temp2 = true;
19503 }
19504 {
19505 PyThreadState* __tstate = wxPyBeginAllowThreads();
19506 (arg1)->SetMessage((wxString const &)*arg2);
19507 wxPyEndAllowThreads(__tstate);
19508 if (PyErr_Occurred()) SWIG_fail;
19509 }
19510 resultobj = SWIG_Py_Void();
19511 {
19512 if (temp2)
19513 delete arg2;
19514 }
19515 return resultobj;
19516 fail:
19517 {
19518 if (temp2)
19519 delete arg2;
19520 }
19521 return NULL;
19522 }
19523
19524
19525 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19526 PyObject *resultobj = 0;
19527 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19528 wxString *arg2 = 0 ;
19529 void *argp1 = 0 ;
19530 int res1 = 0 ;
19531 bool temp2 = false ;
19532 PyObject * obj0 = 0 ;
19533 PyObject * obj1 = 0 ;
19534 char * kwnames[] = {
19535 (char *) "self",(char *) "path", NULL
19536 };
19537
19538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
19539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19540 if (!SWIG_IsOK(res1)) {
19541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19542 }
19543 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19544 {
19545 arg2 = wxString_in_helper(obj1);
19546 if (arg2 == NULL) SWIG_fail;
19547 temp2 = true;
19548 }
19549 {
19550 PyThreadState* __tstate = wxPyBeginAllowThreads();
19551 (arg1)->SetPath((wxString const &)*arg2);
19552 wxPyEndAllowThreads(__tstate);
19553 if (PyErr_Occurred()) SWIG_fail;
19554 }
19555 resultobj = SWIG_Py_Void();
19556 {
19557 if (temp2)
19558 delete arg2;
19559 }
19560 return resultobj;
19561 fail:
19562 {
19563 if (temp2)
19564 delete arg2;
19565 }
19566 return NULL;
19567 }
19568
19569
19570 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19571 PyObject *obj;
19572 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19573 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
19574 return SWIG_Py_Void();
19575 }
19576
19577 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19578 return SWIG_Python_InitShadowInstance(args);
19579 }
19580
19581 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19582 PyObject *resultobj = 0;
19583 wxWindow *arg1 = (wxWindow *) 0 ;
19584 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
19585 wxString *arg2 = (wxString *) &arg2_defvalue ;
19586 wxString const &arg3_defvalue = wxPyEmptyString ;
19587 wxString *arg3 = (wxString *) &arg3_defvalue ;
19588 wxString const &arg4_defvalue = wxPyEmptyString ;
19589 wxString *arg4 = (wxString *) &arg4_defvalue ;
19590 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
19591 wxString *arg5 = (wxString *) &arg5_defvalue ;
19592 long arg6 = (long) wxFD_DEFAULT_STYLE ;
19593 wxPoint const &arg7_defvalue = wxDefaultPosition ;
19594 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
19595 wxFileDialog *result = 0 ;
19596 void *argp1 = 0 ;
19597 int res1 = 0 ;
19598 bool temp2 = false ;
19599 bool temp3 = false ;
19600 bool temp4 = false ;
19601 bool temp5 = false ;
19602 long val6 ;
19603 int ecode6 = 0 ;
19604 wxPoint temp7 ;
19605 PyObject * obj0 = 0 ;
19606 PyObject * obj1 = 0 ;
19607 PyObject * obj2 = 0 ;
19608 PyObject * obj3 = 0 ;
19609 PyObject * obj4 = 0 ;
19610 PyObject * obj5 = 0 ;
19611 PyObject * obj6 = 0 ;
19612 char * kwnames[] = {
19613 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
19614 };
19615
19616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
19617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19618 if (!SWIG_IsOK(res1)) {
19619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19620 }
19621 arg1 = reinterpret_cast< wxWindow * >(argp1);
19622 if (obj1) {
19623 {
19624 arg2 = wxString_in_helper(obj1);
19625 if (arg2 == NULL) SWIG_fail;
19626 temp2 = true;
19627 }
19628 }
19629 if (obj2) {
19630 {
19631 arg3 = wxString_in_helper(obj2);
19632 if (arg3 == NULL) SWIG_fail;
19633 temp3 = true;
19634 }
19635 }
19636 if (obj3) {
19637 {
19638 arg4 = wxString_in_helper(obj3);
19639 if (arg4 == NULL) SWIG_fail;
19640 temp4 = true;
19641 }
19642 }
19643 if (obj4) {
19644 {
19645 arg5 = wxString_in_helper(obj4);
19646 if (arg5 == NULL) SWIG_fail;
19647 temp5 = true;
19648 }
19649 }
19650 if (obj5) {
19651 ecode6 = SWIG_AsVal_long(obj5, &val6);
19652 if (!SWIG_IsOK(ecode6)) {
19653 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
19654 }
19655 arg6 = static_cast< long >(val6);
19656 }
19657 if (obj6) {
19658 {
19659 arg7 = &temp7;
19660 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
19661 }
19662 }
19663 {
19664 if (!wxPyCheckForApp()) SWIG_fail;
19665 PyThreadState* __tstate = wxPyBeginAllowThreads();
19666 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
19667 wxPyEndAllowThreads(__tstate);
19668 if (PyErr_Occurred()) SWIG_fail;
19669 }
19670 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
19671 {
19672 if (temp2)
19673 delete arg2;
19674 }
19675 {
19676 if (temp3)
19677 delete arg3;
19678 }
19679 {
19680 if (temp4)
19681 delete arg4;
19682 }
19683 {
19684 if (temp5)
19685 delete arg5;
19686 }
19687 return resultobj;
19688 fail:
19689 {
19690 if (temp2)
19691 delete arg2;
19692 }
19693 {
19694 if (temp3)
19695 delete arg3;
19696 }
19697 {
19698 if (temp4)
19699 delete arg4;
19700 }
19701 {
19702 if (temp5)
19703 delete arg5;
19704 }
19705 return NULL;
19706 }
19707
19708
19709 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19710 PyObject *resultobj = 0;
19711 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19712 wxString *arg2 = 0 ;
19713 void *argp1 = 0 ;
19714 int res1 = 0 ;
19715 bool temp2 = false ;
19716 PyObject * obj0 = 0 ;
19717 PyObject * obj1 = 0 ;
19718 char * kwnames[] = {
19719 (char *) "self",(char *) "message", NULL
19720 };
19721
19722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
19723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19724 if (!SWIG_IsOK(res1)) {
19725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19726 }
19727 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19728 {
19729 arg2 = wxString_in_helper(obj1);
19730 if (arg2 == NULL) SWIG_fail;
19731 temp2 = true;
19732 }
19733 {
19734 PyThreadState* __tstate = wxPyBeginAllowThreads();
19735 (arg1)->SetMessage((wxString const &)*arg2);
19736 wxPyEndAllowThreads(__tstate);
19737 if (PyErr_Occurred()) SWIG_fail;
19738 }
19739 resultobj = SWIG_Py_Void();
19740 {
19741 if (temp2)
19742 delete arg2;
19743 }
19744 return resultobj;
19745 fail:
19746 {
19747 if (temp2)
19748 delete arg2;
19749 }
19750 return NULL;
19751 }
19752
19753
19754 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19755 PyObject *resultobj = 0;
19756 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19757 wxString *arg2 = 0 ;
19758 void *argp1 = 0 ;
19759 int res1 = 0 ;
19760 bool temp2 = false ;
19761 PyObject * obj0 = 0 ;
19762 PyObject * obj1 = 0 ;
19763 char * kwnames[] = {
19764 (char *) "self",(char *) "path", NULL
19765 };
19766
19767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
19768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19769 if (!SWIG_IsOK(res1)) {
19770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19771 }
19772 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19773 {
19774 arg2 = wxString_in_helper(obj1);
19775 if (arg2 == NULL) SWIG_fail;
19776 temp2 = true;
19777 }
19778 {
19779 PyThreadState* __tstate = wxPyBeginAllowThreads();
19780 (arg1)->SetPath((wxString const &)*arg2);
19781 wxPyEndAllowThreads(__tstate);
19782 if (PyErr_Occurred()) SWIG_fail;
19783 }
19784 resultobj = SWIG_Py_Void();
19785 {
19786 if (temp2)
19787 delete arg2;
19788 }
19789 return resultobj;
19790 fail:
19791 {
19792 if (temp2)
19793 delete arg2;
19794 }
19795 return NULL;
19796 }
19797
19798
19799 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19800 PyObject *resultobj = 0;
19801 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19802 wxString *arg2 = 0 ;
19803 void *argp1 = 0 ;
19804 int res1 = 0 ;
19805 bool temp2 = false ;
19806 PyObject * obj0 = 0 ;
19807 PyObject * obj1 = 0 ;
19808 char * kwnames[] = {
19809 (char *) "self",(char *) "dir", NULL
19810 };
19811
19812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
19813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19814 if (!SWIG_IsOK(res1)) {
19815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19816 }
19817 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19818 {
19819 arg2 = wxString_in_helper(obj1);
19820 if (arg2 == NULL) SWIG_fail;
19821 temp2 = true;
19822 }
19823 {
19824 PyThreadState* __tstate = wxPyBeginAllowThreads();
19825 (arg1)->SetDirectory((wxString const &)*arg2);
19826 wxPyEndAllowThreads(__tstate);
19827 if (PyErr_Occurred()) SWIG_fail;
19828 }
19829 resultobj = SWIG_Py_Void();
19830 {
19831 if (temp2)
19832 delete arg2;
19833 }
19834 return resultobj;
19835 fail:
19836 {
19837 if (temp2)
19838 delete arg2;
19839 }
19840 return NULL;
19841 }
19842
19843
19844 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19845 PyObject *resultobj = 0;
19846 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19847 wxString *arg2 = 0 ;
19848 void *argp1 = 0 ;
19849 int res1 = 0 ;
19850 bool temp2 = false ;
19851 PyObject * obj0 = 0 ;
19852 PyObject * obj1 = 0 ;
19853 char * kwnames[] = {
19854 (char *) "self",(char *) "name", NULL
19855 };
19856
19857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
19858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19859 if (!SWIG_IsOK(res1)) {
19860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19861 }
19862 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19863 {
19864 arg2 = wxString_in_helper(obj1);
19865 if (arg2 == NULL) SWIG_fail;
19866 temp2 = true;
19867 }
19868 {
19869 PyThreadState* __tstate = wxPyBeginAllowThreads();
19870 (arg1)->SetFilename((wxString const &)*arg2);
19871 wxPyEndAllowThreads(__tstate);
19872 if (PyErr_Occurred()) SWIG_fail;
19873 }
19874 resultobj = SWIG_Py_Void();
19875 {
19876 if (temp2)
19877 delete arg2;
19878 }
19879 return resultobj;
19880 fail:
19881 {
19882 if (temp2)
19883 delete arg2;
19884 }
19885 return NULL;
19886 }
19887
19888
19889 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19890 PyObject *resultobj = 0;
19891 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19892 wxString *arg2 = 0 ;
19893 void *argp1 = 0 ;
19894 int res1 = 0 ;
19895 bool temp2 = false ;
19896 PyObject * obj0 = 0 ;
19897 PyObject * obj1 = 0 ;
19898 char * kwnames[] = {
19899 (char *) "self",(char *) "wildCard", NULL
19900 };
19901
19902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
19903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19904 if (!SWIG_IsOK(res1)) {
19905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19906 }
19907 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19908 {
19909 arg2 = wxString_in_helper(obj1);
19910 if (arg2 == NULL) SWIG_fail;
19911 temp2 = true;
19912 }
19913 {
19914 PyThreadState* __tstate = wxPyBeginAllowThreads();
19915 (arg1)->SetWildcard((wxString const &)*arg2);
19916 wxPyEndAllowThreads(__tstate);
19917 if (PyErr_Occurred()) SWIG_fail;
19918 }
19919 resultobj = SWIG_Py_Void();
19920 {
19921 if (temp2)
19922 delete arg2;
19923 }
19924 return resultobj;
19925 fail:
19926 {
19927 if (temp2)
19928 delete arg2;
19929 }
19930 return NULL;
19931 }
19932
19933
19934 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19935 PyObject *resultobj = 0;
19936 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19937 int arg2 ;
19938 void *argp1 = 0 ;
19939 int res1 = 0 ;
19940 int val2 ;
19941 int ecode2 = 0 ;
19942 PyObject * obj0 = 0 ;
19943 PyObject * obj1 = 0 ;
19944 char * kwnames[] = {
19945 (char *) "self",(char *) "filterIndex", NULL
19946 };
19947
19948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
19949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19950 if (!SWIG_IsOK(res1)) {
19951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19952 }
19953 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19954 ecode2 = SWIG_AsVal_int(obj1, &val2);
19955 if (!SWIG_IsOK(ecode2)) {
19956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
19957 }
19958 arg2 = static_cast< int >(val2);
19959 {
19960 PyThreadState* __tstate = wxPyBeginAllowThreads();
19961 (arg1)->SetFilterIndex(arg2);
19962 wxPyEndAllowThreads(__tstate);
19963 if (PyErr_Occurred()) SWIG_fail;
19964 }
19965 resultobj = SWIG_Py_Void();
19966 return resultobj;
19967 fail:
19968 return NULL;
19969 }
19970
19971
19972 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19973 PyObject *resultobj = 0;
19974 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19975 wxString result;
19976 void *argp1 = 0 ;
19977 int res1 = 0 ;
19978 PyObject *swig_obj[1] ;
19979
19980 if (!args) SWIG_fail;
19981 swig_obj[0] = args;
19982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19983 if (!SWIG_IsOK(res1)) {
19984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
19985 }
19986 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19987 {
19988 PyThreadState* __tstate = wxPyBeginAllowThreads();
19989 result = ((wxFileDialog const *)arg1)->GetMessage();
19990 wxPyEndAllowThreads(__tstate);
19991 if (PyErr_Occurred()) SWIG_fail;
19992 }
19993 {
19994 #if wxUSE_UNICODE
19995 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19996 #else
19997 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19998 #endif
19999 }
20000 return resultobj;
20001 fail:
20002 return NULL;
20003 }
20004
20005
20006 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20007 PyObject *resultobj = 0;
20008 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20009 wxString result;
20010 void *argp1 = 0 ;
20011 int res1 = 0 ;
20012 PyObject *swig_obj[1] ;
20013
20014 if (!args) SWIG_fail;
20015 swig_obj[0] = args;
20016 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20017 if (!SWIG_IsOK(res1)) {
20018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20019 }
20020 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20021 {
20022 PyThreadState* __tstate = wxPyBeginAllowThreads();
20023 result = ((wxFileDialog const *)arg1)->GetPath();
20024 wxPyEndAllowThreads(__tstate);
20025 if (PyErr_Occurred()) SWIG_fail;
20026 }
20027 {
20028 #if wxUSE_UNICODE
20029 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20030 #else
20031 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20032 #endif
20033 }
20034 return resultobj;
20035 fail:
20036 return NULL;
20037 }
20038
20039
20040 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20041 PyObject *resultobj = 0;
20042 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20043 wxString result;
20044 void *argp1 = 0 ;
20045 int res1 = 0 ;
20046 PyObject *swig_obj[1] ;
20047
20048 if (!args) SWIG_fail;
20049 swig_obj[0] = args;
20050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20051 if (!SWIG_IsOK(res1)) {
20052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20053 }
20054 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20055 {
20056 PyThreadState* __tstate = wxPyBeginAllowThreads();
20057 result = ((wxFileDialog const *)arg1)->GetDirectory();
20058 wxPyEndAllowThreads(__tstate);
20059 if (PyErr_Occurred()) SWIG_fail;
20060 }
20061 {
20062 #if wxUSE_UNICODE
20063 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20064 #else
20065 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20066 #endif
20067 }
20068 return resultobj;
20069 fail:
20070 return NULL;
20071 }
20072
20073
20074 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20075 PyObject *resultobj = 0;
20076 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20077 wxString result;
20078 void *argp1 = 0 ;
20079 int res1 = 0 ;
20080 PyObject *swig_obj[1] ;
20081
20082 if (!args) SWIG_fail;
20083 swig_obj[0] = args;
20084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20085 if (!SWIG_IsOK(res1)) {
20086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20087 }
20088 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20089 {
20090 PyThreadState* __tstate = wxPyBeginAllowThreads();
20091 result = ((wxFileDialog const *)arg1)->GetFilename();
20092 wxPyEndAllowThreads(__tstate);
20093 if (PyErr_Occurred()) SWIG_fail;
20094 }
20095 {
20096 #if wxUSE_UNICODE
20097 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20098 #else
20099 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20100 #endif
20101 }
20102 return resultobj;
20103 fail:
20104 return NULL;
20105 }
20106
20107
20108 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20109 PyObject *resultobj = 0;
20110 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20111 wxString result;
20112 void *argp1 = 0 ;
20113 int res1 = 0 ;
20114 PyObject *swig_obj[1] ;
20115
20116 if (!args) SWIG_fail;
20117 swig_obj[0] = args;
20118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20119 if (!SWIG_IsOK(res1)) {
20120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20121 }
20122 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20123 {
20124 PyThreadState* __tstate = wxPyBeginAllowThreads();
20125 result = ((wxFileDialog const *)arg1)->GetWildcard();
20126 wxPyEndAllowThreads(__tstate);
20127 if (PyErr_Occurred()) SWIG_fail;
20128 }
20129 {
20130 #if wxUSE_UNICODE
20131 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20132 #else
20133 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20134 #endif
20135 }
20136 return resultobj;
20137 fail:
20138 return NULL;
20139 }
20140
20141
20142 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20143 PyObject *resultobj = 0;
20144 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20145 int result;
20146 void *argp1 = 0 ;
20147 int res1 = 0 ;
20148 PyObject *swig_obj[1] ;
20149
20150 if (!args) SWIG_fail;
20151 swig_obj[0] = args;
20152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20153 if (!SWIG_IsOK(res1)) {
20154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20155 }
20156 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20157 {
20158 PyThreadState* __tstate = wxPyBeginAllowThreads();
20159 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
20160 wxPyEndAllowThreads(__tstate);
20161 if (PyErr_Occurred()) SWIG_fail;
20162 }
20163 resultobj = SWIG_From_int(static_cast< int >(result));
20164 return resultobj;
20165 fail:
20166 return NULL;
20167 }
20168
20169
20170 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20171 PyObject *resultobj = 0;
20172 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20173 PyObject *result = 0 ;
20174 void *argp1 = 0 ;
20175 int res1 = 0 ;
20176 PyObject *swig_obj[1] ;
20177
20178 if (!args) SWIG_fail;
20179 swig_obj[0] = args;
20180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20181 if (!SWIG_IsOK(res1)) {
20182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
20183 }
20184 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20185 {
20186 PyThreadState* __tstate = wxPyBeginAllowThreads();
20187 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
20188 wxPyEndAllowThreads(__tstate);
20189 if (PyErr_Occurred()) SWIG_fail;
20190 }
20191 resultobj = result;
20192 return resultobj;
20193 fail:
20194 return NULL;
20195 }
20196
20197
20198 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20199 PyObject *resultobj = 0;
20200 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20201 PyObject *result = 0 ;
20202 void *argp1 = 0 ;
20203 int res1 = 0 ;
20204 PyObject *swig_obj[1] ;
20205
20206 if (!args) SWIG_fail;
20207 swig_obj[0] = args;
20208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20209 if (!SWIG_IsOK(res1)) {
20210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
20211 }
20212 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20213 {
20214 PyThreadState* __tstate = wxPyBeginAllowThreads();
20215 result = (PyObject *)wxFileDialog_GetPaths(arg1);
20216 wxPyEndAllowThreads(__tstate);
20217 if (PyErr_Occurred()) SWIG_fail;
20218 }
20219 resultobj = result;
20220 return resultobj;
20221 fail:
20222 return NULL;
20223 }
20224
20225
20226 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20227 PyObject *obj;
20228 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20229 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
20230 return SWIG_Py_Void();
20231 }
20232
20233 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20234 return SWIG_Python_InitShadowInstance(args);
20235 }
20236
20237 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20238 PyObject *resultobj = 0;
20239 wxWindow *arg1 = (wxWindow *) 0 ;
20240 wxString *arg2 = 0 ;
20241 wxString *arg3 = 0 ;
20242 int arg4 = (int) 0 ;
20243 wxString *arg5 = (wxString *) NULL ;
20244 long arg6 = (long) wxCHOICEDLG_STYLE ;
20245 wxPoint const &arg7_defvalue = wxDefaultPosition ;
20246 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
20247 wxMultiChoiceDialog *result = 0 ;
20248 void *argp1 = 0 ;
20249 int res1 = 0 ;
20250 bool temp2 = false ;
20251 bool temp3 = false ;
20252 long val6 ;
20253 int ecode6 = 0 ;
20254 wxPoint temp7 ;
20255 PyObject * obj0 = 0 ;
20256 PyObject * obj1 = 0 ;
20257 PyObject * obj2 = 0 ;
20258 PyObject * obj3 = 0 ;
20259 PyObject * obj4 = 0 ;
20260 PyObject * obj5 = 0 ;
20261 char * kwnames[] = {
20262 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
20263 };
20264
20265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20267 if (!SWIG_IsOK(res1)) {
20268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20269 }
20270 arg1 = reinterpret_cast< wxWindow * >(argp1);
20271 {
20272 arg2 = wxString_in_helper(obj1);
20273 if (arg2 == NULL) SWIG_fail;
20274 temp2 = true;
20275 }
20276 {
20277 arg3 = wxString_in_helper(obj2);
20278 if (arg3 == NULL) SWIG_fail;
20279 temp3 = true;
20280 }
20281 if (obj3) {
20282 {
20283 arg4 = PyList_Size(obj3);
20284 arg5 = wxString_LIST_helper(obj3);
20285 if (arg5 == NULL) SWIG_fail;
20286 }
20287 }
20288 if (obj4) {
20289 ecode6 = SWIG_AsVal_long(obj4, &val6);
20290 if (!SWIG_IsOK(ecode6)) {
20291 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
20292 }
20293 arg6 = static_cast< long >(val6);
20294 }
20295 if (obj5) {
20296 {
20297 arg7 = &temp7;
20298 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
20299 }
20300 }
20301 {
20302 if (!wxPyCheckForApp()) SWIG_fail;
20303 PyThreadState* __tstate = wxPyBeginAllowThreads();
20304 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
20305 wxPyEndAllowThreads(__tstate);
20306 if (PyErr_Occurred()) SWIG_fail;
20307 }
20308 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
20309 {
20310 if (temp2)
20311 delete arg2;
20312 }
20313 {
20314 if (temp3)
20315 delete arg3;
20316 }
20317 {
20318 if (arg5) delete [] arg5;
20319 }
20320 return resultobj;
20321 fail:
20322 {
20323 if (temp2)
20324 delete arg2;
20325 }
20326 {
20327 if (temp3)
20328 delete arg3;
20329 }
20330 {
20331 if (arg5) delete [] arg5;
20332 }
20333 return NULL;
20334 }
20335
20336
20337 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20338 PyObject *resultobj = 0;
20339 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
20340 wxArrayInt *arg2 = 0 ;
20341 void *argp1 = 0 ;
20342 int res1 = 0 ;
20343 bool temp2 = false ;
20344 PyObject * obj0 = 0 ;
20345 PyObject * obj1 = 0 ;
20346 char * kwnames[] = {
20347 (char *) "self",(char *) "selections", NULL
20348 };
20349
20350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
20351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
20352 if (!SWIG_IsOK(res1)) {
20353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
20354 }
20355 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
20356 {
20357 if (! PySequence_Check(obj1)) {
20358 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
20359 SWIG_fail;
20360 }
20361 arg2 = new wxArrayInt;
20362 temp2 = true;
20363 int i, len=PySequence_Length(obj1);
20364 for (i=0; i<len; i++) {
20365 PyObject* item = PySequence_GetItem(obj1, i);
20366 PyObject* number = PyNumber_Int(item);
20367 if (!number) {
20368 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
20369 SWIG_fail;
20370 }
20371 arg2->Add(PyInt_AS_LONG(number));
20372 Py_DECREF(item);
20373 Py_DECREF(number);
20374 }
20375 }
20376 {
20377 PyThreadState* __tstate = wxPyBeginAllowThreads();
20378 (arg1)->SetSelections((wxArrayInt const &)*arg2);
20379 wxPyEndAllowThreads(__tstate);
20380 if (PyErr_Occurred()) SWIG_fail;
20381 }
20382 resultobj = SWIG_Py_Void();
20383 {
20384 if (temp2) delete arg2;
20385 }
20386 return resultobj;
20387 fail:
20388 {
20389 if (temp2) delete arg2;
20390 }
20391 return NULL;
20392 }
20393
20394
20395 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20396 PyObject *resultobj = 0;
20397 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
20398 PyObject *result = 0 ;
20399 void *argp1 = 0 ;
20400 int res1 = 0 ;
20401 PyObject *swig_obj[1] ;
20402
20403 if (!args) SWIG_fail;
20404 swig_obj[0] = args;
20405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
20406 if (!SWIG_IsOK(res1)) {
20407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
20408 }
20409 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
20410 {
20411 PyThreadState* __tstate = wxPyBeginAllowThreads();
20412 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
20413 wxPyEndAllowThreads(__tstate);
20414 if (PyErr_Occurred()) SWIG_fail;
20415 }
20416 resultobj = result;
20417 return resultobj;
20418 fail:
20419 return NULL;
20420 }
20421
20422
20423 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20424 PyObject *obj;
20425 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20426 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
20427 return SWIG_Py_Void();
20428 }
20429
20430 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20431 return SWIG_Python_InitShadowInstance(args);
20432 }
20433
20434 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20435 PyObject *resultobj = 0;
20436 wxWindow *arg1 = (wxWindow *) 0 ;
20437 wxString *arg2 = 0 ;
20438 wxString *arg3 = 0 ;
20439 int arg4 ;
20440 wxString *arg5 = (wxString *) 0 ;
20441 long arg6 = (long) wxCHOICEDLG_STYLE ;
20442 wxPoint const &arg7_defvalue = wxDefaultPosition ;
20443 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
20444 wxSingleChoiceDialog *result = 0 ;
20445 void *argp1 = 0 ;
20446 int res1 = 0 ;
20447 bool temp2 = false ;
20448 bool temp3 = false ;
20449 long val6 ;
20450 int ecode6 = 0 ;
20451 wxPoint temp7 ;
20452 PyObject * obj0 = 0 ;
20453 PyObject * obj1 = 0 ;
20454 PyObject * obj2 = 0 ;
20455 PyObject * obj3 = 0 ;
20456 PyObject * obj4 = 0 ;
20457 PyObject * obj5 = 0 ;
20458 char * kwnames[] = {
20459 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
20460 };
20461
20462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20464 if (!SWIG_IsOK(res1)) {
20465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20466 }
20467 arg1 = reinterpret_cast< wxWindow * >(argp1);
20468 {
20469 arg2 = wxString_in_helper(obj1);
20470 if (arg2 == NULL) SWIG_fail;
20471 temp2 = true;
20472 }
20473 {
20474 arg3 = wxString_in_helper(obj2);
20475 if (arg3 == NULL) SWIG_fail;
20476 temp3 = true;
20477 }
20478 {
20479 arg4 = PyList_Size(obj3);
20480 arg5 = wxString_LIST_helper(obj3);
20481 if (arg5 == NULL) SWIG_fail;
20482 }
20483 if (obj4) {
20484 ecode6 = SWIG_AsVal_long(obj4, &val6);
20485 if (!SWIG_IsOK(ecode6)) {
20486 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
20487 }
20488 arg6 = static_cast< long >(val6);
20489 }
20490 if (obj5) {
20491 {
20492 arg7 = &temp7;
20493 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
20494 }
20495 }
20496 {
20497 if (!wxPyCheckForApp()) SWIG_fail;
20498 PyThreadState* __tstate = wxPyBeginAllowThreads();
20499 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
20500 wxPyEndAllowThreads(__tstate);
20501 if (PyErr_Occurred()) SWIG_fail;
20502 }
20503 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
20504 {
20505 if (temp2)
20506 delete arg2;
20507 }
20508 {
20509 if (temp3)
20510 delete arg3;
20511 }
20512 {
20513 if (arg5) delete [] arg5;
20514 }
20515 return resultobj;
20516 fail:
20517 {
20518 if (temp2)
20519 delete arg2;
20520 }
20521 {
20522 if (temp3)
20523 delete arg3;
20524 }
20525 {
20526 if (arg5) delete [] arg5;
20527 }
20528 return NULL;
20529 }
20530
20531
20532 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20533 PyObject *resultobj = 0;
20534 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
20535 int result;
20536 void *argp1 = 0 ;
20537 int res1 = 0 ;
20538 PyObject *swig_obj[1] ;
20539
20540 if (!args) SWIG_fail;
20541 swig_obj[0] = args;
20542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
20543 if (!SWIG_IsOK(res1)) {
20544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20545 }
20546 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
20547 {
20548 PyThreadState* __tstate = wxPyBeginAllowThreads();
20549 result = (int)(arg1)->GetSelection();
20550 wxPyEndAllowThreads(__tstate);
20551 if (PyErr_Occurred()) SWIG_fail;
20552 }
20553 resultobj = SWIG_From_int(static_cast< int >(result));
20554 return resultobj;
20555 fail:
20556 return NULL;
20557 }
20558
20559
20560 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20561 PyObject *resultobj = 0;
20562 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
20563 wxString result;
20564 void *argp1 = 0 ;
20565 int res1 = 0 ;
20566 PyObject *swig_obj[1] ;
20567
20568 if (!args) SWIG_fail;
20569 swig_obj[0] = args;
20570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
20571 if (!SWIG_IsOK(res1)) {
20572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20573 }
20574 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
20575 {
20576 PyThreadState* __tstate = wxPyBeginAllowThreads();
20577 result = (arg1)->GetStringSelection();
20578 wxPyEndAllowThreads(__tstate);
20579 if (PyErr_Occurred()) SWIG_fail;
20580 }
20581 {
20582 #if wxUSE_UNICODE
20583 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20584 #else
20585 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20586 #endif
20587 }
20588 return resultobj;
20589 fail:
20590 return NULL;
20591 }
20592
20593
20594 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20595 PyObject *resultobj = 0;
20596 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
20597 int arg2 ;
20598 void *argp1 = 0 ;
20599 int res1 = 0 ;
20600 int val2 ;
20601 int ecode2 = 0 ;
20602 PyObject * obj0 = 0 ;
20603 PyObject * obj1 = 0 ;
20604 char * kwnames[] = {
20605 (char *) "self",(char *) "sel", NULL
20606 };
20607
20608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
20610 if (!SWIG_IsOK(res1)) {
20611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20612 }
20613 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
20614 ecode2 = SWIG_AsVal_int(obj1, &val2);
20615 if (!SWIG_IsOK(ecode2)) {
20616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
20617 }
20618 arg2 = static_cast< int >(val2);
20619 {
20620 PyThreadState* __tstate = wxPyBeginAllowThreads();
20621 (arg1)->SetSelection(arg2);
20622 wxPyEndAllowThreads(__tstate);
20623 if (PyErr_Occurred()) SWIG_fail;
20624 }
20625 resultobj = SWIG_Py_Void();
20626 return resultobj;
20627 fail:
20628 return NULL;
20629 }
20630
20631
20632 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20633 PyObject *obj;
20634 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20635 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
20636 return SWIG_Py_Void();
20637 }
20638
20639 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20640 return SWIG_Python_InitShadowInstance(args);
20641 }
20642
20643 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20644 PyObject *resultobj = 0;
20645 wxWindow *arg1 = (wxWindow *) 0 ;
20646 wxString *arg2 = 0 ;
20647 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
20648 wxString *arg3 = (wxString *) &arg3_defvalue ;
20649 wxString const &arg4_defvalue = wxPyEmptyString ;
20650 wxString *arg4 = (wxString *) &arg4_defvalue ;
20651 long arg5 = (long) wxTextEntryDialogStyle ;
20652 wxPoint const &arg6_defvalue = wxDefaultPosition ;
20653 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
20654 wxTextEntryDialog *result = 0 ;
20655 void *argp1 = 0 ;
20656 int res1 = 0 ;
20657 bool temp2 = false ;
20658 bool temp3 = false ;
20659 bool temp4 = false ;
20660 long val5 ;
20661 int ecode5 = 0 ;
20662 wxPoint temp6 ;
20663 PyObject * obj0 = 0 ;
20664 PyObject * obj1 = 0 ;
20665 PyObject * obj2 = 0 ;
20666 PyObject * obj3 = 0 ;
20667 PyObject * obj4 = 0 ;
20668 PyObject * obj5 = 0 ;
20669 char * kwnames[] = {
20670 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
20671 };
20672
20673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20675 if (!SWIG_IsOK(res1)) {
20676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20677 }
20678 arg1 = reinterpret_cast< wxWindow * >(argp1);
20679 {
20680 arg2 = wxString_in_helper(obj1);
20681 if (arg2 == NULL) SWIG_fail;
20682 temp2 = true;
20683 }
20684 if (obj2) {
20685 {
20686 arg3 = wxString_in_helper(obj2);
20687 if (arg3 == NULL) SWIG_fail;
20688 temp3 = true;
20689 }
20690 }
20691 if (obj3) {
20692 {
20693 arg4 = wxString_in_helper(obj3);
20694 if (arg4 == NULL) SWIG_fail;
20695 temp4 = true;
20696 }
20697 }
20698 if (obj4) {
20699 ecode5 = SWIG_AsVal_long(obj4, &val5);
20700 if (!SWIG_IsOK(ecode5)) {
20701 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
20702 }
20703 arg5 = static_cast< long >(val5);
20704 }
20705 if (obj5) {
20706 {
20707 arg6 = &temp6;
20708 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
20709 }
20710 }
20711 {
20712 if (!wxPyCheckForApp()) SWIG_fail;
20713 PyThreadState* __tstate = wxPyBeginAllowThreads();
20714 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
20715 wxPyEndAllowThreads(__tstate);
20716 if (PyErr_Occurred()) SWIG_fail;
20717 }
20718 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
20719 {
20720 if (temp2)
20721 delete arg2;
20722 }
20723 {
20724 if (temp3)
20725 delete arg3;
20726 }
20727 {
20728 if (temp4)
20729 delete arg4;
20730 }
20731 return resultobj;
20732 fail:
20733 {
20734 if (temp2)
20735 delete arg2;
20736 }
20737 {
20738 if (temp3)
20739 delete arg3;
20740 }
20741 {
20742 if (temp4)
20743 delete arg4;
20744 }
20745 return NULL;
20746 }
20747
20748
20749 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20750 PyObject *resultobj = 0;
20751 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
20752 wxString result;
20753 void *argp1 = 0 ;
20754 int res1 = 0 ;
20755 PyObject *swig_obj[1] ;
20756
20757 if (!args) SWIG_fail;
20758 swig_obj[0] = args;
20759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
20760 if (!SWIG_IsOK(res1)) {
20761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
20762 }
20763 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
20764 {
20765 PyThreadState* __tstate = wxPyBeginAllowThreads();
20766 result = (arg1)->GetValue();
20767 wxPyEndAllowThreads(__tstate);
20768 if (PyErr_Occurred()) SWIG_fail;
20769 }
20770 {
20771 #if wxUSE_UNICODE
20772 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20773 #else
20774 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20775 #endif
20776 }
20777 return resultobj;
20778 fail:
20779 return NULL;
20780 }
20781
20782
20783 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20784 PyObject *resultobj = 0;
20785 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
20786 wxString *arg2 = 0 ;
20787 void *argp1 = 0 ;
20788 int res1 = 0 ;
20789 bool temp2 = false ;
20790 PyObject * obj0 = 0 ;
20791 PyObject * obj1 = 0 ;
20792 char * kwnames[] = {
20793 (char *) "self",(char *) "value", NULL
20794 };
20795
20796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
20797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
20798 if (!SWIG_IsOK(res1)) {
20799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
20800 }
20801 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
20802 {
20803 arg2 = wxString_in_helper(obj1);
20804 if (arg2 == NULL) SWIG_fail;
20805 temp2 = true;
20806 }
20807 {
20808 PyThreadState* __tstate = wxPyBeginAllowThreads();
20809 (arg1)->SetValue((wxString const &)*arg2);
20810 wxPyEndAllowThreads(__tstate);
20811 if (PyErr_Occurred()) SWIG_fail;
20812 }
20813 resultobj = SWIG_Py_Void();
20814 {
20815 if (temp2)
20816 delete arg2;
20817 }
20818 return resultobj;
20819 fail:
20820 {
20821 if (temp2)
20822 delete arg2;
20823 }
20824 return NULL;
20825 }
20826
20827
20828 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20829 PyObject *obj;
20830 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20831 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
20832 return SWIG_Py_Void();
20833 }
20834
20835 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20836 return SWIG_Python_InitShadowInstance(args);
20837 }
20838
20839 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
20840 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
20841 return 1;
20842 }
20843
20844
20845 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
20846 PyObject *pyobj = 0;
20847
20848 {
20849 #if wxUSE_UNICODE
20850 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
20851 #else
20852 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
20853 #endif
20854 }
20855 return pyobj;
20856 }
20857
20858
20859 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20860 PyObject *resultobj = 0;
20861 wxWindow *arg1 = (wxWindow *) 0 ;
20862 wxString *arg2 = 0 ;
20863 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
20864 wxString *arg3 = (wxString *) &arg3_defvalue ;
20865 wxString const &arg4_defvalue = wxPyEmptyString ;
20866 wxString *arg4 = (wxString *) &arg4_defvalue ;
20867 long arg5 = (long) wxTextEntryDialogStyle ;
20868 wxPoint const &arg6_defvalue = wxDefaultPosition ;
20869 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
20870 wxPasswordEntryDialog *result = 0 ;
20871 void *argp1 = 0 ;
20872 int res1 = 0 ;
20873 bool temp2 = false ;
20874 bool temp3 = false ;
20875 bool temp4 = false ;
20876 long val5 ;
20877 int ecode5 = 0 ;
20878 wxPoint temp6 ;
20879 PyObject * obj0 = 0 ;
20880 PyObject * obj1 = 0 ;
20881 PyObject * obj2 = 0 ;
20882 PyObject * obj3 = 0 ;
20883 PyObject * obj4 = 0 ;
20884 PyObject * obj5 = 0 ;
20885 char * kwnames[] = {
20886 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
20887 };
20888
20889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20891 if (!SWIG_IsOK(res1)) {
20892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20893 }
20894 arg1 = reinterpret_cast< wxWindow * >(argp1);
20895 {
20896 arg2 = wxString_in_helper(obj1);
20897 if (arg2 == NULL) SWIG_fail;
20898 temp2 = true;
20899 }
20900 if (obj2) {
20901 {
20902 arg3 = wxString_in_helper(obj2);
20903 if (arg3 == NULL) SWIG_fail;
20904 temp3 = true;
20905 }
20906 }
20907 if (obj3) {
20908 {
20909 arg4 = wxString_in_helper(obj3);
20910 if (arg4 == NULL) SWIG_fail;
20911 temp4 = true;
20912 }
20913 }
20914 if (obj4) {
20915 ecode5 = SWIG_AsVal_long(obj4, &val5);
20916 if (!SWIG_IsOK(ecode5)) {
20917 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
20918 }
20919 arg5 = static_cast< long >(val5);
20920 }
20921 if (obj5) {
20922 {
20923 arg6 = &temp6;
20924 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
20925 }
20926 }
20927 {
20928 PyThreadState* __tstate = wxPyBeginAllowThreads();
20929 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
20930 wxPyEndAllowThreads(__tstate);
20931 if (PyErr_Occurred()) SWIG_fail;
20932 }
20933 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
20934 {
20935 if (temp2)
20936 delete arg2;
20937 }
20938 {
20939 if (temp3)
20940 delete arg3;
20941 }
20942 {
20943 if (temp4)
20944 delete arg4;
20945 }
20946 return resultobj;
20947 fail:
20948 {
20949 if (temp2)
20950 delete arg2;
20951 }
20952 {
20953 if (temp3)
20954 delete arg3;
20955 }
20956 {
20957 if (temp4)
20958 delete arg4;
20959 }
20960 return NULL;
20961 }
20962
20963
20964 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20965 PyObject *obj;
20966 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20967 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
20968 return SWIG_Py_Void();
20969 }
20970
20971 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20972 return SWIG_Python_InitShadowInstance(args);
20973 }
20974
20975 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20976 PyObject *resultobj = 0;
20977 wxWindow *arg1 = (wxWindow *) 0 ;
20978 wxString *arg2 = 0 ;
20979 wxString *arg3 = 0 ;
20980 wxString *arg4 = 0 ;
20981 long arg5 ;
20982 long arg6 ;
20983 long arg7 ;
20984 wxPoint const &arg8_defvalue = wxDefaultPosition ;
20985 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
20986 wxNumberEntryDialog *result = 0 ;
20987 void *argp1 = 0 ;
20988 int res1 = 0 ;
20989 bool temp2 = false ;
20990 bool temp3 = false ;
20991 bool temp4 = false ;
20992 long val5 ;
20993 int ecode5 = 0 ;
20994 long val6 ;
20995 int ecode6 = 0 ;
20996 long val7 ;
20997 int ecode7 = 0 ;
20998 wxPoint temp8 ;
20999 PyObject * obj0 = 0 ;
21000 PyObject * obj1 = 0 ;
21001 PyObject * obj2 = 0 ;
21002 PyObject * obj3 = 0 ;
21003 PyObject * obj4 = 0 ;
21004 PyObject * obj5 = 0 ;
21005 PyObject * obj6 = 0 ;
21006 PyObject * obj7 = 0 ;
21007 char * kwnames[] = {
21008 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
21009 };
21010
21011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21013 if (!SWIG_IsOK(res1)) {
21014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21015 }
21016 arg1 = reinterpret_cast< wxWindow * >(argp1);
21017 {
21018 arg2 = wxString_in_helper(obj1);
21019 if (arg2 == NULL) SWIG_fail;
21020 temp2 = true;
21021 }
21022 {
21023 arg3 = wxString_in_helper(obj2);
21024 if (arg3 == NULL) SWIG_fail;
21025 temp3 = true;
21026 }
21027 {
21028 arg4 = wxString_in_helper(obj3);
21029 if (arg4 == NULL) SWIG_fail;
21030 temp4 = true;
21031 }
21032 ecode5 = SWIG_AsVal_long(obj4, &val5);
21033 if (!SWIG_IsOK(ecode5)) {
21034 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
21035 }
21036 arg5 = static_cast< long >(val5);
21037 ecode6 = SWIG_AsVal_long(obj5, &val6);
21038 if (!SWIG_IsOK(ecode6)) {
21039 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
21040 }
21041 arg6 = static_cast< long >(val6);
21042 ecode7 = SWIG_AsVal_long(obj6, &val7);
21043 if (!SWIG_IsOK(ecode7)) {
21044 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
21045 }
21046 arg7 = static_cast< long >(val7);
21047 if (obj7) {
21048 {
21049 arg8 = &temp8;
21050 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
21051 }
21052 }
21053 {
21054 if (!wxPyCheckForApp()) SWIG_fail;
21055 PyThreadState* __tstate = wxPyBeginAllowThreads();
21056 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
21057 wxPyEndAllowThreads(__tstate);
21058 if (PyErr_Occurred()) SWIG_fail;
21059 }
21060 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
21061 {
21062 if (temp2)
21063 delete arg2;
21064 }
21065 {
21066 if (temp3)
21067 delete arg3;
21068 }
21069 {
21070 if (temp4)
21071 delete arg4;
21072 }
21073 return resultobj;
21074 fail:
21075 {
21076 if (temp2)
21077 delete arg2;
21078 }
21079 {
21080 if (temp3)
21081 delete arg3;
21082 }
21083 {
21084 if (temp4)
21085 delete arg4;
21086 }
21087 return NULL;
21088 }
21089
21090
21091 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21092 PyObject *resultobj = 0;
21093 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
21094 long result;
21095 void *argp1 = 0 ;
21096 int res1 = 0 ;
21097 PyObject *swig_obj[1] ;
21098
21099 if (!args) SWIG_fail;
21100 swig_obj[0] = args;
21101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
21102 if (!SWIG_IsOK(res1)) {
21103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
21104 }
21105 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
21106 {
21107 PyThreadState* __tstate = wxPyBeginAllowThreads();
21108 result = (long)(arg1)->GetValue();
21109 wxPyEndAllowThreads(__tstate);
21110 if (PyErr_Occurred()) SWIG_fail;
21111 }
21112 resultobj = SWIG_From_long(static_cast< long >(result));
21113 return resultobj;
21114 fail:
21115 return NULL;
21116 }
21117
21118
21119 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21120 PyObject *obj;
21121 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21122 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
21123 return SWIG_Py_Void();
21124 }
21125
21126 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21127 return SWIG_Python_InitShadowInstance(args);
21128 }
21129
21130 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21131 PyObject *resultobj = 0;
21132 wxFontData *result = 0 ;
21133
21134 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
21135 {
21136 PyThreadState* __tstate = wxPyBeginAllowThreads();
21137 result = (wxFontData *)new wxFontData();
21138 wxPyEndAllowThreads(__tstate);
21139 if (PyErr_Occurred()) SWIG_fail;
21140 }
21141 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
21142 return resultobj;
21143 fail:
21144 return NULL;
21145 }
21146
21147
21148 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21149 PyObject *resultobj = 0;
21150 wxFontData *arg1 = (wxFontData *) 0 ;
21151 void *argp1 = 0 ;
21152 int res1 = 0 ;
21153 PyObject *swig_obj[1] ;
21154
21155 if (!args) SWIG_fail;
21156 swig_obj[0] = args;
21157 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
21158 if (!SWIG_IsOK(res1)) {
21159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
21160 }
21161 arg1 = reinterpret_cast< wxFontData * >(argp1);
21162 {
21163 PyThreadState* __tstate = wxPyBeginAllowThreads();
21164 delete arg1;
21165
21166 wxPyEndAllowThreads(__tstate);
21167 if (PyErr_Occurred()) SWIG_fail;
21168 }
21169 resultobj = SWIG_Py_Void();
21170 return resultobj;
21171 fail:
21172 return NULL;
21173 }
21174
21175
21176 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21177 PyObject *resultobj = 0;
21178 wxFontData *arg1 = (wxFontData *) 0 ;
21179 bool arg2 ;
21180 void *argp1 = 0 ;
21181 int res1 = 0 ;
21182 bool val2 ;
21183 int ecode2 = 0 ;
21184 PyObject * obj0 = 0 ;
21185 PyObject * obj1 = 0 ;
21186 char * kwnames[] = {
21187 (char *) "self",(char *) "enable", NULL
21188 };
21189
21190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
21191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21192 if (!SWIG_IsOK(res1)) {
21193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
21194 }
21195 arg1 = reinterpret_cast< wxFontData * >(argp1);
21196 ecode2 = SWIG_AsVal_bool(obj1, &val2);
21197 if (!SWIG_IsOK(ecode2)) {
21198 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
21199 }
21200 arg2 = static_cast< bool >(val2);
21201 {
21202 PyThreadState* __tstate = wxPyBeginAllowThreads();
21203 (arg1)->EnableEffects(arg2);
21204 wxPyEndAllowThreads(__tstate);
21205 if (PyErr_Occurred()) SWIG_fail;
21206 }
21207 resultobj = SWIG_Py_Void();
21208 return resultobj;
21209 fail:
21210 return NULL;
21211 }
21212
21213
21214 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21215 PyObject *resultobj = 0;
21216 wxFontData *arg1 = (wxFontData *) 0 ;
21217 bool result;
21218 void *argp1 = 0 ;
21219 int res1 = 0 ;
21220 PyObject *swig_obj[1] ;
21221
21222 if (!args) SWIG_fail;
21223 swig_obj[0] = args;
21224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21225 if (!SWIG_IsOK(res1)) {
21226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
21227 }
21228 arg1 = reinterpret_cast< wxFontData * >(argp1);
21229 {
21230 PyThreadState* __tstate = wxPyBeginAllowThreads();
21231 result = (bool)(arg1)->GetAllowSymbols();
21232 wxPyEndAllowThreads(__tstate);
21233 if (PyErr_Occurred()) SWIG_fail;
21234 }
21235 {
21236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21237 }
21238 return resultobj;
21239 fail:
21240 return NULL;
21241 }
21242
21243
21244 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21245 PyObject *resultobj = 0;
21246 wxFontData *arg1 = (wxFontData *) 0 ;
21247 wxColour result;
21248 void *argp1 = 0 ;
21249 int res1 = 0 ;
21250 PyObject *swig_obj[1] ;
21251
21252 if (!args) SWIG_fail;
21253 swig_obj[0] = args;
21254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21255 if (!SWIG_IsOK(res1)) {
21256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
21257 }
21258 arg1 = reinterpret_cast< wxFontData * >(argp1);
21259 {
21260 PyThreadState* __tstate = wxPyBeginAllowThreads();
21261 result = (arg1)->GetColour();
21262 wxPyEndAllowThreads(__tstate);
21263 if (PyErr_Occurred()) SWIG_fail;
21264 }
21265 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
21266 return resultobj;
21267 fail:
21268 return NULL;
21269 }
21270
21271
21272 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21273 PyObject *resultobj = 0;
21274 wxFontData *arg1 = (wxFontData *) 0 ;
21275 wxFont result;
21276 void *argp1 = 0 ;
21277 int res1 = 0 ;
21278 PyObject *swig_obj[1] ;
21279
21280 if (!args) SWIG_fail;
21281 swig_obj[0] = args;
21282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21283 if (!SWIG_IsOK(res1)) {
21284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21285 }
21286 arg1 = reinterpret_cast< wxFontData * >(argp1);
21287 {
21288 PyThreadState* __tstate = wxPyBeginAllowThreads();
21289 result = (arg1)->GetChosenFont();
21290 wxPyEndAllowThreads(__tstate);
21291 if (PyErr_Occurred()) SWIG_fail;
21292 }
21293 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
21294 return resultobj;
21295 fail:
21296 return NULL;
21297 }
21298
21299
21300 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21301 PyObject *resultobj = 0;
21302 wxFontData *arg1 = (wxFontData *) 0 ;
21303 bool result;
21304 void *argp1 = 0 ;
21305 int res1 = 0 ;
21306 PyObject *swig_obj[1] ;
21307
21308 if (!args) SWIG_fail;
21309 swig_obj[0] = args;
21310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21311 if (!SWIG_IsOK(res1)) {
21312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
21313 }
21314 arg1 = reinterpret_cast< wxFontData * >(argp1);
21315 {
21316 PyThreadState* __tstate = wxPyBeginAllowThreads();
21317 result = (bool)(arg1)->GetEnableEffects();
21318 wxPyEndAllowThreads(__tstate);
21319 if (PyErr_Occurred()) SWIG_fail;
21320 }
21321 {
21322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21323 }
21324 return resultobj;
21325 fail:
21326 return NULL;
21327 }
21328
21329
21330 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21331 PyObject *resultobj = 0;
21332 wxFontData *arg1 = (wxFontData *) 0 ;
21333 wxFont result;
21334 void *argp1 = 0 ;
21335 int res1 = 0 ;
21336 PyObject *swig_obj[1] ;
21337
21338 if (!args) SWIG_fail;
21339 swig_obj[0] = args;
21340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21341 if (!SWIG_IsOK(res1)) {
21342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21343 }
21344 arg1 = reinterpret_cast< wxFontData * >(argp1);
21345 {
21346 PyThreadState* __tstate = wxPyBeginAllowThreads();
21347 result = (arg1)->GetInitialFont();
21348 wxPyEndAllowThreads(__tstate);
21349 if (PyErr_Occurred()) SWIG_fail;
21350 }
21351 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
21352 return resultobj;
21353 fail:
21354 return NULL;
21355 }
21356
21357
21358 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21359 PyObject *resultobj = 0;
21360 wxFontData *arg1 = (wxFontData *) 0 ;
21361 bool result;
21362 void *argp1 = 0 ;
21363 int res1 = 0 ;
21364 PyObject *swig_obj[1] ;
21365
21366 if (!args) SWIG_fail;
21367 swig_obj[0] = args;
21368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21369 if (!SWIG_IsOK(res1)) {
21370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
21371 }
21372 arg1 = reinterpret_cast< wxFontData * >(argp1);
21373 {
21374 PyThreadState* __tstate = wxPyBeginAllowThreads();
21375 result = (bool)(arg1)->GetShowHelp();
21376 wxPyEndAllowThreads(__tstate);
21377 if (PyErr_Occurred()) SWIG_fail;
21378 }
21379 {
21380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21381 }
21382 return resultobj;
21383 fail:
21384 return NULL;
21385 }
21386
21387
21388 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21389 PyObject *resultobj = 0;
21390 wxFontData *arg1 = (wxFontData *) 0 ;
21391 bool arg2 ;
21392 void *argp1 = 0 ;
21393 int res1 = 0 ;
21394 bool val2 ;
21395 int ecode2 = 0 ;
21396 PyObject * obj0 = 0 ;
21397 PyObject * obj1 = 0 ;
21398 char * kwnames[] = {
21399 (char *) "self",(char *) "allowSymbols", NULL
21400 };
21401
21402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
21403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21404 if (!SWIG_IsOK(res1)) {
21405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
21406 }
21407 arg1 = reinterpret_cast< wxFontData * >(argp1);
21408 ecode2 = SWIG_AsVal_bool(obj1, &val2);
21409 if (!SWIG_IsOK(ecode2)) {
21410 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
21411 }
21412 arg2 = static_cast< bool >(val2);
21413 {
21414 PyThreadState* __tstate = wxPyBeginAllowThreads();
21415 (arg1)->SetAllowSymbols(arg2);
21416 wxPyEndAllowThreads(__tstate);
21417 if (PyErr_Occurred()) SWIG_fail;
21418 }
21419 resultobj = SWIG_Py_Void();
21420 return resultobj;
21421 fail:
21422 return NULL;
21423 }
21424
21425
21426 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21427 PyObject *resultobj = 0;
21428 wxFontData *arg1 = (wxFontData *) 0 ;
21429 wxFont *arg2 = 0 ;
21430 void *argp1 = 0 ;
21431 int res1 = 0 ;
21432 void *argp2 = 0 ;
21433 int res2 = 0 ;
21434 PyObject * obj0 = 0 ;
21435 PyObject * obj1 = 0 ;
21436 char * kwnames[] = {
21437 (char *) "self",(char *) "font", NULL
21438 };
21439
21440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
21441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21442 if (!SWIG_IsOK(res1)) {
21443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21444 }
21445 arg1 = reinterpret_cast< wxFontData * >(argp1);
21446 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
21447 if (!SWIG_IsOK(res2)) {
21448 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21449 }
21450 if (!argp2) {
21451 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21452 }
21453 arg2 = reinterpret_cast< wxFont * >(argp2);
21454 {
21455 PyThreadState* __tstate = wxPyBeginAllowThreads();
21456 (arg1)->SetChosenFont((wxFont const &)*arg2);
21457 wxPyEndAllowThreads(__tstate);
21458 if (PyErr_Occurred()) SWIG_fail;
21459 }
21460 resultobj = SWIG_Py_Void();
21461 return resultobj;
21462 fail:
21463 return NULL;
21464 }
21465
21466
21467 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21468 PyObject *resultobj = 0;
21469 wxFontData *arg1 = (wxFontData *) 0 ;
21470 wxColour *arg2 = 0 ;
21471 void *argp1 = 0 ;
21472 int res1 = 0 ;
21473 wxColour temp2 ;
21474 PyObject * obj0 = 0 ;
21475 PyObject * obj1 = 0 ;
21476 char * kwnames[] = {
21477 (char *) "self",(char *) "colour", NULL
21478 };
21479
21480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
21481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21482 if (!SWIG_IsOK(res1)) {
21483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
21484 }
21485 arg1 = reinterpret_cast< wxFontData * >(argp1);
21486 {
21487 arg2 = &temp2;
21488 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21489 }
21490 {
21491 PyThreadState* __tstate = wxPyBeginAllowThreads();
21492 (arg1)->SetColour((wxColour const &)*arg2);
21493 wxPyEndAllowThreads(__tstate);
21494 if (PyErr_Occurred()) SWIG_fail;
21495 }
21496 resultobj = SWIG_Py_Void();
21497 return resultobj;
21498 fail:
21499 return NULL;
21500 }
21501
21502
21503 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21504 PyObject *resultobj = 0;
21505 wxFontData *arg1 = (wxFontData *) 0 ;
21506 wxFont *arg2 = 0 ;
21507 void *argp1 = 0 ;
21508 int res1 = 0 ;
21509 void *argp2 = 0 ;
21510 int res2 = 0 ;
21511 PyObject * obj0 = 0 ;
21512 PyObject * obj1 = 0 ;
21513 char * kwnames[] = {
21514 (char *) "self",(char *) "font", NULL
21515 };
21516
21517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
21518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21519 if (!SWIG_IsOK(res1)) {
21520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21521 }
21522 arg1 = reinterpret_cast< wxFontData * >(argp1);
21523 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
21524 if (!SWIG_IsOK(res2)) {
21525 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21526 }
21527 if (!argp2) {
21528 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21529 }
21530 arg2 = reinterpret_cast< wxFont * >(argp2);
21531 {
21532 PyThreadState* __tstate = wxPyBeginAllowThreads();
21533 (arg1)->SetInitialFont((wxFont const &)*arg2);
21534 wxPyEndAllowThreads(__tstate);
21535 if (PyErr_Occurred()) SWIG_fail;
21536 }
21537 resultobj = SWIG_Py_Void();
21538 return resultobj;
21539 fail:
21540 return NULL;
21541 }
21542
21543
21544 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21545 PyObject *resultobj = 0;
21546 wxFontData *arg1 = (wxFontData *) 0 ;
21547 int arg2 ;
21548 int arg3 ;
21549 void *argp1 = 0 ;
21550 int res1 = 0 ;
21551 int val2 ;
21552 int ecode2 = 0 ;
21553 int val3 ;
21554 int ecode3 = 0 ;
21555 PyObject * obj0 = 0 ;
21556 PyObject * obj1 = 0 ;
21557 PyObject * obj2 = 0 ;
21558 char * kwnames[] = {
21559 (char *) "self",(char *) "min",(char *) "max", NULL
21560 };
21561
21562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21564 if (!SWIG_IsOK(res1)) {
21565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
21566 }
21567 arg1 = reinterpret_cast< wxFontData * >(argp1);
21568 ecode2 = SWIG_AsVal_int(obj1, &val2);
21569 if (!SWIG_IsOK(ecode2)) {
21570 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
21571 }
21572 arg2 = static_cast< int >(val2);
21573 ecode3 = SWIG_AsVal_int(obj2, &val3);
21574 if (!SWIG_IsOK(ecode3)) {
21575 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
21576 }
21577 arg3 = static_cast< int >(val3);
21578 {
21579 PyThreadState* __tstate = wxPyBeginAllowThreads();
21580 (arg1)->SetRange(arg2,arg3);
21581 wxPyEndAllowThreads(__tstate);
21582 if (PyErr_Occurred()) SWIG_fail;
21583 }
21584 resultobj = SWIG_Py_Void();
21585 return resultobj;
21586 fail:
21587 return NULL;
21588 }
21589
21590
21591 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21592 PyObject *resultobj = 0;
21593 wxFontData *arg1 = (wxFontData *) 0 ;
21594 bool arg2 ;
21595 void *argp1 = 0 ;
21596 int res1 = 0 ;
21597 bool val2 ;
21598 int ecode2 = 0 ;
21599 PyObject * obj0 = 0 ;
21600 PyObject * obj1 = 0 ;
21601 char * kwnames[] = {
21602 (char *) "self",(char *) "showHelp", NULL
21603 };
21604
21605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
21606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21607 if (!SWIG_IsOK(res1)) {
21608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
21609 }
21610 arg1 = reinterpret_cast< wxFontData * >(argp1);
21611 ecode2 = SWIG_AsVal_bool(obj1, &val2);
21612 if (!SWIG_IsOK(ecode2)) {
21613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
21614 }
21615 arg2 = static_cast< bool >(val2);
21616 {
21617 PyThreadState* __tstate = wxPyBeginAllowThreads();
21618 (arg1)->SetShowHelp(arg2);
21619 wxPyEndAllowThreads(__tstate);
21620 if (PyErr_Occurred()) SWIG_fail;
21621 }
21622 resultobj = SWIG_Py_Void();
21623 return resultobj;
21624 fail:
21625 return NULL;
21626 }
21627
21628
21629 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21630 PyObject *obj;
21631 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21632 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
21633 return SWIG_Py_Void();
21634 }
21635
21636 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21637 return SWIG_Python_InitShadowInstance(args);
21638 }
21639
21640 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21641 PyObject *resultobj = 0;
21642 wxWindow *arg1 = (wxWindow *) 0 ;
21643 wxFontData *arg2 = 0 ;
21644 wxFontDialog *result = 0 ;
21645 void *argp1 = 0 ;
21646 int res1 = 0 ;
21647 void *argp2 = 0 ;
21648 int res2 = 0 ;
21649 PyObject * obj0 = 0 ;
21650 PyObject * obj1 = 0 ;
21651 char * kwnames[] = {
21652 (char *) "parent",(char *) "data", NULL
21653 };
21654
21655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
21656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21657 if (!SWIG_IsOK(res1)) {
21658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21659 }
21660 arg1 = reinterpret_cast< wxWindow * >(argp1);
21661 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
21662 if (!SWIG_IsOK(res2)) {
21663 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
21664 }
21665 if (!argp2) {
21666 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
21667 }
21668 arg2 = reinterpret_cast< wxFontData * >(argp2);
21669 {
21670 if (!wxPyCheckForApp()) SWIG_fail;
21671 PyThreadState* __tstate = wxPyBeginAllowThreads();
21672 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
21673 wxPyEndAllowThreads(__tstate);
21674 if (PyErr_Occurred()) SWIG_fail;
21675 }
21676 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
21677 return resultobj;
21678 fail:
21679 return NULL;
21680 }
21681
21682
21683 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21684 PyObject *resultobj = 0;
21685 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
21686 wxFontData *result = 0 ;
21687 void *argp1 = 0 ;
21688 int res1 = 0 ;
21689 PyObject *swig_obj[1] ;
21690
21691 if (!args) SWIG_fail;
21692 swig_obj[0] = args;
21693 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
21694 if (!SWIG_IsOK(res1)) {
21695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
21696 }
21697 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
21698 {
21699 PyThreadState* __tstate = wxPyBeginAllowThreads();
21700 {
21701 wxFontData &_result_ref = (arg1)->GetFontData();
21702 result = (wxFontData *) &_result_ref;
21703 }
21704 wxPyEndAllowThreads(__tstate);
21705 if (PyErr_Occurred()) SWIG_fail;
21706 }
21707 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
21708 return resultobj;
21709 fail:
21710 return NULL;
21711 }
21712
21713
21714 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21715 PyObject *obj;
21716 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21717 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
21718 return SWIG_Py_Void();
21719 }
21720
21721 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21722 return SWIG_Python_InitShadowInstance(args);
21723 }
21724
21725 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21726 PyObject *resultobj = 0;
21727 wxWindow *arg1 = (wxWindow *) NULL ;
21728 wxFont const &arg2_defvalue = wxNullFont ;
21729 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
21730 wxString const &arg3_defvalue = wxPyEmptyString ;
21731 wxString *arg3 = (wxString *) &arg3_defvalue ;
21732 wxFont result;
21733 void *argp1 = 0 ;
21734 int res1 = 0 ;
21735 void *argp2 = 0 ;
21736 int res2 = 0 ;
21737 bool temp3 = false ;
21738 PyObject * obj0 = 0 ;
21739 PyObject * obj1 = 0 ;
21740 PyObject * obj2 = 0 ;
21741 char * kwnames[] = {
21742 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
21743 };
21744
21745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21746 if (obj0) {
21747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21748 if (!SWIG_IsOK(res1)) {
21749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
21750 }
21751 arg1 = reinterpret_cast< wxWindow * >(argp1);
21752 }
21753 if (obj1) {
21754 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
21755 if (!SWIG_IsOK(res2)) {
21756 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
21757 }
21758 if (!argp2) {
21759 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
21760 }
21761 arg2 = reinterpret_cast< wxFont * >(argp2);
21762 }
21763 if (obj2) {
21764 {
21765 arg3 = wxString_in_helper(obj2);
21766 if (arg3 == NULL) SWIG_fail;
21767 temp3 = true;
21768 }
21769 }
21770 {
21771 PyThreadState* __tstate = wxPyBeginAllowThreads();
21772 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
21773 wxPyEndAllowThreads(__tstate);
21774 if (PyErr_Occurred()) SWIG_fail;
21775 }
21776 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
21777 {
21778 if (temp3)
21779 delete arg3;
21780 }
21781 return resultobj;
21782 fail:
21783 {
21784 if (temp3)
21785 delete arg3;
21786 }
21787 return NULL;
21788 }
21789
21790
21791 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21792 PyObject *resultobj = 0;
21793 wxWindow *arg1 = (wxWindow *) 0 ;
21794 wxString *arg2 = 0 ;
21795 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
21796 wxString *arg3 = (wxString *) &arg3_defvalue ;
21797 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
21798 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21799 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21800 wxMessageDialog *result = 0 ;
21801 void *argp1 = 0 ;
21802 int res1 = 0 ;
21803 bool temp2 = false ;
21804 bool temp3 = false ;
21805 long val4 ;
21806 int ecode4 = 0 ;
21807 wxPoint temp5 ;
21808 PyObject * obj0 = 0 ;
21809 PyObject * obj1 = 0 ;
21810 PyObject * obj2 = 0 ;
21811 PyObject * obj3 = 0 ;
21812 PyObject * obj4 = 0 ;
21813 char * kwnames[] = {
21814 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
21815 };
21816
21817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21819 if (!SWIG_IsOK(res1)) {
21820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21821 }
21822 arg1 = reinterpret_cast< wxWindow * >(argp1);
21823 {
21824 arg2 = wxString_in_helper(obj1);
21825 if (arg2 == NULL) SWIG_fail;
21826 temp2 = true;
21827 }
21828 if (obj2) {
21829 {
21830 arg3 = wxString_in_helper(obj2);
21831 if (arg3 == NULL) SWIG_fail;
21832 temp3 = true;
21833 }
21834 }
21835 if (obj3) {
21836 ecode4 = SWIG_AsVal_long(obj3, &val4);
21837 if (!SWIG_IsOK(ecode4)) {
21838 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
21839 }
21840 arg4 = static_cast< long >(val4);
21841 }
21842 if (obj4) {
21843 {
21844 arg5 = &temp5;
21845 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21846 }
21847 }
21848 {
21849 if (!wxPyCheckForApp()) SWIG_fail;
21850 PyThreadState* __tstate = wxPyBeginAllowThreads();
21851 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
21852 wxPyEndAllowThreads(__tstate);
21853 if (PyErr_Occurred()) SWIG_fail;
21854 }
21855 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
21856 {
21857 if (temp2)
21858 delete arg2;
21859 }
21860 {
21861 if (temp3)
21862 delete arg3;
21863 }
21864 return resultobj;
21865 fail:
21866 {
21867 if (temp2)
21868 delete arg2;
21869 }
21870 {
21871 if (temp3)
21872 delete arg3;
21873 }
21874 return NULL;
21875 }
21876
21877
21878 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21879 PyObject *obj;
21880 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21881 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
21882 return SWIG_Py_Void();
21883 }
21884
21885 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21886 return SWIG_Python_InitShadowInstance(args);
21887 }
21888
21889 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21890 PyObject *resultobj = 0;
21891 wxString *arg1 = 0 ;
21892 wxString *arg2 = 0 ;
21893 int arg3 = (int) 100 ;
21894 wxWindow *arg4 = (wxWindow *) NULL ;
21895 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
21896 wxProgressDialog *result = 0 ;
21897 bool temp1 = false ;
21898 bool temp2 = false ;
21899 int val3 ;
21900 int ecode3 = 0 ;
21901 void *argp4 = 0 ;
21902 int res4 = 0 ;
21903 int val5 ;
21904 int ecode5 = 0 ;
21905 PyObject * obj0 = 0 ;
21906 PyObject * obj1 = 0 ;
21907 PyObject * obj2 = 0 ;
21908 PyObject * obj3 = 0 ;
21909 PyObject * obj4 = 0 ;
21910 char * kwnames[] = {
21911 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
21912 };
21913
21914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21915 {
21916 arg1 = wxString_in_helper(obj0);
21917 if (arg1 == NULL) SWIG_fail;
21918 temp1 = true;
21919 }
21920 {
21921 arg2 = wxString_in_helper(obj1);
21922 if (arg2 == NULL) SWIG_fail;
21923 temp2 = true;
21924 }
21925 if (obj2) {
21926 ecode3 = SWIG_AsVal_int(obj2, &val3);
21927 if (!SWIG_IsOK(ecode3)) {
21928 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
21929 }
21930 arg3 = static_cast< int >(val3);
21931 }
21932 if (obj3) {
21933 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
21934 if (!SWIG_IsOK(res4)) {
21935 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
21936 }
21937 arg4 = reinterpret_cast< wxWindow * >(argp4);
21938 }
21939 if (obj4) {
21940 ecode5 = SWIG_AsVal_int(obj4, &val5);
21941 if (!SWIG_IsOK(ecode5)) {
21942 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
21943 }
21944 arg5 = static_cast< int >(val5);
21945 }
21946 {
21947 if (!wxPyCheckForApp()) SWIG_fail;
21948 PyThreadState* __tstate = wxPyBeginAllowThreads();
21949 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
21950 wxPyEndAllowThreads(__tstate);
21951 if (PyErr_Occurred()) SWIG_fail;
21952 }
21953 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
21954 {
21955 if (temp1)
21956 delete arg1;
21957 }
21958 {
21959 if (temp2)
21960 delete arg2;
21961 }
21962 return resultobj;
21963 fail:
21964 {
21965 if (temp1)
21966 delete arg1;
21967 }
21968 {
21969 if (temp2)
21970 delete arg2;
21971 }
21972 return NULL;
21973 }
21974
21975
21976 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21977 PyObject *resultobj = 0;
21978 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
21979 int arg2 ;
21980 wxString const &arg3_defvalue = wxPyEmptyString ;
21981 wxString *arg3 = (wxString *) &arg3_defvalue ;
21982 bool *arg4 = (bool *) 0 ;
21983 bool result;
21984 void *argp1 = 0 ;
21985 int res1 = 0 ;
21986 int val2 ;
21987 int ecode2 = 0 ;
21988 bool temp3 = false ;
21989 bool temp4 ;
21990 int res4 = SWIG_TMPOBJ ;
21991 PyObject * obj0 = 0 ;
21992 PyObject * obj1 = 0 ;
21993 PyObject * obj2 = 0 ;
21994 char * kwnames[] = {
21995 (char *) "self",(char *) "value",(char *) "newmsg", NULL
21996 };
21997
21998 arg4 = &temp4;
21999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
22001 if (!SWIG_IsOK(res1)) {
22002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
22003 }
22004 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
22005 ecode2 = SWIG_AsVal_int(obj1, &val2);
22006 if (!SWIG_IsOK(ecode2)) {
22007 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
22008 }
22009 arg2 = static_cast< int >(val2);
22010 if (obj2) {
22011 {
22012 arg3 = wxString_in_helper(obj2);
22013 if (arg3 == NULL) SWIG_fail;
22014 temp3 = true;
22015 }
22016 }
22017 {
22018 PyThreadState* __tstate = wxPyBeginAllowThreads();
22019 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
22020 wxPyEndAllowThreads(__tstate);
22021 if (PyErr_Occurred()) SWIG_fail;
22022 }
22023 {
22024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22025 }
22026 if (SWIG_IsTmpObj(res4)) {
22027 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
22028 } else {
22029 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22030 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
22031 }
22032 {
22033 if (temp3)
22034 delete arg3;
22035 }
22036 return resultobj;
22037 fail:
22038 {
22039 if (temp3)
22040 delete arg3;
22041 }
22042 return NULL;
22043 }
22044
22045
22046 SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22047 PyObject *resultobj = 0;
22048 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
22049 wxString const &arg2_defvalue = wxPyEmptyString ;
22050 wxString *arg2 = (wxString *) &arg2_defvalue ;
22051 bool *arg3 = (bool *) 0 ;
22052 bool result;
22053 void *argp1 = 0 ;
22054 int res1 = 0 ;
22055 bool temp2 = false ;
22056 bool temp3 ;
22057 int res3 = SWIG_TMPOBJ ;
22058 PyObject * obj0 = 0 ;
22059 PyObject * obj1 = 0 ;
22060 char * kwnames[] = {
22061 (char *) "self",(char *) "newmsg", NULL
22062 };
22063
22064 arg3 = &temp3;
22065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
22066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
22067 if (!SWIG_IsOK(res1)) {
22068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
22069 }
22070 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
22071 if (obj1) {
22072 {
22073 arg2 = wxString_in_helper(obj1);
22074 if (arg2 == NULL) SWIG_fail;
22075 temp2 = true;
22076 }
22077 }
22078 {
22079 PyThreadState* __tstate = wxPyBeginAllowThreads();
22080 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
22081 wxPyEndAllowThreads(__tstate);
22082 if (PyErr_Occurred()) SWIG_fail;
22083 }
22084 {
22085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22086 }
22087 if (SWIG_IsTmpObj(res3)) {
22088 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
22089 } else {
22090 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22091 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
22092 }
22093 {
22094 if (temp2)
22095 delete arg2;
22096 }
22097 return resultobj;
22098 fail:
22099 {
22100 if (temp2)
22101 delete arg2;
22102 }
22103 return NULL;
22104 }
22105
22106
22107 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22108 PyObject *resultobj = 0;
22109 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
22110 void *argp1 = 0 ;
22111 int res1 = 0 ;
22112 PyObject *swig_obj[1] ;
22113
22114 if (!args) SWIG_fail;
22115 swig_obj[0] = args;
22116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
22117 if (!SWIG_IsOK(res1)) {
22118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
22119 }
22120 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
22121 {
22122 PyThreadState* __tstate = wxPyBeginAllowThreads();
22123 (arg1)->Resume();
22124 wxPyEndAllowThreads(__tstate);
22125 if (PyErr_Occurred()) SWIG_fail;
22126 }
22127 resultobj = SWIG_Py_Void();
22128 return resultobj;
22129 fail:
22130 return NULL;
22131 }
22132
22133
22134 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22135 PyObject *obj;
22136 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22137 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
22138 return SWIG_Py_Void();
22139 }
22140
22141 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22142 return SWIG_Python_InitShadowInstance(args);
22143 }
22144
22145 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22146 PyObject *resultobj = 0;
22147 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22148 int arg2 = (int) 0 ;
22149 wxFindDialogEvent *result = 0 ;
22150 int val1 ;
22151 int ecode1 = 0 ;
22152 int val2 ;
22153 int ecode2 = 0 ;
22154 PyObject * obj0 = 0 ;
22155 PyObject * obj1 = 0 ;
22156 char * kwnames[] = {
22157 (char *) "commandType",(char *) "id", NULL
22158 };
22159
22160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
22161 if (obj0) {
22162 ecode1 = SWIG_AsVal_int(obj0, &val1);
22163 if (!SWIG_IsOK(ecode1)) {
22164 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22165 }
22166 arg1 = static_cast< wxEventType >(val1);
22167 }
22168 if (obj1) {
22169 ecode2 = SWIG_AsVal_int(obj1, &val2);
22170 if (!SWIG_IsOK(ecode2)) {
22171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
22172 }
22173 arg2 = static_cast< int >(val2);
22174 }
22175 {
22176 PyThreadState* __tstate = wxPyBeginAllowThreads();
22177 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
22178 wxPyEndAllowThreads(__tstate);
22179 if (PyErr_Occurred()) SWIG_fail;
22180 }
22181 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
22182 return resultobj;
22183 fail:
22184 return NULL;
22185 }
22186
22187
22188 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22189 PyObject *resultobj = 0;
22190 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22191 int result;
22192 void *argp1 = 0 ;
22193 int res1 = 0 ;
22194 PyObject *swig_obj[1] ;
22195
22196 if (!args) SWIG_fail;
22197 swig_obj[0] = args;
22198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22199 if (!SWIG_IsOK(res1)) {
22200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22201 }
22202 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22203 {
22204 PyThreadState* __tstate = wxPyBeginAllowThreads();
22205 result = (int)(arg1)->GetFlags();
22206 wxPyEndAllowThreads(__tstate);
22207 if (PyErr_Occurred()) SWIG_fail;
22208 }
22209 resultobj = SWIG_From_int(static_cast< int >(result));
22210 return resultobj;
22211 fail:
22212 return NULL;
22213 }
22214
22215
22216 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22217 PyObject *resultobj = 0;
22218 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22219 wxString *result = 0 ;
22220 void *argp1 = 0 ;
22221 int res1 = 0 ;
22222 PyObject *swig_obj[1] ;
22223
22224 if (!args) SWIG_fail;
22225 swig_obj[0] = args;
22226 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22227 if (!SWIG_IsOK(res1)) {
22228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22229 }
22230 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22231 {
22232 PyThreadState* __tstate = wxPyBeginAllowThreads();
22233 {
22234 wxString const &_result_ref = (arg1)->GetFindString();
22235 result = (wxString *) &_result_ref;
22236 }
22237 wxPyEndAllowThreads(__tstate);
22238 if (PyErr_Occurred()) SWIG_fail;
22239 }
22240 {
22241 #if wxUSE_UNICODE
22242 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22243 #else
22244 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22245 #endif
22246 }
22247 return resultobj;
22248 fail:
22249 return NULL;
22250 }
22251
22252
22253 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22254 PyObject *resultobj = 0;
22255 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22256 wxString *result = 0 ;
22257 void *argp1 = 0 ;
22258 int res1 = 0 ;
22259 PyObject *swig_obj[1] ;
22260
22261 if (!args) SWIG_fail;
22262 swig_obj[0] = args;
22263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22264 if (!SWIG_IsOK(res1)) {
22265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22266 }
22267 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22268 {
22269 PyThreadState* __tstate = wxPyBeginAllowThreads();
22270 {
22271 wxString const &_result_ref = (arg1)->GetReplaceString();
22272 result = (wxString *) &_result_ref;
22273 }
22274 wxPyEndAllowThreads(__tstate);
22275 if (PyErr_Occurred()) SWIG_fail;
22276 }
22277 {
22278 #if wxUSE_UNICODE
22279 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22280 #else
22281 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22282 #endif
22283 }
22284 return resultobj;
22285 fail:
22286 return NULL;
22287 }
22288
22289
22290 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22291 PyObject *resultobj = 0;
22292 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22293 wxFindReplaceDialog *result = 0 ;
22294 void *argp1 = 0 ;
22295 int res1 = 0 ;
22296 PyObject *swig_obj[1] ;
22297
22298 if (!args) SWIG_fail;
22299 swig_obj[0] = args;
22300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22301 if (!SWIG_IsOK(res1)) {
22302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22303 }
22304 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22305 {
22306 PyThreadState* __tstate = wxPyBeginAllowThreads();
22307 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
22308 wxPyEndAllowThreads(__tstate);
22309 if (PyErr_Occurred()) SWIG_fail;
22310 }
22311 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22312 return resultobj;
22313 fail:
22314 return NULL;
22315 }
22316
22317
22318 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22319 PyObject *resultobj = 0;
22320 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22321 int arg2 ;
22322 void *argp1 = 0 ;
22323 int res1 = 0 ;
22324 int val2 ;
22325 int ecode2 = 0 ;
22326 PyObject * obj0 = 0 ;
22327 PyObject * obj1 = 0 ;
22328 char * kwnames[] = {
22329 (char *) "self",(char *) "flags", NULL
22330 };
22331
22332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
22333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22334 if (!SWIG_IsOK(res1)) {
22335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22336 }
22337 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22338 ecode2 = SWIG_AsVal_int(obj1, &val2);
22339 if (!SWIG_IsOK(ecode2)) {
22340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
22341 }
22342 arg2 = static_cast< int >(val2);
22343 {
22344 PyThreadState* __tstate = wxPyBeginAllowThreads();
22345 (arg1)->SetFlags(arg2);
22346 wxPyEndAllowThreads(__tstate);
22347 if (PyErr_Occurred()) SWIG_fail;
22348 }
22349 resultobj = SWIG_Py_Void();
22350 return resultobj;
22351 fail:
22352 return NULL;
22353 }
22354
22355
22356 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22357 PyObject *resultobj = 0;
22358 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22359 wxString *arg2 = 0 ;
22360 void *argp1 = 0 ;
22361 int res1 = 0 ;
22362 bool temp2 = false ;
22363 PyObject * obj0 = 0 ;
22364 PyObject * obj1 = 0 ;
22365 char * kwnames[] = {
22366 (char *) "self",(char *) "str", NULL
22367 };
22368
22369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
22370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22371 if (!SWIG_IsOK(res1)) {
22372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22373 }
22374 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22375 {
22376 arg2 = wxString_in_helper(obj1);
22377 if (arg2 == NULL) SWIG_fail;
22378 temp2 = true;
22379 }
22380 {
22381 PyThreadState* __tstate = wxPyBeginAllowThreads();
22382 (arg1)->SetFindString((wxString const &)*arg2);
22383 wxPyEndAllowThreads(__tstate);
22384 if (PyErr_Occurred()) SWIG_fail;
22385 }
22386 resultobj = SWIG_Py_Void();
22387 {
22388 if (temp2)
22389 delete arg2;
22390 }
22391 return resultobj;
22392 fail:
22393 {
22394 if (temp2)
22395 delete arg2;
22396 }
22397 return NULL;
22398 }
22399
22400
22401 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22402 PyObject *resultobj = 0;
22403 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22404 wxString *arg2 = 0 ;
22405 void *argp1 = 0 ;
22406 int res1 = 0 ;
22407 bool temp2 = false ;
22408 PyObject * obj0 = 0 ;
22409 PyObject * obj1 = 0 ;
22410 char * kwnames[] = {
22411 (char *) "self",(char *) "str", NULL
22412 };
22413
22414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
22415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22416 if (!SWIG_IsOK(res1)) {
22417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22418 }
22419 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22420 {
22421 arg2 = wxString_in_helper(obj1);
22422 if (arg2 == NULL) SWIG_fail;
22423 temp2 = true;
22424 }
22425 {
22426 PyThreadState* __tstate = wxPyBeginAllowThreads();
22427 (arg1)->SetReplaceString((wxString const &)*arg2);
22428 wxPyEndAllowThreads(__tstate);
22429 if (PyErr_Occurred()) SWIG_fail;
22430 }
22431 resultobj = SWIG_Py_Void();
22432 {
22433 if (temp2)
22434 delete arg2;
22435 }
22436 return resultobj;
22437 fail:
22438 {
22439 if (temp2)
22440 delete arg2;
22441 }
22442 return NULL;
22443 }
22444
22445
22446 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22447 PyObject *obj;
22448 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22449 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
22450 return SWIG_Py_Void();
22451 }
22452
22453 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22454 return SWIG_Python_InitShadowInstance(args);
22455 }
22456
22457 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22458 PyObject *resultobj = 0;
22459 int arg1 = (int) 0 ;
22460 wxFindReplaceData *result = 0 ;
22461 int val1 ;
22462 int ecode1 = 0 ;
22463 PyObject * obj0 = 0 ;
22464 char * kwnames[] = {
22465 (char *) "flags", NULL
22466 };
22467
22468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
22469 if (obj0) {
22470 ecode1 = SWIG_AsVal_int(obj0, &val1);
22471 if (!SWIG_IsOK(ecode1)) {
22472 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
22473 }
22474 arg1 = static_cast< int >(val1);
22475 }
22476 {
22477 PyThreadState* __tstate = wxPyBeginAllowThreads();
22478 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
22479 wxPyEndAllowThreads(__tstate);
22480 if (PyErr_Occurred()) SWIG_fail;
22481 }
22482 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
22483 return resultobj;
22484 fail:
22485 return NULL;
22486 }
22487
22488
22489 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22490 PyObject *resultobj = 0;
22491 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22492 void *argp1 = 0 ;
22493 int res1 = 0 ;
22494 PyObject *swig_obj[1] ;
22495
22496 if (!args) SWIG_fail;
22497 swig_obj[0] = args;
22498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
22499 if (!SWIG_IsOK(res1)) {
22500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22501 }
22502 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22503 {
22504 PyThreadState* __tstate = wxPyBeginAllowThreads();
22505 delete arg1;
22506
22507 wxPyEndAllowThreads(__tstate);
22508 if (PyErr_Occurred()) SWIG_fail;
22509 }
22510 resultobj = SWIG_Py_Void();
22511 return resultobj;
22512 fail:
22513 return NULL;
22514 }
22515
22516
22517 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22518 PyObject *resultobj = 0;
22519 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22520 wxString *result = 0 ;
22521 void *argp1 = 0 ;
22522 int res1 = 0 ;
22523 PyObject *swig_obj[1] ;
22524
22525 if (!args) SWIG_fail;
22526 swig_obj[0] = args;
22527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22528 if (!SWIG_IsOK(res1)) {
22529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22530 }
22531 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22532 {
22533 PyThreadState* __tstate = wxPyBeginAllowThreads();
22534 {
22535 wxString const &_result_ref = (arg1)->GetFindString();
22536 result = (wxString *) &_result_ref;
22537 }
22538 wxPyEndAllowThreads(__tstate);
22539 if (PyErr_Occurred()) SWIG_fail;
22540 }
22541 {
22542 #if wxUSE_UNICODE
22543 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22544 #else
22545 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22546 #endif
22547 }
22548 return resultobj;
22549 fail:
22550 return NULL;
22551 }
22552
22553
22554 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22555 PyObject *resultobj = 0;
22556 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22557 wxString *result = 0 ;
22558 void *argp1 = 0 ;
22559 int res1 = 0 ;
22560 PyObject *swig_obj[1] ;
22561
22562 if (!args) SWIG_fail;
22563 swig_obj[0] = args;
22564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22565 if (!SWIG_IsOK(res1)) {
22566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22567 }
22568 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22569 {
22570 PyThreadState* __tstate = wxPyBeginAllowThreads();
22571 {
22572 wxString const &_result_ref = (arg1)->GetReplaceString();
22573 result = (wxString *) &_result_ref;
22574 }
22575 wxPyEndAllowThreads(__tstate);
22576 if (PyErr_Occurred()) SWIG_fail;
22577 }
22578 {
22579 #if wxUSE_UNICODE
22580 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22581 #else
22582 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22583 #endif
22584 }
22585 return resultobj;
22586 fail:
22587 return NULL;
22588 }
22589
22590
22591 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22592 PyObject *resultobj = 0;
22593 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22594 int result;
22595 void *argp1 = 0 ;
22596 int res1 = 0 ;
22597 PyObject *swig_obj[1] ;
22598
22599 if (!args) SWIG_fail;
22600 swig_obj[0] = args;
22601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22602 if (!SWIG_IsOK(res1)) {
22603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22604 }
22605 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22606 {
22607 PyThreadState* __tstate = wxPyBeginAllowThreads();
22608 result = (int)(arg1)->GetFlags();
22609 wxPyEndAllowThreads(__tstate);
22610 if (PyErr_Occurred()) SWIG_fail;
22611 }
22612 resultobj = SWIG_From_int(static_cast< int >(result));
22613 return resultobj;
22614 fail:
22615 return NULL;
22616 }
22617
22618
22619 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22620 PyObject *resultobj = 0;
22621 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22622 int arg2 ;
22623 void *argp1 = 0 ;
22624 int res1 = 0 ;
22625 int val2 ;
22626 int ecode2 = 0 ;
22627 PyObject * obj0 = 0 ;
22628 PyObject * obj1 = 0 ;
22629 char * kwnames[] = {
22630 (char *) "self",(char *) "flags", NULL
22631 };
22632
22633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
22634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22635 if (!SWIG_IsOK(res1)) {
22636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22637 }
22638 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22639 ecode2 = SWIG_AsVal_int(obj1, &val2);
22640 if (!SWIG_IsOK(ecode2)) {
22641 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
22642 }
22643 arg2 = static_cast< int >(val2);
22644 {
22645 PyThreadState* __tstate = wxPyBeginAllowThreads();
22646 (arg1)->SetFlags(arg2);
22647 wxPyEndAllowThreads(__tstate);
22648 if (PyErr_Occurred()) SWIG_fail;
22649 }
22650 resultobj = SWIG_Py_Void();
22651 return resultobj;
22652 fail:
22653 return NULL;
22654 }
22655
22656
22657 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22658 PyObject *resultobj = 0;
22659 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22660 wxString *arg2 = 0 ;
22661 void *argp1 = 0 ;
22662 int res1 = 0 ;
22663 bool temp2 = false ;
22664 PyObject * obj0 = 0 ;
22665 PyObject * obj1 = 0 ;
22666 char * kwnames[] = {
22667 (char *) "self",(char *) "str", NULL
22668 };
22669
22670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
22671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22672 if (!SWIG_IsOK(res1)) {
22673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22674 }
22675 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22676 {
22677 arg2 = wxString_in_helper(obj1);
22678 if (arg2 == NULL) SWIG_fail;
22679 temp2 = true;
22680 }
22681 {
22682 PyThreadState* __tstate = wxPyBeginAllowThreads();
22683 (arg1)->SetFindString((wxString const &)*arg2);
22684 wxPyEndAllowThreads(__tstate);
22685 if (PyErr_Occurred()) SWIG_fail;
22686 }
22687 resultobj = SWIG_Py_Void();
22688 {
22689 if (temp2)
22690 delete arg2;
22691 }
22692 return resultobj;
22693 fail:
22694 {
22695 if (temp2)
22696 delete arg2;
22697 }
22698 return NULL;
22699 }
22700
22701
22702 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22703 PyObject *resultobj = 0;
22704 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22705 wxString *arg2 = 0 ;
22706 void *argp1 = 0 ;
22707 int res1 = 0 ;
22708 bool temp2 = false ;
22709 PyObject * obj0 = 0 ;
22710 PyObject * obj1 = 0 ;
22711 char * kwnames[] = {
22712 (char *) "self",(char *) "str", NULL
22713 };
22714
22715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
22716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22717 if (!SWIG_IsOK(res1)) {
22718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22719 }
22720 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22721 {
22722 arg2 = wxString_in_helper(obj1);
22723 if (arg2 == NULL) SWIG_fail;
22724 temp2 = true;
22725 }
22726 {
22727 PyThreadState* __tstate = wxPyBeginAllowThreads();
22728 (arg1)->SetReplaceString((wxString const &)*arg2);
22729 wxPyEndAllowThreads(__tstate);
22730 if (PyErr_Occurred()) SWIG_fail;
22731 }
22732 resultobj = SWIG_Py_Void();
22733 {
22734 if (temp2)
22735 delete arg2;
22736 }
22737 return resultobj;
22738 fail:
22739 {
22740 if (temp2)
22741 delete arg2;
22742 }
22743 return NULL;
22744 }
22745
22746
22747 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22748 PyObject *obj;
22749 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22750 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
22751 return SWIG_Py_Void();
22752 }
22753
22754 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22755 return SWIG_Python_InitShadowInstance(args);
22756 }
22757
22758 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22759 PyObject *resultobj = 0;
22760 wxWindow *arg1 = (wxWindow *) 0 ;
22761 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
22762 wxString *arg3 = 0 ;
22763 int arg4 = (int) 0 ;
22764 wxFindReplaceDialog *result = 0 ;
22765 void *argp1 = 0 ;
22766 int res1 = 0 ;
22767 void *argp2 = 0 ;
22768 int res2 = 0 ;
22769 bool temp3 = false ;
22770 int val4 ;
22771 int ecode4 = 0 ;
22772 PyObject * obj0 = 0 ;
22773 PyObject * obj1 = 0 ;
22774 PyObject * obj2 = 0 ;
22775 PyObject * obj3 = 0 ;
22776 char * kwnames[] = {
22777 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
22778 };
22779
22780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22782 if (!SWIG_IsOK(res1)) {
22783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
22784 }
22785 arg1 = reinterpret_cast< wxWindow * >(argp1);
22786 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22787 if (!SWIG_IsOK(res2)) {
22788 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
22789 }
22790 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
22791 {
22792 arg3 = wxString_in_helper(obj2);
22793 if (arg3 == NULL) SWIG_fail;
22794 temp3 = true;
22795 }
22796 if (obj3) {
22797 ecode4 = SWIG_AsVal_int(obj3, &val4);
22798 if (!SWIG_IsOK(ecode4)) {
22799 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
22800 }
22801 arg4 = static_cast< int >(val4);
22802 }
22803 {
22804 if (!wxPyCheckForApp()) SWIG_fail;
22805 PyThreadState* __tstate = wxPyBeginAllowThreads();
22806 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
22807 wxPyEndAllowThreads(__tstate);
22808 if (PyErr_Occurred()) SWIG_fail;
22809 }
22810 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
22811 {
22812 if (temp3)
22813 delete arg3;
22814 }
22815 return resultobj;
22816 fail:
22817 {
22818 if (temp3)
22819 delete arg3;
22820 }
22821 return NULL;
22822 }
22823
22824
22825 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22826 PyObject *resultobj = 0;
22827 wxFindReplaceDialog *result = 0 ;
22828
22829 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
22830 {
22831 if (!wxPyCheckForApp()) SWIG_fail;
22832 PyThreadState* __tstate = wxPyBeginAllowThreads();
22833 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
22834 wxPyEndAllowThreads(__tstate);
22835 if (PyErr_Occurred()) SWIG_fail;
22836 }
22837 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
22838 return resultobj;
22839 fail:
22840 return NULL;
22841 }
22842
22843
22844 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22845 PyObject *resultobj = 0;
22846 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
22847 wxWindow *arg2 = (wxWindow *) 0 ;
22848 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
22849 wxString *arg4 = 0 ;
22850 int arg5 = (int) 0 ;
22851 bool result;
22852 void *argp1 = 0 ;
22853 int res1 = 0 ;
22854 void *argp2 = 0 ;
22855 int res2 = 0 ;
22856 void *argp3 = 0 ;
22857 int res3 = 0 ;
22858 bool temp4 = false ;
22859 int val5 ;
22860 int ecode5 = 0 ;
22861 PyObject * obj0 = 0 ;
22862 PyObject * obj1 = 0 ;
22863 PyObject * obj2 = 0 ;
22864 PyObject * obj3 = 0 ;
22865 PyObject * obj4 = 0 ;
22866 char * kwnames[] = {
22867 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
22868 };
22869
22870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22872 if (!SWIG_IsOK(res1)) {
22873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22874 }
22875 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
22876 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22877 if (!SWIG_IsOK(res2)) {
22878 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22879 }
22880 arg2 = reinterpret_cast< wxWindow * >(argp2);
22881 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22882 if (!SWIG_IsOK(res3)) {
22883 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
22884 }
22885 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
22886 {
22887 arg4 = wxString_in_helper(obj3);
22888 if (arg4 == NULL) SWIG_fail;
22889 temp4 = true;
22890 }
22891 if (obj4) {
22892 ecode5 = SWIG_AsVal_int(obj4, &val5);
22893 if (!SWIG_IsOK(ecode5)) {
22894 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
22895 }
22896 arg5 = static_cast< int >(val5);
22897 }
22898 {
22899 PyThreadState* __tstate = wxPyBeginAllowThreads();
22900 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
22901 wxPyEndAllowThreads(__tstate);
22902 if (PyErr_Occurred()) SWIG_fail;
22903 }
22904 {
22905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22906 }
22907 {
22908 if (temp4)
22909 delete arg4;
22910 }
22911 return resultobj;
22912 fail:
22913 {
22914 if (temp4)
22915 delete arg4;
22916 }
22917 return NULL;
22918 }
22919
22920
22921 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22922 PyObject *resultobj = 0;
22923 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
22924 wxFindReplaceData *result = 0 ;
22925 void *argp1 = 0 ;
22926 int res1 = 0 ;
22927 PyObject *swig_obj[1] ;
22928
22929 if (!args) SWIG_fail;
22930 swig_obj[0] = args;
22931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22932 if (!SWIG_IsOK(res1)) {
22933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22934 }
22935 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
22936 {
22937 PyThreadState* __tstate = wxPyBeginAllowThreads();
22938 result = (wxFindReplaceData *)(arg1)->GetData();
22939 wxPyEndAllowThreads(__tstate);
22940 if (PyErr_Occurred()) SWIG_fail;
22941 }
22942 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22943 return resultobj;
22944 fail:
22945 return NULL;
22946 }
22947
22948
22949 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22950 PyObject *resultobj = 0;
22951 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
22952 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
22953 void *argp1 = 0 ;
22954 int res1 = 0 ;
22955 void *argp2 = 0 ;
22956 int res2 = 0 ;
22957 PyObject * obj0 = 0 ;
22958 PyObject * obj1 = 0 ;
22959 char * kwnames[] = {
22960 (char *) "self",(char *) "data", NULL
22961 };
22962
22963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
22964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22965 if (!SWIG_IsOK(res1)) {
22966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22967 }
22968 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
22969 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22970 if (!SWIG_IsOK(res2)) {
22971 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
22972 }
22973 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
22974 {
22975 PyThreadState* __tstate = wxPyBeginAllowThreads();
22976 (arg1)->SetData(arg2);
22977 wxPyEndAllowThreads(__tstate);
22978 if (PyErr_Occurred()) SWIG_fail;
22979 }
22980 resultobj = SWIG_Py_Void();
22981 return resultobj;
22982 fail:
22983 return NULL;
22984 }
22985
22986
22987 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22988 PyObject *obj;
22989 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22990 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
22991 return SWIG_Py_Void();
22992 }
22993
22994 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22995 return SWIG_Python_InitShadowInstance(args);
22996 }
22997
22998 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22999 PyObject *resultobj = 0;
23000 wxWindow *arg1 = (wxWindow *) 0 ;
23001 int arg2 = (int) (int)-1 ;
23002 wxString const &arg3_defvalue = wxPyEmptyString ;
23003 wxString *arg3 = (wxString *) &arg3_defvalue ;
23004 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23005 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23006 wxSize const &arg5_defvalue = wxDefaultSize ;
23007 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23008 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
23009 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23010 wxString *arg7 = (wxString *) &arg7_defvalue ;
23011 wxMDIParentFrame *result = 0 ;
23012 void *argp1 = 0 ;
23013 int res1 = 0 ;
23014 int val2 ;
23015 int ecode2 = 0 ;
23016 bool temp3 = false ;
23017 wxPoint temp4 ;
23018 wxSize temp5 ;
23019 long val6 ;
23020 int ecode6 = 0 ;
23021 bool temp7 = false ;
23022 PyObject * obj0 = 0 ;
23023 PyObject * obj1 = 0 ;
23024 PyObject * obj2 = 0 ;
23025 PyObject * obj3 = 0 ;
23026 PyObject * obj4 = 0 ;
23027 PyObject * obj5 = 0 ;
23028 PyObject * obj6 = 0 ;
23029 char * kwnames[] = {
23030 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23031 };
23032
23033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
23034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23035 if (!SWIG_IsOK(res1)) {
23036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
23037 }
23038 arg1 = reinterpret_cast< wxWindow * >(argp1);
23039 if (obj1) {
23040 ecode2 = SWIG_AsVal_int(obj1, &val2);
23041 if (!SWIG_IsOK(ecode2)) {
23042 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
23043 }
23044 arg2 = static_cast< int >(val2);
23045 }
23046 if (obj2) {
23047 {
23048 arg3 = wxString_in_helper(obj2);
23049 if (arg3 == NULL) SWIG_fail;
23050 temp3 = true;
23051 }
23052 }
23053 if (obj3) {
23054 {
23055 arg4 = &temp4;
23056 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23057 }
23058 }
23059 if (obj4) {
23060 {
23061 arg5 = &temp5;
23062 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23063 }
23064 }
23065 if (obj5) {
23066 ecode6 = SWIG_AsVal_long(obj5, &val6);
23067 if (!SWIG_IsOK(ecode6)) {
23068 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
23069 }
23070 arg6 = static_cast< long >(val6);
23071 }
23072 if (obj6) {
23073 {
23074 arg7 = wxString_in_helper(obj6);
23075 if (arg7 == NULL) SWIG_fail;
23076 temp7 = true;
23077 }
23078 }
23079 {
23080 if (!wxPyCheckForApp()) SWIG_fail;
23081 PyThreadState* __tstate = wxPyBeginAllowThreads();
23082 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23083 wxPyEndAllowThreads(__tstate);
23084 if (PyErr_Occurred()) SWIG_fail;
23085 }
23086 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
23087 {
23088 if (temp3)
23089 delete arg3;
23090 }
23091 {
23092 if (temp7)
23093 delete arg7;
23094 }
23095 return resultobj;
23096 fail:
23097 {
23098 if (temp3)
23099 delete arg3;
23100 }
23101 {
23102 if (temp7)
23103 delete arg7;
23104 }
23105 return NULL;
23106 }
23107
23108
23109 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23110 PyObject *resultobj = 0;
23111 wxMDIParentFrame *result = 0 ;
23112
23113 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
23114 {
23115 if (!wxPyCheckForApp()) SWIG_fail;
23116 PyThreadState* __tstate = wxPyBeginAllowThreads();
23117 result = (wxMDIParentFrame *)new wxMDIParentFrame();
23118 wxPyEndAllowThreads(__tstate);
23119 if (PyErr_Occurred()) SWIG_fail;
23120 }
23121 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
23122 return resultobj;
23123 fail:
23124 return NULL;
23125 }
23126
23127
23128 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23129 PyObject *resultobj = 0;
23130 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23131 wxWindow *arg2 = (wxWindow *) 0 ;
23132 int arg3 = (int) (int)-1 ;
23133 wxString const &arg4_defvalue = wxPyEmptyString ;
23134 wxString *arg4 = (wxString *) &arg4_defvalue ;
23135 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23136 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23137 wxSize const &arg6_defvalue = wxDefaultSize ;
23138 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23139 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
23140 wxString const &arg8_defvalue = wxPyFrameNameStr ;
23141 wxString *arg8 = (wxString *) &arg8_defvalue ;
23142 bool result;
23143 void *argp1 = 0 ;
23144 int res1 = 0 ;
23145 void *argp2 = 0 ;
23146 int res2 = 0 ;
23147 int val3 ;
23148 int ecode3 = 0 ;
23149 bool temp4 = false ;
23150 wxPoint temp5 ;
23151 wxSize temp6 ;
23152 long val7 ;
23153 int ecode7 = 0 ;
23154 bool temp8 = false ;
23155 PyObject * obj0 = 0 ;
23156 PyObject * obj1 = 0 ;
23157 PyObject * obj2 = 0 ;
23158 PyObject * obj3 = 0 ;
23159 PyObject * obj4 = 0 ;
23160 PyObject * obj5 = 0 ;
23161 PyObject * obj6 = 0 ;
23162 PyObject * obj7 = 0 ;
23163 char * kwnames[] = {
23164 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23165 };
23166
23167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
23168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23169 if (!SWIG_IsOK(res1)) {
23170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23171 }
23172 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23173 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
23174 if (!SWIG_IsOK(res2)) {
23175 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
23176 }
23177 arg2 = reinterpret_cast< wxWindow * >(argp2);
23178 if (obj2) {
23179 ecode3 = SWIG_AsVal_int(obj2, &val3);
23180 if (!SWIG_IsOK(ecode3)) {
23181 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
23182 }
23183 arg3 = static_cast< int >(val3);
23184 }
23185 if (obj3) {
23186 {
23187 arg4 = wxString_in_helper(obj3);
23188 if (arg4 == NULL) SWIG_fail;
23189 temp4 = true;
23190 }
23191 }
23192 if (obj4) {
23193 {
23194 arg5 = &temp5;
23195 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23196 }
23197 }
23198 if (obj5) {
23199 {
23200 arg6 = &temp6;
23201 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23202 }
23203 }
23204 if (obj6) {
23205 ecode7 = SWIG_AsVal_long(obj6, &val7);
23206 if (!SWIG_IsOK(ecode7)) {
23207 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
23208 }
23209 arg7 = static_cast< long >(val7);
23210 }
23211 if (obj7) {
23212 {
23213 arg8 = wxString_in_helper(obj7);
23214 if (arg8 == NULL) SWIG_fail;
23215 temp8 = true;
23216 }
23217 }
23218 {
23219 PyThreadState* __tstate = wxPyBeginAllowThreads();
23220 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
23221 wxPyEndAllowThreads(__tstate);
23222 if (PyErr_Occurred()) SWIG_fail;
23223 }
23224 {
23225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23226 }
23227 {
23228 if (temp4)
23229 delete arg4;
23230 }
23231 {
23232 if (temp8)
23233 delete arg8;
23234 }
23235 return resultobj;
23236 fail:
23237 {
23238 if (temp4)
23239 delete arg4;
23240 }
23241 {
23242 if (temp8)
23243 delete arg8;
23244 }
23245 return NULL;
23246 }
23247
23248
23249 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23250 PyObject *resultobj = 0;
23251 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23252 void *argp1 = 0 ;
23253 int res1 = 0 ;
23254 PyObject *swig_obj[1] ;
23255
23256 if (!args) SWIG_fail;
23257 swig_obj[0] = args;
23258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23259 if (!SWIG_IsOK(res1)) {
23260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23261 }
23262 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23263 {
23264 PyThreadState* __tstate = wxPyBeginAllowThreads();
23265 (arg1)->ActivateNext();
23266 wxPyEndAllowThreads(__tstate);
23267 if (PyErr_Occurred()) SWIG_fail;
23268 }
23269 resultobj = SWIG_Py_Void();
23270 return resultobj;
23271 fail:
23272 return NULL;
23273 }
23274
23275
23276 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23277 PyObject *resultobj = 0;
23278 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23279 void *argp1 = 0 ;
23280 int res1 = 0 ;
23281 PyObject *swig_obj[1] ;
23282
23283 if (!args) SWIG_fail;
23284 swig_obj[0] = args;
23285 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23286 if (!SWIG_IsOK(res1)) {
23287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23288 }
23289 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23290 {
23291 PyThreadState* __tstate = wxPyBeginAllowThreads();
23292 (arg1)->ActivatePrevious();
23293 wxPyEndAllowThreads(__tstate);
23294 if (PyErr_Occurred()) SWIG_fail;
23295 }
23296 resultobj = SWIG_Py_Void();
23297 return resultobj;
23298 fail:
23299 return NULL;
23300 }
23301
23302
23303 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23304 PyObject *resultobj = 0;
23305 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23306 void *argp1 = 0 ;
23307 int res1 = 0 ;
23308 PyObject *swig_obj[1] ;
23309
23310 if (!args) SWIG_fail;
23311 swig_obj[0] = args;
23312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23313 if (!SWIG_IsOK(res1)) {
23314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23315 }
23316 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23317 {
23318 PyThreadState* __tstate = wxPyBeginAllowThreads();
23319 (arg1)->ArrangeIcons();
23320 wxPyEndAllowThreads(__tstate);
23321 if (PyErr_Occurred()) SWIG_fail;
23322 }
23323 resultobj = SWIG_Py_Void();
23324 return resultobj;
23325 fail:
23326 return NULL;
23327 }
23328
23329
23330 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23331 PyObject *resultobj = 0;
23332 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23333 void *argp1 = 0 ;
23334 int res1 = 0 ;
23335 PyObject *swig_obj[1] ;
23336
23337 if (!args) SWIG_fail;
23338 swig_obj[0] = args;
23339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23340 if (!SWIG_IsOK(res1)) {
23341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23342 }
23343 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23344 {
23345 PyThreadState* __tstate = wxPyBeginAllowThreads();
23346 (arg1)->Cascade();
23347 wxPyEndAllowThreads(__tstate);
23348 if (PyErr_Occurred()) SWIG_fail;
23349 }
23350 resultobj = SWIG_Py_Void();
23351 return resultobj;
23352 fail:
23353 return NULL;
23354 }
23355
23356
23357 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23358 PyObject *resultobj = 0;
23359 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23360 wxMDIChildFrame *result = 0 ;
23361 void *argp1 = 0 ;
23362 int res1 = 0 ;
23363 PyObject *swig_obj[1] ;
23364
23365 if (!args) SWIG_fail;
23366 swig_obj[0] = args;
23367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23368 if (!SWIG_IsOK(res1)) {
23369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23370 }
23371 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23372 {
23373 PyThreadState* __tstate = wxPyBeginAllowThreads();
23374 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
23375 wxPyEndAllowThreads(__tstate);
23376 if (PyErr_Occurred()) SWIG_fail;
23377 }
23378 {
23379 resultobj = wxPyMake_wxObject(result, (bool)0);
23380 }
23381 return resultobj;
23382 fail:
23383 return NULL;
23384 }
23385
23386
23387 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23388 PyObject *resultobj = 0;
23389 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23390 wxMDIClientWindow *result = 0 ;
23391 void *argp1 = 0 ;
23392 int res1 = 0 ;
23393 PyObject *swig_obj[1] ;
23394
23395 if (!args) SWIG_fail;
23396 swig_obj[0] = args;
23397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23398 if (!SWIG_IsOK(res1)) {
23399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23400 }
23401 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23402 {
23403 PyThreadState* __tstate = wxPyBeginAllowThreads();
23404 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
23405 wxPyEndAllowThreads(__tstate);
23406 if (PyErr_Occurred()) SWIG_fail;
23407 }
23408 {
23409 resultobj = wxPyMake_wxObject(result, (bool)0);
23410 }
23411 return resultobj;
23412 fail:
23413 return NULL;
23414 }
23415
23416
23417 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23418 PyObject *resultobj = 0;
23419 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23420 wxMenu *result = 0 ;
23421 void *argp1 = 0 ;
23422 int res1 = 0 ;
23423 PyObject *swig_obj[1] ;
23424
23425 if (!args) SWIG_fail;
23426 swig_obj[0] = args;
23427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23428 if (!SWIG_IsOK(res1)) {
23429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23430 }
23431 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23432 {
23433 PyThreadState* __tstate = wxPyBeginAllowThreads();
23434 result = (wxMenu *)(arg1)->GetWindowMenu();
23435 wxPyEndAllowThreads(__tstate);
23436 if (PyErr_Occurred()) SWIG_fail;
23437 }
23438 {
23439 resultobj = wxPyMake_wxObject(result, 0);
23440 }
23441 return resultobj;
23442 fail:
23443 return NULL;
23444 }
23445
23446
23447 SWIGINTERN PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23448 PyObject *resultobj = 0;
23449 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23450 wxMenu *arg2 = (wxMenu *) 0 ;
23451 void *argp1 = 0 ;
23452 int res1 = 0 ;
23453 void *argp2 = 0 ;
23454 int res2 = 0 ;
23455 PyObject * obj0 = 0 ;
23456 PyObject * obj1 = 0 ;
23457 char * kwnames[] = {
23458 (char *) "self",(char *) "menu", NULL
23459 };
23460
23461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail;
23462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23463 if (!SWIG_IsOK(res1)) {
23464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23465 }
23466 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23467 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
23468 if (!SWIG_IsOK(res2)) {
23469 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
23470 }
23471 arg2 = reinterpret_cast< wxMenu * >(argp2);
23472 {
23473 PyThreadState* __tstate = wxPyBeginAllowThreads();
23474 (arg1)->SetWindowMenu(arg2);
23475 wxPyEndAllowThreads(__tstate);
23476 if (PyErr_Occurred()) SWIG_fail;
23477 }
23478 resultobj = SWIG_Py_Void();
23479 return resultobj;
23480 fail:
23481 return NULL;
23482 }
23483
23484
23485 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23486 PyObject *resultobj = 0;
23487 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23488 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
23489 void *argp1 = 0 ;
23490 int res1 = 0 ;
23491 int val2 ;
23492 int ecode2 = 0 ;
23493 PyObject * obj0 = 0 ;
23494 PyObject * obj1 = 0 ;
23495 char * kwnames[] = {
23496 (char *) "self",(char *) "orient", NULL
23497 };
23498
23499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
23500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23501 if (!SWIG_IsOK(res1)) {
23502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23503 }
23504 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23505 if (obj1) {
23506 ecode2 = SWIG_AsVal_int(obj1, &val2);
23507 if (!SWIG_IsOK(ecode2)) {
23508 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
23509 }
23510 arg2 = static_cast< wxOrientation >(val2);
23511 }
23512 {
23513 PyThreadState* __tstate = wxPyBeginAllowThreads();
23514 (arg1)->Tile(arg2);
23515 wxPyEndAllowThreads(__tstate);
23516 if (PyErr_Occurred()) SWIG_fail;
23517 }
23518 resultobj = SWIG_Py_Void();
23519 return resultobj;
23520 fail:
23521 return NULL;
23522 }
23523
23524
23525 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23526 PyObject *obj;
23527 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23528 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
23529 return SWIG_Py_Void();
23530 }
23531
23532 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23533 return SWIG_Python_InitShadowInstance(args);
23534 }
23535
23536 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23537 PyObject *resultobj = 0;
23538 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23539 int arg2 = (int) (int)-1 ;
23540 wxString const &arg3_defvalue = wxPyEmptyString ;
23541 wxString *arg3 = (wxString *) &arg3_defvalue ;
23542 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23543 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23544 wxSize const &arg5_defvalue = wxDefaultSize ;
23545 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23546 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23547 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23548 wxString *arg7 = (wxString *) &arg7_defvalue ;
23549 wxMDIChildFrame *result = 0 ;
23550 void *argp1 = 0 ;
23551 int res1 = 0 ;
23552 int val2 ;
23553 int ecode2 = 0 ;
23554 bool temp3 = false ;
23555 wxPoint temp4 ;
23556 wxSize temp5 ;
23557 long val6 ;
23558 int ecode6 = 0 ;
23559 bool temp7 = false ;
23560 PyObject * obj0 = 0 ;
23561 PyObject * obj1 = 0 ;
23562 PyObject * obj2 = 0 ;
23563 PyObject * obj3 = 0 ;
23564 PyObject * obj4 = 0 ;
23565 PyObject * obj5 = 0 ;
23566 PyObject * obj6 = 0 ;
23567 char * kwnames[] = {
23568 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23569 };
23570
23571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
23572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23573 if (!SWIG_IsOK(res1)) {
23574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23575 }
23576 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23577 if (obj1) {
23578 ecode2 = SWIG_AsVal_int(obj1, &val2);
23579 if (!SWIG_IsOK(ecode2)) {
23580 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
23581 }
23582 arg2 = static_cast< int >(val2);
23583 }
23584 if (obj2) {
23585 {
23586 arg3 = wxString_in_helper(obj2);
23587 if (arg3 == NULL) SWIG_fail;
23588 temp3 = true;
23589 }
23590 }
23591 if (obj3) {
23592 {
23593 arg4 = &temp4;
23594 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23595 }
23596 }
23597 if (obj4) {
23598 {
23599 arg5 = &temp5;
23600 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23601 }
23602 }
23603 if (obj5) {
23604 ecode6 = SWIG_AsVal_long(obj5, &val6);
23605 if (!SWIG_IsOK(ecode6)) {
23606 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
23607 }
23608 arg6 = static_cast< long >(val6);
23609 }
23610 if (obj6) {
23611 {
23612 arg7 = wxString_in_helper(obj6);
23613 if (arg7 == NULL) SWIG_fail;
23614 temp7 = true;
23615 }
23616 }
23617 {
23618 if (!wxPyCheckForApp()) SWIG_fail;
23619 PyThreadState* __tstate = wxPyBeginAllowThreads();
23620 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23621 wxPyEndAllowThreads(__tstate);
23622 if (PyErr_Occurred()) SWIG_fail;
23623 }
23624 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
23625 {
23626 if (temp3)
23627 delete arg3;
23628 }
23629 {
23630 if (temp7)
23631 delete arg7;
23632 }
23633 return resultobj;
23634 fail:
23635 {
23636 if (temp3)
23637 delete arg3;
23638 }
23639 {
23640 if (temp7)
23641 delete arg7;
23642 }
23643 return NULL;
23644 }
23645
23646
23647 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23648 PyObject *resultobj = 0;
23649 wxMDIChildFrame *result = 0 ;
23650
23651 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
23652 {
23653 if (!wxPyCheckForApp()) SWIG_fail;
23654 PyThreadState* __tstate = wxPyBeginAllowThreads();
23655 result = (wxMDIChildFrame *)new wxMDIChildFrame();
23656 wxPyEndAllowThreads(__tstate);
23657 if (PyErr_Occurred()) SWIG_fail;
23658 }
23659 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
23660 return resultobj;
23661 fail:
23662 return NULL;
23663 }
23664
23665
23666 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23667 PyObject *resultobj = 0;
23668 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
23669 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
23670 int arg3 = (int) (int)-1 ;
23671 wxString const &arg4_defvalue = wxPyEmptyString ;
23672 wxString *arg4 = (wxString *) &arg4_defvalue ;
23673 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23674 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23675 wxSize const &arg6_defvalue = wxDefaultSize ;
23676 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23677 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
23678 wxString const &arg8_defvalue = wxPyFrameNameStr ;
23679 wxString *arg8 = (wxString *) &arg8_defvalue ;
23680 bool result;
23681 void *argp1 = 0 ;
23682 int res1 = 0 ;
23683 void *argp2 = 0 ;
23684 int res2 = 0 ;
23685 int val3 ;
23686 int ecode3 = 0 ;
23687 bool temp4 = false ;
23688 wxPoint temp5 ;
23689 wxSize temp6 ;
23690 long val7 ;
23691 int ecode7 = 0 ;
23692 bool temp8 = false ;
23693 PyObject * obj0 = 0 ;
23694 PyObject * obj1 = 0 ;
23695 PyObject * obj2 = 0 ;
23696 PyObject * obj3 = 0 ;
23697 PyObject * obj4 = 0 ;
23698 PyObject * obj5 = 0 ;
23699 PyObject * obj6 = 0 ;
23700 PyObject * obj7 = 0 ;
23701 char * kwnames[] = {
23702 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23703 };
23704
23705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
23706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
23707 if (!SWIG_IsOK(res1)) {
23708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
23709 }
23710 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
23711 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23712 if (!SWIG_IsOK(res2)) {
23713 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
23714 }
23715 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
23716 if (obj2) {
23717 ecode3 = SWIG_AsVal_int(obj2, &val3);
23718 if (!SWIG_IsOK(ecode3)) {
23719 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
23720 }
23721 arg3 = static_cast< int >(val3);
23722 }
23723 if (obj3) {
23724 {
23725 arg4 = wxString_in_helper(obj3);
23726 if (arg4 == NULL) SWIG_fail;
23727 temp4 = true;
23728 }
23729 }
23730 if (obj4) {
23731 {
23732 arg5 = &temp5;
23733 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23734 }
23735 }
23736 if (obj5) {
23737 {
23738 arg6 = &temp6;
23739 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23740 }
23741 }
23742 if (obj6) {
23743 ecode7 = SWIG_AsVal_long(obj6, &val7);
23744 if (!SWIG_IsOK(ecode7)) {
23745 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
23746 }
23747 arg7 = static_cast< long >(val7);
23748 }
23749 if (obj7) {
23750 {
23751 arg8 = wxString_in_helper(obj7);
23752 if (arg8 == NULL) SWIG_fail;
23753 temp8 = true;
23754 }
23755 }
23756 {
23757 PyThreadState* __tstate = wxPyBeginAllowThreads();
23758 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
23759 wxPyEndAllowThreads(__tstate);
23760 if (PyErr_Occurred()) SWIG_fail;
23761 }
23762 {
23763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23764 }
23765 {
23766 if (temp4)
23767 delete arg4;
23768 }
23769 {
23770 if (temp8)
23771 delete arg8;
23772 }
23773 return resultobj;
23774 fail:
23775 {
23776 if (temp4)
23777 delete arg4;
23778 }
23779 {
23780 if (temp8)
23781 delete arg8;
23782 }
23783 return NULL;
23784 }
23785
23786
23787 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23788 PyObject *resultobj = 0;
23789 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
23790 void *argp1 = 0 ;
23791 int res1 = 0 ;
23792 PyObject *swig_obj[1] ;
23793
23794 if (!args) SWIG_fail;
23795 swig_obj[0] = args;
23796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
23797 if (!SWIG_IsOK(res1)) {
23798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
23799 }
23800 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
23801 {
23802 PyThreadState* __tstate = wxPyBeginAllowThreads();
23803 (arg1)->Activate();
23804 wxPyEndAllowThreads(__tstate);
23805 if (PyErr_Occurred()) SWIG_fail;
23806 }
23807 resultobj = SWIG_Py_Void();
23808 return resultobj;
23809 fail:
23810 return NULL;
23811 }
23812
23813
23814 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23815 PyObject *obj;
23816 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23817 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
23818 return SWIG_Py_Void();
23819 }
23820
23821 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23822 return SWIG_Python_InitShadowInstance(args);
23823 }
23824
23825 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23826 PyObject *resultobj = 0;
23827 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23828 long arg2 = (long) 0 ;
23829 wxMDIClientWindow *result = 0 ;
23830 void *argp1 = 0 ;
23831 int res1 = 0 ;
23832 long val2 ;
23833 int ecode2 = 0 ;
23834 PyObject * obj0 = 0 ;
23835 PyObject * obj1 = 0 ;
23836 char * kwnames[] = {
23837 (char *) "parent",(char *) "style", NULL
23838 };
23839
23840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
23841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23842 if (!SWIG_IsOK(res1)) {
23843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23844 }
23845 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23846 if (obj1) {
23847 ecode2 = SWIG_AsVal_long(obj1, &val2);
23848 if (!SWIG_IsOK(ecode2)) {
23849 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
23850 }
23851 arg2 = static_cast< long >(val2);
23852 }
23853 {
23854 if (!wxPyCheckForApp()) SWIG_fail;
23855 PyThreadState* __tstate = wxPyBeginAllowThreads();
23856 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
23857 wxPyEndAllowThreads(__tstate);
23858 if (PyErr_Occurred()) SWIG_fail;
23859 }
23860 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
23861 return resultobj;
23862 fail:
23863 return NULL;
23864 }
23865
23866
23867 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23868 PyObject *resultobj = 0;
23869 wxMDIClientWindow *result = 0 ;
23870
23871 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
23872 {
23873 if (!wxPyCheckForApp()) SWIG_fail;
23874 PyThreadState* __tstate = wxPyBeginAllowThreads();
23875 result = (wxMDIClientWindow *)new wxMDIClientWindow();
23876 wxPyEndAllowThreads(__tstate);
23877 if (PyErr_Occurred()) SWIG_fail;
23878 }
23879 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
23880 return resultobj;
23881 fail:
23882 return NULL;
23883 }
23884
23885
23886 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23887 PyObject *resultobj = 0;
23888 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
23889 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
23890 long arg3 = (long) 0 ;
23891 bool result;
23892 void *argp1 = 0 ;
23893 int res1 = 0 ;
23894 void *argp2 = 0 ;
23895 int res2 = 0 ;
23896 long val3 ;
23897 int ecode3 = 0 ;
23898 PyObject * obj0 = 0 ;
23899 PyObject * obj1 = 0 ;
23900 PyObject * obj2 = 0 ;
23901 char * kwnames[] = {
23902 (char *) "self",(char *) "parent",(char *) "style", NULL
23903 };
23904
23905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
23907 if (!SWIG_IsOK(res1)) {
23908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
23909 }
23910 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
23911 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23912 if (!SWIG_IsOK(res2)) {
23913 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
23914 }
23915 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
23916 if (obj2) {
23917 ecode3 = SWIG_AsVal_long(obj2, &val3);
23918 if (!SWIG_IsOK(ecode3)) {
23919 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
23920 }
23921 arg3 = static_cast< long >(val3);
23922 }
23923 {
23924 PyThreadState* __tstate = wxPyBeginAllowThreads();
23925 result = (bool)(arg1)->Create(arg2,arg3);
23926 wxPyEndAllowThreads(__tstate);
23927 if (PyErr_Occurred()) SWIG_fail;
23928 }
23929 {
23930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23931 }
23932 return resultobj;
23933 fail:
23934 return NULL;
23935 }
23936
23937
23938 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23939 PyObject *obj;
23940 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23941 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
23942 return SWIG_Py_Void();
23943 }
23944
23945 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23946 return SWIG_Python_InitShadowInstance(args);
23947 }
23948
23949 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23950 PyObject *resultobj = 0;
23951 wxWindow *arg1 = (wxWindow *) 0 ;
23952 int arg2 = (int) (int)-1 ;
23953 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23954 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23955 wxSize const &arg4_defvalue = wxDefaultSize ;
23956 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23957 long arg5 = (long) 0 ;
23958 wxString const &arg6_defvalue = wxPyPanelNameStr ;
23959 wxString *arg6 = (wxString *) &arg6_defvalue ;
23960 wxPyWindow *result = 0 ;
23961 void *argp1 = 0 ;
23962 int res1 = 0 ;
23963 int val2 ;
23964 int ecode2 = 0 ;
23965 wxPoint temp3 ;
23966 wxSize temp4 ;
23967 long val5 ;
23968 int ecode5 = 0 ;
23969 bool temp6 = false ;
23970 PyObject * obj0 = 0 ;
23971 PyObject * obj1 = 0 ;
23972 PyObject * obj2 = 0 ;
23973 PyObject * obj3 = 0 ;
23974 PyObject * obj4 = 0 ;
23975 PyObject * obj5 = 0 ;
23976 char * kwnames[] = {
23977 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23978 };
23979
23980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23982 if (!SWIG_IsOK(res1)) {
23983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23984 }
23985 arg1 = reinterpret_cast< wxWindow * >(argp1);
23986 if (obj1) {
23987 ecode2 = SWIG_AsVal_int(obj1, &val2);
23988 if (!SWIG_IsOK(ecode2)) {
23989 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
23990 }
23991 arg2 = static_cast< int >(val2);
23992 }
23993 if (obj2) {
23994 {
23995 arg3 = &temp3;
23996 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23997 }
23998 }
23999 if (obj3) {
24000 {
24001 arg4 = &temp4;
24002 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24003 }
24004 }
24005 if (obj4) {
24006 ecode5 = SWIG_AsVal_long(obj4, &val5);
24007 if (!SWIG_IsOK(ecode5)) {
24008 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
24009 }
24010 arg5 = static_cast< long >(val5);
24011 }
24012 if (obj5) {
24013 {
24014 arg6 = wxString_in_helper(obj5);
24015 if (arg6 == NULL) SWIG_fail;
24016 temp6 = true;
24017 }
24018 }
24019 {
24020 if (!wxPyCheckForApp()) SWIG_fail;
24021 PyThreadState* __tstate = wxPyBeginAllowThreads();
24022 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
24023 wxPyEndAllowThreads(__tstate);
24024 if (PyErr_Occurred()) SWIG_fail;
24025 }
24026 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
24027 {
24028 if (temp6)
24029 delete arg6;
24030 }
24031 return resultobj;
24032 fail:
24033 {
24034 if (temp6)
24035 delete arg6;
24036 }
24037 return NULL;
24038 }
24039
24040
24041 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24042 PyObject *resultobj = 0;
24043 wxPyWindow *result = 0 ;
24044
24045 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
24046 {
24047 if (!wxPyCheckForApp()) SWIG_fail;
24048 PyThreadState* __tstate = wxPyBeginAllowThreads();
24049 result = (wxPyWindow *)new wxPyWindow();
24050 wxPyEndAllowThreads(__tstate);
24051 if (PyErr_Occurred()) SWIG_fail;
24052 }
24053 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
24054 return resultobj;
24055 fail:
24056 return NULL;
24057 }
24058
24059
24060 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24061 PyObject *resultobj = 0;
24062 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24063 PyObject *arg2 = (PyObject *) 0 ;
24064 PyObject *arg3 = (PyObject *) 0 ;
24065 void *argp1 = 0 ;
24066 int res1 = 0 ;
24067 PyObject * obj0 = 0 ;
24068 PyObject * obj1 = 0 ;
24069 PyObject * obj2 = 0 ;
24070 char * kwnames[] = {
24071 (char *) "self",(char *) "self",(char *) "_class", NULL
24072 };
24073
24074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24076 if (!SWIG_IsOK(res1)) {
24077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24078 }
24079 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24080 arg2 = obj1;
24081 arg3 = obj2;
24082 {
24083 PyThreadState* __tstate = wxPyBeginAllowThreads();
24084 (arg1)->_setCallbackInfo(arg2,arg3);
24085 wxPyEndAllowThreads(__tstate);
24086 if (PyErr_Occurred()) SWIG_fail;
24087 }
24088 resultobj = SWIG_Py_Void();
24089 return resultobj;
24090 fail:
24091 return NULL;
24092 }
24093
24094
24095 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24096 PyObject *resultobj = 0;
24097 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24098 wxDC *arg2 = (wxDC *) 0 ;
24099 bool result;
24100 void *argp1 = 0 ;
24101 int res1 = 0 ;
24102 void *argp2 = 0 ;
24103 int res2 = 0 ;
24104 PyObject * obj0 = 0 ;
24105 PyObject * obj1 = 0 ;
24106 char * kwnames[] = {
24107 (char *) "self",(char *) "dc", NULL
24108 };
24109
24110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
24111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24112 if (!SWIG_IsOK(res1)) {
24113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24114 }
24115 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24116 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
24117 if (!SWIG_IsOK(res2)) {
24118 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
24119 }
24120 arg2 = reinterpret_cast< wxDC * >(argp2);
24121 {
24122 PyThreadState* __tstate = wxPyBeginAllowThreads();
24123 result = (bool)(arg1)->DoEraseBackground(arg2);
24124 wxPyEndAllowThreads(__tstate);
24125 if (PyErr_Occurred()) SWIG_fail;
24126 }
24127 {
24128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24129 }
24130 return resultobj;
24131 fail:
24132 return NULL;
24133 }
24134
24135
24136 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24137 PyObject *resultobj = 0;
24138 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24139 int arg2 ;
24140 int arg3 ;
24141 int arg4 ;
24142 int arg5 ;
24143 void *argp1 = 0 ;
24144 int res1 = 0 ;
24145 int val2 ;
24146 int ecode2 = 0 ;
24147 int val3 ;
24148 int ecode3 = 0 ;
24149 int val4 ;
24150 int ecode4 = 0 ;
24151 int val5 ;
24152 int ecode5 = 0 ;
24153 PyObject * obj0 = 0 ;
24154 PyObject * obj1 = 0 ;
24155 PyObject * obj2 = 0 ;
24156 PyObject * obj3 = 0 ;
24157 PyObject * obj4 = 0 ;
24158 char * kwnames[] = {
24159 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24160 };
24161
24162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
24163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24164 if (!SWIG_IsOK(res1)) {
24165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24166 }
24167 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24168 ecode2 = SWIG_AsVal_int(obj1, &val2);
24169 if (!SWIG_IsOK(ecode2)) {
24170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
24171 }
24172 arg2 = static_cast< int >(val2);
24173 ecode3 = SWIG_AsVal_int(obj2, &val3);
24174 if (!SWIG_IsOK(ecode3)) {
24175 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
24176 }
24177 arg3 = static_cast< int >(val3);
24178 ecode4 = SWIG_AsVal_int(obj3, &val4);
24179 if (!SWIG_IsOK(ecode4)) {
24180 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
24181 }
24182 arg4 = static_cast< int >(val4);
24183 ecode5 = SWIG_AsVal_int(obj4, &val5);
24184 if (!SWIG_IsOK(ecode5)) {
24185 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
24186 }
24187 arg5 = static_cast< int >(val5);
24188 {
24189 PyThreadState* __tstate = wxPyBeginAllowThreads();
24190 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
24191 wxPyEndAllowThreads(__tstate);
24192 if (PyErr_Occurred()) SWIG_fail;
24193 }
24194 resultobj = SWIG_Py_Void();
24195 return resultobj;
24196 fail:
24197 return NULL;
24198 }
24199
24200
24201 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24202 PyObject *resultobj = 0;
24203 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24204 int arg2 ;
24205 int arg3 ;
24206 int arg4 ;
24207 int arg5 ;
24208 int arg6 = (int) wxSIZE_AUTO ;
24209 void *argp1 = 0 ;
24210 int res1 = 0 ;
24211 int val2 ;
24212 int ecode2 = 0 ;
24213 int val3 ;
24214 int ecode3 = 0 ;
24215 int val4 ;
24216 int ecode4 = 0 ;
24217 int val5 ;
24218 int ecode5 = 0 ;
24219 int val6 ;
24220 int ecode6 = 0 ;
24221 PyObject * obj0 = 0 ;
24222 PyObject * obj1 = 0 ;
24223 PyObject * obj2 = 0 ;
24224 PyObject * obj3 = 0 ;
24225 PyObject * obj4 = 0 ;
24226 PyObject * obj5 = 0 ;
24227 char * kwnames[] = {
24228 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24229 };
24230
24231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
24232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24233 if (!SWIG_IsOK(res1)) {
24234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24235 }
24236 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24237 ecode2 = SWIG_AsVal_int(obj1, &val2);
24238 if (!SWIG_IsOK(ecode2)) {
24239 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
24240 }
24241 arg2 = static_cast< int >(val2);
24242 ecode3 = SWIG_AsVal_int(obj2, &val3);
24243 if (!SWIG_IsOK(ecode3)) {
24244 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
24245 }
24246 arg3 = static_cast< int >(val3);
24247 ecode4 = SWIG_AsVal_int(obj3, &val4);
24248 if (!SWIG_IsOK(ecode4)) {
24249 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
24250 }
24251 arg4 = static_cast< int >(val4);
24252 ecode5 = SWIG_AsVal_int(obj4, &val5);
24253 if (!SWIG_IsOK(ecode5)) {
24254 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
24255 }
24256 arg5 = static_cast< int >(val5);
24257 if (obj5) {
24258 ecode6 = SWIG_AsVal_int(obj5, &val6);
24259 if (!SWIG_IsOK(ecode6)) {
24260 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
24261 }
24262 arg6 = static_cast< int >(val6);
24263 }
24264 {
24265 PyThreadState* __tstate = wxPyBeginAllowThreads();
24266 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
24267 wxPyEndAllowThreads(__tstate);
24268 if (PyErr_Occurred()) SWIG_fail;
24269 }
24270 resultobj = SWIG_Py_Void();
24271 return resultobj;
24272 fail:
24273 return NULL;
24274 }
24275
24276
24277 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24278 PyObject *resultobj = 0;
24279 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24280 int arg2 ;
24281 int arg3 ;
24282 void *argp1 = 0 ;
24283 int res1 = 0 ;
24284 int val2 ;
24285 int ecode2 = 0 ;
24286 int val3 ;
24287 int ecode3 = 0 ;
24288 PyObject * obj0 = 0 ;
24289 PyObject * obj1 = 0 ;
24290 PyObject * obj2 = 0 ;
24291 char * kwnames[] = {
24292 (char *) "self",(char *) "width",(char *) "height", NULL
24293 };
24294
24295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24297 if (!SWIG_IsOK(res1)) {
24298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24299 }
24300 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24301 ecode2 = SWIG_AsVal_int(obj1, &val2);
24302 if (!SWIG_IsOK(ecode2)) {
24303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
24304 }
24305 arg2 = static_cast< int >(val2);
24306 ecode3 = SWIG_AsVal_int(obj2, &val3);
24307 if (!SWIG_IsOK(ecode3)) {
24308 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
24309 }
24310 arg3 = static_cast< int >(val3);
24311 {
24312 PyThreadState* __tstate = wxPyBeginAllowThreads();
24313 (arg1)->DoSetClientSize(arg2,arg3);
24314 wxPyEndAllowThreads(__tstate);
24315 if (PyErr_Occurred()) SWIG_fail;
24316 }
24317 resultobj = SWIG_Py_Void();
24318 return resultobj;
24319 fail:
24320 return NULL;
24321 }
24322
24323
24324 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24325 PyObject *resultobj = 0;
24326 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24327 int arg2 ;
24328 int arg3 ;
24329 void *argp1 = 0 ;
24330 int res1 = 0 ;
24331 int val2 ;
24332 int ecode2 = 0 ;
24333 int val3 ;
24334 int ecode3 = 0 ;
24335 PyObject * obj0 = 0 ;
24336 PyObject * obj1 = 0 ;
24337 PyObject * obj2 = 0 ;
24338 char * kwnames[] = {
24339 (char *) "self",(char *) "x",(char *) "y", NULL
24340 };
24341
24342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24344 if (!SWIG_IsOK(res1)) {
24345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24346 }
24347 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24348 ecode2 = SWIG_AsVal_int(obj1, &val2);
24349 if (!SWIG_IsOK(ecode2)) {
24350 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
24351 }
24352 arg2 = static_cast< int >(val2);
24353 ecode3 = SWIG_AsVal_int(obj2, &val3);
24354 if (!SWIG_IsOK(ecode3)) {
24355 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
24356 }
24357 arg3 = static_cast< int >(val3);
24358 {
24359 PyThreadState* __tstate = wxPyBeginAllowThreads();
24360 (arg1)->DoSetVirtualSize(arg2,arg3);
24361 wxPyEndAllowThreads(__tstate);
24362 if (PyErr_Occurred()) SWIG_fail;
24363 }
24364 resultobj = SWIG_Py_Void();
24365 return resultobj;
24366 fail:
24367 return NULL;
24368 }
24369
24370
24371 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24372 PyObject *resultobj = 0;
24373 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24374 int *arg2 = (int *) 0 ;
24375 int *arg3 = (int *) 0 ;
24376 void *argp1 = 0 ;
24377 int res1 = 0 ;
24378 int temp2 ;
24379 int res2 = SWIG_TMPOBJ ;
24380 int temp3 ;
24381 int res3 = SWIG_TMPOBJ ;
24382 PyObject *swig_obj[1] ;
24383
24384 arg2 = &temp2;
24385 arg3 = &temp3;
24386 if (!args) SWIG_fail;
24387 swig_obj[0] = args;
24388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24389 if (!SWIG_IsOK(res1)) {
24390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24391 }
24392 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24393 {
24394 PyThreadState* __tstate = wxPyBeginAllowThreads();
24395 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
24396 wxPyEndAllowThreads(__tstate);
24397 if (PyErr_Occurred()) SWIG_fail;
24398 }
24399 resultobj = SWIG_Py_Void();
24400 if (SWIG_IsTmpObj(res2)) {
24401 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24402 } else {
24403 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24404 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24405 }
24406 if (SWIG_IsTmpObj(res3)) {
24407 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24408 } else {
24409 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24410 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24411 }
24412 return resultobj;
24413 fail:
24414 return NULL;
24415 }
24416
24417
24418 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24419 PyObject *resultobj = 0;
24420 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24421 int *arg2 = (int *) 0 ;
24422 int *arg3 = (int *) 0 ;
24423 void *argp1 = 0 ;
24424 int res1 = 0 ;
24425 int temp2 ;
24426 int res2 = SWIG_TMPOBJ ;
24427 int temp3 ;
24428 int res3 = SWIG_TMPOBJ ;
24429 PyObject *swig_obj[1] ;
24430
24431 arg2 = &temp2;
24432 arg3 = &temp3;
24433 if (!args) SWIG_fail;
24434 swig_obj[0] = args;
24435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24436 if (!SWIG_IsOK(res1)) {
24437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24438 }
24439 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24440 {
24441 PyThreadState* __tstate = wxPyBeginAllowThreads();
24442 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
24443 wxPyEndAllowThreads(__tstate);
24444 if (PyErr_Occurred()) SWIG_fail;
24445 }
24446 resultobj = SWIG_Py_Void();
24447 if (SWIG_IsTmpObj(res2)) {
24448 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24449 } else {
24450 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24451 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24452 }
24453 if (SWIG_IsTmpObj(res3)) {
24454 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24455 } else {
24456 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24457 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24458 }
24459 return resultobj;
24460 fail:
24461 return NULL;
24462 }
24463
24464
24465 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24466 PyObject *resultobj = 0;
24467 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24468 int *arg2 = (int *) 0 ;
24469 int *arg3 = (int *) 0 ;
24470 void *argp1 = 0 ;
24471 int res1 = 0 ;
24472 int temp2 ;
24473 int res2 = SWIG_TMPOBJ ;
24474 int temp3 ;
24475 int res3 = SWIG_TMPOBJ ;
24476 PyObject *swig_obj[1] ;
24477
24478 arg2 = &temp2;
24479 arg3 = &temp3;
24480 if (!args) SWIG_fail;
24481 swig_obj[0] = args;
24482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24483 if (!SWIG_IsOK(res1)) {
24484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24485 }
24486 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24487 {
24488 PyThreadState* __tstate = wxPyBeginAllowThreads();
24489 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
24490 wxPyEndAllowThreads(__tstate);
24491 if (PyErr_Occurred()) SWIG_fail;
24492 }
24493 resultobj = SWIG_Py_Void();
24494 if (SWIG_IsTmpObj(res2)) {
24495 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24496 } else {
24497 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24498 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24499 }
24500 if (SWIG_IsTmpObj(res3)) {
24501 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24502 } else {
24503 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24504 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24505 }
24506 return resultobj;
24507 fail:
24508 return NULL;
24509 }
24510
24511
24512 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24513 PyObject *resultobj = 0;
24514 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24515 wxSize result;
24516 void *argp1 = 0 ;
24517 int res1 = 0 ;
24518 PyObject *swig_obj[1] ;
24519
24520 if (!args) SWIG_fail;
24521 swig_obj[0] = args;
24522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24523 if (!SWIG_IsOK(res1)) {
24524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24525 }
24526 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24527 {
24528 PyThreadState* __tstate = wxPyBeginAllowThreads();
24529 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
24530 wxPyEndAllowThreads(__tstate);
24531 if (PyErr_Occurred()) SWIG_fail;
24532 }
24533 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24534 return resultobj;
24535 fail:
24536 return NULL;
24537 }
24538
24539
24540 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24541 PyObject *resultobj = 0;
24542 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24543 wxSize result;
24544 void *argp1 = 0 ;
24545 int res1 = 0 ;
24546 PyObject *swig_obj[1] ;
24547
24548 if (!args) SWIG_fail;
24549 swig_obj[0] = args;
24550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24551 if (!SWIG_IsOK(res1)) {
24552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24553 }
24554 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24555 {
24556 PyThreadState* __tstate = wxPyBeginAllowThreads();
24557 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
24558 wxPyEndAllowThreads(__tstate);
24559 if (PyErr_Occurred()) SWIG_fail;
24560 }
24561 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24562 return resultobj;
24563 fail:
24564 return NULL;
24565 }
24566
24567
24568 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24569 PyObject *resultobj = 0;
24570 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24571 SwigValueWrapper<wxVisualAttributes > result;
24572 void *argp1 = 0 ;
24573 int res1 = 0 ;
24574 PyObject *swig_obj[1] ;
24575
24576 if (!args) SWIG_fail;
24577 swig_obj[0] = args;
24578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24579 if (!SWIG_IsOK(res1)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24581 }
24582 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24583 {
24584 PyThreadState* __tstate = wxPyBeginAllowThreads();
24585 result = (arg1)->GetDefaultAttributes();
24586 wxPyEndAllowThreads(__tstate);
24587 if (PyErr_Occurred()) SWIG_fail;
24588 }
24589 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
24590 return resultobj;
24591 fail:
24592 return NULL;
24593 }
24594
24595
24596 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24597 PyObject *resultobj = 0;
24598 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24599 void *argp1 = 0 ;
24600 int res1 = 0 ;
24601 PyObject *swig_obj[1] ;
24602
24603 if (!args) SWIG_fail;
24604 swig_obj[0] = args;
24605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24606 if (!SWIG_IsOK(res1)) {
24607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24608 }
24609 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24610 {
24611 PyThreadState* __tstate = wxPyBeginAllowThreads();
24612 (arg1)->OnInternalIdle();
24613 wxPyEndAllowThreads(__tstate);
24614 if (PyErr_Occurred()) SWIG_fail;
24615 }
24616 resultobj = SWIG_Py_Void();
24617 return resultobj;
24618 fail:
24619 return NULL;
24620 }
24621
24622
24623 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24624 PyObject *obj;
24625 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24626 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
24627 return SWIG_Py_Void();
24628 }
24629
24630 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24631 return SWIG_Python_InitShadowInstance(args);
24632 }
24633
24634 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24635 PyObject *resultobj = 0;
24636 wxWindow *arg1 = (wxWindow *) 0 ;
24637 int arg2 = (int) (int)-1 ;
24638 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24639 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24640 wxSize const &arg4_defvalue = wxDefaultSize ;
24641 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24642 long arg5 = (long) 0 ;
24643 wxString const &arg6_defvalue = wxPyPanelNameStr ;
24644 wxString *arg6 = (wxString *) &arg6_defvalue ;
24645 wxPyPanel *result = 0 ;
24646 void *argp1 = 0 ;
24647 int res1 = 0 ;
24648 int val2 ;
24649 int ecode2 = 0 ;
24650 wxPoint temp3 ;
24651 wxSize temp4 ;
24652 long val5 ;
24653 int ecode5 = 0 ;
24654 bool temp6 = false ;
24655 PyObject * obj0 = 0 ;
24656 PyObject * obj1 = 0 ;
24657 PyObject * obj2 = 0 ;
24658 PyObject * obj3 = 0 ;
24659 PyObject * obj4 = 0 ;
24660 PyObject * obj5 = 0 ;
24661 char * kwnames[] = {
24662 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24663 };
24664
24665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
24666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
24667 if (!SWIG_IsOK(res1)) {
24668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
24669 }
24670 arg1 = reinterpret_cast< wxWindow * >(argp1);
24671 if (obj1) {
24672 ecode2 = SWIG_AsVal_int(obj1, &val2);
24673 if (!SWIG_IsOK(ecode2)) {
24674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
24675 }
24676 arg2 = static_cast< int >(val2);
24677 }
24678 if (obj2) {
24679 {
24680 arg3 = &temp3;
24681 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24682 }
24683 }
24684 if (obj3) {
24685 {
24686 arg4 = &temp4;
24687 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24688 }
24689 }
24690 if (obj4) {
24691 ecode5 = SWIG_AsVal_long(obj4, &val5);
24692 if (!SWIG_IsOK(ecode5)) {
24693 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
24694 }
24695 arg5 = static_cast< long >(val5);
24696 }
24697 if (obj5) {
24698 {
24699 arg6 = wxString_in_helper(obj5);
24700 if (arg6 == NULL) SWIG_fail;
24701 temp6 = true;
24702 }
24703 }
24704 {
24705 if (!wxPyCheckForApp()) SWIG_fail;
24706 PyThreadState* __tstate = wxPyBeginAllowThreads();
24707 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
24708 wxPyEndAllowThreads(__tstate);
24709 if (PyErr_Occurred()) SWIG_fail;
24710 }
24711 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
24712 {
24713 if (temp6)
24714 delete arg6;
24715 }
24716 return resultobj;
24717 fail:
24718 {
24719 if (temp6)
24720 delete arg6;
24721 }
24722 return NULL;
24723 }
24724
24725
24726 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24727 PyObject *resultobj = 0;
24728 wxPyPanel *result = 0 ;
24729
24730 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
24731 {
24732 if (!wxPyCheckForApp()) SWIG_fail;
24733 PyThreadState* __tstate = wxPyBeginAllowThreads();
24734 result = (wxPyPanel *)new wxPyPanel();
24735 wxPyEndAllowThreads(__tstate);
24736 if (PyErr_Occurred()) SWIG_fail;
24737 }
24738 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
24739 return resultobj;
24740 fail:
24741 return NULL;
24742 }
24743
24744
24745 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24746 PyObject *resultobj = 0;
24747 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24748 PyObject *arg2 = (PyObject *) 0 ;
24749 PyObject *arg3 = (PyObject *) 0 ;
24750 void *argp1 = 0 ;
24751 int res1 = 0 ;
24752 PyObject * obj0 = 0 ;
24753 PyObject * obj1 = 0 ;
24754 PyObject * obj2 = 0 ;
24755 char * kwnames[] = {
24756 (char *) "self",(char *) "self",(char *) "_class", NULL
24757 };
24758
24759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24761 if (!SWIG_IsOK(res1)) {
24762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24763 }
24764 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24765 arg2 = obj1;
24766 arg3 = obj2;
24767 {
24768 PyThreadState* __tstate = wxPyBeginAllowThreads();
24769 (arg1)->_setCallbackInfo(arg2,arg3);
24770 wxPyEndAllowThreads(__tstate);
24771 if (PyErr_Occurred()) SWIG_fail;
24772 }
24773 resultobj = SWIG_Py_Void();
24774 return resultobj;
24775 fail:
24776 return NULL;
24777 }
24778
24779
24780 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24781 PyObject *resultobj = 0;
24782 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24783 wxDC *arg2 = (wxDC *) 0 ;
24784 bool result;
24785 void *argp1 = 0 ;
24786 int res1 = 0 ;
24787 void *argp2 = 0 ;
24788 int res2 = 0 ;
24789 PyObject * obj0 = 0 ;
24790 PyObject * obj1 = 0 ;
24791 char * kwnames[] = {
24792 (char *) "self",(char *) "dc", NULL
24793 };
24794
24795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
24796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24797 if (!SWIG_IsOK(res1)) {
24798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24799 }
24800 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24801 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
24802 if (!SWIG_IsOK(res2)) {
24803 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
24804 }
24805 arg2 = reinterpret_cast< wxDC * >(argp2);
24806 {
24807 PyThreadState* __tstate = wxPyBeginAllowThreads();
24808 result = (bool)(arg1)->DoEraseBackground(arg2);
24809 wxPyEndAllowThreads(__tstate);
24810 if (PyErr_Occurred()) SWIG_fail;
24811 }
24812 {
24813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24814 }
24815 return resultobj;
24816 fail:
24817 return NULL;
24818 }
24819
24820
24821 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24822 PyObject *resultobj = 0;
24823 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24824 int arg2 ;
24825 int arg3 ;
24826 int arg4 ;
24827 int arg5 ;
24828 void *argp1 = 0 ;
24829 int res1 = 0 ;
24830 int val2 ;
24831 int ecode2 = 0 ;
24832 int val3 ;
24833 int ecode3 = 0 ;
24834 int val4 ;
24835 int ecode4 = 0 ;
24836 int val5 ;
24837 int ecode5 = 0 ;
24838 PyObject * obj0 = 0 ;
24839 PyObject * obj1 = 0 ;
24840 PyObject * obj2 = 0 ;
24841 PyObject * obj3 = 0 ;
24842 PyObject * obj4 = 0 ;
24843 char * kwnames[] = {
24844 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24845 };
24846
24847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
24848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24849 if (!SWIG_IsOK(res1)) {
24850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24851 }
24852 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24853 ecode2 = SWIG_AsVal_int(obj1, &val2);
24854 if (!SWIG_IsOK(ecode2)) {
24855 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
24856 }
24857 arg2 = static_cast< int >(val2);
24858 ecode3 = SWIG_AsVal_int(obj2, &val3);
24859 if (!SWIG_IsOK(ecode3)) {
24860 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
24861 }
24862 arg3 = static_cast< int >(val3);
24863 ecode4 = SWIG_AsVal_int(obj3, &val4);
24864 if (!SWIG_IsOK(ecode4)) {
24865 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
24866 }
24867 arg4 = static_cast< int >(val4);
24868 ecode5 = SWIG_AsVal_int(obj4, &val5);
24869 if (!SWIG_IsOK(ecode5)) {
24870 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
24871 }
24872 arg5 = static_cast< int >(val5);
24873 {
24874 PyThreadState* __tstate = wxPyBeginAllowThreads();
24875 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
24876 wxPyEndAllowThreads(__tstate);
24877 if (PyErr_Occurred()) SWIG_fail;
24878 }
24879 resultobj = SWIG_Py_Void();
24880 return resultobj;
24881 fail:
24882 return NULL;
24883 }
24884
24885
24886 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24887 PyObject *resultobj = 0;
24888 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24889 int arg2 ;
24890 int arg3 ;
24891 int arg4 ;
24892 int arg5 ;
24893 int arg6 = (int) wxSIZE_AUTO ;
24894 void *argp1 = 0 ;
24895 int res1 = 0 ;
24896 int val2 ;
24897 int ecode2 = 0 ;
24898 int val3 ;
24899 int ecode3 = 0 ;
24900 int val4 ;
24901 int ecode4 = 0 ;
24902 int val5 ;
24903 int ecode5 = 0 ;
24904 int val6 ;
24905 int ecode6 = 0 ;
24906 PyObject * obj0 = 0 ;
24907 PyObject * obj1 = 0 ;
24908 PyObject * obj2 = 0 ;
24909 PyObject * obj3 = 0 ;
24910 PyObject * obj4 = 0 ;
24911 PyObject * obj5 = 0 ;
24912 char * kwnames[] = {
24913 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24914 };
24915
24916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
24917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24918 if (!SWIG_IsOK(res1)) {
24919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24920 }
24921 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24922 ecode2 = SWIG_AsVal_int(obj1, &val2);
24923 if (!SWIG_IsOK(ecode2)) {
24924 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
24925 }
24926 arg2 = static_cast< int >(val2);
24927 ecode3 = SWIG_AsVal_int(obj2, &val3);
24928 if (!SWIG_IsOK(ecode3)) {
24929 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
24930 }
24931 arg3 = static_cast< int >(val3);
24932 ecode4 = SWIG_AsVal_int(obj3, &val4);
24933 if (!SWIG_IsOK(ecode4)) {
24934 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
24935 }
24936 arg4 = static_cast< int >(val4);
24937 ecode5 = SWIG_AsVal_int(obj4, &val5);
24938 if (!SWIG_IsOK(ecode5)) {
24939 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
24940 }
24941 arg5 = static_cast< int >(val5);
24942 if (obj5) {
24943 ecode6 = SWIG_AsVal_int(obj5, &val6);
24944 if (!SWIG_IsOK(ecode6)) {
24945 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
24946 }
24947 arg6 = static_cast< int >(val6);
24948 }
24949 {
24950 PyThreadState* __tstate = wxPyBeginAllowThreads();
24951 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
24952 wxPyEndAllowThreads(__tstate);
24953 if (PyErr_Occurred()) SWIG_fail;
24954 }
24955 resultobj = SWIG_Py_Void();
24956 return resultobj;
24957 fail:
24958 return NULL;
24959 }
24960
24961
24962 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24963 PyObject *resultobj = 0;
24964 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24965 int arg2 ;
24966 int arg3 ;
24967 void *argp1 = 0 ;
24968 int res1 = 0 ;
24969 int val2 ;
24970 int ecode2 = 0 ;
24971 int val3 ;
24972 int ecode3 = 0 ;
24973 PyObject * obj0 = 0 ;
24974 PyObject * obj1 = 0 ;
24975 PyObject * obj2 = 0 ;
24976 char * kwnames[] = {
24977 (char *) "self",(char *) "width",(char *) "height", NULL
24978 };
24979
24980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24982 if (!SWIG_IsOK(res1)) {
24983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24984 }
24985 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24986 ecode2 = SWIG_AsVal_int(obj1, &val2);
24987 if (!SWIG_IsOK(ecode2)) {
24988 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
24989 }
24990 arg2 = static_cast< int >(val2);
24991 ecode3 = SWIG_AsVal_int(obj2, &val3);
24992 if (!SWIG_IsOK(ecode3)) {
24993 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
24994 }
24995 arg3 = static_cast< int >(val3);
24996 {
24997 PyThreadState* __tstate = wxPyBeginAllowThreads();
24998 (arg1)->DoSetClientSize(arg2,arg3);
24999 wxPyEndAllowThreads(__tstate);
25000 if (PyErr_Occurred()) SWIG_fail;
25001 }
25002 resultobj = SWIG_Py_Void();
25003 return resultobj;
25004 fail:
25005 return NULL;
25006 }
25007
25008
25009 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25010 PyObject *resultobj = 0;
25011 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25012 int arg2 ;
25013 int arg3 ;
25014 void *argp1 = 0 ;
25015 int res1 = 0 ;
25016 int val2 ;
25017 int ecode2 = 0 ;
25018 int val3 ;
25019 int ecode3 = 0 ;
25020 PyObject * obj0 = 0 ;
25021 PyObject * obj1 = 0 ;
25022 PyObject * obj2 = 0 ;
25023 char * kwnames[] = {
25024 (char *) "self",(char *) "x",(char *) "y", NULL
25025 };
25026
25027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25029 if (!SWIG_IsOK(res1)) {
25030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25031 }
25032 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25033 ecode2 = SWIG_AsVal_int(obj1, &val2);
25034 if (!SWIG_IsOK(ecode2)) {
25035 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
25036 }
25037 arg2 = static_cast< int >(val2);
25038 ecode3 = SWIG_AsVal_int(obj2, &val3);
25039 if (!SWIG_IsOK(ecode3)) {
25040 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
25041 }
25042 arg3 = static_cast< int >(val3);
25043 {
25044 PyThreadState* __tstate = wxPyBeginAllowThreads();
25045 (arg1)->DoSetVirtualSize(arg2,arg3);
25046 wxPyEndAllowThreads(__tstate);
25047 if (PyErr_Occurred()) SWIG_fail;
25048 }
25049 resultobj = SWIG_Py_Void();
25050 return resultobj;
25051 fail:
25052 return NULL;
25053 }
25054
25055
25056 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25057 PyObject *resultobj = 0;
25058 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25059 int *arg2 = (int *) 0 ;
25060 int *arg3 = (int *) 0 ;
25061 void *argp1 = 0 ;
25062 int res1 = 0 ;
25063 int temp2 ;
25064 int res2 = SWIG_TMPOBJ ;
25065 int temp3 ;
25066 int res3 = SWIG_TMPOBJ ;
25067 PyObject *swig_obj[1] ;
25068
25069 arg2 = &temp2;
25070 arg3 = &temp3;
25071 if (!args) SWIG_fail;
25072 swig_obj[0] = args;
25073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25074 if (!SWIG_IsOK(res1)) {
25075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25076 }
25077 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25078 {
25079 PyThreadState* __tstate = wxPyBeginAllowThreads();
25080 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
25081 wxPyEndAllowThreads(__tstate);
25082 if (PyErr_Occurred()) SWIG_fail;
25083 }
25084 resultobj = SWIG_Py_Void();
25085 if (SWIG_IsTmpObj(res2)) {
25086 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25087 } else {
25088 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25089 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25090 }
25091 if (SWIG_IsTmpObj(res3)) {
25092 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25093 } else {
25094 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25095 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25096 }
25097 return resultobj;
25098 fail:
25099 return NULL;
25100 }
25101
25102
25103 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25104 PyObject *resultobj = 0;
25105 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25106 int *arg2 = (int *) 0 ;
25107 int *arg3 = (int *) 0 ;
25108 void *argp1 = 0 ;
25109 int res1 = 0 ;
25110 int temp2 ;
25111 int res2 = SWIG_TMPOBJ ;
25112 int temp3 ;
25113 int res3 = SWIG_TMPOBJ ;
25114 PyObject *swig_obj[1] ;
25115
25116 arg2 = &temp2;
25117 arg3 = &temp3;
25118 if (!args) SWIG_fail;
25119 swig_obj[0] = args;
25120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25121 if (!SWIG_IsOK(res1)) {
25122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25123 }
25124 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25125 {
25126 PyThreadState* __tstate = wxPyBeginAllowThreads();
25127 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
25128 wxPyEndAllowThreads(__tstate);
25129 if (PyErr_Occurred()) SWIG_fail;
25130 }
25131 resultobj = SWIG_Py_Void();
25132 if (SWIG_IsTmpObj(res2)) {
25133 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25134 } else {
25135 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25136 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25137 }
25138 if (SWIG_IsTmpObj(res3)) {
25139 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25140 } else {
25141 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25142 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25143 }
25144 return resultobj;
25145 fail:
25146 return NULL;
25147 }
25148
25149
25150 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25151 PyObject *resultobj = 0;
25152 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25153 int *arg2 = (int *) 0 ;
25154 int *arg3 = (int *) 0 ;
25155 void *argp1 = 0 ;
25156 int res1 = 0 ;
25157 int temp2 ;
25158 int res2 = SWIG_TMPOBJ ;
25159 int temp3 ;
25160 int res3 = SWIG_TMPOBJ ;
25161 PyObject *swig_obj[1] ;
25162
25163 arg2 = &temp2;
25164 arg3 = &temp3;
25165 if (!args) SWIG_fail;
25166 swig_obj[0] = args;
25167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25168 if (!SWIG_IsOK(res1)) {
25169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25170 }
25171 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25172 {
25173 PyThreadState* __tstate = wxPyBeginAllowThreads();
25174 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
25175 wxPyEndAllowThreads(__tstate);
25176 if (PyErr_Occurred()) SWIG_fail;
25177 }
25178 resultobj = SWIG_Py_Void();
25179 if (SWIG_IsTmpObj(res2)) {
25180 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25181 } else {
25182 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25183 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25184 }
25185 if (SWIG_IsTmpObj(res3)) {
25186 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25187 } else {
25188 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25189 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25190 }
25191 return resultobj;
25192 fail:
25193 return NULL;
25194 }
25195
25196
25197 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25198 PyObject *resultobj = 0;
25199 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25200 wxSize result;
25201 void *argp1 = 0 ;
25202 int res1 = 0 ;
25203 PyObject *swig_obj[1] ;
25204
25205 if (!args) SWIG_fail;
25206 swig_obj[0] = args;
25207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25208 if (!SWIG_IsOK(res1)) {
25209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25210 }
25211 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25212 {
25213 PyThreadState* __tstate = wxPyBeginAllowThreads();
25214 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
25215 wxPyEndAllowThreads(__tstate);
25216 if (PyErr_Occurred()) SWIG_fail;
25217 }
25218 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25219 return resultobj;
25220 fail:
25221 return NULL;
25222 }
25223
25224
25225 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25226 PyObject *resultobj = 0;
25227 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25228 wxSize result;
25229 void *argp1 = 0 ;
25230 int res1 = 0 ;
25231 PyObject *swig_obj[1] ;
25232
25233 if (!args) SWIG_fail;
25234 swig_obj[0] = args;
25235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25236 if (!SWIG_IsOK(res1)) {
25237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25238 }
25239 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25240 {
25241 PyThreadState* __tstate = wxPyBeginAllowThreads();
25242 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
25243 wxPyEndAllowThreads(__tstate);
25244 if (PyErr_Occurred()) SWIG_fail;
25245 }
25246 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25247 return resultobj;
25248 fail:
25249 return NULL;
25250 }
25251
25252
25253 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25254 PyObject *resultobj = 0;
25255 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25256 SwigValueWrapper<wxVisualAttributes > result;
25257 void *argp1 = 0 ;
25258 int res1 = 0 ;
25259 PyObject *swig_obj[1] ;
25260
25261 if (!args) SWIG_fail;
25262 swig_obj[0] = args;
25263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25264 if (!SWIG_IsOK(res1)) {
25265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25266 }
25267 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25268 {
25269 PyThreadState* __tstate = wxPyBeginAllowThreads();
25270 result = (arg1)->GetDefaultAttributes();
25271 wxPyEndAllowThreads(__tstate);
25272 if (PyErr_Occurred()) SWIG_fail;
25273 }
25274 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
25275 return resultobj;
25276 fail:
25277 return NULL;
25278 }
25279
25280
25281 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25282 PyObject *resultobj = 0;
25283 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25284 void *argp1 = 0 ;
25285 int res1 = 0 ;
25286 PyObject *swig_obj[1] ;
25287
25288 if (!args) SWIG_fail;
25289 swig_obj[0] = args;
25290 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25291 if (!SWIG_IsOK(res1)) {
25292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25293 }
25294 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25295 {
25296 PyThreadState* __tstate = wxPyBeginAllowThreads();
25297 (arg1)->OnInternalIdle();
25298 wxPyEndAllowThreads(__tstate);
25299 if (PyErr_Occurred()) SWIG_fail;
25300 }
25301 resultobj = SWIG_Py_Void();
25302 return resultobj;
25303 fail:
25304 return NULL;
25305 }
25306
25307
25308 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25309 PyObject *obj;
25310 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25311 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
25312 return SWIG_Py_Void();
25313 }
25314
25315 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25316 return SWIG_Python_InitShadowInstance(args);
25317 }
25318
25319 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25320 PyObject *resultobj = 0;
25321 wxWindow *arg1 = (wxWindow *) 0 ;
25322 int arg2 = (int) (int)-1 ;
25323 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25324 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25325 wxSize const &arg4_defvalue = wxDefaultSize ;
25326 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25327 long arg5 = (long) 0 ;
25328 wxString const &arg6_defvalue = wxPyPanelNameStr ;
25329 wxString *arg6 = (wxString *) &arg6_defvalue ;
25330 wxPyScrolledWindow *result = 0 ;
25331 void *argp1 = 0 ;
25332 int res1 = 0 ;
25333 int val2 ;
25334 int ecode2 = 0 ;
25335 wxPoint temp3 ;
25336 wxSize temp4 ;
25337 long val5 ;
25338 int ecode5 = 0 ;
25339 bool temp6 = false ;
25340 PyObject * obj0 = 0 ;
25341 PyObject * obj1 = 0 ;
25342 PyObject * obj2 = 0 ;
25343 PyObject * obj3 = 0 ;
25344 PyObject * obj4 = 0 ;
25345 PyObject * obj5 = 0 ;
25346 char * kwnames[] = {
25347 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25348 };
25349
25350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25352 if (!SWIG_IsOK(res1)) {
25353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
25354 }
25355 arg1 = reinterpret_cast< wxWindow * >(argp1);
25356 if (obj1) {
25357 ecode2 = SWIG_AsVal_int(obj1, &val2);
25358 if (!SWIG_IsOK(ecode2)) {
25359 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
25360 }
25361 arg2 = static_cast< int >(val2);
25362 }
25363 if (obj2) {
25364 {
25365 arg3 = &temp3;
25366 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25367 }
25368 }
25369 if (obj3) {
25370 {
25371 arg4 = &temp4;
25372 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25373 }
25374 }
25375 if (obj4) {
25376 ecode5 = SWIG_AsVal_long(obj4, &val5);
25377 if (!SWIG_IsOK(ecode5)) {
25378 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
25379 }
25380 arg5 = static_cast< long >(val5);
25381 }
25382 if (obj5) {
25383 {
25384 arg6 = wxString_in_helper(obj5);
25385 if (arg6 == NULL) SWIG_fail;
25386 temp6 = true;
25387 }
25388 }
25389 {
25390 if (!wxPyCheckForApp()) SWIG_fail;
25391 PyThreadState* __tstate = wxPyBeginAllowThreads();
25392 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25393 wxPyEndAllowThreads(__tstate);
25394 if (PyErr_Occurred()) SWIG_fail;
25395 }
25396 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
25397 {
25398 if (temp6)
25399 delete arg6;
25400 }
25401 return resultobj;
25402 fail:
25403 {
25404 if (temp6)
25405 delete arg6;
25406 }
25407 return NULL;
25408 }
25409
25410
25411 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25412 PyObject *resultobj = 0;
25413 wxPyScrolledWindow *result = 0 ;
25414
25415 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
25416 {
25417 if (!wxPyCheckForApp()) SWIG_fail;
25418 PyThreadState* __tstate = wxPyBeginAllowThreads();
25419 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
25420 wxPyEndAllowThreads(__tstate);
25421 if (PyErr_Occurred()) SWIG_fail;
25422 }
25423 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
25424 return resultobj;
25425 fail:
25426 return NULL;
25427 }
25428
25429
25430 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25431 PyObject *resultobj = 0;
25432 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25433 PyObject *arg2 = (PyObject *) 0 ;
25434 PyObject *arg3 = (PyObject *) 0 ;
25435 void *argp1 = 0 ;
25436 int res1 = 0 ;
25437 PyObject * obj0 = 0 ;
25438 PyObject * obj1 = 0 ;
25439 PyObject * obj2 = 0 ;
25440 char * kwnames[] = {
25441 (char *) "self",(char *) "self",(char *) "_class", NULL
25442 };
25443
25444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25446 if (!SWIG_IsOK(res1)) {
25447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25448 }
25449 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25450 arg2 = obj1;
25451 arg3 = obj2;
25452 {
25453 PyThreadState* __tstate = wxPyBeginAllowThreads();
25454 (arg1)->_setCallbackInfo(arg2,arg3);
25455 wxPyEndAllowThreads(__tstate);
25456 if (PyErr_Occurred()) SWIG_fail;
25457 }
25458 resultobj = SWIG_Py_Void();
25459 return resultobj;
25460 fail:
25461 return NULL;
25462 }
25463
25464
25465 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25466 PyObject *resultobj = 0;
25467 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25468 wxDC *arg2 = (wxDC *) 0 ;
25469 bool result;
25470 void *argp1 = 0 ;
25471 int res1 = 0 ;
25472 void *argp2 = 0 ;
25473 int res2 = 0 ;
25474 PyObject * obj0 = 0 ;
25475 PyObject * obj1 = 0 ;
25476 char * kwnames[] = {
25477 (char *) "self",(char *) "dc", NULL
25478 };
25479
25480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
25481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25482 if (!SWIG_IsOK(res1)) {
25483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25484 }
25485 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25486 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
25487 if (!SWIG_IsOK(res2)) {
25488 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
25489 }
25490 arg2 = reinterpret_cast< wxDC * >(argp2);
25491 {
25492 PyThreadState* __tstate = wxPyBeginAllowThreads();
25493 result = (bool)(arg1)->DoEraseBackground(arg2);
25494 wxPyEndAllowThreads(__tstate);
25495 if (PyErr_Occurred()) SWIG_fail;
25496 }
25497 {
25498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25499 }
25500 return resultobj;
25501 fail:
25502 return NULL;
25503 }
25504
25505
25506 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25507 PyObject *resultobj = 0;
25508 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25509 int arg2 ;
25510 int arg3 ;
25511 int arg4 ;
25512 int arg5 ;
25513 void *argp1 = 0 ;
25514 int res1 = 0 ;
25515 int val2 ;
25516 int ecode2 = 0 ;
25517 int val3 ;
25518 int ecode3 = 0 ;
25519 int val4 ;
25520 int ecode4 = 0 ;
25521 int val5 ;
25522 int ecode5 = 0 ;
25523 PyObject * obj0 = 0 ;
25524 PyObject * obj1 = 0 ;
25525 PyObject * obj2 = 0 ;
25526 PyObject * obj3 = 0 ;
25527 PyObject * obj4 = 0 ;
25528 char * kwnames[] = {
25529 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
25530 };
25531
25532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
25533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25534 if (!SWIG_IsOK(res1)) {
25535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25536 }
25537 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25538 ecode2 = SWIG_AsVal_int(obj1, &val2);
25539 if (!SWIG_IsOK(ecode2)) {
25540 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
25541 }
25542 arg2 = static_cast< int >(val2);
25543 ecode3 = SWIG_AsVal_int(obj2, &val3);
25544 if (!SWIG_IsOK(ecode3)) {
25545 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
25546 }
25547 arg3 = static_cast< int >(val3);
25548 ecode4 = SWIG_AsVal_int(obj3, &val4);
25549 if (!SWIG_IsOK(ecode4)) {
25550 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
25551 }
25552 arg4 = static_cast< int >(val4);
25553 ecode5 = SWIG_AsVal_int(obj4, &val5);
25554 if (!SWIG_IsOK(ecode5)) {
25555 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
25556 }
25557 arg5 = static_cast< int >(val5);
25558 {
25559 PyThreadState* __tstate = wxPyBeginAllowThreads();
25560 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
25561 wxPyEndAllowThreads(__tstate);
25562 if (PyErr_Occurred()) SWIG_fail;
25563 }
25564 resultobj = SWIG_Py_Void();
25565 return resultobj;
25566 fail:
25567 return NULL;
25568 }
25569
25570
25571 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25572 PyObject *resultobj = 0;
25573 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25574 int arg2 ;
25575 int arg3 ;
25576 int arg4 ;
25577 int arg5 ;
25578 int arg6 = (int) wxSIZE_AUTO ;
25579 void *argp1 = 0 ;
25580 int res1 = 0 ;
25581 int val2 ;
25582 int ecode2 = 0 ;
25583 int val3 ;
25584 int ecode3 = 0 ;
25585 int val4 ;
25586 int ecode4 = 0 ;
25587 int val5 ;
25588 int ecode5 = 0 ;
25589 int val6 ;
25590 int ecode6 = 0 ;
25591 PyObject * obj0 = 0 ;
25592 PyObject * obj1 = 0 ;
25593 PyObject * obj2 = 0 ;
25594 PyObject * obj3 = 0 ;
25595 PyObject * obj4 = 0 ;
25596 PyObject * obj5 = 0 ;
25597 char * kwnames[] = {
25598 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25599 };
25600
25601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25603 if (!SWIG_IsOK(res1)) {
25604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25605 }
25606 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25607 ecode2 = SWIG_AsVal_int(obj1, &val2);
25608 if (!SWIG_IsOK(ecode2)) {
25609 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
25610 }
25611 arg2 = static_cast< int >(val2);
25612 ecode3 = SWIG_AsVal_int(obj2, &val3);
25613 if (!SWIG_IsOK(ecode3)) {
25614 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
25615 }
25616 arg3 = static_cast< int >(val3);
25617 ecode4 = SWIG_AsVal_int(obj3, &val4);
25618 if (!SWIG_IsOK(ecode4)) {
25619 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
25620 }
25621 arg4 = static_cast< int >(val4);
25622 ecode5 = SWIG_AsVal_int(obj4, &val5);
25623 if (!SWIG_IsOK(ecode5)) {
25624 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
25625 }
25626 arg5 = static_cast< int >(val5);
25627 if (obj5) {
25628 ecode6 = SWIG_AsVal_int(obj5, &val6);
25629 if (!SWIG_IsOK(ecode6)) {
25630 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
25631 }
25632 arg6 = static_cast< int >(val6);
25633 }
25634 {
25635 PyThreadState* __tstate = wxPyBeginAllowThreads();
25636 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
25637 wxPyEndAllowThreads(__tstate);
25638 if (PyErr_Occurred()) SWIG_fail;
25639 }
25640 resultobj = SWIG_Py_Void();
25641 return resultobj;
25642 fail:
25643 return NULL;
25644 }
25645
25646
25647 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25648 PyObject *resultobj = 0;
25649 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25650 int arg2 ;
25651 int arg3 ;
25652 void *argp1 = 0 ;
25653 int res1 = 0 ;
25654 int val2 ;
25655 int ecode2 = 0 ;
25656 int val3 ;
25657 int ecode3 = 0 ;
25658 PyObject * obj0 = 0 ;
25659 PyObject * obj1 = 0 ;
25660 PyObject * obj2 = 0 ;
25661 char * kwnames[] = {
25662 (char *) "self",(char *) "width",(char *) "height", NULL
25663 };
25664
25665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25667 if (!SWIG_IsOK(res1)) {
25668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25669 }
25670 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25671 ecode2 = SWIG_AsVal_int(obj1, &val2);
25672 if (!SWIG_IsOK(ecode2)) {
25673 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
25674 }
25675 arg2 = static_cast< int >(val2);
25676 ecode3 = SWIG_AsVal_int(obj2, &val3);
25677 if (!SWIG_IsOK(ecode3)) {
25678 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
25679 }
25680 arg3 = static_cast< int >(val3);
25681 {
25682 PyThreadState* __tstate = wxPyBeginAllowThreads();
25683 (arg1)->DoSetClientSize(arg2,arg3);
25684 wxPyEndAllowThreads(__tstate);
25685 if (PyErr_Occurred()) SWIG_fail;
25686 }
25687 resultobj = SWIG_Py_Void();
25688 return resultobj;
25689 fail:
25690 return NULL;
25691 }
25692
25693
25694 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25695 PyObject *resultobj = 0;
25696 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25697 int arg2 ;
25698 int arg3 ;
25699 void *argp1 = 0 ;
25700 int res1 = 0 ;
25701 int val2 ;
25702 int ecode2 = 0 ;
25703 int val3 ;
25704 int ecode3 = 0 ;
25705 PyObject * obj0 = 0 ;
25706 PyObject * obj1 = 0 ;
25707 PyObject * obj2 = 0 ;
25708 char * kwnames[] = {
25709 (char *) "self",(char *) "x",(char *) "y", NULL
25710 };
25711
25712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25714 if (!SWIG_IsOK(res1)) {
25715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25716 }
25717 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25718 ecode2 = SWIG_AsVal_int(obj1, &val2);
25719 if (!SWIG_IsOK(ecode2)) {
25720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
25721 }
25722 arg2 = static_cast< int >(val2);
25723 ecode3 = SWIG_AsVal_int(obj2, &val3);
25724 if (!SWIG_IsOK(ecode3)) {
25725 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
25726 }
25727 arg3 = static_cast< int >(val3);
25728 {
25729 PyThreadState* __tstate = wxPyBeginAllowThreads();
25730 (arg1)->DoSetVirtualSize(arg2,arg3);
25731 wxPyEndAllowThreads(__tstate);
25732 if (PyErr_Occurred()) SWIG_fail;
25733 }
25734 resultobj = SWIG_Py_Void();
25735 return resultobj;
25736 fail:
25737 return NULL;
25738 }
25739
25740
25741 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25742 PyObject *resultobj = 0;
25743 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25744 int *arg2 = (int *) 0 ;
25745 int *arg3 = (int *) 0 ;
25746 void *argp1 = 0 ;
25747 int res1 = 0 ;
25748 int temp2 ;
25749 int res2 = SWIG_TMPOBJ ;
25750 int temp3 ;
25751 int res3 = SWIG_TMPOBJ ;
25752 PyObject *swig_obj[1] ;
25753
25754 arg2 = &temp2;
25755 arg3 = &temp3;
25756 if (!args) SWIG_fail;
25757 swig_obj[0] = args;
25758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25759 if (!SWIG_IsOK(res1)) {
25760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25761 }
25762 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25763 {
25764 PyThreadState* __tstate = wxPyBeginAllowThreads();
25765 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
25766 wxPyEndAllowThreads(__tstate);
25767 if (PyErr_Occurred()) SWIG_fail;
25768 }
25769 resultobj = SWIG_Py_Void();
25770 if (SWIG_IsTmpObj(res2)) {
25771 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25772 } else {
25773 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25774 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25775 }
25776 if (SWIG_IsTmpObj(res3)) {
25777 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25778 } else {
25779 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25780 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25781 }
25782 return resultobj;
25783 fail:
25784 return NULL;
25785 }
25786
25787
25788 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25789 PyObject *resultobj = 0;
25790 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25791 int *arg2 = (int *) 0 ;
25792 int *arg3 = (int *) 0 ;
25793 void *argp1 = 0 ;
25794 int res1 = 0 ;
25795 int temp2 ;
25796 int res2 = SWIG_TMPOBJ ;
25797 int temp3 ;
25798 int res3 = SWIG_TMPOBJ ;
25799 PyObject *swig_obj[1] ;
25800
25801 arg2 = &temp2;
25802 arg3 = &temp3;
25803 if (!args) SWIG_fail;
25804 swig_obj[0] = args;
25805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25806 if (!SWIG_IsOK(res1)) {
25807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25808 }
25809 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25810 {
25811 PyThreadState* __tstate = wxPyBeginAllowThreads();
25812 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
25813 wxPyEndAllowThreads(__tstate);
25814 if (PyErr_Occurred()) SWIG_fail;
25815 }
25816 resultobj = SWIG_Py_Void();
25817 if (SWIG_IsTmpObj(res2)) {
25818 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25819 } else {
25820 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25821 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25822 }
25823 if (SWIG_IsTmpObj(res3)) {
25824 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25825 } else {
25826 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25827 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25828 }
25829 return resultobj;
25830 fail:
25831 return NULL;
25832 }
25833
25834
25835 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25836 PyObject *resultobj = 0;
25837 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25838 int *arg2 = (int *) 0 ;
25839 int *arg3 = (int *) 0 ;
25840 void *argp1 = 0 ;
25841 int res1 = 0 ;
25842 int temp2 ;
25843 int res2 = SWIG_TMPOBJ ;
25844 int temp3 ;
25845 int res3 = SWIG_TMPOBJ ;
25846 PyObject *swig_obj[1] ;
25847
25848 arg2 = &temp2;
25849 arg3 = &temp3;
25850 if (!args) SWIG_fail;
25851 swig_obj[0] = args;
25852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25853 if (!SWIG_IsOK(res1)) {
25854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25855 }
25856 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25857 {
25858 PyThreadState* __tstate = wxPyBeginAllowThreads();
25859 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
25860 wxPyEndAllowThreads(__tstate);
25861 if (PyErr_Occurred()) SWIG_fail;
25862 }
25863 resultobj = SWIG_Py_Void();
25864 if (SWIG_IsTmpObj(res2)) {
25865 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25866 } else {
25867 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25868 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25869 }
25870 if (SWIG_IsTmpObj(res3)) {
25871 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25872 } else {
25873 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25874 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25875 }
25876 return resultobj;
25877 fail:
25878 return NULL;
25879 }
25880
25881
25882 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25883 PyObject *resultobj = 0;
25884 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25885 wxSize result;
25886 void *argp1 = 0 ;
25887 int res1 = 0 ;
25888 PyObject *swig_obj[1] ;
25889
25890 if (!args) SWIG_fail;
25891 swig_obj[0] = args;
25892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25893 if (!SWIG_IsOK(res1)) {
25894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25895 }
25896 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25897 {
25898 PyThreadState* __tstate = wxPyBeginAllowThreads();
25899 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
25900 wxPyEndAllowThreads(__tstate);
25901 if (PyErr_Occurred()) SWIG_fail;
25902 }
25903 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25904 return resultobj;
25905 fail:
25906 return NULL;
25907 }
25908
25909
25910 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25911 PyObject *resultobj = 0;
25912 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25913 wxSize result;
25914 void *argp1 = 0 ;
25915 int res1 = 0 ;
25916 PyObject *swig_obj[1] ;
25917
25918 if (!args) SWIG_fail;
25919 swig_obj[0] = args;
25920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25921 if (!SWIG_IsOK(res1)) {
25922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25923 }
25924 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25925 {
25926 PyThreadState* __tstate = wxPyBeginAllowThreads();
25927 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
25928 wxPyEndAllowThreads(__tstate);
25929 if (PyErr_Occurred()) SWIG_fail;
25930 }
25931 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25932 return resultobj;
25933 fail:
25934 return NULL;
25935 }
25936
25937
25938 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25939 PyObject *resultobj = 0;
25940 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25941 SwigValueWrapper<wxVisualAttributes > result;
25942 void *argp1 = 0 ;
25943 int res1 = 0 ;
25944 PyObject *swig_obj[1] ;
25945
25946 if (!args) SWIG_fail;
25947 swig_obj[0] = args;
25948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25949 if (!SWIG_IsOK(res1)) {
25950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25951 }
25952 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25953 {
25954 PyThreadState* __tstate = wxPyBeginAllowThreads();
25955 result = (arg1)->GetDefaultAttributes();
25956 wxPyEndAllowThreads(__tstate);
25957 if (PyErr_Occurred()) SWIG_fail;
25958 }
25959 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
25960 return resultobj;
25961 fail:
25962 return NULL;
25963 }
25964
25965
25966 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25967 PyObject *resultobj = 0;
25968 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25969 void *argp1 = 0 ;
25970 int res1 = 0 ;
25971 PyObject *swig_obj[1] ;
25972
25973 if (!args) SWIG_fail;
25974 swig_obj[0] = args;
25975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25976 if (!SWIG_IsOK(res1)) {
25977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25978 }
25979 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25980 {
25981 PyThreadState* __tstate = wxPyBeginAllowThreads();
25982 (arg1)->OnInternalIdle();
25983 wxPyEndAllowThreads(__tstate);
25984 if (PyErr_Occurred()) SWIG_fail;
25985 }
25986 resultobj = SWIG_Py_Void();
25987 return resultobj;
25988 fail:
25989 return NULL;
25990 }
25991
25992
25993 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25994 PyObject *obj;
25995 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25996 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
25997 return SWIG_Py_Void();
25998 }
25999
26000 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26001 return SWIG_Python_InitShadowInstance(args);
26002 }
26003
26004 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
26005 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
26006 return 1;
26007 }
26008
26009
26010 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
26011 PyObject *pyobj = 0;
26012
26013 {
26014 #if wxUSE_UNICODE
26015 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
26016 #else
26017 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
26018 #endif
26019 }
26020 return pyobj;
26021 }
26022
26023
26024 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
26025 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
26026 return 1;
26027 }
26028
26029
26030 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
26031 PyObject *pyobj = 0;
26032
26033 {
26034 #if wxUSE_UNICODE
26035 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
26036 #else
26037 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
26038 #endif
26039 }
26040 return pyobj;
26041 }
26042
26043
26044 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26045 PyObject *resultobj = 0;
26046 wxPrintData *result = 0 ;
26047
26048 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26049 {
26050 PyThreadState* __tstate = wxPyBeginAllowThreads();
26051 result = (wxPrintData *)new wxPrintData();
26052 wxPyEndAllowThreads(__tstate);
26053 if (PyErr_Occurred()) SWIG_fail;
26054 }
26055 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
26056 return resultobj;
26057 fail:
26058 return NULL;
26059 }
26060
26061
26062 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26063 PyObject *resultobj = 0;
26064 wxPrintData *arg1 = 0 ;
26065 wxPrintData *result = 0 ;
26066 void *argp1 = 0 ;
26067 int res1 = 0 ;
26068
26069 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26071 if (!SWIG_IsOK(res1)) {
26072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26073 }
26074 if (!argp1) {
26075 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26076 }
26077 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26078 {
26079 PyThreadState* __tstate = wxPyBeginAllowThreads();
26080 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
26081 wxPyEndAllowThreads(__tstate);
26082 if (PyErr_Occurred()) SWIG_fail;
26083 }
26084 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
26085 return resultobj;
26086 fail:
26087 return NULL;
26088 }
26089
26090
26091 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
26092 int argc;
26093 PyObject *argv[2];
26094
26095 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
26096 --argc;
26097 if (argc == 0) {
26098 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
26099 }
26100 if (argc == 1) {
26101 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
26102 }
26103
26104 fail:
26105 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
26106 return NULL;
26107 }
26108
26109
26110 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26111 PyObject *resultobj = 0;
26112 wxPrintData *arg1 = (wxPrintData *) 0 ;
26113 void *argp1 = 0 ;
26114 int res1 = 0 ;
26115 PyObject *swig_obj[1] ;
26116
26117 if (!args) SWIG_fail;
26118 swig_obj[0] = args;
26119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
26120 if (!SWIG_IsOK(res1)) {
26121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
26122 }
26123 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26124 {
26125 PyThreadState* __tstate = wxPyBeginAllowThreads();
26126 delete arg1;
26127
26128 wxPyEndAllowThreads(__tstate);
26129 if (PyErr_Occurred()) SWIG_fail;
26130 }
26131 resultobj = SWIG_Py_Void();
26132 return resultobj;
26133 fail:
26134 return NULL;
26135 }
26136
26137
26138 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26139 PyObject *resultobj = 0;
26140 wxPrintData *arg1 = (wxPrintData *) 0 ;
26141 int result;
26142 void *argp1 = 0 ;
26143 int res1 = 0 ;
26144 PyObject *swig_obj[1] ;
26145
26146 if (!args) SWIG_fail;
26147 swig_obj[0] = args;
26148 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26149 if (!SWIG_IsOK(res1)) {
26150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
26151 }
26152 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26153 {
26154 PyThreadState* __tstate = wxPyBeginAllowThreads();
26155 result = (int)(arg1)->GetNoCopies();
26156 wxPyEndAllowThreads(__tstate);
26157 if (PyErr_Occurred()) SWIG_fail;
26158 }
26159 resultobj = SWIG_From_int(static_cast< int >(result));
26160 return resultobj;
26161 fail:
26162 return NULL;
26163 }
26164
26165
26166 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26167 PyObject *resultobj = 0;
26168 wxPrintData *arg1 = (wxPrintData *) 0 ;
26169 bool result;
26170 void *argp1 = 0 ;
26171 int res1 = 0 ;
26172 PyObject *swig_obj[1] ;
26173
26174 if (!args) SWIG_fail;
26175 swig_obj[0] = args;
26176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26177 if (!SWIG_IsOK(res1)) {
26178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
26179 }
26180 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26181 {
26182 PyThreadState* __tstate = wxPyBeginAllowThreads();
26183 result = (bool)(arg1)->GetCollate();
26184 wxPyEndAllowThreads(__tstate);
26185 if (PyErr_Occurred()) SWIG_fail;
26186 }
26187 {
26188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26189 }
26190 return resultobj;
26191 fail:
26192 return NULL;
26193 }
26194
26195
26196 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26197 PyObject *resultobj = 0;
26198 wxPrintData *arg1 = (wxPrintData *) 0 ;
26199 int result;
26200 void *argp1 = 0 ;
26201 int res1 = 0 ;
26202 PyObject *swig_obj[1] ;
26203
26204 if (!args) SWIG_fail;
26205 swig_obj[0] = args;
26206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26207 if (!SWIG_IsOK(res1)) {
26208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
26209 }
26210 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26211 {
26212 PyThreadState* __tstate = wxPyBeginAllowThreads();
26213 result = (int)(arg1)->GetOrientation();
26214 wxPyEndAllowThreads(__tstate);
26215 if (PyErr_Occurred()) SWIG_fail;
26216 }
26217 resultobj = SWIG_From_int(static_cast< int >(result));
26218 return resultobj;
26219 fail:
26220 return NULL;
26221 }
26222
26223
26224 SWIGINTERN PyObject *_wrap_PrintData_IsOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26225 PyObject *resultobj = 0;
26226 wxPrintData *arg1 = (wxPrintData *) 0 ;
26227 bool result;
26228 void *argp1 = 0 ;
26229 int res1 = 0 ;
26230 PyObject *swig_obj[1] ;
26231
26232 if (!args) SWIG_fail;
26233 swig_obj[0] = args;
26234 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26235 if (!SWIG_IsOK(res1)) {
26236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26237 }
26238 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26239 {
26240 PyThreadState* __tstate = wxPyBeginAllowThreads();
26241 result = (bool)((wxPrintData const *)arg1)->IsOrientationReversed();
26242 wxPyEndAllowThreads(__tstate);
26243 if (PyErr_Occurred()) SWIG_fail;
26244 }
26245 {
26246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26247 }
26248 return resultobj;
26249 fail:
26250 return NULL;
26251 }
26252
26253
26254 SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26255 PyObject *resultobj = 0;
26256 wxPrintData *arg1 = (wxPrintData *) 0 ;
26257 bool result;
26258 void *argp1 = 0 ;
26259 int res1 = 0 ;
26260 PyObject *swig_obj[1] ;
26261
26262 if (!args) SWIG_fail;
26263 swig_obj[0] = args;
26264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26265 if (!SWIG_IsOK(res1)) {
26266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
26267 }
26268 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26269 {
26270 PyThreadState* __tstate = wxPyBeginAllowThreads();
26271 result = (bool)(arg1)->IsOk();
26272 wxPyEndAllowThreads(__tstate);
26273 if (PyErr_Occurred()) SWIG_fail;
26274 }
26275 {
26276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26277 }
26278 return resultobj;
26279 fail:
26280 return NULL;
26281 }
26282
26283
26284 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26285 PyObject *resultobj = 0;
26286 wxPrintData *arg1 = (wxPrintData *) 0 ;
26287 wxString *result = 0 ;
26288 void *argp1 = 0 ;
26289 int res1 = 0 ;
26290 PyObject *swig_obj[1] ;
26291
26292 if (!args) SWIG_fail;
26293 swig_obj[0] = args;
26294 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26295 if (!SWIG_IsOK(res1)) {
26296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
26297 }
26298 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26299 {
26300 PyThreadState* __tstate = wxPyBeginAllowThreads();
26301 {
26302 wxString const &_result_ref = (arg1)->GetPrinterName();
26303 result = (wxString *) &_result_ref;
26304 }
26305 wxPyEndAllowThreads(__tstate);
26306 if (PyErr_Occurred()) SWIG_fail;
26307 }
26308 {
26309 #if wxUSE_UNICODE
26310 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
26311 #else
26312 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
26313 #endif
26314 }
26315 return resultobj;
26316 fail:
26317 return NULL;
26318 }
26319
26320
26321 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26322 PyObject *resultobj = 0;
26323 wxPrintData *arg1 = (wxPrintData *) 0 ;
26324 bool result;
26325 void *argp1 = 0 ;
26326 int res1 = 0 ;
26327 PyObject *swig_obj[1] ;
26328
26329 if (!args) SWIG_fail;
26330 swig_obj[0] = args;
26331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26332 if (!SWIG_IsOK(res1)) {
26333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
26334 }
26335 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26336 {
26337 PyThreadState* __tstate = wxPyBeginAllowThreads();
26338 result = (bool)(arg1)->GetColour();
26339 wxPyEndAllowThreads(__tstate);
26340 if (PyErr_Occurred()) SWIG_fail;
26341 }
26342 {
26343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26344 }
26345 return resultobj;
26346 fail:
26347 return NULL;
26348 }
26349
26350
26351 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26352 PyObject *resultobj = 0;
26353 wxPrintData *arg1 = (wxPrintData *) 0 ;
26354 wxDuplexMode result;
26355 void *argp1 = 0 ;
26356 int res1 = 0 ;
26357 PyObject *swig_obj[1] ;
26358
26359 if (!args) SWIG_fail;
26360 swig_obj[0] = args;
26361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26362 if (!SWIG_IsOK(res1)) {
26363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
26364 }
26365 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26366 {
26367 PyThreadState* __tstate = wxPyBeginAllowThreads();
26368 result = (wxDuplexMode)(arg1)->GetDuplex();
26369 wxPyEndAllowThreads(__tstate);
26370 if (PyErr_Occurred()) SWIG_fail;
26371 }
26372 resultobj = SWIG_From_int(static_cast< int >(result));
26373 return resultobj;
26374 fail:
26375 return NULL;
26376 }
26377
26378
26379 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26380 PyObject *resultobj = 0;
26381 wxPrintData *arg1 = (wxPrintData *) 0 ;
26382 wxPaperSize result;
26383 void *argp1 = 0 ;
26384 int res1 = 0 ;
26385 PyObject *swig_obj[1] ;
26386
26387 if (!args) SWIG_fail;
26388 swig_obj[0] = args;
26389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26390 if (!SWIG_IsOK(res1)) {
26391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
26392 }
26393 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26394 {
26395 PyThreadState* __tstate = wxPyBeginAllowThreads();
26396 result = (wxPaperSize)(arg1)->GetPaperId();
26397 wxPyEndAllowThreads(__tstate);
26398 if (PyErr_Occurred()) SWIG_fail;
26399 }
26400 resultobj = SWIG_From_int(static_cast< int >(result));
26401 return resultobj;
26402 fail:
26403 return NULL;
26404 }
26405
26406
26407 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26408 PyObject *resultobj = 0;
26409 wxPrintData *arg1 = (wxPrintData *) 0 ;
26410 wxSize *result = 0 ;
26411 void *argp1 = 0 ;
26412 int res1 = 0 ;
26413 PyObject *swig_obj[1] ;
26414
26415 if (!args) SWIG_fail;
26416 swig_obj[0] = args;
26417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26418 if (!SWIG_IsOK(res1)) {
26419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
26420 }
26421 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26422 {
26423 PyThreadState* __tstate = wxPyBeginAllowThreads();
26424 {
26425 wxSize const &_result_ref = (arg1)->GetPaperSize();
26426 result = (wxSize *) &_result_ref;
26427 }
26428 wxPyEndAllowThreads(__tstate);
26429 if (PyErr_Occurred()) SWIG_fail;
26430 }
26431 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
26432 return resultobj;
26433 fail:
26434 return NULL;
26435 }
26436
26437
26438 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26439 PyObject *resultobj = 0;
26440 wxPrintData *arg1 = (wxPrintData *) 0 ;
26441 int result;
26442 void *argp1 = 0 ;
26443 int res1 = 0 ;
26444 PyObject *swig_obj[1] ;
26445
26446 if (!args) SWIG_fail;
26447 swig_obj[0] = args;
26448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26449 if (!SWIG_IsOK(res1)) {
26450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
26451 }
26452 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26453 {
26454 PyThreadState* __tstate = wxPyBeginAllowThreads();
26455 result = (int)(arg1)->GetQuality();
26456 wxPyEndAllowThreads(__tstate);
26457 if (PyErr_Occurred()) SWIG_fail;
26458 }
26459 resultobj = SWIG_From_int(static_cast< int >(result));
26460 return resultobj;
26461 fail:
26462 return NULL;
26463 }
26464
26465
26466 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26467 PyObject *resultobj = 0;
26468 wxPrintData *arg1 = (wxPrintData *) 0 ;
26469 wxPrintBin result;
26470 void *argp1 = 0 ;
26471 int res1 = 0 ;
26472 PyObject *swig_obj[1] ;
26473
26474 if (!args) SWIG_fail;
26475 swig_obj[0] = args;
26476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26477 if (!SWIG_IsOK(res1)) {
26478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
26479 }
26480 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26481 {
26482 PyThreadState* __tstate = wxPyBeginAllowThreads();
26483 result = (wxPrintBin)(arg1)->GetBin();
26484 wxPyEndAllowThreads(__tstate);
26485 if (PyErr_Occurred()) SWIG_fail;
26486 }
26487 resultobj = SWIG_From_int(static_cast< int >(result));
26488 return resultobj;
26489 fail:
26490 return NULL;
26491 }
26492
26493
26494 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26495 PyObject *resultobj = 0;
26496 wxPrintData *arg1 = (wxPrintData *) 0 ;
26497 wxPrintMode result;
26498 void *argp1 = 0 ;
26499 int res1 = 0 ;
26500 PyObject *swig_obj[1] ;
26501
26502 if (!args) SWIG_fail;
26503 swig_obj[0] = args;
26504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26505 if (!SWIG_IsOK(res1)) {
26506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26507 }
26508 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26509 {
26510 PyThreadState* __tstate = wxPyBeginAllowThreads();
26511 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
26512 wxPyEndAllowThreads(__tstate);
26513 if (PyErr_Occurred()) SWIG_fail;
26514 }
26515 resultobj = SWIG_From_int(static_cast< int >(result));
26516 return resultobj;
26517 fail:
26518 return NULL;
26519 }
26520
26521
26522 SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26523 PyObject *resultobj = 0;
26524 wxPrintData *arg1 = (wxPrintData *) 0 ;
26525 int result;
26526 void *argp1 = 0 ;
26527 int res1 = 0 ;
26528 PyObject *swig_obj[1] ;
26529
26530 if (!args) SWIG_fail;
26531 swig_obj[0] = args;
26532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26533 if (!SWIG_IsOK(res1)) {
26534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26535 }
26536 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26537 {
26538 PyThreadState* __tstate = wxPyBeginAllowThreads();
26539 result = (int)((wxPrintData const *)arg1)->GetMedia();
26540 wxPyEndAllowThreads(__tstate);
26541 if (PyErr_Occurred()) SWIG_fail;
26542 }
26543 resultobj = SWIG_From_int(static_cast< int >(result));
26544 return resultobj;
26545 fail:
26546 return NULL;
26547 }
26548
26549
26550 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26551 PyObject *resultobj = 0;
26552 wxPrintData *arg1 = (wxPrintData *) 0 ;
26553 int arg2 ;
26554 void *argp1 = 0 ;
26555 int res1 = 0 ;
26556 int val2 ;
26557 int ecode2 = 0 ;
26558 PyObject * obj0 = 0 ;
26559 PyObject * obj1 = 0 ;
26560 char * kwnames[] = {
26561 (char *) "self",(char *) "v", NULL
26562 };
26563
26564 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26565 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26566 if (!SWIG_IsOK(res1)) {
26567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
26568 }
26569 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26570 ecode2 = SWIG_AsVal_int(obj1, &val2);
26571 if (!SWIG_IsOK(ecode2)) {
26572 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26573 }
26574 arg2 = static_cast< int >(val2);
26575 {
26576 PyThreadState* __tstate = wxPyBeginAllowThreads();
26577 (arg1)->SetNoCopies(arg2);
26578 wxPyEndAllowThreads(__tstate);
26579 if (PyErr_Occurred()) SWIG_fail;
26580 }
26581 resultobj = SWIG_Py_Void();
26582 return resultobj;
26583 fail:
26584 return NULL;
26585 }
26586
26587
26588 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26589 PyObject *resultobj = 0;
26590 wxPrintData *arg1 = (wxPrintData *) 0 ;
26591 bool arg2 ;
26592 void *argp1 = 0 ;
26593 int res1 = 0 ;
26594 bool val2 ;
26595 int ecode2 = 0 ;
26596 PyObject * obj0 = 0 ;
26597 PyObject * obj1 = 0 ;
26598 char * kwnames[] = {
26599 (char *) "self",(char *) "flag", NULL
26600 };
26601
26602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26604 if (!SWIG_IsOK(res1)) {
26605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
26606 }
26607 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26608 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26609 if (!SWIG_IsOK(ecode2)) {
26610 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26611 }
26612 arg2 = static_cast< bool >(val2);
26613 {
26614 PyThreadState* __tstate = wxPyBeginAllowThreads();
26615 (arg1)->SetCollate(arg2);
26616 wxPyEndAllowThreads(__tstate);
26617 if (PyErr_Occurred()) SWIG_fail;
26618 }
26619 resultobj = SWIG_Py_Void();
26620 return resultobj;
26621 fail:
26622 return NULL;
26623 }
26624
26625
26626 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26627 PyObject *resultobj = 0;
26628 wxPrintData *arg1 = (wxPrintData *) 0 ;
26629 int arg2 ;
26630 void *argp1 = 0 ;
26631 int res1 = 0 ;
26632 int val2 ;
26633 int ecode2 = 0 ;
26634 PyObject * obj0 = 0 ;
26635 PyObject * obj1 = 0 ;
26636 char * kwnames[] = {
26637 (char *) "self",(char *) "orient", NULL
26638 };
26639
26640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
26641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26642 if (!SWIG_IsOK(res1)) {
26643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
26644 }
26645 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26646 ecode2 = SWIG_AsVal_int(obj1, &val2);
26647 if (!SWIG_IsOK(ecode2)) {
26648 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
26649 }
26650 arg2 = static_cast< int >(val2);
26651 {
26652 PyThreadState* __tstate = wxPyBeginAllowThreads();
26653 (arg1)->SetOrientation(arg2);
26654 wxPyEndAllowThreads(__tstate);
26655 if (PyErr_Occurred()) SWIG_fail;
26656 }
26657 resultobj = SWIG_Py_Void();
26658 return resultobj;
26659 fail:
26660 return NULL;
26661 }
26662
26663
26664 SWIGINTERN PyObject *_wrap_PrintData_SetOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26665 PyObject *resultobj = 0;
26666 wxPrintData *arg1 = (wxPrintData *) 0 ;
26667 bool arg2 ;
26668 void *argp1 = 0 ;
26669 int res1 = 0 ;
26670 bool val2 ;
26671 int ecode2 = 0 ;
26672 PyObject * obj0 = 0 ;
26673 PyObject * obj1 = 0 ;
26674 char * kwnames[] = {
26675 (char *) "self",(char *) "reversed", NULL
26676 };
26677
26678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientationReversed",kwnames,&obj0,&obj1)) SWIG_fail;
26679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26680 if (!SWIG_IsOK(res1)) {
26681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
26682 }
26683 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26684 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26685 if (!SWIG_IsOK(ecode2)) {
26686 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
26687 }
26688 arg2 = static_cast< bool >(val2);
26689 {
26690 PyThreadState* __tstate = wxPyBeginAllowThreads();
26691 (arg1)->SetOrientationReversed(arg2);
26692 wxPyEndAllowThreads(__tstate);
26693 if (PyErr_Occurred()) SWIG_fail;
26694 }
26695 resultobj = SWIG_Py_Void();
26696 return resultobj;
26697 fail:
26698 return NULL;
26699 }
26700
26701
26702 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26703 PyObject *resultobj = 0;
26704 wxPrintData *arg1 = (wxPrintData *) 0 ;
26705 wxString *arg2 = 0 ;
26706 void *argp1 = 0 ;
26707 int res1 = 0 ;
26708 bool temp2 = false ;
26709 PyObject * obj0 = 0 ;
26710 PyObject * obj1 = 0 ;
26711 char * kwnames[] = {
26712 (char *) "self",(char *) "name", NULL
26713 };
26714
26715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
26716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26717 if (!SWIG_IsOK(res1)) {
26718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
26719 }
26720 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26721 {
26722 arg2 = wxString_in_helper(obj1);
26723 if (arg2 == NULL) SWIG_fail;
26724 temp2 = true;
26725 }
26726 {
26727 PyThreadState* __tstate = wxPyBeginAllowThreads();
26728 (arg1)->SetPrinterName((wxString const &)*arg2);
26729 wxPyEndAllowThreads(__tstate);
26730 if (PyErr_Occurred()) SWIG_fail;
26731 }
26732 resultobj = SWIG_Py_Void();
26733 {
26734 if (temp2)
26735 delete arg2;
26736 }
26737 return resultobj;
26738 fail:
26739 {
26740 if (temp2)
26741 delete arg2;
26742 }
26743 return NULL;
26744 }
26745
26746
26747 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26748 PyObject *resultobj = 0;
26749 wxPrintData *arg1 = (wxPrintData *) 0 ;
26750 bool arg2 ;
26751 void *argp1 = 0 ;
26752 int res1 = 0 ;
26753 bool val2 ;
26754 int ecode2 = 0 ;
26755 PyObject * obj0 = 0 ;
26756 PyObject * obj1 = 0 ;
26757 char * kwnames[] = {
26758 (char *) "self",(char *) "colour", NULL
26759 };
26760
26761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
26762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26763 if (!SWIG_IsOK(res1)) {
26764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
26765 }
26766 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26767 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26768 if (!SWIG_IsOK(ecode2)) {
26769 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
26770 }
26771 arg2 = static_cast< bool >(val2);
26772 {
26773 PyThreadState* __tstate = wxPyBeginAllowThreads();
26774 (arg1)->SetColour(arg2);
26775 wxPyEndAllowThreads(__tstate);
26776 if (PyErr_Occurred()) SWIG_fail;
26777 }
26778 resultobj = SWIG_Py_Void();
26779 return resultobj;
26780 fail:
26781 return NULL;
26782 }
26783
26784
26785 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26786 PyObject *resultobj = 0;
26787 wxPrintData *arg1 = (wxPrintData *) 0 ;
26788 wxDuplexMode arg2 ;
26789 void *argp1 = 0 ;
26790 int res1 = 0 ;
26791 int val2 ;
26792 int ecode2 = 0 ;
26793 PyObject * obj0 = 0 ;
26794 PyObject * obj1 = 0 ;
26795 char * kwnames[] = {
26796 (char *) "self",(char *) "duplex", NULL
26797 };
26798
26799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
26800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26801 if (!SWIG_IsOK(res1)) {
26802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
26803 }
26804 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26805 ecode2 = SWIG_AsVal_int(obj1, &val2);
26806 if (!SWIG_IsOK(ecode2)) {
26807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
26808 }
26809 arg2 = static_cast< wxDuplexMode >(val2);
26810 {
26811 PyThreadState* __tstate = wxPyBeginAllowThreads();
26812 (arg1)->SetDuplex(arg2);
26813 wxPyEndAllowThreads(__tstate);
26814 if (PyErr_Occurred()) SWIG_fail;
26815 }
26816 resultobj = SWIG_Py_Void();
26817 return resultobj;
26818 fail:
26819 return NULL;
26820 }
26821
26822
26823 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26824 PyObject *resultobj = 0;
26825 wxPrintData *arg1 = (wxPrintData *) 0 ;
26826 wxPaperSize arg2 ;
26827 void *argp1 = 0 ;
26828 int res1 = 0 ;
26829 int val2 ;
26830 int ecode2 = 0 ;
26831 PyObject * obj0 = 0 ;
26832 PyObject * obj1 = 0 ;
26833 char * kwnames[] = {
26834 (char *) "self",(char *) "sizeId", NULL
26835 };
26836
26837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
26838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26839 if (!SWIG_IsOK(res1)) {
26840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
26841 }
26842 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26843 ecode2 = SWIG_AsVal_int(obj1, &val2);
26844 if (!SWIG_IsOK(ecode2)) {
26845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26846 }
26847 arg2 = static_cast< wxPaperSize >(val2);
26848 {
26849 PyThreadState* __tstate = wxPyBeginAllowThreads();
26850 (arg1)->SetPaperId(arg2);
26851 wxPyEndAllowThreads(__tstate);
26852 if (PyErr_Occurred()) SWIG_fail;
26853 }
26854 resultobj = SWIG_Py_Void();
26855 return resultobj;
26856 fail:
26857 return NULL;
26858 }
26859
26860
26861 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26862 PyObject *resultobj = 0;
26863 wxPrintData *arg1 = (wxPrintData *) 0 ;
26864 wxSize *arg2 = 0 ;
26865 void *argp1 = 0 ;
26866 int res1 = 0 ;
26867 wxSize temp2 ;
26868 PyObject * obj0 = 0 ;
26869 PyObject * obj1 = 0 ;
26870 char * kwnames[] = {
26871 (char *) "self",(char *) "sz", NULL
26872 };
26873
26874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
26875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26876 if (!SWIG_IsOK(res1)) {
26877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
26878 }
26879 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26880 {
26881 arg2 = &temp2;
26882 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26883 }
26884 {
26885 PyThreadState* __tstate = wxPyBeginAllowThreads();
26886 (arg1)->SetPaperSize((wxSize const &)*arg2);
26887 wxPyEndAllowThreads(__tstate);
26888 if (PyErr_Occurred()) SWIG_fail;
26889 }
26890 resultobj = SWIG_Py_Void();
26891 return resultobj;
26892 fail:
26893 return NULL;
26894 }
26895
26896
26897 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26898 PyObject *resultobj = 0;
26899 wxPrintData *arg1 = (wxPrintData *) 0 ;
26900 int arg2 ;
26901 void *argp1 = 0 ;
26902 int res1 = 0 ;
26903 int val2 ;
26904 int ecode2 = 0 ;
26905 PyObject * obj0 = 0 ;
26906 PyObject * obj1 = 0 ;
26907 char * kwnames[] = {
26908 (char *) "self",(char *) "quality", NULL
26909 };
26910
26911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
26912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26913 if (!SWIG_IsOK(res1)) {
26914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
26915 }
26916 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26917 ecode2 = SWIG_AsVal_int(obj1, &val2);
26918 if (!SWIG_IsOK(ecode2)) {
26919 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
26920 }
26921 arg2 = static_cast< int >(val2);
26922 {
26923 PyThreadState* __tstate = wxPyBeginAllowThreads();
26924 (arg1)->SetQuality(arg2);
26925 wxPyEndAllowThreads(__tstate);
26926 if (PyErr_Occurred()) SWIG_fail;
26927 }
26928 resultobj = SWIG_Py_Void();
26929 return resultobj;
26930 fail:
26931 return NULL;
26932 }
26933
26934
26935 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26936 PyObject *resultobj = 0;
26937 wxPrintData *arg1 = (wxPrintData *) 0 ;
26938 wxPrintBin arg2 ;
26939 void *argp1 = 0 ;
26940 int res1 = 0 ;
26941 int val2 ;
26942 int ecode2 = 0 ;
26943 PyObject * obj0 = 0 ;
26944 PyObject * obj1 = 0 ;
26945 char * kwnames[] = {
26946 (char *) "self",(char *) "bin", NULL
26947 };
26948
26949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
26950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26951 if (!SWIG_IsOK(res1)) {
26952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
26953 }
26954 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26955 ecode2 = SWIG_AsVal_int(obj1, &val2);
26956 if (!SWIG_IsOK(ecode2)) {
26957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
26958 }
26959 arg2 = static_cast< wxPrintBin >(val2);
26960 {
26961 PyThreadState* __tstate = wxPyBeginAllowThreads();
26962 (arg1)->SetBin(arg2);
26963 wxPyEndAllowThreads(__tstate);
26964 if (PyErr_Occurred()) SWIG_fail;
26965 }
26966 resultobj = SWIG_Py_Void();
26967 return resultobj;
26968 fail:
26969 return NULL;
26970 }
26971
26972
26973 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26974 PyObject *resultobj = 0;
26975 wxPrintData *arg1 = (wxPrintData *) 0 ;
26976 wxPrintMode arg2 ;
26977 void *argp1 = 0 ;
26978 int res1 = 0 ;
26979 int val2 ;
26980 int ecode2 = 0 ;
26981 PyObject * obj0 = 0 ;
26982 PyObject * obj1 = 0 ;
26983 char * kwnames[] = {
26984 (char *) "self",(char *) "printMode", NULL
26985 };
26986
26987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
26988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26989 if (!SWIG_IsOK(res1)) {
26990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
26991 }
26992 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26993 ecode2 = SWIG_AsVal_int(obj1, &val2);
26994 if (!SWIG_IsOK(ecode2)) {
26995 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
26996 }
26997 arg2 = static_cast< wxPrintMode >(val2);
26998 {
26999 PyThreadState* __tstate = wxPyBeginAllowThreads();
27000 (arg1)->SetPrintMode(arg2);
27001 wxPyEndAllowThreads(__tstate);
27002 if (PyErr_Occurred()) SWIG_fail;
27003 }
27004 resultobj = SWIG_Py_Void();
27005 return resultobj;
27006 fail:
27007 return NULL;
27008 }
27009
27010
27011 SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27012 PyObject *resultobj = 0;
27013 wxPrintData *arg1 = (wxPrintData *) 0 ;
27014 int arg2 ;
27015 void *argp1 = 0 ;
27016 int res1 = 0 ;
27017 int val2 ;
27018 int ecode2 = 0 ;
27019 PyObject * obj0 = 0 ;
27020 PyObject * obj1 = 0 ;
27021 char * kwnames[] = {
27022 (char *) "self",(char *) "media", NULL
27023 };
27024
27025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
27026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
27027 if (!SWIG_IsOK(res1)) {
27028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
27029 }
27030 arg1 = reinterpret_cast< wxPrintData * >(argp1);
27031 ecode2 = SWIG_AsVal_int(obj1, &val2);
27032 if (!SWIG_IsOK(ecode2)) {
27033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
27034 }
27035 arg2 = static_cast< int >(val2);
27036 {
27037 PyThreadState* __tstate = wxPyBeginAllowThreads();
27038 (arg1)->SetMedia(arg2);
27039 wxPyEndAllowThreads(__tstate);
27040 if (PyErr_Occurred()) SWIG_fail;
27041 }
27042 resultobj = SWIG_Py_Void();
27043 return resultobj;
27044 fail:
27045 return NULL;
27046 }
27047
27048
27049 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27050 PyObject *resultobj = 0;
27051 wxPrintData *arg1 = (wxPrintData *) 0 ;
27052 wxString result;
27053 void *argp1 = 0 ;
27054 int res1 = 0 ;
27055 PyObject *swig_obj[1] ;
27056
27057 if (!args) SWIG_fail;
27058 swig_obj[0] = args;
27059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
27060 if (!SWIG_IsOK(res1)) {
27061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
27062 }
27063 arg1 = reinterpret_cast< wxPrintData * >(argp1);
27064 {
27065 PyThreadState* __tstate = wxPyBeginAllowThreads();
27066 result = ((wxPrintData const *)arg1)->GetFilename();
27067 wxPyEndAllowThreads(__tstate);
27068 if (PyErr_Occurred()) SWIG_fail;
27069 }
27070 {
27071 #if wxUSE_UNICODE
27072 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27073 #else
27074 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27075 #endif
27076 }
27077 return resultobj;
27078 fail:
27079 return NULL;
27080 }
27081
27082
27083 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27084 PyObject *resultobj = 0;
27085 wxPrintData *arg1 = (wxPrintData *) 0 ;
27086 wxString *arg2 = 0 ;
27087 void *argp1 = 0 ;
27088 int res1 = 0 ;
27089 bool temp2 = false ;
27090 PyObject * obj0 = 0 ;
27091 PyObject * obj1 = 0 ;
27092 char * kwnames[] = {
27093 (char *) "self",(char *) "filename", NULL
27094 };
27095
27096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
27097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
27098 if (!SWIG_IsOK(res1)) {
27099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
27100 }
27101 arg1 = reinterpret_cast< wxPrintData * >(argp1);
27102 {
27103 arg2 = wxString_in_helper(obj1);
27104 if (arg2 == NULL) SWIG_fail;
27105 temp2 = true;
27106 }
27107 {
27108 PyThreadState* __tstate = wxPyBeginAllowThreads();
27109 (arg1)->SetFilename((wxString const &)*arg2);
27110 wxPyEndAllowThreads(__tstate);
27111 if (PyErr_Occurred()) SWIG_fail;
27112 }
27113 resultobj = SWIG_Py_Void();
27114 {
27115 if (temp2)
27116 delete arg2;
27117 }
27118 return resultobj;
27119 fail:
27120 {
27121 if (temp2)
27122 delete arg2;
27123 }
27124 return NULL;
27125 }
27126
27127
27128 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27129 PyObject *resultobj = 0;
27130 wxPrintData *arg1 = (wxPrintData *) 0 ;
27131 PyObject *result = 0 ;
27132 void *argp1 = 0 ;
27133 int res1 = 0 ;
27134 PyObject *swig_obj[1] ;
27135
27136 if (!args) SWIG_fail;
27137 swig_obj[0] = args;
27138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
27139 if (!SWIG_IsOK(res1)) {
27140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
27141 }
27142 arg1 = reinterpret_cast< wxPrintData * >(argp1);
27143 {
27144 PyThreadState* __tstate = wxPyBeginAllowThreads();
27145 result = (PyObject *)wxPrintData_GetPrivData(arg1);
27146 wxPyEndAllowThreads(__tstate);
27147 if (PyErr_Occurred()) SWIG_fail;
27148 }
27149 resultobj = result;
27150 return resultobj;
27151 fail:
27152 return NULL;
27153 }
27154
27155
27156 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27157 PyObject *resultobj = 0;
27158 wxPrintData *arg1 = (wxPrintData *) 0 ;
27159 PyObject *arg2 = (PyObject *) 0 ;
27160 void *argp1 = 0 ;
27161 int res1 = 0 ;
27162 PyObject * obj0 = 0 ;
27163 PyObject * obj1 = 0 ;
27164 char * kwnames[] = {
27165 (char *) "self",(char *) "data", NULL
27166 };
27167
27168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
27169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
27170 if (!SWIG_IsOK(res1)) {
27171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
27172 }
27173 arg1 = reinterpret_cast< wxPrintData * >(argp1);
27174 arg2 = obj1;
27175 {
27176 PyThreadState* __tstate = wxPyBeginAllowThreads();
27177 wxPrintData_SetPrivData(arg1,arg2);
27178 wxPyEndAllowThreads(__tstate);
27179 if (PyErr_Occurred()) SWIG_fail;
27180 }
27181 resultobj = SWIG_Py_Void();
27182 return resultobj;
27183 fail:
27184 return NULL;
27185 }
27186
27187
27188 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27189 PyObject *obj;
27190 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27191 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
27192 return SWIG_Py_Void();
27193 }
27194
27195 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27196 return SWIG_Python_InitShadowInstance(args);
27197 }
27198
27199 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
27200 PyObject *resultobj = 0;
27201 wxPageSetupDialogData *result = 0 ;
27202
27203 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
27204 {
27205 PyThreadState* __tstate = wxPyBeginAllowThreads();
27206 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
27207 wxPyEndAllowThreads(__tstate);
27208 if (PyErr_Occurred()) SWIG_fail;
27209 }
27210 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
27211 return resultobj;
27212 fail:
27213 return NULL;
27214 }
27215
27216
27217 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
27218 PyObject *resultobj = 0;
27219 wxPageSetupDialogData *arg1 = 0 ;
27220 wxPageSetupDialogData *result = 0 ;
27221 void *argp1 = 0 ;
27222 int res1 = 0 ;
27223
27224 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
27225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
27226 if (!SWIG_IsOK(res1)) {
27227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
27228 }
27229 if (!argp1) {
27230 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
27231 }
27232 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27233 {
27234 PyThreadState* __tstate = wxPyBeginAllowThreads();
27235 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
27236 wxPyEndAllowThreads(__tstate);
27237 if (PyErr_Occurred()) SWIG_fail;
27238 }
27239 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
27240 return resultobj;
27241 fail:
27242 return NULL;
27243 }
27244
27245
27246 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
27247 PyObject *resultobj = 0;
27248 wxPrintData *arg1 = 0 ;
27249 wxPageSetupDialogData *result = 0 ;
27250 void *argp1 = 0 ;
27251 int res1 = 0 ;
27252
27253 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
27254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
27255 if (!SWIG_IsOK(res1)) {
27256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
27257 }
27258 if (!argp1) {
27259 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
27260 }
27261 arg1 = reinterpret_cast< wxPrintData * >(argp1);
27262 {
27263 PyThreadState* __tstate = wxPyBeginAllowThreads();
27264 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
27265 wxPyEndAllowThreads(__tstate);
27266 if (PyErr_Occurred()) SWIG_fail;
27267 }
27268 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
27269 return resultobj;
27270 fail:
27271 return NULL;
27272 }
27273
27274
27275 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
27276 int argc;
27277 PyObject *argv[2];
27278
27279 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
27280 --argc;
27281 if (argc == 0) {
27282 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
27283 }
27284 if (argc == 1) {
27285 int _v = 0;
27286 {
27287 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
27288 _v = SWIG_CheckState(res);
27289 }
27290 if (!_v) goto check_2;
27291 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
27292 }
27293 check_2:
27294
27295 if (argc == 1) {
27296 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
27297 }
27298
27299 fail:
27300 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
27301 return NULL;
27302 }
27303
27304
27305 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27306 PyObject *resultobj = 0;
27307 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27308 void *argp1 = 0 ;
27309 int res1 = 0 ;
27310 PyObject *swig_obj[1] ;
27311
27312 if (!args) SWIG_fail;
27313 swig_obj[0] = args;
27314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
27315 if (!SWIG_IsOK(res1)) {
27316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27317 }
27318 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27319 {
27320 PyThreadState* __tstate = wxPyBeginAllowThreads();
27321 delete arg1;
27322
27323 wxPyEndAllowThreads(__tstate);
27324 if (PyErr_Occurred()) SWIG_fail;
27325 }
27326 resultobj = SWIG_Py_Void();
27327 return resultobj;
27328 fail:
27329 return NULL;
27330 }
27331
27332
27333 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27334 PyObject *resultobj = 0;
27335 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27336 bool arg2 ;
27337 void *argp1 = 0 ;
27338 int res1 = 0 ;
27339 bool val2 ;
27340 int ecode2 = 0 ;
27341 PyObject * obj0 = 0 ;
27342 PyObject * obj1 = 0 ;
27343 char * kwnames[] = {
27344 (char *) "self",(char *) "flag", NULL
27345 };
27346
27347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
27348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27349 if (!SWIG_IsOK(res1)) {
27350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27351 }
27352 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27353 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27354 if (!SWIG_IsOK(ecode2)) {
27355 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27356 }
27357 arg2 = static_cast< bool >(val2);
27358 {
27359 PyThreadState* __tstate = wxPyBeginAllowThreads();
27360 (arg1)->EnableHelp(arg2);
27361 wxPyEndAllowThreads(__tstate);
27362 if (PyErr_Occurred()) SWIG_fail;
27363 }
27364 resultobj = SWIG_Py_Void();
27365 return resultobj;
27366 fail:
27367 return NULL;
27368 }
27369
27370
27371 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27372 PyObject *resultobj = 0;
27373 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27374 bool arg2 ;
27375 void *argp1 = 0 ;
27376 int res1 = 0 ;
27377 bool val2 ;
27378 int ecode2 = 0 ;
27379 PyObject * obj0 = 0 ;
27380 PyObject * obj1 = 0 ;
27381 char * kwnames[] = {
27382 (char *) "self",(char *) "flag", NULL
27383 };
27384
27385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
27386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27387 if (!SWIG_IsOK(res1)) {
27388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27389 }
27390 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27391 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27392 if (!SWIG_IsOK(ecode2)) {
27393 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
27394 }
27395 arg2 = static_cast< bool >(val2);
27396 {
27397 PyThreadState* __tstate = wxPyBeginAllowThreads();
27398 (arg1)->EnableMargins(arg2);
27399 wxPyEndAllowThreads(__tstate);
27400 if (PyErr_Occurred()) SWIG_fail;
27401 }
27402 resultobj = SWIG_Py_Void();
27403 return resultobj;
27404 fail:
27405 return NULL;
27406 }
27407
27408
27409 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27410 PyObject *resultobj = 0;
27411 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27412 bool arg2 ;
27413 void *argp1 = 0 ;
27414 int res1 = 0 ;
27415 bool val2 ;
27416 int ecode2 = 0 ;
27417 PyObject * obj0 = 0 ;
27418 PyObject * obj1 = 0 ;
27419 char * kwnames[] = {
27420 (char *) "self",(char *) "flag", NULL
27421 };
27422
27423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
27424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27425 if (!SWIG_IsOK(res1)) {
27426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27427 }
27428 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27429 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27430 if (!SWIG_IsOK(ecode2)) {
27431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
27432 }
27433 arg2 = static_cast< bool >(val2);
27434 {
27435 PyThreadState* __tstate = wxPyBeginAllowThreads();
27436 (arg1)->EnableOrientation(arg2);
27437 wxPyEndAllowThreads(__tstate);
27438 if (PyErr_Occurred()) SWIG_fail;
27439 }
27440 resultobj = SWIG_Py_Void();
27441 return resultobj;
27442 fail:
27443 return NULL;
27444 }
27445
27446
27447 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27448 PyObject *resultobj = 0;
27449 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27450 bool arg2 ;
27451 void *argp1 = 0 ;
27452 int res1 = 0 ;
27453 bool val2 ;
27454 int ecode2 = 0 ;
27455 PyObject * obj0 = 0 ;
27456 PyObject * obj1 = 0 ;
27457 char * kwnames[] = {
27458 (char *) "self",(char *) "flag", NULL
27459 };
27460
27461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
27462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27463 if (!SWIG_IsOK(res1)) {
27464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27465 }
27466 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27467 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27468 if (!SWIG_IsOK(ecode2)) {
27469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
27470 }
27471 arg2 = static_cast< bool >(val2);
27472 {
27473 PyThreadState* __tstate = wxPyBeginAllowThreads();
27474 (arg1)->EnablePaper(arg2);
27475 wxPyEndAllowThreads(__tstate);
27476 if (PyErr_Occurred()) SWIG_fail;
27477 }
27478 resultobj = SWIG_Py_Void();
27479 return resultobj;
27480 fail:
27481 return NULL;
27482 }
27483
27484
27485 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27486 PyObject *resultobj = 0;
27487 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27488 bool arg2 ;
27489 void *argp1 = 0 ;
27490 int res1 = 0 ;
27491 bool val2 ;
27492 int ecode2 = 0 ;
27493 PyObject * obj0 = 0 ;
27494 PyObject * obj1 = 0 ;
27495 char * kwnames[] = {
27496 (char *) "self",(char *) "flag", NULL
27497 };
27498
27499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
27500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27501 if (!SWIG_IsOK(res1)) {
27502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27503 }
27504 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27505 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27506 if (!SWIG_IsOK(ecode2)) {
27507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
27508 }
27509 arg2 = static_cast< bool >(val2);
27510 {
27511 PyThreadState* __tstate = wxPyBeginAllowThreads();
27512 (arg1)->EnablePrinter(arg2);
27513 wxPyEndAllowThreads(__tstate);
27514 if (PyErr_Occurred()) SWIG_fail;
27515 }
27516 resultobj = SWIG_Py_Void();
27517 return resultobj;
27518 fail:
27519 return NULL;
27520 }
27521
27522
27523 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27524 PyObject *resultobj = 0;
27525 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27526 bool result;
27527 void *argp1 = 0 ;
27528 int res1 = 0 ;
27529 PyObject *swig_obj[1] ;
27530
27531 if (!args) SWIG_fail;
27532 swig_obj[0] = args;
27533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27534 if (!SWIG_IsOK(res1)) {
27535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27536 }
27537 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27538 {
27539 PyThreadState* __tstate = wxPyBeginAllowThreads();
27540 result = (bool)(arg1)->GetDefaultMinMargins();
27541 wxPyEndAllowThreads(__tstate);
27542 if (PyErr_Occurred()) SWIG_fail;
27543 }
27544 {
27545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27546 }
27547 return resultobj;
27548 fail:
27549 return NULL;
27550 }
27551
27552
27553 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27554 PyObject *resultobj = 0;
27555 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27556 bool result;
27557 void *argp1 = 0 ;
27558 int res1 = 0 ;
27559 PyObject *swig_obj[1] ;
27560
27561 if (!args) SWIG_fail;
27562 swig_obj[0] = args;
27563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27564 if (!SWIG_IsOK(res1)) {
27565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27566 }
27567 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27568 {
27569 PyThreadState* __tstate = wxPyBeginAllowThreads();
27570 result = (bool)(arg1)->GetEnableMargins();
27571 wxPyEndAllowThreads(__tstate);
27572 if (PyErr_Occurred()) SWIG_fail;
27573 }
27574 {
27575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27576 }
27577 return resultobj;
27578 fail:
27579 return NULL;
27580 }
27581
27582
27583 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27584 PyObject *resultobj = 0;
27585 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27586 bool result;
27587 void *argp1 = 0 ;
27588 int res1 = 0 ;
27589 PyObject *swig_obj[1] ;
27590
27591 if (!args) SWIG_fail;
27592 swig_obj[0] = args;
27593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27594 if (!SWIG_IsOK(res1)) {
27595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27596 }
27597 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27598 {
27599 PyThreadState* __tstate = wxPyBeginAllowThreads();
27600 result = (bool)(arg1)->GetEnableOrientation();
27601 wxPyEndAllowThreads(__tstate);
27602 if (PyErr_Occurred()) SWIG_fail;
27603 }
27604 {
27605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27606 }
27607 return resultobj;
27608 fail:
27609 return NULL;
27610 }
27611
27612
27613 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27614 PyObject *resultobj = 0;
27615 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27616 bool result;
27617 void *argp1 = 0 ;
27618 int res1 = 0 ;
27619 PyObject *swig_obj[1] ;
27620
27621 if (!args) SWIG_fail;
27622 swig_obj[0] = args;
27623 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27624 if (!SWIG_IsOK(res1)) {
27625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27626 }
27627 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27628 {
27629 PyThreadState* __tstate = wxPyBeginAllowThreads();
27630 result = (bool)(arg1)->GetEnablePaper();
27631 wxPyEndAllowThreads(__tstate);
27632 if (PyErr_Occurred()) SWIG_fail;
27633 }
27634 {
27635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27636 }
27637 return resultobj;
27638 fail:
27639 return NULL;
27640 }
27641
27642
27643 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27644 PyObject *resultobj = 0;
27645 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27646 bool result;
27647 void *argp1 = 0 ;
27648 int res1 = 0 ;
27649 PyObject *swig_obj[1] ;
27650
27651 if (!args) SWIG_fail;
27652 swig_obj[0] = args;
27653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27654 if (!SWIG_IsOK(res1)) {
27655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27656 }
27657 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27658 {
27659 PyThreadState* __tstate = wxPyBeginAllowThreads();
27660 result = (bool)(arg1)->GetEnablePrinter();
27661 wxPyEndAllowThreads(__tstate);
27662 if (PyErr_Occurred()) SWIG_fail;
27663 }
27664 {
27665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27666 }
27667 return resultobj;
27668 fail:
27669 return NULL;
27670 }
27671
27672
27673 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27674 PyObject *resultobj = 0;
27675 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27676 bool result;
27677 void *argp1 = 0 ;
27678 int res1 = 0 ;
27679 PyObject *swig_obj[1] ;
27680
27681 if (!args) SWIG_fail;
27682 swig_obj[0] = args;
27683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27684 if (!SWIG_IsOK(res1)) {
27685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27686 }
27687 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27688 {
27689 PyThreadState* __tstate = wxPyBeginAllowThreads();
27690 result = (bool)(arg1)->GetEnableHelp();
27691 wxPyEndAllowThreads(__tstate);
27692 if (PyErr_Occurred()) SWIG_fail;
27693 }
27694 {
27695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27696 }
27697 return resultobj;
27698 fail:
27699 return NULL;
27700 }
27701
27702
27703 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27704 PyObject *resultobj = 0;
27705 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27706 bool result;
27707 void *argp1 = 0 ;
27708 int res1 = 0 ;
27709 PyObject *swig_obj[1] ;
27710
27711 if (!args) SWIG_fail;
27712 swig_obj[0] = args;
27713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27714 if (!SWIG_IsOK(res1)) {
27715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27716 }
27717 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27718 {
27719 PyThreadState* __tstate = wxPyBeginAllowThreads();
27720 result = (bool)(arg1)->GetDefaultInfo();
27721 wxPyEndAllowThreads(__tstate);
27722 if (PyErr_Occurred()) SWIG_fail;
27723 }
27724 {
27725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27726 }
27727 return resultobj;
27728 fail:
27729 return NULL;
27730 }
27731
27732
27733 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27734 PyObject *resultobj = 0;
27735 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27736 wxPoint result;
27737 void *argp1 = 0 ;
27738 int res1 = 0 ;
27739 PyObject *swig_obj[1] ;
27740
27741 if (!args) SWIG_fail;
27742 swig_obj[0] = args;
27743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27744 if (!SWIG_IsOK(res1)) {
27745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27746 }
27747 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27748 {
27749 PyThreadState* __tstate = wxPyBeginAllowThreads();
27750 result = (arg1)->GetMarginTopLeft();
27751 wxPyEndAllowThreads(__tstate);
27752 if (PyErr_Occurred()) SWIG_fail;
27753 }
27754 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27755 return resultobj;
27756 fail:
27757 return NULL;
27758 }
27759
27760
27761 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27762 PyObject *resultobj = 0;
27763 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27764 wxPoint result;
27765 void *argp1 = 0 ;
27766 int res1 = 0 ;
27767 PyObject *swig_obj[1] ;
27768
27769 if (!args) SWIG_fail;
27770 swig_obj[0] = args;
27771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27772 if (!SWIG_IsOK(res1)) {
27773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27774 }
27775 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27776 {
27777 PyThreadState* __tstate = wxPyBeginAllowThreads();
27778 result = (arg1)->GetMarginBottomRight();
27779 wxPyEndAllowThreads(__tstate);
27780 if (PyErr_Occurred()) SWIG_fail;
27781 }
27782 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27783 return resultobj;
27784 fail:
27785 return NULL;
27786 }
27787
27788
27789 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27790 PyObject *resultobj = 0;
27791 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27792 wxPoint result;
27793 void *argp1 = 0 ;
27794 int res1 = 0 ;
27795 PyObject *swig_obj[1] ;
27796
27797 if (!args) SWIG_fail;
27798 swig_obj[0] = args;
27799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27800 if (!SWIG_IsOK(res1)) {
27801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27802 }
27803 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27804 {
27805 PyThreadState* __tstate = wxPyBeginAllowThreads();
27806 result = (arg1)->GetMinMarginTopLeft();
27807 wxPyEndAllowThreads(__tstate);
27808 if (PyErr_Occurred()) SWIG_fail;
27809 }
27810 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27811 return resultobj;
27812 fail:
27813 return NULL;
27814 }
27815
27816
27817 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27818 PyObject *resultobj = 0;
27819 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27820 wxPoint result;
27821 void *argp1 = 0 ;
27822 int res1 = 0 ;
27823 PyObject *swig_obj[1] ;
27824
27825 if (!args) SWIG_fail;
27826 swig_obj[0] = args;
27827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27828 if (!SWIG_IsOK(res1)) {
27829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27830 }
27831 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27832 {
27833 PyThreadState* __tstate = wxPyBeginAllowThreads();
27834 result = (arg1)->GetMinMarginBottomRight();
27835 wxPyEndAllowThreads(__tstate);
27836 if (PyErr_Occurred()) SWIG_fail;
27837 }
27838 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27839 return resultobj;
27840 fail:
27841 return NULL;
27842 }
27843
27844
27845 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27846 PyObject *resultobj = 0;
27847 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27848 wxPaperSize result;
27849 void *argp1 = 0 ;
27850 int res1 = 0 ;
27851 PyObject *swig_obj[1] ;
27852
27853 if (!args) SWIG_fail;
27854 swig_obj[0] = args;
27855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27856 if (!SWIG_IsOK(res1)) {
27857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27858 }
27859 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27860 {
27861 PyThreadState* __tstate = wxPyBeginAllowThreads();
27862 result = (wxPaperSize)(arg1)->GetPaperId();
27863 wxPyEndAllowThreads(__tstate);
27864 if (PyErr_Occurred()) SWIG_fail;
27865 }
27866 resultobj = SWIG_From_int(static_cast< int >(result));
27867 return resultobj;
27868 fail:
27869 return NULL;
27870 }
27871
27872
27873 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27874 PyObject *resultobj = 0;
27875 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27876 wxSize result;
27877 void *argp1 = 0 ;
27878 int res1 = 0 ;
27879 PyObject *swig_obj[1] ;
27880
27881 if (!args) SWIG_fail;
27882 swig_obj[0] = args;
27883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27884 if (!SWIG_IsOK(res1)) {
27885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27886 }
27887 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27888 {
27889 PyThreadState* __tstate = wxPyBeginAllowThreads();
27890 result = (arg1)->GetPaperSize();
27891 wxPyEndAllowThreads(__tstate);
27892 if (PyErr_Occurred()) SWIG_fail;
27893 }
27894 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
27895 return resultobj;
27896 fail:
27897 return NULL;
27898 }
27899
27900
27901 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27902 PyObject *resultobj = 0;
27903 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27904 wxPrintData *result = 0 ;
27905 void *argp1 = 0 ;
27906 int res1 = 0 ;
27907 PyObject *swig_obj[1] ;
27908
27909 if (!args) SWIG_fail;
27910 swig_obj[0] = args;
27911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27912 if (!SWIG_IsOK(res1)) {
27913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27914 }
27915 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27916 {
27917 PyThreadState* __tstate = wxPyBeginAllowThreads();
27918 {
27919 wxPrintData &_result_ref = (arg1)->GetPrintData();
27920 result = (wxPrintData *) &_result_ref;
27921 }
27922 wxPyEndAllowThreads(__tstate);
27923 if (PyErr_Occurred()) SWIG_fail;
27924 }
27925 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27926 return resultobj;
27927 fail:
27928 return NULL;
27929 }
27930
27931
27932 SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27933 PyObject *resultobj = 0;
27934 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27935 bool result;
27936 void *argp1 = 0 ;
27937 int res1 = 0 ;
27938 PyObject *swig_obj[1] ;
27939
27940 if (!args) SWIG_fail;
27941 swig_obj[0] = args;
27942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27943 if (!SWIG_IsOK(res1)) {
27944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27945 }
27946 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27947 {
27948 PyThreadState* __tstate = wxPyBeginAllowThreads();
27949 result = (bool)(arg1)->IsOk();
27950 wxPyEndAllowThreads(__tstate);
27951 if (PyErr_Occurred()) SWIG_fail;
27952 }
27953 {
27954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27955 }
27956 return resultobj;
27957 fail:
27958 return NULL;
27959 }
27960
27961
27962 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27963 PyObject *resultobj = 0;
27964 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27965 bool arg2 ;
27966 void *argp1 = 0 ;
27967 int res1 = 0 ;
27968 bool val2 ;
27969 int ecode2 = 0 ;
27970 PyObject * obj0 = 0 ;
27971 PyObject * obj1 = 0 ;
27972 char * kwnames[] = {
27973 (char *) "self",(char *) "flag", NULL
27974 };
27975
27976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
27977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27978 if (!SWIG_IsOK(res1)) {
27979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27980 }
27981 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27982 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27983 if (!SWIG_IsOK(ecode2)) {
27984 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
27985 }
27986 arg2 = static_cast< bool >(val2);
27987 {
27988 PyThreadState* __tstate = wxPyBeginAllowThreads();
27989 (arg1)->SetDefaultInfo(arg2);
27990 wxPyEndAllowThreads(__tstate);
27991 if (PyErr_Occurred()) SWIG_fail;
27992 }
27993 resultobj = SWIG_Py_Void();
27994 return resultobj;
27995 fail:
27996 return NULL;
27997 }
27998
27999
28000 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28001 PyObject *resultobj = 0;
28002 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28003 bool arg2 ;
28004 void *argp1 = 0 ;
28005 int res1 = 0 ;
28006 bool val2 ;
28007 int ecode2 = 0 ;
28008 PyObject * obj0 = 0 ;
28009 PyObject * obj1 = 0 ;
28010 char * kwnames[] = {
28011 (char *) "self",(char *) "flag", NULL
28012 };
28013
28014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
28015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28016 if (!SWIG_IsOK(res1)) {
28017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28018 }
28019 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28020 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28021 if (!SWIG_IsOK(ecode2)) {
28022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
28023 }
28024 arg2 = static_cast< bool >(val2);
28025 {
28026 PyThreadState* __tstate = wxPyBeginAllowThreads();
28027 (arg1)->SetDefaultMinMargins(arg2);
28028 wxPyEndAllowThreads(__tstate);
28029 if (PyErr_Occurred()) SWIG_fail;
28030 }
28031 resultobj = SWIG_Py_Void();
28032 return resultobj;
28033 fail:
28034 return NULL;
28035 }
28036
28037
28038 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28039 PyObject *resultobj = 0;
28040 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28041 wxPoint *arg2 = 0 ;
28042 void *argp1 = 0 ;
28043 int res1 = 0 ;
28044 wxPoint temp2 ;
28045 PyObject * obj0 = 0 ;
28046 PyObject * obj1 = 0 ;
28047 char * kwnames[] = {
28048 (char *) "self",(char *) "pt", NULL
28049 };
28050
28051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
28052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28053 if (!SWIG_IsOK(res1)) {
28054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28055 }
28056 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28057 {
28058 arg2 = &temp2;
28059 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28060 }
28061 {
28062 PyThreadState* __tstate = wxPyBeginAllowThreads();
28063 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
28064 wxPyEndAllowThreads(__tstate);
28065 if (PyErr_Occurred()) SWIG_fail;
28066 }
28067 resultobj = SWIG_Py_Void();
28068 return resultobj;
28069 fail:
28070 return NULL;
28071 }
28072
28073
28074 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28075 PyObject *resultobj = 0;
28076 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28077 wxPoint *arg2 = 0 ;
28078 void *argp1 = 0 ;
28079 int res1 = 0 ;
28080 wxPoint temp2 ;
28081 PyObject * obj0 = 0 ;
28082 PyObject * obj1 = 0 ;
28083 char * kwnames[] = {
28084 (char *) "self",(char *) "pt", NULL
28085 };
28086
28087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
28088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28089 if (!SWIG_IsOK(res1)) {
28090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28091 }
28092 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28093 {
28094 arg2 = &temp2;
28095 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28096 }
28097 {
28098 PyThreadState* __tstate = wxPyBeginAllowThreads();
28099 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
28100 wxPyEndAllowThreads(__tstate);
28101 if (PyErr_Occurred()) SWIG_fail;
28102 }
28103 resultobj = SWIG_Py_Void();
28104 return resultobj;
28105 fail:
28106 return NULL;
28107 }
28108
28109
28110 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28111 PyObject *resultobj = 0;
28112 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28113 wxPoint *arg2 = 0 ;
28114 void *argp1 = 0 ;
28115 int res1 = 0 ;
28116 wxPoint temp2 ;
28117 PyObject * obj0 = 0 ;
28118 PyObject * obj1 = 0 ;
28119 char * kwnames[] = {
28120 (char *) "self",(char *) "pt", NULL
28121 };
28122
28123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
28124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28125 if (!SWIG_IsOK(res1)) {
28126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28127 }
28128 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28129 {
28130 arg2 = &temp2;
28131 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28132 }
28133 {
28134 PyThreadState* __tstate = wxPyBeginAllowThreads();
28135 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
28136 wxPyEndAllowThreads(__tstate);
28137 if (PyErr_Occurred()) SWIG_fail;
28138 }
28139 resultobj = SWIG_Py_Void();
28140 return resultobj;
28141 fail:
28142 return NULL;
28143 }
28144
28145
28146 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28147 PyObject *resultobj = 0;
28148 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28149 wxPoint *arg2 = 0 ;
28150 void *argp1 = 0 ;
28151 int res1 = 0 ;
28152 wxPoint temp2 ;
28153 PyObject * obj0 = 0 ;
28154 PyObject * obj1 = 0 ;
28155 char * kwnames[] = {
28156 (char *) "self",(char *) "pt", NULL
28157 };
28158
28159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
28160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28161 if (!SWIG_IsOK(res1)) {
28162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28163 }
28164 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28165 {
28166 arg2 = &temp2;
28167 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28168 }
28169 {
28170 PyThreadState* __tstate = wxPyBeginAllowThreads();
28171 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
28172 wxPyEndAllowThreads(__tstate);
28173 if (PyErr_Occurred()) SWIG_fail;
28174 }
28175 resultobj = SWIG_Py_Void();
28176 return resultobj;
28177 fail:
28178 return NULL;
28179 }
28180
28181
28182 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28183 PyObject *resultobj = 0;
28184 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28185 wxPaperSize arg2 ;
28186 void *argp1 = 0 ;
28187 int res1 = 0 ;
28188 int val2 ;
28189 int ecode2 = 0 ;
28190 PyObject * obj0 = 0 ;
28191 PyObject * obj1 = 0 ;
28192 char * kwnames[] = {
28193 (char *) "self",(char *) "id", NULL
28194 };
28195
28196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
28197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28198 if (!SWIG_IsOK(res1)) {
28199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28200 }
28201 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28202 ecode2 = SWIG_AsVal_int(obj1, &val2);
28203 if (!SWIG_IsOK(ecode2)) {
28204 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
28205 }
28206 arg2 = static_cast< wxPaperSize >(val2);
28207 {
28208 PyThreadState* __tstate = wxPyBeginAllowThreads();
28209 (arg1)->SetPaperId(arg2);
28210 wxPyEndAllowThreads(__tstate);
28211 if (PyErr_Occurred()) SWIG_fail;
28212 }
28213 resultobj = SWIG_Py_Void();
28214 return resultobj;
28215 fail:
28216 return NULL;
28217 }
28218
28219
28220 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28221 PyObject *resultobj = 0;
28222 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28223 wxSize *arg2 = 0 ;
28224 void *argp1 = 0 ;
28225 int res1 = 0 ;
28226 wxSize temp2 ;
28227 PyObject * obj0 = 0 ;
28228 PyObject * obj1 = 0 ;
28229 char * kwnames[] = {
28230 (char *) "self",(char *) "size", NULL
28231 };
28232
28233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
28234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28235 if (!SWIG_IsOK(res1)) {
28236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28237 }
28238 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28239 {
28240 arg2 = &temp2;
28241 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28242 }
28243 {
28244 PyThreadState* __tstate = wxPyBeginAllowThreads();
28245 (arg1)->SetPaperSize((wxSize const &)*arg2);
28246 wxPyEndAllowThreads(__tstate);
28247 if (PyErr_Occurred()) SWIG_fail;
28248 }
28249 resultobj = SWIG_Py_Void();
28250 return resultobj;
28251 fail:
28252 return NULL;
28253 }
28254
28255
28256 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28257 PyObject *resultobj = 0;
28258 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28259 wxPrintData *arg2 = 0 ;
28260 void *argp1 = 0 ;
28261 int res1 = 0 ;
28262 void *argp2 = 0 ;
28263 int res2 = 0 ;
28264 PyObject * obj0 = 0 ;
28265 PyObject * obj1 = 0 ;
28266 char * kwnames[] = {
28267 (char *) "self",(char *) "printData", NULL
28268 };
28269
28270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
28271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28272 if (!SWIG_IsOK(res1)) {
28273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28274 }
28275 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28276 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
28277 if (!SWIG_IsOK(res2)) {
28278 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
28279 }
28280 if (!argp2) {
28281 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
28282 }
28283 arg2 = reinterpret_cast< wxPrintData * >(argp2);
28284 {
28285 PyThreadState* __tstate = wxPyBeginAllowThreads();
28286 (arg1)->SetPrintData((wxPrintData const &)*arg2);
28287 wxPyEndAllowThreads(__tstate);
28288 if (PyErr_Occurred()) SWIG_fail;
28289 }
28290 resultobj = SWIG_Py_Void();
28291 return resultobj;
28292 fail:
28293 return NULL;
28294 }
28295
28296
28297 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28298 PyObject *resultobj = 0;
28299 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28300 void *argp1 = 0 ;
28301 int res1 = 0 ;
28302 PyObject *swig_obj[1] ;
28303
28304 if (!args) SWIG_fail;
28305 swig_obj[0] = args;
28306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28307 if (!SWIG_IsOK(res1)) {
28308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28309 }
28310 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28311 {
28312 PyThreadState* __tstate = wxPyBeginAllowThreads();
28313 (arg1)->CalculateIdFromPaperSize();
28314 wxPyEndAllowThreads(__tstate);
28315 if (PyErr_Occurred()) SWIG_fail;
28316 }
28317 resultobj = SWIG_Py_Void();
28318 return resultobj;
28319 fail:
28320 return NULL;
28321 }
28322
28323
28324 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28325 PyObject *resultobj = 0;
28326 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28327 void *argp1 = 0 ;
28328 int res1 = 0 ;
28329 PyObject *swig_obj[1] ;
28330
28331 if (!args) SWIG_fail;
28332 swig_obj[0] = args;
28333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28334 if (!SWIG_IsOK(res1)) {
28335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28336 }
28337 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28338 {
28339 PyThreadState* __tstate = wxPyBeginAllowThreads();
28340 (arg1)->CalculatePaperSizeFromId();
28341 wxPyEndAllowThreads(__tstate);
28342 if (PyErr_Occurred()) SWIG_fail;
28343 }
28344 resultobj = SWIG_Py_Void();
28345 return resultobj;
28346 fail:
28347 return NULL;
28348 }
28349
28350
28351 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28352 PyObject *obj;
28353 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28354 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
28355 return SWIG_Py_Void();
28356 }
28357
28358 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28359 return SWIG_Python_InitShadowInstance(args);
28360 }
28361
28362 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28363 PyObject *resultobj = 0;
28364 wxWindow *arg1 = (wxWindow *) 0 ;
28365 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
28366 wxPageSetupDialog *result = 0 ;
28367 void *argp1 = 0 ;
28368 int res1 = 0 ;
28369 void *argp2 = 0 ;
28370 int res2 = 0 ;
28371 PyObject * obj0 = 0 ;
28372 PyObject * obj1 = 0 ;
28373 char * kwnames[] = {
28374 (char *) "parent",(char *) "data", NULL
28375 };
28376
28377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
28378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
28379 if (!SWIG_IsOK(res1)) {
28380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
28381 }
28382 arg1 = reinterpret_cast< wxWindow * >(argp1);
28383 if (obj1) {
28384 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28385 if (!SWIG_IsOK(res2)) {
28386 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
28387 }
28388 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28389 }
28390 {
28391 if (!wxPyCheckForApp()) SWIG_fail;
28392 PyThreadState* __tstate = wxPyBeginAllowThreads();
28393 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
28394 wxPyEndAllowThreads(__tstate);
28395 if (PyErr_Occurred()) SWIG_fail;
28396 }
28397 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
28398 return resultobj;
28399 fail:
28400 return NULL;
28401 }
28402
28403
28404 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28405 PyObject *resultobj = 0;
28406 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28407 void *argp1 = 0 ;
28408 int res1 = 0 ;
28409 PyObject *swig_obj[1] ;
28410
28411 if (!args) SWIG_fail;
28412 swig_obj[0] = args;
28413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
28414 if (!SWIG_IsOK(res1)) {
28415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28416 }
28417 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28418 {
28419 PyThreadState* __tstate = wxPyBeginAllowThreads();
28420 delete arg1;
28421
28422 wxPyEndAllowThreads(__tstate);
28423 if (PyErr_Occurred()) SWIG_fail;
28424 }
28425 resultobj = SWIG_Py_Void();
28426 return resultobj;
28427 fail:
28428 return NULL;
28429 }
28430
28431
28432 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28433 PyObject *resultobj = 0;
28434 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28435 wxPageSetupDialogData *result = 0 ;
28436 void *argp1 = 0 ;
28437 int res1 = 0 ;
28438 PyObject *swig_obj[1] ;
28439
28440 if (!args) SWIG_fail;
28441 swig_obj[0] = args;
28442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
28443 if (!SWIG_IsOK(res1)) {
28444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28445 }
28446 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28447 {
28448 PyThreadState* __tstate = wxPyBeginAllowThreads();
28449 {
28450 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
28451 result = (wxPageSetupDialogData *) &_result_ref;
28452 }
28453 wxPyEndAllowThreads(__tstate);
28454 if (PyErr_Occurred()) SWIG_fail;
28455 }
28456 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28457 return resultobj;
28458 fail:
28459 return NULL;
28460 }
28461
28462
28463 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28464 PyObject *resultobj = 0;
28465 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28466 wxPageSetupDialogData *result = 0 ;
28467 void *argp1 = 0 ;
28468 int res1 = 0 ;
28469 PyObject *swig_obj[1] ;
28470
28471 if (!args) SWIG_fail;
28472 swig_obj[0] = args;
28473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
28474 if (!SWIG_IsOK(res1)) {
28475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28476 }
28477 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28478 {
28479 PyThreadState* __tstate = wxPyBeginAllowThreads();
28480 {
28481 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
28482 result = (wxPageSetupDialogData *) &_result_ref;
28483 }
28484 wxPyEndAllowThreads(__tstate);
28485 if (PyErr_Occurred()) SWIG_fail;
28486 }
28487 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28488 return resultobj;
28489 fail:
28490 return NULL;
28491 }
28492
28493
28494 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28495 PyObject *resultobj = 0;
28496 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28497 int result;
28498 void *argp1 = 0 ;
28499 int res1 = 0 ;
28500 PyObject *swig_obj[1] ;
28501
28502 if (!args) SWIG_fail;
28503 swig_obj[0] = args;
28504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
28505 if (!SWIG_IsOK(res1)) {
28506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28507 }
28508 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28509 {
28510 PyThreadState* __tstate = wxPyBeginAllowThreads();
28511 result = (int)(arg1)->ShowModal();
28512 wxPyEndAllowThreads(__tstate);
28513 if (PyErr_Occurred()) SWIG_fail;
28514 }
28515 resultobj = SWIG_From_int(static_cast< int >(result));
28516 return resultobj;
28517 fail:
28518 return NULL;
28519 }
28520
28521
28522 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28523 PyObject *obj;
28524 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28525 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
28526 return SWIG_Py_Void();
28527 }
28528
28529 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28530 return SWIG_Python_InitShadowInstance(args);
28531 }
28532
28533 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
28534 PyObject *resultobj = 0;
28535 wxPrintDialogData *result = 0 ;
28536
28537 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
28538 {
28539 PyThreadState* __tstate = wxPyBeginAllowThreads();
28540 result = (wxPrintDialogData *)new wxPrintDialogData();
28541 wxPyEndAllowThreads(__tstate);
28542 if (PyErr_Occurred()) SWIG_fail;
28543 }
28544 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
28545 return resultobj;
28546 fail:
28547 return NULL;
28548 }
28549
28550
28551 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28552 PyObject *resultobj = 0;
28553 wxPrintData *arg1 = 0 ;
28554 wxPrintDialogData *result = 0 ;
28555 void *argp1 = 0 ;
28556 int res1 = 0 ;
28557
28558 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
28559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
28560 if (!SWIG_IsOK(res1)) {
28561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
28562 }
28563 if (!argp1) {
28564 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
28565 }
28566 arg1 = reinterpret_cast< wxPrintData * >(argp1);
28567 {
28568 PyThreadState* __tstate = wxPyBeginAllowThreads();
28569 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
28570 wxPyEndAllowThreads(__tstate);
28571 if (PyErr_Occurred()) SWIG_fail;
28572 }
28573 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
28574 return resultobj;
28575 fail:
28576 return NULL;
28577 }
28578
28579
28580 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28581 PyObject *resultobj = 0;
28582 wxPrintDialogData *arg1 = 0 ;
28583 wxPrintDialogData *result = 0 ;
28584 void *argp1 = 0 ;
28585 int res1 = 0 ;
28586
28587 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
28588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
28589 if (!SWIG_IsOK(res1)) {
28590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
28591 }
28592 if (!argp1) {
28593 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
28594 }
28595 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28596 {
28597 PyThreadState* __tstate = wxPyBeginAllowThreads();
28598 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
28599 wxPyEndAllowThreads(__tstate);
28600 if (PyErr_Occurred()) SWIG_fail;
28601 }
28602 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
28603 return resultobj;
28604 fail:
28605 return NULL;
28606 }
28607
28608
28609 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
28610 int argc;
28611 PyObject *argv[2];
28612
28613 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
28614 --argc;
28615 if (argc == 0) {
28616 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
28617 }
28618 if (argc == 1) {
28619 int _v = 0;
28620 {
28621 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
28622 _v = SWIG_CheckState(res);
28623 }
28624 if (!_v) goto check_2;
28625 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
28626 }
28627 check_2:
28628
28629 if (argc == 1) {
28630 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
28631 }
28632
28633 fail:
28634 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
28635 return NULL;
28636 }
28637
28638
28639 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28640 PyObject *resultobj = 0;
28641 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28642 void *argp1 = 0 ;
28643 int res1 = 0 ;
28644 PyObject *swig_obj[1] ;
28645
28646 if (!args) SWIG_fail;
28647 swig_obj[0] = args;
28648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
28649 if (!SWIG_IsOK(res1)) {
28650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28651 }
28652 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28653 {
28654 PyThreadState* __tstate = wxPyBeginAllowThreads();
28655 delete arg1;
28656
28657 wxPyEndAllowThreads(__tstate);
28658 if (PyErr_Occurred()) SWIG_fail;
28659 }
28660 resultobj = SWIG_Py_Void();
28661 return resultobj;
28662 fail:
28663 return NULL;
28664 }
28665
28666
28667 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28668 PyObject *resultobj = 0;
28669 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28670 int result;
28671 void *argp1 = 0 ;
28672 int res1 = 0 ;
28673 PyObject *swig_obj[1] ;
28674
28675 if (!args) SWIG_fail;
28676 swig_obj[0] = args;
28677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28678 if (!SWIG_IsOK(res1)) {
28679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28680 }
28681 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28682 {
28683 PyThreadState* __tstate = wxPyBeginAllowThreads();
28684 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
28685 wxPyEndAllowThreads(__tstate);
28686 if (PyErr_Occurred()) SWIG_fail;
28687 }
28688 resultobj = SWIG_From_int(static_cast< int >(result));
28689 return resultobj;
28690 fail:
28691 return NULL;
28692 }
28693
28694
28695 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28696 PyObject *resultobj = 0;
28697 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28698 int result;
28699 void *argp1 = 0 ;
28700 int res1 = 0 ;
28701 PyObject *swig_obj[1] ;
28702
28703 if (!args) SWIG_fail;
28704 swig_obj[0] = args;
28705 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28706 if (!SWIG_IsOK(res1)) {
28707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28708 }
28709 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28710 {
28711 PyThreadState* __tstate = wxPyBeginAllowThreads();
28712 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
28713 wxPyEndAllowThreads(__tstate);
28714 if (PyErr_Occurred()) SWIG_fail;
28715 }
28716 resultobj = SWIG_From_int(static_cast< int >(result));
28717 return resultobj;
28718 fail:
28719 return NULL;
28720 }
28721
28722
28723 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28724 PyObject *resultobj = 0;
28725 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28726 int result;
28727 void *argp1 = 0 ;
28728 int res1 = 0 ;
28729 PyObject *swig_obj[1] ;
28730
28731 if (!args) SWIG_fail;
28732 swig_obj[0] = args;
28733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28734 if (!SWIG_IsOK(res1)) {
28735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28736 }
28737 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28738 {
28739 PyThreadState* __tstate = wxPyBeginAllowThreads();
28740 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
28741 wxPyEndAllowThreads(__tstate);
28742 if (PyErr_Occurred()) SWIG_fail;
28743 }
28744 resultobj = SWIG_From_int(static_cast< int >(result));
28745 return resultobj;
28746 fail:
28747 return NULL;
28748 }
28749
28750
28751 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28752 PyObject *resultobj = 0;
28753 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28754 int result;
28755 void *argp1 = 0 ;
28756 int res1 = 0 ;
28757 PyObject *swig_obj[1] ;
28758
28759 if (!args) SWIG_fail;
28760 swig_obj[0] = args;
28761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28762 if (!SWIG_IsOK(res1)) {
28763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28764 }
28765 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28766 {
28767 PyThreadState* __tstate = wxPyBeginAllowThreads();
28768 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
28769 wxPyEndAllowThreads(__tstate);
28770 if (PyErr_Occurred()) SWIG_fail;
28771 }
28772 resultobj = SWIG_From_int(static_cast< int >(result));
28773 return resultobj;
28774 fail:
28775 return NULL;
28776 }
28777
28778
28779 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28780 PyObject *resultobj = 0;
28781 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28782 int result;
28783 void *argp1 = 0 ;
28784 int res1 = 0 ;
28785 PyObject *swig_obj[1] ;
28786
28787 if (!args) SWIG_fail;
28788 swig_obj[0] = args;
28789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28790 if (!SWIG_IsOK(res1)) {
28791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28792 }
28793 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28794 {
28795 PyThreadState* __tstate = wxPyBeginAllowThreads();
28796 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
28797 wxPyEndAllowThreads(__tstate);
28798 if (PyErr_Occurred()) SWIG_fail;
28799 }
28800 resultobj = SWIG_From_int(static_cast< int >(result));
28801 return resultobj;
28802 fail:
28803 return NULL;
28804 }
28805
28806
28807 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28808 PyObject *resultobj = 0;
28809 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28810 bool result;
28811 void *argp1 = 0 ;
28812 int res1 = 0 ;
28813 PyObject *swig_obj[1] ;
28814
28815 if (!args) SWIG_fail;
28816 swig_obj[0] = args;
28817 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28818 if (!SWIG_IsOK(res1)) {
28819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28820 }
28821 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28822 {
28823 PyThreadState* __tstate = wxPyBeginAllowThreads();
28824 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
28825 wxPyEndAllowThreads(__tstate);
28826 if (PyErr_Occurred()) SWIG_fail;
28827 }
28828 {
28829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28830 }
28831 return resultobj;
28832 fail:
28833 return NULL;
28834 }
28835
28836
28837 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28838 PyObject *resultobj = 0;
28839 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28840 bool result;
28841 void *argp1 = 0 ;
28842 int res1 = 0 ;
28843 PyObject *swig_obj[1] ;
28844
28845 if (!args) SWIG_fail;
28846 swig_obj[0] = args;
28847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28848 if (!SWIG_IsOK(res1)) {
28849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28850 }
28851 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28852 {
28853 PyThreadState* __tstate = wxPyBeginAllowThreads();
28854 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
28855 wxPyEndAllowThreads(__tstate);
28856 if (PyErr_Occurred()) SWIG_fail;
28857 }
28858 {
28859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28860 }
28861 return resultobj;
28862 fail:
28863 return NULL;
28864 }
28865
28866
28867 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28868 PyObject *resultobj = 0;
28869 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28870 bool result;
28871 void *argp1 = 0 ;
28872 int res1 = 0 ;
28873 PyObject *swig_obj[1] ;
28874
28875 if (!args) SWIG_fail;
28876 swig_obj[0] = args;
28877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28878 if (!SWIG_IsOK(res1)) {
28879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28880 }
28881 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28882 {
28883 PyThreadState* __tstate = wxPyBeginAllowThreads();
28884 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
28885 wxPyEndAllowThreads(__tstate);
28886 if (PyErr_Occurred()) SWIG_fail;
28887 }
28888 {
28889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28890 }
28891 return resultobj;
28892 fail:
28893 return NULL;
28894 }
28895
28896
28897 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28898 PyObject *resultobj = 0;
28899 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28900 bool result;
28901 void *argp1 = 0 ;
28902 int res1 = 0 ;
28903 PyObject *swig_obj[1] ;
28904
28905 if (!args) SWIG_fail;
28906 swig_obj[0] = args;
28907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28908 if (!SWIG_IsOK(res1)) {
28909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28910 }
28911 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28912 {
28913 PyThreadState* __tstate = wxPyBeginAllowThreads();
28914 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
28915 wxPyEndAllowThreads(__tstate);
28916 if (PyErr_Occurred()) SWIG_fail;
28917 }
28918 {
28919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28920 }
28921 return resultobj;
28922 fail:
28923 return NULL;
28924 }
28925
28926
28927 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28928 PyObject *resultobj = 0;
28929 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28930 int arg2 ;
28931 void *argp1 = 0 ;
28932 int res1 = 0 ;
28933 int val2 ;
28934 int ecode2 = 0 ;
28935 PyObject * obj0 = 0 ;
28936 PyObject * obj1 = 0 ;
28937 char * kwnames[] = {
28938 (char *) "self",(char *) "v", NULL
28939 };
28940
28941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
28942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28943 if (!SWIG_IsOK(res1)) {
28944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28945 }
28946 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28947 ecode2 = SWIG_AsVal_int(obj1, &val2);
28948 if (!SWIG_IsOK(ecode2)) {
28949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
28950 }
28951 arg2 = static_cast< int >(val2);
28952 {
28953 PyThreadState* __tstate = wxPyBeginAllowThreads();
28954 (arg1)->SetFromPage(arg2);
28955 wxPyEndAllowThreads(__tstate);
28956 if (PyErr_Occurred()) SWIG_fail;
28957 }
28958 resultobj = SWIG_Py_Void();
28959 return resultobj;
28960 fail:
28961 return NULL;
28962 }
28963
28964
28965 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28966 PyObject *resultobj = 0;
28967 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28968 int arg2 ;
28969 void *argp1 = 0 ;
28970 int res1 = 0 ;
28971 int val2 ;
28972 int ecode2 = 0 ;
28973 PyObject * obj0 = 0 ;
28974 PyObject * obj1 = 0 ;
28975 char * kwnames[] = {
28976 (char *) "self",(char *) "v", NULL
28977 };
28978
28979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
28980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28981 if (!SWIG_IsOK(res1)) {
28982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28983 }
28984 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28985 ecode2 = SWIG_AsVal_int(obj1, &val2);
28986 if (!SWIG_IsOK(ecode2)) {
28987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
28988 }
28989 arg2 = static_cast< int >(val2);
28990 {
28991 PyThreadState* __tstate = wxPyBeginAllowThreads();
28992 (arg1)->SetToPage(arg2);
28993 wxPyEndAllowThreads(__tstate);
28994 if (PyErr_Occurred()) SWIG_fail;
28995 }
28996 resultobj = SWIG_Py_Void();
28997 return resultobj;
28998 fail:
28999 return NULL;
29000 }
29001
29002
29003 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29004 PyObject *resultobj = 0;
29005 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29006 int arg2 ;
29007 void *argp1 = 0 ;
29008 int res1 = 0 ;
29009 int val2 ;
29010 int ecode2 = 0 ;
29011 PyObject * obj0 = 0 ;
29012 PyObject * obj1 = 0 ;
29013 char * kwnames[] = {
29014 (char *) "self",(char *) "v", NULL
29015 };
29016
29017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
29018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29019 if (!SWIG_IsOK(res1)) {
29020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29021 }
29022 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29023 ecode2 = SWIG_AsVal_int(obj1, &val2);
29024 if (!SWIG_IsOK(ecode2)) {
29025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
29026 }
29027 arg2 = static_cast< int >(val2);
29028 {
29029 PyThreadState* __tstate = wxPyBeginAllowThreads();
29030 (arg1)->SetMinPage(arg2);
29031 wxPyEndAllowThreads(__tstate);
29032 if (PyErr_Occurred()) SWIG_fail;
29033 }
29034 resultobj = SWIG_Py_Void();
29035 return resultobj;
29036 fail:
29037 return NULL;
29038 }
29039
29040
29041 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29042 PyObject *resultobj = 0;
29043 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29044 int arg2 ;
29045 void *argp1 = 0 ;
29046 int res1 = 0 ;
29047 int val2 ;
29048 int ecode2 = 0 ;
29049 PyObject * obj0 = 0 ;
29050 PyObject * obj1 = 0 ;
29051 char * kwnames[] = {
29052 (char *) "self",(char *) "v", NULL
29053 };
29054
29055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
29056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29057 if (!SWIG_IsOK(res1)) {
29058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29059 }
29060 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29061 ecode2 = SWIG_AsVal_int(obj1, &val2);
29062 if (!SWIG_IsOK(ecode2)) {
29063 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
29064 }
29065 arg2 = static_cast< int >(val2);
29066 {
29067 PyThreadState* __tstate = wxPyBeginAllowThreads();
29068 (arg1)->SetMaxPage(arg2);
29069 wxPyEndAllowThreads(__tstate);
29070 if (PyErr_Occurred()) SWIG_fail;
29071 }
29072 resultobj = SWIG_Py_Void();
29073 return resultobj;
29074 fail:
29075 return NULL;
29076 }
29077
29078
29079 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29080 PyObject *resultobj = 0;
29081 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29082 int arg2 ;
29083 void *argp1 = 0 ;
29084 int res1 = 0 ;
29085 int val2 ;
29086 int ecode2 = 0 ;
29087 PyObject * obj0 = 0 ;
29088 PyObject * obj1 = 0 ;
29089 char * kwnames[] = {
29090 (char *) "self",(char *) "v", NULL
29091 };
29092
29093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
29094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29095 if (!SWIG_IsOK(res1)) {
29096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29097 }
29098 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29099 ecode2 = SWIG_AsVal_int(obj1, &val2);
29100 if (!SWIG_IsOK(ecode2)) {
29101 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
29102 }
29103 arg2 = static_cast< int >(val2);
29104 {
29105 PyThreadState* __tstate = wxPyBeginAllowThreads();
29106 (arg1)->SetNoCopies(arg2);
29107 wxPyEndAllowThreads(__tstate);
29108 if (PyErr_Occurred()) SWIG_fail;
29109 }
29110 resultobj = SWIG_Py_Void();
29111 return resultobj;
29112 fail:
29113 return NULL;
29114 }
29115
29116
29117 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29118 PyObject *resultobj = 0;
29119 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29120 bool arg2 ;
29121 void *argp1 = 0 ;
29122 int res1 = 0 ;
29123 bool val2 ;
29124 int ecode2 = 0 ;
29125 PyObject * obj0 = 0 ;
29126 PyObject * obj1 = 0 ;
29127 char * kwnames[] = {
29128 (char *) "self",(char *) "flag", NULL
29129 };
29130
29131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
29132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29133 if (!SWIG_IsOK(res1)) {
29134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29135 }
29136 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29137 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29138 if (!SWIG_IsOK(ecode2)) {
29139 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
29140 }
29141 arg2 = static_cast< bool >(val2);
29142 {
29143 PyThreadState* __tstate = wxPyBeginAllowThreads();
29144 (arg1)->SetAllPages(arg2);
29145 wxPyEndAllowThreads(__tstate);
29146 if (PyErr_Occurred()) SWIG_fail;
29147 }
29148 resultobj = SWIG_Py_Void();
29149 return resultobj;
29150 fail:
29151 return NULL;
29152 }
29153
29154
29155 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29156 PyObject *resultobj = 0;
29157 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29158 bool arg2 ;
29159 void *argp1 = 0 ;
29160 int res1 = 0 ;
29161 bool val2 ;
29162 int ecode2 = 0 ;
29163 PyObject * obj0 = 0 ;
29164 PyObject * obj1 = 0 ;
29165 char * kwnames[] = {
29166 (char *) "self",(char *) "flag", NULL
29167 };
29168
29169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
29170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29171 if (!SWIG_IsOK(res1)) {
29172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29173 }
29174 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29175 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29176 if (!SWIG_IsOK(ecode2)) {
29177 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
29178 }
29179 arg2 = static_cast< bool >(val2);
29180 {
29181 PyThreadState* __tstate = wxPyBeginAllowThreads();
29182 (arg1)->SetSelection(arg2);
29183 wxPyEndAllowThreads(__tstate);
29184 if (PyErr_Occurred()) SWIG_fail;
29185 }
29186 resultobj = SWIG_Py_Void();
29187 return resultobj;
29188 fail:
29189 return NULL;
29190 }
29191
29192
29193 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29194 PyObject *resultobj = 0;
29195 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29196 bool arg2 ;
29197 void *argp1 = 0 ;
29198 int res1 = 0 ;
29199 bool val2 ;
29200 int ecode2 = 0 ;
29201 PyObject * obj0 = 0 ;
29202 PyObject * obj1 = 0 ;
29203 char * kwnames[] = {
29204 (char *) "self",(char *) "flag", NULL
29205 };
29206
29207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
29208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29209 if (!SWIG_IsOK(res1)) {
29210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29211 }
29212 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29213 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29214 if (!SWIG_IsOK(ecode2)) {
29215 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
29216 }
29217 arg2 = static_cast< bool >(val2);
29218 {
29219 PyThreadState* __tstate = wxPyBeginAllowThreads();
29220 (arg1)->SetCollate(arg2);
29221 wxPyEndAllowThreads(__tstate);
29222 if (PyErr_Occurred()) SWIG_fail;
29223 }
29224 resultobj = SWIG_Py_Void();
29225 return resultobj;
29226 fail:
29227 return NULL;
29228 }
29229
29230
29231 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29232 PyObject *resultobj = 0;
29233 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29234 bool arg2 ;
29235 void *argp1 = 0 ;
29236 int res1 = 0 ;
29237 bool val2 ;
29238 int ecode2 = 0 ;
29239 PyObject * obj0 = 0 ;
29240 PyObject * obj1 = 0 ;
29241 char * kwnames[] = {
29242 (char *) "self",(char *) "flag", NULL
29243 };
29244
29245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
29246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29247 if (!SWIG_IsOK(res1)) {
29248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29249 }
29250 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29251 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29252 if (!SWIG_IsOK(ecode2)) {
29253 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
29254 }
29255 arg2 = static_cast< bool >(val2);
29256 {
29257 PyThreadState* __tstate = wxPyBeginAllowThreads();
29258 (arg1)->SetPrintToFile(arg2);
29259 wxPyEndAllowThreads(__tstate);
29260 if (PyErr_Occurred()) SWIG_fail;
29261 }
29262 resultobj = SWIG_Py_Void();
29263 return resultobj;
29264 fail:
29265 return NULL;
29266 }
29267
29268
29269 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29270 PyObject *resultobj = 0;
29271 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29272 bool arg2 ;
29273 void *argp1 = 0 ;
29274 int res1 = 0 ;
29275 bool val2 ;
29276 int ecode2 = 0 ;
29277 PyObject * obj0 = 0 ;
29278 PyObject * obj1 = 0 ;
29279 char * kwnames[] = {
29280 (char *) "self",(char *) "flag", NULL
29281 };
29282
29283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
29284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29285 if (!SWIG_IsOK(res1)) {
29286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29287 }
29288 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29289 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29290 if (!SWIG_IsOK(ecode2)) {
29291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
29292 }
29293 arg2 = static_cast< bool >(val2);
29294 {
29295 PyThreadState* __tstate = wxPyBeginAllowThreads();
29296 (arg1)->EnablePrintToFile(arg2);
29297 wxPyEndAllowThreads(__tstate);
29298 if (PyErr_Occurred()) SWIG_fail;
29299 }
29300 resultobj = SWIG_Py_Void();
29301 return resultobj;
29302 fail:
29303 return NULL;
29304 }
29305
29306
29307 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29308 PyObject *resultobj = 0;
29309 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29310 bool arg2 ;
29311 void *argp1 = 0 ;
29312 int res1 = 0 ;
29313 bool val2 ;
29314 int ecode2 = 0 ;
29315 PyObject * obj0 = 0 ;
29316 PyObject * obj1 = 0 ;
29317 char * kwnames[] = {
29318 (char *) "self",(char *) "flag", NULL
29319 };
29320
29321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
29322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29323 if (!SWIG_IsOK(res1)) {
29324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29325 }
29326 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29327 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29328 if (!SWIG_IsOK(ecode2)) {
29329 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
29330 }
29331 arg2 = static_cast< bool >(val2);
29332 {
29333 PyThreadState* __tstate = wxPyBeginAllowThreads();
29334 (arg1)->EnableSelection(arg2);
29335 wxPyEndAllowThreads(__tstate);
29336 if (PyErr_Occurred()) SWIG_fail;
29337 }
29338 resultobj = SWIG_Py_Void();
29339 return resultobj;
29340 fail:
29341 return NULL;
29342 }
29343
29344
29345 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29346 PyObject *resultobj = 0;
29347 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29348 bool arg2 ;
29349 void *argp1 = 0 ;
29350 int res1 = 0 ;
29351 bool val2 ;
29352 int ecode2 = 0 ;
29353 PyObject * obj0 = 0 ;
29354 PyObject * obj1 = 0 ;
29355 char * kwnames[] = {
29356 (char *) "self",(char *) "flag", NULL
29357 };
29358
29359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
29360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29361 if (!SWIG_IsOK(res1)) {
29362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29363 }
29364 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29365 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29366 if (!SWIG_IsOK(ecode2)) {
29367 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
29368 }
29369 arg2 = static_cast< bool >(val2);
29370 {
29371 PyThreadState* __tstate = wxPyBeginAllowThreads();
29372 (arg1)->EnablePageNumbers(arg2);
29373 wxPyEndAllowThreads(__tstate);
29374 if (PyErr_Occurred()) SWIG_fail;
29375 }
29376 resultobj = SWIG_Py_Void();
29377 return resultobj;
29378 fail:
29379 return NULL;
29380 }
29381
29382
29383 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29384 PyObject *resultobj = 0;
29385 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29386 bool arg2 ;
29387 void *argp1 = 0 ;
29388 int res1 = 0 ;
29389 bool val2 ;
29390 int ecode2 = 0 ;
29391 PyObject * obj0 = 0 ;
29392 PyObject * obj1 = 0 ;
29393 char * kwnames[] = {
29394 (char *) "self",(char *) "flag", NULL
29395 };
29396
29397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
29398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29399 if (!SWIG_IsOK(res1)) {
29400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29401 }
29402 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29403 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29404 if (!SWIG_IsOK(ecode2)) {
29405 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
29406 }
29407 arg2 = static_cast< bool >(val2);
29408 {
29409 PyThreadState* __tstate = wxPyBeginAllowThreads();
29410 (arg1)->EnableHelp(arg2);
29411 wxPyEndAllowThreads(__tstate);
29412 if (PyErr_Occurred()) SWIG_fail;
29413 }
29414 resultobj = SWIG_Py_Void();
29415 return resultobj;
29416 fail:
29417 return NULL;
29418 }
29419
29420
29421 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29422 PyObject *resultobj = 0;
29423 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29424 bool result;
29425 void *argp1 = 0 ;
29426 int res1 = 0 ;
29427 PyObject *swig_obj[1] ;
29428
29429 if (!args) SWIG_fail;
29430 swig_obj[0] = args;
29431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29432 if (!SWIG_IsOK(res1)) {
29433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29434 }
29435 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29436 {
29437 PyThreadState* __tstate = wxPyBeginAllowThreads();
29438 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
29439 wxPyEndAllowThreads(__tstate);
29440 if (PyErr_Occurred()) SWIG_fail;
29441 }
29442 {
29443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29444 }
29445 return resultobj;
29446 fail:
29447 return NULL;
29448 }
29449
29450
29451 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29452 PyObject *resultobj = 0;
29453 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29454 bool result;
29455 void *argp1 = 0 ;
29456 int res1 = 0 ;
29457 PyObject *swig_obj[1] ;
29458
29459 if (!args) SWIG_fail;
29460 swig_obj[0] = args;
29461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29462 if (!SWIG_IsOK(res1)) {
29463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29464 }
29465 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29466 {
29467 PyThreadState* __tstate = wxPyBeginAllowThreads();
29468 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
29469 wxPyEndAllowThreads(__tstate);
29470 if (PyErr_Occurred()) SWIG_fail;
29471 }
29472 {
29473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29474 }
29475 return resultobj;
29476 fail:
29477 return NULL;
29478 }
29479
29480
29481 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29482 PyObject *resultobj = 0;
29483 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29484 bool result;
29485 void *argp1 = 0 ;
29486 int res1 = 0 ;
29487 PyObject *swig_obj[1] ;
29488
29489 if (!args) SWIG_fail;
29490 swig_obj[0] = args;
29491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29492 if (!SWIG_IsOK(res1)) {
29493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29494 }
29495 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29496 {
29497 PyThreadState* __tstate = wxPyBeginAllowThreads();
29498 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
29499 wxPyEndAllowThreads(__tstate);
29500 if (PyErr_Occurred()) SWIG_fail;
29501 }
29502 {
29503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29504 }
29505 return resultobj;
29506 fail:
29507 return NULL;
29508 }
29509
29510
29511 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29512 PyObject *resultobj = 0;
29513 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29514 bool result;
29515 void *argp1 = 0 ;
29516 int res1 = 0 ;
29517 PyObject *swig_obj[1] ;
29518
29519 if (!args) SWIG_fail;
29520 swig_obj[0] = args;
29521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29522 if (!SWIG_IsOK(res1)) {
29523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29524 }
29525 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29526 {
29527 PyThreadState* __tstate = wxPyBeginAllowThreads();
29528 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
29529 wxPyEndAllowThreads(__tstate);
29530 if (PyErr_Occurred()) SWIG_fail;
29531 }
29532 {
29533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29534 }
29535 return resultobj;
29536 fail:
29537 return NULL;
29538 }
29539
29540
29541 SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29542 PyObject *resultobj = 0;
29543 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29544 bool result;
29545 void *argp1 = 0 ;
29546 int res1 = 0 ;
29547 PyObject *swig_obj[1] ;
29548
29549 if (!args) SWIG_fail;
29550 swig_obj[0] = args;
29551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29552 if (!SWIG_IsOK(res1)) {
29553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29554 }
29555 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29556 {
29557 PyThreadState* __tstate = wxPyBeginAllowThreads();
29558 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
29559 wxPyEndAllowThreads(__tstate);
29560 if (PyErr_Occurred()) SWIG_fail;
29561 }
29562 {
29563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29564 }
29565 return resultobj;
29566 fail:
29567 return NULL;
29568 }
29569
29570
29571 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29572 PyObject *resultobj = 0;
29573 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29574 wxPrintData *result = 0 ;
29575 void *argp1 = 0 ;
29576 int res1 = 0 ;
29577 PyObject *swig_obj[1] ;
29578
29579 if (!args) SWIG_fail;
29580 swig_obj[0] = args;
29581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29582 if (!SWIG_IsOK(res1)) {
29583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29584 }
29585 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29586 {
29587 PyThreadState* __tstate = wxPyBeginAllowThreads();
29588 {
29589 wxPrintData &_result_ref = (arg1)->GetPrintData();
29590 result = (wxPrintData *) &_result_ref;
29591 }
29592 wxPyEndAllowThreads(__tstate);
29593 if (PyErr_Occurred()) SWIG_fail;
29594 }
29595 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
29596 return resultobj;
29597 fail:
29598 return NULL;
29599 }
29600
29601
29602 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29603 PyObject *resultobj = 0;
29604 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29605 wxPrintData *arg2 = 0 ;
29606 void *argp1 = 0 ;
29607 int res1 = 0 ;
29608 void *argp2 = 0 ;
29609 int res2 = 0 ;
29610 PyObject * obj0 = 0 ;
29611 PyObject * obj1 = 0 ;
29612 char * kwnames[] = {
29613 (char *) "self",(char *) "printData", NULL
29614 };
29615
29616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
29617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29618 if (!SWIG_IsOK(res1)) {
29619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29620 }
29621 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29622 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
29623 if (!SWIG_IsOK(res2)) {
29624 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
29625 }
29626 if (!argp2) {
29627 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
29628 }
29629 arg2 = reinterpret_cast< wxPrintData * >(argp2);
29630 {
29631 PyThreadState* __tstate = wxPyBeginAllowThreads();
29632 (arg1)->SetPrintData((wxPrintData const &)*arg2);
29633 wxPyEndAllowThreads(__tstate);
29634 if (PyErr_Occurred()) SWIG_fail;
29635 }
29636 resultobj = SWIG_Py_Void();
29637 return resultobj;
29638 fail:
29639 return NULL;
29640 }
29641
29642
29643 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29644 PyObject *obj;
29645 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29646 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
29647 return SWIG_Py_Void();
29648 }
29649
29650 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29651 return SWIG_Python_InitShadowInstance(args);
29652 }
29653
29654 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29655 PyObject *resultobj = 0;
29656 wxWindow *arg1 = (wxWindow *) 0 ;
29657 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
29658 wxPrintDialog *result = 0 ;
29659 void *argp1 = 0 ;
29660 int res1 = 0 ;
29661 void *argp2 = 0 ;
29662 int res2 = 0 ;
29663 PyObject * obj0 = 0 ;
29664 PyObject * obj1 = 0 ;
29665 char * kwnames[] = {
29666 (char *) "parent",(char *) "data", NULL
29667 };
29668
29669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
29670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
29671 if (!SWIG_IsOK(res1)) {
29672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
29673 }
29674 arg1 = reinterpret_cast< wxWindow * >(argp1);
29675 if (obj1) {
29676 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29677 if (!SWIG_IsOK(res2)) {
29678 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
29679 }
29680 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
29681 }
29682 {
29683 if (!wxPyCheckForApp()) SWIG_fail;
29684 PyThreadState* __tstate = wxPyBeginAllowThreads();
29685 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
29686 wxPyEndAllowThreads(__tstate);
29687 if (PyErr_Occurred()) SWIG_fail;
29688 }
29689 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
29690 return resultobj;
29691 fail:
29692 return NULL;
29693 }
29694
29695
29696 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29697 PyObject *resultobj = 0;
29698 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29699 void *argp1 = 0 ;
29700 int res1 = 0 ;
29701 PyObject *swig_obj[1] ;
29702
29703 if (!args) SWIG_fail;
29704 swig_obj[0] = args;
29705 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
29706 if (!SWIG_IsOK(res1)) {
29707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29708 }
29709 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29710 {
29711 PyThreadState* __tstate = wxPyBeginAllowThreads();
29712 delete arg1;
29713
29714 wxPyEndAllowThreads(__tstate);
29715 if (PyErr_Occurred()) SWIG_fail;
29716 }
29717 resultobj = SWIG_Py_Void();
29718 return resultobj;
29719 fail:
29720 return NULL;
29721 }
29722
29723
29724 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29725 PyObject *resultobj = 0;
29726 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29727 int result;
29728 void *argp1 = 0 ;
29729 int res1 = 0 ;
29730 PyObject *swig_obj[1] ;
29731
29732 if (!args) SWIG_fail;
29733 swig_obj[0] = args;
29734 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29735 if (!SWIG_IsOK(res1)) {
29736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29737 }
29738 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29739 {
29740 PyThreadState* __tstate = wxPyBeginAllowThreads();
29741 result = (int)(arg1)->ShowModal();
29742 wxPyEndAllowThreads(__tstate);
29743 if (PyErr_Occurred()) SWIG_fail;
29744 }
29745 resultobj = SWIG_From_int(static_cast< int >(result));
29746 return resultobj;
29747 fail:
29748 return NULL;
29749 }
29750
29751
29752 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29753 PyObject *resultobj = 0;
29754 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29755 wxPrintDialogData *result = 0 ;
29756 void *argp1 = 0 ;
29757 int res1 = 0 ;
29758 PyObject *swig_obj[1] ;
29759
29760 if (!args) SWIG_fail;
29761 swig_obj[0] = args;
29762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29763 if (!SWIG_IsOK(res1)) {
29764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29765 }
29766 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29767 {
29768 PyThreadState* __tstate = wxPyBeginAllowThreads();
29769 {
29770 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29771 result = (wxPrintDialogData *) &_result_ref;
29772 }
29773 wxPyEndAllowThreads(__tstate);
29774 if (PyErr_Occurred()) SWIG_fail;
29775 }
29776 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29777 return resultobj;
29778 fail:
29779 return NULL;
29780 }
29781
29782
29783 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29784 PyObject *resultobj = 0;
29785 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29786 wxPrintData *result = 0 ;
29787 void *argp1 = 0 ;
29788 int res1 = 0 ;
29789 PyObject *swig_obj[1] ;
29790
29791 if (!args) SWIG_fail;
29792 swig_obj[0] = args;
29793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29794 if (!SWIG_IsOK(res1)) {
29795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29796 }
29797 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29798 {
29799 PyThreadState* __tstate = wxPyBeginAllowThreads();
29800 {
29801 wxPrintData &_result_ref = (arg1)->GetPrintData();
29802 result = (wxPrintData *) &_result_ref;
29803 }
29804 wxPyEndAllowThreads(__tstate);
29805 if (PyErr_Occurred()) SWIG_fail;
29806 }
29807 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
29808 return resultobj;
29809 fail:
29810 return NULL;
29811 }
29812
29813
29814 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29815 PyObject *resultobj = 0;
29816 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29817 wxDC *result = 0 ;
29818 void *argp1 = 0 ;
29819 int res1 = 0 ;
29820 PyObject *swig_obj[1] ;
29821
29822 if (!args) SWIG_fail;
29823 swig_obj[0] = args;
29824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29825 if (!SWIG_IsOK(res1)) {
29826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29827 }
29828 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29829 {
29830 PyThreadState* __tstate = wxPyBeginAllowThreads();
29831 result = (wxDC *)(arg1)->GetPrintDC();
29832 wxPyEndAllowThreads(__tstate);
29833 if (PyErr_Occurred()) SWIG_fail;
29834 }
29835 {
29836 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
29837 }
29838 return resultobj;
29839 fail:
29840 return NULL;
29841 }
29842
29843
29844 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29845 PyObject *obj;
29846 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29847 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
29848 return SWIG_Py_Void();
29849 }
29850
29851 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29852 return SWIG_Python_InitShadowInstance(args);
29853 }
29854
29855 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29856 PyObject *resultobj = 0;
29857 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
29858 wxPrinter *result = 0 ;
29859 void *argp1 = 0 ;
29860 int res1 = 0 ;
29861 PyObject * obj0 = 0 ;
29862 char * kwnames[] = {
29863 (char *) "data", NULL
29864 };
29865
29866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
29867 if (obj0) {
29868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29869 if (!SWIG_IsOK(res1)) {
29870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29871 }
29872 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29873 }
29874 {
29875 if (!wxPyCheckForApp()) SWIG_fail;
29876 PyThreadState* __tstate = wxPyBeginAllowThreads();
29877 result = (wxPrinter *)new wxPrinter(arg1);
29878 wxPyEndAllowThreads(__tstate);
29879 if (PyErr_Occurred()) SWIG_fail;
29880 }
29881 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
29882 return resultobj;
29883 fail:
29884 return NULL;
29885 }
29886
29887
29888 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29889 PyObject *resultobj = 0;
29890 wxPrinter *arg1 = (wxPrinter *) 0 ;
29891 void *argp1 = 0 ;
29892 int res1 = 0 ;
29893 PyObject *swig_obj[1] ;
29894
29895 if (!args) SWIG_fail;
29896 swig_obj[0] = args;
29897 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
29898 if (!SWIG_IsOK(res1)) {
29899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
29900 }
29901 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29902 {
29903 PyThreadState* __tstate = wxPyBeginAllowThreads();
29904 delete arg1;
29905
29906 wxPyEndAllowThreads(__tstate);
29907 if (PyErr_Occurred()) SWIG_fail;
29908 }
29909 resultobj = SWIG_Py_Void();
29910 return resultobj;
29911 fail:
29912 return NULL;
29913 }
29914
29915
29916 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29917 PyObject *resultobj = 0;
29918 wxPrinter *arg1 = (wxPrinter *) 0 ;
29919 wxWindow *arg2 = (wxWindow *) 0 ;
29920 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
29921 wxWindow *result = 0 ;
29922 void *argp1 = 0 ;
29923 int res1 = 0 ;
29924 void *argp2 = 0 ;
29925 int res2 = 0 ;
29926 void *argp3 = 0 ;
29927 int res3 = 0 ;
29928 PyObject * obj0 = 0 ;
29929 PyObject * obj1 = 0 ;
29930 PyObject * obj2 = 0 ;
29931 char * kwnames[] = {
29932 (char *) "self",(char *) "parent",(char *) "printout", NULL
29933 };
29934
29935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29937 if (!SWIG_IsOK(res1)) {
29938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
29939 }
29940 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29941 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29942 if (!SWIG_IsOK(res2)) {
29943 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
29944 }
29945 arg2 = reinterpret_cast< wxWindow * >(argp2);
29946 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29947 if (!SWIG_IsOK(res3)) {
29948 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29949 }
29950 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
29951 {
29952 PyThreadState* __tstate = wxPyBeginAllowThreads();
29953 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
29954 wxPyEndAllowThreads(__tstate);
29955 if (PyErr_Occurred()) SWIG_fail;
29956 }
29957 {
29958 resultobj = wxPyMake_wxObject(result, 0);
29959 }
29960 return resultobj;
29961 fail:
29962 return NULL;
29963 }
29964
29965
29966 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29967 PyObject *resultobj = 0;
29968 wxPrinter *arg1 = (wxPrinter *) 0 ;
29969 wxWindow *arg2 = (wxWindow *) 0 ;
29970 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
29971 wxString *arg4 = 0 ;
29972 void *argp1 = 0 ;
29973 int res1 = 0 ;
29974 void *argp2 = 0 ;
29975 int res2 = 0 ;
29976 void *argp3 = 0 ;
29977 int res3 = 0 ;
29978 bool temp4 = false ;
29979 PyObject * obj0 = 0 ;
29980 PyObject * obj1 = 0 ;
29981 PyObject * obj2 = 0 ;
29982 PyObject * obj3 = 0 ;
29983 char * kwnames[] = {
29984 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
29985 };
29986
29987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29989 if (!SWIG_IsOK(res1)) {
29990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
29991 }
29992 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29993 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29994 if (!SWIG_IsOK(res2)) {
29995 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
29996 }
29997 arg2 = reinterpret_cast< wxWindow * >(argp2);
29998 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29999 if (!SWIG_IsOK(res3)) {
30000 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
30001 }
30002 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
30003 {
30004 arg4 = wxString_in_helper(obj3);
30005 if (arg4 == NULL) SWIG_fail;
30006 temp4 = true;
30007 }
30008 {
30009 PyThreadState* __tstate = wxPyBeginAllowThreads();
30010 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
30011 wxPyEndAllowThreads(__tstate);
30012 if (PyErr_Occurred()) SWIG_fail;
30013 }
30014 resultobj = SWIG_Py_Void();
30015 {
30016 if (temp4)
30017 delete arg4;
30018 }
30019 return resultobj;
30020 fail:
30021 {
30022 if (temp4)
30023 delete arg4;
30024 }
30025 return NULL;
30026 }
30027
30028
30029 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30030 PyObject *resultobj = 0;
30031 wxPrinter *arg1 = (wxPrinter *) 0 ;
30032 wxWindow *arg2 = (wxWindow *) 0 ;
30033 bool result;
30034 void *argp1 = 0 ;
30035 int res1 = 0 ;
30036 void *argp2 = 0 ;
30037 int res2 = 0 ;
30038 PyObject * obj0 = 0 ;
30039 PyObject * obj1 = 0 ;
30040 char * kwnames[] = {
30041 (char *) "self",(char *) "parent", NULL
30042 };
30043
30044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
30045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
30046 if (!SWIG_IsOK(res1)) {
30047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
30048 }
30049 arg1 = reinterpret_cast< wxPrinter * >(argp1);
30050 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
30051 if (!SWIG_IsOK(res2)) {
30052 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
30053 }
30054 arg2 = reinterpret_cast< wxWindow * >(argp2);
30055 {
30056 PyThreadState* __tstate = wxPyBeginAllowThreads();
30057 result = (bool)(arg1)->Setup(arg2);
30058 wxPyEndAllowThreads(__tstate);
30059 if (PyErr_Occurred()) SWIG_fail;
30060 }
30061 {
30062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30063 }
30064 return resultobj;
30065 fail:
30066 return NULL;
30067 }
30068
30069
30070 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30071 PyObject *resultobj = 0;
30072 wxPrinter *arg1 = (wxPrinter *) 0 ;
30073 wxWindow *arg2 = (wxWindow *) 0 ;
30074 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
30075 bool arg4 = (bool) true ;
30076 bool result;
30077 void *argp1 = 0 ;
30078 int res1 = 0 ;
30079 void *argp2 = 0 ;
30080 int res2 = 0 ;
30081 void *argp3 = 0 ;
30082 int res3 = 0 ;
30083 bool val4 ;
30084 int ecode4 = 0 ;
30085 PyObject * obj0 = 0 ;
30086 PyObject * obj1 = 0 ;
30087 PyObject * obj2 = 0 ;
30088 PyObject * obj3 = 0 ;
30089 char * kwnames[] = {
30090 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
30091 };
30092
30093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
30095 if (!SWIG_IsOK(res1)) {
30096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
30097 }
30098 arg1 = reinterpret_cast< wxPrinter * >(argp1);
30099 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
30100 if (!SWIG_IsOK(res2)) {
30101 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
30102 }
30103 arg2 = reinterpret_cast< wxWindow * >(argp2);
30104 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30105 if (!SWIG_IsOK(res3)) {
30106 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
30107 }
30108 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
30109 if (obj3) {
30110 ecode4 = SWIG_AsVal_bool(obj3, &val4);
30111 if (!SWIG_IsOK(ecode4)) {
30112 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
30113 }
30114 arg4 = static_cast< bool >(val4);
30115 }
30116 {
30117 PyThreadState* __tstate = wxPyBeginAllowThreads();
30118 result = (bool)(arg1)->Print(arg2,arg3,arg4);
30119 wxPyEndAllowThreads(__tstate);
30120 if (PyErr_Occurred()) SWIG_fail;
30121 }
30122 {
30123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30124 }
30125 return resultobj;
30126 fail:
30127 return NULL;
30128 }
30129
30130
30131 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30132 PyObject *resultobj = 0;
30133 wxPrinter *arg1 = (wxPrinter *) 0 ;
30134 wxWindow *arg2 = (wxWindow *) 0 ;
30135 wxDC *result = 0 ;
30136 void *argp1 = 0 ;
30137 int res1 = 0 ;
30138 void *argp2 = 0 ;
30139 int res2 = 0 ;
30140 PyObject * obj0 = 0 ;
30141 PyObject * obj1 = 0 ;
30142 char * kwnames[] = {
30143 (char *) "self",(char *) "parent", NULL
30144 };
30145
30146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
30147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
30148 if (!SWIG_IsOK(res1)) {
30149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
30150 }
30151 arg1 = reinterpret_cast< wxPrinter * >(argp1);
30152 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
30153 if (!SWIG_IsOK(res2)) {
30154 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
30155 }
30156 arg2 = reinterpret_cast< wxWindow * >(argp2);
30157 {
30158 PyThreadState* __tstate = wxPyBeginAllowThreads();
30159 result = (wxDC *)(arg1)->PrintDialog(arg2);
30160 wxPyEndAllowThreads(__tstate);
30161 if (PyErr_Occurred()) SWIG_fail;
30162 }
30163 {
30164 resultobj = wxPyMake_wxObject(result, (bool)0);
30165 }
30166 return resultobj;
30167 fail:
30168 return NULL;
30169 }
30170
30171
30172 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30173 PyObject *resultobj = 0;
30174 wxPrinter *arg1 = (wxPrinter *) 0 ;
30175 wxPrintDialogData *result = 0 ;
30176 void *argp1 = 0 ;
30177 int res1 = 0 ;
30178 PyObject *swig_obj[1] ;
30179
30180 if (!args) SWIG_fail;
30181 swig_obj[0] = args;
30182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
30183 if (!SWIG_IsOK(res1)) {
30184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
30185 }
30186 arg1 = reinterpret_cast< wxPrinter * >(argp1);
30187 {
30188 PyThreadState* __tstate = wxPyBeginAllowThreads();
30189 {
30190 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
30191 result = (wxPrintDialogData *) &_result_ref;
30192 }
30193 wxPyEndAllowThreads(__tstate);
30194 if (PyErr_Occurred()) SWIG_fail;
30195 }
30196 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30197 return resultobj;
30198 fail:
30199 return NULL;
30200 }
30201
30202
30203 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30204 PyObject *resultobj = 0;
30205 wxPrinter *arg1 = (wxPrinter *) 0 ;
30206 bool result;
30207 void *argp1 = 0 ;
30208 int res1 = 0 ;
30209 PyObject *swig_obj[1] ;
30210
30211 if (!args) SWIG_fail;
30212 swig_obj[0] = args;
30213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
30214 if (!SWIG_IsOK(res1)) {
30215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
30216 }
30217 arg1 = reinterpret_cast< wxPrinter * >(argp1);
30218 {
30219 PyThreadState* __tstate = wxPyBeginAllowThreads();
30220 result = (bool)(arg1)->GetAbort();
30221 wxPyEndAllowThreads(__tstate);
30222 if (PyErr_Occurred()) SWIG_fail;
30223 }
30224 {
30225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30226 }
30227 return resultobj;
30228 fail:
30229 return NULL;
30230 }
30231
30232
30233 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30234 PyObject *resultobj = 0;
30235 wxPrinterError result;
30236
30237 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
30238 {
30239 PyThreadState* __tstate = wxPyBeginAllowThreads();
30240 result = (wxPrinterError)wxPrinter::GetLastError();
30241 wxPyEndAllowThreads(__tstate);
30242 if (PyErr_Occurred()) SWIG_fail;
30243 }
30244 resultobj = SWIG_From_int(static_cast< int >(result));
30245 return resultobj;
30246 fail:
30247 return NULL;
30248 }
30249
30250
30251 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30252 PyObject *obj;
30253 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30254 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
30255 return SWIG_Py_Void();
30256 }
30257
30258 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30259 return SWIG_Python_InitShadowInstance(args);
30260 }
30261
30262 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30263 PyObject *resultobj = 0;
30264 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
30265 wxString *arg1 = (wxString *) &arg1_defvalue ;
30266 wxPyPrintout *result = 0 ;
30267 bool temp1 = false ;
30268 PyObject * obj0 = 0 ;
30269 char * kwnames[] = {
30270 (char *) "title", NULL
30271 };
30272
30273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
30274 if (obj0) {
30275 {
30276 arg1 = wxString_in_helper(obj0);
30277 if (arg1 == NULL) SWIG_fail;
30278 temp1 = true;
30279 }
30280 }
30281 {
30282 if (!wxPyCheckForApp()) SWIG_fail;
30283 PyThreadState* __tstate = wxPyBeginAllowThreads();
30284 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
30285 wxPyEndAllowThreads(__tstate);
30286 if (PyErr_Occurred()) SWIG_fail;
30287 }
30288 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
30289 {
30290 if (temp1)
30291 delete arg1;
30292 }
30293 return resultobj;
30294 fail:
30295 {
30296 if (temp1)
30297 delete arg1;
30298 }
30299 return NULL;
30300 }
30301
30302
30303 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30304 PyObject *resultobj = 0;
30305 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30306 void *argp1 = 0 ;
30307 int res1 = 0 ;
30308 PyObject *swig_obj[1] ;
30309
30310 if (!args) SWIG_fail;
30311 swig_obj[0] = args;
30312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30313 if (!SWIG_IsOK(res1)) {
30314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30315 }
30316 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30317 {
30318 PyThreadState* __tstate = wxPyBeginAllowThreads();
30319 delete arg1;
30320
30321 wxPyEndAllowThreads(__tstate);
30322 if (PyErr_Occurred()) SWIG_fail;
30323 }
30324 resultobj = SWIG_Py_Void();
30325 return resultobj;
30326 fail:
30327 return NULL;
30328 }
30329
30330
30331 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30332 PyObject *resultobj = 0;
30333 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30334 PyObject *arg2 = (PyObject *) 0 ;
30335 PyObject *arg3 = (PyObject *) 0 ;
30336 void *argp1 = 0 ;
30337 int res1 = 0 ;
30338 PyObject * obj0 = 0 ;
30339 PyObject * obj1 = 0 ;
30340 PyObject * obj2 = 0 ;
30341 char * kwnames[] = {
30342 (char *) "self",(char *) "self",(char *) "_class", NULL
30343 };
30344
30345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30347 if (!SWIG_IsOK(res1)) {
30348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30349 }
30350 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30351 arg2 = obj1;
30352 arg3 = obj2;
30353 {
30354 PyThreadState* __tstate = wxPyBeginAllowThreads();
30355 (arg1)->_setCallbackInfo(arg2,arg3);
30356 wxPyEndAllowThreads(__tstate);
30357 if (PyErr_Occurred()) SWIG_fail;
30358 }
30359 resultobj = SWIG_Py_Void();
30360 return resultobj;
30361 fail:
30362 return NULL;
30363 }
30364
30365
30366 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30367 PyObject *resultobj = 0;
30368 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30369 wxString result;
30370 void *argp1 = 0 ;
30371 int res1 = 0 ;
30372 PyObject *swig_obj[1] ;
30373
30374 if (!args) SWIG_fail;
30375 swig_obj[0] = args;
30376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30377 if (!SWIG_IsOK(res1)) {
30378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30379 }
30380 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30381 {
30382 PyThreadState* __tstate = wxPyBeginAllowThreads();
30383 result = ((wxPyPrintout const *)arg1)->GetTitle();
30384 wxPyEndAllowThreads(__tstate);
30385 if (PyErr_Occurred()) SWIG_fail;
30386 }
30387 {
30388 #if wxUSE_UNICODE
30389 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30390 #else
30391 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30392 #endif
30393 }
30394 return resultobj;
30395 fail:
30396 return NULL;
30397 }
30398
30399
30400 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30401 PyObject *resultobj = 0;
30402 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30403 wxDC *result = 0 ;
30404 void *argp1 = 0 ;
30405 int res1 = 0 ;
30406 PyObject *swig_obj[1] ;
30407
30408 if (!args) SWIG_fail;
30409 swig_obj[0] = args;
30410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30411 if (!SWIG_IsOK(res1)) {
30412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30413 }
30414 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30415 {
30416 PyThreadState* __tstate = wxPyBeginAllowThreads();
30417 result = (wxDC *)(arg1)->GetDC();
30418 wxPyEndAllowThreads(__tstate);
30419 if (PyErr_Occurred()) SWIG_fail;
30420 }
30421 {
30422 resultobj = wxPyMake_wxObject(result, (bool)0);
30423 }
30424 return resultobj;
30425 fail:
30426 return NULL;
30427 }
30428
30429
30430 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30431 PyObject *resultobj = 0;
30432 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30433 wxDC *arg2 = (wxDC *) 0 ;
30434 void *argp1 = 0 ;
30435 int res1 = 0 ;
30436 void *argp2 = 0 ;
30437 int res2 = 0 ;
30438 PyObject * obj0 = 0 ;
30439 PyObject * obj1 = 0 ;
30440 char * kwnames[] = {
30441 (char *) "self",(char *) "dc", NULL
30442 };
30443
30444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
30445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30446 if (!SWIG_IsOK(res1)) {
30447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30448 }
30449 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30450 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
30451 if (!SWIG_IsOK(res2)) {
30452 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
30453 }
30454 arg2 = reinterpret_cast< wxDC * >(argp2);
30455 {
30456 PyThreadState* __tstate = wxPyBeginAllowThreads();
30457 (arg1)->SetDC(arg2);
30458 wxPyEndAllowThreads(__tstate);
30459 if (PyErr_Occurred()) SWIG_fail;
30460 }
30461 resultobj = SWIG_Py_Void();
30462 return resultobj;
30463 fail:
30464 return NULL;
30465 }
30466
30467
30468 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30469 PyObject *resultobj = 0;
30470 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30471 wxSize *arg2 = 0 ;
30472 void *argp1 = 0 ;
30473 int res1 = 0 ;
30474 wxSize temp2 ;
30475 PyObject * obj0 = 0 ;
30476 PyObject * obj1 = 0 ;
30477 char * kwnames[] = {
30478 (char *) "self",(char *) "imageSize", NULL
30479 };
30480
30481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
30482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30483 if (!SWIG_IsOK(res1)) {
30484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30485 }
30486 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30487 {
30488 arg2 = &temp2;
30489 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30490 }
30491 {
30492 PyThreadState* __tstate = wxPyBeginAllowThreads();
30493 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
30494 wxPyEndAllowThreads(__tstate);
30495 if (PyErr_Occurred()) SWIG_fail;
30496 }
30497 resultobj = SWIG_Py_Void();
30498 return resultobj;
30499 fail:
30500 return NULL;
30501 }
30502
30503
30504 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30505 PyObject *resultobj = 0;
30506 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30507 wxSize *arg2 = 0 ;
30508 void *argp1 = 0 ;
30509 int res1 = 0 ;
30510 wxSize temp2 ;
30511 PyObject * obj0 = 0 ;
30512 PyObject * obj1 = 0 ;
30513 char * kwnames[] = {
30514 (char *) "self",(char *) "imageSize", NULL
30515 };
30516
30517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
30518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30519 if (!SWIG_IsOK(res1)) {
30520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30521 }
30522 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30523 {
30524 arg2 = &temp2;
30525 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30526 }
30527 {
30528 PyThreadState* __tstate = wxPyBeginAllowThreads();
30529 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
30530 wxPyEndAllowThreads(__tstate);
30531 if (PyErr_Occurred()) SWIG_fail;
30532 }
30533 resultobj = SWIG_Py_Void();
30534 return resultobj;
30535 fail:
30536 return NULL;
30537 }
30538
30539
30540 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30541 PyObject *resultobj = 0;
30542 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30543 wxSize *arg2 = 0 ;
30544 wxPageSetupDialogData *arg3 = 0 ;
30545 void *argp1 = 0 ;
30546 int res1 = 0 ;
30547 wxSize temp2 ;
30548 void *argp3 = 0 ;
30549 int res3 = 0 ;
30550 PyObject * obj0 = 0 ;
30551 PyObject * obj1 = 0 ;
30552 PyObject * obj2 = 0 ;
30553 char * kwnames[] = {
30554 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
30555 };
30556
30557 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30558 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30559 if (!SWIG_IsOK(res1)) {
30560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30561 }
30562 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30563 {
30564 arg2 = &temp2;
30565 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30566 }
30567 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
30568 if (!SWIG_IsOK(res3)) {
30569 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
30570 }
30571 if (!argp3) {
30572 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
30573 }
30574 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
30575 {
30576 PyThreadState* __tstate = wxPyBeginAllowThreads();
30577 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
30578 wxPyEndAllowThreads(__tstate);
30579 if (PyErr_Occurred()) SWIG_fail;
30580 }
30581 resultobj = SWIG_Py_Void();
30582 return resultobj;
30583 fail:
30584 return NULL;
30585 }
30586
30587
30588 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30589 PyObject *resultobj = 0;
30590 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30591 void *argp1 = 0 ;
30592 int res1 = 0 ;
30593 PyObject *swig_obj[1] ;
30594
30595 if (!args) SWIG_fail;
30596 swig_obj[0] = args;
30597 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30598 if (!SWIG_IsOK(res1)) {
30599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30600 }
30601 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30602 {
30603 PyThreadState* __tstate = wxPyBeginAllowThreads();
30604 (arg1)->MapScreenSizeToPaper();
30605 wxPyEndAllowThreads(__tstate);
30606 if (PyErr_Occurred()) SWIG_fail;
30607 }
30608 resultobj = SWIG_Py_Void();
30609 return resultobj;
30610 fail:
30611 return NULL;
30612 }
30613
30614
30615 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30616 PyObject *resultobj = 0;
30617 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30618 void *argp1 = 0 ;
30619 int res1 = 0 ;
30620 PyObject *swig_obj[1] ;
30621
30622 if (!args) SWIG_fail;
30623 swig_obj[0] = args;
30624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30625 if (!SWIG_IsOK(res1)) {
30626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30627 }
30628 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30629 {
30630 PyThreadState* __tstate = wxPyBeginAllowThreads();
30631 (arg1)->MapScreenSizeToPage();
30632 wxPyEndAllowThreads(__tstate);
30633 if (PyErr_Occurred()) SWIG_fail;
30634 }
30635 resultobj = SWIG_Py_Void();
30636 return resultobj;
30637 fail:
30638 return NULL;
30639 }
30640
30641
30642 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30643 PyObject *resultobj = 0;
30644 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30645 wxPageSetupDialogData *arg2 = 0 ;
30646 void *argp1 = 0 ;
30647 int res1 = 0 ;
30648 void *argp2 = 0 ;
30649 int res2 = 0 ;
30650 PyObject * obj0 = 0 ;
30651 PyObject * obj1 = 0 ;
30652 char * kwnames[] = {
30653 (char *) "self",(char *) "pageSetupData", NULL
30654 };
30655
30656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
30657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30658 if (!SWIG_IsOK(res1)) {
30659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30660 }
30661 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30662 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
30663 if (!SWIG_IsOK(res2)) {
30664 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30665 }
30666 if (!argp2) {
30667 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30668 }
30669 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
30670 {
30671 PyThreadState* __tstate = wxPyBeginAllowThreads();
30672 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
30673 wxPyEndAllowThreads(__tstate);
30674 if (PyErr_Occurred()) SWIG_fail;
30675 }
30676 resultobj = SWIG_Py_Void();
30677 return resultobj;
30678 fail:
30679 return NULL;
30680 }
30681
30682
30683 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30684 PyObject *resultobj = 0;
30685 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30686 void *argp1 = 0 ;
30687 int res1 = 0 ;
30688 PyObject *swig_obj[1] ;
30689
30690 if (!args) SWIG_fail;
30691 swig_obj[0] = args;
30692 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30693 if (!SWIG_IsOK(res1)) {
30694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30695 }
30696 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30697 {
30698 PyThreadState* __tstate = wxPyBeginAllowThreads();
30699 (arg1)->MapScreenSizeToDevice();
30700 wxPyEndAllowThreads(__tstate);
30701 if (PyErr_Occurred()) SWIG_fail;
30702 }
30703 resultobj = SWIG_Py_Void();
30704 return resultobj;
30705 fail:
30706 return NULL;
30707 }
30708
30709
30710 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30711 PyObject *resultobj = 0;
30712 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30713 wxRect result;
30714 void *argp1 = 0 ;
30715 int res1 = 0 ;
30716 PyObject *swig_obj[1] ;
30717
30718 if (!args) SWIG_fail;
30719 swig_obj[0] = args;
30720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30721 if (!SWIG_IsOK(res1)) {
30722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30723 }
30724 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30725 {
30726 PyThreadState* __tstate = wxPyBeginAllowThreads();
30727 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
30728 wxPyEndAllowThreads(__tstate);
30729 if (PyErr_Occurred()) SWIG_fail;
30730 }
30731 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30732 return resultobj;
30733 fail:
30734 return NULL;
30735 }
30736
30737
30738 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30739 PyObject *resultobj = 0;
30740 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30741 wxRect result;
30742 void *argp1 = 0 ;
30743 int res1 = 0 ;
30744 PyObject *swig_obj[1] ;
30745
30746 if (!args) SWIG_fail;
30747 swig_obj[0] = args;
30748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30749 if (!SWIG_IsOK(res1)) {
30750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30751 }
30752 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30753 {
30754 PyThreadState* __tstate = wxPyBeginAllowThreads();
30755 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
30756 wxPyEndAllowThreads(__tstate);
30757 if (PyErr_Occurred()) SWIG_fail;
30758 }
30759 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30760 return resultobj;
30761 fail:
30762 return NULL;
30763 }
30764
30765
30766 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30767 PyObject *resultobj = 0;
30768 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30769 wxPageSetupDialogData *arg2 = 0 ;
30770 wxRect result;
30771 void *argp1 = 0 ;
30772 int res1 = 0 ;
30773 void *argp2 = 0 ;
30774 int res2 = 0 ;
30775 PyObject * obj0 = 0 ;
30776 PyObject * obj1 = 0 ;
30777 char * kwnames[] = {
30778 (char *) "self",(char *) "pageSetupData", NULL
30779 };
30780
30781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
30782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30783 if (!SWIG_IsOK(res1)) {
30784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30785 }
30786 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30787 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
30788 if (!SWIG_IsOK(res2)) {
30789 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30790 }
30791 if (!argp2) {
30792 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30793 }
30794 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
30795 {
30796 PyThreadState* __tstate = wxPyBeginAllowThreads();
30797 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
30798 wxPyEndAllowThreads(__tstate);
30799 if (PyErr_Occurred()) SWIG_fail;
30800 }
30801 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30802 return resultobj;
30803 fail:
30804 return NULL;
30805 }
30806
30807
30808 SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30809 PyObject *resultobj = 0;
30810 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30811 int arg2 ;
30812 int arg3 ;
30813 void *argp1 = 0 ;
30814 int res1 = 0 ;
30815 int val2 ;
30816 int ecode2 = 0 ;
30817 int val3 ;
30818 int ecode3 = 0 ;
30819 PyObject * obj0 = 0 ;
30820 PyObject * obj1 = 0 ;
30821 PyObject * obj2 = 0 ;
30822 char * kwnames[] = {
30823 (char *) "self",(char *) "x",(char *) "y", NULL
30824 };
30825
30826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30828 if (!SWIG_IsOK(res1)) {
30829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30830 }
30831 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30832 ecode2 = SWIG_AsVal_int(obj1, &val2);
30833 if (!SWIG_IsOK(ecode2)) {
30834 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
30835 }
30836 arg2 = static_cast< int >(val2);
30837 ecode3 = SWIG_AsVal_int(obj2, &val3);
30838 if (!SWIG_IsOK(ecode3)) {
30839 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
30840 }
30841 arg3 = static_cast< int >(val3);
30842 {
30843 PyThreadState* __tstate = wxPyBeginAllowThreads();
30844 (arg1)->SetLogicalOrigin(arg2,arg3);
30845 wxPyEndAllowThreads(__tstate);
30846 if (PyErr_Occurred()) SWIG_fail;
30847 }
30848 resultobj = SWIG_Py_Void();
30849 return resultobj;
30850 fail:
30851 return NULL;
30852 }
30853
30854
30855 SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30856 PyObject *resultobj = 0;
30857 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30858 int arg2 ;
30859 int arg3 ;
30860 void *argp1 = 0 ;
30861 int res1 = 0 ;
30862 int val2 ;
30863 int ecode2 = 0 ;
30864 int val3 ;
30865 int ecode3 = 0 ;
30866 PyObject * obj0 = 0 ;
30867 PyObject * obj1 = 0 ;
30868 PyObject * obj2 = 0 ;
30869 char * kwnames[] = {
30870 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
30871 };
30872
30873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30875 if (!SWIG_IsOK(res1)) {
30876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30877 }
30878 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30879 ecode2 = SWIG_AsVal_int(obj1, &val2);
30880 if (!SWIG_IsOK(ecode2)) {
30881 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
30882 }
30883 arg2 = static_cast< int >(val2);
30884 ecode3 = SWIG_AsVal_int(obj2, &val3);
30885 if (!SWIG_IsOK(ecode3)) {
30886 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
30887 }
30888 arg3 = static_cast< int >(val3);
30889 {
30890 PyThreadState* __tstate = wxPyBeginAllowThreads();
30891 (arg1)->OffsetLogicalOrigin(arg2,arg3);
30892 wxPyEndAllowThreads(__tstate);
30893 if (PyErr_Occurred()) SWIG_fail;
30894 }
30895 resultobj = SWIG_Py_Void();
30896 return resultobj;
30897 fail:
30898 return NULL;
30899 }
30900
30901
30902 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30903 PyObject *resultobj = 0;
30904 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30905 int arg2 ;
30906 int arg3 ;
30907 void *argp1 = 0 ;
30908 int res1 = 0 ;
30909 int val2 ;
30910 int ecode2 = 0 ;
30911 int val3 ;
30912 int ecode3 = 0 ;
30913 PyObject * obj0 = 0 ;
30914 PyObject * obj1 = 0 ;
30915 PyObject * obj2 = 0 ;
30916 char * kwnames[] = {
30917 (char *) "self",(char *) "w",(char *) "h", NULL
30918 };
30919
30920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30922 if (!SWIG_IsOK(res1)) {
30923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30924 }
30925 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30926 ecode2 = SWIG_AsVal_int(obj1, &val2);
30927 if (!SWIG_IsOK(ecode2)) {
30928 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
30929 }
30930 arg2 = static_cast< int >(val2);
30931 ecode3 = SWIG_AsVal_int(obj2, &val3);
30932 if (!SWIG_IsOK(ecode3)) {
30933 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
30934 }
30935 arg3 = static_cast< int >(val3);
30936 {
30937 PyThreadState* __tstate = wxPyBeginAllowThreads();
30938 (arg1)->SetPageSizePixels(arg2,arg3);
30939 wxPyEndAllowThreads(__tstate);
30940 if (PyErr_Occurred()) SWIG_fail;
30941 }
30942 resultobj = SWIG_Py_Void();
30943 return resultobj;
30944 fail:
30945 return NULL;
30946 }
30947
30948
30949 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30950 PyObject *resultobj = 0;
30951 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30952 int *arg2 = (int *) 0 ;
30953 int *arg3 = (int *) 0 ;
30954 void *argp1 = 0 ;
30955 int res1 = 0 ;
30956 int temp2 ;
30957 int res2 = SWIG_TMPOBJ ;
30958 int temp3 ;
30959 int res3 = SWIG_TMPOBJ ;
30960 PyObject *swig_obj[1] ;
30961
30962 arg2 = &temp2;
30963 arg3 = &temp3;
30964 if (!args) SWIG_fail;
30965 swig_obj[0] = args;
30966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30967 if (!SWIG_IsOK(res1)) {
30968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30969 }
30970 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30971 {
30972 PyThreadState* __tstate = wxPyBeginAllowThreads();
30973 (arg1)->GetPageSizePixels(arg2,arg3);
30974 wxPyEndAllowThreads(__tstate);
30975 if (PyErr_Occurred()) SWIG_fail;
30976 }
30977 resultobj = SWIG_Py_Void();
30978 if (SWIG_IsTmpObj(res2)) {
30979 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
30980 } else {
30981 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30982 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
30983 }
30984 if (SWIG_IsTmpObj(res3)) {
30985 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
30986 } else {
30987 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30988 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
30989 }
30990 return resultobj;
30991 fail:
30992 return NULL;
30993 }
30994
30995
30996 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30997 PyObject *resultobj = 0;
30998 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30999 int arg2 ;
31000 int arg3 ;
31001 void *argp1 = 0 ;
31002 int res1 = 0 ;
31003 int val2 ;
31004 int ecode2 = 0 ;
31005 int val3 ;
31006 int ecode3 = 0 ;
31007 PyObject * obj0 = 0 ;
31008 PyObject * obj1 = 0 ;
31009 PyObject * obj2 = 0 ;
31010 char * kwnames[] = {
31011 (char *) "self",(char *) "w",(char *) "h", NULL
31012 };
31013
31014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31016 if (!SWIG_IsOK(res1)) {
31017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31018 }
31019 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31020 ecode2 = SWIG_AsVal_int(obj1, &val2);
31021 if (!SWIG_IsOK(ecode2)) {
31022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
31023 }
31024 arg2 = static_cast< int >(val2);
31025 ecode3 = SWIG_AsVal_int(obj2, &val3);
31026 if (!SWIG_IsOK(ecode3)) {
31027 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
31028 }
31029 arg3 = static_cast< int >(val3);
31030 {
31031 PyThreadState* __tstate = wxPyBeginAllowThreads();
31032 (arg1)->SetPageSizeMM(arg2,arg3);
31033 wxPyEndAllowThreads(__tstate);
31034 if (PyErr_Occurred()) SWIG_fail;
31035 }
31036 resultobj = SWIG_Py_Void();
31037 return resultobj;
31038 fail:
31039 return NULL;
31040 }
31041
31042
31043 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31044 PyObject *resultobj = 0;
31045 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31046 int *arg2 = (int *) 0 ;
31047 int *arg3 = (int *) 0 ;
31048 void *argp1 = 0 ;
31049 int res1 = 0 ;
31050 int temp2 ;
31051 int res2 = SWIG_TMPOBJ ;
31052 int temp3 ;
31053 int res3 = SWIG_TMPOBJ ;
31054 PyObject *swig_obj[1] ;
31055
31056 arg2 = &temp2;
31057 arg3 = &temp3;
31058 if (!args) SWIG_fail;
31059 swig_obj[0] = args;
31060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31061 if (!SWIG_IsOK(res1)) {
31062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31063 }
31064 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31065 {
31066 PyThreadState* __tstate = wxPyBeginAllowThreads();
31067 (arg1)->GetPageSizeMM(arg2,arg3);
31068 wxPyEndAllowThreads(__tstate);
31069 if (PyErr_Occurred()) SWIG_fail;
31070 }
31071 resultobj = SWIG_Py_Void();
31072 if (SWIG_IsTmpObj(res2)) {
31073 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
31074 } else {
31075 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31076 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
31077 }
31078 if (SWIG_IsTmpObj(res3)) {
31079 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31080 } else {
31081 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31082 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31083 }
31084 return resultobj;
31085 fail:
31086 return NULL;
31087 }
31088
31089
31090 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31091 PyObject *resultobj = 0;
31092 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31093 int arg2 ;
31094 int arg3 ;
31095 void *argp1 = 0 ;
31096 int res1 = 0 ;
31097 int val2 ;
31098 int ecode2 = 0 ;
31099 int val3 ;
31100 int ecode3 = 0 ;
31101 PyObject * obj0 = 0 ;
31102 PyObject * obj1 = 0 ;
31103 PyObject * obj2 = 0 ;
31104 char * kwnames[] = {
31105 (char *) "self",(char *) "x",(char *) "y", NULL
31106 };
31107
31108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31110 if (!SWIG_IsOK(res1)) {
31111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31112 }
31113 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31114 ecode2 = SWIG_AsVal_int(obj1, &val2);
31115 if (!SWIG_IsOK(ecode2)) {
31116 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
31117 }
31118 arg2 = static_cast< int >(val2);
31119 ecode3 = SWIG_AsVal_int(obj2, &val3);
31120 if (!SWIG_IsOK(ecode3)) {
31121 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
31122 }
31123 arg3 = static_cast< int >(val3);
31124 {
31125 PyThreadState* __tstate = wxPyBeginAllowThreads();
31126 (arg1)->SetPPIScreen(arg2,arg3);
31127 wxPyEndAllowThreads(__tstate);
31128 if (PyErr_Occurred()) SWIG_fail;
31129 }
31130 resultobj = SWIG_Py_Void();
31131 return resultobj;
31132 fail:
31133 return NULL;
31134 }
31135
31136
31137 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31138 PyObject *resultobj = 0;
31139 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31140 int *arg2 = (int *) 0 ;
31141 int *arg3 = (int *) 0 ;
31142 void *argp1 = 0 ;
31143 int res1 = 0 ;
31144 int temp2 ;
31145 int res2 = SWIG_TMPOBJ ;
31146 int temp3 ;
31147 int res3 = SWIG_TMPOBJ ;
31148 PyObject *swig_obj[1] ;
31149
31150 arg2 = &temp2;
31151 arg3 = &temp3;
31152 if (!args) SWIG_fail;
31153 swig_obj[0] = args;
31154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31155 if (!SWIG_IsOK(res1)) {
31156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31157 }
31158 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31159 {
31160 PyThreadState* __tstate = wxPyBeginAllowThreads();
31161 (arg1)->GetPPIScreen(arg2,arg3);
31162 wxPyEndAllowThreads(__tstate);
31163 if (PyErr_Occurred()) SWIG_fail;
31164 }
31165 resultobj = SWIG_Py_Void();
31166 if (SWIG_IsTmpObj(res2)) {
31167 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
31168 } else {
31169 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31170 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
31171 }
31172 if (SWIG_IsTmpObj(res3)) {
31173 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31174 } else {
31175 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31176 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31177 }
31178 return resultobj;
31179 fail:
31180 return NULL;
31181 }
31182
31183
31184 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31185 PyObject *resultobj = 0;
31186 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31187 int arg2 ;
31188 int arg3 ;
31189 void *argp1 = 0 ;
31190 int res1 = 0 ;
31191 int val2 ;
31192 int ecode2 = 0 ;
31193 int val3 ;
31194 int ecode3 = 0 ;
31195 PyObject * obj0 = 0 ;
31196 PyObject * obj1 = 0 ;
31197 PyObject * obj2 = 0 ;
31198 char * kwnames[] = {
31199 (char *) "self",(char *) "x",(char *) "y", NULL
31200 };
31201
31202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31204 if (!SWIG_IsOK(res1)) {
31205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31206 }
31207 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31208 ecode2 = SWIG_AsVal_int(obj1, &val2);
31209 if (!SWIG_IsOK(ecode2)) {
31210 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
31211 }
31212 arg2 = static_cast< int >(val2);
31213 ecode3 = SWIG_AsVal_int(obj2, &val3);
31214 if (!SWIG_IsOK(ecode3)) {
31215 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
31216 }
31217 arg3 = static_cast< int >(val3);
31218 {
31219 PyThreadState* __tstate = wxPyBeginAllowThreads();
31220 (arg1)->SetPPIPrinter(arg2,arg3);
31221 wxPyEndAllowThreads(__tstate);
31222 if (PyErr_Occurred()) SWIG_fail;
31223 }
31224 resultobj = SWIG_Py_Void();
31225 return resultobj;
31226 fail:
31227 return NULL;
31228 }
31229
31230
31231 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31232 PyObject *resultobj = 0;
31233 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31234 int *arg2 = (int *) 0 ;
31235 int *arg3 = (int *) 0 ;
31236 void *argp1 = 0 ;
31237 int res1 = 0 ;
31238 int temp2 ;
31239 int res2 = SWIG_TMPOBJ ;
31240 int temp3 ;
31241 int res3 = SWIG_TMPOBJ ;
31242 PyObject *swig_obj[1] ;
31243
31244 arg2 = &temp2;
31245 arg3 = &temp3;
31246 if (!args) SWIG_fail;
31247 swig_obj[0] = args;
31248 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31249 if (!SWIG_IsOK(res1)) {
31250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31251 }
31252 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31253 {
31254 PyThreadState* __tstate = wxPyBeginAllowThreads();
31255 (arg1)->GetPPIPrinter(arg2,arg3);
31256 wxPyEndAllowThreads(__tstate);
31257 if (PyErr_Occurred()) SWIG_fail;
31258 }
31259 resultobj = SWIG_Py_Void();
31260 if (SWIG_IsTmpObj(res2)) {
31261 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
31262 } else {
31263 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31264 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
31265 }
31266 if (SWIG_IsTmpObj(res3)) {
31267 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31268 } else {
31269 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31270 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31271 }
31272 return resultobj;
31273 fail:
31274 return NULL;
31275 }
31276
31277
31278 SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31279 PyObject *resultobj = 0;
31280 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31281 wxRect *arg2 = 0 ;
31282 void *argp1 = 0 ;
31283 int res1 = 0 ;
31284 wxRect temp2 ;
31285 PyObject * obj0 = 0 ;
31286 PyObject * obj1 = 0 ;
31287 char * kwnames[] = {
31288 (char *) "self",(char *) "paperRectPixels", NULL
31289 };
31290
31291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
31292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31293 if (!SWIG_IsOK(res1)) {
31294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31295 }
31296 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31297 {
31298 arg2 = &temp2;
31299 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
31300 }
31301 {
31302 PyThreadState* __tstate = wxPyBeginAllowThreads();
31303 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
31304 wxPyEndAllowThreads(__tstate);
31305 if (PyErr_Occurred()) SWIG_fail;
31306 }
31307 resultobj = SWIG_Py_Void();
31308 return resultobj;
31309 fail:
31310 return NULL;
31311 }
31312
31313
31314 SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31315 PyObject *resultobj = 0;
31316 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31317 wxRect result;
31318 void *argp1 = 0 ;
31319 int res1 = 0 ;
31320 PyObject *swig_obj[1] ;
31321
31322 if (!args) SWIG_fail;
31323 swig_obj[0] = args;
31324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31325 if (!SWIG_IsOK(res1)) {
31326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
31327 }
31328 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31329 {
31330 PyThreadState* __tstate = wxPyBeginAllowThreads();
31331 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
31332 wxPyEndAllowThreads(__tstate);
31333 if (PyErr_Occurred()) SWIG_fail;
31334 }
31335 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
31336 return resultobj;
31337 fail:
31338 return NULL;
31339 }
31340
31341
31342 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31343 PyObject *resultobj = 0;
31344 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31345 bool result;
31346 void *argp1 = 0 ;
31347 int res1 = 0 ;
31348 PyObject *swig_obj[1] ;
31349
31350 if (!args) SWIG_fail;
31351 swig_obj[0] = args;
31352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31353 if (!SWIG_IsOK(res1)) {
31354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31355 }
31356 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31357 {
31358 PyThreadState* __tstate = wxPyBeginAllowThreads();
31359 result = (bool)(arg1)->IsPreview();
31360 wxPyEndAllowThreads(__tstate);
31361 if (PyErr_Occurred()) SWIG_fail;
31362 }
31363 {
31364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31365 }
31366 return resultobj;
31367 fail:
31368 return NULL;
31369 }
31370
31371
31372 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31373 PyObject *resultobj = 0;
31374 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31375 bool arg2 ;
31376 void *argp1 = 0 ;
31377 int res1 = 0 ;
31378 bool val2 ;
31379 int ecode2 = 0 ;
31380 PyObject * obj0 = 0 ;
31381 PyObject * obj1 = 0 ;
31382 char * kwnames[] = {
31383 (char *) "self",(char *) "p", NULL
31384 };
31385
31386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31388 if (!SWIG_IsOK(res1)) {
31389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31390 }
31391 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31392 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31393 if (!SWIG_IsOK(ecode2)) {
31394 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
31395 }
31396 arg2 = static_cast< bool >(val2);
31397 {
31398 PyThreadState* __tstate = wxPyBeginAllowThreads();
31399 (arg1)->SetIsPreview(arg2);
31400 wxPyEndAllowThreads(__tstate);
31401 if (PyErr_Occurred()) SWIG_fail;
31402 }
31403 resultobj = SWIG_Py_Void();
31404 return resultobj;
31405 fail:
31406 return NULL;
31407 }
31408
31409
31410 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31411 PyObject *resultobj = 0;
31412 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31413 int arg2 ;
31414 int arg3 ;
31415 bool result;
31416 void *argp1 = 0 ;
31417 int res1 = 0 ;
31418 int val2 ;
31419 int ecode2 = 0 ;
31420 int val3 ;
31421 int ecode3 = 0 ;
31422 PyObject * obj0 = 0 ;
31423 PyObject * obj1 = 0 ;
31424 PyObject * obj2 = 0 ;
31425 char * kwnames[] = {
31426 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
31427 };
31428
31429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31431 if (!SWIG_IsOK(res1)) {
31432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31433 }
31434 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31435 ecode2 = SWIG_AsVal_int(obj1, &val2);
31436 if (!SWIG_IsOK(ecode2)) {
31437 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
31438 }
31439 arg2 = static_cast< int >(val2);
31440 ecode3 = SWIG_AsVal_int(obj2, &val3);
31441 if (!SWIG_IsOK(ecode3)) {
31442 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
31443 }
31444 arg3 = static_cast< int >(val3);
31445 {
31446 PyThreadState* __tstate = wxPyBeginAllowThreads();
31447 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
31448 wxPyEndAllowThreads(__tstate);
31449 if (PyErr_Occurred()) SWIG_fail;
31450 }
31451 {
31452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31453 }
31454 return resultobj;
31455 fail:
31456 return NULL;
31457 }
31458
31459
31460 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31461 PyObject *resultobj = 0;
31462 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31463 void *argp1 = 0 ;
31464 int res1 = 0 ;
31465 PyObject *swig_obj[1] ;
31466
31467 if (!args) SWIG_fail;
31468 swig_obj[0] = args;
31469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31470 if (!SWIG_IsOK(res1)) {
31471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31472 }
31473 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31474 {
31475 PyThreadState* __tstate = wxPyBeginAllowThreads();
31476 (arg1)->OnEndDocument();
31477 wxPyEndAllowThreads(__tstate);
31478 if (PyErr_Occurred()) SWIG_fail;
31479 }
31480 resultobj = SWIG_Py_Void();
31481 return resultobj;
31482 fail:
31483 return NULL;
31484 }
31485
31486
31487 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31488 PyObject *resultobj = 0;
31489 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31490 void *argp1 = 0 ;
31491 int res1 = 0 ;
31492 PyObject *swig_obj[1] ;
31493
31494 if (!args) SWIG_fail;
31495 swig_obj[0] = args;
31496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31497 if (!SWIG_IsOK(res1)) {
31498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31499 }
31500 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31501 {
31502 PyThreadState* __tstate = wxPyBeginAllowThreads();
31503 (arg1)->OnBeginPrinting();
31504 wxPyEndAllowThreads(__tstate);
31505 if (PyErr_Occurred()) SWIG_fail;
31506 }
31507 resultobj = SWIG_Py_Void();
31508 return resultobj;
31509 fail:
31510 return NULL;
31511 }
31512
31513
31514 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31515 PyObject *resultobj = 0;
31516 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31517 void *argp1 = 0 ;
31518 int res1 = 0 ;
31519 PyObject *swig_obj[1] ;
31520
31521 if (!args) SWIG_fail;
31522 swig_obj[0] = args;
31523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31524 if (!SWIG_IsOK(res1)) {
31525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31526 }
31527 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31528 {
31529 PyThreadState* __tstate = wxPyBeginAllowThreads();
31530 (arg1)->OnEndPrinting();
31531 wxPyEndAllowThreads(__tstate);
31532 if (PyErr_Occurred()) SWIG_fail;
31533 }
31534 resultobj = SWIG_Py_Void();
31535 return resultobj;
31536 fail:
31537 return NULL;
31538 }
31539
31540
31541 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31542 PyObject *resultobj = 0;
31543 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31544 void *argp1 = 0 ;
31545 int res1 = 0 ;
31546 PyObject *swig_obj[1] ;
31547
31548 if (!args) SWIG_fail;
31549 swig_obj[0] = args;
31550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31551 if (!SWIG_IsOK(res1)) {
31552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31553 }
31554 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31555 {
31556 PyThreadState* __tstate = wxPyBeginAllowThreads();
31557 (arg1)->OnPreparePrinting();
31558 wxPyEndAllowThreads(__tstate);
31559 if (PyErr_Occurred()) SWIG_fail;
31560 }
31561 resultobj = SWIG_Py_Void();
31562 return resultobj;
31563 fail:
31564 return NULL;
31565 }
31566
31567
31568 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31569 PyObject *resultobj = 0;
31570 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31571 int arg2 ;
31572 bool result;
31573 void *argp1 = 0 ;
31574 int res1 = 0 ;
31575 int val2 ;
31576 int ecode2 = 0 ;
31577 PyObject * obj0 = 0 ;
31578 PyObject * obj1 = 0 ;
31579 char * kwnames[] = {
31580 (char *) "self",(char *) "page", NULL
31581 };
31582
31583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
31584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31585 if (!SWIG_IsOK(res1)) {
31586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31587 }
31588 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31589 ecode2 = SWIG_AsVal_int(obj1, &val2);
31590 if (!SWIG_IsOK(ecode2)) {
31591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
31592 }
31593 arg2 = static_cast< int >(val2);
31594 {
31595 PyThreadState* __tstate = wxPyBeginAllowThreads();
31596 result = (bool)(arg1)->HasPage(arg2);
31597 wxPyEndAllowThreads(__tstate);
31598 if (PyErr_Occurred()) SWIG_fail;
31599 }
31600 {
31601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31602 }
31603 return resultobj;
31604 fail:
31605 return NULL;
31606 }
31607
31608
31609 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31610 PyObject *resultobj = 0;
31611 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31612 int *arg2 = (int *) 0 ;
31613 int *arg3 = (int *) 0 ;
31614 int *arg4 = (int *) 0 ;
31615 int *arg5 = (int *) 0 ;
31616 void *argp1 = 0 ;
31617 int res1 = 0 ;
31618 int temp2 ;
31619 int res2 = SWIG_TMPOBJ ;
31620 int temp3 ;
31621 int res3 = SWIG_TMPOBJ ;
31622 int temp4 ;
31623 int res4 = SWIG_TMPOBJ ;
31624 int temp5 ;
31625 int res5 = SWIG_TMPOBJ ;
31626 PyObject *swig_obj[1] ;
31627
31628 arg2 = &temp2;
31629 arg3 = &temp3;
31630 arg4 = &temp4;
31631 arg5 = &temp5;
31632 if (!args) SWIG_fail;
31633 swig_obj[0] = args;
31634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31635 if (!SWIG_IsOK(res1)) {
31636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31637 }
31638 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31639 {
31640 PyThreadState* __tstate = wxPyBeginAllowThreads();
31641 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
31642 wxPyEndAllowThreads(__tstate);
31643 if (PyErr_Occurred()) SWIG_fail;
31644 }
31645 resultobj = SWIG_Py_Void();
31646 if (SWIG_IsTmpObj(res2)) {
31647 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
31648 } else {
31649 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31650 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
31651 }
31652 if (SWIG_IsTmpObj(res3)) {
31653 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31654 } else {
31655 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31656 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31657 }
31658 if (SWIG_IsTmpObj(res4)) {
31659 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
31660 } else {
31661 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31662 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
31663 }
31664 if (SWIG_IsTmpObj(res5)) {
31665 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
31666 } else {
31667 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31668 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
31669 }
31670 return resultobj;
31671 fail:
31672 return NULL;
31673 }
31674
31675
31676 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31677 PyObject *obj;
31678 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31679 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
31680 return SWIG_Py_Void();
31681 }
31682
31683 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31684 return SWIG_Python_InitShadowInstance(args);
31685 }
31686
31687 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31688 PyObject *resultobj = 0;
31689 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31690 wxWindow *arg2 = (wxWindow *) 0 ;
31691 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31692 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31693 wxSize const &arg4_defvalue = wxDefaultSize ;
31694 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31695 long arg5 = (long) 0 ;
31696 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
31697 wxString *arg6 = (wxString *) &arg6_defvalue ;
31698 wxPreviewCanvas *result = 0 ;
31699 void *argp1 = 0 ;
31700 int res1 = 0 ;
31701 void *argp2 = 0 ;
31702 int res2 = 0 ;
31703 wxPoint temp3 ;
31704 wxSize temp4 ;
31705 long val5 ;
31706 int ecode5 = 0 ;
31707 bool temp6 = false ;
31708 PyObject * obj0 = 0 ;
31709 PyObject * obj1 = 0 ;
31710 PyObject * obj2 = 0 ;
31711 PyObject * obj3 = 0 ;
31712 PyObject * obj4 = 0 ;
31713 PyObject * obj5 = 0 ;
31714 char * kwnames[] = {
31715 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31716 };
31717
31718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
31719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31720 if (!SWIG_IsOK(res1)) {
31721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31722 }
31723 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31724 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
31725 if (!SWIG_IsOK(res2)) {
31726 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
31727 }
31728 arg2 = reinterpret_cast< wxWindow * >(argp2);
31729 if (obj2) {
31730 {
31731 arg3 = &temp3;
31732 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31733 }
31734 }
31735 if (obj3) {
31736 {
31737 arg4 = &temp4;
31738 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31739 }
31740 }
31741 if (obj4) {
31742 ecode5 = SWIG_AsVal_long(obj4, &val5);
31743 if (!SWIG_IsOK(ecode5)) {
31744 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
31745 }
31746 arg5 = static_cast< long >(val5);
31747 }
31748 if (obj5) {
31749 {
31750 arg6 = wxString_in_helper(obj5);
31751 if (arg6 == NULL) SWIG_fail;
31752 temp6 = true;
31753 }
31754 }
31755 {
31756 if (!wxPyCheckForApp()) SWIG_fail;
31757 PyThreadState* __tstate = wxPyBeginAllowThreads();
31758 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
31759 wxPyEndAllowThreads(__tstate);
31760 if (PyErr_Occurred()) SWIG_fail;
31761 }
31762 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
31763 {
31764 if (temp6)
31765 delete arg6;
31766 }
31767 return resultobj;
31768 fail:
31769 {
31770 if (temp6)
31771 delete arg6;
31772 }
31773 return NULL;
31774 }
31775
31776
31777 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31778 PyObject *obj;
31779 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31780 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
31781 return SWIG_Py_Void();
31782 }
31783
31784 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31785 return SWIG_Python_InitShadowInstance(args);
31786 }
31787
31788 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31789 PyObject *resultobj = 0;
31790 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31791 wxFrame *arg2 = (wxFrame *) 0 ;
31792 wxString *arg3 = 0 ;
31793 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31794 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31795 wxSize const &arg5_defvalue = wxDefaultSize ;
31796 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31797 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
31798 wxString const &arg7_defvalue = wxPyFrameNameStr ;
31799 wxString *arg7 = (wxString *) &arg7_defvalue ;
31800 wxPreviewFrame *result = 0 ;
31801 int res1 = 0 ;
31802 void *argp2 = 0 ;
31803 int res2 = 0 ;
31804 bool temp3 = false ;
31805 wxPoint temp4 ;
31806 wxSize temp5 ;
31807 long val6 ;
31808 int ecode6 = 0 ;
31809 bool temp7 = false ;
31810 PyObject * obj0 = 0 ;
31811 PyObject * obj1 = 0 ;
31812 PyObject * obj2 = 0 ;
31813 PyObject * obj3 = 0 ;
31814 PyObject * obj4 = 0 ;
31815 PyObject * obj5 = 0 ;
31816 PyObject * obj6 = 0 ;
31817 char * kwnames[] = {
31818 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31819 };
31820
31821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31822 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31823 if (!SWIG_IsOK(res1)) {
31824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31825 }
31826 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
31827 if (!SWIG_IsOK(res2)) {
31828 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31829 }
31830 arg2 = reinterpret_cast< wxFrame * >(argp2);
31831 {
31832 arg3 = wxString_in_helper(obj2);
31833 if (arg3 == NULL) SWIG_fail;
31834 temp3 = true;
31835 }
31836 if (obj3) {
31837 {
31838 arg4 = &temp4;
31839 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31840 }
31841 }
31842 if (obj4) {
31843 {
31844 arg5 = &temp5;
31845 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31846 }
31847 }
31848 if (obj5) {
31849 ecode6 = SWIG_AsVal_long(obj5, &val6);
31850 if (!SWIG_IsOK(ecode6)) {
31851 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
31852 }
31853 arg6 = static_cast< long >(val6);
31854 }
31855 if (obj6) {
31856 {
31857 arg7 = wxString_in_helper(obj6);
31858 if (arg7 == NULL) SWIG_fail;
31859 temp7 = true;
31860 }
31861 }
31862 {
31863 if (!wxPyCheckForApp()) SWIG_fail;
31864 PyThreadState* __tstate = wxPyBeginAllowThreads();
31865 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31866 wxPyEndAllowThreads(__tstate);
31867 if (PyErr_Occurred()) SWIG_fail;
31868 }
31869 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
31870 {
31871 if (temp3)
31872 delete arg3;
31873 }
31874 {
31875 if (temp7)
31876 delete arg7;
31877 }
31878 return resultobj;
31879 fail:
31880 {
31881 if (temp3)
31882 delete arg3;
31883 }
31884 {
31885 if (temp7)
31886 delete arg7;
31887 }
31888 return NULL;
31889 }
31890
31891
31892 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31893 PyObject *resultobj = 0;
31894 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31895 void *argp1 = 0 ;
31896 int res1 = 0 ;
31897 PyObject *swig_obj[1] ;
31898
31899 if (!args) SWIG_fail;
31900 swig_obj[0] = args;
31901 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31902 if (!SWIG_IsOK(res1)) {
31903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31904 }
31905 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
31906 {
31907 PyThreadState* __tstate = wxPyBeginAllowThreads();
31908 (arg1)->Initialize();
31909 wxPyEndAllowThreads(__tstate);
31910 if (PyErr_Occurred()) SWIG_fail;
31911 }
31912 resultobj = SWIG_Py_Void();
31913 return resultobj;
31914 fail:
31915 return NULL;
31916 }
31917
31918
31919 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31920 PyObject *resultobj = 0;
31921 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31922 void *argp1 = 0 ;
31923 int res1 = 0 ;
31924 PyObject *swig_obj[1] ;
31925
31926 if (!args) SWIG_fail;
31927 swig_obj[0] = args;
31928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31929 if (!SWIG_IsOK(res1)) {
31930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31931 }
31932 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
31933 {
31934 PyThreadState* __tstate = wxPyBeginAllowThreads();
31935 (arg1)->CreateControlBar();
31936 wxPyEndAllowThreads(__tstate);
31937 if (PyErr_Occurred()) SWIG_fail;
31938 }
31939 resultobj = SWIG_Py_Void();
31940 return resultobj;
31941 fail:
31942 return NULL;
31943 }
31944
31945
31946 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31947 PyObject *resultobj = 0;
31948 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31949 void *argp1 = 0 ;
31950 int res1 = 0 ;
31951 PyObject *swig_obj[1] ;
31952
31953 if (!args) SWIG_fail;
31954 swig_obj[0] = args;
31955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31956 if (!SWIG_IsOK(res1)) {
31957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31958 }
31959 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
31960 {
31961 PyThreadState* __tstate = wxPyBeginAllowThreads();
31962 (arg1)->CreateCanvas();
31963 wxPyEndAllowThreads(__tstate);
31964 if (PyErr_Occurred()) SWIG_fail;
31965 }
31966 resultobj = SWIG_Py_Void();
31967 return resultobj;
31968 fail:
31969 return NULL;
31970 }
31971
31972
31973 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31974 PyObject *resultobj = 0;
31975 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31976 wxPreviewControlBar *result = 0 ;
31977 void *argp1 = 0 ;
31978 int res1 = 0 ;
31979 PyObject *swig_obj[1] ;
31980
31981 if (!args) SWIG_fail;
31982 swig_obj[0] = args;
31983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31984 if (!SWIG_IsOK(res1)) {
31985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
31986 }
31987 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
31988 {
31989 PyThreadState* __tstate = wxPyBeginAllowThreads();
31990 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
31991 wxPyEndAllowThreads(__tstate);
31992 if (PyErr_Occurred()) SWIG_fail;
31993 }
31994 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31995 return resultobj;
31996 fail:
31997 return NULL;
31998 }
31999
32000
32001 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32002 PyObject *obj;
32003 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32004 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
32005 return SWIG_Py_Void();
32006 }
32007
32008 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32009 return SWIG_Python_InitShadowInstance(args);
32010 }
32011
32012 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32013 PyObject *resultobj = 0;
32014 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32015 long arg2 ;
32016 wxWindow *arg3 = (wxWindow *) 0 ;
32017 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32018 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32019 wxSize const &arg5_defvalue = wxDefaultSize ;
32020 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32021 long arg6 = (long) wxTAB_TRAVERSAL ;
32022 wxString const &arg7_defvalue = wxPyPanelNameStr ;
32023 wxString *arg7 = (wxString *) &arg7_defvalue ;
32024 wxPreviewControlBar *result = 0 ;
32025 void *argp1 = 0 ;
32026 int res1 = 0 ;
32027 long val2 ;
32028 int ecode2 = 0 ;
32029 void *argp3 = 0 ;
32030 int res3 = 0 ;
32031 wxPoint temp4 ;
32032 wxSize temp5 ;
32033 long val6 ;
32034 int ecode6 = 0 ;
32035 bool temp7 = false ;
32036 PyObject * obj0 = 0 ;
32037 PyObject * obj1 = 0 ;
32038 PyObject * obj2 = 0 ;
32039 PyObject * obj3 = 0 ;
32040 PyObject * obj4 = 0 ;
32041 PyObject * obj5 = 0 ;
32042 PyObject * obj6 = 0 ;
32043 char * kwnames[] = {
32044 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
32045 };
32046
32047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
32048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32049 if (!SWIG_IsOK(res1)) {
32050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32051 }
32052 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32053 ecode2 = SWIG_AsVal_long(obj1, &val2);
32054 if (!SWIG_IsOK(ecode2)) {
32055 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
32056 }
32057 arg2 = static_cast< long >(val2);
32058 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
32059 if (!SWIG_IsOK(res3)) {
32060 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
32061 }
32062 arg3 = reinterpret_cast< wxWindow * >(argp3);
32063 if (obj3) {
32064 {
32065 arg4 = &temp4;
32066 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32067 }
32068 }
32069 if (obj4) {
32070 {
32071 arg5 = &temp5;
32072 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32073 }
32074 }
32075 if (obj5) {
32076 ecode6 = SWIG_AsVal_long(obj5, &val6);
32077 if (!SWIG_IsOK(ecode6)) {
32078 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
32079 }
32080 arg6 = static_cast< long >(val6);
32081 }
32082 if (obj6) {
32083 {
32084 arg7 = wxString_in_helper(obj6);
32085 if (arg7 == NULL) SWIG_fail;
32086 temp7 = true;
32087 }
32088 }
32089 {
32090 if (!wxPyCheckForApp()) SWIG_fail;
32091 PyThreadState* __tstate = wxPyBeginAllowThreads();
32092 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
32093 wxPyEndAllowThreads(__tstate);
32094 if (PyErr_Occurred()) SWIG_fail;
32095 }
32096 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
32097 {
32098 if (temp7)
32099 delete arg7;
32100 }
32101 return resultobj;
32102 fail:
32103 {
32104 if (temp7)
32105 delete arg7;
32106 }
32107 return NULL;
32108 }
32109
32110
32111 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32112 PyObject *resultobj = 0;
32113 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32114 int result;
32115 void *argp1 = 0 ;
32116 int res1 = 0 ;
32117 PyObject *swig_obj[1] ;
32118
32119 if (!args) SWIG_fail;
32120 swig_obj[0] = args;
32121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32122 if (!SWIG_IsOK(res1)) {
32123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32124 }
32125 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32126 {
32127 PyThreadState* __tstate = wxPyBeginAllowThreads();
32128 result = (int)(arg1)->GetZoomControl();
32129 wxPyEndAllowThreads(__tstate);
32130 if (PyErr_Occurred()) SWIG_fail;
32131 }
32132 resultobj = SWIG_From_int(static_cast< int >(result));
32133 return resultobj;
32134 fail:
32135 return NULL;
32136 }
32137
32138
32139 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32140 PyObject *resultobj = 0;
32141 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32142 int arg2 ;
32143 void *argp1 = 0 ;
32144 int res1 = 0 ;
32145 int val2 ;
32146 int ecode2 = 0 ;
32147 PyObject * obj0 = 0 ;
32148 PyObject * obj1 = 0 ;
32149 char * kwnames[] = {
32150 (char *) "self",(char *) "zoom", NULL
32151 };
32152
32153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
32154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32155 if (!SWIG_IsOK(res1)) {
32156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32157 }
32158 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32159 ecode2 = SWIG_AsVal_int(obj1, &val2);
32160 if (!SWIG_IsOK(ecode2)) {
32161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
32162 }
32163 arg2 = static_cast< int >(val2);
32164 {
32165 PyThreadState* __tstate = wxPyBeginAllowThreads();
32166 (arg1)->SetZoomControl(arg2);
32167 wxPyEndAllowThreads(__tstate);
32168 if (PyErr_Occurred()) SWIG_fail;
32169 }
32170 resultobj = SWIG_Py_Void();
32171 return resultobj;
32172 fail:
32173 return NULL;
32174 }
32175
32176
32177 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32178 PyObject *resultobj = 0;
32179 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32180 wxPrintPreview *result = 0 ;
32181 void *argp1 = 0 ;
32182 int res1 = 0 ;
32183 PyObject *swig_obj[1] ;
32184
32185 if (!args) SWIG_fail;
32186 swig_obj[0] = args;
32187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32188 if (!SWIG_IsOK(res1)) {
32189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32190 }
32191 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32192 {
32193 PyThreadState* __tstate = wxPyBeginAllowThreads();
32194 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
32195 wxPyEndAllowThreads(__tstate);
32196 if (PyErr_Occurred()) SWIG_fail;
32197 }
32198 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32199 return resultobj;
32200 fail:
32201 return NULL;
32202 }
32203
32204
32205 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32206 PyObject *resultobj = 0;
32207 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32208 void *argp1 = 0 ;
32209 int res1 = 0 ;
32210 PyObject *swig_obj[1] ;
32211
32212 if (!args) SWIG_fail;
32213 swig_obj[0] = args;
32214 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32215 if (!SWIG_IsOK(res1)) {
32216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32217 }
32218 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32219 {
32220 PyThreadState* __tstate = wxPyBeginAllowThreads();
32221 (arg1)->OnNext();
32222 wxPyEndAllowThreads(__tstate);
32223 if (PyErr_Occurred()) SWIG_fail;
32224 }
32225 resultobj = SWIG_Py_Void();
32226 return resultobj;
32227 fail:
32228 return NULL;
32229 }
32230
32231
32232 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32233 PyObject *resultobj = 0;
32234 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32235 void *argp1 = 0 ;
32236 int res1 = 0 ;
32237 PyObject *swig_obj[1] ;
32238
32239 if (!args) SWIG_fail;
32240 swig_obj[0] = args;
32241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32242 if (!SWIG_IsOK(res1)) {
32243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32244 }
32245 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32246 {
32247 PyThreadState* __tstate = wxPyBeginAllowThreads();
32248 (arg1)->OnPrevious();
32249 wxPyEndAllowThreads(__tstate);
32250 if (PyErr_Occurred()) SWIG_fail;
32251 }
32252 resultobj = SWIG_Py_Void();
32253 return resultobj;
32254 fail:
32255 return NULL;
32256 }
32257
32258
32259 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32260 PyObject *resultobj = 0;
32261 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32262 void *argp1 = 0 ;
32263 int res1 = 0 ;
32264 PyObject *swig_obj[1] ;
32265
32266 if (!args) SWIG_fail;
32267 swig_obj[0] = args;
32268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32269 if (!SWIG_IsOK(res1)) {
32270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32271 }
32272 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32273 {
32274 PyThreadState* __tstate = wxPyBeginAllowThreads();
32275 (arg1)->OnFirst();
32276 wxPyEndAllowThreads(__tstate);
32277 if (PyErr_Occurred()) SWIG_fail;
32278 }
32279 resultobj = SWIG_Py_Void();
32280 return resultobj;
32281 fail:
32282 return NULL;
32283 }
32284
32285
32286 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32287 PyObject *resultobj = 0;
32288 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32289 void *argp1 = 0 ;
32290 int res1 = 0 ;
32291 PyObject *swig_obj[1] ;
32292
32293 if (!args) SWIG_fail;
32294 swig_obj[0] = args;
32295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32296 if (!SWIG_IsOK(res1)) {
32297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32298 }
32299 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32300 {
32301 PyThreadState* __tstate = wxPyBeginAllowThreads();
32302 (arg1)->OnLast();
32303 wxPyEndAllowThreads(__tstate);
32304 if (PyErr_Occurred()) SWIG_fail;
32305 }
32306 resultobj = SWIG_Py_Void();
32307 return resultobj;
32308 fail:
32309 return NULL;
32310 }
32311
32312
32313 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32314 PyObject *resultobj = 0;
32315 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32316 void *argp1 = 0 ;
32317 int res1 = 0 ;
32318 PyObject *swig_obj[1] ;
32319
32320 if (!args) SWIG_fail;
32321 swig_obj[0] = args;
32322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32323 if (!SWIG_IsOK(res1)) {
32324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32325 }
32326 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32327 {
32328 PyThreadState* __tstate = wxPyBeginAllowThreads();
32329 (arg1)->OnGoto();
32330 wxPyEndAllowThreads(__tstate);
32331 if (PyErr_Occurred()) SWIG_fail;
32332 }
32333 resultobj = SWIG_Py_Void();
32334 return resultobj;
32335 fail:
32336 return NULL;
32337 }
32338
32339
32340 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32341 PyObject *obj;
32342 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32343 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
32344 return SWIG_Py_Void();
32345 }
32346
32347 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32348 return SWIG_Python_InitShadowInstance(args);
32349 }
32350
32351 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
32352 PyObject *resultobj = 0;
32353 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
32354 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
32355 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
32356 wxPrintPreview *result = 0 ;
32357 int res1 = 0 ;
32358 int res2 = 0 ;
32359 void *argp3 = 0 ;
32360 int res3 = 0 ;
32361
32362 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
32363 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32364 if (!SWIG_IsOK(res1)) {
32365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
32366 }
32367 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32368 if (!SWIG_IsOK(res2)) {
32369 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32370 }
32371 if (swig_obj[2]) {
32372 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
32373 if (!SWIG_IsOK(res3)) {
32374 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
32375 }
32376 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
32377 }
32378 {
32379 if (!wxPyCheckForApp()) SWIG_fail;
32380 PyThreadState* __tstate = wxPyBeginAllowThreads();
32381 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
32382 wxPyEndAllowThreads(__tstate);
32383 if (PyErr_Occurred()) SWIG_fail;
32384 }
32385 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
32386 return resultobj;
32387 fail:
32388 return NULL;
32389 }
32390
32391
32392 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
32393 PyObject *resultobj = 0;
32394 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
32395 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
32396 wxPrintData *arg3 = (wxPrintData *) 0 ;
32397 wxPrintPreview *result = 0 ;
32398 int res1 = 0 ;
32399 int res2 = 0 ;
32400 void *argp3 = 0 ;
32401 int res3 = 0 ;
32402
32403 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
32404 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32405 if (!SWIG_IsOK(res1)) {
32406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
32407 }
32408 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32409 if (!SWIG_IsOK(res2)) {
32410 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32411 }
32412 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
32413 if (!SWIG_IsOK(res3)) {
32414 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
32415 }
32416 arg3 = reinterpret_cast< wxPrintData * >(argp3);
32417 {
32418 if (!wxPyCheckForApp()) SWIG_fail;
32419 PyThreadState* __tstate = wxPyBeginAllowThreads();
32420 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
32421 wxPyEndAllowThreads(__tstate);
32422 if (PyErr_Occurred()) SWIG_fail;
32423 }
32424 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
32425 return resultobj;
32426 fail:
32427 return NULL;
32428 }
32429
32430
32431 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
32432 int argc;
32433 PyObject *argv[4];
32434
32435 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
32436 --argc;
32437 if ((argc >= 2) && (argc <= 3)) {
32438 int _v = 0;
32439 if (argc > 2) {
32440 {
32441 void *vptr = 0;
32442 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
32443 _v = SWIG_CheckState(res);
32444 }
32445 if (!_v) goto check_1;
32446 }
32447 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
32448 }
32449 check_1:
32450
32451 if (argc == 3) {
32452 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
32453 }
32454
32455 fail:
32456 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
32457 return NULL;
32458 }
32459
32460
32461 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32462 PyObject *resultobj = 0;
32463 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32464 void *argp1 = 0 ;
32465 int res1 = 0 ;
32466 PyObject *swig_obj[1] ;
32467
32468 if (!args) SWIG_fail;
32469 swig_obj[0] = args;
32470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
32471 if (!SWIG_IsOK(res1)) {
32472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32473 }
32474 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32475 {
32476 PyThreadState* __tstate = wxPyBeginAllowThreads();
32477 delete arg1;
32478
32479 wxPyEndAllowThreads(__tstate);
32480 if (PyErr_Occurred()) SWIG_fail;
32481 }
32482 resultobj = SWIG_Py_Void();
32483 return resultobj;
32484 fail:
32485 return NULL;
32486 }
32487
32488
32489 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32490 PyObject *resultobj = 0;
32491 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32492 int arg2 ;
32493 bool result;
32494 void *argp1 = 0 ;
32495 int res1 = 0 ;
32496 int val2 ;
32497 int ecode2 = 0 ;
32498 PyObject * obj0 = 0 ;
32499 PyObject * obj1 = 0 ;
32500 char * kwnames[] = {
32501 (char *) "self",(char *) "pageNum", NULL
32502 };
32503
32504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
32505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32506 if (!SWIG_IsOK(res1)) {
32507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32508 }
32509 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32510 ecode2 = SWIG_AsVal_int(obj1, &val2);
32511 if (!SWIG_IsOK(ecode2)) {
32512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
32513 }
32514 arg2 = static_cast< int >(val2);
32515 {
32516 PyThreadState* __tstate = wxPyBeginAllowThreads();
32517 result = (bool)(arg1)->SetCurrentPage(arg2);
32518 wxPyEndAllowThreads(__tstate);
32519 if (PyErr_Occurred()) SWIG_fail;
32520 }
32521 {
32522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32523 }
32524 return resultobj;
32525 fail:
32526 return NULL;
32527 }
32528
32529
32530 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32531 PyObject *resultobj = 0;
32532 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32533 int result;
32534 void *argp1 = 0 ;
32535 int res1 = 0 ;
32536 PyObject *swig_obj[1] ;
32537
32538 if (!args) SWIG_fail;
32539 swig_obj[0] = args;
32540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32541 if (!SWIG_IsOK(res1)) {
32542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32543 }
32544 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32545 {
32546 PyThreadState* __tstate = wxPyBeginAllowThreads();
32547 result = (int)(arg1)->GetCurrentPage();
32548 wxPyEndAllowThreads(__tstate);
32549 if (PyErr_Occurred()) SWIG_fail;
32550 }
32551 resultobj = SWIG_From_int(static_cast< int >(result));
32552 return resultobj;
32553 fail:
32554 return NULL;
32555 }
32556
32557
32558 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32559 PyObject *resultobj = 0;
32560 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32561 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
32562 void *argp1 = 0 ;
32563 int res1 = 0 ;
32564 int res2 = 0 ;
32565 PyObject * obj0 = 0 ;
32566 PyObject * obj1 = 0 ;
32567 char * kwnames[] = {
32568 (char *) "self",(char *) "printout", NULL
32569 };
32570
32571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
32572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32573 if (!SWIG_IsOK(res1)) {
32574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32575 }
32576 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32577 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32578 if (!SWIG_IsOK(res2)) {
32579 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32580 }
32581 {
32582 PyThreadState* __tstate = wxPyBeginAllowThreads();
32583 (arg1)->SetPrintout(arg2);
32584 wxPyEndAllowThreads(__tstate);
32585 if (PyErr_Occurred()) SWIG_fail;
32586 }
32587 resultobj = SWIG_Py_Void();
32588 return resultobj;
32589 fail:
32590 return NULL;
32591 }
32592
32593
32594 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32595 PyObject *resultobj = 0;
32596 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32597 wxPyPrintout *result = 0 ;
32598 void *argp1 = 0 ;
32599 int res1 = 0 ;
32600 PyObject *swig_obj[1] ;
32601
32602 if (!args) SWIG_fail;
32603 swig_obj[0] = args;
32604 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32605 if (!SWIG_IsOK(res1)) {
32606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32607 }
32608 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32609 {
32610 PyThreadState* __tstate = wxPyBeginAllowThreads();
32611 result = (wxPyPrintout *)(arg1)->GetPrintout();
32612 wxPyEndAllowThreads(__tstate);
32613 if (PyErr_Occurred()) SWIG_fail;
32614 }
32615 {
32616 resultobj = wxPyMake_wxObject(result, 0);
32617 }
32618 return resultobj;
32619 fail:
32620 return NULL;
32621 }
32622
32623
32624 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32625 PyObject *resultobj = 0;
32626 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32627 wxPyPrintout *result = 0 ;
32628 void *argp1 = 0 ;
32629 int res1 = 0 ;
32630 PyObject *swig_obj[1] ;
32631
32632 if (!args) SWIG_fail;
32633 swig_obj[0] = args;
32634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32635 if (!SWIG_IsOK(res1)) {
32636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32637 }
32638 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32639 {
32640 PyThreadState* __tstate = wxPyBeginAllowThreads();
32641 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
32642 wxPyEndAllowThreads(__tstate);
32643 if (PyErr_Occurred()) SWIG_fail;
32644 }
32645 {
32646 resultobj = wxPyMake_wxObject(result, 0);
32647 }
32648 return resultobj;
32649 fail:
32650 return NULL;
32651 }
32652
32653
32654 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32655 PyObject *resultobj = 0;
32656 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32657 wxFrame *arg2 = (wxFrame *) 0 ;
32658 void *argp1 = 0 ;
32659 int res1 = 0 ;
32660 void *argp2 = 0 ;
32661 int res2 = 0 ;
32662 PyObject * obj0 = 0 ;
32663 PyObject * obj1 = 0 ;
32664 char * kwnames[] = {
32665 (char *) "self",(char *) "frame", NULL
32666 };
32667
32668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
32669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32670 if (!SWIG_IsOK(res1)) {
32671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32672 }
32673 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32674 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
32675 if (!SWIG_IsOK(res2)) {
32676 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
32677 }
32678 arg2 = reinterpret_cast< wxFrame * >(argp2);
32679 {
32680 PyThreadState* __tstate = wxPyBeginAllowThreads();
32681 (arg1)->SetFrame(arg2);
32682 wxPyEndAllowThreads(__tstate);
32683 if (PyErr_Occurred()) SWIG_fail;
32684 }
32685 resultobj = SWIG_Py_Void();
32686 return resultobj;
32687 fail:
32688 return NULL;
32689 }
32690
32691
32692 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32693 PyObject *resultobj = 0;
32694 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32695 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32696 void *argp1 = 0 ;
32697 int res1 = 0 ;
32698 void *argp2 = 0 ;
32699 int res2 = 0 ;
32700 PyObject * obj0 = 0 ;
32701 PyObject * obj1 = 0 ;
32702 char * kwnames[] = {
32703 (char *) "self",(char *) "canvas", NULL
32704 };
32705
32706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
32707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32708 if (!SWIG_IsOK(res1)) {
32709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32710 }
32711 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32712 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32713 if (!SWIG_IsOK(res2)) {
32714 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32715 }
32716 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32717 {
32718 PyThreadState* __tstate = wxPyBeginAllowThreads();
32719 (arg1)->SetCanvas(arg2);
32720 wxPyEndAllowThreads(__tstate);
32721 if (PyErr_Occurred()) SWIG_fail;
32722 }
32723 resultobj = SWIG_Py_Void();
32724 return resultobj;
32725 fail:
32726 return NULL;
32727 }
32728
32729
32730 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32731 PyObject *resultobj = 0;
32732 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32733 wxFrame *result = 0 ;
32734 void *argp1 = 0 ;
32735 int res1 = 0 ;
32736 PyObject *swig_obj[1] ;
32737
32738 if (!args) SWIG_fail;
32739 swig_obj[0] = args;
32740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32741 if (!SWIG_IsOK(res1)) {
32742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32743 }
32744 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32745 {
32746 PyThreadState* __tstate = wxPyBeginAllowThreads();
32747 result = (wxFrame *)(arg1)->GetFrame();
32748 wxPyEndAllowThreads(__tstate);
32749 if (PyErr_Occurred()) SWIG_fail;
32750 }
32751 {
32752 resultobj = wxPyMake_wxObject(result, 0);
32753 }
32754 return resultobj;
32755 fail:
32756 return NULL;
32757 }
32758
32759
32760 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32761 PyObject *resultobj = 0;
32762 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32763 wxPreviewCanvas *result = 0 ;
32764 void *argp1 = 0 ;
32765 int res1 = 0 ;
32766 PyObject *swig_obj[1] ;
32767
32768 if (!args) SWIG_fail;
32769 swig_obj[0] = args;
32770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32771 if (!SWIG_IsOK(res1)) {
32772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32773 }
32774 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32775 {
32776 PyThreadState* __tstate = wxPyBeginAllowThreads();
32777 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
32778 wxPyEndAllowThreads(__tstate);
32779 if (PyErr_Occurred()) SWIG_fail;
32780 }
32781 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32782 return resultobj;
32783 fail:
32784 return NULL;
32785 }
32786
32787
32788 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32789 PyObject *resultobj = 0;
32790 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32791 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32792 wxDC *arg3 = 0 ;
32793 bool result;
32794 void *argp1 = 0 ;
32795 int res1 = 0 ;
32796 void *argp2 = 0 ;
32797 int res2 = 0 ;
32798 void *argp3 = 0 ;
32799 int res3 = 0 ;
32800 PyObject * obj0 = 0 ;
32801 PyObject * obj1 = 0 ;
32802 PyObject * obj2 = 0 ;
32803 char * kwnames[] = {
32804 (char *) "self",(char *) "canvas",(char *) "dc", NULL
32805 };
32806
32807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32809 if (!SWIG_IsOK(res1)) {
32810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32811 }
32812 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32813 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32814 if (!SWIG_IsOK(res2)) {
32815 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32816 }
32817 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32818 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
32819 if (!SWIG_IsOK(res3)) {
32820 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
32821 }
32822 if (!argp3) {
32823 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
32824 }
32825 arg3 = reinterpret_cast< wxDC * >(argp3);
32826 {
32827 PyThreadState* __tstate = wxPyBeginAllowThreads();
32828 result = (bool)(arg1)->PaintPage(arg2,*arg3);
32829 wxPyEndAllowThreads(__tstate);
32830 if (PyErr_Occurred()) SWIG_fail;
32831 }
32832 {
32833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32834 }
32835 return resultobj;
32836 fail:
32837 return NULL;
32838 }
32839
32840
32841 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32842 PyObject *resultobj = 0;
32843 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32844 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32845 wxDC *arg3 = 0 ;
32846 bool result;
32847 void *argp1 = 0 ;
32848 int res1 = 0 ;
32849 void *argp2 = 0 ;
32850 int res2 = 0 ;
32851 void *argp3 = 0 ;
32852 int res3 = 0 ;
32853 PyObject * obj0 = 0 ;
32854 PyObject * obj1 = 0 ;
32855 PyObject * obj2 = 0 ;
32856 char * kwnames[] = {
32857 (char *) "self",(char *) "canvas",(char *) "dc", NULL
32858 };
32859
32860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32862 if (!SWIG_IsOK(res1)) {
32863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32864 }
32865 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32866 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32867 if (!SWIG_IsOK(res2)) {
32868 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32869 }
32870 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32871 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
32872 if (!SWIG_IsOK(res3)) {
32873 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
32874 }
32875 if (!argp3) {
32876 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
32877 }
32878 arg3 = reinterpret_cast< wxDC * >(argp3);
32879 {
32880 PyThreadState* __tstate = wxPyBeginAllowThreads();
32881 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
32882 wxPyEndAllowThreads(__tstate);
32883 if (PyErr_Occurred()) SWIG_fail;
32884 }
32885 {
32886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32887 }
32888 return resultobj;
32889 fail:
32890 return NULL;
32891 }
32892
32893
32894 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32895 PyObject *resultobj = 0;
32896 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32897 int arg2 ;
32898 bool result;
32899 void *argp1 = 0 ;
32900 int res1 = 0 ;
32901 int val2 ;
32902 int ecode2 = 0 ;
32903 PyObject * obj0 = 0 ;
32904 PyObject * obj1 = 0 ;
32905 char * kwnames[] = {
32906 (char *) "self",(char *) "pageNum", NULL
32907 };
32908
32909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
32910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32911 if (!SWIG_IsOK(res1)) {
32912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32913 }
32914 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32915 ecode2 = SWIG_AsVal_int(obj1, &val2);
32916 if (!SWIG_IsOK(ecode2)) {
32917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
32918 }
32919 arg2 = static_cast< int >(val2);
32920 {
32921 PyThreadState* __tstate = wxPyBeginAllowThreads();
32922 result = (bool)(arg1)->RenderPage(arg2);
32923 wxPyEndAllowThreads(__tstate);
32924 if (PyErr_Occurred()) SWIG_fail;
32925 }
32926 {
32927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32928 }
32929 return resultobj;
32930 fail:
32931 return NULL;
32932 }
32933
32934
32935 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32936 PyObject *resultobj = 0;
32937 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32938 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32939 void *argp1 = 0 ;
32940 int res1 = 0 ;
32941 void *argp2 = 0 ;
32942 int res2 = 0 ;
32943 PyObject * obj0 = 0 ;
32944 PyObject * obj1 = 0 ;
32945 char * kwnames[] = {
32946 (char *) "self",(char *) "canvas", NULL
32947 };
32948
32949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
32950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32951 if (!SWIG_IsOK(res1)) {
32952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32953 }
32954 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32955 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32956 if (!SWIG_IsOK(res2)) {
32957 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32958 }
32959 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32960 {
32961 PyThreadState* __tstate = wxPyBeginAllowThreads();
32962 (arg1)->AdjustScrollbars(arg2);
32963 wxPyEndAllowThreads(__tstate);
32964 if (PyErr_Occurred()) SWIG_fail;
32965 }
32966 resultobj = SWIG_Py_Void();
32967 return resultobj;
32968 fail:
32969 return NULL;
32970 }
32971
32972
32973 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32974 PyObject *resultobj = 0;
32975 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32976 wxPrintDialogData *result = 0 ;
32977 void *argp1 = 0 ;
32978 int res1 = 0 ;
32979 PyObject *swig_obj[1] ;
32980
32981 if (!args) SWIG_fail;
32982 swig_obj[0] = args;
32983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32984 if (!SWIG_IsOK(res1)) {
32985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32986 }
32987 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32988 {
32989 PyThreadState* __tstate = wxPyBeginAllowThreads();
32990 {
32991 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
32992 result = (wxPrintDialogData *) &_result_ref;
32993 }
32994 wxPyEndAllowThreads(__tstate);
32995 if (PyErr_Occurred()) SWIG_fail;
32996 }
32997 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
32998 return resultobj;
32999 fail:
33000 return NULL;
33001 }
33002
33003
33004 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33005 PyObject *resultobj = 0;
33006 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33007 int arg2 ;
33008 void *argp1 = 0 ;
33009 int res1 = 0 ;
33010 int val2 ;
33011 int ecode2 = 0 ;
33012 PyObject * obj0 = 0 ;
33013 PyObject * obj1 = 0 ;
33014 char * kwnames[] = {
33015 (char *) "self",(char *) "percent", NULL
33016 };
33017
33018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
33019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33020 if (!SWIG_IsOK(res1)) {
33021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33022 }
33023 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33024 ecode2 = SWIG_AsVal_int(obj1, &val2);
33025 if (!SWIG_IsOK(ecode2)) {
33026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
33027 }
33028 arg2 = static_cast< int >(val2);
33029 {
33030 PyThreadState* __tstate = wxPyBeginAllowThreads();
33031 (arg1)->SetZoom(arg2);
33032 wxPyEndAllowThreads(__tstate);
33033 if (PyErr_Occurred()) SWIG_fail;
33034 }
33035 resultobj = SWIG_Py_Void();
33036 return resultobj;
33037 fail:
33038 return NULL;
33039 }
33040
33041
33042 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33043 PyObject *resultobj = 0;
33044 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33045 int result;
33046 void *argp1 = 0 ;
33047 int res1 = 0 ;
33048 PyObject *swig_obj[1] ;
33049
33050 if (!args) SWIG_fail;
33051 swig_obj[0] = args;
33052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33053 if (!SWIG_IsOK(res1)) {
33054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33055 }
33056 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33057 {
33058 PyThreadState* __tstate = wxPyBeginAllowThreads();
33059 result = (int)(arg1)->GetZoom();
33060 wxPyEndAllowThreads(__tstate);
33061 if (PyErr_Occurred()) SWIG_fail;
33062 }
33063 resultobj = SWIG_From_int(static_cast< int >(result));
33064 return resultobj;
33065 fail:
33066 return NULL;
33067 }
33068
33069
33070 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33071 PyObject *resultobj = 0;
33072 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33073 int result;
33074 void *argp1 = 0 ;
33075 int res1 = 0 ;
33076 PyObject *swig_obj[1] ;
33077
33078 if (!args) SWIG_fail;
33079 swig_obj[0] = args;
33080 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33081 if (!SWIG_IsOK(res1)) {
33082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33083 }
33084 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33085 {
33086 PyThreadState* __tstate = wxPyBeginAllowThreads();
33087 result = (int)(arg1)->GetMaxPage();
33088 wxPyEndAllowThreads(__tstate);
33089 if (PyErr_Occurred()) SWIG_fail;
33090 }
33091 resultobj = SWIG_From_int(static_cast< int >(result));
33092 return resultobj;
33093 fail:
33094 return NULL;
33095 }
33096
33097
33098 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33099 PyObject *resultobj = 0;
33100 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33101 int result;
33102 void *argp1 = 0 ;
33103 int res1 = 0 ;
33104 PyObject *swig_obj[1] ;
33105
33106 if (!args) SWIG_fail;
33107 swig_obj[0] = args;
33108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33109 if (!SWIG_IsOK(res1)) {
33110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33111 }
33112 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33113 {
33114 PyThreadState* __tstate = wxPyBeginAllowThreads();
33115 result = (int)(arg1)->GetMinPage();
33116 wxPyEndAllowThreads(__tstate);
33117 if (PyErr_Occurred()) SWIG_fail;
33118 }
33119 resultobj = SWIG_From_int(static_cast< int >(result));
33120 return resultobj;
33121 fail:
33122 return NULL;
33123 }
33124
33125
33126 SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33127 PyObject *resultobj = 0;
33128 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33129 bool result;
33130 void *argp1 = 0 ;
33131 int res1 = 0 ;
33132 PyObject *swig_obj[1] ;
33133
33134 if (!args) SWIG_fail;
33135 swig_obj[0] = args;
33136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33137 if (!SWIG_IsOK(res1)) {
33138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33139 }
33140 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33141 {
33142 PyThreadState* __tstate = wxPyBeginAllowThreads();
33143 result = (bool)(arg1)->IsOk();
33144 wxPyEndAllowThreads(__tstate);
33145 if (PyErr_Occurred()) SWIG_fail;
33146 }
33147 {
33148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33149 }
33150 return resultobj;
33151 fail:
33152 return NULL;
33153 }
33154
33155
33156 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33157 PyObject *resultobj = 0;
33158 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33159 bool arg2 ;
33160 void *argp1 = 0 ;
33161 int res1 = 0 ;
33162 bool val2 ;
33163 int ecode2 = 0 ;
33164 PyObject * obj0 = 0 ;
33165 PyObject * obj1 = 0 ;
33166 char * kwnames[] = {
33167 (char *) "self",(char *) "ok", NULL
33168 };
33169
33170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
33171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33172 if (!SWIG_IsOK(res1)) {
33173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33174 }
33175 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33176 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33177 if (!SWIG_IsOK(ecode2)) {
33178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
33179 }
33180 arg2 = static_cast< bool >(val2);
33181 {
33182 PyThreadState* __tstate = wxPyBeginAllowThreads();
33183 (arg1)->SetOk(arg2);
33184 wxPyEndAllowThreads(__tstate);
33185 if (PyErr_Occurred()) SWIG_fail;
33186 }
33187 resultobj = SWIG_Py_Void();
33188 return resultobj;
33189 fail:
33190 return NULL;
33191 }
33192
33193
33194 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33195 PyObject *resultobj = 0;
33196 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33197 bool arg2 ;
33198 bool result;
33199 void *argp1 = 0 ;
33200 int res1 = 0 ;
33201 bool val2 ;
33202 int ecode2 = 0 ;
33203 PyObject * obj0 = 0 ;
33204 PyObject * obj1 = 0 ;
33205 char * kwnames[] = {
33206 (char *) "self",(char *) "interactive", NULL
33207 };
33208
33209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
33210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33211 if (!SWIG_IsOK(res1)) {
33212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33213 }
33214 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33215 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33216 if (!SWIG_IsOK(ecode2)) {
33217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
33218 }
33219 arg2 = static_cast< bool >(val2);
33220 {
33221 PyThreadState* __tstate = wxPyBeginAllowThreads();
33222 result = (bool)(arg1)->Print(arg2);
33223 wxPyEndAllowThreads(__tstate);
33224 if (PyErr_Occurred()) SWIG_fail;
33225 }
33226 {
33227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33228 }
33229 return resultobj;
33230 fail:
33231 return NULL;
33232 }
33233
33234
33235 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33236 PyObject *resultobj = 0;
33237 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33238 void *argp1 = 0 ;
33239 int res1 = 0 ;
33240 PyObject *swig_obj[1] ;
33241
33242 if (!args) SWIG_fail;
33243 swig_obj[0] = args;
33244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33245 if (!SWIG_IsOK(res1)) {
33246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33247 }
33248 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33249 {
33250 PyThreadState* __tstate = wxPyBeginAllowThreads();
33251 (arg1)->DetermineScaling();
33252 wxPyEndAllowThreads(__tstate);
33253 if (PyErr_Occurred()) SWIG_fail;
33254 }
33255 resultobj = SWIG_Py_Void();
33256 return resultobj;
33257 fail:
33258 return NULL;
33259 }
33260
33261
33262 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33263 PyObject *obj;
33264 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33265 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
33266 return SWIG_Py_Void();
33267 }
33268
33269 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33270 return SWIG_Python_InitShadowInstance(args);
33271 }
33272
33273 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33274 PyObject *resultobj = 0;
33275 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
33276 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
33277 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
33278 wxPyPrintPreview *result = 0 ;
33279 int res1 = 0 ;
33280 int res2 = 0 ;
33281 void *argp3 = 0 ;
33282 int res3 = 0 ;
33283
33284 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
33285 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33286 if (!SWIG_IsOK(res1)) {
33287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
33288 }
33289 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33290 if (!SWIG_IsOK(res2)) {
33291 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
33292 }
33293 if (swig_obj[2]) {
33294 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
33295 if (!SWIG_IsOK(res3)) {
33296 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
33297 }
33298 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
33299 }
33300 {
33301 if (!wxPyCheckForApp()) SWIG_fail;
33302 PyThreadState* __tstate = wxPyBeginAllowThreads();
33303 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
33304 wxPyEndAllowThreads(__tstate);
33305 if (PyErr_Occurred()) SWIG_fail;
33306 }
33307 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
33308 return resultobj;
33309 fail:
33310 return NULL;
33311 }
33312
33313
33314 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33315 PyObject *resultobj = 0;
33316 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
33317 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
33318 wxPrintData *arg3 = (wxPrintData *) 0 ;
33319 wxPyPrintPreview *result = 0 ;
33320 int res1 = 0 ;
33321 int res2 = 0 ;
33322 void *argp3 = 0 ;
33323 int res3 = 0 ;
33324
33325 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
33326 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33327 if (!SWIG_IsOK(res1)) {
33328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
33329 }
33330 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33331 if (!SWIG_IsOK(res2)) {
33332 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
33333 }
33334 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
33335 if (!SWIG_IsOK(res3)) {
33336 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
33337 }
33338 arg3 = reinterpret_cast< wxPrintData * >(argp3);
33339 {
33340 if (!wxPyCheckForApp()) SWIG_fail;
33341 PyThreadState* __tstate = wxPyBeginAllowThreads();
33342 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
33343 wxPyEndAllowThreads(__tstate);
33344 if (PyErr_Occurred()) SWIG_fail;
33345 }
33346 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
33347 return resultobj;
33348 fail:
33349 return NULL;
33350 }
33351
33352
33353 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
33354 int argc;
33355 PyObject *argv[4];
33356
33357 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
33358 --argc;
33359 if ((argc >= 2) && (argc <= 3)) {
33360 int _v = 0;
33361 if (argc > 2) {
33362 {
33363 void *vptr = 0;
33364 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
33365 _v = SWIG_CheckState(res);
33366 }
33367 if (!_v) goto check_1;
33368 }
33369 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
33370 }
33371 check_1:
33372
33373 if (argc == 3) {
33374 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
33375 }
33376
33377 fail:
33378 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
33379 return NULL;
33380 }
33381
33382
33383 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33384 PyObject *resultobj = 0;
33385 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
33386 PyObject *arg2 = (PyObject *) 0 ;
33387 PyObject *arg3 = (PyObject *) 0 ;
33388 void *argp1 = 0 ;
33389 int res1 = 0 ;
33390 PyObject * obj0 = 0 ;
33391 PyObject * obj1 = 0 ;
33392 PyObject * obj2 = 0 ;
33393 char * kwnames[] = {
33394 (char *) "self",(char *) "self",(char *) "_class", NULL
33395 };
33396
33397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
33399 if (!SWIG_IsOK(res1)) {
33400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
33401 }
33402 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
33403 arg2 = obj1;
33404 arg3 = obj2;
33405 {
33406 PyThreadState* __tstate = wxPyBeginAllowThreads();
33407 (arg1)->_setCallbackInfo(arg2,arg3);
33408 wxPyEndAllowThreads(__tstate);
33409 if (PyErr_Occurred()) SWIG_fail;
33410 }
33411 resultobj = SWIG_Py_Void();
33412 return resultobj;
33413 fail:
33414 return NULL;
33415 }
33416
33417
33418 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33419 PyObject *obj;
33420 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33421 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
33422 return SWIG_Py_Void();
33423 }
33424
33425 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33426 return SWIG_Python_InitShadowInstance(args);
33427 }
33428
33429 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33430 PyObject *resultobj = 0;
33431 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33432 wxFrame *arg2 = (wxFrame *) 0 ;
33433 wxString *arg3 = 0 ;
33434 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33435 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33436 wxSize const &arg5_defvalue = wxDefaultSize ;
33437 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33438 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
33439 wxString const &arg7_defvalue = wxPyFrameNameStr ;
33440 wxString *arg7 = (wxString *) &arg7_defvalue ;
33441 wxPyPreviewFrame *result = 0 ;
33442 int res1 = 0 ;
33443 void *argp2 = 0 ;
33444 int res2 = 0 ;
33445 bool temp3 = false ;
33446 wxPoint temp4 ;
33447 wxSize temp5 ;
33448 long val6 ;
33449 int ecode6 = 0 ;
33450 bool temp7 = false ;
33451 PyObject * obj0 = 0 ;
33452 PyObject * obj1 = 0 ;
33453 PyObject * obj2 = 0 ;
33454 PyObject * obj3 = 0 ;
33455 PyObject * obj4 = 0 ;
33456 PyObject * obj5 = 0 ;
33457 PyObject * obj6 = 0 ;
33458 char * kwnames[] = {
33459 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33460 };
33461
33462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33463 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
33464 if (!SWIG_IsOK(res1)) {
33465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33466 }
33467 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
33468 if (!SWIG_IsOK(res2)) {
33469 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
33470 }
33471 arg2 = reinterpret_cast< wxFrame * >(argp2);
33472 {
33473 arg3 = wxString_in_helper(obj2);
33474 if (arg3 == NULL) SWIG_fail;
33475 temp3 = true;
33476 }
33477 if (obj3) {
33478 {
33479 arg4 = &temp4;
33480 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
33481 }
33482 }
33483 if (obj4) {
33484 {
33485 arg5 = &temp5;
33486 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
33487 }
33488 }
33489 if (obj5) {
33490 ecode6 = SWIG_AsVal_long(obj5, &val6);
33491 if (!SWIG_IsOK(ecode6)) {
33492 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
33493 }
33494 arg6 = static_cast< long >(val6);
33495 }
33496 if (obj6) {
33497 {
33498 arg7 = wxString_in_helper(obj6);
33499 if (arg7 == NULL) SWIG_fail;
33500 temp7 = true;
33501 }
33502 }
33503 {
33504 if (!wxPyCheckForApp()) SWIG_fail;
33505 PyThreadState* __tstate = wxPyBeginAllowThreads();
33506 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
33507 wxPyEndAllowThreads(__tstate);
33508 if (PyErr_Occurred()) SWIG_fail;
33509 }
33510 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
33511 {
33512 if (temp3)
33513 delete arg3;
33514 }
33515 {
33516 if (temp7)
33517 delete arg7;
33518 }
33519 return resultobj;
33520 fail:
33521 {
33522 if (temp3)
33523 delete arg3;
33524 }
33525 {
33526 if (temp7)
33527 delete arg7;
33528 }
33529 return NULL;
33530 }
33531
33532
33533 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33534 PyObject *resultobj = 0;
33535 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33536 PyObject *arg2 = (PyObject *) 0 ;
33537 PyObject *arg3 = (PyObject *) 0 ;
33538 void *argp1 = 0 ;
33539 int res1 = 0 ;
33540 PyObject * obj0 = 0 ;
33541 PyObject * obj1 = 0 ;
33542 PyObject * obj2 = 0 ;
33543 char * kwnames[] = {
33544 (char *) "self",(char *) "self",(char *) "_class", NULL
33545 };
33546
33547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33549 if (!SWIG_IsOK(res1)) {
33550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33551 }
33552 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33553 arg2 = obj1;
33554 arg3 = obj2;
33555 {
33556 PyThreadState* __tstate = wxPyBeginAllowThreads();
33557 (arg1)->_setCallbackInfo(arg2,arg3);
33558 wxPyEndAllowThreads(__tstate);
33559 if (PyErr_Occurred()) SWIG_fail;
33560 }
33561 resultobj = SWIG_Py_Void();
33562 return resultobj;
33563 fail:
33564 return NULL;
33565 }
33566
33567
33568 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33569 PyObject *resultobj = 0;
33570 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33571 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
33572 void *argp1 = 0 ;
33573 int res1 = 0 ;
33574 void *argp2 = 0 ;
33575 int res2 = 0 ;
33576 PyObject * obj0 = 0 ;
33577 PyObject * obj1 = 0 ;
33578 char * kwnames[] = {
33579 (char *) "self",(char *) "canvas", NULL
33580 };
33581
33582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
33583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33584 if (!SWIG_IsOK(res1)) {
33585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33586 }
33587 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33588 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
33589 if (!SWIG_IsOK(res2)) {
33590 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
33591 }
33592 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
33593 {
33594 PyThreadState* __tstate = wxPyBeginAllowThreads();
33595 (arg1)->SetPreviewCanvas(arg2);
33596 wxPyEndAllowThreads(__tstate);
33597 if (PyErr_Occurred()) SWIG_fail;
33598 }
33599 resultobj = SWIG_Py_Void();
33600 return resultobj;
33601 fail:
33602 return NULL;
33603 }
33604
33605
33606 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33607 PyObject *resultobj = 0;
33608 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33609 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
33610 void *argp1 = 0 ;
33611 int res1 = 0 ;
33612 void *argp2 = 0 ;
33613 int res2 = 0 ;
33614 PyObject * obj0 = 0 ;
33615 PyObject * obj1 = 0 ;
33616 char * kwnames[] = {
33617 (char *) "self",(char *) "bar", NULL
33618 };
33619
33620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
33621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33622 if (!SWIG_IsOK(res1)) {
33623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33624 }
33625 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33626 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
33627 if (!SWIG_IsOK(res2)) {
33628 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
33629 }
33630 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
33631 {
33632 PyThreadState* __tstate = wxPyBeginAllowThreads();
33633 (arg1)->SetControlBar(arg2);
33634 wxPyEndAllowThreads(__tstate);
33635 if (PyErr_Occurred()) SWIG_fail;
33636 }
33637 resultobj = SWIG_Py_Void();
33638 return resultobj;
33639 fail:
33640 return NULL;
33641 }
33642
33643
33644 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33645 PyObject *resultobj = 0;
33646 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33647 void *argp1 = 0 ;
33648 int res1 = 0 ;
33649 PyObject *swig_obj[1] ;
33650
33651 if (!args) SWIG_fail;
33652 swig_obj[0] = args;
33653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33654 if (!SWIG_IsOK(res1)) {
33655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33656 }
33657 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33658 {
33659 PyThreadState* __tstate = wxPyBeginAllowThreads();
33660 (arg1)->Initialize();
33661 wxPyEndAllowThreads(__tstate);
33662 if (PyErr_Occurred()) SWIG_fail;
33663 }
33664 resultobj = SWIG_Py_Void();
33665 return resultobj;
33666 fail:
33667 return NULL;
33668 }
33669
33670
33671 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33672 PyObject *resultobj = 0;
33673 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33674 void *argp1 = 0 ;
33675 int res1 = 0 ;
33676 PyObject *swig_obj[1] ;
33677
33678 if (!args) SWIG_fail;
33679 swig_obj[0] = args;
33680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33681 if (!SWIG_IsOK(res1)) {
33682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33683 }
33684 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33685 {
33686 PyThreadState* __tstate = wxPyBeginAllowThreads();
33687 (arg1)->CreateCanvas();
33688 wxPyEndAllowThreads(__tstate);
33689 if (PyErr_Occurred()) SWIG_fail;
33690 }
33691 resultobj = SWIG_Py_Void();
33692 return resultobj;
33693 fail:
33694 return NULL;
33695 }
33696
33697
33698 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33699 PyObject *resultobj = 0;
33700 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33701 void *argp1 = 0 ;
33702 int res1 = 0 ;
33703 PyObject *swig_obj[1] ;
33704
33705 if (!args) SWIG_fail;
33706 swig_obj[0] = args;
33707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33708 if (!SWIG_IsOK(res1)) {
33709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33710 }
33711 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33712 {
33713 PyThreadState* __tstate = wxPyBeginAllowThreads();
33714 (arg1)->CreateControlBar();
33715 wxPyEndAllowThreads(__tstate);
33716 if (PyErr_Occurred()) SWIG_fail;
33717 }
33718 resultobj = SWIG_Py_Void();
33719 return resultobj;
33720 fail:
33721 return NULL;
33722 }
33723
33724
33725 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33726 PyObject *obj;
33727 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33728 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
33729 return SWIG_Py_Void();
33730 }
33731
33732 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33733 return SWIG_Python_InitShadowInstance(args);
33734 }
33735
33736 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33737 PyObject *resultobj = 0;
33738 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33739 long arg2 ;
33740 wxWindow *arg3 = (wxWindow *) 0 ;
33741 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33742 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33743 wxSize const &arg5_defvalue = wxDefaultSize ;
33744 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33745 long arg6 = (long) 0 ;
33746 wxString const &arg7_defvalue = wxPyPanelNameStr ;
33747 wxString *arg7 = (wxString *) &arg7_defvalue ;
33748 wxPyPreviewControlBar *result = 0 ;
33749 int res1 = 0 ;
33750 long val2 ;
33751 int ecode2 = 0 ;
33752 void *argp3 = 0 ;
33753 int res3 = 0 ;
33754 wxPoint temp4 ;
33755 wxSize temp5 ;
33756 long val6 ;
33757 int ecode6 = 0 ;
33758 bool temp7 = false ;
33759 PyObject * obj0 = 0 ;
33760 PyObject * obj1 = 0 ;
33761 PyObject * obj2 = 0 ;
33762 PyObject * obj3 = 0 ;
33763 PyObject * obj4 = 0 ;
33764 PyObject * obj5 = 0 ;
33765 PyObject * obj6 = 0 ;
33766 char * kwnames[] = {
33767 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33768 };
33769
33770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33771 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
33772 if (!SWIG_IsOK(res1)) {
33773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33774 }
33775 ecode2 = SWIG_AsVal_long(obj1, &val2);
33776 if (!SWIG_IsOK(ecode2)) {
33777 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
33778 }
33779 arg2 = static_cast< long >(val2);
33780 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
33781 if (!SWIG_IsOK(res3)) {
33782 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
33783 }
33784 arg3 = reinterpret_cast< wxWindow * >(argp3);
33785 if (obj3) {
33786 {
33787 arg4 = &temp4;
33788 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
33789 }
33790 }
33791 if (obj4) {
33792 {
33793 arg5 = &temp5;
33794 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
33795 }
33796 }
33797 if (obj5) {
33798 ecode6 = SWIG_AsVal_long(obj5, &val6);
33799 if (!SWIG_IsOK(ecode6)) {
33800 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
33801 }
33802 arg6 = static_cast< long >(val6);
33803 }
33804 if (obj6) {
33805 {
33806 arg7 = wxString_in_helper(obj6);
33807 if (arg7 == NULL) SWIG_fail;
33808 temp7 = true;
33809 }
33810 }
33811 {
33812 if (!wxPyCheckForApp()) SWIG_fail;
33813 PyThreadState* __tstate = wxPyBeginAllowThreads();
33814 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
33815 wxPyEndAllowThreads(__tstate);
33816 if (PyErr_Occurred()) SWIG_fail;
33817 }
33818 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
33819 {
33820 if (temp7)
33821 delete arg7;
33822 }
33823 return resultobj;
33824 fail:
33825 {
33826 if (temp7)
33827 delete arg7;
33828 }
33829 return NULL;
33830 }
33831
33832
33833 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33834 PyObject *resultobj = 0;
33835 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33836 PyObject *arg2 = (PyObject *) 0 ;
33837 PyObject *arg3 = (PyObject *) 0 ;
33838 void *argp1 = 0 ;
33839 int res1 = 0 ;
33840 PyObject * obj0 = 0 ;
33841 PyObject * obj1 = 0 ;
33842 PyObject * obj2 = 0 ;
33843 char * kwnames[] = {
33844 (char *) "self",(char *) "self",(char *) "_class", NULL
33845 };
33846
33847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33849 if (!SWIG_IsOK(res1)) {
33850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33851 }
33852 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
33853 arg2 = obj1;
33854 arg3 = obj2;
33855 {
33856 PyThreadState* __tstate = wxPyBeginAllowThreads();
33857 (arg1)->_setCallbackInfo(arg2,arg3);
33858 wxPyEndAllowThreads(__tstate);
33859 if (PyErr_Occurred()) SWIG_fail;
33860 }
33861 resultobj = SWIG_Py_Void();
33862 return resultobj;
33863 fail:
33864 return NULL;
33865 }
33866
33867
33868 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33869 PyObject *resultobj = 0;
33870 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33871 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
33872 void *argp1 = 0 ;
33873 int res1 = 0 ;
33874 int res2 = 0 ;
33875 PyObject * obj0 = 0 ;
33876 PyObject * obj1 = 0 ;
33877 char * kwnames[] = {
33878 (char *) "self",(char *) "preview", NULL
33879 };
33880
33881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
33882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33883 if (!SWIG_IsOK(res1)) {
33884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33885 }
33886 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
33887 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
33888 if (!SWIG_IsOK(res2)) {
33889 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
33890 }
33891 {
33892 PyThreadState* __tstate = wxPyBeginAllowThreads();
33893 (arg1)->SetPrintPreview(arg2);
33894 wxPyEndAllowThreads(__tstate);
33895 if (PyErr_Occurred()) SWIG_fail;
33896 }
33897 resultobj = SWIG_Py_Void();
33898 return resultobj;
33899 fail:
33900 return NULL;
33901 }
33902
33903
33904 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33905 PyObject *resultobj = 0;
33906 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33907 void *argp1 = 0 ;
33908 int res1 = 0 ;
33909 PyObject *swig_obj[1] ;
33910
33911 if (!args) SWIG_fail;
33912 swig_obj[0] = args;
33913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33914 if (!SWIG_IsOK(res1)) {
33915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33916 }
33917 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
33918 {
33919 PyThreadState* __tstate = wxPyBeginAllowThreads();
33920 (arg1)->CreateButtons();
33921 wxPyEndAllowThreads(__tstate);
33922 if (PyErr_Occurred()) SWIG_fail;
33923 }
33924 resultobj = SWIG_Py_Void();
33925 return resultobj;
33926 fail:
33927 return NULL;
33928 }
33929
33930
33931 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33932 PyObject *resultobj = 0;
33933 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33934 int arg2 ;
33935 void *argp1 = 0 ;
33936 int res1 = 0 ;
33937 int val2 ;
33938 int ecode2 = 0 ;
33939 PyObject * obj0 = 0 ;
33940 PyObject * obj1 = 0 ;
33941 char * kwnames[] = {
33942 (char *) "self",(char *) "zoom", NULL
33943 };
33944
33945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
33946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33947 if (!SWIG_IsOK(res1)) {
33948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33949 }
33950 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
33951 ecode2 = SWIG_AsVal_int(obj1, &val2);
33952 if (!SWIG_IsOK(ecode2)) {
33953 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
33954 }
33955 arg2 = static_cast< int >(val2);
33956 {
33957 PyThreadState* __tstate = wxPyBeginAllowThreads();
33958 (arg1)->SetZoomControl(arg2);
33959 wxPyEndAllowThreads(__tstate);
33960 if (PyErr_Occurred()) SWIG_fail;
33961 }
33962 resultobj = SWIG_Py_Void();
33963 return resultobj;
33964 fail:
33965 return NULL;
33966 }
33967
33968
33969 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33970 PyObject *obj;
33971 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33972 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
33973 return SWIG_Py_Void();
33974 }
33975
33976 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33977 return SWIG_Python_InitShadowInstance(args);
33978 }
33979
33980 static PyMethodDef SwigMethods[] = {
33981 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
33982 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
33983 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33984 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
33985 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
33986 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
33987 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
33988 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33989 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
33990 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33991 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
33992 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
33993 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
33994 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
33995 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
33996 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
33997 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
33998 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
33999 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
34000 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
34001 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
34002 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
34003 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
34004 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
34005 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
34006 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34007 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
34008 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
34009 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
34010 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
34011 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34012 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
34013 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
34014 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
34015 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
34016 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
34017 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
34018 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
34019 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
34020 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
34021 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
34022 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
34023 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
34024 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
34025 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
34026 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
34027 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
34028 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
34029 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
34030 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
34031 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
34032 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
34033 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
34034 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
34035 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
34036 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
34037 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
34038 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
34039 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
34040 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
34041 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34042 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
34043 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
34044 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
34045 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
34046 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
34047 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
34048 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
34049 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
34050 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
34051 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
34052 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
34053 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
34054 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
34055 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
34056 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
34057 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
34058 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34059 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
34060 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34061 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
34062 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
34063 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
34064 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
34065 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34066 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
34067 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
34068 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
34069 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
34070 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
34071 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
34072 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
34073 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
34074 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
34075 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
34076 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
34077 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
34078 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
34079 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34080 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
34081 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
34082 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34083 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
34084 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34085 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
34086 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
34087 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34088 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34089 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
34090 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
34091 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
34092 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
34093 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
34094 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
34095 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
34096 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
34097 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
34098 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
34099 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
34100 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34101 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
34102 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
34103 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
34104 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
34105 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
34106 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
34107 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
34108 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
34109 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
34110 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
34111 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
34112 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
34113 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34114 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
34115 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
34116 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34117 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
34118 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34119 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
34120 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
34121 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
34122 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
34123 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
34124 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
34125 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
34126 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
34127 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34128 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
34129 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
34130 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
34131 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
34132 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
34133 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
34134 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34135 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
34136 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
34137 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
34138 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
34139 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
34140 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34141 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
34142 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
34143 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
34144 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34145 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
34146 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
34147 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34148 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34149 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
34150 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
34151 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
34152 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
34153 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
34154 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
34155 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34156 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
34157 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34158 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34159 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34160 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
34161 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
34162 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
34163 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
34164 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
34165 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
34166 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
34167 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
34168 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
34169 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
34170 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
34171 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
34172 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
34173 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34174 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
34175 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
34176 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
34177 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34178 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
34179 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
34180 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
34181 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
34182 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
34183 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
34184 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
34185 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
34186 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34187 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
34188 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
34189 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34190 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
34191 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
34192 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
34193 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
34194 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
34195 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34196 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
34197 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
34198 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
34199 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34200 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34201 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
34202 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
34203 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
34204 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
34205 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
34206 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34207 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
34208 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34209 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
34210 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
34211 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34212 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34213 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
34214 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
34215 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
34216 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
34217 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
34218 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34219 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34220 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34221 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
34222 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
34223 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34224 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
34225 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34226 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
34227 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
34228 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
34229 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34230 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
34231 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34232 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
34233 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
34234 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
34235 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
34236 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34237 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
34238 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
34239 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
34240 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
34241 { (char *)"VarScrollHelperBase_EnablePhysicalScrolling", (PyCFunction) _wrap_VarScrollHelperBase_EnablePhysicalScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
34242 { (char *)"VarScrollHelperBase_HitTest", (PyCFunction) _wrap_VarScrollHelperBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34243 { (char *)"VarScrollHelperBase_RefreshAll", (PyCFunction)_wrap_VarScrollHelperBase_RefreshAll, METH_O, NULL},
34244 { (char *)"VarScrollHelperBase_GetVisibleBegin", (PyCFunction)_wrap_VarScrollHelperBase_GetVisibleBegin, METH_O, NULL},
34245 { (char *)"VarScrollHelperBase_GetVisibleEnd", (PyCFunction)_wrap_VarScrollHelperBase_GetVisibleEnd, METH_O, NULL},
34246 { (char *)"VarScrollHelperBase_IsVisible", (PyCFunction) _wrap_VarScrollHelperBase_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34247 { (char *)"VarScrollHelperBase_CalcScrolledPosition", (PyCFunction) _wrap_VarScrollHelperBase_CalcScrolledPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34248 { (char *)"VarScrollHelperBase_CalcUnscrolledPosition", (PyCFunction) _wrap_VarScrollHelperBase_CalcUnscrolledPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34249 { (char *)"VarScrollHelperBase_UpdateScrollbar", (PyCFunction)_wrap_VarScrollHelperBase_UpdateScrollbar, METH_O, NULL},
34250 { (char *)"VarScrollHelperBase_RemoveScrollbar", (PyCFunction)_wrap_VarScrollHelperBase_RemoveScrollbar, METH_O, NULL},
34251 { (char *)"VarScrollHelperBase_SetTargetWindow", (PyCFunction) _wrap_VarScrollHelperBase_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34252 { (char *)"VarScrollHelperBase_GetTargetWindow", (PyCFunction)_wrap_VarScrollHelperBase_GetTargetWindow, METH_O, NULL},
34253 { (char *)"VarScrollHelperBase_GetOrientationTargetSize", (PyCFunction)_wrap_VarScrollHelperBase_GetOrientationTargetSize, METH_O, NULL},
34254 { (char *)"VarScrollHelperBase_GetNonOrientationTargetSize", (PyCFunction)_wrap_VarScrollHelperBase_GetNonOrientationTargetSize, METH_O, NULL},
34255 { (char *)"VarScrollHelperBase_GetOrientation", (PyCFunction)_wrap_VarScrollHelperBase_GetOrientation, METH_O, NULL},
34256 { (char *)"VarScrollHelperBase_swigregister", VarScrollHelperBase_swigregister, METH_VARARGS, NULL},
34257 { (char *)"VarVScrollHelper_SetRowCount", (PyCFunction) _wrap_VarVScrollHelper_SetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
34258 { (char *)"VarVScrollHelper_ScrollToRow", (PyCFunction) _wrap_VarVScrollHelper_ScrollToRow, METH_VARARGS | METH_KEYWORDS, NULL},
34259 { (char *)"VarVScrollHelper_ScrollRows", (PyCFunction) _wrap_VarVScrollHelper_ScrollRows, METH_VARARGS | METH_KEYWORDS, NULL},
34260 { (char *)"VarVScrollHelper_ScrollRowPages", (PyCFunction) _wrap_VarVScrollHelper_ScrollRowPages, METH_VARARGS | METH_KEYWORDS, NULL},
34261 { (char *)"VarVScrollHelper_RefreshRow", (PyCFunction) _wrap_VarVScrollHelper_RefreshRow, METH_VARARGS | METH_KEYWORDS, NULL},
34262 { (char *)"VarVScrollHelper_RefreshRows", (PyCFunction) _wrap_VarVScrollHelper_RefreshRows, METH_VARARGS | METH_KEYWORDS, NULL},
34263 { (char *)"VarVScrollHelper_GetRowCount", (PyCFunction)_wrap_VarVScrollHelper_GetRowCount, METH_O, NULL},
34264 { (char *)"VarVScrollHelper_GetVisibleRowsBegin", (PyCFunction)_wrap_VarVScrollHelper_GetVisibleRowsBegin, METH_O, NULL},
34265 { (char *)"VarVScrollHelper_GetVisibleRowsEnd", (PyCFunction)_wrap_VarVScrollHelper_GetVisibleRowsEnd, METH_O, NULL},
34266 { (char *)"VarVScrollHelper_IsRowVisible", (PyCFunction) _wrap_VarVScrollHelper_IsRowVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34267 { (char *)"VarVScrollHelper_swigregister", VarVScrollHelper_swigregister, METH_VARARGS, NULL},
34268 { (char *)"VarHScrollHelper_SetColumnCount", (PyCFunction) _wrap_VarHScrollHelper_SetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
34269 { (char *)"VarHScrollHelper_ScrollToColumn", (PyCFunction) _wrap_VarHScrollHelper_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34270 { (char *)"VarHScrollHelper_ScrollColumns", (PyCFunction) _wrap_VarHScrollHelper_ScrollColumns, METH_VARARGS | METH_KEYWORDS, NULL},
34271 { (char *)"VarHScrollHelper_ScrollColumnPages", (PyCFunction) _wrap_VarHScrollHelper_ScrollColumnPages, METH_VARARGS | METH_KEYWORDS, NULL},
34272 { (char *)"VarHScrollHelper_RefreshColumn", (PyCFunction) _wrap_VarHScrollHelper_RefreshColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34273 { (char *)"VarHScrollHelper_RefreshColumns", (PyCFunction) _wrap_VarHScrollHelper_RefreshColumns, METH_VARARGS | METH_KEYWORDS, NULL},
34274 { (char *)"VarHScrollHelper_GetColumnCount", (PyCFunction)_wrap_VarHScrollHelper_GetColumnCount, METH_O, NULL},
34275 { (char *)"VarHScrollHelper_GetVisibleColumnsBegin", (PyCFunction)_wrap_VarHScrollHelper_GetVisibleColumnsBegin, METH_O, NULL},
34276 { (char *)"VarHScrollHelper_GetVisibleColumnsEnd", (PyCFunction)_wrap_VarHScrollHelper_GetVisibleColumnsEnd, METH_O, NULL},
34277 { (char *)"VarHScrollHelper_IsColumnVisible", (PyCFunction) _wrap_VarHScrollHelper_IsColumnVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34278 { (char *)"VarHScrollHelper_swigregister", VarHScrollHelper_swigregister, METH_VARARGS, NULL},
34279 { (char *)"VarHVScrollHelper_SetRowColumnCount", (PyCFunction) _wrap_VarHVScrollHelper_SetRowColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
34280 { (char *)"VarHVScrollHelper_EnablePhysicalScrolling", (PyCFunction) _wrap_VarHVScrollHelper_EnablePhysicalScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
34281 { (char *)"VarHVScrollHelper_ScrollToRowColumn", (PyCFunction) _wrap_VarHVScrollHelper_ScrollToRowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34282 { (char *)"VarHVScrollHelper_RefreshRowColumn", (PyCFunction) _wrap_VarHVScrollHelper_RefreshRowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34283 { (char *)"VarHVScrollHelper_RefreshRowsColumns", (PyCFunction) _wrap_VarHVScrollHelper_RefreshRowsColumns, METH_VARARGS | METH_KEYWORDS, NULL},
34284 { (char *)"VarHVScrollHelper_HitTest", (PyCFunction) _wrap_VarHVScrollHelper_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34285 { (char *)"VarHVScrollHelper_ScrollLayout", (PyCFunction)_wrap_VarHVScrollHelper_ScrollLayout, METH_O, NULL},
34286 { (char *)"VarHVScrollHelper_GetRowColumnCount", (PyCFunction)_wrap_VarHVScrollHelper_GetRowColumnCount, METH_O, NULL},
34287 { (char *)"VarHVScrollHelper_GetVisibleBegin", (PyCFunction)_wrap_VarHVScrollHelper_GetVisibleBegin, METH_O, NULL},
34288 { (char *)"VarHVScrollHelper_GetVisibleEnd", (PyCFunction)_wrap_VarHVScrollHelper_GetVisibleEnd, METH_O, NULL},
34289 { (char *)"VarHVScrollHelper_IsVisible", (PyCFunction) _wrap_VarHVScrollHelper_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34290 { (char *)"VarHVScrollHelper_swigregister", VarHVScrollHelper_swigregister, METH_VARARGS, NULL},
34291 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34292 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
34293 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34294 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34295 { (char *)"VScrolledWindow_GetRowsHeight", (PyCFunction) _wrap_VScrolledWindow_GetRowsHeight, METH_VARARGS | METH_KEYWORDS, NULL},
34296 { (char *)"VScrolledWindow_EstimateTotalHeight", (PyCFunction)_wrap_VScrolledWindow_EstimateTotalHeight, METH_O, NULL},
34297 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34298 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
34299 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
34300 { (char *)"new_HScrolledWindow", (PyCFunction) _wrap_new_HScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34301 { (char *)"new_PreHScrolledWindow", (PyCFunction)_wrap_new_PreHScrolledWindow, METH_NOARGS, NULL},
34302 { (char *)"HScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_HScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34303 { (char *)"HScrolledWindow_Create", (PyCFunction) _wrap_HScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34304 { (char *)"HScrolledWindow_HitTest", (PyCFunction) _wrap_HScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34305 { (char *)"HScrolledWindow_GetColumnsWidth", (PyCFunction) _wrap_HScrolledWindow_GetColumnsWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34306 { (char *)"HScrolledWindow_EstimateTotalWidth", (PyCFunction)_wrap_HScrolledWindow_EstimateTotalWidth, METH_O, NULL},
34307 { (char *)"HScrolledWindow_swigregister", HScrolledWindow_swigregister, METH_VARARGS, NULL},
34308 { (char *)"HScrolledWindow_swiginit", HScrolledWindow_swiginit, METH_VARARGS, NULL},
34309 { (char *)"new_HVScrolledWindow", (PyCFunction) _wrap_new_HVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34310 { (char *)"new_PreHVScrolledWindow", (PyCFunction)_wrap_new_PreHVScrolledWindow, METH_NOARGS, NULL},
34311 { (char *)"HVScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_HVScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34312 { (char *)"HVScrolledWindow_Create", (PyCFunction) _wrap_HVScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34313 { (char *)"HVScrolledWindow_GetRowsHeight", (PyCFunction) _wrap_HVScrolledWindow_GetRowsHeight, METH_VARARGS | METH_KEYWORDS, NULL},
34314 { (char *)"HVScrolledWindow_EstimateTotalHeight", (PyCFunction)_wrap_HVScrolledWindow_EstimateTotalHeight, METH_O, NULL},
34315 { (char *)"HVScrolledWindow_GetColumnsWidth", (PyCFunction) _wrap_HVScrolledWindow_GetColumnsWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34316 { (char *)"HVScrolledWindow_EstimateTotalWidth", (PyCFunction)_wrap_HVScrolledWindow_EstimateTotalWidth, METH_O, NULL},
34317 { (char *)"HVScrolledWindow_swigregister", HVScrolledWindow_swigregister, METH_VARARGS, NULL},
34318 { (char *)"HVScrolledWindow_swiginit", HVScrolledWindow_swiginit, METH_VARARGS, NULL},
34319 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34320 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
34321 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34322 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34323 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
34324 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
34325 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
34326 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
34327 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34328 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
34329 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
34330 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34331 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
34332 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
34333 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
34334 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
34335 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34336 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
34337 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
34338 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
34339 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
34340 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
34341 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34342 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
34343 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
34344 { (char *)"VListBox_RefreshSelected", (PyCFunction)_wrap_VListBox_RefreshSelected, METH_O, NULL},
34345 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
34346 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
34347 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
34348 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
34349 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34350 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
34351 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34352 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34353 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
34354 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
34355 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
34356 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
34357 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
34358 { (char *)"new_SimpleHtmlListBox", (PyCFunction) _wrap_new_SimpleHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34359 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction)_wrap_new_PreSimpleHtmlListBox, METH_NOARGS, NULL},
34360 { (char *)"SimpleHtmlListBox_Create", (PyCFunction) _wrap_SimpleHtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34361 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister, METH_VARARGS, NULL},
34362 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit, METH_VARARGS, NULL},
34363 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
34364 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
34365 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34366 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
34367 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
34368 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
34369 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
34370 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
34371 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
34372 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
34373 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
34374 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34375 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
34376 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
34377 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
34378 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
34379 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
34380 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
34381 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
34382 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
34383 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
34384 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
34385 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
34386 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
34387 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34388 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
34389 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
34390 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
34391 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
34392 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34393 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
34394 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
34395 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
34396 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
34397 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
34398 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
34399 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34400 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
34401 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
34402 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
34403 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
34404 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
34405 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
34406 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
34407 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
34408 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
34409 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
34410 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
34411 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
34412 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
34413 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
34414 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
34415 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
34416 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34417 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
34418 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
34419 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
34420 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
34421 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34422 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
34423 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
34424 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34425 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
34426 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
34427 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34428 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
34429 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34430 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
34431 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
34432 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34433 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
34434 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
34435 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34436 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
34437 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
34438 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
34439 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
34440 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
34441 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
34442 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
34443 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
34444 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
34445 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
34446 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
34447 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
34448 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
34449 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
34450 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
34451 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
34452 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34453 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34454 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
34455 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
34456 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34457 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
34458 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
34459 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
34460 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
34461 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34462 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
34463 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
34464 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34465 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
34466 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
34467 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
34468 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
34469 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
34470 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34471 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
34472 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
34473 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
34474 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
34475 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34476 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
34477 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
34478 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
34479 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
34480 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
34481 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
34482 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
34483 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
34484 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
34485 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34486 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
34487 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
34488 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
34489 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
34490 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34491 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
34492 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34493 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
34494 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
34495 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
34496 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
34497 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34498 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
34499 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34500 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
34501 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
34502 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
34503 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
34504 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
34505 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
34506 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_MDIParentFrame_GetWindowMenu, METH_O, NULL},
34507 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
34508 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
34509 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
34510 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
34511 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34512 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
34513 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34514 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
34515 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
34516 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
34517 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34518 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
34519 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34520 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
34521 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
34522 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34523 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
34524 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34525 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
34526 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34527 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
34528 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
34529 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
34530 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
34531 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
34532 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
34533 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
34534 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
34535 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
34536 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
34537 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
34538 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
34539 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
34540 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
34541 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34542 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
34543 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34544 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
34545 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
34546 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
34547 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
34548 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
34549 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
34550 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
34551 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
34552 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
34553 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
34554 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
34555 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
34556 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34557 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
34558 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34559 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
34560 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34561 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
34562 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
34563 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
34564 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
34565 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
34566 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
34567 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
34568 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
34569 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
34570 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
34571 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
34572 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
34573 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
34574 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
34575 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
34576 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
34577 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
34578 { (char *)"PrintData_IsOrientationReversed", (PyCFunction)_wrap_PrintData_IsOrientationReversed, METH_O, NULL},
34579 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
34580 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
34581 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
34582 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
34583 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
34584 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
34585 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
34586 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
34587 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
34588 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
34589 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
34590 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
34591 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
34592 { (char *)"PrintData_SetOrientationReversed", (PyCFunction) _wrap_PrintData_SetOrientationReversed, METH_VARARGS | METH_KEYWORDS, NULL},
34593 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
34594 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
34595 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
34596 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
34597 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
34598 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
34599 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
34600 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
34601 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
34602 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
34603 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
34604 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
34605 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
34606 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
34607 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
34608 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
34609 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
34610 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34611 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34612 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
34613 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
34614 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
34615 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
34616 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
34617 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
34618 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
34619 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
34620 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
34621 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
34622 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
34623 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
34624 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
34625 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
34626 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
34627 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
34628 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
34629 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
34630 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34631 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34632 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
34633 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
34634 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
34635 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
34636 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
34637 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
34638 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
34639 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
34640 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
34641 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
34642 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
34643 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34644 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
34645 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
34646 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
34647 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
34648 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
34649 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
34650 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
34651 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
34652 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
34653 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
34654 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
34655 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
34656 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
34657 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
34658 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
34659 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
34660 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
34661 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
34662 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
34663 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
34664 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
34665 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
34666 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
34667 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34668 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
34669 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
34670 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
34671 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34672 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
34673 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34674 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
34675 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
34676 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
34677 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
34678 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
34679 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
34680 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
34681 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
34682 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
34683 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34684 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
34685 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
34686 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
34687 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
34688 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
34689 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
34690 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
34691 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
34692 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
34693 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34694 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
34695 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
34696 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
34697 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34698 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
34699 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
34700 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
34701 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
34702 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
34703 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
34704 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
34705 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34706 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
34707 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
34708 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
34709 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
34710 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
34711 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34712 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
34713 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
34714 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34715 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
34716 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
34717 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
34718 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
34719 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
34720 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
34721 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
34722 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
34723 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
34724 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
34725 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
34726 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
34727 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
34728 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
34729 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
34730 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
34731 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
34732 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
34733 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
34734 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
34735 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
34736 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
34737 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
34738 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
34739 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
34740 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
34741 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
34742 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
34743 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
34744 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
34745 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34746 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
34747 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
34748 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
34749 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
34750 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
34751 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
34752 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
34753 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
34754 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
34755 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
34756 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
34757 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
34758 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
34759 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
34760 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
34761 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
34762 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
34763 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
34764 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
34765 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
34766 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
34767 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
34768 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
34769 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
34770 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34771 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
34772 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
34773 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
34774 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
34775 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
34776 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
34777 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
34778 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
34779 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
34780 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
34781 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
34782 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
34783 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
34784 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
34785 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
34786 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
34787 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
34788 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
34789 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
34790 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34791 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
34792 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
34793 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34794 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34795 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
34796 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
34797 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
34798 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
34799 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
34800 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
34801 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
34802 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
34803 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34804 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
34805 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
34806 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
34807 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
34808 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
34809 { NULL, NULL, 0, NULL }
34810 };
34811
34812
34813 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
34814
34815 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
34816 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34817 }
34818 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
34819 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
34820 }
34821 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
34822 return (void *)((wxEvent *) ((wxMenuEvent *) x));
34823 }
34824 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
34825 return (void *)((wxEvent *) ((wxCloseEvent *) x));
34826 }
34827 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
34828 return (void *)((wxEvent *) ((wxMouseEvent *) x));
34829 }
34830 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
34831 return (void *)((wxEvent *) ((wxEraseEvent *) x));
34832 }
34833 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
34834 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
34835 }
34836 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
34837 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
34838 }
34839 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
34840 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
34841 }
34842 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
34843 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
34844 }
34845 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
34846 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
34847 }
34848 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
34849 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
34850 }
34851 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
34852 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
34853 }
34854 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
34855 return (void *)((wxEvent *) ((wxPyEvent *) x));
34856 }
34857 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
34858 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
34859 }
34860 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
34861 return (void *)((wxEvent *) ((wxIdleEvent *) x));
34862 }
34863 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
34864 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
34865 }
34866 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
34867 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
34868 }
34869 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
34870 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
34871 }
34872 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
34873 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
34874 }
34875 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
34876 return (void *)((wxEvent *) ((wxActivateEvent *) x));
34877 }
34878 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
34879 return (void *)((wxEvent *) ((wxSizeEvent *) x));
34880 }
34881 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
34882 return (void *)((wxEvent *) ((wxMoveEvent *) x));
34883 }
34884 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
34885 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
34886 }
34887 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
34888 return (void *)((wxEvent *) ((wxPaintEvent *) x));
34889 }
34890 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
34891 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
34892 }
34893 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
34894 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
34895 }
34896 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
34897 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
34898 }
34899 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
34900 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
34901 }
34902 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
34903 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
34904 }
34905 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
34906 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
34907 }
34908 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
34909 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
34910 }
34911 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
34912 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
34913 }
34914 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
34915 return (void *)((wxEvent *) ((wxFocusEvent *) x));
34916 }
34917 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
34918 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
34919 }
34920 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
34921 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
34922 }
34923 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
34924 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
34925 }
34926 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
34927 return (void *)((wxEvent *) ((wxShowEvent *) x));
34928 }
34929 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
34930 return (void *)((wxEvent *) ((wxCommandEvent *) x));
34931 }
34932 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
34933 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
34934 }
34935 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
34936 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
34937 }
34938 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
34939 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
34940 }
34941 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
34942 return (void *)((wxEvent *) ((wxKeyEvent *) x));
34943 }
34944 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
34945 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
34946 }
34947 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
34948 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
34949 }
34950 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
34951 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
34952 }
34953 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x) {
34954 return (void *)((wxItemContainer *) ((wxSimpleHtmlListBox *) x));
34955 }
34956 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
34957 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
34958 }
34959 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
34960 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
34961 }
34962 static void *_p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper(void *x) {
34963 return (void *)((wxVarVScrollHelper *) ((wxPyVScrolledWindow *) x));
34964 }
34965 static void *_p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper(void *x) {
34966 return (void *)((wxVarVScrollHelper *) (wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
34967 }
34968 static void *_p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper(void *x) {
34969 return (void *)((wxVarVScrollHelper *) ((wxVarHVScrollHelper *) x));
34970 }
34971 static void *_p_wxPyVListBoxTo_p_wxVarVScrollHelper(void *x) {
34972 return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
34973 }
34974 static void *_p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper(void *x) {
34975 return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
34976 }
34977 static void *_p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper(void *x) {
34978 return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
34979 }
34980 static void *_p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper(void *x) {
34981 return (void *)((wxVarHScrollHelper *) ((wxPyHScrolledWindow *) x));
34982 }
34983 static void *_p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper(void *x) {
34984 return (void *)((wxVarHScrollHelper *) (wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
34985 }
34986 static void *_p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper(void *x) {
34987 return (void *)((wxVarHScrollHelper *) ((wxVarHVScrollHelper *) x));
34988 }
34989 static void *_p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper(void *x) {
34990 return (void *)((wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
34991 }
34992 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
34993 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
34994 }
34995 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
34996 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
34997 }
34998 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) {
34999 return (void *)((wxEvtHandler *) ((wxEventBlocker *) x));
35000 }
35001 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
35002 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
35003 }
35004 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
35005 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
35006 }
35007 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
35008 return (void *)((wxEvtHandler *) ((wxValidator *) x));
35009 }
35010 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
35011 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
35012 }
35013 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
35014 return (void *)((wxEvtHandler *) ((wxMenu *) x));
35015 }
35016 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
35017 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
35018 }
35019 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
35020 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
35021 }
35022 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
35023 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
35024 }
35025 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
35026 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
35027 }
35028 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
35029 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35030 }
35031 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
35032 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
35033 }
35034 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
35035 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
35036 }
35037 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
35038 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
35039 }
35040 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
35041 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
35042 }
35043 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
35044 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
35045 }
35046 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
35047 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
35048 }
35049 static void *_p_wxPyHVScrolledWindowTo_p_wxEvtHandler(void *x) {
35050 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyHVScrolledWindow *) x));
35051 }
35052 static void *_p_wxPyHScrolledWindowTo_p_wxEvtHandler(void *x) {
35053 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyHScrolledWindow *) x));
35054 }
35055 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
35056 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
35057 }
35058 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
35059 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
35060 }
35061 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
35062 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
35063 }
35064 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
35065 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
35066 }
35067 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
35068 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
35069 }
35070 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
35071 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
35072 }
35073 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
35074 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
35075 }
35076 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
35077 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
35078 }
35079 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
35080 return (void *)((wxEvtHandler *) ((wxWindow *) x));
35081 }
35082 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
35083 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
35084 }
35085 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
35086 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
35087 }
35088 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
35089 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
35090 }
35091 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
35092 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35093 }
35094 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
35095 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
35096 }
35097 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
35098 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
35099 }
35100 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
35101 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35102 }
35103 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
35104 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
35105 }
35106 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
35107 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
35108 }
35109 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
35110 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
35111 }
35112 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
35113 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
35114 }
35115 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
35116 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
35117 }
35118 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
35119 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35120 }
35121 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
35122 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35123 }
35124 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
35125 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35126 }
35127 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
35128 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
35129 }
35130 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
35131 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35132 }
35133 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
35134 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
35135 }
35136 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
35137 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
35138 }
35139 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
35140 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
35141 }
35142 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
35143 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
35144 }
35145 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
35146 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
35147 }
35148 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
35149 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
35150 }
35151 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
35152 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
35153 }
35154 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
35155 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
35156 }
35157 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x) {
35158 return (void *)((wxPyVListBox *) (wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35159 }
35160 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x) {
35161 return (void *)((wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35162 }
35163 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
35164 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
35165 }
35166 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
35167 return (void *)((wxFrame *) ((wxProgressDialog *) x));
35168 }
35169 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
35170 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
35171 }
35172 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
35173 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35174 }
35175 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
35176 return (void *)((wxFrame *) ((wxMiniFrame *) x));
35177 }
35178 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
35179 return (void *)((wxFrame *) ((wxSplashScreen *) x));
35180 }
35181 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
35182 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
35183 }
35184 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
35185 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
35186 }
35187 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
35188 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
35189 }
35190 static void *_p_wxEventBlockerTo_p_wxObject(void *x) {
35191 return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x));
35192 }
35193 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
35194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
35195 }
35196 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
35197 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35198 }
35199 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
35200 return (void *)((wxObject *) ((wxSizerItem *) x));
35201 }
35202 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
35203 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
35204 }
35205 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
35206 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
35207 }
35208 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
35209 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
35210 }
35211 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
35212 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
35213 }
35214 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
35215 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
35216 }
35217 static void *_p_wxSizerTo_p_wxObject(void *x) {
35218 return (void *)((wxObject *) ((wxSizer *) x));
35219 }
35220 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
35221 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35222 }
35223 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
35224 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
35225 }
35226 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
35227 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
35228 }
35229 static void *_p_wxEventTo_p_wxObject(void *x) {
35230 return (void *)((wxObject *) ((wxEvent *) x));
35231 }
35232 static void *_p_wxFontDataTo_p_wxObject(void *x) {
35233 return (void *)((wxObject *) ((wxFontData *) x));
35234 }
35235 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
35236 return (void *)((wxObject *) ((wxPrintData *) x));
35237 }
35238 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
35239 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
35240 }
35241 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
35242 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
35243 }
35244 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
35245 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
35246 }
35247 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
35248 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
35249 }
35250 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
35251 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
35252 }
35253 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
35254 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
35255 }
35256 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
35257 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
35258 }
35259 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
35260 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
35261 }
35262 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
35263 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
35264 }
35265 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
35266 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
35267 }
35268 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
35269 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
35270 }
35271 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
35272 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35273 }
35274 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
35275 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
35276 }
35277 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
35278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
35279 }
35280 static void *_p_wxControlTo_p_wxObject(void *x) {
35281 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
35282 }
35283 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
35284 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
35285 }
35286 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
35287 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
35288 }
35289 static void *_p_wxFSFileTo_p_wxObject(void *x) {
35290 return (void *)((wxObject *) ((wxFSFile *) x));
35291 }
35292 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
35293 return (void *)((wxObject *) ((wxFindReplaceData *) x));
35294 }
35295 static void *_p_wxPySizerTo_p_wxObject(void *x) {
35296 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
35297 }
35298 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
35299 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
35300 }
35301 static void *_p_wxColourDataTo_p_wxObject(void *x) {
35302 return (void *)((wxObject *) ((wxColourData *) x));
35303 }
35304 static void *_p_wxPyEventTo_p_wxObject(void *x) {
35305 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
35306 }
35307 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
35308 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
35309 }
35310 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
35311 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
35312 }
35313 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
35314 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
35315 }
35316 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
35317 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
35318 }
35319 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
35320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
35321 }
35322 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
35323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
35324 }
35325 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
35326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
35327 }
35328 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
35329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35330 }
35331 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
35332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
35333 }
35334 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
35335 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
35336 }
35337 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
35338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
35339 }
35340 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
35341 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
35342 }
35343 static void *_p_wxShowEventTo_p_wxObject(void *x) {
35344 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
35345 }
35346 static void *_p_wxPrinterTo_p_wxObject(void *x) {
35347 return (void *)((wxObject *) ((wxPrinter *) x));
35348 }
35349 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
35350 return (void *)((wxObject *) ((wxMenuItem *) x));
35351 }
35352 static void *_p_wxDateEventTo_p_wxObject(void *x) {
35353 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
35354 }
35355 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
35356 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
35357 }
35358 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
35359 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
35360 }
35361 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
35362 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
35363 }
35364 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
35365 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
35366 }
35367 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
35368 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
35369 }
35370 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
35371 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
35372 }
35373 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
35374 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
35375 }
35376 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
35377 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
35378 }
35379 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
35380 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
35381 }
35382 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
35383 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
35384 }
35385 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
35386 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
35387 }
35388 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
35389 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
35390 }
35391 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
35392 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
35393 }
35394 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
35395 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
35396 }
35397 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
35398 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
35399 }
35400 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
35401 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
35402 }
35403 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
35404 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
35405 }
35406 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
35407 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
35408 }
35409 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
35410 return (void *)((wxObject *) ((wxImageHandler *) x));
35411 }
35412 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
35413 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
35414 }
35415 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
35416 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
35417 }
35418 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
35419 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
35420 }
35421 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
35422 return (void *)((wxObject *) ((wxEvtHandler *) x));
35423 }
35424 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
35425 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
35426 }
35427 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
35428 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
35429 }
35430 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
35431 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35432 }
35433 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
35434 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35435 }
35436 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
35437 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35438 }
35439 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
35440 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
35441 }
35442 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
35443 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35444 }
35445 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
35446 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
35447 }
35448 static void *_p_wxImageTo_p_wxObject(void *x) {
35449 return (void *)((wxObject *) ((wxImage *) x));
35450 }
35451 static void *_p_wxFrameTo_p_wxObject(void *x) {
35452 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
35453 }
35454 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
35455 return (void *)((wxObject *) ((wxPyPrintout *) x));
35456 }
35457 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
35458 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
35459 }
35460 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
35461 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
35462 }
35463 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
35464 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
35465 }
35466 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
35467 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
35468 }
35469 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
35470 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35471 }
35472 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
35473 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
35474 }
35475 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
35476 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
35477 }
35478 static void *_p_wxWindowTo_p_wxObject(void *x) {
35479 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
35480 }
35481 static void *_p_wxMenuTo_p_wxObject(void *x) {
35482 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
35483 }
35484 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
35485 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
35486 }
35487 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
35488 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
35489 }
35490 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
35491 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
35492 }
35493 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
35494 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
35495 }
35496 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
35497 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
35498 }
35499 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
35500 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
35501 }
35502 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
35503 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
35504 }
35505 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
35506 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
35507 }
35508 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
35509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
35510 }
35511 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
35512 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
35513 }
35514 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
35515 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
35516 }
35517 static void *_p_wxPyHScrolledWindowTo_p_wxObject(void *x) {
35518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyHScrolledWindow *) x));
35519 }
35520 static void *_p_wxPyHVScrolledWindowTo_p_wxObject(void *x) {
35521 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyHVScrolledWindow *) x));
35522 }
35523 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
35524 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
35525 }
35526 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
35527 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35528 }
35529 static void *_p_wxSashEventTo_p_wxObject(void *x) {
35530 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
35531 }
35532 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
35533 return (void *)((wxObject *) ((wxPrintPreview *) x));
35534 }
35535 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
35536 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
35537 }
35538 static void *_p_wxPanelTo_p_wxObject(void *x) {
35539 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
35540 }
35541 static void *_p_wxDialogTo_p_wxObject(void *x) {
35542 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
35543 }
35544 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
35545 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
35546 }
35547 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
35548 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
35549 }
35550 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
35551 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
35552 }
35553 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
35554 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
35555 }
35556 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
35557 return (void *)((wxObject *) ((wxPrintDialog *) x));
35558 }
35559 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
35560 return (void *)((wxObject *) ((wxFileSystem *) x));
35561 }
35562 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
35563 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
35564 }
35565 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
35566 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
35567 }
35568 static void *_p_wxPyAppTo_p_wxObject(void *x) {
35569 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
35570 }
35571 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
35572 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
35573 }
35574 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
35575 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
35576 }
35577 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
35578 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
35579 }
35580 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
35581 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
35582 }
35583 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
35584 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
35585 }
35586 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
35587 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
35588 }
35589 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
35590 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35591 }
35592 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
35593 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
35594 }
35595 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
35596 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
35597 }
35598 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
35599 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
35600 }
35601 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
35602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
35603 }
35604 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
35605 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
35606 }
35607 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
35608 return (void *)((wxObject *) ((wxPrintDialogData *) x));
35609 }
35610 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
35611 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
35612 }
35613 static void *_p_wxValidatorTo_p_wxObject(void *x) {
35614 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
35615 }
35616 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
35617 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
35618 }
35619 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
35620 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
35621 }
35622 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
35623 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
35624 }
35625 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
35626 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
35627 }
35628 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
35629 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
35630 }
35631 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
35632 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
35633 }
35634 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
35635 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
35636 }
35637 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
35638 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
35639 }
35640 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
35641 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
35642 }
35643 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
35644 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
35645 }
35646 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
35647 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
35648 }
35649 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
35650 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
35651 }
35652 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
35653 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
35654 }
35655 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
35656 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
35657 }
35658 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
35659 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
35660 }
35661 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
35662 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35663 }
35664 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
35665 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
35666 }
35667 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
35668 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
35669 }
35670 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
35671 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
35672 }
35673 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
35674 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
35675 }
35676 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
35677 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
35678 }
35679 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
35680 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
35681 }
35682 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
35683 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
35684 }
35685 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
35686 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35687 }
35688 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
35689 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
35690 }
35691 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
35692 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
35693 }
35694 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
35695 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
35696 }
35697 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
35698 return (void *)((wxWindow *) ((wxMenuBar *) x));
35699 }
35700 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
35701 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
35702 }
35703 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
35704 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
35705 }
35706 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
35707 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35708 }
35709 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
35710 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
35711 }
35712 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
35713 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
35714 }
35715 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
35716 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
35717 }
35718 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
35719 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
35720 }
35721 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
35722 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
35723 }
35724 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
35725 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
35726 }
35727 static void *_p_wxPanelTo_p_wxWindow(void *x) {
35728 return (void *)((wxWindow *) ((wxPanel *) x));
35729 }
35730 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
35731 return (void *)((wxWindow *) ((wxStatusBar *) x));
35732 }
35733 static void *_p_wxPyHVScrolledWindowTo_p_wxWindow(void *x) {
35734 return (void *)((wxWindow *) (wxPanel *) ((wxPyHVScrolledWindow *) x));
35735 }
35736 static void *_p_wxPyHScrolledWindowTo_p_wxWindow(void *x) {
35737 return (void *)((wxWindow *) (wxPanel *) ((wxPyHScrolledWindow *) x));
35738 }
35739 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
35740 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
35741 }
35742 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
35743 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
35744 }
35745 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
35746 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
35747 }
35748 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
35749 return (void *)((wxWindow *) ((wxPopupWindow *) x));
35750 }
35751 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
35752 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
35753 }
35754 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
35755 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
35756 }
35757 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
35758 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
35759 }
35760 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
35761 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
35762 }
35763 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
35764 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
35765 }
35766 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
35767 return (void *)((wxWindow *) ((wxSashWindow *) x));
35768 }
35769 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
35770 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
35771 }
35772 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
35773 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35774 }
35775 static void *_p_wxControlTo_p_wxWindow(void *x) {
35776 return (void *)((wxWindow *) ((wxControl *) x));
35777 }
35778 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
35779 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
35780 }
35781 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
35782 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35783 }
35784 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
35785 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
35786 }
35787 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
35788 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
35789 }
35790 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
35791 return (void *)((wxWindow *) ((wxPyWindow *) x));
35792 }
35793 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
35794 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
35795 }
35796 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
35797 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35798 }
35799 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
35800 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35801 }
35802 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
35803 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35804 }
35805 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
35806 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
35807 }
35808 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
35809 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35810 }
35811 static void *_p_wxFrameTo_p_wxWindow(void *x) {
35812 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
35813 }
35814 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
35815 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
35816 }
35817 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
35818 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
35819 }
35820 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
35821 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
35822 }
35823 static void *_p_wxDialogTo_p_wxWindow(void *x) {
35824 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
35825 }
35826 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
35827 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
35828 }
35829 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
35830 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35831 }
35832 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
35833 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
35834 }
35835 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
35836 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35837 }
35838 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
35839 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35840 }
35841 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
35842 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
35843 }
35844 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
35845 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
35846 }
35847 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
35848 return (void *)((wxDialog *) ((wxColourDialog *) x));
35849 }
35850 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
35851 return (void *)((wxDialog *) ((wxDirDialog *) x));
35852 }
35853 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
35854 return (void *)((wxDialog *) ((wxFontDialog *) x));
35855 }
35856 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
35857 return (void *)((wxDialog *) ((wxFileDialog *) x));
35858 }
35859 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
35860 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
35861 }
35862 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
35863 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
35864 }
35865 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
35866 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
35867 }
35868 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
35869 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35870 }
35871 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
35872 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
35873 }
35874 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
35875 return (void *)((wxDialog *) ((wxMessageDialog *) x));
35876 }
35877 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
35878 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
35879 }
35880 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
35881 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
35882 }
35883 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
35884 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
35885 }
35886 static void *_p_wxPyHScrolledWindowTo_p_wxPanel(void *x) {
35887 return (void *)((wxPanel *) ((wxPyHScrolledWindow *) x));
35888 }
35889 static void *_p_wxPyHVScrolledWindowTo_p_wxPanel(void *x) {
35890 return (void *)((wxPanel *) ((wxPyHVScrolledWindow *) x));
35891 }
35892 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
35893 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35894 }
35895 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
35896 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35897 }
35898 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
35899 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35900 }
35901 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
35902 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35903 }
35904 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
35905 return (void *)((wxPanel *) ((wxPyPanel *) x));
35906 }
35907 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
35908 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
35909 }
35910 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
35911 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
35912 }
35913 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
35914 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35915 }
35916 static void *_p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase(void *x) {
35917 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *) ((wxPyVScrolledWindow *) x));
35918 }
35919 static void *_p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase(void *x) {
35920 return (void *)((wxVarScrollHelperBase *) (wxVarHScrollHelper *) ((wxPyHScrolledWindow *) x));
35921 }
35922 static void *_p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase(void *x) {
35923 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
35924 }
35925 static void *_p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase(void *x) {
35926 return (void *)((wxVarScrollHelperBase *) ((wxVarVScrollHelper *) x));
35927 }
35928 static void *_p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase(void *x) {
35929 return (void *)((wxVarScrollHelperBase *) ((wxVarHScrollHelper *) x));
35930 }
35931 static void *_p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase(void *x) {
35932 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *) ((wxVarHVScrollHelper *) x));
35933 }
35934 static void *_p_wxPyVListBoxTo_p_wxVarScrollHelperBase(void *x) {
35935 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35936 }
35937 static void *_p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase(void *x) {
35938 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35939 }
35940 static void *_p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase(void *x) {
35941 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35942 }
35943 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
35944 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
35945 }
35946 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
35947 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
35948 }
35949 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
35950 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
35951 }
35952 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
35953 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
35954 }
35955 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
35956 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
35957 }
35958 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
35959 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
35960 }
35961 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
35962 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
35963 }
35964 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
35965 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35966 }
35967 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
35968 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
35969 }
35970 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
35971 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
35972 }
35973 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
35974 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
35975 }
35976 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
35977 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
35978 }
35979 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
35980 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
35981 }
35982 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
35983 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35984 }
35985 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
35986 return (void *)((wxValidator *) ((wxPyValidator *) x));
35987 }
35988 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
35989 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
35990 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};
35991 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
35992 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
35993 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
35994 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
35995 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
35996 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
35997 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
35998 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
35999 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
36000 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
36001 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
36002 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
36003 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
36004 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
36005 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
36006 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
36007 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
36008 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
36009 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
36010 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
36011 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
36012 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
36013 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
36014 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
36015 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
36016 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
36017 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
36018 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
36019 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
36020 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
36021 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
36022 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
36023 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
36024 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
36025 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
36026 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
36027 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
36028 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
36029 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
36030 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
36031 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
36032 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
36033 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
36034 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
36035 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
36036 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
36037 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
36038 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
36039 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
36040 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
36041 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
36042 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
36043 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
36044 static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
36045 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
36046 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
36047 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
36048 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
36049 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
36050 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
36051 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
36052 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
36053 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
36054 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
36055 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
36056 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
36057 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
36058 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
36059 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
36060 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
36061 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
36062 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
36063 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
36064 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
36065 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
36066 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
36067 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
36068 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
36069 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
36070 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
36071 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
36072 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
36073 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
36074 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
36075 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
36076 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
36077 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
36078 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
36079 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
36080 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
36081 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
36082 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
36083 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
36084 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
36085 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
36086 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
36087 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
36088 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
36089 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
36090 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
36091 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
36092 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
36093 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
36094 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
36095 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
36096 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
36097 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
36098 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
36099 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
36100 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
36101 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
36102 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
36103 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
36104 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
36105 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
36106 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
36107 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
36108 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
36109 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
36110 static swig_type_info _swigt__p_wxPosition = {"_p_wxPosition", "wxPosition *", 0, 0, (void*)0, 0};
36111 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
36112 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
36113 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
36114 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
36115 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
36116 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
36117 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
36118 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
36119 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
36120 static swig_type_info _swigt__p_wxPyHScrolledWindow = {"_p_wxPyHScrolledWindow", "wxPyHScrolledWindow *", 0, 0, (void*)0, 0};
36121 static swig_type_info _swigt__p_wxPyHVScrolledWindow = {"_p_wxPyHVScrolledWindow", "wxPyHVScrolledWindow *", 0, 0, (void*)0, 0};
36122 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
36123 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
36124 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
36125 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
36126 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
36127 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
36128 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
36129 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
36130 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
36131 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
36132 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
36133 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
36134 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
36135 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
36136 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
36137 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
36138 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
36139 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
36140 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
36141 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
36142 static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
36143 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
36144 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
36145 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
36146 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
36147 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
36148 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
36149 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
36150 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
36151 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
36152 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
36153 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
36154 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
36155 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
36156 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
36157 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
36158 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
36159 static swig_type_info _swigt__p_wxVarHScrollHelper = {"_p_wxVarHScrollHelper", "wxVarHScrollHelper *", 0, 0, (void*)0, 0};
36160 static swig_type_info _swigt__p_wxVarHVScrollHelper = {"_p_wxVarHVScrollHelper", "wxVarHVScrollHelper *", 0, 0, (void*)0, 0};
36161 static swig_type_info _swigt__p_wxVarScrollHelperBase = {"_p_wxVarScrollHelperBase", "wxVarScrollHelperBase *", 0, 0, (void*)0, 0};
36162 static swig_type_info _swigt__p_wxVarVScrollHelper = {"_p_wxVarVScrollHelper", "wxVarVScrollHelper *", 0, 0, (void*)0, 0};
36163 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
36164 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
36165
36166 static swig_type_info *swig_type_initial[] = {
36167 &_swigt__p_bool,
36168 &_swigt__p_char,
36169 &_swigt__p_form_ops_t,
36170 &_swigt__p_int,
36171 &_swigt__p_unsigned_char,
36172 &_swigt__p_unsigned_int,
36173 &_swigt__p_unsigned_long,
36174 &_swigt__p_wxANIHandler,
36175 &_swigt__p_wxAcceleratorTable,
36176 &_swigt__p_wxActivateEvent,
36177 &_swigt__p_wxArrayInt,
36178 &_swigt__p_wxArrayString,
36179 &_swigt__p_wxBMPHandler,
36180 &_swigt__p_wxBitmap,
36181 &_swigt__p_wxBoxSizer,
36182 &_swigt__p_wxCURHandler,
36183 &_swigt__p_wxCalculateLayoutEvent,
36184 &_swigt__p_wxChildFocusEvent,
36185 &_swigt__p_wxClipboardTextEvent,
36186 &_swigt__p_wxCloseEvent,
36187 &_swigt__p_wxColour,
36188 &_swigt__p_wxColourData,
36189 &_swigt__p_wxColourDialog,
36190 &_swigt__p_wxCommandEvent,
36191 &_swigt__p_wxContextMenuEvent,
36192 &_swigt__p_wxControl,
36193 &_swigt__p_wxControlWithItems,
36194 &_swigt__p_wxDC,
36195 &_swigt__p_wxDateEvent,
36196 &_swigt__p_wxDialog,
36197 &_swigt__p_wxDirDialog,
36198 &_swigt__p_wxDisplayChangedEvent,
36199 &_swigt__p_wxDropFilesEvent,
36200 &_swigt__p_wxDuplexMode,
36201 &_swigt__p_wxEraseEvent,
36202 &_swigt__p_wxEvent,
36203 &_swigt__p_wxEventBlocker,
36204 &_swigt__p_wxEvtHandler,
36205 &_swigt__p_wxFSFile,
36206 &_swigt__p_wxFileDialog,
36207 &_swigt__p_wxFileSystem,
36208 &_swigt__p_wxFindDialogEvent,
36209 &_swigt__p_wxFindReplaceData,
36210 &_swigt__p_wxFindReplaceDialog,
36211 &_swigt__p_wxFlexGridSizer,
36212 &_swigt__p_wxFocusEvent,
36213 &_swigt__p_wxFont,
36214 &_swigt__p_wxFontData,
36215 &_swigt__p_wxFontDialog,
36216 &_swigt__p_wxFrame,
36217 &_swigt__p_wxGBSizerItem,
36218 &_swigt__p_wxGIFHandler,
36219 &_swigt__p_wxGridBagSizer,
36220 &_swigt__p_wxGridSizer,
36221 &_swigt__p_wxHtmlLinkInfo,
36222 &_swigt__p_wxICOHandler,
36223 &_swigt__p_wxIcon,
36224 &_swigt__p_wxIconBundle,
36225 &_swigt__p_wxIconizeEvent,
36226 &_swigt__p_wxIdleEvent,
36227 &_swigt__p_wxImage,
36228 &_swigt__p_wxImageHandler,
36229 &_swigt__p_wxIndividualLayoutConstraint,
36230 &_swigt__p_wxInitDialogEvent,
36231 &_swigt__p_wxItemContainer,
36232 &_swigt__p_wxJPEGHandler,
36233 &_swigt__p_wxKeyEvent,
36234 &_swigt__p_wxLayoutAlgorithm,
36235 &_swigt__p_wxLayoutConstraints,
36236 &_swigt__p_wxMDIChildFrame,
36237 &_swigt__p_wxMDIClientWindow,
36238 &_swigt__p_wxMDIParentFrame,
36239 &_swigt__p_wxMaximizeEvent,
36240 &_swigt__p_wxMenu,
36241 &_swigt__p_wxMenuBar,
36242 &_swigt__p_wxMenuEvent,
36243 &_swigt__p_wxMenuItem,
36244 &_swigt__p_wxMessageDialog,
36245 &_swigt__p_wxMiniFrame,
36246 &_swigt__p_wxMouseCaptureChangedEvent,
36247 &_swigt__p_wxMouseCaptureLostEvent,
36248 &_swigt__p_wxMouseEvent,
36249 &_swigt__p_wxMoveEvent,
36250 &_swigt__p_wxMultiChoiceDialog,
36251 &_swigt__p_wxNavigationKeyEvent,
36252 &_swigt__p_wxNcPaintEvent,
36253 &_swigt__p_wxNotifyEvent,
36254 &_swigt__p_wxNumberEntryDialog,
36255 &_swigt__p_wxObject,
36256 &_swigt__p_wxPCXHandler,
36257 &_swigt__p_wxPNGHandler,
36258 &_swigt__p_wxPNMHandler,
36259 &_swigt__p_wxPageSetupDialog,
36260 &_swigt__p_wxPageSetupDialogData,
36261 &_swigt__p_wxPaintEvent,
36262 &_swigt__p_wxPaletteChangedEvent,
36263 &_swigt__p_wxPanel,
36264 &_swigt__p_wxPaperSize,
36265 &_swigt__p_wxPasswordEntryDialog,
36266 &_swigt__p_wxPoint,
36267 &_swigt__p_wxPopupWindow,
36268 &_swigt__p_wxPosition,
36269 &_swigt__p_wxPreviewCanvas,
36270 &_swigt__p_wxPreviewControlBar,
36271 &_swigt__p_wxPreviewFrame,
36272 &_swigt__p_wxPrintData,
36273 &_swigt__p_wxPrintDialog,
36274 &_swigt__p_wxPrintDialogData,
36275 &_swigt__p_wxPrintPreview,
36276 &_swigt__p_wxPrinter,
36277 &_swigt__p_wxProgressDialog,
36278 &_swigt__p_wxPyApp,
36279 &_swigt__p_wxPyCommandEvent,
36280 &_swigt__p_wxPyEvent,
36281 &_swigt__p_wxPyHScrolledWindow,
36282 &_swigt__p_wxPyHVScrolledWindow,
36283 &_swigt__p_wxPyHtmlListBox,
36284 &_swigt__p_wxPyImageHandler,
36285 &_swigt__p_wxPyPanel,
36286 &_swigt__p_wxPyPopupTransientWindow,
36287 &_swigt__p_wxPyPreviewControlBar,
36288 &_swigt__p_wxPyPreviewFrame,
36289 &_swigt__p_wxPyPrintPreview,
36290 &_swigt__p_wxPyPrintout,
36291 &_swigt__p_wxPyScrolledWindow,
36292 &_swigt__p_wxPySizer,
36293 &_swigt__p_wxPyTaskBarIcon,
36294 &_swigt__p_wxPyVListBox,
36295 &_swigt__p_wxPyVScrolledWindow,
36296 &_swigt__p_wxPyValidator,
36297 &_swigt__p_wxPyWindow,
36298 &_swigt__p_wxQueryLayoutInfoEvent,
36299 &_swigt__p_wxQueryNewPaletteEvent,
36300 &_swigt__p_wxRect,
36301 &_swigt__p_wxRegion,
36302 &_swigt__p_wxSashEvent,
36303 &_swigt__p_wxSashLayoutWindow,
36304 &_swigt__p_wxSashWindow,
36305 &_swigt__p_wxScrollEvent,
36306 &_swigt__p_wxScrollWinEvent,
36307 &_swigt__p_wxScrolledWindow,
36308 &_swigt__p_wxSetCursorEvent,
36309 &_swigt__p_wxShowEvent,
36310 &_swigt__p_wxSimpleHtmlListBox,
36311 &_swigt__p_wxSingleChoiceDialog,
36312 &_swigt__p_wxSize,
36313 &_swigt__p_wxSizeEvent,
36314 &_swigt__p_wxSizer,
36315 &_swigt__p_wxSizerItem,
36316 &_swigt__p_wxSplashScreen,
36317 &_swigt__p_wxSplashScreenWindow,
36318 &_swigt__p_wxSplitterEvent,
36319 &_swigt__p_wxSplitterWindow,
36320 &_swigt__p_wxStaticBoxSizer,
36321 &_swigt__p_wxStatusBar,
36322 &_swigt__p_wxStdDialogButtonSizer,
36323 &_swigt__p_wxString,
36324 &_swigt__p_wxSysColourChangedEvent,
36325 &_swigt__p_wxTGAHandler,
36326 &_swigt__p_wxTIFFHandler,
36327 &_swigt__p_wxTaskBarIcon,
36328 &_swigt__p_wxTaskBarIconEvent,
36329 &_swigt__p_wxTextEntryDialog,
36330 &_swigt__p_wxTipWindow,
36331 &_swigt__p_wxToolBar,
36332 &_swigt__p_wxTopLevelWindow,
36333 &_swigt__p_wxUpdateUIEvent,
36334 &_swigt__p_wxValidator,
36335 &_swigt__p_wxVarHScrollHelper,
36336 &_swigt__p_wxVarHVScrollHelper,
36337 &_swigt__p_wxVarScrollHelperBase,
36338 &_swigt__p_wxVarVScrollHelper,
36339 &_swigt__p_wxVisualAttributes,
36340 &_swigt__p_wxWindow,
36341 &_swigt__p_wxWindowCreateEvent,
36342 &_swigt__p_wxWindowDestroyEvent,
36343 &_swigt__p_wxXPMHandler,
36344 };
36345
36346 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
36347 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
36348 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
36349 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
36350 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
36351 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
36352 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
36353 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
36354 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
36355 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
36356 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
36357 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
36358 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
36359 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
36360 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
36361 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
36362 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
36363 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
36364 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
36365 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
36366 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
36367 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
36368 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
36369 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}};
36370 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
36371 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}};
36372 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
36373 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
36374 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
36375 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
36376 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
36377 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
36378 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
36379 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
36380 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
36381 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
36382 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
36383 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
36384 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
36385 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
36386 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
36387 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
36388 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
36389 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
36390 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
36391 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36392 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36393 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36394 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36395 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
36396 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
36397 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
36398 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
36399 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
36400 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}};
36401 static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}};
36402 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
36403 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
36404 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
36405 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
36406 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_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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}};
36407 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
36408 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
36409 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
36410 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
36411 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
36412 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
36413 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
36414 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
36415 static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
36416 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
36417 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
36418 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
36419 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}};
36420 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
36421 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
36422 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
36423 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
36424 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
36425 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
36426 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
36427 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
36428 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
36429 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}};
36430 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
36431 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
36432 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
36433 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
36434 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
36435 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
36436 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
36437 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
36438 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
36439 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
36440 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
36441 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
36442 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
36443 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
36444 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
36445 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
36446 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
36447 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
36448 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
36449 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
36450 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
36451 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
36452 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
36453 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
36454 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
36455 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
36456 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
36457 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
36458 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
36459 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
36460 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_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
36461 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
36462 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
36463 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}};
36464 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
36465 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
36466 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
36467 static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
36468 static swig_cast_info _swigc__p_wxPosition[] = { {&_swigt__p_wxPosition, 0, 0, 0},{0, 0, 0, 0}};
36469 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
36470 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}};
36471 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}};
36472 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
36473 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
36474 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
36475 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}};
36476 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
36477 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
36478 static swig_cast_info _swigc__p_wxPyHScrolledWindow[] = { {&_swigt__p_wxPyHScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
36479 static swig_cast_info _swigc__p_wxPyHVScrolledWindow[] = { {&_swigt__p_wxPyHVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
36480 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}};
36481 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
36482 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0},{0, 0, 0, 0}};
36483 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
36484 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
36485 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
36486 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
36487 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
36488 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
36489 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}};
36490 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}};
36491 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
36492 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
36493 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
36494 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
36495 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
36496 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
36497 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}};
36498 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
36499 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}};
36500 static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = { {&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
36501 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
36502 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
36503 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
36504 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
36505 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
36506 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
36507 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
36508 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
36509 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
36510 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
36511 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
36512 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}};
36513 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
36514 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
36515 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
36516 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}};
36517 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}};
36518 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}};
36519 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}};
36520 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}};
36521 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
36522 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_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_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}};
36523
36524 static swig_cast_info *swig_cast_initial[] = {
36525 _swigc__p_bool,
36526 _swigc__p_char,
36527 _swigc__p_form_ops_t,
36528 _swigc__p_int,
36529 _swigc__p_unsigned_char,
36530 _swigc__p_unsigned_int,
36531 _swigc__p_unsigned_long,
36532 _swigc__p_wxANIHandler,
36533 _swigc__p_wxAcceleratorTable,
36534 _swigc__p_wxActivateEvent,
36535 _swigc__p_wxArrayInt,
36536 _swigc__p_wxArrayString,
36537 _swigc__p_wxBMPHandler,
36538 _swigc__p_wxBitmap,
36539 _swigc__p_wxBoxSizer,
36540 _swigc__p_wxCURHandler,
36541 _swigc__p_wxCalculateLayoutEvent,
36542 _swigc__p_wxChildFocusEvent,
36543 _swigc__p_wxClipboardTextEvent,
36544 _swigc__p_wxCloseEvent,
36545 _swigc__p_wxColour,
36546 _swigc__p_wxColourData,
36547 _swigc__p_wxColourDialog,
36548 _swigc__p_wxCommandEvent,
36549 _swigc__p_wxContextMenuEvent,
36550 _swigc__p_wxControl,
36551 _swigc__p_wxControlWithItems,
36552 _swigc__p_wxDC,
36553 _swigc__p_wxDateEvent,
36554 _swigc__p_wxDialog,
36555 _swigc__p_wxDirDialog,
36556 _swigc__p_wxDisplayChangedEvent,
36557 _swigc__p_wxDropFilesEvent,
36558 _swigc__p_wxDuplexMode,
36559 _swigc__p_wxEraseEvent,
36560 _swigc__p_wxEvent,
36561 _swigc__p_wxEventBlocker,
36562 _swigc__p_wxEvtHandler,
36563 _swigc__p_wxFSFile,
36564 _swigc__p_wxFileDialog,
36565 _swigc__p_wxFileSystem,
36566 _swigc__p_wxFindDialogEvent,
36567 _swigc__p_wxFindReplaceData,
36568 _swigc__p_wxFindReplaceDialog,
36569 _swigc__p_wxFlexGridSizer,
36570 _swigc__p_wxFocusEvent,
36571 _swigc__p_wxFont,
36572 _swigc__p_wxFontData,
36573 _swigc__p_wxFontDialog,
36574 _swigc__p_wxFrame,
36575 _swigc__p_wxGBSizerItem,
36576 _swigc__p_wxGIFHandler,
36577 _swigc__p_wxGridBagSizer,
36578 _swigc__p_wxGridSizer,
36579 _swigc__p_wxHtmlLinkInfo,
36580 _swigc__p_wxICOHandler,
36581 _swigc__p_wxIcon,
36582 _swigc__p_wxIconBundle,
36583 _swigc__p_wxIconizeEvent,
36584 _swigc__p_wxIdleEvent,
36585 _swigc__p_wxImage,
36586 _swigc__p_wxImageHandler,
36587 _swigc__p_wxIndividualLayoutConstraint,
36588 _swigc__p_wxInitDialogEvent,
36589 _swigc__p_wxItemContainer,
36590 _swigc__p_wxJPEGHandler,
36591 _swigc__p_wxKeyEvent,
36592 _swigc__p_wxLayoutAlgorithm,
36593 _swigc__p_wxLayoutConstraints,
36594 _swigc__p_wxMDIChildFrame,
36595 _swigc__p_wxMDIClientWindow,
36596 _swigc__p_wxMDIParentFrame,
36597 _swigc__p_wxMaximizeEvent,
36598 _swigc__p_wxMenu,
36599 _swigc__p_wxMenuBar,
36600 _swigc__p_wxMenuEvent,
36601 _swigc__p_wxMenuItem,
36602 _swigc__p_wxMessageDialog,
36603 _swigc__p_wxMiniFrame,
36604 _swigc__p_wxMouseCaptureChangedEvent,
36605 _swigc__p_wxMouseCaptureLostEvent,
36606 _swigc__p_wxMouseEvent,
36607 _swigc__p_wxMoveEvent,
36608 _swigc__p_wxMultiChoiceDialog,
36609 _swigc__p_wxNavigationKeyEvent,
36610 _swigc__p_wxNcPaintEvent,
36611 _swigc__p_wxNotifyEvent,
36612 _swigc__p_wxNumberEntryDialog,
36613 _swigc__p_wxObject,
36614 _swigc__p_wxPCXHandler,
36615 _swigc__p_wxPNGHandler,
36616 _swigc__p_wxPNMHandler,
36617 _swigc__p_wxPageSetupDialog,
36618 _swigc__p_wxPageSetupDialogData,
36619 _swigc__p_wxPaintEvent,
36620 _swigc__p_wxPaletteChangedEvent,
36621 _swigc__p_wxPanel,
36622 _swigc__p_wxPaperSize,
36623 _swigc__p_wxPasswordEntryDialog,
36624 _swigc__p_wxPoint,
36625 _swigc__p_wxPopupWindow,
36626 _swigc__p_wxPosition,
36627 _swigc__p_wxPreviewCanvas,
36628 _swigc__p_wxPreviewControlBar,
36629 _swigc__p_wxPreviewFrame,
36630 _swigc__p_wxPrintData,
36631 _swigc__p_wxPrintDialog,
36632 _swigc__p_wxPrintDialogData,
36633 _swigc__p_wxPrintPreview,
36634 _swigc__p_wxPrinter,
36635 _swigc__p_wxProgressDialog,
36636 _swigc__p_wxPyApp,
36637 _swigc__p_wxPyCommandEvent,
36638 _swigc__p_wxPyEvent,
36639 _swigc__p_wxPyHScrolledWindow,
36640 _swigc__p_wxPyHVScrolledWindow,
36641 _swigc__p_wxPyHtmlListBox,
36642 _swigc__p_wxPyImageHandler,
36643 _swigc__p_wxPyPanel,
36644 _swigc__p_wxPyPopupTransientWindow,
36645 _swigc__p_wxPyPreviewControlBar,
36646 _swigc__p_wxPyPreviewFrame,
36647 _swigc__p_wxPyPrintPreview,
36648 _swigc__p_wxPyPrintout,
36649 _swigc__p_wxPyScrolledWindow,
36650 _swigc__p_wxPySizer,
36651 _swigc__p_wxPyTaskBarIcon,
36652 _swigc__p_wxPyVListBox,
36653 _swigc__p_wxPyVScrolledWindow,
36654 _swigc__p_wxPyValidator,
36655 _swigc__p_wxPyWindow,
36656 _swigc__p_wxQueryLayoutInfoEvent,
36657 _swigc__p_wxQueryNewPaletteEvent,
36658 _swigc__p_wxRect,
36659 _swigc__p_wxRegion,
36660 _swigc__p_wxSashEvent,
36661 _swigc__p_wxSashLayoutWindow,
36662 _swigc__p_wxSashWindow,
36663 _swigc__p_wxScrollEvent,
36664 _swigc__p_wxScrollWinEvent,
36665 _swigc__p_wxScrolledWindow,
36666 _swigc__p_wxSetCursorEvent,
36667 _swigc__p_wxShowEvent,
36668 _swigc__p_wxSimpleHtmlListBox,
36669 _swigc__p_wxSingleChoiceDialog,
36670 _swigc__p_wxSize,
36671 _swigc__p_wxSizeEvent,
36672 _swigc__p_wxSizer,
36673 _swigc__p_wxSizerItem,
36674 _swigc__p_wxSplashScreen,
36675 _swigc__p_wxSplashScreenWindow,
36676 _swigc__p_wxSplitterEvent,
36677 _swigc__p_wxSplitterWindow,
36678 _swigc__p_wxStaticBoxSizer,
36679 _swigc__p_wxStatusBar,
36680 _swigc__p_wxStdDialogButtonSizer,
36681 _swigc__p_wxString,
36682 _swigc__p_wxSysColourChangedEvent,
36683 _swigc__p_wxTGAHandler,
36684 _swigc__p_wxTIFFHandler,
36685 _swigc__p_wxTaskBarIcon,
36686 _swigc__p_wxTaskBarIconEvent,
36687 _swigc__p_wxTextEntryDialog,
36688 _swigc__p_wxTipWindow,
36689 _swigc__p_wxToolBar,
36690 _swigc__p_wxTopLevelWindow,
36691 _swigc__p_wxUpdateUIEvent,
36692 _swigc__p_wxValidator,
36693 _swigc__p_wxVarHScrollHelper,
36694 _swigc__p_wxVarHVScrollHelper,
36695 _swigc__p_wxVarScrollHelperBase,
36696 _swigc__p_wxVarVScrollHelper,
36697 _swigc__p_wxVisualAttributes,
36698 _swigc__p_wxWindow,
36699 _swigc__p_wxWindowCreateEvent,
36700 _swigc__p_wxWindowDestroyEvent,
36701 _swigc__p_wxXPMHandler,
36702 };
36703
36704
36705 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36706
36707 static swig_const_info swig_const_table[] = {
36708 {0, 0, 0, 0.0, 0, 0}};
36709
36710 #ifdef __cplusplus
36711 }
36712 #endif
36713 /* -----------------------------------------------------------------------------
36714 * Type initialization:
36715 * This problem is tough by the requirement that no dynamic
36716 * memory is used. Also, since swig_type_info structures store pointers to
36717 * swig_cast_info structures and swig_cast_info structures store pointers back
36718 * to swig_type_info structures, we need some lookup code at initialization.
36719 * The idea is that swig generates all the structures that are needed.
36720 * The runtime then collects these partially filled structures.
36721 * The SWIG_InitializeModule function takes these initial arrays out of
36722 * swig_module, and does all the lookup, filling in the swig_module.types
36723 * array with the correct data and linking the correct swig_cast_info
36724 * structures together.
36725 *
36726 * The generated swig_type_info structures are assigned staticly to an initial
36727 * array. We just loop though that array, and handle each type individually.
36728 * First we lookup if this type has been already loaded, and if so, use the
36729 * loaded structure instead of the generated one. Then we have to fill in the
36730 * cast linked list. The cast data is initially stored in something like a
36731 * two-dimensional array. Each row corresponds to a type (there are the same
36732 * number of rows as there are in the swig_type_initial array). Each entry in
36733 * a column is one of the swig_cast_info structures for that type.
36734 * The cast_initial array is actually an array of arrays, because each row has
36735 * a variable number of columns. So to actually build the cast linked list,
36736 * we find the array of casts associated with the type, and loop through it
36737 * adding the casts to the list. The one last trick we need to do is making
36738 * sure the type pointer in the swig_cast_info struct is correct.
36739 *
36740 * First off, we lookup the cast->type name to see if it is already loaded.
36741 * There are three cases to handle:
36742 * 1) If the cast->type has already been loaded AND the type we are adding
36743 * casting info to has not been loaded (it is in this module), THEN we
36744 * replace the cast->type pointer with the type pointer that has already
36745 * been loaded.
36746 * 2) If BOTH types (the one we are adding casting info to, and the
36747 * cast->type) are loaded, THEN the cast info has already been loaded by
36748 * the previous module so we just ignore it.
36749 * 3) Finally, if cast->type has not already been loaded, then we add that
36750 * swig_cast_info to the linked list (because the cast->type) pointer will
36751 * be correct.
36752 * ----------------------------------------------------------------------------- */
36753
36754 #ifdef __cplusplus
36755 extern "C" {
36756 #if 0
36757 } /* c-mode */
36758 #endif
36759 #endif
36760
36761 #if 0
36762 #define SWIGRUNTIME_DEBUG
36763 #endif
36764
36765 SWIGRUNTIME void
36766 SWIG_InitializeModule(void *clientdata) {
36767 size_t i;
36768 swig_module_info *module_head;
36769 static int init_run = 0;
36770
36771 clientdata = clientdata;
36772
36773 if (init_run) return;
36774 init_run = 1;
36775
36776 /* Initialize the swig_module */
36777 swig_module.type_initial = swig_type_initial;
36778 swig_module.cast_initial = swig_cast_initial;
36779
36780 /* Try and load any already created modules */
36781 module_head = SWIG_GetModule(clientdata);
36782 if (module_head) {
36783 swig_module.next = module_head->next;
36784 module_head->next = &swig_module;
36785 } else {
36786 /* This is the first module loaded */
36787 swig_module.next = &swig_module;
36788 SWIG_SetModule(clientdata, &swig_module);
36789 }
36790
36791 /* Now work on filling in swig_module.types */
36792 #ifdef SWIGRUNTIME_DEBUG
36793 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
36794 #endif
36795 for (i = 0; i < swig_module.size; ++i) {
36796 swig_type_info *type = 0;
36797 swig_type_info *ret;
36798 swig_cast_info *cast;
36799
36800 #ifdef SWIGRUNTIME_DEBUG
36801 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
36802 #endif
36803
36804 /* if there is another module already loaded */
36805 if (swig_module.next != &swig_module) {
36806 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
36807 }
36808 if (type) {
36809 /* Overwrite clientdata field */
36810 #ifdef SWIGRUNTIME_DEBUG
36811 printf("SWIG_InitializeModule: found type %s\n", type->name);
36812 #endif
36813 if (swig_module.type_initial[i]->clientdata) {
36814 type->clientdata = swig_module.type_initial[i]->clientdata;
36815 #ifdef SWIGRUNTIME_DEBUG
36816 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
36817 #endif
36818 }
36819 } else {
36820 type = swig_module.type_initial[i];
36821 }
36822
36823 /* Insert casting types */
36824 cast = swig_module.cast_initial[i];
36825 while (cast->type) {
36826 /* Don't need to add information already in the list */
36827 ret = 0;
36828 #ifdef SWIGRUNTIME_DEBUG
36829 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
36830 #endif
36831 if (swig_module.next != &swig_module) {
36832 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
36833 #ifdef SWIGRUNTIME_DEBUG
36834 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
36835 #endif
36836 }
36837 if (ret) {
36838 if (type == swig_module.type_initial[i]) {
36839 #ifdef SWIGRUNTIME_DEBUG
36840 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
36841 #endif
36842 cast->type = ret;
36843 ret = 0;
36844 } else {
36845 /* Check for casting already in the list */
36846 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
36847 #ifdef SWIGRUNTIME_DEBUG
36848 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
36849 #endif
36850 if (!ocast) ret = 0;
36851 }
36852 }
36853
36854 if (!ret) {
36855 #ifdef SWIGRUNTIME_DEBUG
36856 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
36857 #endif
36858 if (type->cast) {
36859 type->cast->prev = cast;
36860 cast->next = type->cast;
36861 }
36862 type->cast = cast;
36863 }
36864 cast++;
36865 }
36866 /* Set entry in modules->types array equal to the type */
36867 swig_module.types[i] = type;
36868 }
36869 swig_module.types[i] = 0;
36870
36871 #ifdef SWIGRUNTIME_DEBUG
36872 printf("**** SWIG_InitializeModule: Cast List ******\n");
36873 for (i = 0; i < swig_module.size; ++i) {
36874 int j = 0;
36875 swig_cast_info *cast = swig_module.cast_initial[i];
36876 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
36877 while (cast->type) {
36878 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
36879 cast++;
36880 ++j;
36881 }
36882 printf("---- Total casts: %d\n",j);
36883 }
36884 printf("**** SWIG_InitializeModule: Cast List ******\n");
36885 #endif
36886 }
36887
36888 /* This function will propagate the clientdata field of type to
36889 * any new swig_type_info structures that have been added into the list
36890 * of equivalent types. It is like calling
36891 * SWIG_TypeClientData(type, clientdata) a second time.
36892 */
36893 SWIGRUNTIME void
36894 SWIG_PropagateClientData(void) {
36895 size_t i;
36896 swig_cast_info *equiv;
36897 static int init_run = 0;
36898
36899 if (init_run) return;
36900 init_run = 1;
36901
36902 for (i = 0; i < swig_module.size; i++) {
36903 if (swig_module.types[i]->clientdata) {
36904 equiv = swig_module.types[i]->cast;
36905 while (equiv) {
36906 if (!equiv->converter) {
36907 if (equiv->type && !equiv->type->clientdata)
36908 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
36909 }
36910 equiv = equiv->next;
36911 }
36912 }
36913 }
36914 }
36915
36916 #ifdef __cplusplus
36917 #if 0
36918 {
36919 /* c-mode */
36920 #endif
36921 }
36922 #endif
36923
36924
36925
36926 #ifdef __cplusplus
36927 extern "C" {
36928 #endif
36929
36930 /* Python-specific SWIG API */
36931 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36932 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36933 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36934
36935 /* -----------------------------------------------------------------------------
36936 * global variable support code.
36937 * ----------------------------------------------------------------------------- */
36938
36939 typedef struct swig_globalvar {
36940 char *name; /* Name of global variable */
36941 PyObject *(*get_attr)(void); /* Return the current value */
36942 int (*set_attr)(PyObject *); /* Set the value */
36943 struct swig_globalvar *next;
36944 } swig_globalvar;
36945
36946 typedef struct swig_varlinkobject {
36947 PyObject_HEAD
36948 swig_globalvar *vars;
36949 } swig_varlinkobject;
36950
36951 SWIGINTERN PyObject *
36952 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
36953 return PyString_FromString("<Swig global variables>");
36954 }
36955
36956 SWIGINTERN PyObject *
36957 swig_varlink_str(swig_varlinkobject *v) {
36958 PyObject *str = PyString_FromString("(");
36959 swig_globalvar *var;
36960 for (var = v->vars; var; var=var->next) {
36961 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
36962 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
36963 }
36964 PyString_ConcatAndDel(&str,PyString_FromString(")"));
36965 return str;
36966 }
36967
36968 SWIGINTERN int
36969 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
36970 PyObject *str = swig_varlink_str(v);
36971 fprintf(fp,"Swig global variables ");
36972 fprintf(fp,"%s\n", PyString_AsString(str));
36973 Py_DECREF(str);
36974 return 0;
36975 }
36976
36977 SWIGINTERN void
36978 swig_varlink_dealloc(swig_varlinkobject *v) {
36979 swig_globalvar *var = v->vars;
36980 while (var) {
36981 swig_globalvar *n = var->next;
36982 free(var->name);
36983 free(var);
36984 var = n;
36985 }
36986 }
36987
36988 SWIGINTERN PyObject *
36989 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
36990 PyObject *res = NULL;
36991 swig_globalvar *var = v->vars;
36992 while (var) {
36993 if (strcmp(var->name,n) == 0) {
36994 res = (*var->get_attr)();
36995 break;
36996 }
36997 var = var->next;
36998 }
36999 if (res == NULL && !PyErr_Occurred()) {
37000 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37001 }
37002 return res;
37003 }
37004
37005 SWIGINTERN int
37006 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
37007 int res = 1;
37008 swig_globalvar *var = v->vars;
37009 while (var) {
37010 if (strcmp(var->name,n) == 0) {
37011 res = (*var->set_attr)(p);
37012 break;
37013 }
37014 var = var->next;
37015 }
37016 if (res == 1 && !PyErr_Occurred()) {
37017 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37018 }
37019 return res;
37020 }
37021
37022 SWIGINTERN PyTypeObject*
37023 swig_varlink_type(void) {
37024 static char varlink__doc__[] = "Swig var link object";
37025 static PyTypeObject varlink_type;
37026 static int type_init = 0;
37027 if (!type_init) {
37028 const PyTypeObject tmp
37029 = {
37030 PyObject_HEAD_INIT(NULL)
37031 0, /* Number of items in variable part (ob_size) */
37032 (char *)"swigvarlink", /* Type name (tp_name) */
37033 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
37034 0, /* Itemsize (tp_itemsize) */
37035 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
37036 (printfunc) swig_varlink_print, /* Print (tp_print) */
37037 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
37038 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
37039 0, /* tp_compare */
37040 (reprfunc) swig_varlink_repr, /* tp_repr */
37041 0, /* tp_as_number */
37042 0, /* tp_as_sequence */
37043 0, /* tp_as_mapping */
37044 0, /* tp_hash */
37045 0, /* tp_call */
37046 (reprfunc)swig_varlink_str, /* tp_str */
37047 0, /* tp_getattro */
37048 0, /* tp_setattro */
37049 0, /* tp_as_buffer */
37050 0, /* tp_flags */
37051 varlink__doc__, /* tp_doc */
37052 0, /* tp_traverse */
37053 0, /* tp_clear */
37054 0, /* tp_richcompare */
37055 0, /* tp_weaklistoffset */
37056 #if PY_VERSION_HEX >= 0x02020000
37057 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37058 #endif
37059 #if PY_VERSION_HEX >= 0x02030000
37060 0, /* tp_del */
37061 #endif
37062 #ifdef COUNT_ALLOCS
37063 0,0,0,0 /* tp_alloc -> tp_next */
37064 #endif
37065 };
37066 varlink_type = tmp;
37067 varlink_type.ob_type = &PyType_Type;
37068 type_init = 1;
37069 }
37070 return &varlink_type;
37071 }
37072
37073 /* Create a variable linking object for use later */
37074 SWIGINTERN PyObject *
37075 SWIG_Python_newvarlink(void) {
37076 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
37077 if (result) {
37078 result->vars = 0;
37079 }
37080 return ((PyObject*) result);
37081 }
37082
37083 SWIGINTERN void
37084 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
37085 swig_varlinkobject *v = (swig_varlinkobject *) p;
37086 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
37087 if (gv) {
37088 size_t size = strlen(name)+1;
37089 gv->name = (char *)malloc(size);
37090 if (gv->name) {
37091 strncpy(gv->name,name,size);
37092 gv->get_attr = get_attr;
37093 gv->set_attr = set_attr;
37094 gv->next = v->vars;
37095 }
37096 }
37097 v->vars = gv;
37098 }
37099
37100 SWIGINTERN PyObject *
37101 SWIG_globals() {
37102 static PyObject *_SWIG_globals = 0;
37103 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
37104 return _SWIG_globals;
37105 }
37106
37107 /* -----------------------------------------------------------------------------
37108 * constants/methods manipulation
37109 * ----------------------------------------------------------------------------- */
37110
37111 /* Install Constants */
37112 SWIGINTERN void
37113 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
37114 PyObject *obj = 0;
37115 size_t i;
37116 for (i = 0; constants[i].type; ++i) {
37117 switch(constants[i].type) {
37118 case SWIG_PY_POINTER:
37119 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
37120 break;
37121 case SWIG_PY_BINARY:
37122 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
37123 break;
37124 default:
37125 obj = 0;
37126 break;
37127 }
37128 if (obj) {
37129 PyDict_SetItemString(d, constants[i].name, obj);
37130 Py_DECREF(obj);
37131 }
37132 }
37133 }
37134
37135 /* -----------------------------------------------------------------------------*/
37136 /* Fix SwigMethods to carry the callback ptrs when needed */
37137 /* -----------------------------------------------------------------------------*/
37138
37139 SWIGINTERN void
37140 SWIG_Python_FixMethods(PyMethodDef *methods,
37141 swig_const_info *const_table,
37142 swig_type_info **types,
37143 swig_type_info **types_initial) {
37144 size_t i;
37145 for (i = 0; methods[i].ml_name; ++i) {
37146 const char *c = methods[i].ml_doc;
37147 if (c && (c = strstr(c, "swig_ptr: "))) {
37148 int j;
37149 swig_const_info *ci = 0;
37150 const char *name = c + 10;
37151 for (j = 0; const_table[j].type; ++j) {
37152 if (strncmp(const_table[j].name, name,
37153 strlen(const_table[j].name)) == 0) {
37154 ci = &(const_table[j]);
37155 break;
37156 }
37157 }
37158 if (ci) {
37159 size_t shift = (ci->ptype) - types;
37160 swig_type_info *ty = types_initial[shift];
37161 size_t ldoc = (c - methods[i].ml_doc);
37162 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
37163 char *ndoc = (char*)malloc(ldoc + lptr + 10);
37164 if (ndoc) {
37165 char *buff = ndoc;
37166 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
37167 if (ptr) {
37168 strncpy(buff, methods[i].ml_doc, ldoc);
37169 buff += ldoc;
37170 strncpy(buff, "swig_ptr: ", 10);
37171 buff += 10;
37172 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
37173 methods[i].ml_doc = ndoc;
37174 }
37175 }
37176 }
37177 }
37178 }
37179 }
37180
37181 #ifdef __cplusplus
37182 }
37183 #endif
37184
37185 /* -----------------------------------------------------------------------------*
37186 * Partial Init method
37187 * -----------------------------------------------------------------------------*/
37188
37189 #ifdef __cplusplus
37190 extern "C"
37191 #endif
37192 SWIGEXPORT void SWIG_init(void) {
37193 PyObject *m, *d;
37194
37195 /* Fix SwigMethods to carry the callback ptrs when needed */
37196 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
37197
37198 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37199 d = PyModule_GetDict(m);
37200
37201 SWIG_InitializeModule(0);
37202 SWIG_InstallConstants(d,swig_const_table);
37203
37204
37205 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
37206 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
37207 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
37208 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
37209 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
37210 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
37211 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
37212 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
37213 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
37214 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
37215 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
37216 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
37217 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
37218 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
37219 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
37220 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
37221 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
37222 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
37223 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
37224 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
37225 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
37226 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
37227 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
37228 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
37229 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
37230 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
37231 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
37232 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
37233 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
37234 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
37235 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
37236 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
37237 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
37238 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
37239 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
37240 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
37241 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
37242 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
37243 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
37244 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
37245 SWIG_Python_SetConstant(d, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE)));
37246 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
37247 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
37248 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
37249 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
37250 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
37251 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
37252 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
37253 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
37254 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
37255 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
37256 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
37257 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
37258 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
37259 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
37260 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
37261 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
37262 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
37263 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
37264 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
37265 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
37266 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
37267 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
37268 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
37269 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
37270 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
37271 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
37272 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
37273 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
37274 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
37275 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
37276 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
37277 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
37278 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
37279 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
37280 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
37281 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
37282 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
37283 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
37284 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
37285 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
37286 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
37287 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
37288 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
37289 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
37290 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
37291 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
37292 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
37293 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
37294 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
37295 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
37296 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
37297 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
37298 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
37299 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
37300 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
37301 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
37302 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
37303 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
37304 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
37305 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get, SimpleHtmlListBoxNameStr_set);
37306 SWIG_Python_SetConstant(d, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE)));
37307 SWIG_Python_SetConstant(d, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE)));
37308
37309 // Map renamed classes back to their common name for OOR
37310 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
37311 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
37312 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
37313
37314 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
37315 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
37316 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
37317 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
37318 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
37319 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
37320 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
37321 PyDict_SetItemString(d, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK));
37322 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
37323 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
37324 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
37325 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
37326 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
37327 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
37328 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
37329 SWIG_Python_SetConstant(d, "DD_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDD_DIR_MUST_EXIST)));
37330 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
37331 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
37332 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
37333 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
37334 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
37335 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
37336 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
37337 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
37338 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
37339 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
37340 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
37341 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
37342 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
37343 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
37344 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
37345 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
37346 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
37347 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
37348 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
37349 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
37350 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
37351 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
37352 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
37353 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
37354 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
37355 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
37356 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
37357 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
37358 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
37359 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
37360 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
37361 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
37362 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
37363 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
37364 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
37365 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
37366 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
37367 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
37368 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
37369 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
37370 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
37371 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
37372 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
37373 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
37374 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
37375 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
37376 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
37377 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
37378 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
37379 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
37380 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
37381 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
37382 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
37383 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
37384 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
37385 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
37386 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
37387 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
37388 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
37389 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
37390 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
37391 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
37392 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
37393 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
37394 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
37395 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
37396 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
37397 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
37398 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
37399 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
37400 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
37401 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
37402 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
37403 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
37404 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
37405 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
37406 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
37407 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
37408 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
37409 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
37410 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
37411 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
37412 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
37413
37414 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
37415
37416 }
37417